/* СЦЕНА — оформление оболочки «Битва · Песни · Гримёрка» (public/stage/shell.js). Классы sh-*. Подключён после stage.css.

   ЕДИНЫЙ ВИД (16.11.2026, утверждённый план Сармата): за основу — боевая тёмная тема «Знак» (public/theme-dark.css): слива-чернила,
   розовое золото, серебро кнопки чата; но легче — без клетки, без моноширинных подписей, без цветных свечений. «Стекло и золото».
   ТОКЕНЫ ЖИВУТ ЗДЕСЬ (:root ниже): их читают все экраны «Сцены» (stage.css, sing.css, экран записи). Тот же набор для старых
   страниц — public/stage/lux.css (index, learn, dance, страницы песен): меняешь значение здесь — поменяй и там.

   Правила вида: один тёплый свет сверху; поверхность — «стекло» (--glass-fill) с волосяной гранью (--edge-glass, у главных блоков
   --edge-gold); металл мест — шампань / серебро / бронза; цвет группы — приглушённый, только меткой. Без градиентного текста и
   цветных ореолов. Движение — transform и opacity, кривая --ease; prefers-reduced-motion — без движения.
   Касания ≥ 44 px; 360 px без прокрутки вбок. */
:root{
  /* поверхности — как в боевой тёмной теме */
  --bg-0:#100B18;--bg-1:#17101F;--bg-2:#1E1629;--bg-3:#261D33;
  --line:rgba(255,255,255,.085);--line-strong:rgba(255,255,255,.15);
  /* золото: светлое / основное / глубокое; волосяные линии */
  --gold-1:#F6E3C4;--gold-2:#EDC7A2;--gold-3:#C99A6B;
  --gold-line:rgba(237,199,162,.36);--gold-hair:rgba(237,199,162,.2);
  /* металл мест: цвет подписи/цифры на тёмном. Бронза — тёмная тёплая медь, не оранжевая (16.11, третья правка Сармата) */
  --m1:#F7D892;--m2:#E1E6F2;--m3:#D89A6C;--m-ink:#2A1520;
  /* БЛАГОРОДНЫЕ МЕТАЛЛЫ (медали «Лучших голосов», кубки «Рейтинга недели»): четыре ступени — блик / тело / тень / глубина.
     Место задаёт набор (--c1…--c4) классами g1/g2/g3 и p1/p2/p3; литьё рисуют .sh-mdl (медаль) и .sh-cup (кубок).
     17.11 (план Сармата п. 4: «золото, серебро, бронза ярче и блестящее»): тело каждого металла светлее и чище — золото жёлтое,
     а не шампань; серебро почти белое; бронза — светлая тёплая, но не оранжевая; глубина оставлена тёмной — блеск даёт контраст. */
  --au-1:#FFF9E0;--au-2:#F8D06E;--au-3:#C58D27;--au-4:#684510;
  --ag-1:#FFFFFF;--ag-2:#E2E8F4;--ag-3:#98A3BD;--ag-4:#465068;
  --cu-1:#FFD3AC;--cu-2:#D98F58;--cu-3:#93532C;--cu-4:#45220E;
  --c1:var(--ag-1);--c2:var(--ag-2);--c3:var(--ag-3);--c4:var(--ag-4);
  /* серебро кнопки чата — тот же металл, что в боевой Гримёрке (cabinet.css --st-chrome) */
  --chrome:linear-gradient(180deg,#F7F9FD 0%,#D9E1ED 40%,#FFFFFF 50%,#C6D0E0 57%,#A8B3C7 100%);
  --chrome-ink:#1B2233;--chrome-mut:#333B4C;
  /* ФАКТУРА (16.11, вторая правка Сармата: «глубже и фактурнее — стекло, тени, объём, тонкое зерно; без плоскости»).
     --grain — светлое зерно для тёмных поверхностей (лежит в --glass-fill и на фоне страницы: подхватывают все экраны);
     --grain-ink — тёмное зерно для золота; --stone — рельеф камня (дуэль недели): шум + боковой свет, кладётся через soft-light. */
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-ink:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .15 0 0 0 0 .08 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  --stone:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='s' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.013 .024' numOctaves='6' seed='7' stitchTiles='stitch'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='7.5' diffuseConstant='1.04'%3E%3CfeDistantLight azimuth='225' elevation='50'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='420' height='420' filter='url(%23s)'/%3E%3C/svg%3E");
  /* --mica — редкие светлые вкрапления слюды в камне (только пики шума) */
  --mica:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='m' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 11 -7.1'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23m)'/%3E%3C/svg%3E");
  /* стекло: зерно + заливка (свет сверху, тень к низу) + грань. Применение: background:var(--glass-fill),var(--edge-glass);border:1px solid transparent */
  --glass-fill:var(--grain) padding-box,linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.024) 44%,rgba(0,0,0,.07)) padding-box,linear-gradient(#18111F,#18111F) padding-box;
  /* витринное стекло (пьедесталы «Битвы»): прозрачнее, с двумя косыми отражениями */
  --glass-case:linear-gradient(112deg,transparent 16%,rgba(255,255,255,.075) 23%,transparent 31%,transparent 62%,rgba(255,255,255,.04) 68%,transparent 75%),var(--grain),linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.03) 60%,rgba(255,255,255,.055));
  /* золотая полка: блик по верхней кромке, тело, тёмный низ */
  --shelf:linear-gradient(180deg,#FFF3E0 0,#F6E3C4 18%,#EDC7A2 46%,#C99A6B 80%,#8E6240 100%);
  /* золотая плита (объёмные кнопки) и тиснение букв на ней */
  --gold-slab:var(--grain-ink),linear-gradient(180deg,#FFF2DF 0%,#F5D4AC 30%,#E6B586 68%,#CF9865 100%);
  --slab-ink:#3B1F13;--emboss:0 1px 0 rgba(255,255,255,.6),0 -1px 0 rgba(122,70,38,.32);
  --edge-glass:linear-gradient(172deg,rgba(255,255,255,.24),rgba(255,255,255,.07) 38%,rgba(255,255,255,.05)) border-box;
  --edge-gold:linear-gradient(158deg,rgba(246,227,196,.66),rgba(246,227,196,.12) 32%,rgba(255,255,255,.06) 64%,rgba(237,199,162,.4)) border-box;
  /* тень в три слоя: контактная у кромки, широкая под блоком, фаска внутри (свет сверху, тень снизу) */
  --lift:0 1px 2px rgba(6,3,12,.45),0 22px 44px rgba(6,3,12,.55),inset 0 1px 0 rgba(255,255,255,.11),inset 0 -1px 0 rgba(0,0,0,.32);
  --lift-lo:0 1px 2px rgba(6,3,12,.4),0 10px 22px rgba(6,3,12,.42),inset 0 1px 0 rgba(255,255,255,.09),inset 0 -1px 0 rgba(0,0,0,.26);
  /* страница: свет сверху (золото) и справа (сирень знака) — как в theme-dark.css, без клетки */
  --page:radial-gradient(86% 40% at 50% -6%,rgba(237,199,162,.11),transparent 72%),radial-gradient(64% 44% at 100% 0%,rgba(200,136,230,.12),transparent 66%),linear-gradient(180deg,#1A1226 0%,#100B18 54%,#0C0813 100%);
  --d-1:.16s;--d-2:.26s;--d-3:.46s;
}
html,body{background:#100B18}
/* СТРАНИЦА «СЦЕНЫ» САМА НЕ ЕЗДИТ (17.11.2026, правка Сармата на iPhone: «кнопка языка тащится по странице»). Прокручиваются только
   вкладки внутри .sc-app; сам документ стоит. В Safari на iPhone запрет «пружины» действует только с <html> (у body он не
   считается), и без него дотянутая до края вкладка тянула за собой весь документ вместе с прибитыми кнопками (язык, «назад»,
   нижняя панель). Вкладки своей прокрутки наружу не отдают. */
html{overflow:hidden;overscroll-behavior:none}
body{overflow:hidden}
.sc-view,.sc-pick{overscroll-behavior:contain}
/* 17.11 вечер: у body «Сцены» не должно быть ни пикселя своей прокрутки. nav.js даёт страницам отступ под нижнюю панель
   (body.scn-on{padding-bottom}); здесь он лишний — вкладки сами оставляют место панели (inset … var(--scn-all)), а body высотой
   100 % с этим отступом становился на 66 px ниже своего содержимого и мог сдвинуться целиком (фокус в поле, scrollIntoView),
   увозя приложение из-под прибитых кнопок. Замер: document.body.scrollTop после принудительной прокрутки был 66, стал 0. */
html body.scn-on{padding-bottom:0}
/* ряд тумблеров «Оригинал / Перевод» на выборе куска больше не липнет (19.11.2026) — правила под стрелку «назад» сняты */
.sc-app{background:var(--grain),var(--page)}
/* isolation: слои внутри вкладки (z-index пьедестала, медалей) считаются внутри неё — вуаль под прибитыми кнопками (nav.js
   .sct-veil, слой 2 страницы) всегда лежит поверх содержимого вкладки, в любом браузере */
#tBattle,#tSongs,#tMe{isolation:isolate}
#tBattle,#tSongs,#tMe{display:block;padding-top:var(--sct-top,calc(18px + env(safe-area-inset-top,0px)))}   /* block, не сетка: в сетке с заданной высотой блоки с overflow:hidden сжимаются в ноль */
/* вкладка появляется мягко: без «щелчка» при переключении (hidden снят → анимация идёт заново) */
.sc-tab:not([hidden]){animation:sh-tab var(--d-2) var(--ease) both}
@keyframes sh-tab{from{opacity:0;transform:translateY(6px)}}
/* кнопка языка стала шире (флаг + код): экраны со своей верхней строкой оставляют под неё место по общей переменной nav.js */
.sc-vh,.sc-pick-h,.sc-cut-h{padding-right:var(--sct-r,92px)}
/* метка тестовой выкладки — по центру сверху: левый верхний угол занят стрелкой «назад» (nav.js) */
.sc-test{left:50%;transform:translateX(-50%);border-radius:0 0 8px 8px}
/* общие поля «Сцены» в новом виде: поиск — стекло, пустое состояние — тонкая рамка */
.sc-search{background:var(--glass-fill),var(--edge-glass);border:1px solid transparent;box-shadow:var(--lift-lo);transition:box-shadow var(--d-1)}
/* активное поле (18.11, Сармат: «нажал — как будто ничего не происходит»): золотая грань, кольцо вокруг и тёплая подсветка внутри,
   лупа и каретка — золотом. Кольцо — box-shadow: размер поля не меняется, вёрстка не прыгает. */
.sc-search:focus-within{border-color:transparent;background:linear-gradient(180deg,rgba(237,199,162,.13),rgba(237,199,162,.05)) padding-box,var(--glass-fill),linear-gradient(var(--gold-2),var(--gold-2)) border-box;
  box-shadow:0 0 0 3px rgba(237,199,162,.26),0 8px 26px rgba(237,199,162,.12),var(--lift-lo)}
.sc-search:focus-within svg{stroke:var(--gold-2)}
.sc-search input{caret-color:var(--gold-1)}
.sc-skel{background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.08),rgba(255,255,255,.035));background-size:200% 100%}
.sc-cc{background:rgba(255,255,255,.1);color:var(--mut);font-weight:750}

/* ---------- верхняя строка: заголовок вкладки между стрелкой «назад» и языком (обе — nav.js, поверх страницы) ---------- */
.sh-bar{display:flex;align-items:center;min-height:var(--sct-h,40px);padding-right:var(--sct-r,92px)}
body.scb-on .sh-bar{padding-left:54px}
.sh-title{font-size:clamp(20px,6vw,24px);line-height:1.1;font-weight:800;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-h{display:flex;align-items:center;gap:8px;margin:34px 0 12px;font-size:19px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.sh-h svg{width:19px;height:19px;color:var(--gold-2);flex:none}
.sh-p{margin:-6px 0 14px;font-size:12.5px;line-height:1.45;color:var(--dim);max-width:44ch}
.sh-none{padding:18px 12px;border-radius:16px;border:1px dashed var(--line-strong);font-size:12.5px;line-height:1.4;color:var(--mut);text-align:center}
#tBattle .sc-demo{margin-left:0;font-size:8.5px;font-weight:750;padding:1px 4px;background:none;color:var(--dim);border:1px solid var(--line-strong)}

/* ---------- БИТВА: дуэль недели — СКАЛА, РАСКОЛОТАЯ НАДВОЕ (17.11.2026, вечерняя правка Сармата) ----------
   «Каменная плитка, ровно срезана» (утренний вариант 17.11) не понравилась: вернуть кусок скалы — неровный отколотый контур,
   фактура, объём — и РАСКОЛ между группами через всю плиту. Это не рисунок трещины на целом камне (как 16.11), а ДВЕ ПОЛОВИНЫ:
   каждая — свой обломок со своим контуром, толщей, кромкой и тенью; между ними щель во всю высоту, в ней — тёмная глубина.
   Берега раскола повторяют друг друга (один зигзаг, разведённый на 5–8 px; сверху и снизу — выбитые клинья), правая половина
   просела на 3 px: камень сломан, а не надрезан.
   Слои .sh-crag (разметка — shell.js КАМЕНЬ):
     .pit      — глубина раскола: тёмная полоса под обеими половинами, видна только в щели; к выбитым клиньям гаснет;
     .hf.a/.b  — половины. У каждой: ::before — толща (тот же контур на 9 px ниже: видна под нижней кромкой и стенкой в щели),
                 .edge — освещённая кромка, .skin — лицевая грань, сдвинутая на волос вправо-вниз (от кромки остаётся световая
                 нить сверху и слева), на ней рельеф камня (--stone), слюда, плоскости сколов по углам (i.tl / .bl / .tr / .br)
                 и у раскола (i.k1 / .k2), волосяные трещины от раскола (svg.veins: x — px от середины, y — доли высоты);
     i.s1…s5   — осколки: у правого верхнего скола, у левого нижнего и в клиньях раскола.
   Контуры --ra / --rb: сколы — в px от углов и краёв (при любой ширине одного размера), берега раскола — в px от середины.
   Свет сверху слева: у правой половины светится берег раскола, левый берег в тени.
   Тень повторяет контур (drop-shadow на половине: box-shadow срезал бы clip-path). Содержимое лежит поверх в три колонки
   «сторона · раскол (--gut) · сторона»: строка времени, постеры, очки и кнопки расступаются перед расколом, VS стоит на нём. */
.sh-duel{--a:#D9B8C8;--b:#B9C4DA;--gut:26px;position:relative;isolation:isolate;display:grid;gap:14px;margin:14px -8px 10px;padding:22px 22px 32px}
.sh-duel>.sh-crag{
  --ra:polygon(2px 38px,9px 23px,19px 16px,26px 5px,42px 1px,calc(14% + 6px) 0,calc(14% + 12px) 3px,calc(14% + 19px) 1px,26% 3px,calc(26% + 10px) 0,38% 1px,calc(38% + 5px) 4px,calc(38% + 12px) 2px,calc(50% - 27px) 2px,calc(50% - 13px) 0,calc(50% - 6px) 7px,calc(50% - 1.5px) 15px,calc(50% - 5px) 27px,calc(50% - 8.5px) 40px,calc(50% - 10px) 54px,calc(50% - 5.5px) 17%,calc(50% + 1px) 23%,calc(50% + 3.5px) 30%,calc(50% - 2px) 36%,calc(50% - 8.5px) 43%,calc(50% - 10.5px) 50%,calc(50% - 5px) 56%,calc(50% + 1px) 62%,calc(50% + 3px) 69%,calc(50% - 3px) 76%,calc(50% - 8px) 83%,calc(50% - 7px) calc(100% - 44px),calc(50% - 1.5px) calc(100% - 27px),calc(50% - 3px) calc(100% - 12px),calc(50% - 9px) 100%,40% 100%,calc(40% - 6px) calc(100% - 4px),calc(40% - 13px) calc(100% - 1px),30% calc(100% - 3px),calc(30% - 8px) 100%,23% calc(100% - 2px),56px calc(100% - 1px),43px calc(100% - 9px),28px calc(100% - 12px),16px calc(100% - 27px),5px calc(100% - 35px),1px calc(100% - 54px),0 82%,5px calc(82% - 8px),1px calc(82% - 16px),3px 70%,0 calc(70% - 14px),2px 58%,5px calc(58% - 7px),0 calc(58% - 13px),2px calc(46% + 2px),11px calc(46% - 9px),3px calc(46% - 22px),3px 33%,0 calc(33% - 9px),0 22%,3px calc(12% + 10px),1px calc(12% + 2px));
  --rb:polygon(calc(50% + 15px) 0,calc(50% + 27px) 0,59% 2px,66% 4px,calc(66% + 8px) 1px,calc(100% - 92px) 0,calc(100% - 80px) 7px,calc(100% - 62px) 10px,calc(100% - 50px) 22px,calc(100% - 33px) 27px,calc(100% - 22px) 40px,calc(100% - 7px) 46px,calc(100% - 2px) 62px,calc(100% - 1px) 16%,calc(100% - 4px) calc(16% + 7px),100% calc(16% + 15px),100% 27%,calc(100% - 6px) calc(27% + 12px),calc(100% - 2px) calc(27% + 26px),100% 40%,calc(100% - 3px) calc(40% + 6px),calc(100% - 1px) calc(40% + 13px),calc(100% - 2px) 55%,calc(100% - 12px) calc(55% + 10px),calc(100% - 4px) calc(55% + 22px),calc(100% - 2px) 67%,100% calc(67% + 8px),100% 78%,calc(100% - 5px) 86%,calc(100% - 1px) calc(86% + 9px),calc(100% - 2px) calc(100% - 33px),calc(100% - 9px) calc(100% - 19px),calc(100% - 21px) calc(100% - 9px),calc(100% - 32px) calc(100% - 1px),74% 100%,calc(74% - 9px) calc(100% - 4px),calc(74% - 20px) calc(100% - 1px),62% calc(100% - 3px),calc(62% - 7px) 100%,calc(50% + 10px) 100%,calc(50% + 6px) calc(100% - 12px),calc(50% + 4.5px) calc(100% - 27px),calc(50% - 1px) calc(100% - 44px),calc(50% - 2.5px) 83%,calc(50% + 3px) 76%,calc(50% + 9px) 69%,calc(50% + 7px) 62%,calc(50% + 1.5px) 56%,calc(50% - 4px) 50%,calc(50% - 1.5px) 43%,calc(50% + 5px) 36%,calc(50% + 10.5px) 30%,calc(50% + 8px) 23%,calc(50% + 1.5px) 17%,calc(50% - 3.5px) 54px,calc(50% - 1.5px) 40px,calc(50% + 3.5px) 27px,calc(50% + 9px) 15px,calc(50% + 11px) 7px);
  position:absolute;inset:0;z-index:0;pointer-events:none}
/* глубина раскола: в щели не фон страницы, а темнота — тёплая у освещённого (правого) берега, глухая у левого */
.sh-crag .pit{position:absolute;left:calc(50% - 22px);top:0;bottom:-8px;width:44px;background:linear-gradient(90deg,#000 0,#040206 40%,#0E0913 64%,#050308 100%);
  -webkit-mask-image:linear-gradient(180deg,transparent 2px,#000 26px,#000 calc(100% - 30px),transparent calc(100% - 3px));mask-image:linear-gradient(180deg,transparent 2px,#000 26px,#000 calc(100% - 30px),transparent calc(100% - 3px))}
.sh-crag .hf{position:absolute;inset:0;filter:drop-shadow(0 2px 2px rgba(6,3,12,.6)) drop-shadow(0 22px 22px rgba(6,3,12,.6))}
.sh-crag .hf.a{--r:var(--ra)}
.sh-crag .hf.b{--r:var(--rb);transform:translate(1.5px,3px)}
/* толща: под нижней кромкой — слои породы; в щели — стенка обломка (у правой половины она смотрит на свет) */
.sh-crag .hf::before{content:"";position:absolute;inset:0;transform:translateY(9px);clip-path:var(--r);
  background:repeating-linear-gradient(178deg,rgba(255,255,255,.06) 0 1px,transparent 1px 4px),linear-gradient(180deg,#2A2332,#0C0811 70%,#070409)}
.sh-crag .hf.b::before{background:repeating-linear-gradient(178deg,rgba(255,255,255,.07) 0 1px,transparent 1px 4px),linear-gradient(180deg,#5A5064,#221B29 62%,#070409)}
.sh-crag .edge,.sh-crag .skin{position:absolute;inset:0;clip-path:var(--r)}
.sh-crag .edge{background:linear-gradient(158deg,#A69CAE 0%,#6C6375 22%,#3A3341 56%,#1B161F 100%)}
.sh-crag .hf.b .edge{background:linear-gradient(180deg,rgba(27,22,31,0) 0,rgba(27,22,31,0) 30%,rgba(27,22,31,.5) 100%),linear-gradient(90deg,#DDD3E4 0,#DDD3E4 calc(50% + 14px),#8F8598 calc(50% + 46px),#3A3341 82%,#1B161F 100%)}
.sh-crag .skin{transform:translate(.7px,1.7px);
  background:radial-gradient(92% 44% at 50% -6%,rgba(246,227,196,.13),transparent 70%),linear-gradient(170deg,#443C4B 0%,#2E2835 36%,#1F1A25 74%,#16121B 100%)}
.sh-crag .hf.b .skin{transform:translate(1.2px,1.7px);
  background:radial-gradient(92% 44% at 50% -6%,rgba(246,227,196,.11),transparent 70%),linear-gradient(170deg,#3A3341 0%,#28222E 36%,#1B1721 74%,#141018 100%)}
.sh-crag .skin::before{content:"";position:absolute;inset:0;background:var(--mica),var(--grain),var(--stone);background-size:260px 260px,120px 120px,420px 420px;mix-blend-mode:soft-light}
.sh-crag .hf.b .skin::before{background-position:90px 40px,30px 70px,-150px -210px}   /* у второго обломка свой рисунок камня, а не продолжение первого */
/* у раскола: левый берег уходит в тень, правый ловит свет */
.sh-crag .skin::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent calc(50% - 44px),rgba(0,0,0,.34) calc(50% - 3px)),radial-gradient(130% 96% at 34% 16%,transparent 46%,rgba(0,0,0,.2))}
.sh-crag .hf.b .skin::after{background:linear-gradient(90deg,rgba(255,255,255,.13) calc(50% - 4px),rgba(255,255,255,.03) calc(50% + 20px),transparent calc(50% + 40px)),radial-gradient(130% 96% at 10% 16%,transparent 46%,rgba(0,0,0,.22))}
/* плоскости сколов: по углам (светлая со стороны света, тёмные — с теневой) и у выбитого клина раскола */
.sh-crag .skin i{position:absolute;z-index:1}
.sh-crag .skin .tl{left:0;top:0;width:60px;height:50px;clip-path:polygon(0 0,58px 0,50px 8px,34px 12px,28px 23px,18px 28px,13px 40px,0 48px);background:linear-gradient(140deg,rgba(255,255,255,.24),rgba(255,255,255,.06))}
.sh-crag .skin .tr{right:0;top:0;width:110px;height:80px;clip-path:polygon(6px 0,20px 12px,40px 17px,52px 29px,69px 35px,80px 48px,96px 55px,102px 72px,110px 76px,110px 0);background:linear-gradient(215deg,rgba(255,255,255,.13),rgba(255,255,255,.02) 72%)}
.sh-crag .skin .bl{left:0;bottom:0;width:76px;height:66px;clip-path:polygon(0 2px,9px 6px,13px 23px,24px 30px,32px 44px,44px 47px,52px 54px,66px 66px,0 66px);background:linear-gradient(40deg,rgba(0,0,0,.46),rgba(0,0,0,.16))}
.sh-crag .skin .br{right:0;bottom:0;width:52px;height:48px;clip-path:polygon(8px 48px,16px 38px,25px 31px,35px 24px,41px 10px,52px 6px,52px 48px);background:linear-gradient(320deg,rgba(0,0,0,.5),rgba(0,0,0,.22))}
.sh-crag .skin .k1{left:calc(50% - 36px);top:0;width:36px;height:60px;clip-path:polygon(4px 0,24px 0,31px 7px,35px 15px,31px 27px,28px 40px,26px 56px,17px 34px,12px 16px);background:linear-gradient(200deg,rgba(0,0,0,.2),rgba(0,0,0,.44))}
.sh-crag .skin .k2{left:calc(50% - 4px);top:0;width:44px;height:62px;clip-path:polygon(18px 0,36px 0,31px 16px,22px 31px,13px 46px,1px 58px,2px 40px,7px 27px,12px 15px,14px 7px);background:linear-gradient(120deg,rgba(255,255,255,.3),rgba(255,255,255,.06) 70%)}
.sh-crag .skin .k3{left:calc(50% - 4px);bottom:0;width:34px;height:50px;clip-path:polygon(3px 6px,9px 23px,10px 38px,14px 50px,30px 50px,22px 32px,13px 14px);background:linear-gradient(60deg,rgba(255,255,255,.02),rgba(255,255,255,.09))}
/* волосяные трещины от раскола: тёмная нить и светлая кромка рядом */
.sh-crag .veins{position:absolute;left:calc(50% - 30px);top:0;width:60px;height:100%;overflow:visible}
.sh-crag .veins path{fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.sh-crag .veins .d{stroke:rgba(4,2,7,.85);stroke-width:1.2}
.sh-crag .veins .l{stroke:rgba(255,255,255,.17);stroke-width:1}
/* осколки: два у правого верхнего скола, один у левого нижнего, по одному в верхнем и нижнем клине раскола */
.sh-crag>i{position:absolute;background:linear-gradient(150deg,#8E8597 0%,#4A4252 26%,#28222F 70%,#17131C 100%);filter:drop-shadow(0 2px 2px rgba(6,3,12,.6))}
.sh-crag>.s1{right:13px;top:8px;width:17px;height:13px;clip-path:polygon(12% 30%,58% 0,100% 38%,82% 92%,30% 100%,0 66%)}
.sh-crag>.s2{right:1px;top:28px;width:9px;height:9px;clip-path:polygon(40% 0,100% 30%,78% 100%,10% 80%,0 34%)}
.sh-crag>.s3{left:6px;bottom:-4px;width:12px;height:10px;clip-path:polygon(0 44%,44% 0,100% 30%,86% 86%,34% 100%);background:linear-gradient(150deg,#5B5364,#2A2431 40%,#120E17)}
.sh-crag>.s4{left:calc(50% - 3px);top:1px;width:11px;height:9px;clip-path:polygon(8% 22%,52% 0,100% 30%,70% 100%,26% 84%)}
.sh-crag>.s5{left:calc(50% - 4px);bottom:-9px;width:9px;height:8px;clip-path:polygon(0 30%,50% 0,100% 44%,64% 100%,16% 82%);background:linear-gradient(150deg,#5B5364,#2A2431 40%,#120E17)}

.sh-me::after{content:"";position:absolute;inset:5px;border-radius:21px;border:1px solid var(--gold-hair);pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,#000,transparent 46%,transparent 54%,#000);mask-image:linear-gradient(180deg,#000,transparent 46%,transparent 54%,#000)}
.sh-duel>*,.sh-me>*{position:relative;z-index:1}
/* «до финала …» — выбитая в камне строка; раскол проходит сквозь неё: подпись — на левом обломке, время — на правом
   (shell.js кладёт части в .l и .r), у каждой половины своя волосяная линия с внешней стороны */
.sh-time{display:grid;grid-template-columns:minmax(0,1fr) var(--gut) minmax(0,1fr);gap:0 4px;align-items:center;min-height:20px;font-size:10.5px;line-height:1;font-weight:750;letter-spacing:.16em;text-transform:uppercase;color:var(--mut);white-space:nowrap;text-shadow:0 1px 0 rgba(0,0,0,.55)}
.sh-time>span{display:flex;align-items:center;gap:8px;min-width:0}
.sh-time .l{grid-column:1;justify-content:flex-end}
.sh-time .r{grid-column:3;justify-content:flex-start}
.sh-time .l::before,.sh-time .r::after{content:"";flex:0 1 30px;min-width:10px;height:1px;background:linear-gradient(90deg,transparent,var(--gold-line));box-shadow:0 1px 0 rgba(0,0,0,.45)}
.sh-time .r::after{transform:scaleX(-1)}
.sh-time>span>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.sh-time b{font-size:13.5px;font-weight:750;letter-spacing:.02em;text-transform:none;color:var(--gold-1);font-variant-numeric:tabular-nums}
.sh-duel-row{display:grid;grid-template-columns:minmax(0,1fr) var(--gut) minmax(0,1fr);align-items:start;gap:10px 4px}
.sh-side{display:grid;justify-items:center;gap:6px;min-width:0;text-align:center}
/* ПОЛЕ ПОСТЕРОВ. Два квадратных постера врезаны в свои обломки, между ними — раскол (колонка --gut) и медальон VS на нём.
   Рамка — фон кнопки (тёмная врезка: тень сверху, светлая кромка снизу), картинка — во вложенном .sh-poster-in: ему общий
   слушатель картинок sing.js ставит ok / yt. Под картинкой всегда типографская подложка (буква группы). */
.sh-arena{display:grid;grid-template-columns:minmax(0,1fr) var(--gut) minmax(0,1fr);gap:0 4px;align-items:center}
.sh-poster{--c:var(--a);position:relative;display:block;width:100%;aspect-ratio:1/1;padding:0;border-radius:15px;background:#07040B;
  box-shadow:0 0 0 1px rgba(0,0,0,.6),0 -1px 0 1px rgba(0,0,0,.5),0 1.5px 0 1px rgba(255,255,255,.13),0 12px 22px rgba(6,3,12,.5);transition:transform var(--d-1) var(--ease)}
.sh-poster.b{--c:var(--b);grid-column:3}
.sh-poster:active{transform:scale(.98)}
.sh-poster-in{position:absolute;inset:0;display:block;overflow:hidden;border-radius:inherit;background:linear-gradient(160deg,color-mix(in srgb,var(--c) 30%,#1B1326),color-mix(in srgb,var(--c) 8%,#120C1A))}
.sh-poster-in>b{position:absolute;inset:0;display:grid;place-items:center;font-size:76px;line-height:1;font-weight:900;letter-spacing:-.04em;color:color-mix(in srgb,var(--c) 46%,transparent)}
.sh-poster-in>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .45s ease}
.sh-poster-in.ok>img{opacity:1}
.sh-poster-in.yt>img{transform:scale(1.36)}
/* лёгкая виньетка и блик стекла поверх обложки: постер «под стеклом», а не наклейка */
.sh-poster-in::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.14),transparent 22%,transparent 62%,rgba(8,5,13,.5));box-shadow:inset 0 0 0 1px rgba(255,255,255,.14),inset 0 0 26px rgba(6,3,12,.42)}
/* лидер — литая золотая рамка: свет идёт по ней наискосок */
.sh-poster.lead{background:linear-gradient(135deg,#FFF6DE 0%,var(--gold-2) 22%,var(--gold-3) 48%,#FFF1D2 66%,var(--gold-2) 82%,var(--gold-3) 100%);
  box-shadow:0 0 0 1px rgba(0,0,0,.6),0 2px 0 1px rgba(255,255,255,.1),0 12px 22px rgba(6,3,12,.5)}
.sh-poster.lead .sh-poster-in{inset:2.5px;border-radius:12.5px}
.sh-lead{position:absolute;z-index:2;left:8px;top:8px;display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px 0 6px;border-radius:7px;background:rgba(14,9,20,.82);border:1px solid var(--gold-line);color:var(--gold-1);
  font-size:9.5px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;box-shadow:0 2px 6px rgba(6,3,12,.5),inset 0 1px 0 rgba(255,255,255,.1)}
.sh-poster.b .sh-lead{left:auto;right:8px}
.sh-lead svg{width:12px;height:12px;color:var(--gold-2)}
.sh-side-n{max-width:100%;font-size:13px;line-height:1.2;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:color-mix(in srgb,var(--a) 34%,var(--ink));overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px 0 rgba(0,0,0,.6)}
.sh-side.b .sh-side-n{color:color-mix(in srgb,var(--b) 34%,var(--ink))}
.sh-side-sc{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:0 7px;max-width:100%}
.sh-side-s{font-size:30px;line-height:1;font-weight:800;letter-spacing:-.035em;font-variant-numeric:tabular-nums;color:var(--ink);text-shadow:0 1px 0 rgba(0,0,0,.6),0 -1px 0 rgba(255,255,255,.1)}
.sh-side.lead .sh-side-s{color:var(--gold-1)}
.sh-side-m{font-size:12px;line-height:1.3;font-weight:650;color:var(--mut);white-space:nowrap}
/* доля стороны — жёлоб в камне; заливка тянется к трещине: у левой стороны от правого края, у правой — от левого */
.sh-side-bar{display:flex;width:100%;height:5px;border-radius:3px;background:rgba(0,0,0,.42);box-shadow:inset 0 1px 1px rgba(0,0,0,.6),0 1px 0 rgba(255,255,255,.09);overflow:hidden}
.sh-side.a .sh-side-bar{justify-content:flex-end}
.sh-side-bar i{display:block;height:100%;border-radius:3px;background:linear-gradient(180deg,#E9EDF6,#A9B2C6);transform-origin:100% 50%;animation:sh-grow .7s .12s var(--ease) both}
.sh-side.b .sh-side-bar i{transform-origin:0 50%}
.sh-side.lead .sh-side-bar i{background:linear-gradient(180deg,var(--gold-1),var(--gold-3))}
@keyframes sh-grow{from{transform:scaleX(.2);opacity:0}}
/* VS — медальон, вбитый в раскол: тёмный металл в золотой нити, держит две половины вместе */
.sh-vs{position:relative;z-index:2;grid-column:2;justify-self:center;width:36px;height:36px;margin:0 -8px;border-radius:50%;display:grid;place-items:center;pointer-events:none;
  background:radial-gradient(circle at 50% 26%,#3D3348,#17111E 60%,#0B0711);
  box-shadow:0 0 0 1px var(--gold-line),0 0 0 3.5px #0B0711,0 0 0 4.5px rgba(255,255,255,.1),inset 0 1px 0 rgba(255,255,255,.22),0 6px 12px rgba(6,3,12,.65)}
.sh-vs b{font-size:10.5px;line-height:1;font-weight:850;letter-spacing:.06em;color:var(--gold-1);padding-left:.06em}
.sh-duel-go{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:calc(var(--gut) + 8px);margin-top:2px;padding-bottom:4px}
/* «Спеть» — золотой слиток на камне: толщина (тёмный торец снизу), блик по верхней фаске и косой отсвет, зерно; буквы и значок —
   тиснением. Углы скруглены слегка: литой металл, а не резаная пластина. */
.sh-duel-go .sc-cta{height:52px;min-width:0;padding:0 10px;gap:8px;border-radius:14px;color:var(--slab-ink);font-size:16.5px;font-weight:850;letter-spacing:.01em;text-shadow:var(--emboss);
  background:linear-gradient(104deg,transparent 30%,rgba(255,255,255,.26) 42%,transparent 54%),var(--gold-slab);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(150,92,54,.5),0 4px 0 #7C4E2E,0 5px 0 rgba(0,0,0,.5),0 14px 22px rgba(6,3,12,.55);transition:transform .1s var(--ease),box-shadow .1s var(--ease)}
.sh-duel-go .sc-cta:active{transform:translateY(3px);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(150,92,54,.5),0 1px 0 #7C4E2E,0 2px 0 rgba(0,0,0,.5),0 6px 10px rgba(6,3,12,.5)}
.sh-duel-go .sc-cta svg{width:19px;height:19px;flex:none;stroke:var(--slab-ink);stroke-width:2.3;filter:drop-shadow(0 1px 0 rgba(255,255,255,.55))}
.sh-duel-go .sc-cta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-rule{margin-top:14px;padding:0 6px;font-size:12.5px;line-height:1.45;color:var(--dim);text-align:center;text-wrap:balance}

/* ---------- БИТВА: лучшие голоса сторон — каменные доски с медалями (16.11, третья правка Сармата) ----------
   КАМЕНЬ И МЕТАЛЛ — один мир на три блока «Битвы», у каждого своё направление: дуэль — отколотая скала (выше); лучшие голоса —
   участники фандома: у каждой стороны шлифованная доска со срезанными углами (.sh-plq), на ней три медали — золото, серебро,
   бронза (тёмная тёплая медь); первая — крупно, на ленте цвета группы; рейтинг недели — общий зачёт: пьедестал с кубками (ниже).
   Стеклянные витрины с золотыми полками (вторая правка) сняты; токены --glass-case и --shelf оставлены. */
.sh-best{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start}
.sh-team{--g:#C9B8DC;display:grid;gap:10px;min-width:0}
.sh-team h3{display:flex;align-items:center;gap:7px;min-width:0;font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--mut)}
.sh-team h3 i{flex:none;width:7px;height:7px;border-radius:2px;background:var(--g);transform:rotate(45deg)}
.sh-team h3 span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-team h3::after{content:"";flex:1;min-width:8px;height:1px;background:linear-gradient(90deg,var(--line-strong),transparent)}
/* МЕТАЛЛ МЕСТА: набор --c1…--c4 (блик / тело / тень / глубина). По умолчанию (:root ниже) — серебро. */
.sh-v.g1,.sh-pp.p1{--m:var(--m1);--c1:var(--au-1);--c2:var(--au-2);--c3:var(--au-3);--c4:var(--au-4)}
.sh-v.g2,.sh-pp.p2{--m:var(--m2);--c1:var(--ag-1);--c2:var(--ag-2);--c3:var(--ag-3);--c4:var(--ag-4)}
.sh-v.g3,.sh-pp.p3{--m:var(--m3);--c1:var(--cu-1);--c2:var(--cu-2);--c3:var(--cu-3);--c4:var(--cu-4)}
/* МЕДАЛЬ: литой обод (свет ходит по кругу — conic), рифлёный гурт (::before), утопленный портрет (::after — тень в чаше),
   номерная пластина (em). --d — диаметр, --rim — ширина обода. .thin — тонкое кольцо без гурта и пластины (пьедестал рейтинга). */
@property --sheen{syntax:"<angle>";inherits:false;initial-value:218deg}
/* 17.11 — ПОЛИРОВКА («ярче и блестящее: блики, металл, без перебора»): поверх кругового хода света — две неподвижные точки блика
   на ободе (яркая слева сверху, откуда свет; слабая справа снизу — отражение), светлая нить по внешней кромке, гурт тише;
   портрет под выпуклым стеклом (внутренний блик сверху). Движение прежнее: свет один раз обходит обод. */
.sh-mdl{--d:46px;--rim:5px;position:relative;flex:none;display:grid;place-items:center;width:var(--d);height:var(--d);border-radius:50%;
  background:radial-gradient(circle at 27% 19%,#fff 0,rgba(255,255,255,.72) 6%,rgba(255,255,255,0) 20%),radial-gradient(circle at 77% 85%,rgba(255,255,255,.62) 0,rgba(255,255,255,0) 13%),
    conic-gradient(from var(--sheen,218deg),var(--c1),var(--c2) 7%,var(--c3) 18%,var(--c2) 27%,var(--c1) 37%,var(--c2) 47%,var(--c3) 58%,var(--c4) 69%,var(--c3) 81%,var(--c2) 92%,var(--c1));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.42),0 0 0 1px rgba(0,0,0,.6),0 2px 0 rgba(0,0,0,.4),0 9px 14px rgba(6,3,12,.55)}
.sh-mdl::before{content:"";position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(rgba(0,0,0,.3) 0 2.4deg,transparent 2.4deg 6deg);
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 2.8px),#000 calc(100% - 2.3px));mask:radial-gradient(closest-side,transparent calc(100% - 2.8px),#000 calc(100% - 2.3px))}
.sh-mdl::after{content:"";position:absolute;z-index:2;inset:calc(var(--rim) - 1px);border-radius:50%;pointer-events:none;
  background:radial-gradient(120% 70% at 50% -8%,rgba(255,255,255,.3),rgba(255,255,255,0) 60%);
  box-shadow:inset 0 2px 3px rgba(0,0,0,.6),inset 0 0 0 1px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,.7),0 -1px 0 rgba(0,0,0,.3)}
.sh-mdl .sc-av{width:calc(var(--d) - 2*var(--rim));height:calc(var(--d) - 2*var(--rim));border:0;color:var(--ink);font-size:calc(var(--d)*.32)}
.sh-mdl em,.sh-pp-b em{position:absolute;z-index:3;left:50%;bottom:-7px;transform:translateX(-50%);min-width:20px;height:17px;padding:0 5px;border-radius:5px;display:grid;place-items:center;
  font-style:normal;font-size:11px;line-height:1;font-weight:850;font-variant-numeric:tabular-nums;color:var(--c4);background:linear-gradient(180deg,#fff 0,var(--c1) 22%,var(--c2) 62%,var(--c3) 130%);
  text-shadow:0 1px 0 rgba(255,255,255,.5);box-shadow:0 0 0 1px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.8),0 3px 5px rgba(6,3,12,.5)}
.sh-mdl.thin{--rim:3.5px}
.sh-mdl.thin::before{display:none}
/* единственное «живое» место блока: при появлении свет один раз обходит обод медали (угол conic — анимируемое свойство --sheen;
   где @property нет, обод просто стоит) */
.sh-v .sh-mdl,.sh-pp .sh-mdl{animation:sh-sheen 1.7s cubic-bezier(.22,.7,.2,1) both;animation-delay:calc(.3s + var(--i,0)*.14s)}
@keyframes sh-sheen{from{--sheen:-142deg}}
/* ДОСКА: шлифованный камень со срезанными углами (--cut). Светлая кромка — фон самой доски, лицевая грань — ::before на волос
   внутрь, рельеф камня тише, чем у скалы (::after, soft-light вполсилы). Тень — drop-shadow обёртки: box-shadow срезал бы clip-path. */
.sh-plq-w{filter:drop-shadow(0 2px 2px rgba(6,3,12,.5)) drop-shadow(0 16px 18px rgba(6,3,12,.5))}
/* 17.11: углы досок срезаны так же, как у монолита дуэли, — правый верхний и левый нижний, тем же углом (--ch по ширине, ×4 по высоте) */
.sh-plq,.sh-rank{--ch:13px;--cut:polygon(0 0,calc(100% - var(--ch)) 0,100% calc(var(--ch)*4),100% 100%,var(--ch) 100%,0 calc(100% - var(--ch)*4));
  position:relative;isolation:isolate;display:grid;padding:1px;clip-path:var(--cut);background:linear-gradient(150deg,#A69CAE 0%,#5D5566 20%,#2B2532 52%,#17131C 80%,#4A4253 100%)}
.sh-plq::before,.sh-rank::before{content:"";position:absolute;z-index:-2;inset:1px;clip-path:var(--cut);
  background:linear-gradient(112deg,transparent 12%,rgba(255,255,255,.065) 21%,transparent 31%,transparent 63%,rgba(255,255,255,.035) 70%,transparent 78%),linear-gradient(176deg,#342D3B 0%,#241E2C 44%,#18141F 100%)}
.sh-plq::after,.sh-rank::after{content:"";position:absolute;z-index:-1;inset:1px;clip-path:var(--cut);pointer-events:none;background:var(--mica),var(--grain),var(--stone);background-size:260px 260px,120px 120px,420px 420px;mix-blend-mode:soft-light;opacity:.4}
.sh-v{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;width:100%;min-height:70px;padding:12px 9px 17px 13px;text-align:left;
  transition:transform var(--d-1) var(--ease);animation:sh-up var(--d-3) var(--ease) both;animation-delay:calc(var(--i,0)*60ms)}
/* между строками — канавка, вырезанная в камне: тёмная нить и светлая под ней */
.sh-v+.sh-v{border-top:1px solid rgba(0,0,0,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.sh-v:active{transform:scale(.97)}
.sh-v.g1{grid-template-columns:minmax(0,1fr);justify-items:center;gap:13px;padding:50px 8px 18px;text-align:center}
.sh-v.g1 .sh-mdl{--d:84px;--rim:8px}
.sh-v.g1 .sh-mdl em{min-width:24px;height:20px;font-size:12.5px;border-radius:6px;bottom:-8px}
/* лента первого места: две полосы цвета группы с металлической нитью сходятся к ушку медали; верх уходит за срез доски */
.sh-rib{position:absolute;left:50%;top:0;width:0;height:52px;pointer-events:none}
.sh-rib i{position:absolute;left:-9px;bottom:0;width:18px;height:78px;transform-origin:50% 100%;transform:rotate(-21deg);
  background:linear-gradient(90deg,rgba(0,0,0,.42),transparent 24%,transparent 76%,rgba(0,0,0,.42)),linear-gradient(90deg,transparent 5px,var(--c2) 5px,var(--c2) 6.5px,transparent 6.5px,transparent 11.5px,var(--c2) 11.5px,var(--c2) 13px,transparent 13px),
    repeating-linear-gradient(0deg,rgba(0,0,0,.18) 0 1px,transparent 1px 3px),color-mix(in srgb,var(--g) 54%,#1B1424)}
.sh-rib i+i{transform:rotate(21deg)}
.sh-rib::after{content:"";position:absolute;left:-8px;bottom:-7px;width:16px;height:11px;border-radius:3px 3px 5px 5px;background:linear-gradient(180deg,var(--c1),var(--c2) 42%,var(--c3));box-shadow:0 0 0 1px rgba(0,0,0,.6),0 2px 3px rgba(6,3,12,.5)}
.sh-v-t{display:grid;gap:1px;min-width:0;max-width:100%}
.sh-v-t b{font-size:12.5px;font-weight:700;line-height:1.25;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-v-s{display:flex;align-items:center;gap:6px;min-width:0}
/* «очков» под баллом лучших голосов (19.11, п.7): это очки записи (точность × сложность песни, до 130), не проценты — 101 законно */
.sh-v-s small{font-size:10.5px;font-weight:650;letter-spacing:.04em;color:var(--mut)}
.sh-v.g1 .sh-v-s small{margin-top:-1px}
/* чужие записи не открываются (ЧУЖИЕ_ОТКРЫВАТЬ выключен) — строка не кнопка: без вдавливания и без курсора */
.sh-ro{cursor:default;-webkit-tap-highlight-color:transparent}
.sh-ro:active{transform:none!important;filter:none!important}
.sh-v-s strong{font-size:20px;line-height:1.1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.sh-v.g1 .sh-v-t{justify-items:center}
.sh-v.g1 .sh-v-t b{font-size:13.5px;color:var(--ink)}
.sh-v.g1 .sh-v-s{flex-direction:column;gap:3px}
.sh-v.g1 .sh-v-s strong{font-size:32px;line-height:1;color:var(--m1)}
@keyframes sh-up{from{opacity:0;transform:translateY(10px)}}

/* ---------- БИТВА: рейтинг недели — каменный пьедестал с кубками, таблица мест на каменной доске ----------
   Над каждым из трёх первых — кубок его металла (.sh-cup), портрет — в тонком литом кольце (.sh-mdl.thin). Ступень (.sh-pp-b) —
   тёсаный камень с накладкой из металла места и номерной пластиной. Под ступенями — каменный брус-основание (.sh-pod::after)
   и доска мест с 4-го (.sh-rank). */
.sh-pod{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.14fr) minmax(0,1fr);align-items:end;padding:6px 0 0}
/* свет сцены за первым местом — осветление, не ореол: широкое пятно шампани на фоне */
.sh-pod::before{content:"";position:absolute;left:50%;top:0;width:78%;height:74%;transform:translateX(-50%);pointer-events:none;
  background:radial-gradient(50% 58% at 50% 34%,rgba(243,217,172,.13),transparent 72%)}
/* основание пьедестала — каменный брус под тремя блоками, он же верхняя кромка таблицы мест */
.sh-pod::after{content:"";position:absolute;z-index:3;left:0;right:0;bottom:-7px;height:8px;background:linear-gradient(180deg,#8A8093 0,#4A4252 1.5px,#2A2431 3px,#16121B 100%);box-shadow:0 1px 0 rgba(0,0,0,.6),0 8px 12px rgba(6,3,12,.5)}
.sh-pod.n1{grid-template-columns:minmax(0,.7fr)}.sh-pod.n2{grid-template-columns:minmax(0,1fr) minmax(0,1.14fr)}
.sh-pod.n1,.sh-pod.n2{justify-content:center}
.sh-pp{--ped:62px;position:relative;display:grid;justify-items:center;gap:5px;min-width:0;text-align:center;transition:transform var(--d-1) var(--ease);animation:sh-up var(--d-3) var(--ease) both}
.sh-pp.p1{--ped:98px;z-index:2;animation-delay:.14s}.sh-pp.p3{--ped:56px;animation-delay:.07s}
.sh-pp:active{transform:scale(.97)}
/* кубок места (shell.js кубок): литая чаша на каменном постаменте; металл — из --c1…--c4 */
.sh-cup{display:block;width:38px;height:42.75px;margin-bottom:3px;overflow:visible;filter:drop-shadow(0 5px 6px rgba(6,3,12,.6))}
.sh-pp.p1 .sh-cup{width:58px;height:65.25px;margin-bottom:5px}
.sh-pp .sh-mdl{--d:52px}
.sh-pp.p1 .sh-mdl{--d:72px;--rim:4.5px}
.sh-pp-n{max-width:100%;padding:0 4px;font-size:13px;font-weight:750;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-pp.p1 .sh-pp-n{font-size:14px;font-weight:800}
.sh-pp.me .sh-pp-n{color:var(--gold-1)}
.sh-pp-m{display:flex;align-items:center;justify-content:center;gap:5px;min-height:17px}
.sh-flag{font-style:normal;font-size:17px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
/* блок пьедестала — тёсаный камень: светлая левая грань, тень под накладкой; сверху — накладка из металла места (::before)
   с номерной пластиной (em) */
.sh-pp-b{position:relative;width:100%;height:var(--ped);margin-top:15px;padding-top:6px;display:grid;align-content:center;justify-items:center;gap:1px;
  background:linear-gradient(180deg,rgba(0,0,0,.5),transparent 22px),var(--grain),var(--stone),linear-gradient(176deg,#40394A 0%,#2A2433 46%,#1B1722 100%);
  background-size:auto,120px 120px,420px 420px,auto;background-blend-mode:normal,normal,soft-light,normal;
  border-left:1px solid rgba(255,255,255,.2);border-right:1px solid rgba(0,0,0,.55)}
.sh-pp-b::before{content:"";position:absolute;left:-3px;right:-3px;top:-6px;height:6px;border-radius:1.5px;
  background:linear-gradient(90deg,transparent 8%,rgba(255,255,255,.85) 24%,transparent 42%,transparent 72%,rgba(255,255,255,.4) 86%,transparent 96%),linear-gradient(180deg,var(--c1) 0,var(--c2) 34%,var(--c3) 80%,var(--c4));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),0 1px 0 rgba(0,0,0,.6),0 7px 10px rgba(6,3,12,.55)}
.sh-pp-b em{top:-12px;bottom:auto}
.sh-pp-b strong{font-size:21px;line-height:1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink);text-shadow:0 1px 0 rgba(0,0,0,.6)}
.sh-pp.p1 .sh-pp-b strong{font-size:30px;color:var(--m1)}
.sh-pp-b small{font-size:10.5px;font-weight:650;letter-spacing:.04em;color:var(--mut)}
/* таблица мест с 4-го — та же шлифованная доска (.sh-plq выше), под пьедесталом срезаны только нижние углы */
.sh-rank-w{filter:drop-shadow(0 2px 2px rgba(6,3,12,.5)) drop-shadow(0 16px 18px rgba(6,3,12,.5))}
.sh-pod+.sh-rank-w>.sh-rank{--cut:polygon(0 0,100% 0,100% 100%,var(--ch) 100%,0 calc(100% - var(--ch)*4));padding-top:8px}
.sh-r{display:grid;grid-template-columns:26px 38px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:58px;padding:8px 14px 8px 10px;text-align:left;transition:background var(--d-1);
  animation:sh-up var(--d-3) var(--ease) both;animation-delay:calc(.18s + var(--i,0)*28ms)}
.sh-r+.sh-r{border-top:1px solid rgba(0,0,0,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
button.sh-r:active{background:rgba(255,255,255,.05)}
.sh-r .n{font-size:14px;font-weight:700;color:var(--dim);text-align:center;font-variant-numeric:tabular-nums}
.sh-r .sc-av{border:0;color:var(--ink);box-shadow:0 0 0 1px rgba(255,255,255,.2)}
.sh-r .nm{display:flex;align-items:center;gap:7px;min-width:0}
.sh-r .nm b{font-size:14.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-r strong{font-size:18px;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.sh-r.me{background:linear-gradient(90deg,rgba(237,199,162,.16),rgba(237,199,162,.05))}
.sh-r.me .n,.sh-r.me .nm b,.sh-r.me strong{color:var(--gold-1)}
.sh-r.me .sc-av{box-shadow:0 0 0 2px var(--bg-1),0 0 0 3.5px var(--gold-2)}
.sh-r.far{border-top:1px dashed var(--line-strong)}
#tBattle>.sc-empty{margin-top:22px}

/* ---------- ПЕСНИ ---------- */
.sh-sub{margin-top:8px;font-size:14px;line-height:1.42;color:var(--mut);max-width:36ch}
#tSongs .sc-search{margin-top:16px}
#tSongs .sc-lines{margin-top:12px}
/* строки поиска выезжают по одной; блоки ниже сдвигаются плавно (shell.js плавноНиже) */
#libRes>*{animation:sh-up .34s var(--ease) both}
#libRes>*:nth-child(2){animation-delay:30ms}#libRes>*:nth-child(3){animation-delay:60ms}#libRes>*:nth-child(4){animation-delay:90ms}
#libRes>*:nth-child(5){animation-delay:120ms}#libRes>*:nth-child(n+6){animation-delay:150ms}
#libRes .sc-l{background:var(--glass-fill),var(--edge-glass);border:1px solid transparent}
.sh-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-top:14px}
.sh-link{--c:var(--gold-2);display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:66px;padding:10px 12px 10px 10px;border-radius:18px;
  border:1px solid transparent;background:var(--glass-fill),var(--edge-glass);box-shadow:var(--lift-lo);
  text-decoration:none;color:var(--ink);font-size:13.5px;font-weight:750;line-height:1.22;letter-spacing:-.005em;transition:transform var(--d-1) var(--ease)}
.sh-link:active{transform:scale(.97)}
.sh-ico{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(180deg,rgba(237,199,162,.2),rgba(237,199,162,.07));
  border:1px solid var(--gold-hair);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);color:var(--c,var(--gold-2))}
.sh-ico svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sh-ico b{font-family:"Noto Sans KR",var(--f-ui);font-size:21px;line-height:1;font-weight:800}
/* свежие разборы: кадр клипа, поверх — тень снизу и название; кадр не пришёл — типографская обложка (.sg-cv из sing.css) */
.sh-clips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sh-clip{--c:#C9B8DC;position:relative;display:block;aspect-ratio:4/3;border-radius:16px;overflow:hidden;isolation:isolate;background:var(--bg-1);border:1px solid var(--line-strong);
  text-decoration:none;color:#fff;box-shadow:var(--lift-lo);transition:transform var(--d-1) var(--ease)}
.sh-clip:active{transform:scale(.97)}
.sh-clip.big{grid-column:1/-1;aspect-ratio:16/9;border-radius:22px;border-color:var(--gold-line)}
/* hqdefault — 4:3 с чёрными полями сверху и снизу (у широкоэкранных клипов поля ещё больше): увеличение ×1,5 со сдвигом вниз срезает верхнее поле,
   нижнее уходит под тень с названием */
.sh-clip img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.5);transform-origin:50% 60%;transition:opacity .4s ease}
.sh-clip.big img{transform:none}
.sh-clip.ok img{opacity:1}
.sh-clip::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,rgba(12,8,19,0) 30%,rgba(12,8,19,.6) 62%,rgba(12,8,19,.95) 100%)}
.sh-clip:not(.ok):not(.fb){background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.08),rgba(255,255,255,.035));background-size:200% 100%;animation:sc-sh 1.2s linear infinite}
.sh-clip-t{position:absolute;left:11px;right:11px;bottom:10px;z-index:2;display:grid;gap:4px;min-width:0}
.sh-clip-t small{display:flex;align-items:center;gap:6px;min-width:0;font-size:10.5px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.86)}
.sh-clip-t small i{flex:none;width:6px;height:6px;border-radius:2px;background:var(--gold-2);transform:rotate(45deg)}
.sh-clip-t small span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-clip-t b{font-size:15px;line-height:1.14;font-weight:800;letter-spacing:-.015em;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* дата выхода (17.11) — стеклянная метка в углу кадра: «Новинки» показывают, когда песня вышла */
/* 18.11 (Сармат: «даты плохо заметны») — золотая плашка, как метки «Сцены» (сплошное золото, тёмная надпись): видна на любом кадре */
.sh-clip-d{position:absolute;z-index:2;left:8px;top:8px;height:24px;padding:0 9px;border-radius:8px;display:inline-flex;align-items:center;background:var(--gold-grad);border:1px solid rgba(255,244,228,.55);
  font-size:12px;line-height:1;font-weight:800;letter-spacing:.01em;color:var(--gold-ink);font-variant-numeric:tabular-nums;white-space:nowrap;box-shadow:0 2px 8px rgba(6,3,12,.45)}
.sh-clip.big .sh-clip-d{left:12px;top:12px;height:28px;padding:0 11px;border-radius:9px;font-size:13.5px}
.sh-clip.big .sh-clip-t{left:14px;right:14px;bottom:13px;gap:5px}
.sh-clip.big .sh-clip-t b{font-size:23px;letter-spacing:-.025em}
.sh-clip.big .sh-clip-t small{font-size:11.5px}
.sh-clip .sg-cv{display:none;position:absolute;inset:0;aspect-ratio:auto;padding:10px}
.sh-clip .sg-cv b{font-size:calc(var(--fs,22px)*.82)}
.sh-clip.big .sg-cv{padding:16px}.sh-clip.big .sg-cv b{font-size:calc(var(--fs,22px)*1.5)}
.sh-clip.fb .sg-cv{display:flex}
.sh-clip.fb img,.sh-clip.fb .sh-clip-t,.sh-clip.fb::after{display:none}
.sh-clips .sc-empty{grid-column:1/-1}
/* строка поиска с кадром клипа */
.sh-th{position:relative;flex:none;width:72px;height:54px;border-radius:12px;overflow:hidden;display:grid;background:var(--bg-2)}
.sh-th img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.5);opacity:0;transition:opacity .3s}
.sh-th.ok img{opacity:1}
.sh-th .sg-mini{display:none;width:100%;height:100%;border-radius:0}
.sh-th.fb .sg-mini{display:grid}.sh-th.fb img{display:none}
.sg-lib.sh-row{grid-template-columns:72px minmax(0,1fr) auto}

/* ---------- ПЕСНИ: «Мои песни» — вложенный экран #songs/my (shell.js моиПесни; 16.11, третья правка Сармата) ----------
   Тот же вид, что у вкладки: стеклянные строки с кадром клипа. Переключатель «Избранное | Недавние» — утопленный жёлоб, выбранная
   половина — объёмная плитка (стекло с золотой гранью, фаска сверху, подошва снизу): фактурно, но не кричит. */
#libMy:not([hidden]){animation:sh-tab var(--d-2) var(--ease) both}
.sh-seg{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-top:16px;padding:5px;border-radius:21px;background:rgba(6,3,12,.44);
  box-shadow:inset 0 2px 4px rgba(0,0,0,.55),inset 0 0 0 1px rgba(255,255,255,.05),0 1px 0 rgba(255,255,255,.08)}
.sh-seg-b{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:0 10px;border-radius:16px;border:1px solid transparent;
  font-size:14.5px;font-weight:750;letter-spacing:-.005em;color:var(--mut);transition:transform .12s var(--ease),color var(--d-1)}
.sh-seg-b svg{flex:none;width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sh-seg-b span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-seg-b i{font-style:normal;font-size:12.5px;font-weight:800;font-variant-numeric:tabular-nums;color:var(--dim)}
.sh-seg-b.on{color:var(--ink);background:var(--glass-fill),var(--edge-gold);box-shadow:inset 0 1px 0 rgba(255,255,255,.16),inset 0 -2px 0 rgba(0,0,0,.3),0 2px 0 rgba(0,0,0,.45),0 8px 14px rgba(6,3,12,.5)}
.sh-seg-b.on svg{stroke:var(--gold-2)}
.sh-seg-b.on i{color:var(--gold-1)}
.sh-seg-b:active{transform:translateY(1px)}
#libMy .sc-lines{margin-top:14px}
#libMy .sc-l{background:var(--glass-fill),var(--edge-glass);border:1px solid transparent;box-shadow:var(--lift-lo)}
#myRes>*{animation:sh-up .34s var(--ease) both}
#myRes>*:nth-child(2){animation-delay:30ms}#myRes>*:nth-child(3){animation-delay:60ms}#myRes>*:nth-child(4){animation-delay:90ms}
#myRes>*:nth-child(5){animation-delay:120ms}#myRes>*:nth-child(n+6){animation-delay:150ms}
.sh-my-none{box-shadow:var(--lift-lo)}
#libMy>.sh-my-none{margin-top:16px}
.sh-my-none p{color:var(--ink);font-weight:600}
.sh-link-w{grid-template-columns:auto minmax(0,1fr) auto;margin-top:16px}
.sh-link-go{display:grid;place-items:center;width:28px}
.sh-link-go svg{width:18px;height:18px;stroke:var(--dim);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ---------- ПЕСНИ: «Каталог» — вложенный экран #songs/all (shell.js каталогПесен; 17.11, план Сармата п. 2) ----------
   Тот же вид, что у «Моих песен»: стеклянные строки с кадром клипа. Папка исполнителя — та же строка: кадр первой песни лежит
   стопкой (две карточки выглядывают сзади), справа стрелка вниз; раскрыта — золотая грань, стрелка вверх, песни выезжают под ней
   с отступом (без цветной полосы слева).
   ТАНЕЦ — МЕТКОЙ В СТРОКЕ (17.11 вечер, правка Сармата: переключатель «Песни / Танцы» снят). У песни с танцем справа вместо стрелки
   стоит маленькая золотая метка «Танец» (.sh-dance) — отдельная ссылка на разбор танца. Сама строка тогда — блок (.sh-has-d), а
   ссылка песни (.sh-row-a) растянута на всю строку своим ::after; метка лежит выше неё, касание 48 px. */
#libAll:not([hidden]){animation:sh-tab var(--d-2) var(--ease) both}
.sh-has-d{position:relative}
.sh-row-a{text-decoration:none;color:inherit}
.sh-row-a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.sh-row-a:focus-visible{outline:none}.sh-row-a:focus-visible::after{outline:2px solid var(--gold-1);outline-offset:2px}
.sh-dance{position:relative;z-index:1;display:inline-flex;align-items:center;gap:5px;height:32px;margin-right:2px;padding:0 11px 0 8px;border-radius:999px;border:1px solid var(--gold-hair);
  background:linear-gradient(180deg,rgba(237,199,162,.17),rgba(237,199,162,.05));box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 2px rgba(6,3,12,.4);
  color:var(--gold-1);font-size:12px;line-height:1;font-weight:750;letter-spacing:.01em;text-decoration:none;white-space:nowrap;transition:transform var(--d-1) var(--ease),background var(--d-1)}
.sh-dance::after{content:"";position:absolute;inset:-8px -7px}
.sh-dance svg{flex:none;width:16px;height:16px;stroke:var(--gold-2);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sh-dance:active{transform:scale(.95);background:rgba(237,199,162,.24)}
.sh-dance:focus-visible{outline:2px solid var(--gold-1);outline-offset:2px}
/* у папки: «11 песен · 3 танца» — танцы той же фигуркой, тихо */
.sh-fold-d{display:inline-flex;align-items:center;gap:3px;margin-left:9px;font-style:normal;color:var(--dim)}
.sh-fold-d svg{width:13px;height:13px;stroke:var(--gold-3);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#libAll .sc-search{margin-top:16px}
#libAll .sc-lines{margin-top:14px}
#libAll .sc-l{background:var(--glass-fill),var(--edge-glass);border:1px solid transparent;box-shadow:var(--lift-lo)}
#libAll .sc-empty{margin:0;border:1px solid transparent;background:var(--glass-fill),var(--edge-glass);color:var(--mut)}
.sh-fold{position:relative;isolation:isolate;width:100%;font:inherit;color:inherit;cursor:pointer}
/* стопка: за кадром — ещё две карточки того же размера, каждая сдвинута вправо-вверх на 4 px и темнее (кадр — 72×54 от левого
   поля 7 px, опущен на 8 px, чтобы стопке было куда выглянуть; справа до текста 12 px — стопка занимает 8) */
#libAll .sh-fold .sh-th{margin-top:8px;box-shadow:0 0 0 1px rgba(12,8,19,.7)}
.sh-fold::before,.sh-fold::after{content:"";position:absolute;z-index:-1;left:11px;top:11px;width:72px;height:54px;border-radius:12px;background:#453B52;box-shadow:inset 0 0 0 1px rgba(246,227,196,.26)}
.sh-fold::after{z-index:-2;left:15px;top:7px;background:#30283B;box-shadow:inset 0 0 0 1px rgba(246,227,196,.16)}
.sh-fold .sc-l-s{font-variant-numeric:tabular-nums}
.sh-fold .sc-l-go{background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px var(--line-strong)}
.sh-fold .sc-l-go svg{transition:transform var(--d-2) var(--ease)}
#libAll .sh-fold[aria-expanded="true"]{background:var(--glass-fill),var(--edge-gold)}
.sh-fold[aria-expanded="true"] .sc-l-go{box-shadow:inset 0 0 0 1px var(--gold-line)}
.sh-fold[aria-expanded="true"] .sc-l-go svg{transform:rotate(180deg);stroke:var(--gold-1)}
.sh-fold-in{display:grid;gap:8px;padding:0 0 6px 18px}
.sh-fold-in[hidden]{display:none}
.sh-fold-in>*{animation:sh-up .32s var(--ease) both}
.sh-fold-in>*:nth-child(2){animation-delay:30ms}.sh-fold-in>*:nth-child(3){animation-delay:60ms}.sh-fold-in>*:nth-child(4){animation-delay:90ms}.sh-fold-in>*:nth-child(n+5){animation-delay:120ms}
#libAll .sh-fold-in .sc-l{box-shadow:none}
.sh-fold-in .sh-th{width:60px;height:45px;border-radius:10px}
.sh-fold-in .sg-lib.sh-row{grid-template-columns:60px minmax(0,1fr) auto}
.sh-fold-in .sg-lib .sc-l-k{font-size:15px}
.sh-fold-in .sg-lib .sc-l-go{width:40px;height:40px;background:none}

/* ---------- ГРИМЁРКА: профиль ---------- */
.sh-me{position:relative;display:grid;gap:16px;margin-top:14px;padding:20px 18px 18px;border-radius:26px;overflow:hidden;border:1px solid transparent;
  background:radial-gradient(120% 110% at 0% 0%,rgba(237,199,162,.13),transparent 58%) padding-box,var(--glass-fill),var(--edge-gold);
  box-shadow:var(--lift)}
.sh-me-top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
.sh-me .sc-av.xl{width:72px;height:72px;font-size:28px;border:0;color:var(--ink);box-shadow:0 0 0 3px #18111F,0 0 0 4.5px var(--gold-2);object-fit:cover}
.sh-me-name{font-size:23px;line-height:1.15;font-weight:800;letter-spacing:-.02em;overflow-wrap:anywhere}
.sh-me-sub{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:6px;font-size:13px;font-weight:600;color:var(--mut)}
.sh-me-wave{position:absolute;right:6px;top:2px;width:86px;height:86px;object-fit:contain;pointer-events:none}
.sh-me.guest .sh-me-top{padding-right:74px}
.sh-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:14px;border-top:1px solid var(--line)}
.sh-stats div{display:grid;justify-items:center;align-content:start;gap:5px;padding:0 6px;min-width:0}
.sh-stats div+div{border-left:1px solid var(--line)}
.sh-stats b{display:inline-flex;align-items:center;gap:5px;font-size:25px;line-height:1;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.sh-stats b svg{width:17px;height:17px;color:var(--gold-2)}
.sh-stats b.top{color:var(--gold-1)}
.sh-stats span{font-size:11.5px;line-height:1.25;font-weight:600;color:var(--dim);text-align:center}
.sh-join{display:grid;gap:12px}
.sh-join p{font-size:14.5px;line-height:1.42;font-weight:600;color:var(--ink);max-width:34ch}
.sh-join .sc-cta{flex:none;width:100%}

/* ---------- ГРИМЁРКА: мой айдол — кружок, серебряная кнопка чата, барабан карточек (как в боевой Гримёрке) ---------- */
.sh-idol{display:grid;gap:14px;padding:16px;border-radius:24px;border:1px solid transparent;background:var(--glass-fill),var(--edge-glass);box-shadow:var(--lift)}
/* 18.11 (правка Сармата): кнопка чата стояла по центру «кружок + имя под ним» и казалась ниже кружка. Теперь она ровно высотой
   с кружок (68px) и стоит вровень с ним сверху и снизу; имя айдола — подписью под кружком, вне общей линии. */
.sh-idol-top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start}
.sh-idol-top .sh-chat{min-height:0;height:68px;padding-top:0;padding-bottom:0}
.sh-face{display:grid;justify-items:center;gap:7px;min-width:68px;max-width:92px}
.sh-face img{width:68px;height:68px;border-radius:50%;object-fit:cover;object-position:50% 18%;box-shadow:0 0 0 2.5px #18111F,0 0 0 4px var(--gold-2),0 10px 22px rgba(6,3,12,.5)}
.sh-face b{max-width:100%;font-size:12.5px;line-height:1.1;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--gold-1);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* серебро: литая пластина с белым переломом посередине; блик пробегает на нажатии */
.sh-chat{position:relative;overflow:hidden;display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:11px;min-height:62px;padding:10px 14px 10px 11px;border-radius:18px;
  background:var(--chrome);color:var(--chrome-ink);border:1px solid rgba(23,32,56,.26);text-decoration:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),inset 0 -1px 0 rgba(23,32,56,.22),0 12px 24px rgba(6,3,12,.5);transition:transform var(--d-1) var(--ease)}
.sh-chat::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(104deg,transparent 34%,rgba(255,255,255,.85) 50%,transparent 66%);transform:translateX(-130%);transition:transform .52s var(--ease)}
.sh-chat:active{transform:translateY(1px) scale(.99)}
.sh-chat:active::after{transform:translateX(130%)}
.sh-chat-ic{position:relative;z-index:1;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(180deg,rgba(23,32,56,.13),rgba(23,32,56,.05));
  border:1px solid rgba(23,32,56,.18);box-shadow:inset 0 1px 2px rgba(23,32,56,.22),0 1px 0 rgba(255,255,255,.55)}
.sh-chat-ic svg{width:21px;height:21px;fill:var(--chrome-ink)}
.sh-chat-t{position:relative;z-index:1;display:grid;gap:2px;min-width:0}
.sh-chat-t b{font-size:16px;line-height:1.15;font-weight:800;letter-spacing:-.015em;color:var(--chrome-ink)}
.sh-chat-t small{font-size:12.5px;line-height:1.2;font-weight:600;color:var(--chrome-mut)}
.sh-idol-p{font-size:13.5px;line-height:1.45;color:var(--mut);text-wrap:pretty}
.sh-idol-p b{font-weight:750;color:var(--gold-1)}
/* у гостя и у вошедшего без айдола — три лица из состава внахлёст */
.sh-idol-top.none{grid-template-columns:auto minmax(0,1fr)}
.sh-faces{display:flex;padding-left:2px}
.sh-faces img{width:54px;height:54px;border-radius:50%;object-fit:cover;object-position:50% 20%;box-shadow:0 0 0 3px #18111F}
.sh-faces img+img{margin-left:-18px}
.sh-idol-top.none p{font-size:14px;line-height:1.42;color:var(--ink);font-weight:600}
/* «Все айдолы» под профилем (18.11): золото, как главные кнопки; без лиц и без кружка загрузки (правка Сармата) — тап только вдавливает */
.sh-roster{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:12px;margin-top:12px;min-height:58px;padding:0 12px 0 22px;
  border-radius:999px;background:var(--gold-grad);color:var(--gold-ink);text-decoration:none;-webkit-tap-highlight-color:transparent;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 22px rgba(6,3,12,.45);transition:transform var(--d-1) var(--ease),filter var(--d-1) var(--ease)}
.sh-roster b{font-size:16px;font-weight:800;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-roster-go{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(24,17,31,.12)}
.sh-roster-go svg{width:18px;height:18px;stroke:var(--gold-ink);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sh-roster:active{transform:scale(.97);filter:brightness(.93)}
/* гость (19.11): карточка с тремя лицами — ссылка на «Все айдолы»; стрелка справа, тап вдавливает */
.sh-idol-go{color:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;transition:transform var(--d-1) var(--ease)}
.sh-idol-go .sh-idol-top.none{grid-template-columns:auto minmax(0,1fr) 34px;align-items:center}
.sh-idol-arr{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--gold-grad);box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.sh-idol-arr svg{width:18px;height:18px;stroke:var(--gold-ink);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.sh-idol-go:active{transform:scale(.98)}
@media (max-width:389px){.sh-idol-go .sh-faces img{width:44px;height:44px}.sh-idol-go .sh-faces img+img{margin-left:-16px}
  .sh-idol-go .sh-idol-top.none{grid-template-columns:auto minmax(0,1fr) 30px;gap:12px}.sh-idol-go .sh-idol-arr{width:30px;height:30px}}
/* кнопка чата — в золоте, как остальные главные кнопки (19.11, п.18 проверки: серебро выбивалось) */
.sh-idol .sh-chat{background:var(--gold-grad);color:var(--gold-ink);border-color:rgba(24,17,31,.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 22px rgba(6,3,12,.45)}
.sh-idol .sh-chat .sh-chat-ic{background:rgba(24,17,31,.12);border-color:rgba(24,17,31,.16);box-shadow:none}
.sh-idol .sh-chat .sh-chat-ic svg{fill:var(--gold-ink)}
.sh-idol .sh-chat .sh-chat-t b{color:var(--gold-ink)}
.sh-idol .sh-chat .sh-chat-t small{color:var(--gold-ink);opacity:.72}
.sh-idol .sc-ghost{height:50px;text-decoration:none;font-size:14.5px;display:flex;align-items:center;justify-content:center}
/* карточки: главная слева, справа барабан остальных */
.sh-cards{display:grid;gap:10px;padding-top:14px;border-top:1px solid var(--line)}
.sh-cards-h{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.sh-cards-h b{font-size:15px;font-weight:800;letter-spacing:-.01em}
.sh-cards-h span{font-size:12.5px;font-weight:650;color:var(--dim);font-variant-numeric:tabular-nums}
.sh-mc{display:flex;gap:12px;align-items:stretch}
.sh-card{position:relative;display:block;overflow:hidden;border-radius:12px;background:#2A2039;border:1.5px solid rgba(255,255,255,.16)}
.sh-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 18%;pointer-events:none;-webkit-user-drag:none}
.sh-card.r-rare{border-color:#C79EE8}
.sh-card.r-legend{border-color:var(--m1)}
.sh-card-no{position:absolute;left:7px;top:7px;z-index:1;padding:2px 6px;border-radius:6px;background:rgba(12,8,19,.62);font-size:10px;font-weight:750;letter-spacing:.04em;color:var(--ink);font-variant-numeric:tabular-nums}
.sh-main{flex:0 0 45%;aspect-ratio:2/3;box-shadow:0 12px 26px rgba(6,3,12,.55);transition:transform var(--d-1) var(--ease)}
.sh-main:active{transform:scale(.98)}
.sh-main.swap>img{animation:sh-swap .42s var(--ease) both}
@keyframes sh-swap{from{opacity:0;transform:scale(1.06)}}
/* touch-action:pan-y — вертикальный жест остаётся прокруткой страницы, горизонтальный отдан барабану; пока крутишь вбок, страницу
   держит shell.js (ось жеста → preventDefault). pan-x сюда нельзя: браузер забрал бы горизонтальный жест, и барабан бы встал. */
.sh-drum{flex:1;min-width:0;position:relative;perspective:420px;perspective-origin:50% 50%;overflow:hidden;overflow-x:clip;overflow-y:visible;
  touch-action:pan-y;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:grab;margin-right:-6px;outline:0}
.sh-drum-st{position:absolute;inset:0;transform-style:preserve-3d;pointer-events:none}
.sh-drum .sh-card{pointer-events:auto;position:absolute;left:50%;top:50%;width:58%;max-width:118px;aspect-ratio:2/3;border-radius:10px;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform;transform:translate(-50%,-50%)}
.sh-drum:focus-visible .sh-card.is-front{outline:2px solid var(--gold-1);outline-offset:2px}
/* одна–две карточки рядом с главной — веером, как фотокарточки на столе */
.sh-drum.is-flat{perspective:none;cursor:default}
.sh-drum.is-flat .sh-card{width:64%;max-width:124px;transform:translate(-50%,-50%) rotate(4deg);box-shadow:0 12px 26px rgba(6,3,12,.45);cursor:pointer;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.sh-drum.is-flat.n2 .sh-card{width:58%}
.sh-drum.is-flat.n2 .sh-card:nth-child(1){transform:translate(-80%,-53%) rotate(-8deg)}
.sh-drum.is-flat.n2 .sh-card:nth-child(2){transform:translate(-22%,-45%) rotate(6deg);z-index:2}
/* карточек ещё нет — стеклянные места под них */
.sh-card.ghost{background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.sh-drum-tip{font-size:12px;line-height:1.35;color:var(--dim)}

/* ---------- ГРИМЁРКА: «Хангыль с нуля» — отдельная карточка-кнопка ---------- */
.sh-hangul{position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:88px;margin-top:14px;padding:14px 14px 14px 14px;border-radius:24px;
  border:1px solid transparent;background:radial-gradient(90% 140% at 100% 50%,rgba(237,199,162,.16),transparent 62%) padding-box,var(--glass-fill),var(--edge-gold);box-shadow:var(--lift);
  text-decoration:none;color:var(--ink);transition:transform var(--d-1) var(--ease)}
.sh-hangul:active{transform:scale(.98)}
.sh-hangul-k{position:relative;width:56px;height:56px;border-radius:17px;display:grid;place-items:center;background:var(--gold-grad);color:var(--gold-ink);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(120,70,40,.25),0 8px 18px rgba(6,3,12,.45);font-family:"Noto Sans KR",var(--f-ui);font-size:27px;line-height:1;font-weight:800}
.sh-hangul-t{position:relative;display:grid;gap:3px;min-width:0}
.sh-hangul-t b{font-size:18px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.sh-hangul-t small{font-size:13px;line-height:1.35;color:var(--mut);text-wrap:balance}
.sh-hangul-go{position:relative;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--gold-line);background:rgba(16,11,24,.4)}
.sh-hangul-go svg{width:18px;height:18px;stroke:var(--gold-1);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* УЧЁБА — ДВЕ РАВНЫЕ КНОПКИ РЯДОМ (17.11.2026, правка Сармата): «Хангыль с нуля» и «Тетрадь». Та же карточка (.sh-hangul: стекло,
   золотая грань, золотая плитка-значок), но в столбик: сверху значок и стрелка, под ними название и одна строка «что внутри».
   Обе одного размера — ни одна не главнее. Разметка — shell.js, блок .sh-duo. */
.sh-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.sh-duo .sh-hangul{grid-template-columns:minmax(0,1fr);align-content:space-between;align-items:start;gap:16px;min-height:150px;margin-top:0;padding:14px;border-radius:22px;
  background:radial-gradient(130% 80% at 100% 0%,rgba(237,199,162,.15),transparent 62%) padding-box,var(--glass-fill),var(--edge-gold)}
.sh-hangul-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px}
.sh-duo .sh-hangul-k{width:48px;height:48px;border-radius:15px;font-size:24px}
.sh-hangul-k svg{width:25px;height:25px;stroke:var(--gold-ink);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sh-duo .sh-hangul-go{width:34px;height:34px}
.sh-duo .sh-hangul-go svg{width:16px;height:16px}
.sh-duo .sh-hangul-t{gap:4px}
.sh-duo .sh-hangul-t b{font-size:17px}
.sh-duo .sh-hangul-t small{font-size:12.5px;line-height:1.38}

/* ---------- ГРИМЁРКА: черновики (shell.js черновики; блок есть, только когда есть window.scDrafts и записи) ---------- */
.sh-h-n{min-width:22px;height:22px;padding:0 7px;border-radius:11px;display:inline-grid;place-items:center;background:rgba(237,199,162,.14);border:1px solid var(--gold-hair);font-size:12px;font-weight:800;letter-spacing:0;color:var(--gold-1);font-variant-numeric:tabular-nums}
.sh-drafts{display:grid;gap:10px}
.sh-d{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:12px;border-radius:20px;border:1px solid transparent;background:var(--glass-fill),var(--edge-glass);box-shadow:var(--lift-lo);
  animation:sh-up var(--d-3) var(--ease) both;animation-delay:calc(var(--i,0)*40ms);transition:opacity var(--d-1)}
.sh-d.wait{opacity:.55}
.sh-d-pv{display:grid}
/* кадр записи — вертикальный 9:16, как сам ролик */
.sh-d.pv{grid-template-columns:54px minmax(0,1fr) auto}
.sh-d-pv>img{width:54px;height:76px;border-radius:12px;object-fit:cover;background:var(--bg-2);box-shadow:0 0 0 1px rgba(255,255,255,.16),0 6px 12px rgba(6,3,12,.45)}
.sh-d .nm em{font-style:normal;font-size:11.5px;font-weight:650;color:var(--gold-2)}
.sh-d-err{grid-column:1/-1;font-size:12.5px;line-height:1.35;color:#FFC2CC}
.sh-d-err[hidden]{display:none}
.sh-d-pv .sg-mini{width:56px;height:56px;border-radius:14px}
.sh-d-pv .sg-mini small{display:none}
.sh-d .nm{display:grid;gap:3px;min-width:0}
.sh-d .nm b{font-size:15.5px;font-weight:750;line-height:1.2;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-d .nm small{font-size:12.5px;font-weight:600;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-d>strong{font-size:21px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums;padding-right:2px}
.sh-d-act{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px}
.sh-d-act button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;height:46px;padding:0 10px;border-radius:14px;font-size:14.5px;font-weight:800;letter-spacing:-.005em;transition:transform .1s var(--ease),box-shadow .1s var(--ease),background var(--d-1)}
.sh-d-act button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-d-act svg{flex:none;width:17px;height:17px}
/* «В рейтинг» — та же золотая плита, что «Спеть» на «Битве», пониже */
.sh-d-pub{background:var(--gold-slab);color:var(--slab-ink);text-shadow:var(--emboss);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(150,92,54,.5),0 3px 0 #7C4E2E,0 4px 0 rgba(0,0,0,.45),0 10px 16px rgba(6,3,12,.45)}
.sh-d-pub:active{transform:translateY(2px);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(150,92,54,.5),0 1px 0 #7C4E2E,0 2px 0 rgba(0,0,0,.45),0 5px 8px rgba(6,3,12,.4)}
.sh-d-del{background:rgba(255,255,255,.05);border:1px solid var(--line-strong);color:var(--mut);box-shadow:inset 0 1px 0 rgba(255,255,255,.07)}
.sh-d-del svg{stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sh-d-del:active{background:rgba(255,255,255,.09)}
.sh-d-del.sure{background:rgba(240,135,155,.14);border-color:rgba(240,135,155,.5);color:#FFC2CC}
.sh-d-del.sure svg{display:none}
#meDrafts:not([hidden])+.sh-h{margin-top:30px}

/* мои записи */
.sh-takes{display:grid;border-radius:20px;overflow:hidden;border:1px solid transparent;background:var(--glass-fill),var(--edge-glass);box-shadow:var(--lift-lo)}
.sh-t{--m:var(--dim);display:grid;grid-template-columns:34px 46px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:66px;padding:10px 14px 10px 10px;text-align:left;transition:background var(--d-1)}
.sh-t+.sh-t{border-top:1px solid var(--line)}
.sh-t:active{background:rgba(255,255,255,.05)}
.sh-t .n{justify-self:center;font-size:13px;font-weight:750;color:var(--dim);font-variant-numeric:tabular-nums;white-space:nowrap}
.sh-t.g1,.sh-t.g2,.sh-t.g3{--m:var(--m2)}.sh-t.g1{--m:var(--m1)}.sh-t.g3{--m:var(--m3)}
.sh-t.g1 .n,.sh-t.g2 .n,.sh-t.g3 .n{min-width:26px;height:26px;padding:0 5px;border-radius:13px;display:grid;place-items:center;background:var(--m);color:var(--m-ink);font-weight:850}
.sh-t .sg-mini{width:46px;height:46px;border-radius:12px}
.sh-t .sg-mini b{font-size:23px}
.sh-t .sg-mini small{display:none}
.sh-t .nm{display:grid;gap:3px;min-width:0}
.sh-t .nm b{font-size:15.5px;font-weight:750;line-height:1.2;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-t .nm small{font-size:12.5px;font-weight:600;color:var(--mut);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-t strong{font-size:21px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.sh-t.g1 strong{color:var(--m1)}
.sh-blank{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 14px;padding:16px;border-radius:20px;border:1px solid transparent;background:var(--glass-fill),var(--edge-glass)}
.sh-blank img{width:72px;height:72px;object-fit:contain}
.sh-blank p{font-size:14px;line-height:1.42;color:var(--mut)}
.sh-blank .sc-cta{grid-column:1/-1;flex:none;width:100%;margin-top:8px;text-decoration:none}
/* настройки — тихая строка внизу */
.sh-set{display:grid;grid-template-columns:auto minmax(0,1fr) 18px;align-items:center;gap:12px;min-height:56px;margin:26px 0 14px;padding:8px 12px 8px 10px;border-radius:16px;border:1px solid var(--line);
  text-decoration:none;color:var(--ink);transition:background var(--d-1)}
.sh-set:active{background:rgba(255,255,255,.05)}
.sh-set>span:first-child{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.06);color:var(--mut)}
.sh-set>span:first-child svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sh-set-t{display:grid;gap:1px;min-width:0}
.sh-set-t b{font-size:14.5px;font-weight:700;letter-spacing:-.005em}
.sh-set-t small{font-size:12px;line-height:1.3;color:var(--dim)}
.sh-set>svg{width:18px;height:18px;stroke:var(--dim);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* подвал Гримёрки: политика, условия, поддержка — мелко, но касание 44 px */
.sh-foot{display:flex;flex-wrap:wrap;justify-content:center;margin:20px 0 2px;font-size:11.5px;line-height:1.3;font-weight:550}
.sh-foot a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;white-space:nowrap;color:var(--dim);text-decoration:underline;text-decoration-color:rgba(165,148,192,.36);text-underline-offset:3px;transition:color var(--d-1)}
.sh-foot a:active{color:var(--ink)}
.sh-set+.sh-foot{margin-top:0}

/* ПРАВКИ ПЕРЕД ВЫПУСКОМ (17.11.2026) */
/* пустая сторона дуэли: вместо «0.0 · поют: 0» — короткое приглашение на камне (высота та же, что у счёта с полосой: кнопки «Спеть» не прыгают) */
.sh-side-0{display:grid;place-items:center;min-height:41px;max-width:15ch;font-size:12.5px;line-height:1.28;font-weight:700;letter-spacing:.01em;color:var(--gold-1);text-wrap:balance;text-shadow:0 1px 0 rgba(0,0,0,.6)}
/* скелет части Гримёрки: форма той же части, что встанет на это место (а не серая плашка во весь экран) */
.sh-sk{display:block;border-radius:8px;background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.11),rgba(255,255,255,.05));background-size:200% 100%;animation:sc-sh 1.2s linear infinite}
.sh-sk-n{width:34px;height:25px;border-radius:7px}
.sh-stats b .sh-sk-n{width:26px}
.sh-sk-l{height:12px;border-radius:6px}
.sh-sk-face{width:68px;height:68px;border-radius:50%}
.sh-sk-chat{height:62px;border-radius:18px}
.sh-sk-mini{width:46px;height:46px;border-radius:12px}
.sh-sk-card{flex:0 0 45%;aspect-ratio:2/3;border-radius:14px}
.sh-sk-drum{flex:1;border-radius:14px;opacity:.6}
/* кусок песни в «Моих записях»: исполнитель сжимается, лучший момент («▸ 0:02–0:21») и «не в зачёт» видны всегда */
.sh-t .nm small.hl{display:flex;align-items:center;gap:7px;overflow:visible}
.sh-t .nm small.hl span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.sh-t .nm small.hl em{flex:none;display:inline-flex;align-items:center;gap:3px;font-style:normal;font-weight:700;font-variant-numeric:tabular-nums;color:var(--gold-1)}
.sh-t .nm small.hl em svg{width:9px;height:9px;fill:currentColor;stroke:none}
.sh-t .nm small.hl em.out{color:var(--dim);font-weight:600}
.sh-t-sk{pointer-events:none}
.sh-t-sk .nm{gap:8px}
/* «Задать ник»: тихая кнопка под именем и поле с «Сохранить» в карточке профиля */
.sh-nick-b{min-height:28px;padding:0 11px;border-radius:14px;border:1px solid var(--gold-line);background:rgba(237,199,162,.08);font-size:12.5px;font-weight:750;color:var(--gold-1)}
.sh-nick-b:active{background:rgba(237,199,162,.16)}
.sh-nick{display:grid;gap:8px}
.sh-nick[hidden]{display:none}
.sh-nick>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.sh-nick input{min-width:0;height:48px;padding:0 14px;border-radius:14px;border:1px solid var(--line-strong);background:rgba(10,6,16,.5);color:var(--ink);font:inherit;font-size:16px;font-weight:650}
.sh-nick input:focus{outline:none;border-color:var(--gold-2)}
.sh-nick .sc-cta{flex:none;height:48px;padding:0 18px;border-radius:14px;font-size:15px}
.sh-nick .sc-cta:disabled{opacity:.6}
.sh-nick p{font-size:12.5px;line-height:1.4;color:var(--mut)}
.sh-nick p.err{color:#FFC2CC}
/* гость нажал «Хангыль с нуля» / «Тетрадь»: зачем нужен вход и кнопка «Войти» — под кнопками, рядом с входом профиля, а не вместо него */
.sh-need{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px 14px;margin-top:10px;padding:16px;border-radius:22px;border:1px solid transparent;background:var(--glass-fill),var(--edge-gold);box-shadow:var(--lift-lo)}
.sh-need[hidden]{display:none}
.sh-need-i{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:var(--gold-grad);color:var(--gold-ink);font-size:22px;font-weight:800}
.sh-need-i svg{width:23px;height:23px;stroke:var(--gold-ink);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sh-need p{font-size:14px;line-height:1.42;color:var(--ink);font-weight:550;text-wrap:pretty}
.sh-need p b{display:block;margin-bottom:2px;font-size:15.5px;font-weight:800;letter-spacing:-.01em;color:var(--gold-1)}
.sh-need .sc-cta{grid-column:1/-1;flex:none;width:100%}
/* черновик отправлен в рейтинг: ряд ждёт ответа сервера тихо, без «занято» */
.sh-d.sent{opacity:.6}
.sh-d-err.ok{color:var(--gold-1)}

@media (max-width:374px){
  .sh-v{gap:10px;padding-left:10px}
  .sh-link{font-size:13px;gap:9px;padding-right:9px}
  .sh-r{gap:9px;padding-right:12px}
  .sh-duel{padding:22px 18px 32px}
  .sh-side-n{font-size:12.5px;letter-spacing:.08em}
  .sh-side-s{font-size:28px}
  .sh-best{gap:14px}
  .sh-chat-t b{font-size:15px}
  .sh-hangul{gap:12px}
  .sh-hangul-t b{font-size:17px}
  .sh-duo{gap:8px}
  .sh-duo .sh-hangul{padding:12px;min-height:146px}
  .sh-duo .sh-hangul-t b{font-size:16px}
  .sh-duo .sh-hangul-t small{font-size:12px}
}
@media (prefers-reduced-motion:reduce){
  .sh-sk,.sc-tab:not([hidden]),.sh-v,.sh-pp,.sh-r,.sh-d,.sh-side-bar i,#libRes>*,#myRes>*,#libMy:not([hidden]),#libAll:not([hidden]),.sh-fold-in>*,.sh-main.swap>img{animation:none}
  .sh-seg-b:active{transform:none}
  .sh-v .sh-mdl,.sh-pp .sh-mdl{animation:none}
  .sh-fold .sc-l-go svg{transition:none}
  .sh-clip:not(.ok):not(.fb){animation:none}
  .sh-bar,.sh-clip img,.sh-th img,.sh-poster>img,.sh-chat::after{transition:none}
  .sh-v:active,.sh-pp:active,.sh-clip:active,.sh-link:active,.sh-duel-go .sc-cta:active,.sh-poster:active,.sh-chat:active,.sh-hangul:active,.sh-main:active,.sh-roster:active{transform:none}
}

/* 18.11 (Сармат): чужие записи в битве и рейтинге не открываются — без «кликабельного» вида */
#tBattle [data-code]:not(.me){cursor:default}

/* ---------- 18.11: заголовок «Новинок» и подсказки поиска (правки Сармата) ---------- */
/* «Новинки» — крупный заголовок с золотой чертой (как .sg-for-h «Сцены») и строкой-обещанием золотом: видно сразу, это главный блок */
.sh-newh{margin:36px 0 14px}
.sh-newh h2{font-size:clamp(24px,7.2vw,28px);line-height:1.08;font-weight:850;letter-spacing:-.03em;color:var(--ink)}
.sh-newh h2::after{content:"";display:block;width:44px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--gold-3),var(--gold-1));margin-top:10px}
.sh-newh p{margin-top:9px;font-size:13.5px;line-height:1.4;font-weight:650;color:var(--gold-2);max-width:40ch}
/* подсказки: список поверх страницы под полем (shell.js подсказки); строки по 52 px — палец попадает, до 6 штук без своей прокрутки */
.sh-q{position:relative;z-index:6}
.sh-sug{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:7;padding:6px;border-radius:20px;border:1px solid transparent;
  background:var(--glass-fill),var(--edge-gold);box-shadow:0 22px 48px rgba(6,3,12,.62),var(--lift-lo);animation:sh-sug var(--d-1) var(--ease) both}
@keyframes sh-sug{from{opacity:0;transform:translateY(-4px)}}
.sh-sug-i{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:54px;padding:6px 10px 6px 6px;border-radius:14px;
  color:var(--ink);text-decoration:none;-webkit-tap-highlight-color:transparent}
.sh-sug-i+.sh-sug-i{margin-top:2px}
.sh-sug-i:active,.sh-sug-i.on{background:rgba(237,199,162,.13)}
.sh-sug-i:focus-visible{outline:2px solid var(--gold-1);outline-offset:-2px}
.sh-sug-i .sh-th{width:52px;height:40px;border-radius:10px}
.sh-sug-i>.sg-mini{width:52px;height:40px;border-radius:10px}
.sh-sug-i>.sg-mini b{font-size:20px}.sh-sug-i>.sg-mini small{display:none}
.sh-sug-t{display:grid;gap:2px;min-width:0}
.sh-sug-t b,.sh-sug-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sh-sug-t b{font-size:15.5px;line-height:1.2;font-weight:750;letter-spacing:-.01em}
.sh-sug-t small{font-size:12.5px;line-height:1.25;font-weight:600;color:var(--mut)}
.sh-sug mark{background:none;color:var(--gold-1);text-decoration:underline;text-decoration-color:var(--gold-3);text-underline-offset:3px;text-decoration-thickness:1.5px}
.sh-sug-d{font-size:11px;font-weight:800;line-height:1;color:var(--gold-1);border:1px solid var(--gold-line);border-radius:999px;padding:5px 8px}
.sh-sug-none{padding:14px 12px;font-size:14px;line-height:1.4;color:var(--mut)}
.sh-sug-wait{display:grid;gap:2px}
.sh-sug-wait span{height:54px;border-radius:14px;background:linear-gradient(90deg,rgba(255,255,255,.035),rgba(255,255,255,.08),rgba(255,255,255,.035));background-size:200% 100%;animation:sc-sh 1.2s linear infinite}
@media (prefers-reduced-motion:reduce){.sh-sug,.sh-sug-wait span{animation:none}}
