:root{
  --bg:#050211; --grad-from:#1E40AF; --grad-to:#A855F7; --grad-mid:#6D28D9;
  --acc:#C4B5FD; --acc-strong:#A855F7; --signal:#22D3EE; --gold:#FCD34D; --rose:#FB7185; --emer:#34D399;
  --ink:#F5F5F7; --ink-mute:rgba(245,245,247,0.66); --ink-faint:rgba(245,245,247,0.38);
  --line:rgba(168,85,247,0.16); --line-strong:rgba(168,85,247,0.34);
  --display:'Unbounded',sans-serif; --body:'Onest',sans-serif; --mono:'JetBrains Mono',monospace;
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;}
*{scrollbar-width:thin;scrollbar-color:rgba(245,245,247,0.22) transparent;}
::-webkit-scrollbar{width:8px;height:8px;}
::-webkit-scrollbar-track{background:transparent;}
::-webkit-scrollbar-thumb{background:rgba(245,245,247,0.22);border-radius:999px;}
::-webkit-scrollbar-thumb:active{background:rgba(245,245,247,0.36);}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:var(--body);}
/* Единственный корневой скроллер — html; на body НИКОГДА не ставим overflow-x:hidden
   или overscroll-behavior-y:contain, иначе на телефонах body становится вложенным
   скроллером с scrollHeight===clientHeight и полностью блокирует свайпы пальцем! */
html{overflow-x:clip;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:none;}
body{overflow:visible;}
html::-webkit-scrollbar{width:0;height:0;display:none;}
.sbar{position:fixed;top:0;right:max(0px,calc(50vw - 230px));width:13px;height:60px;z-index:99990;opacity:0;pointer-events:none;transition:opacity .3s;will-change:transform;touch-action:none;display:flex;justify-content:flex-end;cursor:grab;}
.sbar.vis{opacity:.38;pointer-events:auto;}
.sbar.on{opacity:.95;}
.sbar i{width:4px;margin-right:3px;border-radius:99px;background:linear-gradient(180deg,var(--acc),var(--signal));box-shadow:0 0 10px color-mix(in srgb,var(--acc) 55%,transparent);transition:width .15s;}
.sbar.drag{cursor:grabbing;}
.sbar.drag i{width:7px;}
body{min-height:100vh;min-height:100svh;min-height:100dvh;padding:0 14px 34px;width:390px;margin:0 auto;position:relative;display:flex;flex-direction:column;box-sizing:border-box;}
body.pad{padding:18px 14px calc(10px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;min-height:100vh;min-height:100svh;min-height:100dvh;box-sizing:border-box;}
body.pad.athome{
  min-height:100vh!important;min-height:100svh!important;min-height:100dvh!important;
  padding:6px 14px calc(clamp(6px,1.1dvh,14px) + env(safe-area-inset-bottom,0px))!important;
  display:flex;flex-direction:column;
}
body.athome #app{flex:1 1 auto;min-height:0!important;display:flex;flex-direction:column;}

.atm{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(74vw 74vw at 86% 4%,rgba(168,85,247,0.30),rgba(168,85,247,0.10) 42%,transparent 72%),radial-gradient(68vw 68vw at 12% 94%,rgba(30,64,175,0.28),rgba(30,64,175,0.08) 44%,transparent 74%),radial-gradient(46vw 46vw at 78% 6%,rgba(34,211,238,0.12),transparent 62%);}
.grain{position:fixed;inset:0;z-index:60;pointer-events:none;opacity:0.05;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
.tophalo{display:none;position:fixed;top:0;left:0;right:0;height:230px;z-index:0;pointer-events:none;background:radial-gradient(85% 70% at 26% 4%,rgba(124,58,237,0.32),transparent 62%),radial-gradient(70% 60% at 92% 0%,rgba(34,211,238,0.18),transparent 58%);filter:blur(6px);}
body.athome .tophalo{display:block;}

.hd{position:sticky;top:0;z-index:30;margin:0 -14px 14px;padding:16px 14px 0;background:linear-gradient(180deg,rgba(5,2,17,0.92) 72%,rgba(5,2,17,0.55));backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);border-bottom:1px solid var(--line);}
.hd-row{display:flex;align-items:center;gap:11px;padding-bottom:11px;}
.logo{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);flex-shrink:0;}
.logo .mk{width:38px;height:38px;border-radius:11px;object-fit:cover;display:block;box-shadow:0 6px 16px -4px rgba(168,85,247,0.55),inset 0 1px 0 rgba(255,255,255,0.18);}
.logo .nm{font-family:var(--display);font-weight:800;font-size:13.5px;letter-spacing:-0.01em;line-height:1;}
.logo .nm .home{display:flex;align-items:center;gap:4px;font-family:var(--mono);font-size:9px;letter-spacing:0.14em;color:var(--ink-faint);text-transform:uppercase;font-weight:600;margin-top:4px;}
.logo .nm .home svg{width:12px;height:12px;flex-shrink:0;}

.tabs-wrap{position:relative;display:flex;align-items:center;margin:0 -4px;}
.tabs{display:flex;justify-content:flex-start;align-items:center;gap:16px;flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;padding:16px 10px 0;margin-top:-13px;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;cursor:grab;user-select:none;}
.tabs.is-dragging{cursor:grabbing;}
.tabs::-webkit-scrollbar{display:none;}
.tabs a{flex:0 0 auto;font-family:var(--display);font-weight:700;font-size:clamp(11.5px,3.1vw,13.5px);letter-spacing:-0.015em;color:var(--ink-faint);position:relative;padding:9px 0 13px;line-height:1;white-space:nowrap;text-decoration:none;min-width:0;}
.tabs a.cur{color:var(--ink);}
.tabs a.cur::after{content:'';position:absolute;bottom:-1px;inset-inline-start:0;width:22px;height:2.5px;border-radius:99px;background:linear-gradient(90deg,var(--acc),var(--signal));box-shadow:0 0 12px var(--acc);}
.tabs a sup{font-family:var(--mono);font-size:9px;color:var(--acc);font-weight:700;margin-left:3px;vertical-align:super;}
.tabs-arr{
  position:absolute;top:12px;bottom:2px;z-index:4;
  width:22px;border:0;padding:0;background:transparent!important;box-shadow:none!important;
  color:rgba(235,246,255,0.78);display:inline-flex;align-items:center;
  opacity:0;pointer-events:none;transition:opacity .18s ease,color .15s ease,transform .15s ease;
}
.tabs-arr svg{width:15px;height:15px;display:block;filter:drop-shadow(0 1px 4px rgba(4,10,32,0.55));}
.tabs-arr.is-l{left:-2px;justify-content:flex-start;}
.tabs-arr.is-r{right:-2px;justify-content:flex-end;}
.tabs-arr:hover{color:#FFFFFF;}
.tabs-wrap.can-l .tabs-arr.is-l,.tabs-wrap.can-r .tabs-arr.is-r{opacity:1;pointer-events:auto;}
.tabs-wrap.can-r .tabs{
  padding-right:26px;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 34px),transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 calc(100% - 34px),transparent 100%);
}
.tabs-wrap.can-l .tabs{
  padding-left:26px;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 34px,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 34px,#000 100%);
}
.tabs-wrap.can-l.can-r .tabs{
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 30px,#000 calc(100% - 30px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0%,#000 30px,#000 calc(100% - 30px),transparent 100%);
}
.tabs-arr:active svg{transform:scale(0.86);}
/* На десктопе (веб-MAX) кликабельные <a> без href и <div>-кнопки показывали
   I-beam вместо руки. Принудительно курсор-указатель ВСЕМУ кликабельному. */
a,button,summary,label[for],[role="button"],[data-section],[data-go],[data-nav],[data-gid],[data-cid],[data-ml],[data-set],[data-tag],[data-code],[data-u],[data-href],[data-report],[data-v],[data-act],[data-mid],[data-votebar],[data-sort],[data-cb],[data-gvchannels]{cursor:pointer;}

.dbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:12px;margin:0 -14px 16px;padding:14px;background:linear-gradient(180deg,rgba(5,2,17,0.92) 72%,rgba(5,2,17,0.55));backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);border-bottom:1px solid var(--line);}
.dbar .back{width:40px;height:40px;border-radius:12px;background:rgba(255,255,255,0.05);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:var(--ink);text-decoration:none;flex-shrink:0;}
.dbar .back svg{width:18px;height:18px;stroke:currentColor;fill:none;}
.dbar .dt{flex:1;min-width:0;}
.dbar .dt .k{font-family:var(--mono);font-size:9px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-faint);font-weight:600;}
.dbar .dt h1{font-family:var(--display);font-weight:800;font-size:clamp(13px,3.8vw,17px);letter-spacing:-0.02em;margin:3px 0 0;line-height:1.16;overflow-wrap:normal;word-break:normal;hyphens:none;}
.dbar .hm{width:44px;height:44px;border-radius:13px;object-fit:cover;flex-shrink:0;box-shadow:0 6px 14px -5px rgba(168,85,247,0.55);}

.head{position:relative;z-index:1;padding:0 4px 16px;}
.head .eye{font-family:var(--mono);font-size:10px;letter-spacing:0.22em;text-transform:uppercase;color:var(--acc);font-weight:700;margin-bottom:8px;}
.head h1{font-family:var(--display);font-weight:900;font-size:28px;letter-spacing:-0.03em;line-height:1.08;margin:0;}
.head h1 em{font-style:normal;font-weight:900;background:linear-gradient(100deg,#DCCBFF,#22D3EE);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}

.bx{position:relative;z-index:1;background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));border:1px solid var(--line);border-radius:20px;padding:16px;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);overflow:hidden;box-shadow:0 12px 32px -18px rgba(0,0,0,0.8),inset 0 1px 0 rgba(255,255,255,0.06);}
.bx.glow::after{content:'';position:absolute;top:0;left:16px;right:16px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.26),transparent);}

.glabel{position:relative;z-index:1;font-family:var(--mono);font-size:9.5px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;margin:18px 4px 9px;}
.group{position:relative;z-index:1;background:linear-gradient(155deg,rgba(40,28,78,0.82),rgba(13,8,32,0.88));border:1px solid var(--line);border-radius:18px;overflow:hidden;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 12px 30px -20px rgba(0,0,0,0.8);}
.group.group-theme{background:var(--card);border-color:var(--line);}
.group-theme .row{border-bottom:1px solid var(--line);}
.group-theme .row:last-child{border-bottom:none;}
.row{display:flex;align-items:center;gap:12px;padding:13px 15px;border-bottom:1px solid var(--line);cursor:pointer;text-decoration:none;color:var(--ink);}
.row:last-child{border-bottom:none;}
.row .e{font-size:16px;width:22px;text-align:center;flex-shrink:0;}
.row .lbl{flex:1;min-width:0;}
.row .lbl .t{font-size:13.5px;font-weight:600;}
.row .lbl .s{font-family:var(--mono);font-size:9.5px;color:var(--ink-faint);margin-top:2px;letter-spacing:0.02em;}
.row .val{font-family:var(--mono);font-size:11px;color:var(--ink-mute);font-weight:600;text-align:right;max-width:58%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.row .e svg,.mi .e svg{width:19px;height:19px;stroke:rgba(245,245,247,0.92);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:block;margin:0 auto;}
.row .val.set{color:var(--ink);}
.row .val.off{color:var(--ink-faint);}
.row .go{color:var(--ink-faint);font-size:18px;font-family:var(--mono);flex-shrink:0;margin-left:2px;}

.tg{width:42px;height:25px;border-radius:99px;background:rgba(255,255,255,0.13);position:relative;flex-shrink:0;cursor:pointer;transition:background .2s;}
.tg.on{background:linear-gradient(135deg,var(--grad-from),var(--acc-strong));}
.tg::after{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 2px 5px rgba(0,0,0,0.4);}
.tg.on::after{transform:translateX(17px);}
.row.nb{border-bottom:none;}
.repub-btn{flex-shrink:0;background:rgba(168,85,247,0.16);border:1px solid rgba(168,85,247,0.34);color:#fff;font-family:var(--display);font-weight:700;font-size:12px;padding:8px 12px;border-radius:10px;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.repub-btn:active{transform:scale(0.97);}
.chsub{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:6px;padding:2px 12px 13px;border-bottom:1px solid var(--line);}
.chtog{display:inline-flex;align-items:center;gap:4px;font-family:var(--mono);font-size:9px;font-weight:700;color:var(--ink-mute);cursor:pointer;-webkit-tap-highlight-color:transparent;white-space:nowrap;}
.chsub .tg{width:34px;height:20px;flex-shrink:0;}
/* Заблокированный тумблер (Подписка у запущенного — зафиксировано на запуске). */
.tg.lk{opacity:0.4;cursor:default;}
.chsub .tg::after{width:14px;height:14px;}
.chsub .tg.on::after{transform:translateX(14px);}
.prevrow{display:flex;gap:8px;align-items:stretch;}
.prevpill{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:10px 8px;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,0.04);color:var(--ink-mute);font-family:var(--display);font-weight:700;font-size:11px;cursor:pointer;-webkit-tap-highlight-color:transparent;text-align:center;}
.prevpill svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.9;flex-shrink:0;}
.prevpill span{white-space:normal;line-height:1.15;}
.prevpill:active{transform:scale(0.98);}

.list{display:flex;flex-direction:column;gap:10px;}
.gv{display:flex;align-items:center;gap:13px;background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));border:1px solid var(--line);border-radius:18px;padding:14px 15px;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);position:relative;overflow:hidden;cursor:pointer;text-decoration:none;color:var(--ink);box-shadow:0 12px 30px -20px rgba(0,0,0,0.8),inset 0 1px 0 rgba(255,255,255,0.05);transition:transform .16s,border-color .25s;}
.gv:active{transform:scale(0.99);}
.gv:has(.idcp:active){transform:none;}
.gv:hover{border-color:var(--line-strong);}
/* Карточка топа с фото-фоном: cover + тёмный скрим (inline), без backdrop-blur,
   усиленные тени текста для читаемости поверх фото. */
.gv-photo{background-size:cover !important;background-position:center !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;border-color:var(--line-strong);}
.gv-photo .nm,.gv-photo .snip{text-shadow:0 1px 8px rgba(0,0,0,0.9);}
.gv-photo .mt,.gv-photo .st{text-shadow:0 1px 6px rgba(0,0,0,0.85);}
.gv::after{content:'';position:absolute;top:0;left:15px;right:15px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.22),transparent);}
.gv .body{flex:1;min-width:0;}
.gv .nm{font-family:var(--display);font-weight:800;font-size:14.5px;letter-spacing:-0.015em;line-height:1.2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:none;}
.gv .snip{font-size:12px;line-height:1.4;color:var(--ink-mute);margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:none;}
.gv .meta{font-family:var(--mono);font-size:11px;letter-spacing:0.02em;color:var(--ink-mute);margin-top:6px;display:flex;gap:14px;align-items:center;flex-wrap:wrap;}
/* Строка участника (раздел «Участники»): плотные мета-строки слева и
   мини-показатели числом+подписью справа. */
.gv .meta.m2{margin-top:4px;gap:10px;font-size:10.5px;color:var(--ink-faint);}
.mstats{display:flex;gap:12px;flex-shrink:0;align-items:center;margin-left:4px;}
.mst{text-align:center;min-width:32px;}
.mst .v{font-family:var(--display);font-weight:800;font-size:15px;line-height:1;color:var(--acc);}
.mst .l{font-family:var(--mono);font-size:8px;letter-spacing:0.09em;text-transform:uppercase;color:var(--ink-faint);margin-top:4px;}
.idcp{display:inline-flex;align-items:center;gap:4px;cursor:pointer;padding:2px 0;transition:color .35s;}
.idcp svg{width:12px;height:12px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.idcp.ok{color:var(--acc);}
/* Конверсия в статистике: шкала-воронка + подписи по краям. */
.convbar{height:8px;border-radius:99px;background:rgba(255,255,255,0.07);overflow:hidden;margin-top:10px;}
.convbar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,var(--acc),var(--signal));box-shadow:0 0 12px color-mix(in srgb,var(--acc) 45%,transparent);}
.convlbl{display:flex;justify-content:space-between;gap:10px;font-family:var(--mono);font-size:10px;letter-spacing:0.03em;color:var(--ink-faint);margin-top:7px;}
.convlbl .a{color:var(--acc);font-weight:700;}
/* «Итоги в стартовом посте» — подвал блока каналов: пунктирный акцентный
   разделитель («приписка к посту»), у глифа строка победителей — в акценте. */
.inlrow{border-top:1px dashed color-mix(in srgb,var(--acc) 40%,transparent);}
.inlrow .e svg .w{stroke:var(--acc);}
/* «Пригласить другой канал» — призрачный слот: пунктирное место под ещё один
   канал сразу под списком, той же анатомии, что строки каналов. */
.cjslot{display:flex;align-items:center;gap:12px;margin-top:10px;padding:11px 14px;border:1.5px dashed color-mix(in srgb,var(--acc) 42%,transparent);border-radius:18px;cursor:pointer;text-decoration:none;color:var(--ink);background:color-mix(in srgb,var(--acc) 5%,transparent);transition:border-color .2s,background .2s;}
.cjslot:active{border-color:color-mix(in srgb,var(--acc) 70%,transparent);background:color-mix(in srgb,var(--acc) 9%,transparent);}
.cjslot-av{width:36px;height:36px;border-radius:10px;border:1.5px dashed color-mix(in srgb,var(--acc) 55%,transparent);display:flex;align-items:center;justify-content:center;color:var(--acc);font-size:19px;font-weight:600;flex-shrink:0;}
.cjslot-lbl{min-width:0;flex:1;}
.cjslot-t{font-weight:700;font-size:13.5px;}
.cjslot-s{font-family:var(--mono);font-size:10px;color:var(--ink-faint);margin-top:3px;line-height:1.4;}
.cjslot .go{color:var(--ink-faint);font-size:18px;}
/* Вопрос-ссылка «Нет нужного канала? Как привязать?» вместо ноты-простыни. */
.chq{font-family:var(--mono);font-size:11px;letter-spacing:0.03em;color:var(--ink-faint);text-align:center;cursor:pointer;padding:2px 0 4px;}
.chq b{color:var(--acc);font-weight:700;}
/* Шторка «Как привязать канал»: шаги с выровненной колонкой номеров. */
.hlp-step{display:flex;gap:12px;align-items:flex-start;margin-top:12px;text-align:left;}
.hlp-n{font-family:var(--mono);font-size:11px;font-weight:700;color:var(--acc);border:1px dashed color-mix(in srgb,var(--acc) 45%,transparent);width:22px;height:22px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:1px;}
.hlp-t{font-weight:700;font-size:13.5px;line-height:1.35;}
.hlp-s{font-size:12px;color:var(--ink-mute);line-height:1.5;margin-top:3px;}
.hlp-foot{font-family:var(--mono);font-size:10.5px;color:var(--ink-faint);line-height:1.55;margin-top:14px;border-top:1px dashed var(--line);padding-top:10px;text-align:left;}
.gv .meta b{color:var(--ink);font-weight:700;}
.gv .meta .mt{display:inline-flex;align-items:center;gap:5px;}
.gv .meta .mt svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.gv .meta .mt b{font-size:12px;}
.gv .meta .tp{color:var(--ink-faint);text-transform:uppercase;letter-spacing:0.08em;}
.gv .meta .bound{color:var(--emer);}
.gv .meta .free{color:var(--ink-faint);}
.gv .go{color:var(--ink-faint);font-size:20px;font-family:var(--mono);flex-shrink:0;}
.gv .st{width:38px;height:38px;border-radius:11px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:17px;border:1px solid var(--line-strong);position:relative;}
.gv .st .pulse{position:absolute;top:6px;right:6px;width:7px;height:7px;border-radius:50%;}
.gv.live .st{background:linear-gradient(135deg,rgba(52,211,153,0.26),rgba(34,211,238,0.10));}
.gv.live .st .pulse{background:var(--emer);box-shadow:0 0 9px var(--emer);animation:pul 1.8s infinite;}
.gv.done .st{background:linear-gradient(135deg,rgba(148,163,184,0.14),rgba(2,6,23,0.26));}
.gv.draft .st{background:linear-gradient(135deg,rgba(252,211,77,0.22),rgba(168,85,247,0.08));}
.gv.sched .st{background:linear-gradient(135deg,rgba(59,130,246,0.30),rgba(34,211,238,0.10));}
.gv.cancelled .st{background:linear-gradient(135deg,rgba(148,163,184,0.22),rgba(100,116,139,0.08));}
.gv.cancelled{opacity:0.72;}
/* Вариант B: тематические SVG-иконки статуса (форма+цвет вместо плоских кружков). */
.gv .st svg{width:19px;height:19px;stroke-width:1.9;}
.gv.live .st{color:var(--emer);}
.gv.draft .st{color:#FBBF24;}
.gv.sched .st{color:#60A5FA;}
.gv.done .st{color:#e2e8f0;}
.gv.cancelled .st{color:#94A3B8;}
/* статус-иконка в строке карточки (.row .e.sti.<cls>) — перебиваем серый .row .e svg */
.row .e.sti svg{width:19px;height:19px;}
.row .e.sti.live{color:var(--emer);} .row .e.sti.live svg{stroke:var(--emer);}
.row .e.sti.draft{color:#C4B5FD;} .row .e.sti.draft svg{stroke:#C4B5FD;}
.row .e.sti.sched{color:#60A5FA;} .row .e.sti.sched svg{stroke:#60A5FA;}
.row .e.sti.done{color:#e2e8f0;} .row .e.sti.done svg{stroke:#e2e8f0;}
.row .e.sti.cancelled{color:#94A3B8;} .row .e.sti.cancelled svg{stroke:#94A3B8;}
.note-sched{border-style:solid;border-color:rgba(59,130,246,0.5);}

.av{width:50px;height:50px;border-radius:15px;flex-shrink:0;background-size:cover;background-position:center;background-clip:padding-box;border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:18px;color:#fff;overflow:hidden;box-shadow:0 6px 16px -6px rgba(0,0,0,0.6);}

.chips{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:14px;}
#my_chips{flex-wrap:nowrap;overflow-x:visible;gap:5px;}
#my_chips .chip{flex:1 1 auto;justify-content:center;font-size:9.5px;padding:8px 7px;gap:4px;letter-spacing:0.02em;white-space:nowrap;}
/* SVG-иконки статуса в фильтр-чипах (цвет по статусу). */
#my_chips .chip svg{width:13px;height:13px;flex-shrink:0;}
#my_chips .chip-draft svg{color:#FBBF24;}
#my_chips .chip-live svg{color:var(--emer);}
#my_chips .chip-done svg{color:#e2e8f0;}
#my_chips .chip-cancelled svg{color:#94A3B8;}
.filterbar{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px;}
.chip-filter svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.chip-filter .nm{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
/* Биржа: вкладки типа — в ДВЕ строки (в одну названия не влезали).
   Биржа (5 чипов): 3+2; композер (4 чипа, .mltabs2): 2+2. */
.mltabs{flex-wrap:wrap;}
.mltabs .chip{flex:1 1 30%;min-width:0;justify-content:center;gap:4px;padding-left:5px;padding-right:5px;font-size:12.5px;}
.mltabs2 .chip{flex:1 1 42%;}
.mltabs .chip .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mltabs .chip svg{width:12px;height:12px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
/* Ряд типов в бирже: все 5 кнопок (Все/Розыгрыш/Продаю/Ищу/Взаимопиар) в ОДНУ
   строку без переноса. Компактные чипы (меньше шрифт/отступы/иконка), чтобы
   полные подписи влезали; горизонтальный скролл — страховка для узких экранов. */
/* Вкладки биржи — 2 строки (3+2), горизонтальный скролл убран: названия
   в одну строку не влезали. */
#mp_type{flex-wrap:wrap;gap:6px;}
#mp_type .chip{flex:1 1 30%;font-size:12.5px;padding:7px 8px;gap:4px;}
#mp_type .chip svg{width:12px;height:12px;}
#mp_sort .chip-filter svg{flex-shrink:0;}
/* Бейдж типа + флаги (горящие/ВП) + обложка + прайс/бюджет + метрики. */
.mp-badges{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:11px;position:relative;z-index:1;}
.mp-badges .mp-type{margin-bottom:0;}
.mp-flag{display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:800;padding:4px 9px;border-radius:999px;border:1px solid var(--line);}
.mp-flag svg{width:12px;height:12px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.vp-tog{display:flex;align-items:center;gap:6px;}
.vp-tog svg{width:15px;height:15px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.mp-hot{color:#ff7a3d;border-color:color-mix(in srgb,#ff7a3d 45%,transparent);background:color-mix(in srgb,#ff7a3d 14%,transparent);}
.mp-vp{color:var(--acc);border-color:color-mix(in srgb,var(--acc) 40%,transparent);}
.mp-stat{font-size:12.5px;color:var(--ink-mute);margin-bottom:8px;position:relative;z-index:1;}
/* Лист «Фильтры»: заголовки секций (сортировка/темы/реклама). */
.fs-h{font-family:var(--display);font-weight:800;font-size:12px;color:var(--ink-mute);text-transform:uppercase;letter-spacing:.06em;margin:16px 2px 8px;}
.fs-h:first-child{margin-top:2px;}
.fs-body .tgsheet-list{margin-bottom:2px;}
.tgsheet-h{display:flex;align-items:center;justify-content:space-between;}
.fs-reset{font-family:var(--mono);font-size:12px;font-weight:700;color:var(--acc);cursor:pointer;}
.tgsheet .chip svg{width:13px;height:13px;vertical-align:-2px;margin-right:3px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
/* ВП — чип-тумблер на верхнем уровне (в ряду типов), визуально отделён акцентом. */
.mp-vpchip.cur{color:var(--acc);border-color:color-mix(in srgb,var(--acc) 50%,transparent);background:color-mix(in srgb,var(--acc) 13%,transparent);}
/* Подсказка автоотправки + кликабельная ссылка на канал-ленту. */
.ap-hint{padding:0 12px 13px;font-size:11.5px;line-height:1.5;color:var(--ink-mute);}
.ml-feedlink{color:var(--acc);font-weight:700;white-space:nowrap;cursor:pointer;}
.mp-type{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;letter-spacing:.01em;padding:4px 10px;border-radius:999px;margin-bottom:11px;position:relative;z-index:1;background:rgba(255,255,255,.07);border:1px solid var(--line);color:var(--ink-mute);}
.mp-type svg{width:13px;height:13px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.mp-type-partner{color:var(--emer);border-color:color-mix(in srgb,var(--emer) 40%,transparent);}
.mp-type-sell_ads{color:var(--gold);border-color:color-mix(in srgb,var(--gold) 40%,transparent);}
.mp-type-buy_ads{color:var(--acc);border-color:color-mix(in srgb,var(--acc) 40%,transparent);}
.mp-type-vp{color:#22D3EE;border-color:color-mix(in srgb,#22D3EE 42%,transparent);}
.mp-cover{display:block;width:100%;height:200px;object-fit:contain;border-radius:14px;margin-bottom:12px;position:relative;z-index:1;border:1px solid var(--line);background:rgba(0,0,0,.18);}
.mp-prices{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;position:relative;z-index:1;}
.mp-price{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 12px;border-radius:10px;background:rgba(255,255,255,.05);border:1px solid var(--line);font-size:13px;}
.mp-price .f{font-weight:700;color:var(--ink);}
.mp-price .p{font-weight:800;color:var(--gold);white-space:nowrap;}
.mp-budget-line{font-size:13px;color:var(--ink-mute);margin-bottom:13px;position:relative;z-index:1;}
.mp-budget-line b{color:var(--acc);}
/* Единые пилюли-блоки для метрик: охваты/ER, аудитория, прайс/бюджет — в строку. */
.mp-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px;position:relative;z-index:1;}
.mp-pill{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:5px 9px;border-radius:9px;background:rgba(255,255,255,.05);border:1px solid var(--line);color:var(--ink-mute);}
.mp-pill b{color:var(--ink);font-weight:800;}
.mp-pill-price b{color:var(--gold);white-space:nowrap;}
/* Композер форматов: чекбокс-строка с ценой. */
.fmt-row .ck{flex-shrink:0;width:22px;height:22px;border-radius:50%;border:1.6px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-size:12px;color:transparent;transition:background .18s,border-color .18s,color .18s;}
.fmt-row.on .ck{background:var(--emer);border-color:var(--emer);color:#05210f;}
.fmt-row.on .ck::after{content:'✓';font-weight:900;}
.fmt-row.on{border-color:color-mix(in srgb,var(--acc) 45%,var(--line));}
/* Календарь выбора даты */
.cal{background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));border:1px solid var(--line);border-radius:18px;padding:14px;backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);box-shadow:0 12px 30px -20px rgba(0,0,0,0.8);}
.cal-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.cal-h .mlabel{font-family:var(--display);font-weight:800;font-size:15px;color:var(--ink);text-transform:capitalize;}
.cal-nav{width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:rgba(255,255,255,0.05);color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:18px;line-height:1;-webkit-tap-highlight-color:transparent;}
.cal-nav.dim{opacity:0.25;pointer-events:none;}
.cal-nav:active{background:rgba(255,255,255,0.1);}
.cal-wd{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;margin-bottom:6px;}
.cal-wd span{text-align:center;font-family:var(--mono);font-size:9.5px;color:var(--ink-faint);text-transform:uppercase;letter-spacing:0.03em;}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.cal-d{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:11px;font-family:var(--body);font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer;transition:background .12s;-webkit-tap-highlight-color:transparent;}
.cal-d.empty{visibility:hidden;cursor:default;}
.cal-d.past{color:var(--ink-faint);opacity:0.3;pointer-events:none;cursor:default;}
.cal-d.today{box-shadow:inset 0 0 0 1px var(--line-strong);}
.cal-d.sel{background:linear-gradient(135deg,var(--grad-from),var(--grad-to));color:#fff;font-weight:800;box-shadow:0 6px 16px -6px rgba(168,85,247,0.7);}
.cal-d:not(.sel):not(.past):active{background:rgba(255,255,255,0.09);}
/* Барабан времени (iOS-style) */
.whl{display:flex;justify-content:center;align-items:stretch;gap:4px;position:relative;height:160px;background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));border:1px solid var(--line);border-radius:18px;overflow:hidden;backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);box-shadow:0 12px 30px -20px rgba(0,0,0,0.8);touch-action:pan-y;}
.whl::before{content:'';position:absolute;left:14px;right:14px;top:50%;height:40px;transform:translateY(-50%);border-radius:11px;background:rgba(255,255,255,0.07);border:1px solid var(--line-strong);pointer-events:none;}
.whl::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(13,8,32,0.85),transparent 32%,transparent 68%,rgba(13,8,32,0.85));}
.whl-col{height:160px;overflow-y:scroll;overflow-x:hidden;scroll-snap-type:y mandatory;scrollbar-width:none;text-align:center;width:62px;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior:contain;}
.whl-col::-webkit-scrollbar{display:none;}
.whl-col .pad{height:60px;}
.whl-col .it{height:40px;line-height:40px;scroll-snap-align:center;font-family:var(--mono);font-size:20px;font-weight:700;color:var(--ink-faint);transition:color .15s,transform .15s,opacity .15s;opacity:0.5;}
.whl-col .it.on{color:var(--ink);opacity:1;transform:scale(1.08);}
.whl-sep{align-self:center;font-family:var(--mono);font-size:22px;font-weight:800;color:var(--ink);z-index:1;}
.tgsheet-hint{font-family:var(--mono);font-size:10px;font-weight:600;color:var(--ink-faint);letter-spacing:0.04em;}
.tgsheet-apply{margin-top:16px;width:100%;padding:13px;border-radius:14px;border:none;background-color:#7C3AED;background-image:linear-gradient(135deg,var(--grad-from),var(--grad-to));color:#fff;box-shadow:0 14px 30px -12px rgba(168,85,247,0.7);font-family:var(--display);font-weight:800;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.tgsheet-apply:active{transform:scale(0.99);}
.tgov{position:fixed;inset:0;z-index:200;background:rgba(5,2,17,0.6);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;opacity:0;transition:opacity .2s;}
.tgov.on{opacity:1;}
.tgsheet{width:100%;max-width:460px;max-height:72vh;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:linear-gradient(160deg,rgba(34,22,66,0.98),rgba(13,8,32,0.99));border:1px solid var(--line-strong);border-radius:22px 22px 0 0;padding:18px 16px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -18px 50px -12px rgba(0,0,0,0.8);transform:translateY(20px);transition:transform .22s;}
.tgov.on .tgsheet{transform:none;}
.tgsheet-h{font-family:var(--display);font-weight:800;font-size:15px;margin-bottom:14px;color:var(--ink);}
/* В попапе бокс (степпер/ввод) не должен прилипать к 💡-пояснению/заголовку сверху. */
.tgsheet .bx{margin-top:12px;}
.tgsheet-list{display:flex;flex-wrap:wrap;gap:8px;}
.tgsheet-list .chip{flex:0 0 auto;}
.tgov{overscroll-behavior:contain;}
html.no-scroll,html:has(body.no-scroll){overflow-y:hidden!important;}
body.no-scroll{overflow:visible!important;}
.tgov .dsheet{max-height:90vh;}
.tgov .dsheet .glabel{margin-top:14px;}
.chips::-webkit-scrollbar{display:none;}
.chip{flex:0 0 auto;padding:8px 13px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,0.04);font-family:var(--mono);font-size:10.5px;font-weight:600;letter-spacing:0.04em;color:var(--ink-mute);cursor:pointer;display:flex;align-items:center;gap:6px;}
.chip .d{width:7px;height:7px;border-radius:50%;}
.chip b{color:var(--acc);font-weight:700;}
.chip.cur{background:rgba(168,85,247,0.18);border-color:var(--line-strong);color:#fff;}
.chip.cur b{color:#fff;}
.chip .ch{font-size:8px;opacity:0.7;}

.seg{display:flex;gap:5px;background:rgba(255,255,255,0.04);border:1px solid var(--line);border-radius:14px;padding:4px;margin:2px 0 12px;}
.seg button{flex:1;padding:9px 4px;border:none;background:none;border-radius:10px;font-family:var(--body);font-size:12.5px;font-weight:600;color:var(--ink-mute);cursor:pointer;transition:background .2s,color .2s;}
.seg button.cur{background:linear-gradient(135deg,rgba(168,85,247,0.32),rgba(34,211,238,0.12));color:#fff;}

.tag{font-family:var(--mono);font-size:9px;padding:3px 8px;border-radius:999px;background:rgba(168,85,247,0.14);border:1px solid var(--line);color:var(--acc);letter-spacing:0.04em;}

/* Иконка — инлайном в потоке текста: строки со второй уходят под эмодзи на
   всю ширину (флекс-колонка оставляла пустой жёлоб слева). */
.note{position:relative;z-index:1;margin-top:16px;margin-bottom:14px;padding:13px 15px;border:1px dashed var(--line-strong);border-radius:16px;font-size:11.5px;color:var(--ink-mute);line-height:1.5;display:block;text-align:justify;}
.note>span{margin-right:7px;}
.note>div{display:inline;}
.note b{color:var(--ink);font-weight:700;}
.note>span svg{width:20px;height:20px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}

.actions{position:relative;z-index:1;display:flex;gap:10px;margin-top:18px;}
.btn{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;border-radius:16px;font-family:var(--display);font-weight:800;font-size:15px;cursor:pointer;text-decoration:none;border:1px solid var(--line-strong);color:var(--ink);}
.btn.ghost{flex:0 0 auto;background:rgba(255,255,255,0.05);color:var(--ink-mute);}
.btn.ghost svg{width:17px;height:17px;stroke:currentColor;fill:none;}
.btn.go,.btn.pri{background-color:#7C3AED;background-image:linear-gradient(135deg,var(--grad-from),var(--grad-to));border:none;color:#fff;box-shadow:0 14px 30px -12px rgba(168,85,247,0.7);}
.btn.danger{background:rgba(251,113,133,0.14);border-color:rgba(251,113,133,0.4);color:var(--rose);}
.btn.wide{width:100%;}
/* ===== Драйвовые кнопки действий (карточка завершённого + др. разделы) =====
   У каждой — своя гамма и фирменный мотив-сигнатура на краю, под лейблом. */
.btn-xlsx,.btn-verify,.btn-dobor,.btn-tpl,.btn-edit,.btn-finish,.btn-cancel,.btn-launch,.btn-loadtpl,.btn-del{
  position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
  width:100%;box-sizing:border-box;min-height:58px;padding:12px 16px;border:none;border-radius:16px;cursor:pointer;color:#fff;
  font-family:var(--display);-webkit-tap-highlight-color:transparent;transition:transform .12s,filter .2s;
  box-shadow:0 14px 30px -14px rgba(0,0,0,0.7),inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn-xlsx:active,.btn-verify:active,.btn-dobor:active,.btn-tpl:active,.btn-edit:active,.btn-finish:active,.btn-cancel:active,.btn-launch:active,.btn-loadtpl:active,.btn-del:active{transform:scale(0.98);}
.btn-xlsx:hover,.btn-verify:hover,.btn-dobor:hover,.btn-tpl:hover,.btn-edit:hover,.btn-finish:hover,.btn-cancel:hover,.btn-launch:hover,.btn-loadtpl:hover,.btn-del:hover{filter:brightness(1.06);}
/* launch/del/loadtpl — текст прямой (без .xq-t), т.к. меняется динамически (подтверждение). */
.btn-launch,.btn-loadtpl,.btn-del{z-index:2;font-weight:800;font-size:14px;line-height:1.12;letter-spacing:-0.01em;text-align:center;}
.btn-launch>*,.btn-loadtpl>*,.btn-del>*{position:relative;z-index:2;}
.btn-xlsx .xq-t,.btn-verify .xq-t,.btn-dobor .xq-t,.btn-tpl .xq-t,.btn-edit .xq-t,.btn-finish .xq-t,.btn-cancel .xq-t{position:relative;z-index:2;font-weight:800;font-size:14px;line-height:1.12;letter-spacing:-0.01em;text-align:center;}
.btn-xlsx .xq-s,.btn-verify .xq-s,.btn-dobor .xq-s,.btn-tpl .xq-s{position:relative;z-index:2;font-family:var(--mono);font-weight:700;font-size:9px;letter-spacing:0.14em;text-transform:uppercase;opacity:0.82;}

/* — Excel: фирменная зелёная гамма + кластер «ячеек»-кубиков слева + белый блик. */
.btn-xlsx{background:linear-gradient(135deg,#0D5A2E 0%,#16864A 52%,#22A366 100%);box-shadow:0 14px 30px -14px rgba(33,163,102,0.8),inset 0 1px 0 rgba(255,255,255,0.26);padding-left:54px;}
/* Настоящий логотип Excel (вырезан из ассета, прозрачный фон) — 1:1. */
.btn-xlsx::before{content:'';position:absolute;left:11px;top:50%;width:30px;height:30px;transform:translateY(-50%);z-index:1;pointer-events:none;filter:drop-shadow(0 1px 2px rgba(0,0,0,0.3));background:no-repeat center/contain url("/static/app/excel.png?v=1");}
.btn-xlsx::after{content:'';position:absolute;top:-10%;left:-65%;width:45%;height:120%;background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,0.5) 50%,transparent 100%);transform:skewX(-18deg);animation:xqShine 3.6s ease-in-out infinite;pointer-events:none;z-index:1;}
@keyframes xqShine{0%{left:-65%;}60%{left:135%;}100%{left:135%;}}

/* — Проверить честность: тёмный циан/тил + пульсирующий контур щита слева. */
.btn-verify{background:linear-gradient(135deg,#0B3A3B 0%,#0E5E5A 52%,#138C78 100%);box-shadow:0 14px 30px -14px rgba(19,140,120,0.78),inset 0 1px 0 rgba(255,255,255,0.2);padding-left:52px;}
.btn-verify::before{content:'';position:absolute;left:9px;top:50%;width:34px;height:90%;transform:translateY(-50%);z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1.5L22 5.5V13.5C22 20.5 17.5 25 12 26.8 6.5 25 2 20.5 2 13.5V5.5Z' fill='none' stroke='%235EEAD4' stroke-width='1.4'/%3E%3Cpath d='M8.2 14l2.6 2.6L16 11' fill='none' stroke='%235EEAD4' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");animation:shieldPulse 2.4s ease-in-out infinite;}
@keyframes shieldPulse{0%,100%{opacity:0.4;filter:drop-shadow(0 0 0 rgba(94,234,212,0));}50%{opacity:0.95;filter:drop-shadow(0 0 6px rgba(94,234,212,0.7));}}

/* — «Права» (права бота в канале): компакт-чип со щитом ЗА текстом (эстетика
   btn-verify). ok = зелёный (всё есть под текущие тумблеры), bad = красный с
   пульсирующим щитом (не хватает), unk = нейтральный (кэш прав ещё пуст). */
.btn-perms{position:relative;overflow:hidden;flex-shrink:0;align-self:center;border:0;border-radius:9px;padding:8px 36px 8px 12px;font-size:11px;font-weight:800;color:#fff;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.btn-perms:active{transform:scale(0.96);}
.btn-perms:hover{filter:brightness(1.06);}
.btn-perms>span{position:relative;z-index:1;text-shadow:0 1px 3px rgba(0,0,0,0.4);white-space:nowrap;}
.btn-perms::before{content:'';position:absolute;right:7px;top:50%;width:22px;height:22px;transform:translateY(-50%);z-index:0;pointer-events:none;background:no-repeat center/contain;opacity:0.8;}
.btn-perms.ok{background:linear-gradient(135deg,#0D5A2E 0%,#16864A 52%,#22A366 100%);box-shadow:0 10px 22px -12px rgba(34,163,102,0.8),inset 0 1px 0 rgba(255,255,255,0.24);}
.btn-perms.ok::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1.5L22 5.5V13.5C22 20.5 17.5 25 12 26.8 6.5 25 2 20.5 2 13.5V5.5Z' fill='none' stroke='%23A7F3D0' stroke-width='1.6'/%3E%3Cpath d='M8.2 14l2.6 2.6L16 11' fill='none' stroke='%23A7F3D0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.btn-perms.bad{background:linear-gradient(135deg,#6B1220 0%,#B91C3C 52%,#F43F5E 100%);box-shadow:0 10px 22px -12px rgba(244,63,94,0.8),inset 0 1px 0 rgba(255,255,255,0.22);}
.btn-perms.bad::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1.5L22 5.5V13.5C22 20.5 17.5 25 12 26.8 6.5 25 2 20.5 2 13.5V5.5Z' fill='none' stroke='%23FECDD3' stroke-width='1.6'/%3E%3Cpath d='M12 8v6' stroke='%23FECDD3' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.6' r='1.1' fill='%23FECDD3'/%3E%3C/svg%3E");animation:permShieldPulse 2s ease-in-out infinite;}
@keyframes permShieldPulse{0%,100%{opacity:0.4;filter:drop-shadow(0 0 0 rgba(244,63,94,0));}50%{opacity:0.95;filter:drop-shadow(0 0 6px rgba(255,205,211,0.8));}}
/* warn — не хватает только закрепа: запуск не блокирует, поэтому янтарный и без пульса. */
.btn-perms.warn{background:linear-gradient(135deg,#5A3A0D 0%,#A16207 52%,#F59E0B 100%);box-shadow:0 10px 22px -12px rgba(245,158,11,0.8),inset 0 1px 0 rgba(255,255,255,0.24);}
.btn-perms.warn::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1.5L22 5.5V13.5C22 20.5 17.5 25 12 26.8 6.5 25 2 20.5 2 13.5V5.5Z' fill='none' stroke='%23FDE68A' stroke-width='1.6'/%3E%3Cpath d='M12 8v6' stroke='%23FDE68A' stroke-width='1.8' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.6' r='1.1' fill='%23FDE68A'/%3E%3C/svg%3E");}
.btn-perms.unk{background:linear-gradient(135deg,#26243B 0%,#3A3757 100%);border:1px solid var(--line);box-shadow:inset 0 1px 0 rgba(255,255,255,0.1);color:var(--ink-mute);}
.btn-perms.unk::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath d='M12 1.5L22 5.5V13.5C22 20.5 17.5 25 12 26.8 6.5 25 2 20.5 2 13.5V5.5Z' fill='none' stroke='%23A5A3C2' stroke-width='1.6'/%3E%3C/svg%3E");opacity:0.35;}
@media (prefers-reduced-motion:reduce){.btn-perms.bad::before{animation:none;}}

/* — Выдача призов: индиго/фиолет + пузырь чата ИНЛАЙН перед текстом (грид:
   иконка на 2 строки + колонка заголовок/подзаголовок; центрируется вместе
   с текстом при любой длине локали). Широкая, над гридом действий
   завершённого — главный вход в чат с победителями. */
.btn-prizes{position:relative;overflow:hidden;display:grid;grid-template-columns:auto auto;justify-content:center;align-content:center;align-items:center;column-gap:10px;row-gap:2px;
  width:100%;box-sizing:border-box;min-height:58px;padding:12px 16px;border:none;border-radius:16px;cursor:pointer;color:#fff;
  font-family:var(--display);-webkit-tap-highlight-color:transparent;transition:transform .12s,filter .2s;margin-top:14px;
  background:linear-gradient(135deg,#2E1D5B 0%,#4C35A8 52%,#7C5CFF 100%);
  box-shadow:0 14px 30px -14px rgba(124,92,255,0.78),inset 0 1px 0 rgba(255,255,255,0.24);}
.btn-prizes:active{transform:scale(0.98);}
.btn-prizes:hover{filter:brightness(1.06);}
.btn-prizes .xq-t{grid-column:2;justify-self:start;position:relative;z-index:2;font-weight:800;font-size:14px;line-height:1.12;letter-spacing:-0.01em;text-align:left;}
.btn-prizes .xq-s{grid-column:2;justify-self:start;position:relative;z-index:2;font-family:var(--mono);font-weight:700;font-size:9px;letter-spacing:0.14em;text-transform:uppercase;opacity:0.82;text-align:left;}
.btn-prizes::before{content:'';grid-column:1;grid-row:1/3;width:28px;height:28px;z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 3C7.9 3 3 7.3 3 12.6c0 3 1.6 5.7 4.1 7.4L6 24l5-2.2c1 .2 2 .3 3 .3 6.1 0 11-4.3 11-9.6S20.1 3 14 3z' fill='none' stroke='%23C7B8FF' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cg fill='%23C7B8FF'%3E%3Ccircle cx='9.5' cy='12.6' r='1.3'/%3E%3Ccircle cx='14' cy='12.6' r='1.3'/%3E%3Ccircle cx='18.5' cy='12.6' r='1.3'/%3E%3C/g%3E%3C/svg%3E");}

/* — Добрать: золото/янтарь (удача) + «пятёрка» на кубике справа. Тёмный текст. */
.btn-dobor{background:linear-gradient(135deg,#7A3F00 0%,#C26C08 50%,#EBA42E 100%);box-shadow:0 14px 30px -14px rgba(246,186,62,0.72),inset 0 1px 0 rgba(255,255,255,0.32);color:#fff;padding-right:50px;}
.btn-dobor .xq-t{font-size:12px;text-shadow:0 1px 5px rgba(42,23,0,0.6);}
.btn-dobor::before{content:'';position:absolute;right:15px;top:50%;width:26px;height:26px;transform:translateY(-50%) rotate(8deg);z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='2.5' y='2.5' width='21' height='21' rx='5.5' fill='%23FFF1D6' stroke='%232A1700' stroke-opacity='0.5' stroke-width='1'/%3E%3Cg fill='%232A1700'%3E%3Ccircle cx='8' cy='8' r='2'/%3E%3Ccircle cx='18' cy='8' r='2'/%3E%3Ccircle cx='13' cy='13' r='2'/%3E%3Ccircle cx='8' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/g%3E%3C/svg%3E");filter:drop-shadow(0 2px 3px rgba(42,23,0,0.35));}
.btn-dobor::after{content:'';position:absolute;inset:0;background:radial-gradient(circle at 82% 50%,rgba(255,255,255,0.32),transparent 38%);pointer-events:none;z-index:0;}

/* — Шаблоны: индиго + стопка карточек-слоёв справа. */
.btn-tpl{background:linear-gradient(135deg,#2A2870 0%,#4338CA 52%,#6366F1 100%);box-shadow:0 14px 30px -14px rgba(99,102,241,0.72),inset 0 1px 0 rgba(255,255,255,0.22);padding-right:48px;}
.btn-tpl::before{content:'';position:absolute;right:16px;top:50%;width:17px;height:13px;border-radius:3px;border:1.5px solid rgba(255,255,255,0.9);transform:translateY(-50%);z-index:1;box-shadow:-4px -5px 0 rgba(255,255,255,0.3), -8px -10px 0 rgba(255,255,255,0.15);pointer-events:none;}

/* — Редактировать: сине-стальная гамма + карандаш ПЕРЕД текстом (инлайн, по центру). */
.btn-edit{background:linear-gradient(135deg,#15315C 0%,#2563EB 52%,#3B82F6 100%);box-shadow:0 14px 30px -14px rgba(59,130,246,0.75),inset 0 1px 0 rgba(255,255,255,0.24);flex-direction:row;gap:9px;}
.btn-edit::before{content:'';flex:0 0 auto;width:20px;height:20px;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25z' fill='%23DCE7FF'/%3E%3Cpath d='M20.71 7.04a1 1 0 0 0 0-1.41l-2.34-2.34a1 1 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z' fill='%23DCE7FF'/%3E%3C/svg%3E");filter:drop-shadow(0 1px 2px rgba(0,0,0,0.3));}

/* — Завершить: фиолетово-пурпурная (кульминация/раскрытие) + клетчатый финиш-флаг справа. */
.btn-finish{background:linear-gradient(135deg,#3B1466 0%,#7C2DAE 52%,#A855C7 100%);box-shadow:0 14px 30px -14px rgba(168,85,199,0.7),inset 0 1px 0 rgba(255,255,255,0.22);padding-right:46px;}
.btn-finish::before{content:'';position:absolute;right:13px;top:50%;width:24px;height:24px;transform:translateY(-50%);z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Crect x='4' y='2.5' width='1.6' height='21' rx='0.8' fill='%23F3E8FF'/%3E%3Cg fill='%23F3E8FF'%3E%3Crect x='6.5' y='4' width='3.6' height='2.4'/%3E%3Crect x='13.7' y='4' width='3.6' height='2.4'/%3E%3Crect x='10.1' y='6.4' width='3.6' height='2.4'/%3E%3Crect x='17.3' y='6.4' width='3.6' height='2.4'/%3E%3Crect x='6.5' y='8.8' width='3.6' height='2.4'/%3E%3Crect x='13.7' y='8.8' width='3.6' height='2.4'/%3E%3C/g%3E%3C/svg%3E");filter:drop-shadow(0 1px 2px rgba(0,0,0,0.32));}

/* — Отменить: красно-кровавая danger + крест в круге справа (опасное читается опасным). */
.btn-cancel{background:linear-gradient(135deg,#5E1015 0%,#B91C1C 52%,#EF4444 100%);box-shadow:0 14px 30px -14px rgba(239,68,68,0.7),inset 0 1px 0 rgba(255,255,255,0.2);padding-right:46px;}
.btn-cancel::before{content:'';position:absolute;right:13px;top:50%;width:23px;height:23px;transform:translateY(-50%);z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9.4' fill='none' stroke='%23FFDADA' stroke-width='1.6'/%3E%3Cpath d='M8.6 8.6 L15.4 15.4 M15.4 8.6 L8.6 15.4' stroke='%23FFDADA' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E");filter:drop-shadow(0 1px 2px rgba(0,0,0,0.32));}

/* — Запустить/Запланировать (черновик): изумрудная гамма + ракета ПЕРЕД текстом
   (инлайн, по центру). Главное действие создания розыгрыша. */
.btn-launch{background:linear-gradient(135deg,#065F46 0%,#059669 52%,#10B981 100%);box-shadow:0 14px 30px -14px rgba(16,185,129,0.75),inset 0 1px 0 rgba(255,255,255,0.26);flex-direction:row;gap:9px;}
.btn-launch::before{content:'';flex:0 0 auto;width:22px;height:22px;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D1FAE5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");filter:drop-shadow(0 1px 2px rgba(0,0,0,0.35));}

/* — Шаблоны (открыть список): небесно-голубая гамма + сетка 2×2 справа. */
.btn-loadtpl{background:linear-gradient(135deg,#0C4A6E 0%,#0284C7 52%,#38BDF8 100%);box-shadow:0 14px 30px -14px rgba(56,189,248,0.7),inset 0 1px 0 rgba(255,255,255,0.24);padding-right:44px;}
.btn-loadtpl::before{content:'';position:absolute;right:13px;top:50%;width:22px;height:22px;transform:translateY(-50%);z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0F2FE' stroke-width='1.7'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E");filter:drop-shadow(0 1px 2px rgba(0,0,0,0.3));}

/* — Удалить черновик: красная danger + мусорка справа. */
.btn-del{background:linear-gradient(135deg,#5E1015 0%,#B91C1C 52%,#EF4444 100%);box-shadow:0 14px 30px -14px rgba(239,68,68,0.7),inset 0 1px 0 rgba(255,255,255,0.2);padding-right:44px;}
.btn-del::before{content:'';position:absolute;right:13px;top:50%;width:22px;height:22px;transform:translateY(-50%);z-index:1;pointer-events:none;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFDADA' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");filter:drop-shadow(0 1px 2px rgba(0,0,0,0.32));}

@media (prefers-reduced-motion:reduce){.btn-xlsx::after,.btn-verify::before{animation:none;}}
/* Сетка действий 2×2 (карточка завершённого + запущенного розыгрыша). */
.act-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;}
.act-grid > button{margin:0;min-height:62px;}
/* Нечётное число кнопок — последняя на всю ширину (а не висит одна слева). */
.act-grid > button:last-child:nth-child(odd){grid-column:1 / -1;}

.menu{position:relative;z-index:1;display:flex;flex-direction:column;gap:9px;}
.mi{display:flex;align-items:center;gap:13px;background:linear-gradient(155deg,rgba(40,28,78,0.82),rgba(13,8,32,0.88));border:1px solid var(--line);border-radius:15px;padding:14px 15px;cursor:pointer;text-decoration:none;color:var(--ink);transition:border-color .2s,transform .16s;}
.mi:active{transform:scale(0.99);}
.mi:hover{border-color:var(--line-strong);}
.mi .e{font-size:17px;width:24px;text-align:center;flex-shrink:0;}
.mi .t{flex:1;font-size:13.5px;font-weight:600;}
.mi .t small{display:block;font-family:var(--mono);font-size:9.5px;color:var(--ink-faint);font-weight:500;margin-top:2px;letter-spacing:0.02em;}
.mi .go{color:var(--ink-faint);font-size:18px;font-family:var(--mono);flex-shrink:0;}
.mi.danger .e,.mi.danger .t{color:var(--rose);}

.statgrid{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:10px;}
.stat{background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));border:1px solid var(--line);border-radius:18px;padding:16px;position:relative;overflow:hidden;box-shadow:0 12px 30px -20px rgba(0,0,0,0.8);}
.stat .e{font-family:var(--mono);font-size:9px;letter-spacing:0.16em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;}
.stat .v{font-family:var(--mono);font-weight:700;font-size:27px;letter-spacing:-0.02em;color:#fff;line-height:1;margin-top:8px;}
.stat .l{font-size:11px;color:var(--ink-mute);margin-top:5px;}
.stat.span2{grid-column:span 2;}

.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);z-index:200;max-width:300px;padding:13px 18px;border-radius:14px;background:linear-gradient(160deg,rgba(40,28,78,0.98),rgba(13,8,32,0.99));border:1px solid var(--line-strong);box-shadow:0 18px 44px -12px rgba(0,0,0,0.9);color:var(--ink);font-family:var(--body);font-size:13px;font-weight:600;text-align:center;opacity:0;pointer-events:none;transition:opacity .24s,transform .24s cubic-bezier(.2,.8,.2,1);backdrop-filter:blur(20px);}
.toast.show{opacity:1;transform:translate(-50%,0);}
.toast.out{opacity:0!important;transform:translate(-50%,-10px) scale(0.92)!important;transition:opacity .14s ease,transform .14s ease!important;pointer-events:none;}
.toast.ok{border-color:rgba(52,211,153,0.5);}
.toast.bad{border-color:rgba(251,113,133,0.5);}
.pop{animation:popk .26s cubic-bezier(.2,.8,.2,1);}
@keyframes popk{0%{transform:scale(1);}45%{transform:scale(1.22);}100%{transform:scale(1);}}
.bump{animation:bumpk .3s ease;}
@keyframes bumpk{0%{transform:scale(1);}40%{transform:scale(1.12);}100%{transform:scale(1);}}
.btn,.mi{position:relative;overflow:hidden;}
.rp{position:absolute;border-radius:50%;background:rgba(255,255,255,0.25);transform:scale(0);animation:rpk .5s ease-out;pointer-events:none;}
@keyframes rpk{to{transform:scale(2.4);opacity:0;}}
.opt{position:relative;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.opt .ck{margin-inline-start:auto;flex-shrink:0;width:22px;height:22px;border-radius:50%;border:1.6px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-size:12px;color:transparent;transition:background .18s,border-color .18s,color .18s;}
.opt.on .ck{background:var(--emer);border-color:var(--emer);color:#05210f;}
.opt.on .ck::after{content:'✓';font-weight:900;}
.opt.on{border-color:var(--line-strong);}
/* Привязка каналов розыгрыша (.chrow): кликабельна ТОЛЬКО галочка, а не вся
   строка — иначе случайный тап отвязывал канал и сбрасывал ползунки. Зону
   попадания галочки расширяем невидимым ::before, сам кружок остаётся 22px. */
.opt.chrow{cursor:default;}
.opt.chrow .ck{cursor:pointer;position:relative;}
.opt.chrow .ck::before{content:'';position:absolute;top:-15px;bottom:-15px;right:-16px;left:-16px;}
.field,.area{display:block;width:100%;-webkit-appearance:none;appearance:none;outline:none;font-family:var(--body);color:var(--ink);background:rgba(0,0,0,0.32);border:1px solid var(--line-strong);border-radius:14px;padding:14px;font-size:15px;transition:border-color .2s;}
.field:focus,.area:focus{border-color:var(--acc);}
.area{min-height:150px;line-height:1.5;resize:vertical;}
.field::placeholder,.area::placeholder{color:var(--ink-faint);}
.field[type=number]::-webkit-outer-spin-button,.field[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.field[type=number]{-moz-appearance:textfield;appearance:textfield;}
.counter.over{color:var(--rose);}
/* Единый современный WYSIWYG-редактор (ПК + мобильный) */
.rte-shell{
  border-radius:16px;overflow:hidden;
  background:linear-gradient(170deg,rgba(15,23,54,0.58),rgba(8,12,32,0.72));
  border:1px solid rgba(186,230,253,0.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.14),0 14px 32px -18px rgba(2,6,24,0.68);
  transition:border-color .18s ease,box-shadow .18s ease;
}
.rte-shell:focus-within{
  border-color:rgba(56,189,248,0.62);
  box-shadow:0 0 0 2px rgba(56,189,248,0.16),inset 0 1px 0 rgba(255,255,255,0.18);
}
.rte-top{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 10px;border-bottom:1px solid rgba(255,255,255,0.10);
  background:rgba(255,255,255,0.04);
}
.rte-mode{
  display:inline-flex;gap:3px;padding:3px;border-radius:10px;
  background:rgba(4,8,24,0.44);border:0.75px solid rgba(255,255,255,0.10);
}
.rte-mtab{
  border:0;border-radius:7px;padding:4px 10px;cursor:pointer;background:transparent;
  color:rgba(224,242,254,0.70);font-family:var(--display);font-size:11px;font-weight:700;
  transition:background .14s ease,color .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.rte-mtab.cur{
  background:linear-gradient(135deg,rgba(56,189,248,0.44),rgba(99,102,241,0.48));
  color:#FFFFFF;box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.48);
}
.rte-cnt{margin:0!important;font-size:11px!important;opacity:0.78;}
.rtbar{
  margin:0;padding:7px 8px;border-bottom:1px solid rgba(255,255,255,0.09);
  background:rgba(255,255,255,0.025);
  overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.rtbar::-webkit-scrollbar{display:none;}
.rtrow{display:flex;align-items:center;gap:6px;min-width:max-content;}
.rtgrp{display:inline-flex;align-items:center;gap:4px;}
.rtsep{width:1px;height:20px;background:rgba(255,255,255,0.14);flex-shrink:0;margin:0 2px;}
.rtb{
  flex:0 0 auto;width:36px;height:36px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.06);border:0.8px solid rgba(255,255,255,0.12);
  border-radius:10px;color:rgba(232,244,255,0.88);
  font-family:var(--body);font-size:14.5px;font-weight:700;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:background .14s ease,color .14s ease,border-color .14s ease,transform .1s ease;
}
@media (hover:hover){.rtb:hover{background:rgba(56,189,248,0.22);color:#fff;border-color:rgba(125,211,252,0.48);}}
.rtb:active{transform:scale(0.93);}
.rtb:focus{outline:none;}
.rtb.on{
  background:linear-gradient(135deg,rgba(56,189,248,0.42),rgba(99,102,241,0.46));
  color:#fff;border-color:rgba(186,230,253,0.68);
  box-shadow:0 4px 12px -4px rgba(56,189,248,0.55);
}
.rtb.mono{font-family:var(--mono);font-size:11.5px;width:40px;}
.rtb-clear{color:rgba(253,164,175,0.90);}
@media (hover:hover){.rtb-clear:hover{background:rgba(251,113,133,0.20);color:#FFE4E6;border-color:rgba(251,113,133,0.48);}}
.rte-lbar{
  display:none;flex-direction:column;gap:7px;padding:9px 10px;
  background:rgba(6,12,34,0.66);border-bottom:1px solid rgba(56,189,248,0.26);
}
.rte-lbar.on{display:flex;}
.rte-lbar-fields{display:grid;grid-template-columns:1fr;gap:6px;}
@media (min-width:520px){.rte-lbar-fields{grid-template-columns:1fr 1.3fr;}}
.rte-linp{
  width:100%;box-sizing:border-box;height:36px;padding:0 11px;border-radius:10px;
  border:0.85px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.07);
  color:#FFFFFF;font-family:var(--body);font-size:13px;outline:none;
}
.rte-linp:focus{border-color:#38BDF8;background:rgba(255,255,255,0.11);}
.rte-linp::placeholder{color:rgba(219,234,254,0.46);}
.rte-lbar-acts{display:flex;align-items:center;gap:6px;}
.rte-lbtn{
  height:32px;padding:0 12px;border:0;border-radius:9px;cursor:pointer;
  font-family:var(--display);font-size:11.5px;font-weight:800;
  -webkit-tap-highlight-color:transparent;
}
.rte-lbtn.pri{background:linear-gradient(135deg,#38BDF8,#4F46E5);color:#FFFFFF;}
.rte-lbtn.bad{background:rgba(244,63,94,0.22);color:#FDA4AF;box-shadow:inset 0 0 0 0.75px rgba(253,164,175,0.42);}
.rte-lbtn.ghost{margin-inline-start:auto;width:32px;padding:0;background:rgba(255,255,255,0.09);color:rgba(224,242,254,0.86);font-size:16px;}
.gl-strike{position:relative;display:inline-block;}
.gl-strike::after{content:'';position:absolute;left:-4px;right:-4px;top:50%;height:2px;background:currentColor;transform:translateY(-50%);border-radius:2px;}
.gl-b{font-weight:900;}
.rtb .gl-hd{font-size:16px;font-weight:900;line-height:1;}
.rte{
  display:block;width:100%;box-sizing:border-box;outline:none;
  font-family:var(--body);color:var(--ink);background:transparent;border:0;border-radius:0;
  padding:13px 14px;font-size:15px;line-height:1.56;min-height:168px;
  overflow-wrap:break-word;word-break:break-word;hyphens:none;
}
.rte.one{min-height:52px;}
.rte:focus{border-color:transparent;}
.rte-prev{
  padding:13px 14px;min-height:168px;font-size:14.5px;line-height:1.56;
  white-space:pre-wrap;word-break:break-word;color:var(--ink);
}
.rte-shell.is-one .rte-prev{min-height:52px;}
.rte-prev-empty{color:rgba(219,234,254,0.46);font-style:italic;}
.rte:empty:before{content:attr(data-ph);color:var(--ink-faint);}
.rte b,.mdbox b,.val b,.mp-desc b{font-weight:700;}
.rte i,.mdbox i,.val i,.mp-desc i{font-style:italic;}
.rte u,.mdbox u,.val u,.mp-desc u{text-decoration:underline;}
.rte s,.mdbox s,.val s,.mp-desc s{text-decoration:line-through;}
.rte code,.mdbox code,.val code,.mp-desc code{font-family:var(--mono);font-size:0.9em;background:rgba(255,255,255,0.08);padding:1px 5px;border-radius:5px;}
.rte a,.mdbox a,.val a,.mp-desc a{color:var(--acc);text-decoration:underline;}
.mdbox .md-h{font-family:var(--display);font-weight:800;font-size:1.5em;line-height:1.25;color:var(--ink);margin:6px 0 3px;}
.mdbox blockquote{margin:4px 0;padding:2px 0 2px 12px;border-left:3px solid var(--line-strong);color:var(--ink-faint);}
.rte .md-h{font-family:var(--display);font-weight:800;font-size:1.5em;line-height:1.25;}
.rte blockquote{padding-left:10px;border-left:3px solid var(--line-strong);margin:2px 0;}
.dyn-wrap{position:relative;width:100%;height:150px;touch-action:pan-y;}
.dyn-wrap svg{display:block;width:100%;height:100%;overflow:visible;}
.dyn-line{stroke-dasharray:1;stroke-dashoffset:1;animation:dynDraw 1.15s cubic-bezier(.4,0,.2,1) .12s forwards;}
.dyn-area{opacity:0;animation:dynFade .8s ease .05s forwards;}
@keyframes dynDraw{to{stroke-dashoffset:0;}}
@keyframes dynFade{to{opacity:1;}}
@keyframes dynPop{0%{opacity:0;transform:translate(-50%,-50%) scale(.2);}70%{transform:translate(-50%,-50%) scale(1.25);}100%{opacity:1;transform:translate(-50%,-50%) scale(1);}}
@keyframes dynPulse{0%,100%{box-shadow:0 0 0 0 rgba(251,113,133,.55);}50%{box-shadow:0 0 0 7px rgba(251,113,133,0);}}
.dyn-ov{position:absolute;inset:0;pointer-events:none;}
.dyn-mk{position:absolute;width:11px;height:11px;border-radius:50%;transform:translate(-50%,-50%);opacity:0;animation:dynPop .45s cubic-bezier(.2,1.3,.4,1) forwards;}
.dyn-mk.acc{background:var(--acc);box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 28%,transparent),0 0 14px var(--acc);}
.dyn-mk.sus{background:#FB7185;box-shadow:0 0 12px #FB7185;animation:dynPop .45s cubic-bezier(.2,1.3,.4,1) forwards,dynPulse 1.8s ease-in-out .6s infinite;}
.dyn-pill{position:absolute;transform:translate(-50%,-135%);font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.02em;padding:2px 7px;border-radius:7px;white-space:nowrap;opacity:0;animation:dynFade .5s ease .55s forwards;}
.dyn-pill.acc{background:color-mix(in srgb,var(--acc) 22%,#0a0a14);color:#fff;border:1px solid color-mix(in srgb,var(--acc) 50%,transparent);}
.dyn-pill.sus{background:rgba(251,113,133,.16);color:#FB7185;border:1px solid rgba(251,113,133,.5);}
.dyn-track{position:absolute;top:0;bottom:0;width:1px;background:linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.05));pointer-events:none;opacity:0;transition:opacity .15s;}
.dyn-track.on{opacity:1;}
.dyn-cross{position:absolute;width:9px;height:9px;border-radius:50%;transform:translate(-50%,-50%);border:2px solid #0a0a14;pointer-events:none;opacity:0;transition:opacity .15s;}
.dyn-cross.on{opacity:1;}
.dyn-tip{position:absolute;top:6px;transform:translateX(-50%);background:rgba(8,6,24,.94);border:1px solid var(--line-strong);border-radius:11px;padding:8px 11px;pointer-events:none;opacity:0;transition:opacity .15s;backdrop-filter:blur(10px);z-index:3;min-width:96px;}
.dyn-tip.on{opacity:1;}
.dyn-tip .tt{font-family:var(--mono);font-size:10px;color:var(--ink-faint);margin-bottom:4px;letter-spacing:.03em;}
.dyn-tip .rr{display:flex;align-items:center;gap:6px;font-size:12px;line-height:1.5;}
.dyn-tip .rr i{width:8px;height:8px;border-radius:2px;flex-shrink:0;}
.dyn-tip .rr b{font-family:var(--display);margin-inline-start:auto;}
.dyn-hit{position:absolute;inset:0;cursor:crosshair;}
.dyn-grid{stroke:rgba(255,255,255,.07);stroke-width:1;vector-effect:non-scaling-stroke;}
.dyn-ylabel{position:absolute;left:2px;font-family:var(--mono);font-size:9.5px;color:var(--ink-faint);transform:translateY(-50%);}
.dyn-xlabel{font-family:var(--mono);font-size:9.5px;color:var(--ink-faint);}
.fmt{position:relative;z-index:1;margin-top:14px;background:linear-gradient(155deg,rgba(40,28,78,0.82),rgba(13,8,32,0.88));border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 12px 30px -20px rgba(0,0,0,0.8);}
.fmt summary{list-style:none;cursor:pointer;padding:13px 15px;font-family:var(--display);font-weight:700;font-size:13px;color:var(--acc);display:flex;align-items:center;gap:8px;}
.fmt summary::-webkit-details-marker{display:none;}
.fmt summary::after{content:'▾';margin-inline-start:auto;font-family:var(--mono);font-size:11px;opacity:0.7;transition:transform .2s;}
.fmt[open] summary::after{transform:rotate(180deg);}
.fmt-body{padding:0 15px 15px;font-size:12.5px;color:var(--ink-mute);line-height:1.5;}
.fmt-body p{margin:0 0 11px;}
.fmt-list{display:flex;flex-direction:column;gap:8px;margin:0 0 12px;}
.fmt-list .r{display:flex;align-items:baseline;gap:9px;}
.fmt-list .sample{flex:0 0 110px;color:var(--ink);}
.fmt-list code,.fmt-body code{font-family:var(--mono);font-size:10.5px;background:rgba(0,0,0,0.38);border:1px solid var(--line);border-radius:6px;padding:2px 7px;color:var(--acc);white-space:nowrap;}
.fmt-list .fdesc{flex:1;color:var(--ink-mute);}
.fmt .ex{padding:11px 13px;background:rgba(0,0,0,0.3);border-radius:11px;color:var(--ink);margin:0;}
.fmt u{text-decoration:underline;text-underline-offset:2px;}
.fmt s{opacity:0.65;}
.fmt .mono{font-family:var(--mono);}
.fmt a{color:var(--signal);text-decoration:none;}
.fmt .hd-q{color:var(--acc);font-weight:800;}
.flabel{font-family:var(--mono);font-size:9.5px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink-faint);font-weight:700;margin:0 0 10px;}
.counter{font-family:var(--mono);font-size:10px;letter-spacing:0.04em;color:var(--ink-faint);text-align:right;margin:9px 2px 0;}
.stepper{display:flex;align-items:center;justify-content:center;gap:22px;padding:8px 0 4px;}
.stepper button{width:52px;height:52px;border-radius:16px;border:1px solid var(--line-strong);background:rgba(255,255,255,0.05);color:var(--ink);font-size:26px;font-family:var(--display);font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;line-height:1;}
.stepper button:active{transform:scale(0.94);}
.stepper [data-num]{font-family:var(--mono);font-weight:700;font-size:42px;letter-spacing:-0.02em;color:#fff;min-width:90px;text-align:center;}
/* Текст-значение «выключено» вместо цифры — уменьшаем, чтобы помещалось. */
.stepper [data-num].txt{font-size:19px;letter-spacing:0;text-transform:uppercase;}
.qsets{display:flex;gap:8px;justify-content:center;margin-top:14px;flex-wrap:wrap;}
.qsets [data-set],.qsets [data-bt]{padding:8px 15px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,0.04);font-family:var(--mono);font-size:11px;font-weight:600;color:var(--ink-mute);cursor:pointer;transition:border-color .15s,background .15s,transform .1s;}
.qsets [data-set].cur{background:rgba(168,85,247,0.18);border-color:var(--line-strong);color:#fff;}
.qsets [data-bt]{flex:1 1 auto;text-align:center;font-family:var(--body);font-size:12.5px;font-weight:600;color:var(--ink);}
.qsets [data-bt]:hover{border-color:var(--line-strong);background:rgba(255,255,255,0.07);}
.qsets [data-bt]:active{transform:scale(0.95);}
/* Двойной тап по +/- / чипам зумил страницу на телефоне — manipulation отключает
   double-tap-zoom (пинч-зум остаётся), покрывает ВСЕ степперы (все +/- = .stepper
   button), быстрые сеты, фильтр-чипы и основные кнопки. */
.stepper button,.qsets [data-set],.qsets [data-bt],.chip,.btn,.mi,.rtb,.opt{touch-action:manipulation;-webkit-user-select:none;user-select:none;}
.miniav{width:36px;height:36px;border-radius:10px;flex-shrink:0;background-size:cover;background-position:center;background-clip:padding-box;border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:13px;color:#fff;overflow:hidden;}
.mp-chs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:13px;position:relative;z-index:1;}
.mp-ch{display:flex;align-items:center;gap:7px;background:rgba(255,255,255,0.05);border:1px solid var(--line);border-radius:999px;padding:4px 12px 4px 4px;font-size:11px;font-weight:600;color:var(--ink-mute);max-width:100%;}
.mp-ch .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;}
.mp-ch .sub{font-family:var(--mono);font-size:9.5px;color:var(--ink-faint);}
.mp-ch-link{cursor:pointer;transition:background .15s,border-color .15s;-webkit-tap-highlight-color:transparent;}
.mp-ch-link:active{background:rgba(52,211,153,0.16);border-color:rgba(52,211,153,0.4);}
.chrefresh{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;margin-bottom:4px;padding:14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%);box-shadow:0 12px 30px -20px rgba(0,0,0,0.8),inset 0 1px 0 rgba(255,255,255,0.06);color:var(--ink);font-family:var(--display);font-weight:700;font-size:13px;cursor:pointer;transition:border-color .2s,transform .16s;-webkit-tap-highlight-color:transparent;}
.chrefresh:active{transform:scale(0.99);border-color:var(--line-strong);}
.chrefresh svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.chrefresh.busy{opacity:0.55;pointer-events:none;}
.chrefresh.busy svg{animation:spin .8s linear infinite;}
@keyframes spin{to{transform:rotate(360deg);}}
.mp-desc{position:relative;z-index:1;font-size:13px;line-height:1.5;color:var(--ink-mute);margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;hyphens:none;}
.mp-desc a{overflow-wrap:anywhere;word-break:break-all;}
.mp-author{font-size:12px;color:var(--ink-faint);margin-bottom:10px;position:relative;z-index:1;}
.mp-author a{color:var(--acc);text-decoration:underline;overflow-wrap:anywhere;word-break:break-word;}
.mp-more{display:block;width:100%;margin:14px 0 4px;padding:13px;border-radius:14px;border:1px solid var(--line-strong);background:color-mix(in srgb,var(--acc) 12%,transparent);color:var(--ink);font-family:var(--display);font-weight:700;font-size:14px;cursor:pointer;transition:transform .12s,background .15s;-webkit-tap-highlight-color:transparent;}
.mp-more:active{transform:scale(0.98);}
.mp-more[disabled]{opacity:0.6;}
.mp-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px;position:relative;z-index:1;}
.votebar{display:flex;align-items:center;gap:9px;position:relative;z-index:1;}
.votebar .vstat{display:inline-flex;align-items:center;gap:5px;padding:9px 12px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,0.03);font-family:var(--mono);font-size:12px;font-weight:600;color:var(--ink-mute);}
.vbtn{display:flex;align-items:center;gap:7px;padding:9px 14px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,0.04);color:var(--ink-mute);font-family:var(--mono);font-size:12px;font-weight:600;cursor:pointer;transition:border-color .18s,background .18s;}
.vbtn .ico{font-size:14px;}
.vbtn b{color:var(--ink);font-weight:700;}
.vbtn.up.voted{background:rgba(52,211,153,0.18);border-color:var(--emer);color:#fff;}
.vbtn.down.voted{background:rgba(251,113,133,0.16);border-color:var(--rose);color:#fff;}
.tl-card{margin-bottom:12px;}
.tl-label{font-family:var(--display);font-weight:700;font-size:15px;color:var(--ink);margin-bottom:10px;}
.tl-stats{display:flex;gap:16px;margin:8px 0 10px;font-family:var(--mono);font-size:12px;color:var(--ink-mute);}
.tl-stats .mt{display:inline-flex;align-items:center;gap:5px;}
.tl-stats .mt svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.tl-stats b{color:var(--ink);font-weight:700;}
.tl-url{font-family:var(--mono);font-size:11px;color:var(--ink-faint);word-break:break-all;background:rgba(0,0,0,0.25);border:1px solid var(--line);border-radius:10px;padding:9px 11px;margin-bottom:10px;}
.tl-row{display:flex;gap:10px;align-items:stretch;}
.tl-row .btn.go{flex:1;padding:11px;}
.tl-row .btn.danger{flex:0 0 auto;padding:11px 16px;}
.mp-deliv{display:inline-flex;align-items:center;gap:5px;padding:9px 12px;border-radius:12px;border:1px solid color-mix(in srgb,var(--emer) 40%,transparent);background:color-mix(in srgb,var(--emer) 12%,transparent);font-family:var(--mono);font-size:12px;font-weight:600;color:var(--emer);flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mp-deliv b{font-weight:700;}
.mp-deliv.none{color:var(--ink-faint);border-color:var(--line);background:rgba(255,255,255,0.03);}
.report{margin-inline-start:auto;flex:0 0 auto;white-space:nowrap;padding:9px 12px;border:none;background:none;color:var(--ink-faint);font-family:var(--mono);font-size:11px;font-weight:600;cursor:pointer;}
.report.done{color:var(--rose);opacity:0.55;}
.mp-blocked{opacity:0.6;}
.mp-bbadge{display:inline-block;margin-bottom:10px;padding:3px 9px;border-radius:8px;font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--rose);border:1px solid color-mix(in srgb,var(--rose) 45%,transparent);background:color-mix(in srgb,var(--rose) 14%,transparent);}
.mp-admin-block{display:block;width:100%;margin-top:11px;padding:11px;border-radius:12px;border:1px solid color-mix(in srgb,var(--rose) 42%,transparent);background:color-mix(in srgb,var(--rose) 12%,transparent);color:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:transform .14s,background .15s;-webkit-tap-highlight-color:transparent;}
.mp-admin-block.on{border-color:var(--emer);background:color-mix(in srgb,var(--emer) 14%,transparent);}
.mp-admin-block:active{transform:scale(0.98);}
.mp-admin-block[disabled]{opacity:0.6;}
.mp-admin-warn{display:block;width:100%;margin-top:8px;padding:11px;border-radius:12px;border:1px solid color-mix(in srgb,var(--amber,#f59e0b) 55%,transparent);background:color-mix(in srgb,var(--amber,#f59e0b) 16%,transparent);color:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:transform .14s;-webkit-tap-highlight-color:transparent;}
.mp-admin-warn:active{transform:scale(0.98);}
.mp-admin-warn[disabled]{opacity:0.6;}
.mp-admin-wstat{
  display:flex;align-items:center;justify-content:center;width:100%;box-sizing:border-box;
  margin-top:10px;padding:6px 10px;border-radius:10px;
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:0.03em;
  color:rgba(224,242,254,0.82);background:rgba(12,24,68,0.40);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
}
.mp-admin-wstat.is-w1{
  color:#FEF3C7;background:rgba(245,158,11,0.24);
  box-shadow:inset 0 0 0 0.7px rgba(253,230,138,0.56);
}
.mp-admin-wstat.is-w2{
  color:#FFE4E6;background:rgba(244,63,94,0.28);
  box-shadow:inset 0 0 0 0.7px rgba(253,164,175,0.62);
}
.mp-admin-unwarn{
  display:block;width:100%;margin-top:8px;padding:11px;border-radius:12px;
  border:1px solid color-mix(in srgb,var(--emer) 55%,transparent);
  background:color-mix(in srgb,var(--emer) 16%,transparent);
  color:#fff;font-size:13px;font-weight:700;cursor:pointer;
  transition:transform .14s,background .15s;-webkit-tap-highlight-color:transparent;
}
.mp-admin-unwarn:active{transform:scale(0.98);}
.mp-admin-unwarn[disabled]{opacity:0.6;}
.mp-admin-unwarn.is-hide{display:none!important;}
.mp-admin-ban{display:block;width:100%;margin-top:8px;padding:11px;border-radius:12px;border:1px solid color-mix(in srgb,var(--rose) 60%,transparent);background:color-mix(in srgb,var(--rose) 22%,transparent);color:#fff;font-size:13px;font-weight:800;cursor:pointer;transition:transform .14s,background .15s;-webkit-tap-highlight-color:transparent;}
.mp-admin-ban:active{transform:scale(0.98);}
.mp-admin-ban[disabled]{opacity:0.6;}
.lb-admin-bar{margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,0.14);display:flex;flex-direction:column;gap:7px;}
.lb-admin-bar .mp-admin-wstat{margin-top:0;}
.lb-admin-row{display:grid;grid-template-columns:1fr 1fr;gap:7px;}
.lb-admin-bar .mp-admin-block,.lb-admin-bar .mp-admin-warn,.lb-admin-bar .mp-admin-unwarn{margin-top:0;padding:9px 8px;font-size:12px;}
.lb-card.is-admin-hidden{opacity:0.68;}
.lb-room-adm{padding:12px 14px;margin-bottom:12px;}
.lb-room-adm .lb-admin-bar{margin-top:0;padding-top:0;border-top:0;}
.chip.opt.on{background:rgba(168,85,247,0.18);border-color:var(--line-strong);color:#fff;}
.tagwrap{display:flex;flex-wrap:wrap;gap:8px;position:relative;z-index:1;}
.flag{width:26px;height:19px;border-radius:3px;object-fit:cover;flex-shrink:0;box-shadow:0 1px 3px rgba(0,0,0,0.45);}
.geo-dim{opacity:0.35;pointer-events:none;filter:grayscale(0.6);}
.lf-del{font-family:var(--mono);font-size:11px;font-weight:600;color:var(--rose);cursor:pointer;letter-spacing:0.03em;}
.lgroup{border:1px dashed var(--line-strong);border-radius:16px;padding:12px;margin-bottom:12px;}
.lgroup-h{font-family:var(--mono);font-size:10px;letter-spacing:0.08em;text-transform:uppercase;color:var(--ink-faint);margin-bottom:9px;}
.lgroup .lbtn{margin-bottom:8px;}
.btn.ghost.lsm{display:inline-flex;width:auto;padding:7px 13px;font-size:12px;min-height:0;margin-top:2px;}
.funnel{display:flex;flex-direction:column;gap:13px;}
.fn .fl{display:flex;justify-content:space-between;align-items:baseline;font-size:12px;color:var(--ink-mute);margin-bottom:6px;}
.fn .fl .n{font-family:var(--display);font-weight:800;font-size:15px;color:#fff;}
.fn .track,.chbar .track{border-radius:99px;background:rgba(255,255,255,0.06);overflow:hidden;}
.fn .track{height:12px;}
.fn .fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--grad-from),var(--grad-to));transition:width .5s cubic-bezier(.2,.8,.2,1);}
.chbar{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);}
.chbar:last-child{border-bottom:none;}
.chbar .col{flex:1;min-width:0;}
.chbar .top{display:flex;justify-content:space-between;font-size:12.5px;font-weight:600;margin-bottom:6px;gap:8px;}
.chbar .top .nm{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.chbar .top .v{font-family:var(--mono);font-size:11px;color:var(--ink-mute);flex-shrink:0;}
.chbar .track{height:8px;}
.chbar .fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--signal),var(--acc));transition:width .5s cubic-bezier(.2,.8,.2,1);}
.hubbar{display:flex;align-items:center;justify-content:space-between;padding:6px 4px;margin-bottom:8px;position:relative;z-index:30;}
.bar-actions{display:flex;align-items:center;gap:8px;}
.lang{position:relative;}
.lang-sel{display:flex;align-items:center;gap:5px;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.16);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:0.08em;color:rgba(245,245,247,0.85);cursor:pointer;}
.lang-sel .ch{font-size:9px;opacity:0.7;transition:transform .2s;}
.lang.open .lang-sel .ch{transform:rotate(180deg);}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:150px;display:flex;flex-direction:column;padding:6px;border-radius:16px;background:linear-gradient(160deg,rgba(34,22,66,0.96),rgba(13,8,32,0.97));border:1px solid var(--line-strong);box-shadow:0 18px 40px -14px rgba(0,0,0,0.85);backdrop-filter:blur(20px);z-index:60;opacity:0;transform:translateY(-6px) scale(0.97);transform-origin:top right;pointer-events:none;transition:opacity .18s,transform .18s;}
.lang.open .lang-menu{opacity:1;transform:none;pointer-events:auto;}
.lang-opt{display:flex;align-items:center;gap:9px;padding:10px 12px;border-radius:11px;font-family:var(--body);font-size:13px;font-weight:600;color:var(--ink-mute);cursor:pointer;transition:background .15s,color .15s;}
.lang-opt .fl{width:22px;height:15px;border-radius:3px;flex-shrink:0;display:block;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,0.14);}
.lang-opt::after{content:attr(data-code);margin-inline-start:auto;font-family:var(--mono);font-size:9px;letter-spacing:0.08em;color:var(--ink-faint);}
.lang-opt:hover{background:rgba(168,85,247,0.14);color:var(--ink);}
.lang-opt.cur{background:rgba(168,85,247,0.20);color:#fff;}
.lang-opt.cur::after{color:var(--acc);}
.help-btn{width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,0.05);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:15px;color:var(--ink-mute);cursor:pointer;text-decoration:none;flex-shrink:0;}
/* профиль: аватар-кнопка в хабе/баре (цвет кольца = уровень) */
.hub-ava{--ring:var(--acc-strong);width:38px;height:38px;border-radius:50%;padding:2px;background:var(--ring);border:none;cursor:pointer;flex-shrink:0;box-shadow:0 0 0 1px rgba(0,0,0,0.2),0 4px 14px -4px color-mix(in srgb,var(--acc-strong) 55%,transparent);-webkit-tap-highlight-color:transparent;transition:transform .1s;}
.hub-ava:active{transform:scale(0.93);}
.hd-row .bar-actions{margin-inline-start:auto;flex-shrink:0;}
.sec-ava{margin-left:0;}
.hub-ava-img{width:100%;height:100%;border-radius:50%;background:#1a1330 center/cover no-repeat;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:14px;color:#fff;border:2px solid var(--bg,#0d0820);box-sizing:border-box;}
/* профиль: страница */
.prof-hero{text-align:center;padding:8px 0 4px;}
.prof-ava-wrap{--ring:hsl(140,72%,50%);position:relative;width:104px;height:104px;margin:0 auto 14px;border-radius:50%;padding:4px;background:var(--ring);box-shadow:0 0 0 1px rgba(0,0,0,0.25),0 8px 28px -8px var(--ring);}
.prof-ava{width:100%;height:100%;border-radius:50%;background:#1a1330 center/cover no-repeat;border:3px solid var(--bg,#0d0820);box-sizing:border-box;}
.prof-ava-ph{display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:40px;color:#fff;background:linear-gradient(135deg,rgba(168,85,247,0.82),rgba(56,189,248,0.78))!important;}
.prof-lvl{position:absolute;right:0;bottom:0;min-width:26px;height:26px;padding:0 6px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-weight:800;font-size:12px;color:#0d0820;border:2px solid var(--bg,#0d0820);box-sizing:border-box;}
.prof-name{font-family:var(--display);font-weight:800;font-size:21px;display:flex;align-items:center;justify-content:center;gap:6px;}
.prof-ver{width:19px;height:19px;flex-shrink:0;}
.prof-uname{font-family:var(--mono);font-size:12px;color:var(--ink-faint);margin-top:2px;}
.prof-rank{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;margin-top:9px;}
.prof-xpbar{height:7px;border-radius:999px;background:rgba(255,255,255,0.08);margin:10px auto 6px;max-width:240px;overflow:hidden;}
.prof-xpfill{height:100%;border-radius:999px;transition:width .4s;}
.prof-xptext{font-family:var(--mono);font-size:10px;color:var(--ink-faint);letter-spacing:0.04em;}
.prof-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0;}
.prof-stat{text-align:center;background:linear-gradient(155deg,rgba(40,28,78,0.82),rgba(13,8,32,0.88));border:1px solid var(--line);border-radius:15px;padding:14px 6px;box-shadow:0 12px 30px -20px rgba(0,0,0,0.8);}
.prof-stat.wide{grid-column:1 / -1;}
.prof-stat b{display:block;font-family:var(--display);font-weight:800;font-size:19px;}
.prof-stat span{display:block;font-family:var(--mono);font-size:9px;color:var(--ink-faint);text-transform:uppercase;letter-spacing:0.06em;margin-top:3px;}
/* профиль: утилиты — маленькие иконки в правом углу шапки (dbar), не блоки */
.dbar-acts{display:flex;align-items:center;gap:7px;flex-shrink:0;}
.dbar-ic{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.05);border:1px solid var(--line);cursor:pointer;font-size:14px;line-height:1;color:var(--ink);-webkit-tap-highlight-color:transparent;transition:border-color .2s,transform .12s,background .2s;}
.dbar-ic:hover{border-color:var(--line-strong);background:rgba(255,255,255,0.08);}
.dbar-ic:active{transform:scale(0.9);}
.dbar-ic .flag{width:20px;height:13px;border-radius:2px;object-fit:cover;box-shadow:0 0 0 1px rgba(255,255,255,0.14);}
/* пикер языка интерфейса — центрированный модал с сеткой флагов */
.lpop{position:fixed;inset:0;z-index:200;background:rgba(5,2,17,0.66);display:flex;align-items:center;justify-content:center;padding:24px;opacity:0;transition:opacity .2s;}
.lpop.on{opacity:1;}
.lpop-card{width:100%;max-width:342px;background:linear-gradient(160deg,rgba(34,22,66,0.98),rgba(13,8,32,0.99));border:1px solid var(--line-strong);border-radius:20px;padding:16px;box-shadow:0 24px 60px -20px rgba(0,0,0,0.9);transform:scale(0.95);transition:transform .2s;}
.lpop.on .lpop-card{transform:none;}
.lpop-h{font-family:var(--display);font-weight:800;font-size:15px;text-align:center;margin-bottom:13px;}
.lpop-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.lpop-opt{display:flex;align-items:center;gap:8px;min-width:0;padding:10px 10px;border-radius:13px;border:1px solid var(--line);background:rgba(255,255,255,0.04);color:var(--ink);font-family:var(--body);font-size:12.5px;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .15s,background .15s;text-align:start;}
.lpop-opt .lpop-nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
.lpop-opt:hover{border-color:var(--line-strong);}
.lpop-opt.cur{border-color:var(--acc);background:rgba(168,85,247,0.18);}
.lpop-opt img{width:22px;height:15px;border-radius:3px;object-fit:cover;flex-shrink:0;box-shadow:0 0 0 1px rgba(255,255,255,0.16);}
.lpop-div,.top-ls-div{grid-column:1 / -1;display:flex;align-items:center;gap:10px;margin:4px 2px;font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.12em;color:rgba(226,238,255,0.52);text-transform:uppercase;}
.lpop-div::before,.lpop-div::after,.top-ls-div::before,.top-ls-div::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.20),transparent);}
/* профиль: «?» у опыта + инфо-попап про уровни/XP */
.xp-q{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;border:1px solid var(--line-strong);background:rgba(255,255,255,0.06);color:var(--ink-mute);font-family:var(--mono);font-size:10px;font-weight:700;cursor:pointer;vertical-align:middle;margin-left:3px;padding:0;-webkit-tap-highlight-color:transparent;}
.xp-q:active{transform:scale(0.9);}
.xpop-card{max-width:320px;max-height:80vh;overflow-y:auto;text-align:left;}
.xp-sec{font-family:var(--mono);font-size:9px;letter-spacing:0.1em;text-transform:uppercase;color:var(--ink-faint);margin:14px 0 8px;}
.xp-sec:first-of-type{margin-top:4px;}
.xp-row{display:flex;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,0.05);}
.xp-ic{font-size:15px;width:20px;text-align:center;flex-shrink:0;}
.xp-rt{flex:1;font-family:var(--body);font-size:13px;}
.xp-rv{font-family:var(--mono);font-size:12px;font-weight:700;color:var(--emer);}
.xp-rank{display:flex;align-items:center;gap:10px;padding:6px 0;}
.xp-em{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-size:16px;line-height:1;flex-shrink:0;}
.xp-rn{flex:1;font-family:var(--display);font-weight:600;font-size:13px;}
.xp-rl{font-family:var(--mono);font-size:11px;color:var(--ink-faint);}
.xp-rank.me{background:rgba(168,85,247,0.12);margin:0 -8px;padding:6px 8px;border-radius:9px;}
.xp-rank.me .xp-rn{color:var(--acc);}
.xp-note{font-family:var(--body);font-size:11px;color:var(--ink-mute);margin-top:13px;text-align:center;opacity:0.85;}
/* лимит участников: тумблер-строка + поле ввода числа в попапе */
.lim-tg-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 2px 6px;}
.lim-tg-lbl{font-family:var(--body);font-size:14px;font-weight:600;color:var(--ink);}
.lim-input-wrap{margin:8px 0 4px;}
.lim-input{width:100%;box-sizing:border-box;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);color:var(--ink);font-family:var(--display);font-weight:800;font-size:20px;text-align:center;outline:none;caret-color:var(--acc);-moz-appearance:textfield;}
.lim-input::-webkit-outer-spin-button,.lim-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.lim-input:focus{border-color:var(--acc);background:rgba(255,255,255,0.11);}
.lim-input::placeholder{color:rgba(255,255,255,0.4);font-weight:600;font-size:15px;}
.prof-soon{margin-top:16px;padding:14px 15px;border:1px dashed var(--line);border-radius:15px;text-align:center;opacity:0.8;}
.prof-soon-h{font-family:var(--display);font-weight:700;font-size:13px;}
.prof-soon-t{font-family:var(--mono);font-size:10px;color:var(--ink-faint);margin-top:4px;letter-spacing:0.04em;}
/* Верификация и связка аккаунтов — строго в токенах kit.css */
.ver-pill-ok{font-family:var(--mono);font-size:10px;font-weight:700;color:var(--emer);background:rgba(52,211,153,0.14);border:1px solid rgba(52,211,153,0.34);padding:4px 9px;border-radius:999px;white-space:nowrap;flex-shrink:0;}
.ver-priv-a{color:var(--acc);text-decoration:underline;cursor:pointer;}
.ver-msg{margin-top:10px;padding:12px 14px;border-radius:14px;font-size:12.5px;line-height:1.5;background:rgba(168,85,247,0.12);border:1px solid var(--line-strong);color:var(--ink);}
.ver-msg.err{background:rgba(251,113,133,0.12);border-color:rgba(251,113,133,0.38);color:#fecdd3;}
.ver-msg.ok{background:rgba(52,211,153,0.12);border-color:rgba(52,211,153,0.38);color:#a7f3d0;}
.ver-code{font-family:var(--mono);font-size:24px;font-weight:800;letter-spacing:0.22em;text-align:center;margin:10px 0 6px;background:linear-gradient(100deg,#DCCBFF,#22D3EE);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.ver-act-row{display:flex;gap:8px;margin-top:10px;}
.ver-act-row > button{flex:1;min-width:0;}
.fmt .fmt-body{padding:0 15px 15px;}
.fmt summary svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.row.opt-ver{cursor:pointer;}
.row.opt-ver .ck{margin-inline-start:auto;flex-shrink:0;width:22px;height:22px;border-radius:50%;border:1.6px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-size:12px;color:transparent;transition:background .18s,border-color .18s,color .18s;}
.row.opt-ver.on .ck{background:var(--emer);border-color:var(--emer);color:#05210f;}
.row.opt-ver.on .ck::after{content:'✓';font-weight:900;}
.row .ver-step-ok{width:22px;height:22px;border-radius:50%;background:var(--emer);color:#05210f;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900;flex-shrink:0;}
/* Витрина «Синяя галочка» в блоке верификации с искрящимся фоном */
.ver-hero{position:relative;overflow:hidden;padding:22px 16px 18px;text-align:center;background:radial-gradient(120% 95% at 50% 18%,rgba(29,155,240,0.34),rgba(56,189,248,0.08) 48%,transparent 76%),linear-gradient(160deg,rgba(24,42,96,0.72),rgba(16,12,42,0.88));border-bottom:1px solid var(--line);}
.ver-hero.ver-done{border-bottom:none;padding:24px 16px 22px;}
.ver-hero::before{content:'';position:absolute;top:0;left:18px;right:18px;height:1px;background:linear-gradient(90deg,transparent,rgba(125,211,252,0.55),transparent);}
.ver-stage{position:relative;width:116px;height:82px;margin:0 auto 10px;display:flex;align-items:center;justify-content:center;}
.ver-halo{position:absolute;width:82px;height:82px;border-radius:50%;background:radial-gradient(circle,rgba(56,189,248,0.62) 0%,rgba(29,155,240,0.28) 44%,transparent 72%);filter:blur(10px);animation:verPulse 3s ease-in-out infinite;pointer-events:none;}
.ver-ring{position:absolute;width:68px;height:68px;border-radius:50%;border:1px solid rgba(125,211,252,0.34);animation:verRing 3.4s ease-out infinite;pointer-events:none;}
.ver-badge-lg{position:relative;z-index:2;width:58px;height:58px;filter:drop-shadow(0 0 16px rgba(29,155,240,0.72)) drop-shadow(0 6px 14px rgba(0,0,0,0.45));animation:verFloat 3.6s ease-in-out infinite;}
.ver-sp{position:absolute;z-index:3;pointer-events:none;fill:#E0F2FE;filter:drop-shadow(0 0 6px rgba(56,189,248,0.95));animation:verSpark 2.4s ease-in-out infinite;}
.ver-sp.s1{top:6px;left:14px;width:14px;height:14px;animation-delay:0s;}
.ver-sp.s2{top:2px;right:16px;width:11px;height:11px;fill:#7DD3FC;animation-delay:.65s;}
.ver-sp.s3{bottom:10px;left:8px;width:10px;height:10px;fill:#38BDF8;animation-delay:1.2s;}
.ver-sp.s4{bottom:6px;right:12px;width:15px;height:15px;animation-delay:1.75s;}
.ver-sp.s5{top:32px;left:2px;width:7px;height:7px;fill:#BAE6FD;animation-delay:.9s;}
.ver-sp.s6{top:26px;right:2px;width:8px;height:8px;fill:#fff;animation-delay:2.1s;}
.ver-hero-t{position:relative;z-index:2;font-family:var(--display);font-weight:800;font-size:16px;letter-spacing:-0.015em;background:linear-gradient(100deg,#FFFFFF 20%,#7DD3FC 85%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
.ver-hero-s{position:relative;z-index:2;font-size:12px;color:var(--ink-mute);margin-top:5px;line-height:1.4;}
@keyframes verPulse{0%,100%{transform:scale(0.92);opacity:0.75;}50%{transform:scale(1.12);opacity:1;}}
@keyframes verRing{0%{transform:scale(0.78);opacity:0.65;}100%{transform:scale(1.42);opacity:0;}}
@keyframes verFloat{0%,100%{transform:translateY(0);}50%{transform:translateY(-3px);}}
@keyframes verSpark{0%,100%{transform:scale(0.35) rotate(0deg);opacity:0.15;}50%{transform:scale(1.15) rotate(22deg);opacity:1;}}
@media (prefers-reduced-motion:reduce){.ver-halo,.ver-ring,.ver-badge-lg,.ver-sp{animation:none;}}
/* Pull-to-refresh: кристально-прозрачная сфера Liquid Glass (без молочной заливки, тонкий 360° край + преломление) */
.ptr{position:fixed;top:0;left:50%;width:44px;height:44px;border-radius:50%;z-index:95;display:flex;align-items:center;justify-content:center;pointer-events:none;overflow:hidden;border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.07) 0%,rgba(255,255,255,0.008) 54%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  box-shadow:0 14px 30px -10px rgba(4,8,30,0.52),inset 0 0.65px 1px rgba(255,255,255,0.46),inset 0 -2.2px 6px -1px rgba(255,255,255,0.34),inset 0 0 7px -2px rgba(255,255,255,0.18),inset 0.8px 0 1.6px rgba(0,0,0,0.20),inset -0.8px 0 1.6px rgba(0,0,0,0.20);
  transform:translate(-50%,-64px);opacity:0;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s,box-shadow .2s;}
.ptr::before{content:'';position:absolute;inset:0;border-radius:50%;padding:0.65px;pointer-events:none;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.62) 0deg,rgba(255,255,255,0.34) 48deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.36) 132deg,rgba(255,255,255,0.58) 180deg,rgba(255,255,255,0.36) 228deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.34) 312deg,rgba(255,255,255,0.62) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;}
.ptr::after{display:none;}
.ptr.pull{transition:none;}
.ptr:not(.pull):not(.spin){visibility:hidden;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
.ptr.ready{box-shadow:0 16px 34px -8px rgba(4,8,30,0.58),0 0 16px -4px rgba(255,255,255,0.32),inset 0 0.75px 1.2px rgba(255,255,255,0.64),inset 0 -2.6px 7px -1px rgba(255,255,255,0.44),inset 0 0 8px -1.5px rgba(255,255,255,0.24);}
.ptr-sp{position:relative;z-index:2;width:22px;height:22px;border-radius:50%;border:0;
  background:conic-gradient(from 0deg,transparent 0deg,transparent 75deg,rgba(255,255,255,0.45) 190deg,rgba(255,255,255,0.96) 335deg,transparent 360deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.2px),#000 calc(100% - 1.6px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 2.2px),#000 calc(100% - 1.6px));
  filter:drop-shadow(0 0 4px rgba(255,255,255,0.45));}
.ptr.spin .ptr-sp{animation:ptrSpin .7s linear infinite;}
@keyframes ptrSpin{to{transform:rotate(360deg);}}
/* ПРОИЗВОДИТЕЛЬНОСТЬ: backdrop-filter на повторяющихся/скроллящихся блоках =
   пересэмпл фона каждый кадр → 15fps на десктопе. Снимаем blur (фон уже плотный),
   оставляем только на залипающих хедерах/оверлеях (их по одному). */
.gv,.tile,.faq-item,.group,.bx,.cal,.whl,.chrefresh,.hd,.dbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
/* Залипающие шапки без blur просвечивают на нижней кромке градиента (0.55) —
   поднимаем плотность, чтобы контент под ними не сквозил при скролле. */
.hd,.dbar{background:linear-gradient(180deg,rgba(5,2,17,0.97) 78%,rgba(5,2,17,0.9))!important;}
/* Анимированные «туманности» фона — в отдельный композитный слой: blur(64–78px)
   запекается один раз, transform-анимация идёт на GPU без репейнта. */

.help-btn:active{transform:scale(0.94);}
.faq{display:flex;flex-direction:column;gap:10px;position:relative;z-index:1;}
.faq-item{background:linear-gradient(155deg,rgba(40,28,78,0.82),rgba(13,8,32,0.88));border:1px solid var(--line);border-radius:18px;overflow:hidden;backdrop-filter:blur(20px);transition:border-color .25s;}
.faq-item.open{border-color:var(--line-strong);}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;background:none;border:none;color:var(--ink);font-family:var(--body);font-size:14px;font-weight:600;text-align:left;cursor:pointer;line-height:1.32;}
.faq-num{font-family:var(--mono);font-size:11px;font-weight:700;color:var(--acc);margin-right:2px;}
.faq-arrow{width:18px;height:18px;flex-shrink:0;stroke:var(--ink-mute);fill:none;transition:transform .3s ease;}
.faq-item.open .faq-arrow{transform:rotate(180deg);stroke:var(--acc);}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-a-inner{padding:0 16px 16px;font-size:13px;line-height:1.6;color:var(--ink-mute);}
.faq-a-inner b{color:var(--ink);font-weight:700;}
.hubbar .logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);}
.hubbar .logo .mk{width:46px;height:46px;border-radius:13px;object-fit:cover;display:block;box-shadow:0 6px 16px -4px rgba(168,85,247,0.55),inset 0 1px 0 rgba(255,255,255,0.18);}
.hubbar .logo .nm{font-family:var(--display);font-weight:800;font-size:15.5px;letter-spacing:-0.01em;line-height:1;}
.hubbar .logo .nm small{display:block;font-family:var(--mono);font-size:9px;letter-spacing:0.16em;color:var(--ink-faint);text-transform:uppercase;font-weight:600;margin-top:3px;}
.bento{display:grid;grid-template-columns:repeat(6,1fr);grid-template-rows:116px 116px 116px;gap:10px;position:relative;z-index:1;grid-template-areas:"cr cr my my my my" "ch ch my my my my" "tp tp tp mk mk mk";}
.a-cr{grid-area:cr;} .a-my{grid-area:my;} .a-tp{grid-area:tp;} .a-ch{grid-area:ch;} .a-mk{grid-area:mk;} .a-th{grid-area:th;} .a-ob{grid-area:ob;}
.tile{background:linear-gradient(155deg,rgba(40,28,78,0.84),rgba(13,8,32,0.90));border:1px solid var(--line);border-radius:24px;padding:16px;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);position:relative;overflow:hidden;cursor:pointer;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;--glow:rgba(168,85,247,0.5);box-shadow:0 12px 32px -18px rgba(0,0,0,0.8),inset 0 1px 0 rgba(255,255,255,0.06);transition:transform .16s,border-color .25s,box-shadow .25s;opacity:0;animation:rise .55s cubic-bezier(.2,.7,.2,1) forwards;}
.tile:active{transform:scale(0.985);}
.tile:hover{border-color:var(--line-strong);}
.tile::before{content:'';position:absolute;top:-28%;left:-12%;width:66%;height:78%;background:radial-gradient(circle,var(--glow),transparent 70%);filter:blur(26px);opacity:0.5;z-index:0;pointer-events:none;transition:opacity .25s;}
.tile::after{content:'';position:absolute;top:0;left:14px;right:14px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,0.30),transparent);z-index:2;}
.tile:hover::before{opacity:0.85;}
.tile>*{position:relative;z-index:1;}
.tile .ic{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,rgba(168,85,247,0.30),rgba(34,211,238,0.10));border:1px solid var(--line-strong);display:flex;align-items:center;justify-content:center;font-size:20px;margin-bottom:9px;box-shadow:0 10px 24px -6px var(--glow);}
.tile h3{font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-0.018em;margin:0;line-height:1.06;overflow-wrap:normal;word-break:normal;hyphens:none;}
.tile p{margin-top:4px;font-family:var(--mono);font-size:10.5px;letter-spacing:0.04em;color:var(--ink-mute);}
.tile.a-cr,.tile.a-ch{padding:13px 10px;}
.tile.create h3{font-size:12px;line-height:1.08;}
.tile.a-my{padding:20px;justify-content:center;}
.tile.a-my .ic{width:62px;height:62px;font-size:32px;border-radius:18px;margin-bottom:18px;}
.tile.a-my h3{font-size:18px;line-height:1.08;overflow-wrap:normal;word-break:normal;hyphens:none;background:linear-gradient(100deg,#DCCBFF 0%,#22D3EE 92%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;}
.tile.a-my p{font-size:11.5px;font-family:var(--body);color:var(--ink-mute);}
.bento .tile:nth-child(1){animation-delay:.05s;} .bento .tile:nth-child(2){animation-delay:.11s;}
.bento .tile:nth-child(3){animation-delay:.17s;} .bento .tile:nth-child(4){animation-delay:.23s;}
.bento .tile:nth-child(5){animation-delay:.29s;}
.tile .ic svg{width:22px;height:22px;display:block;stroke:rgba(245,245,247,0.95);fill:none;stroke-linecap:round;stroke-linejoin:round;}
.tile.a-my .ic svg{width:30px;height:30px;}
.tile.a-cr{border:1.5px solid transparent;background:linear-gradient(155deg,rgba(40,28,78,0.55),rgba(13,8,32,0.62)) padding-box,conic-gradient(from 135deg,rgba(168,85,247,0.95),rgba(34,211,238,0.95),rgba(168,85,247,0.20),rgba(168,85,247,0.95)) border-box;animation:rise .55s cubic-bezier(.2,.7,.2,1) forwards;}
@keyframes pul{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.45;transform:scale(1.35);}}
@keyframes rise{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}
.rise{opacity:0;animation:rise .5s cubic-bezier(.2,.7,.2,1) forwards;}
.rise.d1{animation-delay:.05s;}
.rise.d2{animation-delay:.11s;}
.rise.d3{animation-delay:.17s;}
.rise.d4{animation-delay:.23s;}
.rise.d5{animation-delay:.29s;}
.rise.d6{animation-delay:.35s;}
/* — «Статистика» на карточке розыгрыша: плитка в стиле хаба (квадрат-иконка
   + glow), а не строка-кнопка .mi. Шеврон в правом верхнем углу. */
.stat-tile{width:100%;box-sizing:border-box;margin-top:14px;justify-content:center;}
.stat-tile .go-tl{position:absolute;top:16px;right:16px;color:var(--ink-faint);font-size:20px;font-family:var(--mono);z-index:1;}
/* Пара плиток «Статистика» + «Отписать участника» — кубики слева и справа. */
.tile-duo{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;}
.tile-duo .stat-tile{margin-top:0;}
.tile-duo .stat-tile:nth-child(2){animation-delay:.08s;}

.rew-chs{display:flex;flex-direction:column;gap:6px;}
.rew-ch{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:13px;}
.rew-ch-nm{overflow-wrap:normal;word-break:normal;hyphens:none;flex:1;}
.rew-ch-btn{flex-shrink:0;background:rgba(255,255,255,0.05);border:1px solid var(--line);color:var(--acc);font-size:11px;font-weight:700;padding:5px 10px;border-radius:9px;cursor:pointer;}
.rew-ch-btn.off{color:#FB7185;border-color:rgba(251,113,133,0.32);background:rgba(251,113,133,0.1);}
.rew-ch-st{flex-shrink:0;font-size:11px;font-weight:700;color:rgba(255,255,255,0.4);}
/* Плавающая мини-панель форматирования над выделением в rich-редакторе. */
.selbar{position:fixed;z-index:1200;display:none;gap:4px;padding:5px;background:linear-gradient(160deg,rgba(34,22,66,0.98),rgba(13,8,32,0.99));border:1px solid var(--line-strong);border-radius:12px;box-shadow:0 10px 30px -8px rgba(0,0,0,0.72);}
.selbar.on{display:flex;}
.selbar-b{width:35px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.06);border:1px solid var(--line);border-radius:8px;color:var(--ink);font-family:var(--body);font-size:14px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.selbar-b:active{background:rgba(168,85,247,0.32);border-color:rgba(168,85,247,0.6);}
.rtb-wide{grid-column:span 2;}
/* График динамики: скролл-режим длинных серий + пин-тултип с удалением. */
.dyn-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;touch-action:pan-x pan-y;}
.dyn-scroll::-webkit-scrollbar{display:none;}
.dyn-tip.pinned{pointer-events:auto;}
.dyn-tip .tip-del{display:block;margin-top:8px;width:100%;background:rgba(251,113,133,0.15);border:1px solid rgba(251,113,133,0.42);color:#FB7185;border-radius:8px;padding:7px 9px;font-family:var(--body);font-size:11.5px;font-weight:700;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;}
.dyn-tip .tip-del:active{background:rgba(251,113,133,0.3);}
.dyn-seg{display:flex;gap:3px;background:rgba(255,255,255,0.06);border:1px solid var(--line);border-radius:9px;padding:3px;flex-shrink:0;}
.dyn-seg button{background:transparent;border:0;color:var(--ink-mute);font-family:var(--body);font-size:11px;font-weight:700;padding:4px 11px;border-radius:7px;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.dyn-seg button.on{background:color-mix(in srgb,var(--acc) 24%,transparent);color:var(--ink);}
.dyn-tip .tip-nav{display:flex;align-items:center;gap:7px;margin-bottom:4px;}
.dyn-tip .tip-nav .tt{margin-bottom:0;flex:1;text-align:center;white-space:nowrap;}
.dyn-tip .tip-step{background:rgba(255,255,255,0.09);border:1px solid var(--line-strong);color:var(--ink);width:24px;height:24px;border-radius:7px;font-size:14px;line-height:1;cursor:pointer;padding:0;flex-shrink:0;-webkit-tap-highlight-color:transparent;}
.dyn-tip .tip-step:active{background:rgba(255,255,255,0.2);}
.dyn-tip .tip-step[disabled]{opacity:.3;pointer-events:none;}
.dyn-tip .tip-zoom{display:block;margin-top:8px;width:100%;background:color-mix(in srgb,var(--acc) 14%,transparent);border:1px solid color-mix(in srgb,var(--acc) 42%,transparent);color:var(--acc);border-radius:8px;padding:7px 9px;font-family:var(--body);font-size:11.5px;font-weight:700;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;}
.dyn-tip .tip-zoom:active{background:color-mix(in srgb,var(--acc) 28%,transparent);}
.dyn-daydel{display:block;margin-top:10px;width:100%;background:rgba(251,113,133,0.12);border:1px solid rgba(251,113,133,0.4);color:#FB7185;border-radius:10px;padding:9px 12px;font-family:var(--body);font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent;}
.dyn-daydel:active{background:rgba(251,113,133,0.28);}
.gsplit-row{display:flex;align-items:center;gap:9px;margin-top:10px;}
/* Значок пола у участника в списке (оценка по имени) — те же цвета, что
   «Пол участников» в статистике. */
.gv .gsex{font-family:var(--mono);font-weight:700;font-size:13px;margin-left:6px;}
.gv .gsex.f{color:#F786C1;text-shadow:0 0 9px rgba(236,72,153,0.5);}
.gv .gsex.m{color:#7DB8F8;text-shadow:0 0 9px rgba(59,130,246,0.5);}
.gsplit-row .gpct{font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:.04em;white-space:nowrap;}
.gsplit-row .gft{color:#F786C1;text-shadow:0 0 9px rgba(236,72,153,0.5);}
.gsplit-row .gmt{color:#7DB8F8;text-shadow:0 0 9px rgba(59,130,246,0.5);}
.gsplit{flex:1;display:flex;height:8px;border-radius:4px;overflow:hidden;position:relative;}
.gsplit .gf{background:#EC4899;box-shadow:0 0 9px rgba(236,72,153,0.55);transition:width .7s cubic-bezier(.22,1,.36,1);}
.gsplit .gm{flex:1;background:#3B82F6;box-shadow:0 0 9px rgba(59,130,246,0.55);}
.ch-rm svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px;margin-right:4px;}
.tgsheet-apply svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2.5px;margin-right:7px;}
.ghost-slot{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;margin-bottom:12px;padding:12px;background:rgba(255,255,255,0.025);border:1.5px dashed var(--line-strong);border-radius:14px;color:var(--ink-mute);font-family:var(--body);font-size:13px;font-weight:700;cursor:pointer;transition:border-color .2s,color .2s,background .2s;-webkit-tap-highlight-color:transparent;}
.ghost-slot svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.ghost-slot:active{background:rgba(255,255,255,0.06);color:var(--ink);border-color:var(--acc);}
.btn.bico{display:inline-flex;align-items:center;justify-content:center;gap:7px;}
.btn.bico svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.dyn-tip .tip-hint{margin-top:5px;font-size:10px;color:rgba(255,255,255,0.45);text-align:center;white-space:nowrap;}

/* Шкала рефералов «Пригласи друга» (порт xp-бара success-страницы, см.
   _ticket_extras.html; неймспейс rxp — .xp-* занят XP профиля). Круг = 5
   друзей; полный круг остаётся фоном (base), новая жидкость нового цвета
   наливается поверх. Цвета круга — через --rc/--rh (дефолт = акцент темы). */
.rxp-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:10px;}
.rxp-ttl{font-family:var(--mono);font-size:10px;letter-spacing:0.18em;text-transform:uppercase;color:var(--ink);font-weight:700;}
.rxp-frac{font-family:var(--mono);font-size:14px;font-weight:700;color:var(--ink);}
.rxp-track{position:relative;height:18px;border-radius:999px;overflow:hidden;background:rgba(0,0,0,0.30);border:1px solid var(--line);box-shadow:inset 0 2px 5px rgba(0,0,0,0.45),inset 0 -1px 0 rgba(255,255,255,0.05);}
.rxp-base{position:absolute;inset:0;width:100%;border-radius:999px;background:linear-gradient(180deg,var(--rh,var(--acc)) 0%,var(--rc,var(--acc)) 55%,rgba(0,0,0,0.25) 130%);box-shadow:inset 0 1px 0 rgba(255,255,255,0.4);opacity:0.92;}
.rxp-fill{position:relative;height:100%;width:var(--p,0%);min-width:16px;border-radius:999px;overflow:hidden;background:linear-gradient(180deg,var(--rh,var(--acc)) 0%,var(--rc,var(--acc)) 55%,rgba(0,0,0,0.25) 130%);box-shadow:0 0 14px -2px var(--rc,var(--acc)),inset 0 1px 0 rgba(255,255,255,0.55);animation:rxp-grow 1.15s cubic-bezier(.22,1,.36,1) both;}
.rxp-fill::after{content:'';position:absolute;top:0;left:0;right:0;height:52%;background:linear-gradient(180deg,rgba(255,255,255,0.5),rgba(255,255,255,0));border-radius:999px 999px 40% 40%;}
.rxp-fill::before{content:'';position:absolute;inset:-1px;background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,0.55) 50%,transparent 62%);transform:translateX(-130%);animation:rxp-sheen 3.4s ease-in-out infinite;will-change:transform;}
.rxp-b{position:absolute;bottom:-4px;left:var(--x,50%);width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,0.6);animation:rxp-bub 2.9s var(--d,0s) ease-in infinite;will-change:transform,opacity;}
.rxp-edge{position:absolute;top:50%;right:-2px;width:10px;height:10px;transform:translateY(-50%);border-radius:50%;background:radial-gradient(circle,var(--rh,var(--acc)) 0%,transparent 70%);filter:blur(1px);animation:rxp-pulse 2.2s ease-in-out infinite;will-change:opacity,transform;}
.rxp-info{margin-top:10px;font-size:12.5px;color:var(--ink-mute);}
@keyframes rxp-grow{from{width:0;}to{width:var(--p,0%);}}
@keyframes rxp-sheen{0%{transform:translateX(-130%);}55%,100%{transform:translateX(130%);}}
@keyframes rxp-bub{0%{transform:translateY(0) scale(0.7);opacity:0;}20%{opacity:0.85;}100%{transform:translateY(-18px) scale(1);opacity:0;}}
@keyframes rxp-pulse{0%,100%{opacity:0.5;transform:translateY(-50%) scale(0.85);}50%{opacity:1;transform:translateY(-50%) scale(1.2);}}
@media (prefers-reduced-motion:reduce){.rxp-fill{animation:none;}.rxp-fill::before,.rxp-b,.rxp-edge{animation:none;}.rxp-b,.rxp-edge{display:none;}}

/* Билет-купон «мои билеты» в разделе «Пригласи друга»: единое полотно
   билета, пунктирная линия отрыва между корешком (множитель шанса) и телом
   (счётчик). Блик едет по ВСЕМУ билету; сзади дышит глоу-слой (.tktw::after,
   только opacity — текст не пере-растрируется). */
.tktw{position:relative;display:block;width:88%;margin-left:auto;margin-right:auto;z-index:0;}
.tktw::after{content:'';position:absolute;inset:0;border-radius:14px;transform:rotate(-1.5deg);z-index:-1;box-shadow:0 0 30px -2px rgba(251,191,36,0.65);opacity:0.25;animation:tkt-glow 2.2s ease-in-out infinite;pointer-events:none;will-change:opacity;}
@keyframes tkt-glow{0%,100%{opacity:0.25;}50%{opacity:1;}}
.tkt{position:relative;display:flex;width:100%;box-sizing:border-box;transform:rotate(-1.5deg);border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#3b2c07,#241a04);border:1px solid rgba(251,191,36,0.55);}
.tkt-stub{flex-shrink:0;padding:12px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;}
.tkt-body{flex:1;min-width:0;border-left:1px dashed rgba(251,191,36,0.5);padding:12px 17px;display:flex;flex-direction:column;justify-content:center;gap:3px;text-align:left;}
.tkt-x{font-family:var(--mono);font-size:24px;font-weight:800;color:#FDE68A;line-height:1;text-shadow:0 0 16px rgba(251,191,36,0.55);}
.tkt-xl{font-family:var(--mono);font-size:8.5px;letter-spacing:0.18em;text-transform:uppercase;color:rgba(253,230,138,0.6);margin-top:4px;}
.tkt-t{font-family:var(--mono);font-size:13px;font-weight:800;color:#FDE68A;}
.tkt-s{font-size:11.5px;color:rgba(253,230,138,0.72);line-height:1.35;}
.tkt::after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,0.2) 50%,transparent 60%);transform:translateX(-140%);animation:tkt-sheen 6.5s ease-in-out infinite;will-change:transform;pointer-events:none;}
@keyframes tkt-sheen{0%{transform:translateX(-140%);}70%,100%{transform:translateX(140%);}}
@media (prefers-reduced-motion:reduce){.tkt::after,.tktw::after{animation:none;}}

/* Тикающий таймер до итогов в карточке розыгрыша (live/scheduled). */
.cdw{margin:16px 0 2px;text-align:center;}
.cd{font-family:var(--display);font-weight:700;font-size:36px;line-height:1;color:var(--ink);letter-spacing:-0.02em;font-variant-numeric:tabular-nums;text-shadow:0 0 26px color-mix(in srgb,var(--acc) 55%,transparent);}
.cd-l{margin-top:7px;font-family:var(--mono);font-size:10px;letter-spacing:0.22em;text-transform:uppercase;color:var(--ink-faint);}

/* Hero экрана cojoin-приглашения: аватар автора с глоу-кольцом + «приглашение от». */
.cjhero{display:flex;flex-direction:column;align-items:center;gap:9px;margin-top:16px;text-align:center;}
.cjav{width:68px;height:68px;border-radius:50%;background-size:cover;background-position:center;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:800;font-size:26px;color:#fff;box-shadow:0 10px 26px -12px rgba(0,0,0,0.7);flex-shrink:0;}
.cjhero .cjl{font-family:var(--mono);font-size:9.5px;letter-spacing:0.22em;text-transform:uppercase;color:var(--ink-faint);}
.cjhero .cjn{font-family:var(--display);font-weight:800;font-size:19px;margin-top:3px;}
.cjhero .cjsub{margin-top:6px;font-size:12.5px;color:var(--ink-mute);max-width:280px;line-height:1.45;}
/* «Афиша» розыгрыша: название по центру, под тонкой чертой — факты с
   mono-ярлыками (итоги/победители), разделённые вертикальным hairline. */
.cjcard{margin-top:16px;padding:16px 14px 13px;border-radius:18px;border:1px solid var(--line-strong);background:linear-gradient(180deg,rgba(255,255,255,0.045),rgba(255,255,255,0.015));text-align:center;}
.cjgv{font-family:var(--display);font-weight:800;font-size:17px;line-height:1.3;overflow-wrap:break-word;}
.cjfacts{display:flex;align-items:stretch;justify-content:center;gap:16px;margin-top:13px;padding-top:12px;border-top:1px solid var(--line);}
.cjf{flex:1;min-width:0;}
.cjf-l{font-family:var(--mono);font-size:9px;letter-spacing:0.2em;text-transform:uppercase;color:var(--ink-faint);}
.cjf-v{margin-top:4px;font-size:13.5px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink);}
.cjf-sep{width:1px;background:var(--line);flex-shrink:0;}

/* ---- QR-код участия (карточка запущенного) ---- */
.qrbx{display:flex;flex-direction:column;align-items:center;margin-top:14px;}
.qrhost{width:min(72vw,248px);aspect-ratio:1;}
.qrhost svg{display:block;width:100%;height:100%;filter:drop-shadow(0 12px 30px rgba(90,84,255,0.38)) drop-shadow(0 2px 8px rgba(0,0,0,0.35));}
.qrrow{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px;max-width:min(84vw,290px);}
.qrdl{flex-shrink:0;height:32px;padding:0 13px;border-radius:99px;display:flex;align-items:center;justify-content:center;cursor:pointer;background:rgba(255,255,255,0.05);border:1px solid var(--line);color:var(--acc);transition:transform .15s ease,background .15s ease;}
.qrdl:active{transform:scale(0.94);background:rgba(255,255,255,0.10);}
.qrdl svg{width:15px;height:15px;}
.qrhint{font-size:10.5px;line-height:1.45;color:var(--ink-faint);text-align:center;margin-top:9px;white-space:nowrap;max-width:94vw;overflow:hidden;text-overflow:ellipsis;}
.qrsel{display:flex;align-items:center;gap:7px;min-width:0;height:32px;box-sizing:border-box;padding:0 14px;border-radius:99px;font-size:11.5px;cursor:pointer;background:rgba(255,255,255,0.05);border:1px solid var(--line);color:var(--ink);max-width:min(80vw,270px);}
.qrsel:active{background:rgba(255,255,255,0.10);}
.qrsel-l{flex-shrink:0;color:var(--ink-faint);font-weight:500;}
.qrsel-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;}
.qrsel-c{flex-shrink:0;color:var(--acc);font-size:9px;}

/* ============================================================================
   APPLE LIQUID GLASS (MAX EDITION) — экран Профиля (оптимизировано для 60fps)
   Чистый многослойный MAX-фон без тяжёлых blur(64px)-текстур в VRAM (0% GPU в покое,
   нет троттлинга при долгом использовании), единые тонкие 360° стеклянные грани.
   ============================================================================ */
html.is-prof{
  background:#3C72EC!important;
}
body.is-prof{
  --bg:transparent; --acc:#38BDF8; --acc-strong:#4738EB; --signal:#58ACEA;
  --ink:#FFFFFF; --ink-mute:rgba(255,255,255,0.95); --ink-faint:rgba(255,255,255,0.82);
  --line:rgba(255,255,255,0.26); --line-strong:rgba(255,255,255,0.46);
  background:transparent!important;
}
/* Чистый яркий белый текст описаний и карточек по всему приложению Liquid Glass */
body.is-prof .mdbox,
body.is-prof .bx .mdbox,
body.is-prof .lg-top-desc .mdbox,
body.is-prof .mp-desc,
body.is-prof .note{
  color:#FFFFFF!important;
  text-shadow:0 1px 6px rgba(6,12,42,0.36);
}
/* Единый контрастный синий цвет ссылок по всему приложению Liquid Glass */
body.is-prof .rte a,
body.is-prof .mdbox a,
body.is-prof .val a,
body.is-prof .mp-desc a,
body.is-prof .faq-a a,
body.is-prof .note a,
body.is-prof .desc a{
  color:#38BDF8;font-weight:600;
  text-decoration:underline;text-decoration-color:rgba(56,189,248,0.88);
  text-decoration-thickness:1.4px;text-underline-offset:2.5px;
  text-shadow:0 1px 8px rgba(4,12,44,0.72);
}
body.is-prof.pad{padding-top:0!important;}
body.is-prof #app{position:relative;z-index:2;}
body.is-prof .grain,body.is-prof .tophalo{display:none!important;}
/* Сочная многослойная палитра MAX (запечённые мягкие сферы через radial-gradient:
   идентичные яркие цвета и розовый центр, но без 4 тяжёлых GPU blur(64px) слоёв и перегрева) */
body.is-prof .atm{
  z-index:0;
  background:
    radial-gradient(85vw 85vw at 92% 8%,rgba(244,114,208,0.72) 0%,rgba(191,92,242,0.46) 28%,rgba(139,78,230,0.22) 54%,transparent 76%),
    radial-gradient(90vw 90vw at 8% 92%,rgba(76,194,255,0.68) 0%,rgba(62,148,255,0.38) 44%,transparent 74%),
    radial-gradient(82vw 82vw at 10% 18%,rgba(76,194,255,0.48) 0%,rgba(74,116,255,0.24) 48%,transparent 74%),
    radial-gradient(82vw 82vw at 92% 68%,rgba(240,111,210,0.52) 0%,rgba(166,85,238,0.28) 42%,transparent 72%),
    linear-gradient(148deg,#3B72F6 0%,#4548F0 34%,#7B3EE6 68%,#3CA4F8 100%);
}
body.is-prof .atm::before,body.is-prof .atm::after{display:none!important;animation:none!important;}

/* Режим энергосбережения (body.is-eco): статика без анимаций и backdrop-blur */
body.is-eco .ver-halo,body.is-eco .ver-ring,body.is-eco .ver-badge-lg,body.is-eco .ver-sp,body.is-eco .prof-ver-lit,
body.is-eco .prof-scene .ps-drift-a,body.is-eco .prof-scene .ps-drift-b,body.is-eco .prof-scene .ps-drift-c{
  animation:none!important;will-change:auto!important;
}
body.is-eco .prof-dbar,body.is-eco .prof-dbar .back,body.is-eco .prof-dbar .dbar-acts,
body.is-eco .prof-page .prof-ava-wrap,body.is-eco .prof-page .lg-hero,body.is-eco .prof-page .lg-tile,
body.is-eco .prof-page .ver-glass,body.is-eco .prof-page .lg-card,body.is-eco .prof-page .lg-details,
body.is-eco .prof-page .lg-mi,body.is-eco .prof-page .ver-msg,body.is-eco .lg-btn,body.is-eco .prof-modal .lpop-card{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
/* В энергосбережении (без blur-шейдеров и анимаций) — спокойная приглушённая палитра БЕЗ изменения border (0px сдвига раскладки) */
body.is-eco .atm::after{
  content:'';position:absolute;inset:0;pointer-events:none;background:rgba(10,18,52,0.18);
}
body.is-eco .prof-dbar{
  background:linear-gradient(180deg,rgba(36,56,128,0.92) 0%,rgba(28,44,108,0.88) 100%)!important;
  box-shadow:inset 0 -0.7px 0 rgba(255,255,255,0.20)!important;
}
body.is-eco .prof-dbar .back,body.is-eco .prof-dbar .dbar-acts{
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(140,178,255,0.10) 100%)!important;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.24)!important;
}
body.is-eco .prof-page .prof-ava-wrap{
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(116,158,240,0.14) 100%)!important;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.26)!important;
}
body.is-eco .lg-hero,body.is-eco .lg-tile,body.is-eco .ver-glass,body.is-eco .lg-card{
  background:linear-gradient(155deg,rgba(44,68,148,0.56) 0%,rgba(28,46,114,0.54) 54%,rgba(40,58,134,0.56) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.22),inset 0 0.7px 0.9px rgba(255,255,255,0.26)!important;
}
body.is-eco .lg-details,body.is-eco .lg-mi{
  background:linear-gradient(155deg,rgba(40,62,138,0.48) 0%,rgba(26,42,106,0.46) 56%,rgba(36,54,126,0.48) 100%)!important;
  box-shadow:0 10px 20px -12px rgba(8,14,44,0.40),inset 0 0 0 0.7px rgba(255,255,255,0.20),inset 0 0.6px 0.8px rgba(255,255,255,0.22)!important;
}
body.is-eco .lg-btn{
  background:linear-gradient(180deg,rgba(54,82,166,0.68) 0%,rgba(34,54,126,0.66) 100%)!important;
  box-shadow:0 8px 18px -10px rgba(8,14,44,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.26)!important;
}
body.is-eco .lg-btn::before{display:none!important;}
body.is-eco .lg-btn.lg-btn-acc{
  background:linear-gradient(180deg,#2B8DF6 0%,#1E64D8 100%)!important;
  box-shadow:0 8px 18px -8px rgba(30,100,216,0.48),inset 0 0 0 0.7px rgba(191,219,254,0.45)!important;
}
body.is-eco .prof-page .lg-mi.danger{
  background:linear-gradient(155deg,rgba(168,36,72,0.52),rgba(120,24,54,0.48) 56%,rgba(148,30,64,0.50))!important;
  box-shadow:0 10px 20px -12px rgba(8,14,44,0.40),inset 0 0 0 0.7px rgba(253,164,175,0.34)!important;
}
body.is-eco .prof-modal .lpop-card{
  background:linear-gradient(160deg,rgba(40,62,138,0.95) 0%,rgba(30,46,114,0.96) 54%,rgba(36,54,126,0.95) 100%)!important;
  box-shadow:0 22px 46px -14px rgba(8,14,44,0.58),inset 0 0 0 0.75px rgba(255,255,255,0.26),inset 0 0.7px 1px rgba(255,255,255,0.32)!important;
}
body.is-eco .prof-modal .xpop-top{
  background:linear-gradient(180deg,rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.02) 100%)!important;
  border-bottom-color:rgba(255,255,255,0.16)!important;
}
body.is-eco .xp-tabs-thumb{transition:none!important;}
.prof-page .lg-mi .t small{color:rgba(240,248,255,0.72);}
/* Нативный синий тумблер в стиле iPhone (iOS System Blue #007AFF) */
.prof-page .tg{
  background:rgba(255,255,255,0.20);
  box-shadow:inset 0 1px 2px rgba(6,12,42,0.28),inset 0 0 0 0.6px rgba(255,255,255,0.22);
}
.prof-page .tg.on{
  background:linear-gradient(180deg,#0A84FF 0%,#007AFF 100%);
  box-shadow:0 0 14px -2px rgba(0,122,255,0.72),inset 0 1px 0 rgba(255,255,255,0.34);
}
.prof-page .tg::after{box-shadow:0 2px 6px rgba(0,0,0,0.34);}

/* Единые тонкие 360° стеклянные грани (дедуплицированный mask-composite) */
.prof-dbar .back::before,.prof-dbar .dbar-acts::before,.prof-page .prof-ava-wrap::before,
.prof-page .lg-hero::after,.prof-page .lg-tile::before,.prof-page .ver-glass::before,.prof-page .lg-card::before,
.prof-rank-pill::before,.lg-btn::before,.prof-page .lg-details::before,.prof-page .lg-mi::before,
.prof-modal .lpop-card::before,body.is-prof .toast::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.prof-page .lg-hero::after,.prof-page .ver-glass::before,.prof-page .lg-card::before{
  padding:0.65px;z-index:4;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
}
.prof-page .lg-tile::before,.prof-modal .lpop-card::before{
  padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.54) 0deg,rgba(255,255,255,0.32) 48deg,rgba(255,255,255,0.24) 90deg,rgba(255,255,255,0.34) 132deg,rgba(255,255,255,0.52) 180deg,rgba(255,255,255,0.34) 228deg,rgba(255,255,255,0.24) 270deg,rgba(255,255,255,0.32) 312deg,rgba(255,255,255,0.54) 360deg);
}
.prof-dbar .back::before,.prof-dbar .dbar-acts::before,.lg-btn::before,.prof-rank-pill::before{
  padding:0.6px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.34) 54deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.36) 126deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.36) 234deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.34) 306deg,rgba(255,255,255,0.56) 360deg);
}
.prof-page .prof-ava-wrap::before,body.is-prof .toast::before{
  padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.62) 0deg,rgba(255,255,255,0.36) 58deg,rgba(255,255,255,0.28) 90deg,rgba(255,255,255,0.38) 122deg,rgba(255,255,255,0.60) 180deg,rgba(255,255,255,0.38) 238deg,rgba(255,255,255,0.28) 270deg,rgba(255,255,255,0.36) 302deg,rgba(255,255,255,0.62) 360deg);
}
.prof-page .lg-details::before,.prof-page .lg-mi::before{
  padding:0.55px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.46) 0deg,rgba(255,255,255,0.28) 62deg,rgba(255,255,255,0.20) 90deg,rgba(255,255,255,0.28) 118deg,rgba(255,255,255,0.44) 180deg,rgba(255,255,255,0.28) 242deg,rgba(255,255,255,0.20) 270deg,rgba(255,255,255,0.28) 298deg,rgba(255,255,255,0.46) 360deg);
}

/* Прозрачная бесцветная стеклянная шапка профиля */
.prof-dbar{
  margin:0 -14px 16px!important;
  padding:calc(14px + env(safe-area-inset-top,0px)) 14px 14px!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.05) 0%,rgba(255,255,255,0.01) 100%)!important;
  backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;
  border-bottom:0.5px solid rgba(255,255,255,0.18)!important;
  box-shadow:0 10px 24px -16px rgba(0,0,0,0.34),inset 0 -1px 0 rgba(0,0,0,0.16)!important;
}
.prof-dbar .dt .k{color:rgba(240,248,255,0.78);}
.prof-dbar .dt h1{text-shadow:0 2px 12px rgba(6,12,42,0.45);}
.prof-dbar .back,.prof-dbar .dbar-acts{
  position:relative;overflow:hidden;height:38px;border-radius:999px;border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.07) 0%,rgba(255,255,255,0.01) 52%,rgba(255,255,255,0.04) 100%);
  box-shadow:0 10px 22px -10px rgba(0,0,0,0.36),inset 0 0.6px 0.9px rgba(255,255,255,0.38),inset 0 -2px 5px -1px rgba(255,255,255,0.32),inset 0 0 6px -1.5px rgba(255,255,255,0.18),inset 0.8px 0 1.6px rgba(0,0,0,0.18),inset -0.8px 0 1.6px rgba(0,0,0,0.18);
  backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
}
.prof-dbar .back{width:38px;}
.prof-dbar .dbar-acts{display:flex;align-items:center;gap:2px;padding:0 5px;}
.prof-dbar .dbar-ic{
  width:34px;height:30px;padding:0;border:0;border-radius:999px;background:transparent;box-shadow:none;
  color:rgba(255,255,255,0.96);transition:background .16s ease,transform .12s ease;
}
.prof-dbar .dbar-ic:hover{background:rgba(255,255,255,0.12);border:0;}
.prof-dbar .dbar-ic:active{background:rgba(255,255,255,0.20);transform:scale(0.92);}
.prof-dbar .dbar-svg{
  width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.1;
  stroke-linecap:round;stroke-linejoin:round;display:block;
  filter:drop-shadow(0 1px 4px rgba(6,12,42,0.38));
}

.prof-page{position:relative;z-index:2;padding-bottom:16px;}
.prof-page .glabel{position:relative;z-index:2;color:rgba(240,248,255,0.88);letter-spacing:0.16em;margin-top:20px;text-shadow:0 1px 8px rgba(6,12,42,0.45);}
.prof-page .prof-stats,.prof-page .menu{position:relative;z-index:2;}

/* Объёмные верхние стеклянные блоки: Hero + Верификация + Карточки */
.prof-page .lg-hero,.prof-page .ver-glass,.prof-page .lg-card{
  position:relative;z-index:2;overflow:hidden;border:0!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%)!important;
  backdrop-filter:blur(12px) brightness(0.93)!important;
  -webkit-backdrop-filter:blur(12px) brightness(0.93)!important;
  box-shadow:
    0 24px 48px -14px rgba(4,8,30,0.56),
    0 6px 18px -6px rgba(4,8,30,0.32),
    inset 0 0.65px 1px rgba(255,255,255,0.40),
    inset 0 -2.4px 6.5px -1px rgba(255,255,255,0.30),
    inset 0 0 8px -2px rgba(255,255,255,0.18),
    inset 0.9px 0 1.8px rgba(0,0,0,0.20),
    inset -0.9px 0 1.8px rgba(0,0,0,0.20)!important;
  transform:translateZ(0);-webkit-transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.prof-page .lg-hero{border-radius:30px;padding:24px 18px 22px;margin:4px 0 14px;}
.prof-page .lg-hero::before{display:none;}
.prof-page .ver-glass,.prof-page .lg-card{border-radius:26px;}

/* Аватарка в чистой стеклянной рамке Liquid Glass (без пузырька уровня) */
.prof-page .prof-ava-wrap{
  position:relative;width:108px;height:108px;padding:5px;border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,0.14) 0%,rgba(4,8,28,0.10) 52%,rgba(255,255,255,0.10) 100%)!important;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 18px 36px -12px rgba(4,8,30,0.58),0 4px 12px -4px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.50),inset 0 -2.2px 6px -1px rgba(255,255,255,0.34),inset 0 0 7px -2px rgba(255,255,255,0.18),inset 0.8px 0 1.6px rgba(0,0,0,0.20),inset -0.8px 0 1.6px rgba(0,0,0,0.20);
}
.prof-page .prof-ava{border:1px solid rgba(255,255,255,0.22);box-shadow:inset 0 1px 3px rgba(0,0,0,0.26);}
.prof-page .prof-lvl{display:none!important;}

/* Ник + галочка / пустое углублённое гнездо (чистая GPU-анимация без filter repaint) */
.prof-page .prof-name{
  display:flex;width:100%;align-items:center;justify-content:center;gap:8px;
  font-size:22px;line-height:1.22;margin:0;color:#fff;text-shadow:0 2px 14px rgba(6,12,42,0.52);
}
.prof-page .prof-uname{color:rgba(240,248,255,0.76);text-shadow:0 1px 8px rgba(6,12,42,0.4);}
.prof-ver-svg{display:block;width:100%;height:100%;}
.prof-ver-slot{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;padding:0;margin:0;border:0;background:none;cursor:pointer;flex-shrink:0;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,0.34));transition:transform .16s ease;
}
.prof-ver-slot:hover{transform:scale(1.1);}
.prof-ver-slot:active{transform:scale(0.92);}
.prof-ver-lit{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;flex-shrink:0;
  filter:drop-shadow(0 0 7px rgba(57,169,249,0.90)) drop-shadow(0 0 14px rgba(59,91,255,0.55));
  animation:profVerGlow 3.2s ease-in-out infinite;
}
@keyframes profVerGlow{0%,100%{transform:scale(1);opacity:0.90;}50%{transform:scale(1.07);opacity:1;}}
@media (prefers-reduced-motion:reduce){.prof-ver-lit{animation:none;}}

/* Бесцветная стеклянная пилюля ранга */
.prof-rank-pill{
  position:relative;overflow:hidden;border:0;
  display:flex;width:fit-content;max-width:100%;align-items:center;justify-content:center;gap:7px;
  margin:12px auto 0;padding:6px 14px 6px 10px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;
  color:#fff;text-shadow:0 1px 6px rgba(6,12,42,0.45);
  background:linear-gradient(180deg,rgba(255,255,255,0.08),rgba(255,255,255,0.01) 52%,rgba(255,255,255,0.04));
  box-shadow:0 8px 18px -10px rgba(0,0,0,0.34),inset 0 0.55px 0.8px rgba(255,255,255,0.36),inset 0 -1.6px 4px -1px rgba(255,255,255,0.26),inset 0.8px 0 1.5px rgba(0,0,0,0.20),inset -0.8px 0 1.5px rgba(0,0,0,0.20);
}
.prof-rank-pill .rk-svg{width:17px;height:17px;flex-shrink:0;}
.rk-svg{display:block;width:22px;height:22px;}

.prof-page .prof-xpbar{
  position:relative;height:9px;margin:14px auto 8px;max-width:254px;
  background:rgba(255,255,255,0.18);border:1px solid rgba(255,255,255,0.34);
  box-shadow:inset 0 2px 5px rgba(15,23,80,0.26),0 1px 0 rgba(255,255,255,0.28);
}
.prof-page .prof-xpfill{
  position:relative;background:linear-gradient(90deg,#7DD3FC 0%,#39A9F9 45%,#8B5CF6 100%)!important;
  box-shadow:0 0 14px rgba(125,211,252,0.75),inset 0 1px 1px rgba(255,255,255,0.85);
}
.prof-page .prof-xptext{color:rgba(240,248,255,0.82);text-shadow:0 1px 6px rgba(6,12,42,0.4);}
.prof-page .xp-q{
  width:19px;height:19px;background:rgba(255,255,255,0.20);border:1px solid rgba(255,255,255,0.46);
  color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,0.65);
}

/* Кастомные стеклянные иконки в попапе XP и рангов */
.xp-ic-badge{
  width:30px;height:30px;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  color:var(--ic,#7DD3FC);
  background:radial-gradient(120% 110% at 28% 20%,color-mix(in srgb,var(--ic,#39A9F9) 32%,rgba(255,255,255,0.16)),rgba(255,255,255,0.06));
  border:1px solid color-mix(in srgb,var(--ic,#39A9F9) 52%,rgba(255,255,255,0.32));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.58),0 6px 14px -8px var(--ic,#39A9F9);
}
.xp-ic-badge svg{width:16px;height:16px;filter:drop-shadow(0 0 5px color-mix(in srgb,var(--ic,#39A9F9) 55%,transparent));}
.prof-modal .xp-em{
  width:38px;height:38px;border-radius:12px;
  background:radial-gradient(120% 110% at 28% 18%,rgba(255,255,255,0.28),rgba(255,255,255,0.08));
  border:1px solid rgba(255,255,255,0.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.65),0 8px 18px -8px rgba(6,12,42,0.52);
}
.prof-modal .xp-em .rk-svg{width:25px;height:25px;}
.prof-modal .xp-rank.me{background:rgba(255,255,255,0.16);border:1px solid rgba(255,255,255,0.34);}
.prof-modal .xp-rank.me .xp-rn{color:#fff;}
.prof-modal .xp-rv{color:#BAE6FD;}

/* Объёмные Stat плитки Liquid Glass */
.prof-page .prof-stats{gap:10px;margin:14px 0 18px;}
.prof-page .lg-tile{
  position:relative;overflow:hidden;border-radius:22px;padding:15px 8px;border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.05) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.03) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 38px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.6px 0.9px rgba(255,255,255,0.38),inset 0 -2px 5.5px -1px rgba(255,255,255,0.28),inset 0 0 7px -2px rgba(255,255,255,0.16),inset 0.8px 0 1.6px rgba(0,0,0,0.18),inset -0.8px 0 1.6px rgba(0,0,0,0.18);
  transform:translateZ(0);-webkit-transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.prof-page .lg-tile b{font-size:20px;color:#fff;text-shadow:0 2px 12px rgba(6,12,42,0.48);}
.prof-page .lg-tile span{color:rgba(240,248,255,0.82);text-shadow:0 1px 6px rgba(6,12,42,0.35);}

/* Витрина 3D-галочки внутри карточки верификации (лёгкая GPU-анимация transform/opacity; в body.is-eco отключается) */
.prof-page .ver-hero{background:none;border-bottom:1px solid rgba(255,255,255,0.20);}
.prof-page .ver-hero::before{display:none;}
.prof-page .ver-halo{
  width:74px;height:74px;border-radius:50%;filter:none;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.85),rgba(125,211,252,0.75) 22%,transparent 44%,rgba(192,132,252,0.78) 68%,transparent 88%,rgba(255,255,255,0.85));
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));
  mask:radial-gradient(farthest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px));
  animation:verOrbitSpin 4.2s linear infinite;opacity:0.92;
}
.prof-page .ver-ring{width:74px;height:74px;border:1px solid rgba(255,255,255,0.42);box-shadow:inset 0 0 12px rgba(255,255,255,0.14);}
.prof-page .ver-badge-lg{filter:drop-shadow(0 8px 16px rgba(6,12,42,0.48)) drop-shadow(0 0 1px rgba(255,255,255,0.8));}
.prof-page .ver-sp{fill:#FFFFFF;filter:drop-shadow(0 0 4px rgba(255,255,255,0.85));}
@keyframes verOrbitSpin{to{transform:rotate(360deg);}}
.prof-page .ver-hero-t{background:none;-webkit-text-fill-color:#fff;color:#fff;text-shadow:0 2px 12px rgba(6,12,42,0.48);}
.prof-page .ver-hero-s{color:rgba(240,248,255,0.84);text-shadow:0 1px 6px rgba(6,12,42,0.35);}
/* Визуальный 2-сегментный прогресс + связанный чеклист шагов (1 — 2) без лишнего текста */
.prof-page .ver-prog{
  display:flex;align-items:center;justify-content:center;gap:8px;margin:13px auto 0;max-width:136px;
}
.prof-page .ver-seg{
  flex:1;height:5px;border-radius:999px;
  background:rgba(255,255,255,0.16);border:0.6px solid rgba(255,255,255,0.30);
  box-shadow:inset 0 1px 2px rgba(6,12,42,0.28);
  transition:background .28s ease,border-color .28s ease,box-shadow .28s ease;
}
.prof-page .ver-seg.done{
  background:linear-gradient(90deg,#7DD3FC 0%,#39A9F9 100%);
  border-color:rgba(255,255,255,0.68);
  box-shadow:0 0 12px rgba(125,211,252,0.75),inset 0 1px 0 rgba(255,255,255,0.75);
}
.prof-page .ver-steps{position:relative;}
.prof-page .ver-row{
  position:relative;gap:10px;padding:13px 14px;border-top:none;border-bottom:none;
}
.prof-page .ver-steps .ver-row + .ver-row{
  background-image:linear-gradient(90deg,transparent 0,transparent 46px,rgba(255,255,255,0.16) 46px,rgba(255,255,255,0.16) calc(100% - 14px),transparent calc(100% - 14px));
  background-size:100% 1px;background-repeat:no-repeat;background-position:top;
}
.prof-page .ver-steps .ver-row:first-child::after,
.prof-page .ver-steps .ver-row:last-child::before{
  content:'';position:absolute;left:24.25px;width:1.5px;pointer-events:none;z-index:1;
  background:linear-gradient(180deg,rgba(255,255,255,0.44),rgba(255,255,255,0.24));
}
.prof-page .ver-steps.has-done .ver-row:first-child::after,
.prof-page .ver-steps.has-done .ver-row:last-child::before{
  background:linear-gradient(180deg,rgba(125,211,252,0.78),rgba(255,255,255,0.34));
}
.prof-page .ver-steps .ver-row:first-child::after{top:calc(50% + 12px);bottom:0;}
.prof-page .ver-steps .ver-row:last-child::before{top:0;bottom:calc(50% + 12px);}
.prof-page .ver-node{
  position:relative;z-index:2;flex-shrink:0;width:22px;height:22px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:10.5px;font-weight:700;line-height:1;color:rgba(255,255,255,0.92);
  background:linear-gradient(180deg,rgba(255,255,255,0.16),rgba(255,255,255,0.04));
  border:0.9px solid rgba(255,255,255,0.48);
  box-shadow:0 4px 10px -4px rgba(4,8,30,0.42),inset 0 0.7px 0.9px rgba(255,255,255,0.48);
}
.prof-page .ver-node.done{
  color:#fff;font-size:11.5px;font-weight:800;
  background:linear-gradient(145deg,rgba(57,169,249,0.88),rgba(56,189,248,0.68));
  border-color:rgba(255,255,255,0.78);
  box-shadow:0 0 14px -2px rgba(57,169,249,0.78),inset 0 1px 1px rgba(255,255,255,0.75);
}
.prof-page .ver-row.done .lbl .t{color:rgba(240,248,255,0.72);}
.prof-page .ver-row .lbl .t{color:#fff;text-shadow:0 1px 6px rgba(6,12,42,0.35);}
.prof-page .ver-row:first-of-type{border-top:none;}
.prof-page .ver-pulse-focus{animation:verFocusPulse 1.15s ease;}
@keyframes verFocusPulse{
  0%{box-shadow:0 22px 48px -18px rgba(6,10,42,0.54),0 0 0 0 rgba(186,230,253,0.9),inset 0 1.5px 2px rgba(255,255,255,0.75);}
  45%{box-shadow:0 22px 48px -18px rgba(6,10,42,0.54),0 0 0 5px rgba(186,230,253,0.55),0 0 38px -2px rgba(57,169,249,0.85),inset 0 1.5px 2px rgba(255,255,255,0.9);}
  100%{box-shadow:0 22px 48px -18px rgba(6,10,42,0.54),inset 0 1.5px 2px rgba(255,255,255,0.72);}
}

/* Бесцветные стеклянные кнопки-пилюли */
.lg-btn{
  position:relative;overflow:hidden;flex-shrink:0;padding:8px 15px;border-radius:999px;border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.09),rgba(255,255,255,0.02) 54%,rgba(255,255,255,0.05) 100%);
  color:#fff;font-family:var(--display);font-size:12px;font-weight:700;letter-spacing:0.01em;cursor:pointer;
  box-shadow:0 8px 18px -8px rgba(0,0,0,0.34),inset 0 0.6px 0.9px rgba(255,255,255,0.40),inset 0 -2px 5px -1px rgba(255,255,255,0.32),inset 0 0 6px -1.5px rgba(255,255,255,0.18),inset 0.75px 0 1.5px rgba(0,0,0,0.18),inset -0.75px 0 1.5px rgba(0,0,0,0.18);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
  text-shadow:0 1px 6px rgba(6,12,42,0.50);
  transition:transform .14s ease,filter .18s ease,box-shadow .18s ease;
}
.lg-btn-acc{
  background:linear-gradient(180deg,rgba(255,255,255,0.14) 0%,rgba(255,255,255,0.03) 54%,rgba(255,255,255,0.08) 100%);
  box-shadow:0 10px 22px -8px rgba(0,0,0,0.38),inset 0 0.65px 1px rgba(255,255,255,0.48),inset 0 -2px 5px -1px rgba(255,255,255,0.34),inset 0 0 6px -1.5px rgba(255,255,255,0.18),inset 0.85px 0 1.7px rgba(0,0,0,0.20),inset -0.85px 0 1.7px rgba(0,0,0,0.20);
}
.lg-btn:active{transform:scale(0.95);}
.lg-btn:disabled{opacity:0.5;cursor:not-allowed;}

/* Тонкие и лёгкие нижние блоки Liquid Glass (сохранена иерархия) */
.prof-page .lg-details,.prof-page .lg-mi{
  position:relative;z-index:2;overflow:hidden;border-radius:20px;border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.045),rgba(4,8,28,0.07) 54%,rgba(255,255,255,0.025));
  backdrop-filter:blur(8px) brightness(0.95);-webkit-backdrop-filter:blur(8px) brightness(0.95);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.48),0 4px 12px -4px rgba(4,8,30,0.26),inset 0 0.5px 0.8px rgba(255,255,255,0.30),inset 0 -1.6px 4.5px -1px rgba(255,255,255,0.23),inset 0 0 6px -2px rgba(255,255,255,0.14),inset 0.65px 0 1.3px rgba(0,0,0,0.16),inset -0.65px 0 1.3px rgba(0,0,0,0.16);
  transform:translateZ(0);-webkit-transform:translateZ(0);backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.prof-page .lg-details summary{color:#fff;text-shadow:0 1px 6px rgba(6,12,42,0.4);}
.prof-page .lg-details .fmt-body,.prof-page .lg-details .hlp-s{color:rgba(240,248,255,0.84);}
.prof-page .lg-mi .t{color:#fff;text-shadow:0 1px 6px rgba(6,12,42,0.35);}
.prof-page .lg-mi.danger{
  background:linear-gradient(155deg,rgba(225,29,72,0.48) 0%,rgba(159,18,57,0.38) 54%,rgba(190,18,60,0.40) 100%);
  border:1px solid rgba(251,113,133,0.62);
  box-shadow:0 16px 32px -14px rgba(136,19,55,0.58),0 0 20px -8px rgba(244,63,94,0.45),inset 0 0.75px 1px rgba(255,228,230,0.52),inset 0 -2px 5px -1px rgba(251,113,133,0.34);
}
.prof-page .lg-mi.danger.is-pressed{
  background:linear-gradient(155deg,rgba(244,63,94,0.60) 0%,rgba(190,18,60,0.50) 54%,rgba(225,29,72,0.52) 100%)!important;
}
.prof-page .lg-mi.danger .t{color:#FFF1F2;}
.prof-page .lg-mi.danger .t small{color:rgba(255,228,230,0.84);}
.prof-page .lg-mi.danger::before{display:none;}
.prof-page .ver-msg-slot:empty{display:none;}
.prof-page .ver-msg-slot{padding:0 14px 12px;}
.prof-page .ver-msg{
  border-radius:14px;background:rgba(255,255,255,0.08);border:0.65px solid rgba(255,255,255,0.22);color:#fff;
  box-shadow:inset 0 0.7px 1px rgba(255,255,255,0.26);margin:0;
}
.prof-page .ver-msg.err{background:rgba(251,113,133,0.18);border-color:rgba(251,113,133,0.42);color:#fff;}
.prof-page .ver-msg.ok{background:rgba(52,211,153,0.16);border-color:rgba(167,243,208,0.38);color:#fff;}
/* Встроенный аккордеон помощи «Нет отпечатка / Face ID или ошибка?» внутри самой карточки верификации */
.prof-page .ver-guide-in{
  border-top:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.025);
}
.prof-page .ver-guide-in summary{
  list-style:none;display:flex;align-items:center;gap:9px;
  padding:12px 15px;cursor:pointer;color:rgba(240,248,255,0.88);
  font-family:var(--body);font-size:12.5px;font-weight:600;line-height:1.25;
  text-shadow:0 1px 6px rgba(6,12,42,0.32);
  transition:background .15s ease,color .15s ease;
}
.prof-page .ver-guide-in summary::-webkit-details-marker{display:none;}
.prof-page .ver-guide-in summary:active{background:rgba(255,255,255,0.06);}
.prof-page .ver-guide-in .vg-ic{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex-shrink:0;color:rgba(186,230,253,0.90);}
.prof-page .ver-guide-in .vg-ic svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.prof-page .ver-guide-in .vg-t{flex:1;min-width:0;}
.prof-page .ver-guide-in .vg-chev{width:16px;height:16px;flex-shrink:0;color:rgba(240,248,255,0.65);transition:transform .2s ease;}
.prof-page .ver-guide-in[open] .vg-chev{transform:rotate(180deg);color:#fff;}
.prof-page .ver-guide-in[open] summary{color:#fff;}
.prof-page .ver-guide-in .fmt-body{
  padding:2px 15px 14px;border-top:0.6px solid rgba(255,255,255,0.08);
  color:rgba(240,248,255,0.84);
}
.prof-page .ver-guide-in .hlp-s{color:rgba(240,248,255,0.82);}

/* Спокойные сбалансированные стеклянные модалки в Apple Liquid Glass */
.prof-modal{
  background:rgba(6,12,38,0.36)!important;
  backdrop-filter:blur(12px) saturate(135%)!important;-webkit-backdrop-filter:blur(12px) saturate(135%)!important;
  will-change:opacity;transform:translateZ(0);-webkit-transform:translateZ(0);
}
.prof-modal .lpop-card{
  position:relative;overflow:hidden;border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.40) 54%,rgba(255,255,255,0.10) 100%)!important;
  backdrop-filter:blur(26px) saturate(175%) brightness(1.04)!important;-webkit-backdrop-filter:blur(26px) saturate(175%) brightness(1.04)!important;
  box-shadow:0 24px 56px -14px rgba(4,10,36,0.58),inset 0 0 0 0.9px rgba(255,255,255,0.34),inset 0 1.2px 1.8px rgba(255,255,255,0.64),inset 0 -1.8px 4.5px -1px rgba(255,255,255,0.16)!important;
}
.sup-pop-ic{
  width:46px;height:46px;border-radius:15px;margin:0 auto 10px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(56,189,248,0.34),rgba(99,102,241,0.38));
  border:0.9px solid rgba(186,230,253,0.52);color:#FFFFFF;
  box-shadow:0 10px 22px -8px rgba(56,189,248,0.48);
}
.sup-pop-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.sup-pop-sub{
  font-size:12.5px;line-height:1.45;color:rgba(224,242,254,0.82);text-align:center;margin:0 0 14px;
}
.sup-pop-acts{display:flex;flex-direction:column;gap:8px;}
.sup-pop-go{
  width:100%;height:42px;border:0;border-radius:13px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#22A7F2,#2563EB);
  box-shadow:0 10px 22px -8px rgba(37,99,235,0.65),inset 0 1px 0 rgba(255,255,255,0.42);
}
.sup-pop-go svg{width:14px;height:14px;stroke:#FFFFFF;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;}
.sup-pop-go:active{transform:scale(0.97);}
.sup-pop-close{
  width:100%;height:38px;border:0;border-radius:12px;cursor:pointer;
  background:rgba(255,255,255,0.10);color:rgba(226,240,255,0.86);
  font-family:var(--body);font-size:12.5px;font-weight:700;
}
.sup-pop-close:active{transform:scale(0.98);}
.prof-modal .lpop-card.xpop-card{
  display:flex;flex-direction:column;overflow:hidden!important;padding:0;max-width:348px;max-height:84vh;
  border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.42) 54%,rgba(255,255,255,0.10) 100%)!important;
  backdrop-filter:blur(26px) saturate(175%) brightness(1.04)!important;-webkit-backdrop-filter:blur(26px) saturate(175%) brightness(1.04)!important;
}
.prof-modal .lpop-card.xpop-card::before{display:none;}
.xpop-top{
  flex-shrink:0;position:relative;z-index:6;padding:10px 14px 10px;
  background:linear-gradient(180deg,rgba(255,255,255,0.10) 0%,rgba(255,255,255,0.03) 100%);
  border-bottom:0.65px solid rgba(255,255,255,0.16);
  box-shadow:0 6px 16px -12px rgba(10,18,56,0.42);
}
.xpop-top .xp-tabs{margin:0;}
.xpop-body{
  flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;
  -webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;
  padding:10px 14px 14px;
  contain:layout style;transform:translateZ(0);-webkit-transform:translateZ(0);
}
/* Во время активного скролла модалки паузим вторичные анимации — 0 фризов на мобильном WebView */
.xpop-body.is-scrolling .xp-rk-card .xp-em::after,
.xpop-body.is-scrolling .rk-anim,
.xpop-body.is-scrolling .rk-anim *{animation-play-state:paused!important;}
/* Пока открыта модалка, фоновый Профиль не тратит GPU на невидимые анимации */
body.no-scroll .prof-page .prof-rk-card,
body.no-scroll .prof-page .prof-rk-card .xp-em::after,
body.no-scroll .prof-page .rk-anim,
body.no-scroll .prof-page .rk-anim *,
body.no-scroll .prof-ver-lit{animation-play-state:paused!important;}

/* Всплывающие уведомления (.toast) на профиле — 100% бесцветное оптическое стекло */
body.is-prof .toast{
  overflow:hidden;border-radius:999px;padding:11px 21px;max-width:min(88vw,320px);border:0;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(255,255,255,0.008) 52%,rgba(255,255,255,0.03) 100%);
  backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
  box-shadow:0 16px 32px -12px rgba(0,0,0,0.42),inset 0 0.6px 0.9px rgba(255,255,255,0.46),inset 0 -2.4px 6px -1px rgba(255,255,255,0.36),inset 0 0 7px -1.5px rgba(255,255,255,0.22),inset 0.85px 0 1.7px rgba(0,0,0,0.22),inset -0.85px 0 1.7px rgba(0,0,0,0.22);
  color:#fff;font-family:var(--display);font-size:12.5px;font-weight:700;letter-spacing:0.01em;
  text-shadow:0 1px 10px rgba(6,12,42,0.78),0 0 2px rgba(6,12,42,0.60);
  transform:translate(-50%,28px) scale(0.86);opacity:0;
  transition:opacity .24s ease,transform .42s cubic-bezier(.22,1.32,.36,1);
}
body.is-prof .toast::after{
  content:'';position:absolute;inset:-2px;pointer-events:none;
  background:linear-gradient(112deg,transparent 34%,rgba(255,255,255,0.22) 50%,transparent 66%);
  transform:translateX(-130%);opacity:0;
}
body.is-prof .toast.show{opacity:1;transform:translate(-50%,0) scale(1);}
body.is-prof .toast.show::after{opacity:1;animation:toastSheen .9s cubic-bezier(.2,.8,.2,1) .06s forwards;}
body.is-prof .toast.bad{
  border:1px solid rgba(251,113,133,0.44);
  background:linear-gradient(152deg,rgba(251,113,133,0.14) 0%,rgba(24,8,14,0.10) 54%,rgba(251,113,133,0.05) 100%);
  box-shadow:0 16px 32px -12px rgba(48,8,20,0.44),inset 0 1.2px 1.2px rgba(251,113,133,0.36),inset 0 -1.2px 2px rgba(0,0,0,0.26);
}
body.is-prof .toast.bad::before{display:none;}
@keyframes toastSheen{0%{transform:translateX(-130%);opacity:0;}20%{opacity:1;}100%{transform:translateX(130%);opacity:0;}}
body.is-eco .toast::after{animation:none!important;display:none;}

/* Оптическое SVG-преломление на Chromium только для закреплённых элементов (шапка, капсулы, тост, pull-to-refresh) */
html.lg-refract .prof-dbar{backdrop-filter:url(#lg-refract-pill) blur(2px)!important;}
html.lg-refract .prof-dbar .back,html.lg-refract .prof-dbar .dbar-acts,html.lg-refract .lg-btn{backdrop-filter:url(#lg-refract-pill) blur(2.5px);}
html.lg-refract body.is-prof .toast,html.lg-refract .ptr{backdrop-filter:url(#lg-refract-pill) blur(1.5px);}
html.lg-refract body.is-eco .prof-dbar,html.lg-refract body.is-eco .prof-dbar .back,
html.lg-refract body.is-eco .prof-dbar .dbar-acts,html.lg-refract body.is-eco .lg-btn{backdrop-filter:none!important;}
html.lg-refract body.is-eco .toast{backdrop-filter:blur(4px);}

/* Живая 3D-сцена MAX × Сюрпризум позади стекла (100% GPU-дрейф; в body.is-eco полностью останавливается) */
.prof-scene{position:fixed;inset:0;z-index:0;pointer-events:none;overflow:hidden;}
.prof-scene svg{width:100%;height:100%;display:block;}
.prof-scene .ps-drift-a,
.prof-scene .ps-drift-b,
.prof-scene .ps-drift-c{
  transform-box:fill-box;transform-origin:center;will-change:transform;
}
.prof-scene .ps-drift-a{animation:psDriftA 13s ease-in-out infinite;}
.prof-scene .ps-drift-b{animation:psDriftB 17s ease-in-out infinite;}
.prof-scene .ps-drift-c{animation:psDriftC 8.5s ease-in-out infinite;}
@keyframes psDriftA{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg);}
  33%{transform:translate3d(-16px,22px,0) rotate(2.8deg);}
  66%{transform:translate3d(14px,-16px,0) rotate(-2.2deg);}
}
@keyframes psDriftB{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg);}
  38%{transform:translate3d(18px,-24px,0) rotate(-3.2deg);}
  72%{transform:translate3d(-14px,18px,0) rotate(2.4deg);}
}
@keyframes psDriftC{
  0%,100%{transform:translate3d(0,0,0) scale(0.96);opacity:0.72;}
  50%{transform:translate3d(8px,-14px,0) scale(1.08);opacity:1;}
}
@media (prefers-reduced-motion:reduce){
  .prof-scene .ps-drift-a,.prof-scene .ps-drift-b,.prof-scene .ps-drift-c{animation:none!important;}
}

/* Нативное iOS-поведение нажатия на кнопках: без выделения текста, явная подсветка текущего языка + отмена при уводе пальца */
button,summary,.lpop-opt,.lg-btn,.lg-mi,.dbar-ic,.prof-dbar .back,.prof-ver-slot,.xp-q,.mi,.row{
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;
}
.lpop-opt img,.dbar-ic svg,.lg-mi svg,.lg-btn svg{pointer-events:none;-webkit-user-drag:none;}
.prof-modal .lpop-opt{
  background:linear-gradient(180deg,rgba(255,255,255,0.07),rgba(255,255,255,0.015) 56%,rgba(255,255,255,0.04));
  border:0.75px solid rgba(255,255,255,0.22);color:rgba(255,255,255,0.88);
  box-shadow:inset 0 0.6px 1px rgba(255,255,255,0.30),inset 0 -1.4px 3.5px -1px rgba(255,255,255,0.16);
  transition:transform .13s cubic-bezier(.22,1,.36,1),background .14s ease,border-color .14s ease,box-shadow .14s ease;
}
/* Отчётливая подсветка активного языка: яркая стеклянная плашка + свечение + чёткая галочка ✓ */
.prof-modal .lpop-opt.cur{
  background:linear-gradient(145deg,rgba(255,255,255,0.30) 0%,rgba(125,211,252,0.22) 52%,rgba(255,255,255,0.18) 100%);
  border:1.4px solid rgba(255,255,255,0.86);color:#fff;font-weight:700;
  box-shadow:0 0 22px -4px rgba(125,211,252,0.68),inset 0 1px 1.6px rgba(255,255,255,0.84),inset 0 -2px 5px -1px rgba(125,211,252,0.42);
}
.prof-modal .lpop-opt.cur::after{
  content:'✓';margin-inline-start:auto;font-size:13px;font-weight:800;color:#fff;
  text-shadow:0 0 8px rgba(125,211,252,0.92);
}
.lpop-opt.is-pressed{
  transform:scale(0.95)!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.30),rgba(255,255,255,0.14) 56%,rgba(255,255,255,0.20))!important;
  border-color:rgba(255,255,255,0.78)!important;
  box-shadow:inset 0 1px 1.8px rgba(255,255,255,0.72),inset 0 -2px 5px -1px rgba(255,255,255,0.40),0 0 18px -4px rgba(255,255,255,0.30)!important;
}
.lg-btn.is-pressed,.prof-dbar .dbar-ic.is-pressed,.prof-dbar .back.is-pressed,.xp-q.is-pressed,.prof-ver-slot.is-pressed{
  transform:scale(0.93)!important;filter:brightness(1.16);
}
.prof-page .lg-mi.is-pressed{
  transform:scale(0.98)!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.14),rgba(255,255,255,0.04) 54%,rgba(255,255,255,0.09))!important;
}

/* Страница Политики конфиденциальности (/privacy) — единый стиль MAX × Apple Liquid Glass */
.pv-page{padding-bottom:28px;}
.prof-dbar .dt h1.pv-h1{
  font-size:clamp(12px,3.4vw,15.5px);line-height:1.18;
  overflow-wrap:normal;word-break:normal;hyphens:none;
}
.pv-hero{text-align:center;padding:24px 16px 20px!important;}
.pv-shield{
  width:56px;height:56px;margin:0 auto 14px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(4,8,28,0.10) 54%,rgba(255,255,255,0.08) 100%);
  border:0.75px solid rgba(255,255,255,0.44);
  box-shadow:0 14px 28px -10px rgba(4,8,30,0.48),inset 0 0.7px 1px rgba(255,255,255,0.56),inset 0 -2px 5px -1px rgba(255,255,255,0.28);
}
.pv-shield svg{width:28px;height:28px;filter:drop-shadow(0 2px 8px rgba(125,211,252,0.55));}
.pv-hero-t{
  margin:0;font-family:var(--display);font-weight:800;font-size:clamp(14px,4.2vw,19px);line-height:1.22;letter-spacing:-0.02em;
  color:#fff;text-shadow:0 2px 14px rgba(6,12,42,0.50);
  overflow-wrap:normal;word-break:normal;hyphens:none;
}
.pv-hero-s{
  margin:10px 0 0;width:100%;max-width:none;font-size:13px;line-height:1.56;
  text-align:justify;text-align-last:center;text-justify:inter-word;
  overflow-wrap:normal;word-break:normal;hyphens:none;
  color:rgba(240,248,255,0.90);text-shadow:0 1px 8px rgba(6,12,42,0.36);
}
.pv-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:15px;}
.pv-pill{
  display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;
  font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
  color:rgba(255,255,255,0.94);
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(255,255,255,0.03) 56%,rgba(255,255,255,0.06));
  border:0.65px solid rgba(255,255,255,0.34);
  box-shadow:inset 0 0.6px 0.9px rgba(255,255,255,0.40),0 6px 14px -8px rgba(4,8,30,0.42);
}
.pv-sec{margin-top:12px;padding:16px 16px 15px;}
.pv-sec-hd{
  display:flex;align-items:center;gap:11px;padding-bottom:12px;
  border-bottom:1px solid rgba(255,255,255,0.16);
}
.pv-num{
  flex-shrink:0;min-width:28px;height:26px;padding:0 7px;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:11px;font-weight:800;letter-spacing:0.04em;color:#BAE6FD;
  background:linear-gradient(180deg,rgba(255,255,255,0.14),rgba(255,255,255,0.04));
  border:0.7px solid rgba(255,255,255,0.38);
  box-shadow:inset 0 0.6px 0.9px rgba(255,255,255,0.44);
}
.pv-sec-t{
  margin:0;font-family:var(--display);font-weight:700;font-size:13.5px;line-height:1.28;letter-spacing:-0.01em;
  color:#fff;text-shadow:0 1px 10px rgba(6,12,42,0.42);
  overflow-wrap:normal;word-break:normal;hyphens:none;
}
.pv-clauses{display:flex;flex-direction:column;gap:10px;padding-top:12px;width:100%;}
.pv-clause{
  width:100%;box-sizing:border-box;
  font-size:13px;line-height:1.62;color:rgba(244,249,255,0.92);
  text-align:justify;text-justify:inter-word;
  overflow-wrap:normal;word-break:normal;hyphens:none;
  text-shadow:0 1px 6px rgba(6,12,42,0.32);
}
.pv-clause + .pv-clause{padding-top:10px;border-top:1px solid rgba(255,255,255,0.10);}
.pv-clause b{color:#fff;font-weight:700;}
.pv-foot-pill{
  margin:18px auto 0;width:fit-content;padding:7px 16px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:0.08em;color:rgba(240,248,255,0.78);
  background:linear-gradient(180deg,rgba(255,255,255,0.08),rgba(255,255,255,0.02));
  border:0.6px solid rgba(255,255,255,0.24);
}
body.is-eco .pv-shield,body.is-eco .pv-pill,body.is-eco .pv-num,body.is-eco .pv-foot-pill{
  background:rgba(24,38,98,0.68)!important;
}

/* Связка MAX <-> Telegram и 2-шаговая модалка удаления профиля в Liquid Glass */
.prof-page .ver-tg-row{border-bottom:none;padding:13px 15px;}
.prof-page .ver-tg-row .lbl .t{color:#fff;text-shadow:0 1px 6px rgba(6,12,42,0.35);}
.prof-page .ver-tg-row .lbl .s{color:rgba(240,248,255,0.74);font-family:var(--body);font-size:11.5px;margin-top:3px;}
.prof-page .ver-tg-code-card{margin-top:10px;padding:16px;text-align:center;}
.del-modal-card{text-align:center;padding:20px 18px!important;}
.del-step-pill{
  display:inline-flex;align-items:center;justify-content:center;padding:4px 11px;border-radius:999px;margin-bottom:10px;
  font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;
  color:rgba(255,255,255,0.86);background:rgba(255,255,255,0.10);border:0.65px solid rgba(255,255,255,0.30);
}
.del-step-pill.danger{color:#FECDD3;background:rgba(251,113,133,0.18);border-color:rgba(251,113,133,0.48);}
.del-title{color:#FDA4AF!important;margin-bottom:10px!important;}
.del-body{font-size:13px;line-height:1.52;color:rgba(240,248,255,0.86);margin:0 0 18px;text-align:center;}
.del-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:0;}
.del-acts .lg-btn{width:100%;padding:12px 10px;font-size:12.5px;text-align:center;}
.del-btn-next{
  background:linear-gradient(180deg,rgba(251,113,133,0.30) 0%,rgba(225,29,72,0.18) 54%,rgba(251,113,133,0.22) 100%)!important;
  color:#FFF1F2!important;
}
.del-btn-final{
  background:linear-gradient(180deg,#FB7185 0%,#E11D48 100%)!important;
  color:#fff!important;
  box-shadow:0 10px 22px -8px rgba(225,29,72,0.68),inset 0 1px 1px rgba(255,255,255,0.45)!important;
}
.del-btn-final:disabled{
  opacity:0.52!important;
  background:linear-gradient(180deg,rgba(251,113,133,0.36),rgba(190,18,60,0.30))!important;
  box-shadow:none!important;
}

/* Двусторонняя связка с Telegram: активный 10-мин код + поле ввода кода из Telegram */
.ver-chk-ic{width:13px;height:13px;flex-shrink:0;}
.prof-page .ver-pill-ok{
  display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:999px;
  font-family:var(--display);font-size:11.5px;font-weight:700;color:#fff;
  background:linear-gradient(145deg,rgba(57,169,249,0.44),rgba(56,189,248,0.22));
  border:0.8px solid rgba(255,255,255,0.52);
  box-shadow:0 0 14px -4px rgba(57,169,249,0.65),inset 0 0.8px 1px rgba(255,255,255,0.55);
}
.ver-tg-code-panel{
  margin:0 14px 14px;padding:13px 14px;border-radius:18px;text-align:center;
  background:linear-gradient(180deg,rgba(255,255,255,0.10),rgba(4,8,28,0.10) 56%,rgba(255,255,255,0.05));
  border:0.7px solid rgba(255,255,255,0.34);
  box-shadow:inset 0 0.7px 1px rgba(255,255,255,0.42),0 10px 22px -12px rgba(4,8,30,0.45);
}
.ver-tg-code-top{
  display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;
}
.ver-tg-code-lbl{
  font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;
  color:rgba(240,248,255,0.82);
}
.ver-tg-ttl{
  padding:3px 9px;border-radius:999px;
  font-family:var(--mono);font-size:11px;font-weight:700;letter-spacing:0.06em;color:#BAE6FD;
  background:rgba(125,211,252,0.16);border:0.65px solid rgba(186,230,253,0.45);
}
.ver-tg-code-val{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  width:100%;padding:10px 14px;border-radius:14px;border:0.75px solid rgba(255,255,255,0.36);
  background:rgba(4,8,28,0.22);color:#fff;cursor:pointer;
  font-family:var(--mono);font-size:24px;font-weight:800;letter-spacing:0.18em;
  text-shadow:0 2px 12px rgba(6,12,42,0.55);
  transition:transform .12s ease,background .15s ease;
}
.ver-tg-code-val:active{transform:scale(0.97);background:rgba(255,255,255,0.14);}
.ver-tg-code-val svg{opacity:0.78;flex-shrink:0;}
.ver-tg-hint{
  margin-top:8px;font-size:11.5px;line-height:1.42;color:rgba(240,248,255,0.78);
}
.ver-tg-redeem{
  padding:12px 14px 14px;border-top:1px solid rgba(255,255,255,0.16);
}
.ver-tg-rlbl{
  font-family:var(--body);font-size:12px;font-weight:600;color:rgba(240,248,255,0.86);
  margin-bottom:8px;text-shadow:0 1px 6px rgba(6,12,42,0.35);
}
.ver-tg-rrow{display:flex;align-items:center;gap:8px;}
.ver-tg-inp{
  flex:1;min-width:0;height:38px;padding:0 13px;border-radius:999px;
  border:0.75px solid rgba(255,255,255,0.34);
  background:rgba(4,8,28,0.22);color:#fff;outline:none;
  font-family:var(--mono);font-size:14px;font-weight:700;letter-spacing:0.14em;
  box-shadow:inset 0 1px 3px rgba(4,8,28,0.34);
  -webkit-user-select:text;user-select:text;
}
.ver-tg-inp::placeholder{color:rgba(240,248,255,0.46);letter-spacing:0.04em;font-family:var(--body);font-weight:500;font-size:12.5px;}
.ver-tg-inp:focus{border-color:rgba(186,230,253,0.78);background:rgba(4,8,28,0.30);}
body.is-eco .ver-tg-code-panel{background:rgba(16,26,72,0.72)!important;}

/* Карточка персональной реф-ссылки в Профиле + витрина 6 рангов и бонусов */
.prof-ref-card{padding-bottom:14px;}
.prof-ref-hd{border-bottom:none;padding:13px 15px 10px;}
.prof-ref-hd .lbl .t{color:#fff;text-shadow:0 1px 6px rgba(6,12,42,0.35);}
.prof-ref-hd .lbl .s{color:rgba(240,248,255,0.78);font-family:var(--body);font-size:11.5px;margin-top:3px;line-height:1.38;}
.prof-ref-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:2px 14px 12px;
}
.prof-ref-st{
  padding:8px 6px;border-radius:14px;text-align:center;
  background:rgba(4,8,28,0.20);border:0.65px solid rgba(255,255,255,0.22);
  box-shadow:inset 0 0.6px 0.9px rgba(255,255,255,0.26);
}
.prof-ref-st b{display:block;font-family:var(--display);font-size:14.5px;font-weight:800;color:#fff;line-height:1.15;}
.prof-ref-st span{display:block;font-family:var(--mono);font-size:9.5px;letter-spacing:0.04em;color:rgba(240,248,255,0.74);margin-top:3px;}
.prof-ref-acts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 14px;}
.prof-ref-acts .lg-btn{width:100%;padding:10px 10px;text-align:center;}

/* Нативный iOS Segmented Control (минималистичный скруглённый прямоугольник + плавный скользящий ползунок) */
.xp-tabs{
  position:relative;display:grid;grid-template-columns:1fr 1fr;gap:0;padding:2.5px;margin:0 0 12px;
  border-radius:10px;background:rgba(10,18,52,0.34);
  border:0.6px solid rgba(255,255,255,0.16);
  box-shadow:inset 0 1px 2.5px rgba(6,10,34,0.28);
}
.xp-tabs-thumb{
  position:absolute;top:2.5px;bottom:2.5px;left:2.5px;width:calc(50% - 2.5px);
  border-radius:7.5px;pointer-events:none;z-index:0;
  background:rgba(255,255,255,0.20);
  border:0.55px solid rgba(255,255,255,0.28);
  box-shadow:0 2px 6px rgba(6,10,34,0.26),inset 0 0.5px 0 rgba(255,255,255,0.34);
  transform:translate3d(0,0,0);
  transition:transform .24s cubic-bezier(0.32,0.72,0,1);
  will-change:transform;
}
.xp-tabs[data-active="how"] .xp-tabs-thumb{transform:translate3d(100%,0,0);}
.xp-tab{
  position:relative;z-index:1;border:0;border-radius:7.5px;padding:6px 8px;cursor:pointer;
  background:transparent;color:rgba(232,242,255,0.70);
  font-family:var(--body);font-size:11.5px;font-weight:600;line-height:1.15;letter-spacing:-0.01em;
  white-space:nowrap;transition:color .18s ease;-webkit-tap-highlight-color:transparent;
}
.xp-tab.on{color:#FFFFFF;font-weight:700;}
/* Компактная шапка модалки «Уровни и опыт» со стеклянным крестиком закрытия */
.xpop-head{
  position:relative;display:flex;align-items:center;justify-content:flex-start;
  min-height:26px;margin:0 0 8px;padding:0 32px 0 2px;
}
.xpop-head .lpop-h{
  margin:0;text-align:left;font-size:13.5px;line-height:1.2;color:#FFFFFF;
  text-shadow:0 1px 6px rgba(10,18,56,0.32);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.xpop-close{
  position:absolute;top:50%;right:0;transform:translateY(-50%);
  width:26px;height:26px;border-radius:999px;border:0.65px solid rgba(255,255,255,0.26);padding:0;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:rgba(248,252,255,0.88);
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0.6px 0.9px rgba(255,255,255,0.32);
  transition:transform .14s ease,background .16s ease,border-color .16s ease;
}
.xpop-close svg{width:13px;height:13px;}
.xpop-close:active{transform:translateY(-50%) scale(0.9);}
#xp_pane_ranks{padding:4px 2px 10px;}

/* Все 6 карточек рангов — парящий Liquid Glass премиум-уровня с GPU-ускорением (без тяжёлых filter:blur/drop-shadow) */
.xp-rk-card{
  position:relative;overflow:visible;padding:13px 14px 12px;border-radius:20px;margin-bottom:16px;border:0;
  background:linear-gradient(150deg,rgba(255,255,255,0.14) 0%,rgba(4,8,28,0.14) 50%,rgba(255,255,255,0.08) 100%);
  box-shadow:0 16px 30px -10px rgba(4,8,30,0.56),inset 0 0.85px 1.3px rgba(255,255,255,0.62),inset 0 -2px 5.5px -1px rgba(255,255,255,0.32);
  contain:layout style;transform:translateZ(0);-webkit-transform:translateZ(0);
}
/* Мягкое парение оставляем на карточке в Профиле (в скролл-списке не мешаем GPU-композитору) */
.prof-rk-card{animation:rankCardFloat 4.4s ease-in-out infinite;will-change:transform;}
.xp-rk-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;padding:1px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.84) 0deg,rgba(255,255,255,0.44) 48deg,rgba(255,255,255,0.28) 90deg,rgba(255,255,255,0.46) 132deg,rgba(255,255,255,0.82) 180deg,rgba(255,255,255,0.46) 228deg,rgba(255,255,255,0.28) 270deg,rgba(255,255,255,0.44) 312deg,rgba(255,255,255,0.84) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
/* Мягкое световое облако под карточкой — чистый радиальный градиент без дорогого filter:blur */
.xp-rk-card::after{
  content:'';position:absolute;left:8%;right:8%;bottom:-11px;height:18px;border-radius:999px;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse at center,rgba(255,255,255,0.30) 0%,rgba(57,169,249,0.12) 48%,transparent 74%);
}
.xp-rk-card>*{position:relative;z-index:1;}
.xp-rk-card:last-child{margin-bottom:8px;}
@keyframes rankCardFloat{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(0,-3.5px,0);}}
@keyframes rankHaloSpin{to{transform:rotate(360deg);}}
/* Общая база светящегося ореола за эмблемой каждого ранга */
.xp-rk-card .xp-em{position:relative;overflow:visible;}
.xp-rk-card .xp-em::before{
  content:'';position:absolute;inset:-6px;border-radius:16px;pointer-events:none;z-index:0;
}
.xp-rk-card .xp-em::after{
  content:'';position:absolute;inset:-3px;border-radius:14px;pointer-events:none;z-index:0;
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;padding:1.15px;
  animation:rankHaloSpin 5.6s linear infinite;will-change:transform;
}
.xp-rk-card .xp-em .rk-svg{position:relative;z-index:1;}

/* Текущий ранг пользователя — яркий кристальный контур поверх уникальной палитры */
.xp-rk-card.me{
  outline:1.4px solid rgba(255,255,255,0.72);
  outline-offset:2px;
}

/* 0. Участник — Арктический лёд и мятный кристалл */
.xp-rk-card.rk-0{
  background:linear-gradient(150deg,rgba(165,243,252,0.23) 0%,rgba(14,116,144,0.22) 48%,rgba(52,211,153,0.22) 100%);
  box-shadow:0 16px 32px -10px rgba(56,189,248,0.44),0 8px 18px -6px rgba(4,8,30,0.52),inset 0 0.9px 1.4px rgba(236,254,255,0.80),inset 0 -2.2px 6px -1px rgba(52,211,153,0.40);
}
.xp-rk-card.rk-0::before{
  background:conic-gradient(from 0deg,rgba(236,254,255,0.92) 0deg,rgba(56,189,248,0.66) 48deg,rgba(165,243,252,0.44) 90deg,rgba(52,211,153,0.68) 132deg,rgba(236,254,255,0.90) 180deg,rgba(56,189,248,0.64) 228deg,rgba(165,243,252,0.42) 270deg,rgba(52,211,153,0.68) 312deg,rgba(236,254,255,0.92) 360deg);
}
.xp-rk-card.rk-0::after{
  background:radial-gradient(ellipse at center,rgba(52,211,153,0.44) 0%,rgba(56,189,248,0.18) 46%,transparent 74%);
}
.xp-rk-card.rk-0 .xp-rk-title .xp-rn{color:#ECFEFF;text-shadow:0 1px 12px rgba(56,189,248,0.62);}
.xp-rk-card.rk-0 .xp-rk-sub{color:rgba(207,250,254,0.88);}
.xp-rk-card.rk-0 .xp-rk-perks{border-top-color:rgba(165,243,252,0.26);color:rgba(236,254,255,0.92);}
.xp-rk-card.rk-0 .xp-em{
  background:radial-gradient(120% 110% at 30% 20%,rgba(165,243,252,0.42),rgba(16,185,129,0.22));
  border-color:rgba(165,243,252,0.72);
  box-shadow:0 0 18px -2px rgba(56,189,248,0.62),inset 0 1px 1.2px rgba(236,254,255,0.85);
}
.xp-rk-card.rk-0 .xp-em::before{background:radial-gradient(circle,rgba(165,243,252,0.46) 0%,rgba(52,211,153,0.14) 52%,transparent 76%);}
.xp-rk-card.rk-0 .xp-em::after{background:conic-gradient(from 0deg,rgba(236,254,255,0.92),rgba(56,189,248,0.72) 26%,transparent 48%,rgba(52,211,153,0.82) 74%,transparent 92%,rgba(236,254,255,0.92));}
.xp-rk-card.rk-0 .xp-rk-bar{background:rgba(165,243,252,0.18);border-color:rgba(165,243,252,0.46);}
.xp-rk-card.rk-0 .xp-rk-fill{background:linear-gradient(90deg,#ECFEFF 0%,#38BDF8 52%,#34D399 100%);box-shadow:0 0 12px rgba(56,189,248,0.75),inset 0 1px 0 rgba(255,255,255,0.92);}

/* 1. Резидент — Электрический кобальт и звёздная лазурь */
.xp-rk-card.rk-1{
  background:linear-gradient(150deg,rgba(186,230,253,0.23) 0%,rgba(29,78,216,0.24) 48%,rgba(57,169,249,0.24) 100%);
  box-shadow:0 16px 32px -10px rgba(57,169,249,0.48),0 8px 18px -6px rgba(4,8,30,0.52),inset 0 0.9px 1.4px rgba(240,249,255,0.80),inset 0 -2.2px 6px -1px rgba(57,169,249,0.44);
}
.xp-rk-card.rk-1::before{
  background:conic-gradient(from 0deg,rgba(240,249,255,0.92) 0deg,rgba(57,169,249,0.72) 48deg,rgba(186,230,253,0.44) 90deg,rgba(59,130,246,0.68) 132deg,rgba(240,249,255,0.90) 180deg,rgba(57,169,249,0.68) 228deg,rgba(186,230,253,0.44) 270deg,rgba(59,130,246,0.70) 312deg,rgba(240,249,255,0.92) 360deg);
}
.xp-rk-card.rk-1::after{
  background:radial-gradient(ellipse at center,rgba(57,169,249,0.48) 0%,rgba(37,99,235,0.18) 46%,transparent 74%);
}
.xp-rk-card.rk-1 .xp-rk-title .xp-rn{color:#E0F2FE;text-shadow:0 1px 12px rgba(57,169,249,0.68);}
.xp-rk-card.rk-1 .xp-rk-sub{color:rgba(224,242,254,0.88);}
.xp-rk-card.rk-1 .xp-rk-perks{border-top-color:rgba(186,230,253,0.26);color:rgba(240,249,255,0.92);}
.xp-rk-card.rk-1 .xp-em{
  background:radial-gradient(120% 110% at 30% 20%,rgba(186,230,253,0.44),rgba(37,99,235,0.26));
  border-color:rgba(186,230,253,0.74);
  box-shadow:0 0 18px -2px rgba(57,169,249,0.68),inset 0 1px 1.2px rgba(240,249,255,0.85);
}
.xp-rk-card.rk-1 .xp-em::before{background:radial-gradient(circle,rgba(186,230,253,0.48) 0%,rgba(57,169,249,0.16) 52%,transparent 76%);}
.xp-rk-card.rk-1 .xp-em::after{background:conic-gradient(from 0deg,rgba(240,249,255,0.92),rgba(57,169,249,0.76) 26%,transparent 48%,rgba(96,165,250,0.82) 74%,transparent 92%,rgba(240,249,255,0.92));}
.xp-rk-card.rk-1 .xp-rk-bar{background:rgba(186,230,253,0.18);border-color:rgba(186,230,253,0.48);}
.xp-rk-card.rk-1 .xp-rk-fill{background:linear-gradient(90deg,#E0F2FE 0%,#39A9F9 52%,#2563EB 100%);box-shadow:0 0 12px rgba(57,169,249,0.78),inset 0 1px 0 rgba(255,255,255,0.92);}

/* 2. Мастер — Глубокий индиго и ультрафиолетовая аврора */
.xp-rk-card.rk-2{
  background:linear-gradient(150deg,rgba(199,210,254,0.23) 0%,rgba(67,56,202,0.26) 48%,rgba(124,58,237,0.24) 100%);
  box-shadow:0 16px 32px -10px rgba(99,102,241,0.50),0 8px 18px -6px rgba(4,8,30,0.54),inset 0 0.9px 1.4px rgba(238,242,255,0.78),inset 0 -2.2px 6px -1px rgba(129,140,248,0.44);
}
.xp-rk-card.rk-2::before{
  background:conic-gradient(from 0deg,rgba(238,242,255,0.92) 0deg,rgba(129,140,248,0.72) 48deg,rgba(199,210,254,0.44) 90deg,rgba(124,58,237,0.70) 132deg,rgba(238,242,255,0.90) 180deg,rgba(129,140,248,0.68) 228deg,rgba(199,210,254,0.44) 270deg,rgba(124,58,237,0.72) 312deg,rgba(238,242,255,0.92) 360deg);
}
.xp-rk-card.rk-2::after{
  background:radial-gradient(ellipse at center,rgba(124,58,237,0.48) 0%,rgba(79,70,229,0.18) 46%,transparent 74%);
}
.xp-rk-card.rk-2 .xp-rk-title .xp-rn{color:#EEF2FF;text-shadow:0 1px 12px rgba(129,140,248,0.70);}
.xp-rk-card.rk-2 .xp-rk-sub{color:rgba(224,231,255,0.88);}
.xp-rk-card.rk-2 .xp-rk-perks{border-top-color:rgba(199,210,254,0.26);color:rgba(238,242,255,0.92);}
.xp-rk-card.rk-2 .xp-em{
  background:radial-gradient(120% 110% at 30% 20%,rgba(199,210,254,0.42),rgba(79,70,229,0.28));
  border-color:rgba(199,210,254,0.72);
  box-shadow:0 0 18px -2px rgba(129,140,248,0.66),inset 0 1px 1.2px rgba(238,242,255,0.85);
}
.xp-rk-card.rk-2 .xp-em::before{background:radial-gradient(circle,rgba(199,210,254,0.46) 0%,rgba(124,58,237,0.16) 52%,transparent 76%);}
.xp-rk-card.rk-2 .xp-em::after{background:conic-gradient(from 0deg,rgba(238,242,255,0.92),rgba(129,140,248,0.76) 26%,transparent 48%,rgba(167,139,250,0.82) 74%,transparent 92%,rgba(238,242,255,0.92));}
.xp-rk-card.rk-2 .xp-rk-bar{background:rgba(199,210,254,0.18);border-color:rgba(199,210,254,0.46);}
.xp-rk-card.rk-2 .xp-rk-fill{background:linear-gradient(90deg,#EEF2FF 0%,#818CF8 52%,#7C3AED 100%);box-shadow:0 0 12px rgba(129,140,248,0.78),inset 0 1px 0 rgba(255,255,255,0.92);}

/* 3. Гранд — Королевский аметист и орхидейный кристалл */
.xp-rk-card.rk-3{
  background:linear-gradient(150deg,rgba(243,232,255,0.24) 0%,rgba(107,33,168,0.26) 48%,rgba(192,132,252,0.24) 100%);
  box-shadow:0 16px 32px -10px rgba(168,85,247,0.50),0 8px 18px -6px rgba(4,8,30,0.54),inset 0 0.9px 1.4px rgba(250,245,255,0.80),inset 0 -2.2px 6px -1px rgba(192,132,252,0.44);
}
.xp-rk-card.rk-3::before{
  background:conic-gradient(from 0deg,rgba(250,245,255,0.92) 0deg,rgba(192,132,252,0.74) 48deg,rgba(233,213,255,0.46) 90deg,rgba(147,51,234,0.70) 132deg,rgba(250,245,255,0.90) 180deg,rgba(192,132,252,0.70) 228deg,rgba(233,213,255,0.44) 270deg,rgba(168,85,247,0.72) 312deg,rgba(250,245,255,0.92) 360deg);
}
.xp-rk-card.rk-3::after{
  background:radial-gradient(ellipse at center,rgba(192,132,252,0.48) 0%,rgba(147,51,234,0.18) 46%,transparent 74%);
}
.xp-rk-card.rk-3 .xp-rk-title .xp-rn{color:#FAF5FF;text-shadow:0 1px 12px rgba(192,132,252,0.72);}
.xp-rk-card.rk-3 .xp-rk-sub{color:rgba(243,232,255,0.88);}
.xp-rk-card.rk-3 .xp-rk-perks{border-top-color:rgba(233,213,255,0.26);color:rgba(250,245,255,0.92);}
.xp-rk-card.rk-3 .xp-em{
  background:radial-gradient(120% 110% at 30% 20%,rgba(233,213,255,0.44),rgba(147,51,234,0.28));
  border-color:rgba(233,213,255,0.74);
  box-shadow:0 0 18px -2px rgba(192,132,252,0.68),inset 0 1px 1.2px rgba(250,245,255,0.85);
}
.xp-rk-card.rk-3 .xp-em::before{background:radial-gradient(circle,rgba(233,213,255,0.48) 0%,rgba(168,85,247,0.16) 52%,transparent 76%);}
.xp-rk-card.rk-3 .xp-em::after{background:conic-gradient(from 0deg,rgba(250,245,255,0.92),rgba(192,132,252,0.78) 26%,transparent 48%,rgba(216,180,254,0.84) 74%,transparent 92%,rgba(250,245,255,0.92));}
.xp-rk-card.rk-3 .xp-rk-bar{background:rgba(233,213,255,0.18);border-color:rgba(233,213,255,0.48);}
.xp-rk-card.rk-3 .xp-rk-fill{background:linear-gradient(90deg,#FAF5FF 0%,#C084FC 52%,#9333EA 100%);box-shadow:0 0 12px rgba(192,132,252,0.78),inset 0 1px 0 rgba(255,255,255,0.92);}

/* 4. Магнат — Бархатный рубин и розово-малиновый кварц */
.xp-rk-card.rk-4{
  background:linear-gradient(150deg,rgba(252,231,243,0.24) 0%,rgba(157,23,77,0.26) 48%,rgba(244,63,94,0.24) 100%);
  box-shadow:0 16px 32px -10px rgba(236,72,153,0.50),0 8px 18px -6px rgba(4,8,30,0.54),inset 0 0.9px 1.4px rgba(255,241,242,0.80),inset 0 -2.2px 6px -1px rgba(244,114,182,0.44);
}
.xp-rk-card.rk-4::before{
  background:conic-gradient(from 0deg,rgba(255,241,242,0.92) 0deg,rgba(244,114,182,0.74) 48deg,rgba(251,207,232,0.46) 90deg,rgba(244,63,94,0.70) 132deg,rgba(255,241,242,0.90) 180deg,rgba(236,72,153,0.70) 228deg,rgba(251,207,232,0.44) 270deg,rgba(244,63,94,0.72) 312deg,rgba(255,241,242,0.92) 360deg);
}
.xp-rk-card.rk-4::after{
  background:radial-gradient(ellipse at center,rgba(236,72,153,0.48) 0%,rgba(225,29,72,0.18) 46%,transparent 74%);
}
.xp-rk-card.rk-4 .xp-rk-title .xp-rn{color:#FFF1F2;text-shadow:0 1px 12px rgba(244,114,182,0.72);}
.xp-rk-card.rk-4 .xp-rk-sub{color:rgba(252,231,243,0.88);}
.xp-rk-card.rk-4 .xp-rk-perks{border-top-color:rgba(251,207,232,0.26);color:rgba(255,241,242,0.92);}
.xp-rk-card.rk-4 .xp-em{
  background:radial-gradient(120% 110% at 30% 20%,rgba(251,207,232,0.44),rgba(225,29,72,0.26));
  border-color:rgba(251,207,232,0.74);
  box-shadow:0 0 18px -2px rgba(236,72,153,0.68),inset 0 1px 1.2px rgba(255,241,242,0.85);
}
.xp-rk-card.rk-4 .xp-em::before{background:radial-gradient(circle,rgba(251,207,232,0.48) 0%,rgba(236,72,153,0.16) 52%,transparent 76%);}
.xp-rk-card.rk-4 .xp-em::after{background:conic-gradient(from 0deg,rgba(255,241,242,0.92),rgba(244,114,182,0.78) 26%,transparent 48%,rgba(244,63,94,0.82) 74%,transparent 92%,rgba(255,241,242,0.92));}
.xp-rk-card.rk-4 .xp-rk-bar{background:rgba(251,207,232,0.18);border-color:rgba(251,207,232,0.48);}
.xp-rk-card.rk-4 .xp-rk-fill{background:linear-gradient(90deg,#FFF1F2 0%,#F472B6 52%,#E11D48 100%);box-shadow:0 0 12px rgba(244,114,182,0.78),inset 0 1px 0 rgba(255,255,255,0.92);}

/* 5. Король — Жидкое золото и императорское сияние */
.xp-rk-card.rk-5,
.xp-rk-card.king{
  background:linear-gradient(150deg,rgba(254,240,138,0.24) 0%,rgba(180,83,9,0.20) 46%,rgba(251,191,36,0.24) 100%);
  box-shadow:0 18px 34px -10px rgba(245,158,11,0.48),0 8px 18px -6px rgba(4,8,30,0.54),inset 0 0.9px 1.4px rgba(255,253,240,0.80),inset 0 -2.2px 6px -1px rgba(251,191,36,0.44);
}
.xp-rk-card.rk-5::before,
.xp-rk-card.king::before{
  background:conic-gradient(from 0deg,rgba(255,253,240,0.92) 0deg,rgba(251,191,36,0.68) 48deg,rgba(254,240,138,0.42) 90deg,rgba(245,158,11,0.62) 132deg,rgba(255,253,240,0.90) 180deg,rgba(251,191,36,0.64) 228deg,rgba(254,240,138,0.42) 270deg,rgba(245,158,11,0.68) 312deg,rgba(255,253,240,0.92) 360deg);
}
.xp-rk-card.rk-5::after,
.xp-rk-card.king::after{
  background:radial-gradient(ellipse at center,rgba(251,191,36,0.48) 0%,rgba(245,158,11,0.16) 46%,transparent 74%);
}
.xp-rk-card.king .xp-rk-title .xp-rn{color:#FEF9C3;text-shadow:0 1px 12px rgba(245,158,11,0.66);}
.xp-rk-card.king .xp-rk-sub{color:rgba(254,243,199,0.88);}
.xp-rk-card.king .xp-rk-perks{border-top-color:rgba(254,240,138,0.26);color:rgba(255,251,235,0.92);}
.xp-rk-card.king .xp-em{
  background:radial-gradient(120% 110% at 30% 20%,rgba(254,240,138,0.44),rgba(217,119,6,0.24));
  border-color:rgba(254,240,138,0.74);
  box-shadow:0 0 18px -2px rgba(251,191,36,0.68),inset 0 1px 1.2px rgba(255,253,240,0.86);
}
.xp-rk-card.king .xp-em::before{background:radial-gradient(circle,rgba(254,240,138,0.48) 0%,rgba(245,158,11,0.16) 52%,transparent 76%);}
.xp-rk-card.king .xp-em::after{background:conic-gradient(from 0deg,rgba(255,253,240,0.92),rgba(251,191,36,0.72) 26%,transparent 48%,rgba(254,240,138,0.82) 74%,transparent 92%,rgba(255,253,240,0.92));animation-duration:5s;}
.xp-rk-top{display:flex;align-items:center;gap:10px;}
.xp-rk-meta{flex:1;min-width:0;}
.xp-rk-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.xp-rk-title .xp-rn{font-family:var(--display);font-size:13px;font-weight:800;color:#fff;}
.xp-rk-sub{font-family:var(--mono);font-size:10px;color:rgba(240,248,255,0.78);margin-top:2px;}
.xp-rk-st{
  padding:2px 8px;border-radius:999px;font-family:var(--mono);font-size:9px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
}
.xp-rk-st.cur{color:#fff;background:rgba(255,255,255,0.22);border:0.65px solid rgba(255,255,255,0.70);}
.xp-rk-st.open{color:#A7F3D0;background:rgba(52,211,153,0.24);border:0.65px solid rgba(167,243,208,0.52);}
.xp-rk-perks{
  margin-top:9px;padding-top:8px;border-top:1px solid rgba(255,255,255,0.16);
  font-size:11.5px;line-height:1.42;color:rgba(240,248,255,0.92);
}
.xp-rk-list{
  list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;
}
.xp-rk-list li{
  display:flex;align-items:flex-start;gap:8px;
}
.xp-perk-mk{
  flex:0 0 16px;width:16px;height:16px;margin-top:1px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.14);border:0.6px solid rgba(255,255,255,0.34);
  box-shadow:inset 0 0.6px 0.9px rgba(255,255,255,0.48),0 0 10px -2px currentColor;
  color:rgba(255,255,255,0.92);
}
.xp-perk-dot{width:8.5px;height:8.5px;display:block;}
.xp-perk-tx{flex:1;min-width:0;}
.xp-rk-card.rk-0 .xp-perk-mk{color:#A5F3FC;background:rgba(56,189,248,0.18);border-color:rgba(165,243,252,0.52);}
.xp-rk-card.rk-1 .xp-perk-mk{color:#BAE6FD;background:rgba(57,169,249,0.20);border-color:rgba(186,230,253,0.54);}
.xp-rk-card.rk-2 .xp-perk-mk{color:#C7D2FE;background:rgba(129,140,248,0.20);border-color:rgba(199,210,254,0.54);}
.xp-rk-card.rk-3 .xp-perk-mk{color:#E9D5FF;background:rgba(192,132,252,0.20);border-color:rgba(233,213,255,0.54);}
.xp-rk-card.rk-4 .xp-perk-mk{color:#FBCFE8;background:rgba(244,114,182,0.20);border-color:rgba(251,207,232,0.54);}
.xp-rk-card.rk-5 .xp-perk-mk,
.xp-rk-card.king .xp-perk-mk{color:#FEF08A;background:rgba(251,191,36,0.22);border-color:rgba(254,240,138,0.58);}
.xp-rk-bar{
  position:relative;height:7px;border-radius:999px;overflow:hidden;margin-top:9px;
  background:rgba(255,255,255,0.16);border:0.65px solid rgba(255,255,255,0.34);
  box-shadow:inset 0 1.5px 4px rgba(15,23,80,0.28);
}
.xp-rk-fill{
  height:100%;border-radius:999px;
  background:linear-gradient(90deg,#7DD3FC 0%,#39A9F9 48%,#8B5CF6 100%);
  box-shadow:0 0 10px rgba(125,211,252,0.72),inset 0 1px 0 rgba(255,255,255,0.82);
  transition:width .35s ease;
}
.xp-rk-card.king .xp-rk-bar{background:rgba(254,240,138,0.18);border-color:rgba(254,240,138,0.48);}
.xp-rk-card.king .xp-rk-fill{
  background:linear-gradient(90deg,#FEF9C3 0%,#FBBF24 52%,#F59E0B 100%);
  box-shadow:0 0 14px rgba(254,240,138,0.82),inset 0 1px 0 rgba(255,255,255,0.92);
}
/* Карточки заданий во вкладке «Как получить XP» — сдержанный цветной Liquid Glass в едином стиле с карточками рангов */
.prof-modal .xp-row{
  position:relative;display:flex;align-items:center;gap:10px;
  padding:10px 11px;border-radius:16px;margin-bottom:8px;border:0;
  background:linear-gradient(150deg,color-mix(in srgb,var(--ic,#39A9F9) 16%,rgba(255,255,255,0.08)) 0%,rgba(16,26,72,0.24) 56%,color-mix(in srgb,var(--ic,#39A9F9) 11%,rgba(255,255,255,0.04)) 100%);
  box-shadow:0 10px 20px -12px rgba(6,12,42,0.48),inset 0 0 0 0.65px color-mix(in srgb,var(--ic,#39A9F9) 34%,rgba(255,255,255,0.20)),inset 0 0.7px 1px rgba(255,255,255,0.34);
}
.prof-modal .xp-row.xp-row-multi{align-items:flex-start;}
.prof-modal .xp-rm{flex:1;min-width:0;display:flex;flex-direction:column;gap:7px;}
.prof-modal .xp-row .xp-rt{font-size:12.2px;line-height:1.34;color:rgba(248,252,255,0.94);font-weight:500;}
.prof-modal .xp-row .xp-rv{
  flex-shrink:0;padding:4px 9px;border-radius:999px;font-family:var(--mono);font-size:11px;font-weight:800;white-space:nowrap;
  color:#FFFFFF;
  background:color-mix(in srgb,var(--ic,#39A9F9) 26%,rgba(255,255,255,0.10));
  box-shadow:inset 0 0 0 0.65px color-mix(in srgb,var(--ic,#39A9F9) 56%,rgba(255,255,255,0.30)),inset 0 0.6px 0.8px rgba(255,255,255,0.40);
}
.xp-chips{display:flex;flex-wrap:wrap;gap:6px;}
.xp-chip{
  display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;
  background:rgba(255,255,255,0.09);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.22);
  font-size:10.5px;line-height:1.15;color:rgba(232,242,255,0.84);
}
.xp-chip .xp-chip-v{font-family:var(--mono);font-size:10.5px;font-weight:800;color:#FFFFFF;}
.xp-chip.ver{
  background:color-mix(in srgb,var(--ic,#39A9F9) 24%,rgba(56,189,248,0.14));
  box-shadow:inset 0 0 0 0.65px color-mix(in srgb,var(--ic,#39A9F9) 54%,rgba(186,230,253,0.40));
  color:#E0F2FE;
}
.xp-chip-chk{width:11px;height:11px;color:#7DD3FC;flex-shrink:0;}
.xp-fair-note{
  margin-top:10px;padding:10px 12px;border-radius:14px;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.20),inset 0 0.5px 0.8px rgba(255,255,255,0.22);
  font-size:11.5px;line-height:1.45;color:rgba(240,248,255,0.86);text-align:center;
}
/* Компактная парящая карточка текущего ранга в Профиле (синхронно с окном «Уровни и опыт») */
.prof-hero .prof-rk-card{
  width:100%;margin:12px 0 10px;text-align:left;cursor:pointer;
  transition:transform .16s ease,filter .18s ease;
}
.prof-hero .prof-rk-card .xp-rk-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
.prof-hero .prof-rk-card .xp-lvl-pill{
  display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;font-weight:800;letter-spacing:0.02em;color:#FFFFFF;
  background:rgba(255,255,255,0.16);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.36);
}
.prof-hero .prof-rk-card:active{filter:brightness(1.06);}
.prof-hero .prof-rk-card .xp-em{
  width:40px;height:40px;border-radius:13px;
  border:1px solid rgba(255,255,255,0.44);
}
.prof-hero .prof-rk-card .xp-em .rk-svg{width:27px;height:27px;}
.prof-rk-q{
  flex:0 0 24px;width:24px;height:24px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:11px;font-weight:800;color:rgba(255,255,255,0.92);
  background:rgba(255,255,255,0.16);border:0.65px solid rgba(255,255,255,0.42);
  box-shadow:inset 0 0.7px 1px rgba(255,255,255,0.55);
}

/* Живые GPU-анимации SVG-эмблем всех 6 рангов (автоматически отключаются в Энергосбережении) */
.rk-anim .rk-aura{transform-box:fill-box;transform-origin:center;animation:rkAuraBreath 3.2s ease-in-out infinite;}
.rk-anim .rk-core{transform-box:fill-box;transform-origin:center;animation:rkCoreFloat 3.6s ease-in-out infinite;}
.rk-anim .rk-facet{animation:rkFacetGleam 2.8s ease-in-out infinite;}
.rk-anim .rk-sp1{transform-box:fill-box;transform-origin:center;animation:rkSparkTwinkle 2.4s ease-in-out infinite;}
.rk-anim .rk-sp2{transform-box:fill-box;transform-origin:center;animation:rkSparkTwinkle 2.4s ease-in-out 1.15s infinite;}
.rk-a1 .rk-core{animation:rkStarPulse 3.0s ease-in-out infinite;}
.rk-a2 .rk-ch1{transform-box:fill-box;transform-origin:center;animation:rkChevLift 2.4s ease-in-out infinite;}
.rk-a2 .rk-ch2{transform-box:fill-box;transform-origin:center;animation:rkChevLift 2.4s ease-in-out .38s infinite;}
@keyframes rkAuraBreath{0%,100%{transform:scale(0.92);opacity:0.78;}50%{transform:scale(1.09);opacity:1;}}
@keyframes rkCoreFloat{0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(-0.9px) scale(1.04);}}
@keyframes rkStarPulse{0%,100%{transform:scale(0.97) rotate(0deg);}50%{transform:scale(1.07) rotate(6deg);}}
@keyframes rkChevLift{0%,100%{transform:translateY(0);opacity:0.92;}50%{transform:translateY(-1.4px);opacity:1;}}
@keyframes rkFacetGleam{0%,100%{opacity:0.24;}50%{opacity:0.56;}}
@keyframes rkSparkTwinkle{0%,100%{transform:scale(0.55) rotate(0deg);opacity:0.25;}50%{transform:scale(1.18) rotate(30deg);opacity:1;}}

body.is-eco .prof-ref-st{background:rgba(16,28,74,0.42)!important;border-color:rgba(255,255,255,0.18)!important;}
body.is-eco .xp-rk-card{animation:none!important;}
body.is-eco .xp-rk-card::after{display:none!important;}
body.is-eco .xp-rk-card .xp-em::after{animation:none!important;}
body.is-eco .rk-anim,
body.is-eco .rk-anim *{animation:none!important;}
body.is-eco .xp-rk-card.rk-0{background:linear-gradient(150deg,rgba(26,118,136,0.78),rgba(20,96,92,0.76))!important;}
body.is-eco .xp-rk-card.rk-1{background:linear-gradient(150deg,rgba(38,94,196,0.80),rgba(28,68,158,0.78))!important;}
body.is-eco .xp-rk-card.rk-2{background:linear-gradient(150deg,rgba(66,68,178,0.80),rgba(76,48,162,0.78))!important;}
body.is-eco .xp-rk-card.rk-3{background:linear-gradient(150deg,rgba(108,56,176,0.80),rgba(88,38,148,0.78))!important;}
body.is-eco .xp-rk-card.rk-4{background:linear-gradient(150deg,rgba(156,42,96,0.80),rgba(128,28,66,0.78))!important;}
body.is-eco .xp-rk-card.rk-5,
body.is-eco .xp-rk-card.king{background:linear-gradient(150deg,rgba(158,104,26,0.82),rgba(120,72,18,0.80))!important;}
/* ============================================================================
   ГЛАВНОЕ МЕНЮ (screenHome) — MAX × Apple Liquid Glass (строго по DESIGN_SYSTEM.md)
   ============================================================================ */
.hub-page{
  position:relative;z-index:2;padding-top:clamp(4px,0.8dvh,10px);
  flex:1 1 auto;min-height:0;display:flex;flex-direction:column;
}
.lg-hubbar{
  position:relative;z-index:30;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;
  padding:clamp(5px,0.8dvh,8px) clamp(8px,1.1dvh,12px) clamp(5px,0.8dvh,8px) clamp(6px,0.9dvh,10px);
  margin:0 0 clamp(6px,1.2dvh,14px);border-radius:20px;border:0;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,0.09) 0%,rgba(4,8,28,0.08) 54%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(10px) brightness(0.95);-webkit-backdrop-filter:blur(10px) brightness(0.95);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.48),inset 0 0.65px 1px rgba(255,255,255,0.44),inset 0 -1.8px 4.5px -1px rgba(255,255,255,0.26);
}
.lg-hubbar::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.58) 0deg,rgba(255,255,255,0.28) 52deg,rgba(255,255,255,0.18) 90deg,rgba(255,255,255,0.30) 128deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.30) 232deg,rgba(255,255,255,0.18) 270deg,rgba(255,255,255,0.28) 308deg,rgba(255,255,255,0.58) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lg-hubbar>*{position:relative;z-index:1;}
.lg-brand{
  display:flex;align-items:center;gap:10px;color:#fff;
  background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:left;
  transition:transform .14s ease,opacity .16s ease;
}
.lg-brand:active{transform:scale(0.96);opacity:0.9;}
.lg-brand-mk{
  width:40px;height:40px;border-radius:14px;padding:2px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  overflow:hidden;box-sizing:border-box;
  background:linear-gradient(155deg,rgba(255,255,255,0.28),rgba(255,255,255,0.06));
  box-shadow:0 8px 18px -6px rgba(4,8,30,0.46),inset 0 0.8px 1px rgba(255,255,255,0.62);
}
.lg-brand-mk .mk,.lg-hubbar .logo .mk{width:100%;height:100%;border-radius:12px;object-fit:cover;display:block;box-shadow:none;}
.lg-hubbar .logo .nm{
  font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-0.015em;line-height:1;color:#fff;
  text-shadow:0 1px 8px rgba(6,12,42,0.40);
}
.lg-hub-ava{
  position:relative;width:40px;height:40px;border-radius:50%;padding:2.5px;border:0;cursor:pointer;flex-shrink:0;
  background:linear-gradient(145deg,rgba(255,255,255,0.55),rgba(125,211,252,0.28));
  box-shadow:0 8px 18px -6px rgba(4,8,30,0.48),inset 0 0.8px 1px rgba(255,255,255,0.72);
  transition:transform .14s ease,filter .16s ease;
}
.lg-hub-ava.is-pressed,.lg-hub-ava:active{transform:scale(0.92);filter:brightness(1.08);}
.lg-hub-ava .hub-ava-img{
  border:0;background:rgba(16,28,74,0.68) center/cover no-repeat;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.28);
}

.hub-head{flex-shrink:0;padding:0 4px clamp(5px,1.1dvh,12px);}
.hub-head h1{
  margin:0;font-family:var(--display);font-weight:900;font-size:clamp(19px,2.8dvh,25px);line-height:1.1;letter-spacing:-0.025em;
  color:#FFFFFF;text-shadow:0 2px 16px rgba(6,12,42,0.40);
}
/* Бегущая строка живой статистики сети внизу Главного меню в стиле Liquid Glass (rAF без скачков и морганий) */
.lg-stats-mq{
  position:relative;z-index:2;flex-shrink:0;margin:clamp(7px,1.25dvh,14px) 0 2px;padding:clamp(6px,0.95dvh,10px) 0;border-radius:16px;border:0;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,0.09) 0%,rgba(255,255,255,0.02) 54%,rgba(255,255,255,0.05) 100%);
  backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  box-shadow:0 12px 26px -12px rgba(4,8,30,0.42),inset 0 0.7px 1px rgba(255,255,255,0.48),inset 0 -1.6px 4px -1px rgba(255,255,255,0.26);
}
html.lg-refract body.is-eco .lg-stats-mq{backdrop-filter:none!important;}
.lg-stats-mq::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.62) 0deg,rgba(186,230,253,0.34) 54deg,rgba(255,255,255,0.20) 90deg,rgba(186,230,253,0.34) 126deg,rgba(255,255,255,0.58) 180deg,rgba(186,230,253,0.34) 234deg,rgba(255,255,255,0.20) 270deg,rgba(186,230,253,0.34) 306deg,rgba(255,255,255,0.62) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lg-stats-vp{
  overflow:hidden;width:100%;
}
.lg-stats-tr{
  display:flex;align-items:center;gap:0;width:max-content;
  transform:translate3d(0,0,0);
  will-change:transform;
  backface-visibility:hidden;-webkit-backface-visibility:hidden;
}
.lg-stats-gr{
  display:flex;align-items:center;flex-shrink:0;gap:14px;padding-right:14px;
}
.lg-st-it{
  display:inline-flex;align-items:center;gap:5px;white-space:nowrap;
  font-family:var(--body);font-size:11.5px;color:rgba(232,244,255,0.82);
  text-shadow:0 1px 6px rgba(6,12,42,0.38);
}
.lg-st-it b{
  font-family:var(--mono);font-size:11.5px;font-weight:800;color:#FFFFFF;letter-spacing:-0.01em;
  font-variant-numeric:tabular-nums;
}
.lg-st-it.online b{color:#A7F3D0;}
.lg-st-ic{
  width:16px;height:16px;flex-shrink:0;overflow:visible;
  filter:drop-shadow(0 1px 4px rgba(4,8,30,0.45));
}
.lg-ic-ch .ic-w1{animation:lgWaveP 2.2s ease-in-out infinite;}
.lg-ic-ch .ic-w2{animation:lgWaveP 2.2s ease-in-out .38s infinite;}
@keyframes lgWaveP{0%,100%{opacity:.28;}50%{opacity:1;}}
.lg-ic-gv .ic-glint{transform-box:fill-box;transform-origin:center;animation:lgGlint 2.6s ease-in-out infinite;}
@keyframes lgGlint{0%,100%{opacity:.28;transform:scale(.68) rotate(0deg);}50%{opacity:1;transform:scale(1.18) rotate(45deg);}}
.lg-ic-ent .ic-tk-body{transform-box:fill-box;transform-origin:center;animation:lgTkBob 3.4s ease-in-out infinite;}
.lg-ic-ent .ic-tk-st{transform-box:fill-box;transform-origin:center;animation:lgGlint 2.8s ease-in-out .5s infinite;}
@keyframes lgTkBob{0%,100%{transform:rotate(-5deg) translateY(0);}50%{transform:rotate(5deg) translateY(-1px);}}
.lg-ic-users .ic-u-h1{animation:lgUsrGlow 3.2s ease-in-out infinite;}
@keyframes lgUsrGlow{0%,100%{opacity:.82;}50%{opacity:1;}}
body.is-eco .lg-st-ic *{animation:none!important;}
.lg-st-live{
  width:7px;height:7px;border-radius:50%;background:#34D399;flex-shrink:0;
  box-shadow:0 0 8px rgba(52,211,153,0.92);
}
.lg-st-sep{
  display:inline-block;width:1.5px;height:12px;border-radius:2px;flex-shrink:0;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(224,242,254,0.52) 50%,rgba(255,255,255,0) 100%);
}
@keyframes lgStatsScroll{from{transform:translate3d(0,0,0);}to{transform:translate3d(-50%,0,0);}}

/* Bento-сетка главного меню в оптическом Liquid Glass (без filter:blur-пятен, 120Hz GPU) */
.a-lb{grid-area:lb;}
.a-pm{grid-area:pm;}
.a-ob{grid-area:ob;}
.bento.lg-bento{
  flex:1 1 auto;min-height:0;align-content:stretch;
  gap:clamp(7px,1.25dvh,14px);
  grid-template-rows:minmax(66px,1.08fr) repeat(2,minmax(64px,1fr)) minmax(60px,0.92fr);
  grid-template-areas:
    "cr cr cr cr my my"
    "lb lb lb tp tp tp"
    "ch ch ch th th th"
    "ob ob ob ob ob ob";
}
.bento.lg-bento.has-pm{
  grid-template-rows:minmax(64px,1.08fr) repeat(3,minmax(62px,1fr)) minmax(54px,0.82fr);
  grid-template-areas:
    "cr cr cr cr my my"
    "pm pm pm lb lb lb"
    "ch ch ch tp tp tp"
    "mk mk mk th th th"
    "ob ob ob ob ob ob";
}
.bento.lg-bento .tile{
  position:relative;overflow:hidden;border:0;border-radius:22px;padding:clamp(9px,1.55dvh,17px) clamp(11px,1.5dvh,16px);
  background:
    radial-gradient(96% 88% at 86% 18%,var(--hc-tint,rgba(255,255,255,0.14)) 0%,transparent 66%),
    linear-gradient(148deg,rgba(255,255,255,0.28) 0%,rgba(236,246,255,0.16) 44%,rgba(220,238,255,0.13) 76%,rgba(255,255,255,0.22) 100%);
  backdrop-filter:blur(16px) saturate(1.18) brightness(1.08)!important;-webkit-backdrop-filter:blur(16px) saturate(1.18) brightness(1.08)!important;
  box-shadow:0 18px 36px -14px rgba(6,16,52,0.42),0 4px 12px -4px rgba(6,16,52,0.22),inset 0 1px 1.5px rgba(255,255,255,0.76),inset 0 -2px 7px -1px rgba(255,255,255,0.34),inset 0 0 14px -4px rgba(255,255,255,0.22),inset 0.8px 0 1.4px rgba(255,255,255,0.18),inset -0.8px 0 1.4px rgba(255,255,255,0.16);
  color:#FFFFFF;text-decoration:none;cursor:pointer;opacity:1;animation:none;
  transition:transform .14s ease,filter .16s ease;
}
.bento.lg-bento .tile::before{
  content:'';position:absolute;inset:0;top:0;left:0;width:auto;height:auto;border-radius:inherit;
  filter:none;opacity:1;z-index:3;pointer-events:none;padding:0.75px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.82) 0deg,rgba(255,255,255,0.44) 44deg,rgba(255,255,255,0.32) 90deg,rgba(255,255,255,0.46) 136deg,rgba(255,255,255,0.78) 180deg,rgba(255,255,255,0.44) 224deg,rgba(255,255,255,0.32) 270deg,rgba(255,255,255,0.48) 316deg,rgba(255,255,255,0.82) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.bento.lg-bento .tile::after{
  display:block;content:'';position:absolute;inset:0;border-radius:inherit;
  z-index:1;pointer-events:none;
  background:
    linear-gradient(124deg,
      rgba(255,255,255,0.38) 0%,
      rgba(255,255,255,0.16) 17%,
      rgba(255,255,255,0.04) 34%,
      rgba(255,255,255,0.00) 46%,
      rgba(255,255,255,0.15) 54%,
      rgba(255,255,255,0.03) 64%,
      rgba(255,255,255,0.11) 100%),
    radial-gradient(110% 70% at 14% 0%,rgba(255,255,255,0.30) 0%,rgba(255,255,255,0.06) 54%,transparent 74%);
}
.bento.lg-bento .tile:hover::before{opacity:1;}
.bento.lg-bento .tile.is-pressed,.bento.lg-bento .tile:active{transform:scale(0.965);filter:brightness(1.07);}
.bento.lg-bento .tile .ic{
  width:34px;height:34px;border-radius:11px;margin-bottom:3px;border:0;flex-shrink:0;
  background:radial-gradient(78% 78% at 50% 42%,rgba(255,255,255,0.28) 0%,rgba(232,244,255,0.14) 56%,rgba(255,255,255,0.06) 100%);
  box-shadow:0 0 16px -3px rgba(255,255,255,0.38),0 2px 8px -2px rgba(8,20,64,0.24),inset 0 0 10px 0 rgba(255,255,255,0.28),inset 0 0 0 0.75px rgba(255,255,255,0.62),inset 0 1px 1.4px rgba(255,255,255,0.88);
}
.bento.lg-bento .tile .ic svg{
  width:18px;height:18px;stroke:#FFFFFF;fill:none;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 0 6px rgba(255,255,255,0.62));
}
.bento.lg-bento .tile h3{
  color:#FFFFFF;font-family:var(--display);font-weight:800;font-size:14.5px;line-height:1.12;letter-spacing:-0.015em;
  text-shadow:0 1px 10px rgba(10,24,72,0.54),0 1px 3px rgba(10,24,72,0.38);
  width:100%;min-width:0;max-width:100%;box-sizing:border-box;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
}
/* Главная флагманская плитка «Создать розыгрыш» — единое светлое стекло с усиленным ледяным бликом */
.bento.lg-bento .tile.a-cr{
  padding:clamp(10px,1.65dvh,18px) clamp(13px,1.8dvh,18px);flex-direction:row;align-items:center;justify-content:flex-start;gap:clamp(10px,1.5dvh,15px);
  --hc-tint:rgba(125,211,252,0.30);
  box-shadow:0 18px 36px -12px rgba(56,189,248,0.42),0 4px 12px -4px rgba(6,16,52,0.24),inset 0 1.1px 1.6px rgba(255,255,255,0.88),inset 0 -2px 7px -1px rgba(186,230,253,0.42),inset 0 0 16px -4px rgba(255,255,255,0.26);
}
.bento.lg-bento .tile.a-cr .ic{
  width:38px;height:38px;border-radius:12px;margin-bottom:0;
  background:radial-gradient(80% 80% at 50% 42%,rgba(255,255,255,0.34) 0%,rgba(224,242,254,0.16) 56%,rgba(255,255,255,0.08) 100%);
  box-shadow:0 0 20px -2px rgba(255,255,255,0.48),0 2px 10px -2px rgba(14,116,144,0.28),inset 0 0 12px 1px rgba(255,255,255,0.34),inset 0 0 0 0.85px rgba(255,255,255,0.72),inset 0 1px 1.6px rgba(255,255,255,0.92);
}
.bento.lg-bento .tile.a-cr h3{flex:1;width:auto;min-width:0;font-size:clamp(15.5px,2.05dvh,18.5px);line-height:1.12;margin:0;color:#FFFFFF;text-shadow:0 1px 12px rgba(10,32,88,0.56),0 1px 3px rgba(10,24,72,0.38);}
.bento.lg-bento .tile.a-ch{padding:clamp(9px,1.55dvh,17px) clamp(11px,1.5dvh,16px);justify-content:space-between;--hc-tint:rgba(253,186,116,0.19);}
.bento.lg-bento .tile.a-ch h3{font-size:clamp(13.5px,1.8dvh,16px);}
/* Компактная вертикальная плитка «Мои розыгрыши» */
.bento.lg-bento .tile.a-my{
  padding:clamp(9px,1.55dvh,17px) clamp(10px,1.4dvh,14px);flex-direction:column;align-items:flex-start;justify-content:space-between;gap:0;
  --hc-tint:rgba(253,164,175,0.19);
}
.bento.lg-bento .tile.a-my .ic{margin-bottom:3px;}
.bento.lg-bento .tile.a-my h3{
  font-size:clamp(12.5px,1.65dvh,15px);line-height:1.12;margin:0;
  background:none;-webkit-text-fill-color:#FFFFFF;color:#FFFFFF;
  text-shadow:0 1px 10px rgba(10,24,72,0.54),0 1px 3px rgba(10,24,72,0.38);
}
.bento.lg-bento .tile.a-tp,.bento.lg-bento .tile.a-mk,.bento.lg-bento .tile.a-th{padding:clamp(9px,1.55dvh,17px) clamp(11px,1.5dvh,16px);justify-content:space-between;}
.bento.lg-bento .tile.a-tp{--hc-tint:rgba(253,224,71,0.20);}
.bento.lg-bento .tile.a-mk{--hc-tint:rgba(110,231,183,0.20);}
/* Плитка «Магазин тем»: единое светлое стекло поверх мягко размытого веера мини-карточек */
.bento.lg-bento .tile.a-th{
  --hc-tint:rgba(240,171,252,0.19);
}
.bento.lg-bento .tile.a-th .ic,
.bento.lg-bento .tile.a-th h3{position:relative;z-index:2;}
.th-tile-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;border-radius:inherit;
  filter:blur(1.45px) saturate(1.06) brightness(1.14);opacity:0.64;transform:scale(1.03);
  animation:hubArtFloat 9.4s ease-in-out -2.8s infinite;will-change:transform;
}
.th-tile-bg::after{
  content:'';position:absolute;inset:0;z-index:3;
  background:linear-gradient(28deg,rgba(255,255,255,0.26) 0%,rgba(236,246,255,0.12) 46%,rgba(255,255,255,0.03) 100%);
}
.th-bc{
  position:absolute;width:42px;height:56px;border-radius:10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:6px 5px;
  border:0.75px solid rgba(255,255,255,0.44);
  box-shadow:0 8px 18px -4px rgba(10,20,60,0.42),inset 0 0.7px 0 rgba(255,255,255,0.62);
}
.th-bc i{display:block;width:13px;height:13px;border-radius:50%;box-shadow:0 0 9px currentColor;}
.th-bc b{display:block;width:24px;height:5px;border-radius:999px;opacity:0.92;}
/* 6 мини-карточек разных тем: мягко рассеяны под матовым стеклом */
.th-bc.c1{
  top:-8px;right:48px;transform:rotate(-15deg);filter:blur(1.5px);opacity:0.84;z-index:1;
  background:linear-gradient(145deg,#1A0805,#78350F 58%,#F59E0B);
}
.th-bc.c1 i{background:#FDE68A;color:#F59E0B;} .th-bc.c1 b{background:#FCD34D;}
.th-bc.c2{
  top:6px;right:18px;transform:rotate(11deg);filter:blur(0.95px);opacity:0.92;z-index:2;
  background:linear-gradient(145deg,#08070F,#3B0764 52%,#FF3DCB);
}
.th-bc.c2 i{background:#2DE2FF;color:#2DE2FF;} .th-bc.c2 b{background:linear-gradient(90deg,#2DE2FF,#FF3DCB);}
.th-bc.c3{
  top:-10px;right:-10px;transform:rotate(-8deg);filter:blur(1.4px);opacity:0.86;z-index:1;
  background:linear-gradient(145deg,#022C22,#047857 58%,#34D399);
}
.th-bc.c3 i{background:#A7F3D0;color:#34D399;} .th-bc.c3 b{background:#6EE7B7;}
.th-bc.c4{
  bottom:-14px;right:44px;transform:rotate(14deg);filter:blur(1.1px);opacity:0.88;z-index:2;
  background:linear-gradient(145deg,#050211,#1D4ED8 56%,#38BDF8);
}
.th-bc.c4 i{background:#BAE6FD;color:#38BDF8;} .th-bc.c4 b{background:#7DD3FC;}
.th-bc.c5{
  bottom:-10px;right:-6px;transform:rotate(-13deg);filter:blur(0.9px);opacity:0.90;z-index:2;
  background:linear-gradient(145deg,#1C0A16,#BE123C 54%,#FB7185);
}
.th-bc.c5 i{background:#FDE047;color:#F43F5E;} .th-bc.c5 b{background:#FDA4AF;}
.th-bc.c6{
  top:22px;left:44px;transform:rotate(-18deg);filter:blur(2.0px);opacity:0.56;z-index:1;
  background:linear-gradient(145deg,#0A0717,#5B21B6 55%,#C084FC);
}
.th-bc.c6 i{background:#F4D58D;color:#C084FC;} .th-bc.c6 b{background:#E9D5FF;}
body.is-eco .th-tile-bg{animation:none!important;will-change:auto!important;filter:none!important;opacity:0.46!important;transform:none!important;}
body.is-eco .th-bc{filter:none!important;opacity:0.42!important;}

/* ============================================================================
   ЕДИНОЕ СВЕТЛОЕ МАТОВОЕ СТЕКЛО ПОВЕРХ ТЕМАТИЧЕСКИХ АРТ-ОБОЕВ
   ============================================================================ */
.bento.lg-bento .tile .ic,
.bento.lg-bento .tile h3{position:relative;z-index:2;}
.hub-art{
  position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;
  opacity:0.64;
  filter:blur(1.85px) saturate(1.08) brightness(1.16);
  transform:scale(1.03);
  -webkit-mask-image:linear-gradient(24deg,rgba(0,0,0,0.16) 0%,rgba(0,0,0,0.64) 48%,rgba(0,0,0,0.92) 84%);
  mask-image:linear-gradient(24deg,rgba(0,0,0,0.16) 0%,rgba(0,0,0,0.64) 48%,rgba(0,0,0,0.92) 84%);
  animation:hubArtFloatA 9.7s ease-in-out -1.3s infinite;
  will-change:transform;
}
.hub-art.art-cr{
  opacity:0.80;
  filter:blur(0.45px) saturate(1.24) brightness(1.16);
}
.hub-art.art-cr .cr-box-lid{animation:crLidHover 3.4s ease-in-out infinite;}
.hub-art.art-cr .cr-box-beam{animation:crBeamPulse 3.4s ease-in-out infinite;}
.hub-art.art-cr .cr-sp{transform-box:fill-box;transform-origin:center;animation:crSpPop 2.8s ease-in-out infinite;}
.hub-art.art-cr .cr-sp2{animation-delay:.7s;}
.hub-art.art-cr .cr-sp3{animation-delay:1.35s;}
@keyframes crLidHover{0%,100%{transform:translate3d(0,0,0) rotate(0deg);}50%{transform:translate3d(0,-5.5px,0) rotate(-3.5deg);}}
@keyframes crBeamPulse{0%,100%{opacity:.58;}50%{opacity:1;}}
@keyframes crSpPop{0%,100%{opacity:.34;transform:translateY(3px) scale(.72);}50%{opacity:1;transform:translateY(-4px) scale(1.16);}}
body.is-eco .hub-art.art-cr *{animation:none!important;}
.hub-art.art-my{animation:hubArtFloatB 11.3s ease-in-out -4.7s infinite;}
.hub-art.art-lb{animation:hubArtFloatC 8.9s ease-in-out -2.9s infinite;}
.hub-art.art-ch{animation:hubArtFloatD 12.1s ease-in-out -6.4s infinite;}
.hub-art.art-tp{animation:hubArtFloatB 10.7s ease-in-out -7.8s infinite;}
.hub-art.art-mk{animation:hubArtFloatA 13.3s ease-in-out -3.5s infinite;}
.hub-art.art-pm{
  opacity:0.74;
  filter:blur(1.4px) saturate(1.20) brightness(1.14);
  animation:none;will-change:auto;
}
.hub-art.art-ob{
  filter:blur(1.15px) brightness(1.22);opacity:0.56;transform:scale(1.02);
  -webkit-mask-image:none;mask-image:none;
  animation:hubArtFloatC 14.2s ease-in-out -5.1s infinite;
}
@keyframes hubArtFloatA{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1.03);}
  33%{transform:translate3d(5px,-5px,0) rotate(1.1deg) scale(1.06);}
  68%{transform:translate3d(-4px,3px,0) rotate(-0.9deg) scale(1.04);}
}
@keyframes hubArtFloatB{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1.03);}
  37%{transform:translate3d(-6px,-3px,0) rotate(-1.2deg) scale(1.05);}
  71%{transform:translate3d(4px,5px,0) rotate(0.9deg) scale(1.06);}
}
@keyframes hubArtFloatC{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1.03);}
  41%{transform:translate3d(3px,6px,0) rotate(0.8deg) scale(1.06);}
  76%{transform:translate3d(-5px,-4px,0) rotate(-1.1deg) scale(1.04);}
}
@keyframes hubArtFloatD{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg) scale(1.03);}
  29%{transform:translate3d(-4px,5px,0) rotate(-0.8deg) scale(1.05);}
  63%{transform:translate3d(6px,-4px,0) rotate(1.2deg) scale(1.06);}
}
/* Анимация пылающего огонька и искр для плитки «Реклама» */
.art-pm .fl-outer,.art-pm .fl-mid,.art-pm .fl-core{
  transform-box:fill-box;transform-origin:50% 92%;will-change:transform,opacity;
}
.art-pm .fl-outer{animation:flBurnOut 1.85s ease-in-out infinite;}
.art-pm .fl-mid{animation:flBurnMid 1.35s ease-in-out infinite;}
.art-pm .fl-core{animation:flBurnCore 1.05s ease-in-out infinite;}
.art-pm .fl-sp{transform-box:fill-box;transform-origin:center;will-change:transform,opacity;}
.art-pm .fl-sp1{animation:flEmber 2.2s ease-out infinite;}
.art-pm .fl-sp2{animation:flEmber 2.6s ease-out .55s infinite;}
.art-pm .fl-sp3{animation:flEmber 1.95s ease-out 1.1s infinite;}
.art-pm .fl-sp4{animation:flEmber 2.4s ease-out 1.55s infinite;}
@keyframes flBurnOut{
  0%,100%{transform:scale(1,1) skewX(0deg);}
  25%{transform:scale(0.96,1.06) skewX(-2.8deg);}
  55%{transform:scale(1.04,0.97) skewX(2.4deg);}
  80%{transform:scale(0.98,1.04) skewX(-1.5deg);}
}
@keyframes flBurnMid{
  0%,100%{transform:scale(1,1) skewX(0deg);}
  30%{transform:scale(1.05,1.08) skewX(3.4deg);}
  65%{transform:scale(0.94,0.95) skewX(-3.2deg);}
}
@keyframes flBurnCore{
  0%,100%{transform:scale(0.95,0.96);opacity:0.88;}
  50%{transform:scale(1.08,1.12);opacity:1;}
}
@keyframes flEmber{
  0%{transform:translate3d(0,12px,0) scale(0.6);opacity:0;}
  22%{opacity:0.95;}
  100%{transform:translate3d(-7px,-26px,0) scale(1.15);opacity:0;}
}
body.is-eco .hub-art,
body.is-eco .art-pm .fl-outer,
body.is-eco .art-pm .fl-mid,
body.is-eco .art-pm .fl-core,
body.is-eco .art-pm .fl-sp{
  animation:none!important;will-change:auto!important;
}
body.is-eco .hub-art{filter:none!important;opacity:0.42!important;transform:none!important;}
@media (prefers-reduced-motion:reduce){
  .hub-art,.art-pm .fl-outer,.art-pm .fl-mid,.art-pm .fl-core,.art-pm .fl-sp{animation:none!important;}
}

/* Плитка «Собственный бот для розыгрышей» (единое светлое стекло с серебристым отливом + цепи в MAX) */
.bento.lg-bento .tile.a-ob{
  padding:12px 54px 12px 14px;flex-direction:row;align-items:center;justify-content:flex-start;
  --hc-tint:rgba(226,232,240,0.22);
}
.bento.lg-bento .tile.a-ob .ob-inner{
  position:relative;z-index:3;display:flex;flex-direction:row;align-items:center;gap:10px;flex:1;min-width:0;
}
.bento.lg-bento .tile.a-ob .ob-txt{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;flex:1;
}
.bento.lg-bento .tile.a-ob .ic{
  margin-bottom:0;
}
.bento.lg-bento .tile.a-ob h3{
  font-size:13px;line-height:1.15;margin:0;color:#FFFFFF;
  text-shadow:0 1px 10px rgba(10,24,72,0.56),0 1px 3px rgba(10,24,72,0.38);
}
.bento.lg-bento .tile.a-ob.is-locked .ob-inner{opacity:1;}
.ob-chains{
  position:absolute;inset:0;width:100%;height:100%;
  z-index:0;pointer-events:none;opacity:0.54;filter:blur(0.65px) brightness(1.16);
}
.ob-padlock{
  position:absolute;top:50%;right:13px;transform:translateY(-50%);z-index:4;width:28px;height:28px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;pointer-events:none;
  background:linear-gradient(145deg,rgba(255,255,255,0.36),rgba(186,210,240,0.22));
  box-shadow:0 6px 14px -3px rgba(8,20,64,0.42),inset 0 0 0 0.8px rgba(255,255,255,0.68);
  color:#FFFFFF;
}
.ob-padlock svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.ob-tg-pill{
  position:relative;z-index:4;margin-top:0;align-self:center;
  display:inline-flex;align-items:center;gap:4px;padding:3.5px 9px;border-radius:999px;
  font-family:var(--display);font-size:9.5px;font-weight:800;letter-spacing:0.01em;line-height:1;
  color:#F0F9FF;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;
  background:linear-gradient(135deg,rgba(34,158,217,0.96),rgba(14,116,184,0.96));
  box-shadow:0 5px 14px -3px rgba(14,165,233,0.68),inset 0 0.7px 0.9px rgba(255,255,255,0.65);
}
.ob-tg-ic{width:10.5px;height:10.5px;fill:#FFFFFF;flex-shrink:0;}
@keyframes obRattle{
  0%,100%{transform:translate3d(0,0,0);}
  20%{transform:translate3d(-3px,0,0) rotate(-0.8deg);}
  45%{transform:translate3d(3px,0,0) rotate(0.8deg);}
  70%{transform:translate3d(-2px,0,0) rotate(-0.4deg);}
}
.bento.lg-bento .tile.a-ob.ob-shake{animation:obRattle 0.34s ease;}
body.is-eco .bento.lg-bento .tile.a-ob.ob-shake{animation:none!important;}
body.is-eco .ob-chains{filter:none!important;opacity:0.40!important;}

/* Режим энергосбережения для Главного меню (0px сдвига, светлая сапфирово-ледяная палитра, 0 blur/анимаций) */
body.is-eco .lg-hubbar,
body.is-eco .lg-stats-mq,
body.is-eco .bento.lg-bento .tile{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.is-eco .lg-hubbar,
body.is-eco .lg-stats-mq{
  background:linear-gradient(155deg,rgba(44,68,148,0.62) 0%,rgba(28,46,114,0.58) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.22)!important;
}
body.is-eco .lg-hubbar::before,body.is-eco .lg-stats-mq::before,body.is-eco .bento.lg-bento .tile::before{display:none!important;}
body.is-eco .lg-stats-tr{animation:none!important;}
body.is-eco .bento.lg-bento .tile{
  background:radial-gradient(96% 88% at 86% 18%,var(--hc-tint,rgba(255,255,255,0.12)) 0%,transparent 66%),linear-gradient(150deg,rgba(88,128,218,0.58) 0%,rgba(62,96,184,0.54) 54%,rgba(84,122,210,0.56) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.42),inset 0 0 0 0.75px rgba(255,255,255,0.34)!important;
}
body.is-eco .bento.lg-bento .tile.a-cr{
  background:radial-gradient(96% 88% at 86% 18%,rgba(125,211,252,0.28) 0%,transparent 66%),linear-gradient(150deg,rgba(82,142,232,0.68) 0%,rgba(58,108,202,0.64) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.44),inset 0 0 0 0.8px rgba(224,242,254,0.44)!important;
}
html.lg-refract body.is-prof .lg-hubbar{backdrop-filter:url(#lg-refract-pill) blur(2px)!important;}
html.lg-refract body.is-eco .lg-hubbar{backdrop-filter:none!important;}
@media (prefers-reduced-motion:reduce){.xp-rk-card,.xp-rk-card .xp-em::after,.rk-anim,.rk-anim *,.lg-stats-tr{animation:none!important;}}

/* ============================================================================
   ТОП РОЗЫГРЫШЕЙ (screenTop & screenTopCard) — MAX × Apple Liquid Glass
   ============================================================================ */
.top-page{position:relative;z-index:2;padding-bottom:24px;}

/* Стеклянная шапка разделов: прикреплена к самому верху, скруглена только по нижним углам (Apple Liquid Glass) */
body.is-prof .hd{
  position:sticky;top:0!important;z-index:30;
  margin:-18px 0 24px!important;
  padding:calc(14px + env(safe-area-inset-top,0px)) 14px 2px!important;
  border-radius:0 0 22px 22px!important;border:0!important;overflow:hidden!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.09) 0%,rgba(4,8,28,0.08) 54%,rgba(255,255,255,0.04) 100%)!important;
  backdrop-filter:blur(10px) brightness(0.95)!important;-webkit-backdrop-filter:blur(10px) brightness(0.95)!important;
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.48),inset 0 -1.8px 4.5px -1px rgba(255,255,255,0.26)!important;
}
body.is-prof .hd::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0 0.65px 0.65px 0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.58) 0deg,rgba(255,255,255,0.28) 52deg,rgba(255,255,255,0.18) 90deg,rgba(255,255,255,0.30) 128deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.30) 232deg,rgba(255,255,255,0.18) 270deg,rgba(255,255,255,0.28) 308deg,rgba(255,255,255,0.58) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-prof .hd>*{position:relative;z-index:1;}
body.is-prof .hd .hd-row{padding-bottom:8px;}
body.is-prof .hd .tabs a{padding:7px 0 11px;}
body.is-prof .hd .tabs a.cur::after{bottom:1px;}
body.is-eco .hd{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:linear-gradient(155deg,rgba(44,68,148,0.62) 0%,rgba(28,46,114,0.58) 100%)!important;
}
html.lg-refract body.is-prof .hd{backdrop-filter:url(#lg-refract-pill) blur(2px)!important;}
html.lg-refract body.is-eco .hd{backdrop-filter:none!important;}
body.is-prof .hd .logo .mk{
  border-radius:12px;
  box-shadow:0 6px 14px -5px rgba(4,8,30,0.48),0 0 0 1px rgba(255,255,255,0.34);
}
body.is-prof .hd .sec-ava{
  width:40px;height:40px;padding:2.5px;border:0;overflow:visible!important;
  background:linear-gradient(145deg,rgba(255,255,255,0.62),rgba(255,255,255,0.20))!important;
  box-shadow:0 8px 18px -6px rgba(4,8,30,0.46),inset 0 0.8px 1px rgba(255,255,255,0.78)!important;
  transition:transform .14s ease,filter .16s ease;
}
.sec-ava-lvl{
  position:absolute;right:1px;bottom:-1px;z-index:4;pointer-events:none;
  display:none;align-items:center;justify-content:center;
  padding:0 2px;border:0;background:transparent;box-shadow:none;
  font-family:var(--display);font-size:11px;font-weight:900;line-height:1;letter-spacing:-0.02em;
  color:rgba(255,255,255,0.86);
  text-shadow:0 0 7px rgba(186,230,253,0.92),0 0 3px rgba(255,255,255,0.85),0 1.5px 4px rgba(4,8,28,0.96);
}
.sec-ava-lvl.on{display:inline-flex;}
body.is-prof .hd .sec-ava:active,
body.is-prof .hd .sec-ava.is-pressed{transform:scale(0.92);filter:brightness(1.08);}
body.is-prof .hd .sec-ava .hub-ava-img{
  border:0!important;background-color:rgba(24,42,102,0.52);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.34);
}
body.is-prof .hd .logo .nm{color:#FFFFFF;text-shadow:0 1px 8px rgba(6,12,42,0.40);}
body.is-prof .hd .logo .nm .home{color:rgba(232,244,255,0.78);}
body.is-prof .hd .tabs a{color:rgba(232,244,255,0.62);}
body.is-prof .hd .tabs a.cur{color:#FFFFFF;text-shadow:0 1px 10px rgba(6,12,42,0.42);}
body.is-prof .hd .tabs a.cur::after{
  width:26px;height:2.5px;
  background:linear-gradient(90deg,#FFFFFF,#7DD3FC);
  box-shadow:0 0 12px rgba(125,211,252,0.85);
}

.lg-head{padding:6px 4px 12px;}
.lg-eye{display:none!important;}
.lg-head h1{
  margin:0;font-family:var(--display);font-weight:900;font-size:21px;line-height:1.12;letter-spacing:-0.025em;
  color:#FFFFFF;text-shadow:0 2px 16px rgba(6,12,42,0.42);
}
.lg-head h1 em{
  font-style:normal;
  background:linear-gradient(100deg,#FFFFFF,#BAE6FD);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}

.top-list{display:flex;flex-direction:column;gap:11px;}
.lg-top-card{
  position:relative;z-index:1;isolation:isolate;display:flex;align-items:center;gap:10px;
  padding:12px 12px;border-radius:22px;border:0;overflow:hidden;
  text-decoration:none;color:#FFFFFF;cursor:pointer;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 40px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0 0 7px -2px rgba(255,255,255,0.16),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
  transition:transform .14s ease,filter .16s ease;
}
.lg-top-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lg-top-card>*{position:relative;z-index:1;}
.lg-top-card:active,.lg-top-card.is-pressed{transform:scale(0.975);filter:brightness(1.07);}
.lg-top-card.has-photo{
  background:transparent!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
/* Мягкий равномерный блюр + спокойное затемнение без пересвета и без тёмных полос под текстом */
.lg-top-card.has-photo .top-bg,
body.is-prof .gv.gv-photo .top-bg{
  position:absolute;inset:-4px;z-index:0;pointer-events:none;
  background-color:#101A44;
  background-size:cover;background-position:center;
  filter:blur(1.2px) brightness(0.56);
}
body.is-eco .lg-top-card.has-photo .top-bg,
body.is-eco .gv.gv-photo .top-bg{
  filter:brightness(0.52);
}
.lg-top-card .body,
.lg-top-card .nm,
.lg-top-card .snip,
.lg-top-card.has-photo .body,
.lg-top-card.has-photo .nm,
.lg-top-card.has-photo .snip,
.lg-top-ch .body,
.lg-top-ch .nm{
  background:transparent!important;
  background-color:transparent!important;
  box-shadow:none!important;
}
.lg-top-card.has-photo .nm,
.lg-top-card.has-photo .snip{
  text-shadow:0 1px 3px rgba(4,8,28,0.40);
}
.lg-top-card.has-photo .snip{color:rgba(244,249,255,0.90);}
.lg-top-card.has-photo .top-mt{
  background:rgba(12,22,58,0.38);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.26);
  text-shadow:none;
}

/* Подиум Топ-3: драгоценные оттенки Liquid Glass (Золото / Арктическое серебро / Розовая бронза) */
.lg-top-card.pod-1:not(.has-photo){
  background:linear-gradient(150deg,rgba(254,240,138,0.22) 0%,rgba(146,64,14,0.22) 52%,rgba(251,191,36,0.20) 100%);
  box-shadow:0 18px 34px -12px rgba(245,158,11,0.44),inset 0 0.85px 1.2px rgba(255,253,240,0.72),inset 0 -2px 5.5px -1px rgba(251,191,36,0.36);
}
.lg-top-card.pod-1::before{
  background:conic-gradient(from 0deg,rgba(255,253,240,0.88) 0deg,rgba(251,191,36,0.66) 50deg,rgba(254,240,138,0.40) 90deg,rgba(245,158,11,0.62) 130deg,rgba(255,253,240,0.86) 180deg,rgba(251,191,36,0.62) 230deg,rgba(254,240,138,0.40) 270deg,rgba(245,158,11,0.66) 310deg,rgba(255,253,240,0.88) 360deg);
}
.lg-top-card.pod-2:not(.has-photo){
  background:linear-gradient(150deg,rgba(224,242,254,0.22) 0%,rgba(30,64,175,0.22) 52%,rgba(125,211,252,0.20) 100%);
  box-shadow:0 18px 34px -12px rgba(56,189,248,0.42),inset 0 0.85px 1.2px rgba(240,249,255,0.74),inset 0 -2px 5.5px -1px rgba(125,211,252,0.36);
}
.lg-top-card.pod-3:not(.has-photo){
  background:linear-gradient(150deg,rgba(254,215,170,0.22) 0%,rgba(154,52,18,0.20) 52%,rgba(244,114,182,0.20) 100%);
  box-shadow:0 18px 34px -12px rgba(244,114,182,0.38),inset 0 0.85px 1.2px rgba(255,247,237,0.70),inset 0 -2px 5.5px -1px rgba(251,146,60,0.34);
}

/* Яркие драгоценные векторные медали места в Топе (0 эмодзи) */
.top-rk{
  position:relative;flex:0 0 42px;width:42px;height:42px;border-radius:14px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;
  font-family:var(--display);font-weight:900;font-size:12px;line-height:1;color:#FFFFFF;
  text-shadow:0 1px 4px rgba(4,8,28,0.45);
  background:linear-gradient(145deg,rgba(255,255,255,0.34) 0%,rgba(56,189,248,0.30) 100%);
  box-shadow:0 8px 18px -6px rgba(14,165,233,0.42),inset 0 0 0 0.8px rgba(255,255,255,0.62),inset 0 1px 1.2px rgba(255,255,255,0.82);
}
.top-rk-ic{
  width:15px;height:15px;stroke:#FFFFFF;fill:none;stroke-width:2.3;
  stroke-linecap:round;stroke-linejoin:round;display:block;
  filter:drop-shadow(0 1px 3px rgba(4,8,28,0.42));
}
.top-rk.rk-1{
  color:#FFFFFF;
  background:linear-gradient(145deg,#FDE047 0%,#F59E0B 54%,#D97706 100%);
  box-shadow:0 8px 22px -4px rgba(245,158,11,0.84),inset 0 0 0 0.85px rgba(254,249,195,0.88),inset 0 1.1px 1.3px rgba(255,255,255,0.92);
}
.top-rk.rk-2{
  color:#FFFFFF;
  background:linear-gradient(145deg,#E0F2FE 0%,#60A5FA 52%,#2563EB 100%);
  box-shadow:0 8px 22px -4px rgba(59,130,246,0.82),inset 0 0 0 0.85px rgba(224,242,254,0.88),inset 0 1.1px 1.3px rgba(255,255,255,0.92);
}
.top-rk.rk-3{
  color:#FFFFFF;
  background:linear-gradient(145deg,#FDBA74 0%,#EA580C 54%,#BE123C 100%);
  box-shadow:0 8px 22px -4px rgba(234,88,12,0.80),inset 0 0 0 0.85px rgba(254,215,170,0.84),inset 0 1.1px 1.3px rgba(255,255,255,0.88);
}
.top-rk.rk-n{font-family:var(--mono);font-size:12.5px;font-weight:800;color:#FFFFFF;}
.top-pin{
  position:absolute;top:-3px;right:-3px;width:9px;height:9px;border-radius:50%;
  background:#34D399;box-shadow:0 0 0 2px rgba(20,38,108,0.85),0 0 10px rgba(52,211,153,0.92);
}

.lg-top-card .body{flex:1;min-width:0;}
.lg-top-card:not(.lg-ch-card):not(.lg-mk-mine) .nm{padding-right:26px;}
.lg-top-card .nm{
  font-family:var(--display);font-weight:800;font-size:14px;letter-spacing:-0.015em;line-height:1.22;
  color:#FFFFFF;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:none;
  text-shadow:0 1px 8px rgba(6,12,42,0.42);
}
.lg-top-card .snip{
  font-size:12px;line-height:1.38;color:rgba(232,244,255,0.80);margin-top:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:normal;word-break:normal;hyphens:none;
}
.top-meta{
  display:flex;flex-wrap:wrap;align-items:center;row-gap:5px;column-gap:5px;margin-top:8px;
}
.top-mt{
  display:inline-flex;align-items:center;gap:4px;padding:2.5px 6.5px;border-radius:999px;white-space:nowrap;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.22);
  font-family:var(--mono);font-size:10px;color:rgba(240,248,255,0.92);
}
.top-mt svg{width:11px;height:11px;stroke:#BAE6FD;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.top-mt b{color:#FFFFFF;font-weight:800;}
.top-lang{
  gap:5px;padding:2.5px 7px 2.5px 5.5px;
  font-family:var(--body);font-size:10px;letter-spacing:-0.01em;
}
.top-lang b{font-weight:700;color:rgba(248,252,255,0.96);}
.top-flag{
  width:13.5px;height:9.5px;border-radius:2px;object-fit:cover;flex-shrink:0;display:block;
  box-shadow:0 0 0 0.7px rgba(255,255,255,0.26);
}

/* Структурированная панель фильтров Топа: 1) ровный 3-частный бар платформ, 2) 2 симметричных дропдауна (Сортировка + Язык) */
.top-flt-wrap{
  display:flex;flex-direction:column;gap:6px;margin:0 0 11px;
}
.top-plat-bar{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;
  padding:3px;border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,0.10) 0%,rgba(12,24,72,0.22) 100%);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.28),inset 0 0.7px 0.9px rgba(255,255,255,0.38);
}
.top-seg-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:4.5px;
  height:27px;padding:0 6px;border:none;border-radius:999px;background:transparent;cursor:pointer;
  font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:-0.01em;white-space:nowrap;
  color:rgba(240,248,255,0.88);-webkit-tap-highlight-color:transparent;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .14s ease;
}
.top-seg-btn:active{transform:scale(0.96);}
.top-seg-btn .top-plat-ic{width:11.5px;height:11.5px;opacity:0.94;filter:drop-shadow(0 0 4px rgba(255,255,255,0.48));}
.top-seg-btn.cur{
  color:#FFFFFF;font-weight:800;text-shadow:0 1px 6px rgba(6,24,68,0.52);
  background:linear-gradient(135deg,rgba(56,189,248,0.88) 0%,rgba(37,99,235,0.92) 56%,rgba(79,70,229,0.86) 100%);
  box-shadow:0 5px 14px -4px rgba(56,189,248,0.62),inset 0 0.85px 1px rgba(255,255,255,0.82);
}
.top-seg-btn[data-tplat="max"].cur{
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 54%,#7C3AED 100%);
  box-shadow:0 5px 14px -3px rgba(99,102,241,0.78),inset 0 0.85px 1px rgba(255,255,255,0.82);
}
.top-seg-btn[data-tplat="tg"].cur{
  background:linear-gradient(135deg,#38BDF8 0%,#0EA5E9 56%,#0284C7 100%);
  box-shadow:0 5px 14px -3px rgba(14,165,233,0.78),inset 0 0.85px 1px rgba(255,255,255,0.82);
}
.top-flt-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;
}
.top-sel-pill{
  display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-width:0;
  height:30px;padding:0 10px 0 11px;border-radius:999px;border:none;cursor:pointer;
  font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:-0.01em;
  color:#FFFFFF;text-shadow:0 1px 5px rgba(6,12,42,0.38);
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(224,242,254,0.06) 56%,rgba(255,255,255,0.10) 100%);
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.36),inset 0 0.75px 1px rgba(255,255,255,0.52),inset 0 0 0 0.7px rgba(255,255,255,0.24);
  -webkit-tap-highlight-color:transparent;transition:transform .14s ease,background .18s ease,box-shadow .18s ease;
}
.top-sel-pill:active{transform:scale(0.97);}
.top-sel-pill.cur{
  background:linear-gradient(135deg,rgba(56,189,248,0.44) 0%,rgba(79,70,229,0.48) 100%);
  box-shadow:0 6px 16px -6px rgba(56,189,248,0.52),inset 0 0.85px 1px rgba(255,255,255,0.70),inset 0 0 0 0.75px rgba(186,230,253,0.56);
}
.top-sel-in{
  display:inline-flex;align-items:center;gap:5px;min-width:0;overflow:hidden;
}
.top-sel-in span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.top-flt-ic{width:12.5px;height:12.5px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;opacity:0.90;}
.top-flt-chev{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;opacity:0.78;}
.top-reset-btn{margin-top:4px;padding:0 18px;height:36px;border-radius:14px;font-size:12px;}

/* Бесконечный скролл Топа — мягкий стеклянный индикатор подгрузки */
.top-sentinel{
  display:flex;align-items:center;justify-content:center;
  padding:16px 0 6px;min-height:42px;
}
.top-inf-dots{display:inline-flex;align-items:center;gap:6px;}
.top-inf-dots i{
  width:6px;height:6px;border-radius:50%;display:block;
  background:rgba(224,242,254,0.82);
  box-shadow:0 0 8px rgba(125,211,252,0.55);
  animation:topDotPulse 1.1s ease-in-out infinite;
}
.top-inf-dots i:nth-child(2){animation-delay:.18s;}
.top-inf-dots i:nth-child(3){animation-delay:.36s;}
@keyframes topDotPulse{0%,80%,100%{transform:scale(0.68);opacity:0.42;}40%{transform:scale(1.12);opacity:1;}}
body.is-eco .top-inf-dots i{animation:none;opacity:0.7;}

/* Шторка выбора языка в фильтре Топа */
.top-ls-list{display:flex;flex-direction:column;gap:7px;margin-top:12px;}
.top-ls-opt{
  display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;
  padding:12px 14px;border-radius:14px;cursor:pointer;
  border:0.8px solid rgba(255,255,255,0.16);
  background:rgba(255,255,255,0.05);color:#FFFFFF;
  font-family:var(--body);font-size:14px;font-weight:600;
  -webkit-tap-highlight-color:transparent;transition:background .16s ease,border-color .16s ease;
}
.top-ls-opt.is-sel{
  border-color:rgba(125,211,252,0.55);
  background:linear-gradient(135deg,rgba(99,102,241,0.28),rgba(56,189,248,0.20));
}
.top-ls-l{display:inline-flex;align-items:center;gap:11px;}
.top-ls-flag{width:22px;height:15px;border-radius:3px;object-fit:cover;flex-shrink:0;box-shadow:0 0 0 1px rgba(255,255,255,0.18);}
.top-ls-gl{width:22px;height:15px;display:inline-flex;align-items:center;justify-content:center;color:#BAE6FD;}
.top-ls-gl .top-flt-ic{width:16px;height:16px;}
.top-ls-r{display:inline-flex;align-items:center;gap:8px;}
.top-ls-cnt{
  font-family:var(--mono);font-size:11px;font-weight:700;
  padding:2px 7px;border-radius:999px;
  background:rgba(255,255,255,0.10);color:rgba(224,242,254,0.88);
}
.top-ls-chk{width:16px;height:16px;color:#7DD3FC;display:inline-flex;align-items:center;justify-content:center;}
.top-ls-chk svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}

/* Светящаяся фирменная плашка платформы (MAX / Telegram) в карточках розыгрышей */
.top-plat{
  position:relative;overflow:hidden;white-space:nowrap;
  display:inline-flex;align-items:center;gap:3.5px;padding:2.5px 7px 2.5px 5.5px;border-radius:999px;
  font-family:var(--display);font-size:9.5px;font-weight:800;letter-spacing:0.03em;line-height:1;
  color:#FFFFFF;text-shadow:0 1px 4px rgba(4,8,28,0.45);
}
.top-plat-ic{width:11.5px;height:11.5px;color:#FFFFFF;flex-shrink:0;display:block;filter:drop-shadow(0 0 4px rgba(255,255,255,0.55));}
.top-plat.plat-max{
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 56%,#7C3AED 100%);
  box-shadow:0 0 14px -2px rgba(99,102,241,0.82),0 0 6px -1px rgba(56,189,248,0.72),inset 0 0.85px 1px rgba(255,255,255,0.75),inset 0 0 0 0.7px rgba(199,210,254,0.68);
}
.top-plat.plat-tg{
  background:linear-gradient(135deg,#38BDF8 0%,#0EA5E9 56%,#0284C7 100%);
  box-shadow:0 0 14px -2px rgba(14,165,233,0.82),0 0 6px -1px rgba(125,211,252,0.72),inset 0 0.85px 1px rgba(255,255,255,0.75),inset 0 0 0 0.7px rgba(186,230,253,0.68);
}
.top-plat::after{
  content:'';position:absolute;top:0;left:-80%;width:55%;height:100%;pointer-events:none;
  background:linear-gradient(100deg,transparent 0%,rgba(255,255,255,0.52) 50%,transparent 100%);
  transform:skewX(-18deg);animation:platGlint 4.2s ease-in-out infinite;
}
@keyframes platGlint{0%,68%{transform:translateX(0) skewX(-18deg);}100%{transform:translateX(420%) skewX(-18deg);}}
body.is-eco .top-plat::after{display:none!important;animation:none!important;}
.top-go{
  flex:0 0 22px;width:22px;height:22px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.10);color:rgba(255,255,255,0.86);
}
.lg-top-card:not(.lg-ch-card):not(.lg-mk-mine) .top-go{
  position:absolute;top:11px;right:11px;z-index:2;
}
.top-go svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}

.top-more-btn{width:100%;margin-top:12px;height:44px;border-radius:16px;font-size:13px;}
.top-note{
  text-align:center;font-family:var(--mono);font-size:10.5px;
  color:rgba(232,244,255,0.68);margin-top:14px;text-shadow:0 1px 6px rgba(6,12,42,0.32);
}
.lg-empty-card{padding:28px 18px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:12px;}
.lg-empty-ic{
  width:54px;height:54px;border-radius:17px;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2563EB 0%,#4F46E5 55%,#7C3AED 100%);
  box-shadow:0 12px 26px -6px rgba(37,99,235,0.68),inset 0 1px 1.2px rgba(255,255,255,0.74),inset 0 0 0 0.8px rgba(191,219,254,0.58);
  color:#FFFFFF;
}
.lg-empty-ic svg{width:26px;height:26px;stroke:#FFFFFF;fill:none;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 5px rgba(6,16,52,0.46));}
.lg-empty-tx{font-size:13.5px;line-height:1.45;color:rgba(240,248,255,0.88);}

/* Публичная карточка из Топа (screenTopCard) */
.lg-top-media{padding:8px;margin-bottom:14px;}
.lg-top-media img{display:block;width:100%;border-radius:18px;}
.lg-top-desc{padding:14px 16px;margin-bottom:14px;}
.prof-page .lg-top-desc{
  transform:none!important;-webkit-transform:none!important;
  backface-visibility:visible!important;-webkit-backface-visibility:visible!important;
}
.lg-top-desc .mdbox{
  font-size:13px;line-height:1.56;color:#FFFFFF;
  background:transparent!important;background-color:transparent!important;
  text-shadow:0 1px 3px rgba(6,12,42,0.30)!important;
}
.lg-top-desc .mdbox > *,
.lg-top-desc .mdbox div,
.lg-top-desc .mdbox p,
.lg-top-desc .mdbox b,
.lg-top-desc .mdbox i,
.lg-top-desc .mdbox u,
.lg-top-desc .mdbox s,
.lg-top-desc .mdbox span{
  background:transparent!important;background-color:transparent!important;
  box-shadow:none!important;
}
.lg-top-desc .mdbox a{
  color:#38BDF8;font-weight:600;
  text-decoration:underline;text-decoration-color:rgba(56,189,248,0.88);
  text-decoration-thickness:1.4px;text-underline-offset:2.5px;
  text-shadow:0 1px 4px rgba(4,12,44,0.48);
  background:transparent!important;
}
.lg-top-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px;}
.lg-top-stats .lg-tile{padding:12px 8px;text-align:center;border-radius:20px;}
.lg-top-stats .lg-tile .e{font-family:var(--mono);font-size:9px;letter-spacing:0.08em;text-transform:uppercase;color:rgba(232,244,255,0.74);}
.lg-top-stats .lg-tile .v{font-family:var(--display);font-weight:800;font-size:18px;color:#FFFFFF;margin:5px 0 3px;text-shadow:0 1px 10px rgba(6,12,42,0.38);}
.lg-top-stats .lg-tile .l{font-size:10px;color:rgba(232,244,255,0.70);line-height:1.25;}
.lg-top-rows{padding:2px 0;margin-bottom:14px;}
.lg-row{
  display:flex;align-items:center;gap:11px;padding:12px 15px;
  border-bottom:1px solid rgba(255,255,255,0.14);
}
.lg-row:last-child{border-bottom:none;}
.lg-row .e{width:20px;display:flex;align-items:center;justify-content:center;color:#BAE6FD;flex-shrink:0;}
.lg-row .e svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.95;stroke-linecap:round;stroke-linejoin:round;}
.lg-row .lbl{flex:1;min-width:0;}
.lg-row .lbl .t{font-size:13px;font-weight:600;color:#FFFFFF;}
.lg-row .val{font-family:var(--mono);font-size:11px;font-weight:700;color:rgba(232,244,255,0.88);text-align:right;max-width:56%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lg-row .val.set{color:#FFFFFF;}
.lg-top-ch{padding:11px 13px;}
.lg-top-ch .nm{
  display:block!important;-webkit-line-clamp:unset!important;-webkit-box-orient:initial!important;overflow:visible!important;
  background:transparent!important;background-color:transparent!important;
  text-shadow:0 1px 3px rgba(6,12,42,0.34)!important;
}
.lg-top-cta{margin-top:16px;}
.top-join-btn{width:100%;height:50px;border-radius:18px;font-family:var(--display);font-size:14px;font-weight:800;}

/* Энергосбережение для Топа (0px сдвига раскладки, спокойный сапфир, без blur) */
body.is-eco .hd,
body.is-eco .lg-top-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.is-eco .hd{
  background:linear-gradient(180deg,rgba(36,56,128,0.94) 0%,rgba(28,44,108,0.90) 100%)!important;
}
body.is-eco .lg-top-card:not(.has-photo){
  background:linear-gradient(155deg,rgba(44,68,148,0.58) 0%,rgba(28,46,114,0.56) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.22)!important;
}
body.is-eco .lg-top-card::before{display:none!important;}

/* ============================================================================
   КАНАЛЫ (screenChannels & screenChannel) + ЛИСТЫ В СТИЛЕ LIQUID GLASS
   ============================================================================ */
.ch-page{position:relative;z-index:2;padding-bottom:24px;}
.ch-acts{display:flex;align-items:center;gap:6px;margin:0 0 11px;}
.ch-add-btn,.ch-ic-btn{
  display:inline-flex;align-items:center;justify-content:center;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
.ch-add-btn::before,.ch-ic-btn::before{display:none!important;}
.ch-add-btn{
  width:auto!important;flex:0 0 auto;height:30px;min-height:0;padding:0 13px;border-radius:999px;gap:5px;
  font-family:var(--body);font-size:11px;font-weight:800;letter-spacing:-0.01em;white-space:nowrap;
  color:#FFFFFF!important;text-shadow:0 1px 6px rgba(6,12,42,0.42);
  background:linear-gradient(180deg,rgba(255,255,255,0.22) 0%,rgba(255,255,255,0.10) 56%,rgba(12,20,58,0.24) 100%)!important;
  box-shadow:0 8px 16px -8px rgba(4,8,30,0.44),inset 0 0.85px 1px rgba(255,255,255,0.64),inset 0 0 0 0.8px rgba(255,255,255,0.34)!important;
}
.ch-ic-btn{
  width:30px!important;height:30px;min-height:0;padding:0!important;border-radius:999px!important;flex:0 0 30px;
  color:#FFFFFF!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(224,242,254,0.06) 56%,rgba(255,255,255,0.10) 100%)!important;
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.36),inset 0 0.75px 1px rgba(255,255,255,0.52),inset 0 0 0 0.7px rgba(255,255,255,0.24)!important;
}
.ch-add-btn svg,.ch-ic-btn svg{width:13.5px;height:13.5px;stroke:currentColor;fill:none;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;display:block;}
.ch-ic-btn.busy{opacity:0.6;pointer-events:none;}
.ch-ic-btn.busy svg{animation:spin .8s linear infinite;}

.lg-ch-card{padding:12px 14px;}
.lg-ch-card .av,.lg-top-ch .av{
  position:relative;overflow:hidden;
  width:42px;height:42px;border-radius:14px;flex-shrink:0;
  box-shadow:0 6px 14px -5px rgba(4,8,30,0.52),0 0 0 1px rgba(255,255,255,0.30);
}
.lg-ch-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.lg-ch-stats .lg-tile{padding:14px 12px;text-align:center;border-radius:20px;}
.lg-ch-stats .lg-tile .e{font-family:var(--mono);font-size:9.5px;letter-spacing:0.09em;text-transform:uppercase;color:rgba(232,244,255,0.74);}
.lg-ch-stats .lg-tile .v{font-family:var(--display);font-weight:800;font-size:22px;color:#FFFFFF;margin:5px 0 3px;text-shadow:0 1px 10px rgba(6,12,42,0.38);}
.lg-ch-stats .lg-tile .l{font-size:10.5px;color:rgba(232,244,255,0.72);line-height:1.25;}

/* Карточки розыгрышей внутри Liquid Glass экранов (например, в screenChannel) */
body.is-prof .gv{
  position:relative;border:0;border-radius:22px;padding:13px 14px;
  background:linear-gradient(155deg,rgba(255,255,255,0.10) 0%,rgba(6,14,48,0.16) 54%,rgba(255,255,255,0.05) 100%);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.50),inset 0 0.7px 1.1px rgba(255,255,255,0.44),inset 0 -2px 5px -1px rgba(255,255,255,0.22);
  color:#FFFFFF;
}
body.is-prof .gv::after{display:none;}
body.is-prof .gv .nm{color:#FFFFFF;text-shadow:0 1px 8px rgba(6,12,42,0.42);}
body.is-prof .gv .snip{color:rgba(232,244,255,0.82);}
body.is-prof .gv .meta{color:rgba(232,244,255,0.84);}
body.is-prof .gv .go{color:rgba(255,255,255,0.82);}
body.is-prof .gv.gv-photo{
  background-size:cover!important;background-position:center!important;
}
body.is-prof .gv.gv-photo>*{position:relative;z-index:1;}

/* Нижние шторки (.tgov / .tgsheet) в настоящем Apple Liquid Glass */
body.is-prof .tgov{
  background:rgba(6,12,38,0.34);
  backdrop-filter:blur(10px) saturate(135%);-webkit-backdrop-filter:blur(10px) saturate(135%);
}
body.is-prof .tgsheet{
  position:relative;border:0;border-radius:28px 28px 0 0;
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.38) 54%,rgba(255,255,255,0.10) 100%)!important;
  backdrop-filter:blur(28px) saturate(175%) brightness(1.04)!important;-webkit-backdrop-filter:blur(28px) saturate(175%) brightness(1.04)!important;
  box-shadow:0 -18px 48px -12px rgba(4,10,36,0.52),inset 0 0 0 0.9px rgba(255,255,255,0.36),inset 0 1.2px 1.8px rgba(255,255,255,0.68),inset 0 -1.5px 4px rgba(255,255,255,0.14)!important;
  color:#FFFFFF;
}
body.is-prof .tgsheet-h{color:#FFFFFF;text-shadow:0 1px 10px rgba(6,12,42,0.40);}
body.is-prof .tgsheet .hlp-n{
  background:rgba(125,211,252,0.18);color:#E0F2FE;border-color:rgba(186,230,253,0.42);
}
body.is-prof .tgsheet .hlp-t{color:#FFFFFF;}
body.is-prof .tgsheet .hlp-s,body.is-prof .tgsheet .hlp-foot{color:rgba(232,244,255,0.82);}
body.is-prof .tgsheet .lg-sheet-note{
  display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-radius:16px;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
  font-size:12.5px;line-height:1.45;color:rgba(240,248,255,0.90);
}
body.is-prof .tgsheet .lg-sheet-note svg{width:17px;height:17px;stroke:#BAE6FD;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;margin-top:2px;}
body.is-prof .tgsheet .lg-sheet-inp{
  width:100%;box-sizing:border-box;margin-top:12px;padding:13px 14px;border-radius:15px;border:0;outline:none;
  background:rgba(255,255,255,0.10);color:#FFFFFF;font-family:var(--body);font-size:14px;
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.32),inset 0 2px 6px rgba(4,8,30,0.26);
}
body.is-prof .tgsheet .lg-sheet-inp::placeholder{color:rgba(224,242,254,0.56);}
body.is-prof .tgsheet .lg-sheet-inp:focus{
  box-shadow:inset 0 0 0 1.2px rgba(125,211,252,0.85),0 0 0 3px rgba(56,189,248,0.18);
}
body.is-prof .tgsheet .tgsheet-apply{
  background:linear-gradient(135deg,rgba(96,165,250,0.52),rgba(37,99,235,0.62));
  box-shadow:0 12px 26px -8px rgba(37,99,235,0.62),inset 0 0.85px 1px rgba(255,255,255,0.68);
  border-radius:16px;color:#FFFFFF;
}
body.is-eco .tgov,body.is-eco .tgsheet{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.is-eco .tgsheet{background:rgba(22,38,96,0.98)!important;}
body.is-eco .gv:not(.gv-photo){
  background:linear-gradient(155deg,rgba(44,68,148,0.58) 0%,rgba(28,46,114,0.56) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.22)!important;
}

/* ============================================================================
   БИРЖА КАНАЛОВ + ЕДИНЫЕ КОМПОНЕНТЫ ФОРМ В СТИЛЕ MAX × APPLE LIQUID GLASS
   ============================================================================ */
.mk-page{position:relative;z-index:2;padding-bottom:28px;}
.mk-intro{
  margin:7px 0 0;width:100%;box-sizing:border-box;font-size:12.5px;line-height:1.48;color:#FFFFFF;
  font-weight:500;text-align:justify;text-justify:inter-word;
  overflow-wrap:normal;word-break:normal;hyphens:none;
  text-shadow:0 1px 8px rgba(4,10,36,0.56);
}

/* Унифицированная прозрачная шапка .dbar внутри всех Liquid Glass экранов */
body.is-prof .dbar{
  margin:0 -14px 16px!important;
  padding:calc(14px + env(safe-area-inset-top,0px)) 14px 14px!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.05) 0%,rgba(255,255,255,0.01) 100%)!important;
  backdrop-filter:blur(6px)!important;-webkit-backdrop-filter:blur(6px)!important;
  border-bottom:0.5px solid rgba(255,255,255,0.18)!important;
  box-shadow:0 10px 24px -16px rgba(0,0,0,0.34),inset 0 -1px 0 rgba(0,0,0,0.16)!important;
}
html.lg-refract body.is-prof .dbar{backdrop-filter:url(#lg-refract-pill) blur(2px)!important;}
html.lg-refract body.is-eco .dbar{backdrop-filter:none!important;}
body.is-eco .dbar{
  background:linear-gradient(180deg,rgba(36,56,128,0.92) 0%,rgba(28,44,108,0.88) 100%)!important;
  box-shadow:inset 0 -0.7px 0 rgba(255,255,255,0.20)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.is-prof .dbar .back{
  border-radius:999px;border:0;width:38px;height:38px;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.09),rgba(255,255,255,0.02));
  box-shadow:0 8px 18px -8px rgba(0,0,0,0.34),inset 0 0 0 0.7px rgba(255,255,255,0.34);
}
body.is-prof .dbar .dt .k{color:rgba(240,248,255,0.76);}
body.is-prof .dbar .dt h1{color:#FFFFFF;text-shadow:0 2px 12px rgba(6,12,42,0.42);}
body.is-prof .dbar .hm{
  width:38px;height:38px;border-radius:12px;
  box-shadow:0 6px 14px -5px rgba(4,8,30,0.48),0 0 0 1px rgba(255,255,255,0.32);
}

/* Баннеры «Мои объявления» + «Сама биржа» (2 компактные стеклянные кнопки в ряд) */
.lg-mk-topacts{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:12px;
}
.lg-mk-mine{
  margin-bottom:0;padding:10px 11px!important;border-radius:18px!important;gap:9px!important;
}
.lg-mk-mine .e{
  width:34px;height:34px;border-radius:11px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2563EB 0%,#4F46E5 55%,#7C3AED 100%);
  box-shadow:0 8px 18px -5px rgba(37,99,235,0.68),inset 0 0.9px 1.1px rgba(255,255,255,0.74),inset 0 0 0 0.75px rgba(191,219,254,0.60);
  color:#FFFFFF;
}
.lg-mk-mine.lg-mk-feed .e{
  background:linear-gradient(135deg,#0EA5E9 0%,#0284C7 55%,#1D4ED8 100%);
  box-shadow:0 8px 18px -5px rgba(14,165,233,0.68),inset 0 0.9px 1.1px rgba(255,255,255,0.76),inset 0 0 0 0.75px rgba(186,230,253,0.64);
}
.lg-mk-mine .e svg{width:17px;height:17px;stroke:#FFFFFF;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1.5px 3px rgba(6,16,52,0.46));}
.lg-mk-mine .t{font-size:12.5px;font-weight:800;line-height:1.18;color:#FFFFFF;}
.lg-mk-mine .t small{display:block;font-size:10.5px;font-weight:500;line-height:1.22;color:rgba(232,244,255,0.80);margin-top:2px;}

/* Единый минималистичный стандарт чипов и фильтров (1-в-1 с .top-sel-pill и .top-plat-bar в Топе — без мыла и SVG-искажения) */
body.is-prof .chip,
body.is-prof #mp_type .chip{
  position:relative;overflow:hidden;border:0!important;border-radius:999px!important;
  height:30px;padding:0 11px!important;
  font-family:var(--body);font-size:11px!important;font-weight:700;letter-spacing:-0.01em;
  color:#FFFFFF;text-shadow:0 1px 5px rgba(6,12,42,0.38);
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(224,242,254,0.06) 56%,rgba(255,255,255,0.10) 100%)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.36),inset 0 0.75px 1px rgba(255,255,255,0.52),inset 0 0 0 0.7px rgba(255,255,255,0.24)!important;
  display:inline-flex;align-items:center;justify-content:center;gap:5px!important;
  transition:transform .14s ease,background .16s ease,box-shadow .16s ease;
}
body.is-prof .chip::before,
body.is-prof #mp_type .chip::before{display:none!important;}
body.is-prof .chip>*,body.is-prof #mp_type .chip>*{position:relative;z-index:1;}
body.is-prof .chip:active,body.is-prof #mp_type .chip:active{transform:scale(0.96);}
body.is-prof .chip.cur,body.is-prof .chip.on,
body.is-prof #mp_type .chip.cur{
  color:#FFFFFF!important;font-weight:800!important;
  text-shadow:0 1px 6px rgba(6,24,68,0.52)!important;
  background:linear-gradient(135deg,rgba(56,189,248,0.88) 0%,rgba(37,99,235,0.92) 56%,rgba(79,70,229,0.86) 100%)!important;
  box-shadow:0 5px 14px -4px rgba(56,189,248,0.62),inset 0 0.85px 1px rgba(255,255,255,0.82)!important;
}
body.is-prof .chip.cur::before,body.is-prof .chip.on::before,
body.is-prof #mp_type .chip.cur::before{display:none!important;}
html.lg-refract body.is-prof .chip,
html.lg-refract body.is-prof #mp_type .chip,
html.lg-refract body.is-eco .chip,
html.lg-refract body.is-eco #mp_type .chip{backdrop-filter:none!important;}
body.is-prof .mltabs{gap:5px;}
body.is-prof .mltabs .chip,body.is-prof #mp_type .chip{
  height:28px!important;padding:0 10px!important;
  font-family:var(--body)!important;font-size:11px!important;font-weight:700!important;
  letter-spacing:-0.01em!important;gap:4px!important;
}
body.is-prof .mltabs .chip svg,body.is-prof #mp_type .chip svg{width:11.5px;height:11.5px;flex-shrink:0;}
body.is-prof .chip-filter{
  height:28px!important;padding:0 10px!important;gap:5px!important;
  font-family:var(--body)!important;font-size:11px!important;font-weight:700!important;
}
body.is-prof .chip-cols{
  flex:0 0 30px!important;width:30px;height:28px!important;padding:0!important;
  cursor:pointer;
}
body.is-prof .chip-cols svg{width:13.5px;height:13.5px;display:block;}
body.is-prof .mp-ctrlbar{
  position:sticky;top:112px;z-index:25;
  padding:3px;margin:0 0 11px;border-radius:999px;gap:4px;
  background:linear-gradient(180deg,rgba(255,255,255,0.10) 0%,rgba(12,24,72,0.22) 100%);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.28),inset 0 0.7px 0.9px rgba(255,255,255,0.38);
}
body.is-prof .mp-ctrlbar .chip-filter:not(.cur):not(.on),
body.is-prof .mp-ctrlbar .chip-cols:not(.cur):not(.on){
  background:transparent!important;box-shadow:none!important;
}
body.is-eco .mp-ctrlbar{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:rgba(36,56,128,0.72)!important;
  box-shadow:0 6px 14px -8px rgba(8,14,44,0.42),inset 0 0 0 0.7px rgba(255,255,255,0.24)!important;
}
body.is-prof .mp-type-pick{flex:1.15;min-width:0;cursor:pointer;}
body.is-prof .mp-type-pick .nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
body.is-prof .mp-type-pick .mp-chev{flex-shrink:0;opacity:0.84;}

/* Шторка выбора типа объявления (.mp-ts-list) */
.mp-ts-list{display:flex;flex-direction:column;gap:8px;padding-bottom:4px;}
.mp-ts-row{
  width:100%;display:flex;align-items:center;gap:12px;padding:11px 13px;border:0;border-radius:16px;
  text-align:left;cursor:pointer;color:#FFFFFF;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
  transition:transform .12s ease,background .15s ease;
}
.mp-ts-row:active{transform:scale(0.98);}
.mp-ts-row.cur{
  background:linear-gradient(135deg,rgba(56,189,248,0.42),rgba(37,99,235,0.52));
  box-shadow:0 8px 18px -6px rgba(37,99,235,0.55),inset 0 0 0 0.85px rgba(186,230,253,0.74);
}
.mp-ts-ic{
  width:34px;height:34px;border-radius:11px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.12);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.28);color:#E0F2FE;
}
.mp-ts-ic svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.mp-ts-txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.mp-ts-txt b{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;}
.mp-ts-txt small{font-size:11px;color:rgba(232,244,255,0.78);line-height:1.3;}
.mp-ts-ck{color:#FFFFFF;flex-shrink:0;}

/* Двухколоночная сетка карточек Биржи (.mp-grid2 — компактно, наглядно, раскрытие описания по тапу) */
.top-list.mp-grid2{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;align-items:start;
}
.top-list.mp-grid2 .lg-mk-card{padding:10px 9px;border-radius:18px;}
.top-list.mp-grid2 .mp-cover{height:92px;object-fit:cover;border-radius:12px;margin-bottom:8px;}
.top-list.mp-grid2 .mp-badges{gap:4px;margin-bottom:7px;}
.top-list.mp-grid2 .mp-type,
.top-list.mp-grid2 .mp-flag{font-size:9.5px;padding:3px 7px;gap:3px;}
.top-list.mp-grid2 .mp-type svg,
.top-list.mp-grid2 .mp-flag svg{width:10px;height:10px;}
.top-list.mp-grid2 .mp-chs{gap:4px;margin-bottom:7px;}
.top-list.mp-grid2 .mp-ch{padding:3px 6px 3px 3px;font-size:10.5px;gap:5px;max-width:100%;}
.top-list.mp-grid2 .mp-ch .miniav{width:18px;height:18px;border-radius:6px;}
.top-list.mp-grid2 .mp-ch .nm{max-width:96px;}
.top-list.mp-grid2 .mp-ch .sub{font-size:9px;}
.top-list.mp-grid2 .mp-desc{
  font-size:11px;line-height:1.38;margin-bottom:8px;cursor:pointer;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;
}
.top-list.mp-grid2 .mp-desc.is-trunc{
  margin-bottom:3px;
  -webkit-mask-image:linear-gradient(180deg,#000 66%,rgba(0,0,0,0.38) 100%);
  mask-image:linear-gradient(180deg,#000 66%,rgba(0,0,0,0.38) 100%);
}
.top-list.mp-grid2 .mp-desc.exp{
  display:block;-webkit-line-clamp:unset;overflow:visible;cursor:default;
  -webkit-mask-image:none;mask-image:none;
}
.mp-desc-more{
  display:inline-flex;align-items:center;gap:4px;margin:0 0 8px;padding:3px 8px;
  border:0;border-radius:999px;cursor:pointer;
  font-family:var(--display);font-size:10px;font-weight:700;color:#BAE6FD;
  background:rgba(56,189,248,0.16);
  box-shadow:inset 0 0 0 0.65px rgba(125,211,252,0.42);
  transition:transform .12s ease,background .15s ease;
}
.mp-desc-more:active{transform:scale(0.95);background:rgba(56,189,248,0.28);}
.mp-desc-more svg{flex-shrink:0;}
.top-list.mp-grid2 .mp-author{font-size:10px;margin-bottom:7px;}
.top-list.mp-grid2 .mp-pills{gap:4px;margin-bottom:7px;}
.top-list.mp-grid2 .mp-pill{
  font-size:9.5px;line-height:1.25;padding:3.5px 6px;gap:4px;border-radius:8px;
  max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;align-items:flex-start;
}
.top-list.mp-grid2 .mp-pill svg{width:10px;height:10px;margin-top:1px;}
.top-list.mp-grid2 .mp-pill span{min-width:0;overflow-wrap:normal;word-break:normal;hyphens:none;}
.top-list.mp-grid2 .mp-pill-price b{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;}
.top-list.mp-grid2 .mp-tags{gap:4px;margin-bottom:8px;}
.top-list.mp-grid2 .mp-tags .tag{font-size:9.5px;padding:2px 6px;}
.top-list.mp-grid2 .votebar{flex-direction:column;align-items:stretch;gap:6px;padding-top:8px;}
.top-list.mp-grid2 .mp-deliv{height:24px;font-size:8.5px;padding:0 6px;border-radius:7px;}
.top-list.mp-grid2 .mp-bot-meta{gap:4px;flex-wrap:nowrap;}
.top-list.mp-grid2 .mp-bot-right{gap:4px;}
.top-list.mp-grid2 .mp-deliv{font-size:9px;padding:3px 6px;border-radius:8px;white-space:normal;text-align:right;line-height:1.15;}
.top-list.mp-grid2 .votebar .report{margin-left:0;width:100%;font-size:10px;padding:5px 7px;text-align:center;}
.top-list.mp-grid2 .mp-admin-wstat{font-size:9.5px;padding:4px 6px;margin-top:6px;border-radius:8px;}
.top-list.mp-grid2 .mp-admin-block,
.top-list.mp-grid2 .mp-admin-warn,
.top-list.mp-grid2 .mp-admin-unwarn,
.top-list.mp-grid2 .mp-admin-ban{font-size:10.5px;padding:7px 6px;margin-top:6px;border-radius:10px;}
body.is-prof .tgsheet .fs-h{color:rgba(232,244,255,0.82);}
body.is-prof .tgsheet .fs-reset{color:#7DD3FC;}
body.is-prof .tgsheet .chip{height:34px;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}

/* Карточки объявлений Биржи (эталонный 360° Liquid Glass как в Профиле) */
.lg-mk-card{
  position:relative;z-index:1;border:0;border-radius:22px;padding:14px;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 40px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0 0 7px -2px rgba(255,255,255,0.16),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
  color:#FFFFFF;
}
.lg-mk-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lg-mk-card>*{position:relative;z-index:1;}
body.is-prof .mp-cover{border-radius:16px;border:0;box-shadow:0 10px 24px -10px rgba(4,8,30,0.58),0 0 0 0.7px rgba(255,255,255,0.22);background:rgba(8,14,42,0.36);}
/* Фирменная глубокая палитра Сюрпризум (бордовый, тёмно-синий, аметист, индиго, изумруд — 0 жёлтого и болотного) */
body.is-prof .mp-type{background:rgba(15,28,74,0.72);border:0;box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.28);text-shadow:0 1px 4px rgba(4,8,28,0.42);pointer-events:none;user-select:none;-webkit-user-select:none;cursor:default;}
body.is-prof .mp-type-partner{color:#FFFFFF;background:linear-gradient(135deg,#7C3AED 0%,#4C1D95 100%);box-shadow:inset 0 0.8px 0.9px rgba(255,255,255,0.48),inset 0 0 0 0.7px rgba(221,214,254,0.52),0 6px 14px -5px rgba(76,29,149,0.62);}
body.is-prof .mp-type-sell_ads{color:#FFFFFF;background:linear-gradient(135deg,#BE123C 0%,#881337 100%);box-shadow:inset 0 0.8px 0.9px rgba(255,255,255,0.48),inset 0 0 0 0.7px rgba(253,164,175,0.52),0 6px 14px -5px rgba(136,19,55,0.62);}
body.is-prof .mp-type-buy_ads{color:#FFFFFF;background:linear-gradient(135deg,#1D4ED8 0%,#1E3A8A 100%);box-shadow:inset 0 0.8px 0.9px rgba(255,255,255,0.48),inset 0 0 0 0.7px rgba(147,197,253,0.54),0 6px 14px -5px rgba(30,58,138,0.64);}
body.is-prof .mp-type-vp{color:#FFFFFF;background:linear-gradient(135deg,#4338CA 0%,#312E81 100%);box-shadow:inset 0 0.8px 0.9px rgba(255,255,255,0.48),inset 0 0 0 0.7px rgba(165,180,252,0.52),0 6px 14px -5px rgba(49,46,129,0.62);}
/* Статусные бейджи свободных мест: строго неинтерактивные статичные кристаллы Liquid Glass (без миганий и реакции на клик) */
body.is-prof .mp-flag{
  pointer-events:none;user-select:none;-webkit-user-select:none;cursor:default;
}
body.is-prof .mp-flag.mp-hot{
  position:relative;overflow:hidden;border:0;color:#FFFFFF;font-weight:800;
  background:linear-gradient(135deg,#FB923C 0%,#F97316 54%,#DC2626 100%);
  box-shadow:0 6px 14px -5px rgba(234,88,12,0.72),inset 0 0.85px 1px rgba(255,253,230,0.82),inset 0 0 0 0.7px rgba(254,240,138,0.66);
  text-shadow:0 1px 4px rgba(124,18,6,0.68);
}
body.is-prof .mp-flag.mp-hot svg{
  stroke:#FFFBEB;fill:rgba(254,240,138,0.34);
  filter:drop-shadow(0 0 4px rgba(254,240,138,0.72));
}
body.is-prof .mp-flag.mp-tom{
  position:relative;overflow:hidden;border:0;color:#FFFFFF;font-weight:800;
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 54%,#6366F1 100%);
  box-shadow:0 6px 14px -5px rgba(37,99,235,0.68),inset 0 0.85px 1px rgba(240,249,255,0.82),inset 0 0 0 0.7px rgba(186,230,253,0.64);
  text-shadow:0 1px 4px rgba(15,23,66,0.62);
}
body.is-prof .mp-flag.mp-tom svg{
  width:13px;height:13px;fill:none;stroke:#F0F9FF;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;
}
body.is-prof .mp-flag.mp-tom .mp-dawn-sun{fill:rgba(224,242,254,0.34);}
body.is-prof .mp-flag.mp-soon{
  position:relative;overflow:hidden;border:0;color:#FFFFFF;font-weight:800;
  background:linear-gradient(135deg,#10B981 0%,#0D9488 54%,#0284C7 100%);
  box-shadow:0 6px 14px -5px rgba(13,148,136,0.68),inset 0 0.85px 1px rgba(236,253,245,0.82),inset 0 0 0 0.7px rgba(167,243,208,0.64);
  text-shadow:0 1px 4px rgba(6,48,38,0.62);
}
body.is-prof .mp-flag.mp-soon svg{
  width:13px;height:13px;fill:none;stroke:#ECFDF5;stroke-width:2.05;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;
}
body.is-prof .mp-ch{
  background:rgba(12,24,68,0.44);border:0;box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.24);
  color:#FFFFFF;
}
body.is-prof .mp-ch .sub{color:rgba(224,242,254,0.82);}
body.is-prof .mp-desc{color:rgba(240,248,255,0.92);}
body.is-prof .mp-desc a,body.is-prof .mp-author a,body.is-prof .ml-feedlink{color:#7DD3FC;}
body.is-prof .mp-author{color:rgba(224,242,254,0.74);}
body.is-prof .mp-pill{
  display:inline-flex;align-items:center;gap:5px;border:0;
  background:rgba(12,24,68,0.42);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
  color:rgba(240,248,255,0.94);
}
body.is-prof .mp-pill svg{width:12px;height:12px;stroke:#BAE6FD;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
body.is-prof .mp-pill b{color:#FFFFFF;}
body.is-prof .mp-pill-price{
  background:linear-gradient(135deg,#9F1239 0%,#6D1B4B 100%);
  box-shadow:inset 0 0.8px 0.9px rgba(255,255,255,0.46),inset 0 0 0 0.7px rgba(253,164,175,0.50),0 5px 12px -5px rgba(136,19,55,0.56);
  color:#FFE4E6;text-shadow:0 1px 3px rgba(4,8,28,0.42);
}
body.is-prof .mp-pill-price svg{stroke:#FFFFFF;}
body.is-prof .mp-pill-price b{color:#FFFFFF;text-shadow:0 1px 4px rgba(4,8,28,0.44);}
body.is-prof .mp-tags .tag{
  border:0;background:rgba(12,24,68,0.38);box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.22);
  color:rgba(232,244,255,0.90);
}
body.is-prof .votebar{
  flex-direction:column;align-items:stretch;gap:8px;
  border-top:1px solid rgba(255,255,255,0.14);padding-top:10px;margin-top:2px;
}
body.is-prof .mp-deliv{
  display:inline-flex;align-items:center;justify-content:center;height:28px;padding:0 9px;border-radius:9px;
  font-family:var(--body);font-size:10.5px;font-weight:700;line-height:1;white-space:nowrap;width:auto;max-width:100%;
  border:0;background:linear-gradient(135deg,#059669 0%,#047857 100%);
  box-shadow:inset 0 0.75px 0.9px rgba(255,255,255,0.48),inset 0 0 0 0.65px rgba(110,231,183,0.54),0 5px 12px -5px rgba(4,120,87,0.52);
  color:#FFFFFF;text-shadow:0 1px 3px rgba(4,8,28,0.36);
}
body.is-prof .mp-deliv b{color:#FFFFFF;font-weight:700;}
body.is-prof .mp-deliv.none{
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.18);
  color:rgba(224,242,254,0.72);text-shadow:none;font-weight:600;
}
body.is-prof .votebar .report{
  margin-left:0;width:100%;box-sizing:border-box;text-align:center;
  background:rgba(255,255,255,0.08);border:0;box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
  color:rgba(232,244,255,0.78);border-radius:10px;padding:7px 10px;
}
/* Кнопка «Связаться» в фирменном стиле площадки (MAX / Telegram — как плашки в Топе) */
.mp-contact-btn{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:center;gap:8px;width:100%;box-sizing:border-box;
  margin-top:0;height:40px;padding:0 14px;border-radius:13px;text-decoration:none;cursor:pointer;
  font-family:var(--display);font-size:12.5px;font-weight:800;letter-spacing:-0.01em;color:#FFFFFF;
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 58%,#4F46E5 100%);
  box-shadow:0 8px 20px -6px rgba(37,99,235,0.72),inset 0 0.85px 1.1px rgba(255,255,255,0.74),inset 0 0 0 0.7px rgba(255,255,255,0.30);
  text-shadow:0 1px 4px rgba(4,12,42,0.42);
  transition:transform .12s ease,filter .14s ease;
}
.mp-contact-btn::after{
  content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,0.24) 0%,rgba(255,255,255,0.04) 45%,transparent 62%);
}
.mp-contact-btn>*{position:relative;z-index:1;}
.mp-contact-btn span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
.mp-contact-btn:active{transform:scale(0.97);filter:brightness(1.08);}
.mp-contact-btn > svg{width:14px;height:14px;stroke:#FFFFFF;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;}
.mp-contact-btn .mp-ct-ic{
  width:22px;height:22px;border-radius:7px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.18);
  box-shadow:inset 0 0.65px 0.85px rgba(255,255,255,0.52);
}
.mp-contact-btn .mp-ct-ic svg{
  width:14px;height:14px;color:#FFFFFF;fill:currentColor;stroke:none;display:block;
  filter:drop-shadow(0 1px 3px rgba(6,16,52,0.30));
}
.mp-contact-btn.plat-max{
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 56%,#7C3AED 100%);
  box-shadow:0 10px 24px -7px rgba(99,102,241,0.78),0 0 10px -3px rgba(56,189,248,0.48),inset 0 0.9px 1.1px rgba(255,255,255,0.78),inset 0 0 0 0.7px rgba(199,210,254,0.62);
}
.mp-contact-btn.plat-tg{
  background:linear-gradient(135deg,#38BDF8 0%,#2AABEE 52%,#0284C7 100%);
  box-shadow:0 10px 24px -7px rgba(42,171,238,0.78),0 0 10px -3px rgba(125,211,252,0.48),inset 0 0.9px 1.1px rgba(255,255,255,0.78),inset 0 0 0 0.7px rgba(186,230,253,0.62);
}
.top-list.mp-grid2 .mp-contact-btn{height:34px;font-size:9.5px;padding:0 6px;gap:5px;border-radius:10px;margin-top:0;letter-spacing:-0.02em;}
.top-list.mp-grid2 .mp-contact-btn > svg{width:12px;height:12px;}
.top-list.mp-grid2 .mp-contact-btn .mp-ct-ic{width:18px;height:18px;border-radius:6px;}
.top-list.mp-grid2 .mp-contact-btn .mp-ct-ic svg{width:11.5px;height:11.5px;}
/* Счётчик уникальных просмотров слева; статус выдач прижат к флажку справа на одной строке */
.mp-bot-meta{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:6px;margin-top:9px;position:relative;z-index:1;
}
.mp-bot-meta .mp-views{flex:0 0 auto;white-space:nowrap;}
.mp-bot-right{
  display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:1 1 auto;min-width:0;margin-inline-start:auto;
}
.mp-bot-right .mp-deliv{
  padding:4px 9px;border-radius:10px;font-size:10.5px;line-height:1.2;
  min-width:0;max-width:100%;text-align:right;
}
.mp-mine-tag{
  font-family:var(--mono);font-size:10px;font-weight:700;color:rgba(224,242,254,0.62);
  padding:3px 8px;border-radius:999px;background:rgba(255,255,255,0.07);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.16);
}
.mp-flag-btn{
  width:28px;height:28px;border-radius:9px;border:0;padding:0;cursor:pointer;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
  color:rgba(232,244,255,0.68);
  transition:transform .13s ease,background .15s ease,color .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.mp-flag-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.mp-flag-btn:active{transform:scale(0.90);background:rgba(244,63,94,0.20);color:#FDA4AF;}
.mp-flag-btn.done{
  background:rgba(244,63,94,0.18);color:#FDA4AF;
  box-shadow:inset 0 0 0 0.7px rgba(251,113,133,0.45);
}
.mp-flag-btn.done svg .flg-body{fill:currentColor;}
.top-list.mp-grid2 .mp-flag-btn{width:24px;height:24px;border-radius:8px;}
.top-list.mp-grid2 .mp-flag-btn svg{width:12.5px;height:12.5px;}
/* Лист выбора причины жалобы на Бирже (Liquid Glass) */
.mp-rep-sheet{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));}
.mp-rep-sub{font-size:12px;color:rgba(224,242,254,0.78);margin:-4px 0 12px;line-height:1.4;}
.mp-rep-list{display:flex;flex-direction:column;gap:7px;margin-bottom:10px;}
.mp-rep-opt{
  display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;
  padding:11px 13px;border-radius:14px;border:0;cursor:pointer;text-align:left;
  font-family:var(--body);font-size:13px;font-weight:600;color:#FFFFFF;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
  transition:background .15s ease,box-shadow .15s ease,transform .12s ease;
}
.mp-rep-opt:active{transform:scale(0.985);}
.mp-rep-opt i{
  width:18px;height:18px;border-radius:50%;flex-shrink:0;
  border:1.5px solid rgba(255,255,255,0.42);background:transparent;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.mp-rep-opt.cur{
  background:linear-gradient(135deg,rgba(244,63,94,0.28),rgba(225,29,72,0.18));
  box-shadow:inset 0 0 0 1px rgba(251,113,133,0.72),0 6px 16px -6px rgba(244,63,94,0.46);
}
.mp-rep-opt.cur i{
  border-color:#FDA4AF;background:#F43F5E;
  box-shadow:inset 0 0 0 3px rgba(20,10,36,0.75);
}
.mp-rep-inp{
  width:100%;box-sizing:border-box;padding:10px 12px;border-radius:13px;border:0;margin-bottom:12px;
  font-family:var(--body);font-size:13px;color:#FFFFFF;
  background:rgba(10,18,52,0.42);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);outline:none;
}
.mp-rep-inp::placeholder{color:rgba(224,242,254,0.52);}
.mp-rep-acts{display:grid;grid-template-columns:1fr 1.45fr;gap:8px;}
.mp-rep-cancel,.mp-rep-send{
  height:42px;border-radius:14px;border:0;cursor:pointer;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
  transition:transform .12s ease,opacity .15s ease;
}
.mp-rep-cancel{background:rgba(255,255,255,0.10);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.24);}
.mp-rep-send{
  background:linear-gradient(135deg,#F43F5E,#E11D48);
  box-shadow:0 8px 20px -6px rgba(244,63,94,0.62),inset 0 0.8px 1px rgba(255,255,255,0.55);
}
.mp-rep-send:disabled{opacity:0.42;cursor:default;}
.mp-rep-cancel:active,.mp-rep-send:not(:disabled):active{transform:scale(0.97);}
.mp-views{
  display:inline-flex;align-items:center;gap:4px;
  font-family:var(--mono);font-size:11px;font-weight:700;color:rgba(224,242,254,0.78);
  padding:3px 8px 3px 6px;border-radius:999px;
  background:rgba(10,18,52,0.34);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
}
.mp-views svg{
  width:13px;height:13px;stroke:rgba(186,230,253,0.88);fill:none;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;
}
.mp-views b{color:#FFFFFF;font-weight:800;}
.top-list.mp-grid2 .mp-bot-meta{margin-top:6px;}
.top-list.mp-grid2 .mp-views{font-size:9.5px;padding:2.5px 6px 2.5px 5px;}
.top-list.mp-grid2 .mp-views svg{width:11px;height:11px;}
body.is-prof .mp-more{
  border:0;border-radius:15px;height:42px;padding:0 16px;
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(12,24,72,0.20));
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.28);color:#FFFFFF;font-weight:800;
}
body.is-prof .mp-bbadge{
  border:0;background:rgba(159,18,57,0.82);color:#FFE4E6;
  box-shadow:inset 0 0 0 0.75px rgba(251,113,133,0.62);
}
.mp-admin-panel{
  margin-top:10px;padding-top:9px;
  border-top:0.7px dashed rgba(255,255,255,0.16);
  display:flex;flex-direction:column;gap:7px;
}
.mp-admin-panel .mp-admin-wstat{margin-top:0;font-size:10.5px;align-self:flex-start;}
.mp-admin-acts{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
}
body.is-prof .mp-admin-block,
body.is-prof .mp-admin-warn,
body.is-prof .mp-admin-unwarn,
body.is-prof .mp-admin-ban{
  display:inline-flex!important;align-items:center;justify-content:center;gap:5px;
  width:auto!important;margin-top:0!important;
  border:0;border-radius:999px;padding:6px 11px;
  font-family:var(--display);font-weight:700;font-size:11px;line-height:1.15;letter-spacing:0.01em;
  text-shadow:0 1px 4px rgba(4,8,28,0.42);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:transform .12s ease,filter .14s ease;
}
body.is-prof .mp-admin-block svg,
body.is-prof .mp-admin-warn svg,
body.is-prof .mp-admin-ban svg{
  width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.1;
  stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;
}
body.is-prof .mp-admin-block{
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(159,18,57,0.52));color:#FFE4E6;
  box-shadow:0 6px 14px -6px rgba(136,19,55,0.48),inset 0 0 0 0.75px rgba(251,113,133,0.55),inset 0 0.8px 0.8px rgba(255,255,255,0.38);
}
body.is-prof .mp-admin-block.on{
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(6,95,70,0.58));color:#D1FAE5;
  box-shadow:0 6px 14px -6px rgba(6,78,59,0.48),inset 0 0 0 0.75px rgba(52,211,153,0.58),inset 0 0.8px 0.8px rgba(255,255,255,0.38);
}
body.is-prof .mp-admin-warn{
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(180,83,9,0.52));color:#FEF3C7;
  box-shadow:0 6px 14px -6px rgba(120,53,15,0.48),inset 0 0 0 0.75px rgba(251,191,36,0.58),inset 0 0.8px 0.8px rgba(255,255,255,0.38);
}
body.is-prof .mp-admin-unwarn{
  background:rgba(255,255,255,0.10);color:rgba(226,240,255,0.90);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.30);
}
body.is-prof .mp-admin-ban{
  background:linear-gradient(180deg,rgba(244,63,94,0.34),rgba(136,19,55,0.72));color:#FFE4E6;
  box-shadow:0 6px 16px -6px rgba(127,29,29,0.56),inset 0 0 0 0.8px rgba(251,113,133,0.68),inset 0 0.8px 0.8px rgba(255,255,255,0.34);
}
.top-list.mp-grid2 .mp-admin-acts{gap:5px;}
.top-list.mp-grid2 .mp-admin-block,
.top-list.mp-grid2 .mp-admin-warn,
.top-list.mp-grid2 .mp-admin-unwarn,
.top-list.mp-grid2 .mp-admin-ban{font-size:10px!important;padding:5px 8px!important;}

/* Унифицированные стеклянные блоки форм (.bx, .group, .row, .note, .field, .btn) — эталонный Liquid Glass из Профиля */
body.is-prof .glabel{color:rgba(255,255,255,0.94);text-shadow:0 1px 8px rgba(6,12,42,0.36);}
body.is-prof .bx,body.is-prof .group{
  position:relative;border:0;border-radius:20px;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 18px 36px -14px rgba(4,8,30,0.52),0 5px 14px -5px rgba(4,8,30,0.28),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0 0 7px -2px rgba(255,255,255,0.16),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
}
body.is-prof .bx::before,body.is-prof .group::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-eco .bx::before,body.is-eco .group::before{display:none!important;}
/* Отдельный премиальный блок «Дизайн страницы» с живым превью в черновике */
body.is-prof .group.group-theme .row{border-bottom:1px solid rgba(255,255,255,0.14);}
body.is-prof .group.group-theme .row:last-child{border-bottom:none;}
.gv-th-card{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:stretch;gap:15px;padding:15px;border-radius:22px;margin-bottom:4px;
  background:linear-gradient(155deg,rgba(255,255,255,0.14) 0%,rgba(12,22,62,0.22) 55%,rgba(255,255,255,0.06) 100%);
  backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
  box-shadow:
    0 20px 42px -14px rgba(4,10,36,0.52),
    0 5px 14px -5px rgba(4,10,36,0.28),
    inset 0 1px 1.4px rgba(255,255,255,0.58),
    inset 0 -2px 6px -1px rgba(255,255,255,0.26);
}
.gv-th-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.85px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.68) 0deg,rgba(186,230,253,0.42) 60deg,rgba(255,255,255,0.22) 130deg,rgba(255,255,255,0.64) 180deg,rgba(196,181,253,0.42) 245deg,rgba(255,255,255,0.22) 310deg,rgba(255,255,255,0.68) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.gv-th-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.88;
}
.gv-th-bg .wp-fl-a{animation:wpFloatA 9s ease-in-out infinite;}
.gv-th-bg .wp-fl-b{animation:wpFloatB 11s ease-in-out infinite;}
body.is-eco .gv-th-card{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:linear-gradient(155deg,rgba(44,68,148,0.68) 0%,rgba(26,42,106,0.64) 100%)!important;}
body.is-eco .gv-th-bg g{animation:none!important;}
.gv-th-stage{
  position:relative;z-index:2;
  flex:0 0 100px;width:100px;height:160px;padding:0;border:0;border-radius:18px;
  overflow:hidden;cursor:pointer;align-self:center;
  background:linear-gradient(155deg,#071128 0%,#0E2556 52%,#050B1C 100%);
  box-shadow:
    0 16px 30px -10px rgba(4,8,30,0.78),
    0 0 0 1.4px rgba(255,255,255,0.46),
    inset 0 1px 1.4px rgba(255,255,255,0.62);
  transition:transform .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.gv-th-stage:hover{
  transform:translateY(-2px) scale(1.025);
  box-shadow:0 20px 36px -10px rgba(4,8,30,0.82),0 0 22px -6px rgba(56,189,248,0.55),0 0 0 1.5px rgba(255,255,255,0.72);
}
.gv-th-stage:active{transform:scale(0.97);}
.gv-th-notch{
  position:absolute;top:5px;left:50%;transform:translateX(-50%);z-index:3;
  width:28px;height:4px;border-radius:999px;pointer-events:none;
  background:rgba(255,255,255,0.34);
  box-shadow:0 1px 4px rgba(0,0,0,0.38);
}
.gv-th-fr{
  position:absolute;top:0;left:0;width:375px;height:600px;border:0;pointer-events:none;
  transform-origin:top left;transform:scale(0.2667);
  opacity:0;transition:opacity .24s ease;
}
.gv-th-fr.is-rdy{opacity:1;}
.gv-th-zoom{
  position:absolute;right:6px;bottom:6px;z-index:3;
  width:24px;height:24px;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(8,14,42,0.62);color:#FFFFFF;
  box-shadow:0 4px 10px -2px rgba(4,8,28,0.58),inset 0 0 0 0.85px rgba(255,255,255,0.52);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.gv-th-zoom svg{width:13px;height:13px;}
.gv-th-info{
  position:relative;z-index:2;flex:1;min-width:0;
  display:flex;flex-direction:column;justify-content:center;gap:5px;
}
.gv-th-badge{
  align-self:flex-start;display:inline-flex;align-items:center;gap:6px;
  padding:3px 9px;border-radius:999px;
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.10em;color:#E0F2FE;
  background:rgba(255,255,255,0.14);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.36);
}
.gv-th-badge i{
  width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:#34D399;box-shadow:0 0 8px rgba(52,211,153,0.92);
}
.gv-th-nm{
  font-family:var(--display);font-size:16.5px;font-weight:900;line-height:1.18;letter-spacing:-0.015em;color:#FFFFFF;
  text-shadow:0 2px 12px rgba(6,12,42,0.52);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.gv-th-sub{font-size:12px;line-height:1.38;color:rgba(232,244,255,0.82);}
.gv-th-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.gv-th-btn{
  height:38px;padding:0 14px;border:0;border-radius:13px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.22) 0%,rgba(255,255,255,0.09) 100%);
  box-shadow:0 8px 18px -8px rgba(4,10,36,0.48),inset 0 1px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.85px rgba(255,255,255,0.36);
  transition:filter .14s ease,transform .12s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.gv-th-btn svg{width:14px;height:14px;flex-shrink:0;filter:drop-shadow(0 0 6px rgba(255,255,255,0.55));}
.gv-th-btn.pri{
  flex:1 1 auto;min-width:118px;
  background:
    radial-gradient(95% 130% at 14% 0%,rgba(255,255,255,0.36) 0%,transparent 60%),
    linear-gradient(135deg,rgba(56,189,248,0.82) 0%,rgba(99,102,241,0.84) 100%);
  box-shadow:
    0 12px 24px -8px rgba(37,99,235,0.58),
    0 0 18px -6px rgba(125,211,252,0.55),
    inset 0 1.2px 1.6px rgba(255,255,255,0.90),
    inset 0 0 0 1px rgba(255,255,255,0.62);
}
.gv-th-btn:hover{filter:brightness(1.08);}
.gv-th-btn:active{transform:scale(0.965);}
@media (min-width: 768px){
  .gv-th-card{padding:18px 20px;gap:20px;}
  .gv-th-stage{flex:0 0 114px;width:114px;height:182px;border-radius:20px;}
  .gv-th-fr{transform:scale(0.304);}
  .gv-th-nm{font-size:18px;}
}

/* Обязательные незаполненные строки в черновике (Название, Каналы, Дата итогов/начала) — красное стекло */
.req-dot{
  display:inline-block;width:6.5px;height:6.5px;border-radius:50%;margin-right:7px;vertical-align:middle;
  background:#FDE047;box-shadow:0 0 9px rgba(251,191,36,0.92);
}
body.is-prof .group .row.row-req-miss{
  position:relative;
  background:linear-gradient(135deg,rgba(251,191,36,0.13) 0%,rgba(16,28,74,0.20) 56%,rgba(255,255,255,0.03) 100%)!important;
  border-bottom-color:rgba(253,224,71,0.20)!important;
  box-shadow:inset 0 1px 0 rgba(254,249,195,0.14);
}
body.is-prof .group .row.row-req-miss::after{
  content:'';position:absolute;left:4px;top:9px;bottom:9px;width:3.5px;border-radius:999px;pointer-events:none;
  background:linear-gradient(180deg,#FDE047 0%,#F59E0B 100%);
  box-shadow:0 0 8px rgba(251,191,36,0.68);
}
body.is-prof .group .row.row-req-miss .e svg{stroke:#FEF08A!important;filter:drop-shadow(0 0 6px rgba(251,191,36,0.45));}
body.is-prof .group .row.row-req-miss .lbl .t{color:#FFFFFF!important;font-weight:700;}
body.is-prof .group .row.row-req-miss .val.off{
  color:#FEF08A!important;font-weight:700;opacity:1;
  padding:2.5px 9px;border-radius:999px;
  background:rgba(251,191,36,0.16);
  box-shadow:inset 0 0 0 0.65px rgba(253,224,71,0.46);
}
body.is-prof .group .row.row-req-miss .go{color:#FDE68A!important;}
.pp-media-pill{
  display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#E0F2FE;
  background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.18);
  border-radius:999px;padding:6px 12px;margin-bottom:12px;
}
.pp-media-pill svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

/* Единый минималистичный стиль Apple iPhone Liquid Glass для всех кнопок действий (черновики, активные, завершённые, управление каналом) */
body.is-prof .btn-launch,
body.is-prof .btn-prizes,
body.is-prof .btn-tpl,
body.is-prof .btn-loadtpl,
body.is-prof .btn-edit,
body.is-prof .btn-finish,
body.is-prof .btn-xlsx,
body.is-prof .btn-verify,
body.is-prof .btn-dobor{
  background:linear-gradient(180deg,rgba(255,255,255,0.20) 0%,rgba(255,255,255,0.09) 52%,rgba(12,20,58,0.26) 100%)!important;
  backdrop-filter:blur(20px) saturate(155%);-webkit-backdrop-filter:blur(20px) saturate(155%);
  box-shadow:0 12px 26px -12px rgba(4,8,30,0.48),inset 0 1px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.8px rgba(255,255,255,0.34)!important;
  color:#FFFFFF;text-shadow:0 1px 6px rgba(6,12,42,0.40);
}
body.is-prof .btn-dobor .xq-t{color:#FFFFFF;text-shadow:0 1px 6px rgba(6,12,42,0.40);}
body.is-prof .btn-dobor::after{display:none;}
/* Деструктивные кнопки («Удалить», «Отменить») — лаконичное матовое стекло без кричащего красного свечения */
body.is-prof .btn-del,
body.is-prof .btn-cancel{
  background:linear-gradient(180deg,rgba(255,255,255,0.14) 0%,rgba(255,255,255,0.06) 54%,rgba(16,18,44,0.28) 100%)!important;
  backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);
  box-shadow:0 10px 22px -14px rgba(4,8,30,0.52),inset 0 0.85px 1px rgba(255,255,255,0.44),inset 0 0 0 0.75px rgba(255,255,255,0.24)!important;
  color:rgba(255,214,222,0.92);text-shadow:0 1px 6px rgba(6,12,42,0.36);
}
/* Компактные чипы прав канала — приглушённое стекло вместо кислотных светофоров */
body.is-prof .btn-perms.ok{
  background:rgba(16,185,129,0.22);
  box-shadow:inset 0 0 0 0.75px rgba(110,231,183,0.46);
}
body.is-prof .btn-perms.bad{
  background:rgba(244,63,94,0.24);
  box-shadow:inset 0 0 0 0.75px rgba(253,164,175,0.48);
}
body.is-prof .btn-perms.warn{
  background:rgba(245,158,11,0.22);
  box-shadow:inset 0 0 0 0.75px rgba(253,230,138,0.46);
}
body.is-eco .btn-xlsx,body.is-eco .btn-verify,body.is-eco .btn-dobor,body.is-eco .btn-tpl,
body.is-eco .btn-edit,body.is-eco .btn-finish,body.is-eco .btn-loadtpl,body.is-eco .btn-launch,
body.is-eco .btn-prizes,body.is-eco .btn-del,body.is-eco .btn-cancel{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.is-prof .bx.glow::after{display:none;}
body.is-prof .group .row{border-bottom-color:rgba(255,255,255,0.14);color:#FFFFFF;}
body.is-prof .group .row .e:not(.sti){color:#FFFFFF;}
body.is-prof .group .row .e:not(.sti) svg{stroke:#FFFFFF;filter:drop-shadow(0 1px 3px rgba(6,16,52,0.42));}
body.is-prof .group .row .lbl .t{color:#FFFFFF;}
body.is-prof .group .row .lbl .s{color:rgba(255,255,255,0.88);}
body.is-prof .group .row .val{color:#FFFFFF;}
body.is-prof .group .row .val.set{color:#FFFFFF;}
body.is-prof .group .row .go{color:rgba(255,255,255,0.68);}
body.is-prof .note{
  display:flex;align-items:flex-start;gap:11px;text-align:left;
  border:0;border-radius:18px;padding:12px 14px;font-size:12.5px;line-height:1.45;
  background:linear-gradient(155deg,rgba(255,255,255,0.10),rgba(12,24,72,0.22));
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.26);
  color:rgba(240,248,255,0.92);
}
body.is-prof .note>span{
  flex:0 0 34px;width:34px;height:34px;border-radius:11px;margin:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#2563EB 0%,#4F46E5 55%,#7C3AED 100%);
  box-shadow:0 8px 18px -5px rgba(37,99,235,0.62),inset 0 0.85px 1px rgba(255,255,255,0.70),inset 0 0 0 0.7px rgba(191,219,254,0.54);
  color:#FFFFFF;
}
body.is-prof .note>span svg{width:17px;height:17px;stroke:#FFFFFF;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;display:block;filter:drop-shadow(0 1px 3px rgba(6,16,52,0.44));}
body.is-prof .note>div{display:block;flex:1;min-width:0;padding-top:1px;}
body.is-prof .note b{color:#FFFFFF;}
body.is-prof .field{
  border:0;border-radius:14px;background:rgba(255,255,255,0.10);color:#FFFFFF;
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.28),inset 0 2px 6px rgba(4,8,30,0.24);
}
body.is-prof .field::placeholder{color:rgba(224,242,254,0.56);}
body.is-prof .rte{color:#FFFFFF;background:transparent;box-shadow:none;border-radius:0;}
body.is-prof .rtbar{border-bottom:1px solid rgba(255,255,255,0.12);background:rgba(255,255,255,0.03);border-radius:0;}
body.is-prof .rtb{color:#FFFFFF;background:rgba(255,255,255,0.08);border-color:rgba(255,255,255,0.16);}
body.is-prof .flabel,body.is-prof .counter,body.is-prof .ap-hint{color:rgba(232,244,255,0.78);}
body.is-prof .btn.go{
  flex:0 0 auto;min-height:50px;height:auto;padding:14px 18px;box-sizing:border-box;
  border:0;border-radius:16px;font-size:14.5px;font-weight:800;letter-spacing:0.005em;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(135deg,rgba(255,255,255,0.24) 0%,rgba(186,230,253,0.16) 54%,rgba(125,211,252,0.22) 100%);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 14px 28px -10px rgba(56,189,248,0.42),inset 0 0 0 0.9px rgba(255,255,255,0.56),inset 0 1px 1.3px rgba(255,255,255,0.72);
  color:#FFFFFF;text-shadow:0 1px 6px rgba(6,16,52,0.48);
}
body.is-prof .btn.go:active{transform:scale(0.98);filter:brightness(1.06);}
body.is-prof .btn.ghost{
  flex:0 0 auto;min-height:46px;height:auto;padding:12px 16px;box-sizing:border-box;
  border:0;border-radius:16px;font-size:13.5px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  background:linear-gradient(180deg,rgba(255,255,255,0.14),rgba(12,24,72,0.24));
  box-shadow:0 8px 18px -8px rgba(4,8,30,0.44),inset 0 0 0 0.75px rgba(255,255,255,0.30);color:#FFFFFF;
}
body.is-prof .btn.danger{
  flex:0 0 auto;min-height:46px;height:auto;padding:12px 16px;box-sizing:border-box;
  border:0;border-radius:16px;font-size:13.5px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  background:
    radial-gradient(95% 110% at 50% 100%,rgba(244,63,94,0.22) 0%,transparent 72%),
    linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.07) 52%,rgba(18,14,46,0.28) 100%);
  box-shadow:0 12px 26px -10px rgba(244,63,94,0.34),inset 0 0.9px 1.1px rgba(255,228,230,0.56),inset 0 0 0 0.85px rgba(251,113,133,0.48);color:#FFE4E6;
}
body.is-prof .btn.wide{width:100%;}
body.is-prof .tg.on{background:#007AFF;box-shadow:0 0 12px rgba(0,122,255,0.55);}

/* Энергосбережение для Биржи и форм (0 blur, 0px сдвига) */
body.is-eco .lg-mk-card{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:linear-gradient(155deg,rgba(44,68,148,0.58) 0%,rgba(28,46,114,0.56) 100%)!important;
  box-shadow:0 12px 24px -12px rgba(8,14,44,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.22)!important;
}
body.is-eco .lg-mk-card::before{display:none!important;}
body.is-eco .bx,body.is-eco .group,body.is-eco .note{
  background:linear-gradient(155deg,rgba(44,68,148,0.56) 0%,rgba(28,46,114,0.54) 100%)!important;
  box-shadow:0 10px 20px -12px rgba(8,14,44,0.42),inset 0 0 0 0.7px rgba(255,255,255,0.22)!important;
}
body.is-eco .chip,body.is-eco #mp_type .chip{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:linear-gradient(180deg,rgba(96,138,228,0.76) 0%,rgba(68,104,196,0.74) 100%)!important;
  box-shadow:0 6px 14px -8px rgba(8,14,44,0.36),inset 0 0 0 0.75px rgba(255,255,255,0.36)!important;
}
body.is-eco .chip::before,body.is-eco #mp_type .chip::before{display:none!important;}
body.is-eco .chip.cur,body.is-eco .chip.on,body.is-eco #mp_type .chip.cur{
  background:linear-gradient(180deg,#2B8DF6 0%,#1E64D8 100%)!important;
  box-shadow:0 8px 18px -8px rgba(30,100,216,0.50),inset 0 0 0 0.7px rgba(191,219,254,0.48)!important;
}
body.is-eco .btn.go{background:linear-gradient(180deg,#2B8DF6 0%,#1E64D8 100%)!important;}
body.is-eco .btn.ghost{background:rgba(46,72,150,0.68)!important;}

/* ============================================================================
   МОИ РОЗЫГРЫШИ + КАРТОЧКА И РЕДАКТОР РОЗЫГРЫША (MAX × Apple Liquid Glass)
   ============================================================================ */
.my-page{position:relative;z-index:2;padding-bottom:28px;}
.my-page .lg-head{padding:6px 4px 12px;}
.my-page .lg-eye{margin-bottom:5px;padding:3px 9px;font-size:9px;}
.my-page .lg-head h1{font-size:21px;}

/* Компактный переключатель (Создал / Соавтор / Участник) в Liquid Glass */
body.is-prof .seg{
  position:relative;overflow:hidden;border:0;border-radius:999px;padding:3px;margin:0 0 7px;gap:3px;
  background:linear-gradient(180deg,rgba(255,255,255,0.10) 0%,rgba(12,24,72,0.22) 100%);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.28),inset 0 0.7px 0.9px rgba(255,255,255,0.38);
}
body.is-prof .seg button{
  border-radius:999px;height:27px;padding:0 6px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:-0.01em;
  color:rgba(240,248,255,0.88);transition:background .16s ease,color .16s ease,box-shadow .16s ease;
}
body.is-prof .seg button.cur{
  color:#FFFFFF;font-weight:800;text-shadow:0 1px 6px rgba(6,24,68,0.52);
  background:linear-gradient(135deg,rgba(56,189,248,0.88) 0%,rgba(37,99,235,0.92) 56%,rgba(79,70,229,0.86) 100%);
  box-shadow:0 5px 14px -4px rgba(56,189,248,0.62),inset 0 0.85px 1px rgba(255,255,255,0.82);
}

/* Компактные однострочные статусные чипы в «Моих розыгрышах» (все 4 чипа ровно помещаются в ширину экрана без обрезки) */
body.is-prof #my_chips{
  display:flex;align-items:center;gap:4px;flex-wrap:nowrap;
  overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  padding:1px 0 2px;margin-bottom:9px;
}
body.is-prof #my_chips::-webkit-scrollbar{display:none;}
body.is-prof #my_chips .chip{
  flex:1 0 auto;width:auto;min-width:max-content;box-sizing:border-box;
  height:26px!important;padding:0 7px!important;
  font-family:var(--body)!important;font-size:10px!important;font-weight:700!important;
  gap:3.5px!important;justify-content:center;letter-spacing:-0.015em!important;white-space:nowrap;
}
body.is-prof #my_chips .chip svg{
  width:10.5px!important;height:10.5px!important;stroke-width:2.2!important;flex-shrink:0;
  color:#FFFFFF!important;opacity:1;
  filter:drop-shadow(0 0 3.5px rgba(186,230,253,0.62));
}
body.is-prof #my_chips .chip.chip-draft svg{color:#E0F2FE!important;filter:drop-shadow(0 0 3.5px rgba(125,211,252,0.72));}
body.is-prof #my_chips .chip.chip-live svg{color:#A7F3D0!important;filter:drop-shadow(0 0 4px rgba(52,211,153,0.78));}
body.is-prof #my_chips .chip.chip-done svg{color:#DDD6FE!important;filter:drop-shadow(0 0 3.5px rgba(167,139,250,0.75));}
body.is-prof #my_chips .chip.chip-cancelled svg{color:#FECDD3!important;filter:drop-shadow(0 0 3.5px rgba(251,113,133,0.72));}
body.is-prof #my_chips .chip.cur svg{color:#FFFFFF!important;opacity:1;filter:drop-shadow(0 0 4.5px rgba(255,255,255,0.82));}
body.is-prof .btn.go.is-incomplete{opacity:0.78;}
@keyframes mlNeedFlash{
  0%,100%{box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.26);}
  35%{box-shadow:0 0 0 2px rgba(251,113,133,0.75),inset 0 0 0 1px rgba(253,164,175,0.85);}
}
@keyframes mlReqSpotlight{
  0%,100%{box-shadow:inset 3px 0 0 #FBBF24,inset 0 0 0 0.8px rgba(253,224,71,0.42);filter:brightness(1);}
  25%,70%{box-shadow:inset 3px 0 0 #FEF08A,inset 0 0 0 1.4px rgba(253,224,71,0.88),0 0 22px -4px rgba(251,191,36,0.68);filter:brightness(1.16);}
  48%{box-shadow:inset 3px 0 0 #FBBF24,inset 0 0 0 0.9px rgba(253,224,71,0.54);filter:brightness(1.04);}
}
body.is-prof .note.ml-need-pulse{animation:mlNeedFlash 0.65s ease;}
body.is-prof .group .row.row-req-miss.ml-need-pulse{animation:mlReqSpotlight 1.25s ease;}
/* Обязательные незаполненные поля: гармоничный янтарно-золотой Liquid Glass акцент (без режущего красного на фиолетовом) */
body.is-prof .group > .row.row-req-miss:only-child{border-radius:20px;}
body.is-prof .group > .row.row-req-miss:first-child:not(:only-child){border-radius:20px 20px 0 0;}
body.is-prof .group > .row.row-req-miss:last-child:not(:only-child){border-radius:0 0 20px 20px;}
body.is-prof .group [data-dates-rows] .row.row-req-miss{border-radius:0!important;}
body.is-prof .group .row.row-req-miss:active{filter:brightness(1.08);}
body.is-eco .group .row.row-req-miss{
  background:linear-gradient(135deg,rgba(120,82,18,0.46) 0%,rgba(24,38,94,0.82) 100%)!important;
}
/* Кнопка «Поднять в ленту» с живым анимированным SVG-огоньком */
body.is-prof .btn.go.btn-boost-feed{
  background:linear-gradient(135deg,rgba(251,146,60,0.46) 0%,rgba(249,115,22,0.56) 50%,rgba(234,88,12,0.52) 100%);
  box-shadow:0 14px 32px -8px rgba(249,115,22,0.68),inset 0 0 0 0.95px rgba(254,215,170,0.72),inset 0 1px 1.4px rgba(255,247,237,0.84);
  color:#FFFFFF;
  text-shadow:0 1px 8px rgba(124,45,18,0.62);
}
body.is-prof .btn.go.btn-boost-feed.is-incomplete{
  opacity:0.74;
}
.boost-flame-ic{
  width:21px;height:21px;flex-shrink:0;overflow:visible;
  filter:drop-shadow(0 0 6px rgba(251,146,60,0.88));
}
.boost-flame-ic .fl-out{
  transform-box:fill-box;transform-origin:50% 90%;
  animation:boostFlameOut 1.55s ease-in-out infinite;
}
.boost-flame-ic .fl-in{
  transform-box:fill-box;transform-origin:50% 92%;
  animation:boostFlameIn 1.18s ease-in-out infinite;
}
.boost-flame-ic .fl-sp{
  transform-box:fill-box;transform-origin:center;
  animation:boostFlameSpark 1.85s ease-out infinite;
}
@keyframes boostFlameOut{
  0%,100%{transform:scale(1,1) skewX(0deg);}
  28%{transform:scale(0.95,1.08) skewX(-3deg);}
  58%{transform:scale(1.04,0.96) skewX(2.5deg);}
  82%{transform:scale(0.97,1.05) skewX(-1.5deg);}
}
@keyframes boostFlameIn{
  0%,100%{transform:scale(1,1) translateY(0);opacity:0.95;}
  40%{transform:scale(0.92,1.12) translateY(-0.8px);opacity:1;}
  72%{transform:scale(1.05,0.93) translateY(0.4px);opacity:0.88;}
}
@keyframes boostFlameSpark{
  0%{transform:translate(0,4px) scale(0.4);opacity:0;}
  25%{opacity:1;}
  100%{transform:translate(1.5px,-5px) scale(0.2);opacity:0;}
}
body.is-eco .boost-flame-ic .fl-out,
body.is-eco .boost-flame-ic .fl-in,
body.is-eco .boost-flame-ic .fl-sp{animation:none!important;}
body.is-eco .btn.go.btn-boost-feed{
  background:linear-gradient(135deg,#EA580C 0%,#D97706 100%)!important;
}
/* Плашка истекшего объявления (24 ч) и живой статус автоотправки */
body.is-prof .note.note-expired{
  background:linear-gradient(135deg,rgba(234,88,12,0.34) 0%,rgba(180,83,9,0.32) 55%,rgba(124,45,18,0.34) 100%)!important;
  box-shadow:0 12px 26px -12px rgba(234,88,12,0.52),inset 0 0 0 1px rgba(251,146,60,0.62)!important;
}
body.is-prof .note.note-expired>span{
  background:linear-gradient(135deg,#EA580C 0%,#F97316 60%,#F59E0B 100%);
  box-shadow:0 8px 18px -5px rgba(249,115,22,0.72),inset 0 0.85px 1px rgba(255,247,237,0.78);
}
.ml-st-sub{color:rgba(224,242,254,0.82);font-weight:600;}
.ml-st-feed{margin-top:4px;font-size:11.5px;line-height:1.4;color:#BAE6FD;font-weight:500;}
@media (prefers-reduced-motion:reduce){
  .boost-flame-ic .fl-out,.boost-flame-ic .fl-in,.boost-flame-ic .fl-sp{animation:none!important;}
}

/* Призрачная кнопка создания черновика в Liquid Glass */
body.is-prof .ghost-slot{
  border:1px dashed rgba(186,230,253,0.45);border-radius:16px;padding:11px 14px;margin-bottom:12px;gap:7px;
  background:linear-gradient(180deg,rgba(255,255,255,0.09),rgba(12,24,72,0.16));
  color:#E0F2FE;font-family:var(--display);font-size:12.5px;font-weight:700;
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.42);
}
body.is-prof .ghost-slot:active{transform:scale(0.98);background:rgba(56,189,248,0.18);}

/* Карточки розыгрышей .gv в Liquid Glass (эталонная 0.65px 360° грань как в Профиле) */
body.is-prof .gv{
  position:relative;overflow:hidden;border:0;border-radius:22px;padding:13px 14px;gap:12px;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 40px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0 0 7px -2px rgba(255,255,255,0.16),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
  color:#FFFFFF;transform:translateZ(0);-webkit-transform:translateZ(0);
  transition:transform .14s ease,filter .16s ease;
}
body.is-prof .gv::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-prof .gv>*{position:relative;z-index:1;}
body.is-prof .gv:active{transform:scale(0.975);filter:brightness(1.06);}
body.is-prof .gv.gv-photo{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.is-prof .gv.gv-photo .body,body.is-prof .gv.gv-photo .nm,body.is-prof .gv.gv-photo .snip{background:transparent!important;background-color:transparent!important;box-shadow:none!important;}
body.is-prof .gv .st{
  border:0;border-radius:13px;width:40px;height:40px;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.30),0 6px 14px -6px rgba(4,8,30,0.48);
}
body.is-prof .gv.live .st{
  background:linear-gradient(135deg,#10B981 0%,#059669 100%);color:#FFFFFF;
  box-shadow:0 8px 18px -5px rgba(16,185,129,0.70),inset 0 0.85px 1px rgba(255,255,255,0.72);
}
body.is-prof .gv.draft .st{
  background:linear-gradient(135deg,#7C3AED 0%,#4F46E5 100%);color:#FFFFFF;
  box-shadow:0 8px 18px -5px rgba(124,58,237,0.72),inset 0 0.85px 1px rgba(255,255,255,0.72);
}
body.is-prof .gv.sched .st{
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 100%);color:#FFFFFF;
  box-shadow:0 8px 18px -5px rgba(14,165,233,0.70),inset 0 0.85px 1px rgba(255,255,255,0.72);
}
body.is-prof .gv.done .st{
  background:linear-gradient(135deg,#64748B 0%,#334155 100%);color:#FFFFFF;
  box-shadow:0 8px 16px -6px rgba(15,23,42,0.65),inset 0 0.85px 1px rgba(255,255,255,0.52);
}
body.is-prof .gv.cancelled .st{
  background:linear-gradient(135deg,#475569 0%,#1E293B 100%);color:#E2E8F0;
  box-shadow:0 8px 16px -6px rgba(15,23,42,0.62),inset 0 0.85px 1px rgba(255,255,255,0.40);
}
body.is-prof .gv .st svg{stroke:#FFFFFF!important;filter:drop-shadow(0 1.5px 3px rgba(6,16,52,0.44));}
body.is-prof .gv .nm{color:#FFFFFF;text-shadow:0 1px 3px rgba(4,8,28,0.45);}
body.is-prof .gv .snip{color:rgba(240,248,255,0.86);text-shadow:0 1px 3px rgba(4,8,28,0.42);}

/* Элементы карточки розыгрыша, редактора, статистики и помощи в Liquid Glass */
body.is-prof .head .eye{color:rgba(240,248,255,0.88);}
body.is-prof .head h1{color:#FFFFFF;text-shadow:0 2px 16px rgba(6,12,42,0.42);}
body.is-prof .head h1 em{background:linear-gradient(100deg,#FFFFFF,#BAE6FD);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;}
body.is-prof .mi,
body.is-prof .stat,
body.is-prof .faq-item,
body.is-prof .cal,
body.is-prof .whl{
  position:relative;overflow:hidden;border:0;border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,0.05) 0%,rgba(4,8,28,0.075) 54%,rgba(255,255,255,0.03) 100%);
  backdrop-filter:blur(9px) brightness(0.94);-webkit-backdrop-filter:blur(9px) brightness(0.94);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.48),0 4px 12px -4px rgba(4,8,30,0.26),inset 0 0.6px 0.9px rgba(255,255,255,0.36),inset 0 -1.8px 5px -1px rgba(255,255,255,0.24),inset 0 0 6px -2px rgba(255,255,255,0.14),inset 0.75px 0 1.5px rgba(0,0,0,0.17),inset -0.75px 0 1.5px rgba(0,0,0,0.17);
  color:#FFFFFF;
}
body.is-prof .mi::before,
body.is-prof .stat::before,
body.is-prof .faq-item::before,
body.is-prof .cal::before,
body.is-prof .whl::after{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.6px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.52) 0deg,rgba(255,255,255,0.30) 48deg,rgba(255,255,255,0.22) 90deg,rgba(255,255,255,0.32) 132deg,rgba(255,255,255,0.50) 180deg,rgba(255,255,255,0.32) 228deg,rgba(255,255,255,0.22) 270deg,rgba(255,255,255,0.30) 312deg,rgba(255,255,255,0.52) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-eco .mi::before,body.is-eco .stat::before,body.is-eco .faq-item::before,body.is-eco .cal::before,body.is-eco .whl::after{display:none!important;}
body.is-prof .mi .t,body.is-prof .stat .v,body.is-prof .faq-q{color:#FFFFFF;}
body.is-prof .mi .t small,body.is-prof .stat .e,body.is-prof .stat .l,body.is-prof .faq-a-inner{color:rgba(232,244,255,0.82);}
body.is-prof .mi .e{color:#FFFFFF;}
body.is-prof .mi .e svg{stroke:#FFFFFF;filter:drop-shadow(0 1px 3px rgba(6,16,52,0.42));}
body.is-prof .mi .go{color:rgba(255,255,255,0.72);}
body.is-prof .prevpill,
body.is-prof .chrefresh,
body.is-prof .repub-btn{
  border:0;border-radius:14px;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(12,24,72,0.24));
  box-shadow:0 8px 18px -8px rgba(4,8,30,0.42),inset 0 0 0 0.7px rgba(255,255,255,0.28);
}
body.is-prof .fmt{border:0;border-radius:16px;background:rgba(12,24,72,0.26);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);}
body.is-prof .fmt summary{color:rgba(240,248,255,0.90);}
body.is-prof .qsets button,body.is-prof .stepper button{
  border:0;border-radius:12px;color:#FFFFFF;
  background:rgba(255,255,255,0.12);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.28);
}

/* Энергосбережение для «Моих розыгрышей» и редактора */
body.is-eco .seg{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:rgba(36,56,128,0.72)!important;
}
body.is-eco .seg button.cur{background:linear-gradient(180deg,#2B8DF6 0%,#1E64D8 100%)!important;}
body.is-eco .gv::before{display:none!important;}
body.is-eco .mi,body.is-eco .stat,body.is-eco .faq-item,body.is-eco .cal,body.is-eco .whl,
body.is-eco .prevpill,body.is-eco .chrefresh,body.is-eco .repub-btn{
  background:linear-gradient(155deg,rgba(44,68,148,0.58) 0%,rgba(28,46,114,0.56) 100%)!important;
  box-shadow:0 10px 20px -12px rgba(8,14,44,0.42),inset 0 0 0 0.7px rgba(255,255,255,0.22)!important;
}

/* ============================================================================
   ФИРМЕННАЯ МАРКИРОВКА «ПРОВЕРЕННЫЙ РОЗЫГРЫШ» + КНОПКА ПЕРЕСЫЛКИ АВТООТПРАВКИ
   ============================================================================ */
.gv-ver-pill{
  display:inline-flex;align-items:center;gap:5px;margin-bottom:5px;padding:3px 8px 3px 5px;
  border-radius:999px;max-width:100%;
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 100%);
  box-shadow:0 6px 14px -5px rgba(14,165,233,0.68),inset 0 0.8px 1px rgba(255,255,255,0.68),inset 0 0 0 0.7px rgba(186,230,253,0.66);
  color:#FFFFFF;font-family:var(--display);font-size:10px;font-weight:800;letter-spacing:0.01em;line-height:1;
  text-shadow:0 1px 4px rgba(6,24,68,0.45);
}
.gv-ver-pill .gv-ver-ic{width:13px;height:13px;color:#E0F2FE;flex-shrink:0;display:block;}
.gv-ver-pill span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* Особая небесно-лазурная 360°-грань и сияние для проверенных розыгрышей везде */
.lg-top-card.is-ver:not(.has-photo),
body.is-prof .gv.is-ver:not(.gv-photo){
  background:linear-gradient(150deg,rgba(56,189,248,0.22) 0%,rgba(14,32,92,0.34) 54%,rgba(37,99,235,0.24) 100%);
  box-shadow:0 16px 34px -10px rgba(56,189,248,0.46),inset 0 0.9px 1.2px rgba(224,242,254,0.72),inset 0 -2px 5.5px -1px rgba(56,189,248,0.34);
}
.lg-top-card.is-ver,
body.is-prof .gv.is-ver{
  box-shadow:0 16px 34px -10px rgba(56,189,248,0.46),inset 0 0.9px 1.2px rgba(224,242,254,0.72),inset 0 -2px 5.5px -1px rgba(56,189,248,0.34);
}
.lg-top-card.is-ver::before,
body.is-prof .gv.is-ver::before{
  padding:0.95px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.92) 0deg,rgba(56,189,248,0.78) 52deg,rgba(186,230,253,0.48) 90deg,rgba(37,99,235,0.74) 128deg,rgba(255,255,255,0.90) 180deg,rgba(56,189,248,0.74) 232deg,rgba(186,230,253,0.48) 270deg,rgba(37,99,235,0.78) 308deg,rgba(255,255,255,0.92) 360deg);
}
body.is-eco .lg-top-card.is-ver,
body.is-eco .gv.is-ver{
  box-shadow:0 12px 24px -10px rgba(14,165,233,0.40),inset 0 0 0 1px rgba(125,211,252,0.62)!important;
}

/* Баннер «Проверенный розыгрыш» внутри карточки розыгрыша */
.gv-ver-banner{
  display:flex;align-items:center;gap:11px;padding:11px 13px;margin-bottom:13px;border-radius:18px;
  background:linear-gradient(135deg,rgba(14,165,233,0.34) 0%,rgba(37,99,235,0.38) 100%)!important;
  box-shadow:0 12px 26px -10px rgba(14,165,233,0.52),inset 0 0.85px 1.1px rgba(224,242,254,0.72),inset 0 0 0 0.8px rgba(125,211,252,0.56)!important;
}
.gv-ver-b-ic{
  width:34px;height:34px;border-radius:11px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 100%);
  box-shadow:0 6px 14px -4px rgba(14,165,233,0.66),inset 0 0.8px 1px rgba(255,255,255,0.72);
  color:#FFFFFF;
}
.gv-ver-b-ic .gv-ver-ic{width:20px;height:20px;display:block;color:#0284C7;}
.gv-ver-b-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.gv-ver-b-tx b{font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.gv-ver-b-tx small{font-size:11px;color:rgba(240,249,255,0.88);line-height:1.32;}

/* Кнопка пересылки канала автоотправки в «Моём объявлении» (0 эмодзи) */
.ml-feedlink-wrap{margin-top:8px;}
body.is-prof .ml-feedlink{
  display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;
  text-decoration:none;font-family:var(--display);font-size:11.5px;font-weight:700;color:#FFFFFF!important;
  background:linear-gradient(135deg,rgba(56,189,248,0.34),rgba(37,99,235,0.42));
  box-shadow:0 6px 14px -6px rgba(37,99,235,0.52),inset 0 0 0 0.75px rgba(186,230,253,0.56);
  transition:transform .12s ease,filter .15s ease;
}
body.is-prof .ml-feedlink:active{transform:scale(0.96);filter:brightness(1.08);}
body.is-prof .ml-feedlink svg{flex-shrink:0;color:#E0F2FE;}

/* ============================================================================
   МАГАЗИН ТЕМ (screenThemeShop) + ЖИВОЙ ПРЕДПРОСМОТР + iOS APPLE PAY ОПЛАТА
   ============================================================================ */
.th-page{position:relative;z-index:2;padding-bottom:30px;}
.th-perks{
  display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;
}
.th-perk{
  display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;
  font-family:var(--display);font-size:10.5px;font-weight:700;color:#F0F9FF;
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.32);
}
.th-perk.emer{
  background:linear-gradient(135deg,rgba(16,185,129,0.36),rgba(5,150,105,0.44));
  box-shadow:inset 0 0 0 0.7px rgba(110,231,183,0.58);color:#ECFDF5;
}
.th-perk.acc{
  background:linear-gradient(135deg,rgba(217,70,239,0.34),rgba(124,58,237,0.42));
  box-shadow:inset 0 0 0 0.7px rgba(240,171,252,0.54);color:#FDF4FF;
}
.th-perk.gold{
  background:linear-gradient(135deg,rgba(245,158,11,0.44),rgba(217,119,6,0.48));
  box-shadow:inset 0 0 0 0.7px rgba(253,230,138,0.66);color:#FFFBEB;
}
.th-cats{
  display:flex;flex-wrap:wrap;gap:5px;padding:1px 0 10px;
}
.th-cats .chip{
  flex-shrink:0;height:26px!important;
  font-family:var(--body)!important;font-size:10.5px!important;font-weight:700!important;
  padding:0 10px!important;
}

.th-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;
}
.th-card{
  position:relative;overflow:hidden;border:0;border-radius:22px;display:flex;flex-direction:column;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 40px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
  transition:transform .14s ease;
}
.th-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:4;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.th-card:active{transform:scale(0.975);}
.th-card.is-owned{
  box-shadow:0 18px 36px -14px rgba(16,185,129,0.34),inset 0 0.65px 1px rgba(167,243,208,0.44),inset 0 -2px 5.5px -1px rgba(52,211,153,0.28);
}
.th-card.is-owned::before{
  background:conic-gradient(from 0deg,rgba(167,243,208,0.68) 0deg,rgba(52,211,153,0.44) 50deg,rgba(52,211,153,0.26) 90deg,rgba(16,185,129,0.46) 130deg,rgba(167,243,208,0.64) 180deg,rgba(16,185,129,0.46) 230deg,rgba(52,211,153,0.26) 270deg,rgba(52,211,153,0.44) 310deg,rgba(167,243,208,0.68) 360deg);
}
body.is-eco .th-card::before{display:none!important;}
.th-card-pv{
  position:relative;height:192px;overflow:hidden;cursor:pointer;
}
.th-stage{
  position:relative;width:100%;height:100%;overflow:hidden;
  background:radial-gradient(115% 95% at 18% 12%,color-mix(in srgb,var(--ta1,#A855F7) 44%,var(--tbg,#0A0820)) 0%,var(--tbg,#0A0820) 64%,color-mix(in srgb,var(--ta2,#3B82F6) 38%,var(--tbg,#0A0820)) 100%);
}
/* Стандартная тема в миниатюре — точный градиент Liquid Glass Главного меню */
.th-stage.th-s-standard{
  background:
    radial-gradient(95% 85% at 92% 8%,rgba(244,114,208,0.68) 0%,rgba(192,84,244,0.38) 34%,transparent 72%),
    radial-gradient(95% 85% at 8% 92%,rgba(56,189,248,0.66) 0%,rgba(37,130,246,0.34) 44%,transparent 72%),
    linear-gradient(148deg,#2563EB 0%,#4338CA 36%,#7C3AED 70%,#2596F8 100%);
}
.th-orb{
  position:absolute;border-radius:50%;pointer-events:none;filter:blur(18px);opacity:0.70;
}
.th-orb.o1{width:76px;height:76px;top:-16px;left:-14px;background:var(--ta1,#A855F7);}
.th-orb.o2{width:68px;height:68px;bottom:-18px;right:-14px;background:var(--ta2,#3B82F6);}
/* Статичный снимок реальной страницы темы (0 лагов, 0 анимаций, 120Hz скролл) */
.th-thumb-img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center;
  display:block;pointer-events:none;
}
/* Чистый светящийся стеклянный блюр-капсула: мягко лежит ниже центра превью и плавно рассеивается */
.th-stage::after{
  content:'';position:absolute;left:0;right:0;bottom:-1px;height:44%;z-index:1;pointer-events:none;
  backdrop-filter:blur(10px) saturate(195%) brightness(1.18);
  -webkit-backdrop-filter:blur(10px) saturate(195%) brightness(1.18);
  background:linear-gradient(
    to top,
    color-mix(in srgb,var(--ta1,#7DD3FC) 22%,rgba(255,255,255,0.16)) 0%,
    rgba(255,255,255,0.08) 46%,
    rgba(255,255,255,0.015) 76%,
    transparent 100%
  );
  -webkit-mask-image:linear-gradient(to top,#000 0%,#000 32%,rgba(0,0,0,0.62) 64%,transparent 100%);
  mask-image:linear-gradient(to top,#000 0%,#000 32%,rgba(0,0,0,0.62) 64%,transparent 100%);
}
.ipay-sw .th-stage::after{display:none;}
body.is-eco .th-stage::after{backdrop-filter:none;-webkit-backdrop-filter:none;}
.th-bdg{
  position:absolute;top:8px;left:8px;z-index:2;
  display:inline-flex;align-items:center;gap:4px;padding:3.5px 8px;border-radius:999px;
  font-family:var(--display);font-size:10px;font-weight:800;line-height:1;color:#FFFFFF;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.th-bdg > svg{width:11px;height:11px;stroke:currentColor;fill:none;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;}
.th-bdg.owned{
  background:linear-gradient(135deg,rgba(16,185,129,0.88),rgba(5,150,105,0.92));
  box-shadow:0 4px 12px -3px rgba(16,185,129,0.7),inset 0 0.7px 0.8px rgba(255,255,255,0.6);
}
.th-bdg.free{
  background:linear-gradient(135deg,rgba(245,158,11,0.92),rgba(217,119,6,0.94));
  box-shadow:0 4px 12px -3px rgba(245,158,11,0.72),inset 0 0.7px 0.8px rgba(255,255,255,0.65);
}
.th-bdg.price{
  background:rgba(10,16,42,0.72);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.34);
}
.th-bdg.price s{
  position:relative;display:inline-block;text-decoration:none;
  color:rgba(240,248,255,0.76);font-weight:700;margin-right:5px;padding:0 2px;font-size:10px;
}
.th-bdg.price s::after,.ipay-old::after{
  content:'';position:absolute;left:-3px;right:-3px;top:50%;height:1.6px;border-radius:99px;
  background:#FB7185;box-shadow:0 0 6px rgba(251,113,133,0.65);
  transform:translateY(-50%) rotate(-9deg);pointer-events:none;
}
.th-eye-pill{
  position:absolute;top:8px;right:8px;z-index:2;width:26px;height:26px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:rgba(10,16,42,0.58);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.36);
}
.th-eye-pill svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}

.th-card-ft{
  margin-top:-1px;padding:6px 10px 11px;display:flex;flex-direction:column;gap:7px;flex:1;justify-content:space-between;
}
.th-card-nm{
  font-family:var(--display);font-size:12px;font-weight:800;line-height:1.2;color:#FFFFFF;
  text-shadow:0 1px 6px rgba(6,12,42,0.42);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.th-cta{
  width:100%;height:34px;border:0;border-radius:12px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
  text-shadow:0 1px 4px rgba(6,12,42,0.46);
  background:linear-gradient(135deg,rgba(56,189,248,0.44) 0%,rgba(99,102,241,0.56) 100%);
  box-shadow:0 8px 18px -6px rgba(56,189,248,0.44),inset 0 0 0 0.75px rgba(255,255,255,0.44),inset 0 0.9px 1px rgba(255,255,255,0.56);
  transition:transform .12s ease,filter .14s ease;
}
.th-cta:active{transform:scale(0.95);filter:brightness(1.08);}
.th-cta.is-free{
  color:#FFFFFF;text-shadow:0 1px 4px rgba(4,47,46,0.5);
  background:linear-gradient(135deg,#34D399 0%,#059669 100%);
  box-shadow:0 8px 18px -5px rgba(16,185,129,0.78),inset 0 0.9px 1px rgba(255,255,255,0.72);
}
.th-cta.is-open{
  color:#FFFFFF;text-shadow:0 1px 4px rgba(4,47,46,0.52);
  background:linear-gradient(135deg,rgba(16,185,129,0.84) 0%,rgba(5,150,105,0.90) 100%);
  box-shadow:0 8px 18px -6px rgba(16,185,129,0.62),inset 0 0.9px 1px rgba(255,255,255,0.66),inset 0 0 0 0.75px rgba(167,243,208,0.56);
}
.th-cta > svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}

/* Живой предпросмотр темы (модалка в прозрачном фиолетовом Liquid Glass) */
.th-pv-ov{
  position:fixed;inset:0;z-index:260;background:rgba(36,16,88,0.34);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  display:flex;align-items:center;justify-content:center;
  padding:calc(10px + env(safe-area-inset-top,0px)) 10px calc(10px + env(safe-area-inset-bottom,0px));
  opacity:0;transition:opacity .22s ease;
}
.th-pv-ov.on{opacity:1;}
.th-pv-modal{
  position:relative;width:100%;max-width:420px;height:min(94vh,880px);height:min(94dvh,880px);
  border:0;border-radius:26px;overflow:hidden;
  display:flex;flex-direction:column;
  background:linear-gradient(160deg,rgba(139,92,246,0.28) 0%,rgba(76,29,149,0.22) 52%,rgba(99,102,241,0.26) 100%);
  backdrop-filter:blur(22px) saturate(165%);-webkit-backdrop-filter:blur(22px) saturate(165%);
  box-shadow:0 24px 60px -12px rgba(24,10,66,0.52),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.24);
  transform:scale(0.94) translateY(14px);transition:transform .26s cubic-bezier(.22,1,.36,1);
}
.th-pv-modal::before,.ipay-sheet::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:6;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.th-pv-ov.on .th-pv-modal{transform:scale(1) translateY(0);}
.th-pv-top{
  display:flex;align-items:center;justify-content:space-between;padding:10px 14px;
  background:rgba(255,255,255,0.06);
  border-bottom:0.65px solid rgba(255,255,255,0.22);
}
.th-pv-nm{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;text-shadow:0 1px 8px rgba(24,10,66,0.45);}
.th-pv-frame-wrap{flex:1;position:relative;background:transparent;overflow:hidden;}
.th-pv-frame{width:100%;height:100%;border:0;display:block;background:transparent;}
.th-pv-bot{padding:10px 12px 12px;background:rgba(255,255,255,0.06);border-top:0.65px solid rgba(255,255,255,0.22);}
.th-pv-owned{
  display:flex;align-items:center;justify-content:center;gap:7px;height:48px;border-radius:16px;
  background:linear-gradient(135deg,#10B981 0%,#059669 54%,#047857 100%);
  box-shadow:0 12px 28px -8px rgba(16,185,129,0.74),inset 0 1px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.85px rgba(167,243,208,0.66);
  font-family:var(--display);font-size:13.5px;font-weight:800;color:#FFFFFF;
  text-shadow:0 1px 6px rgba(4,47,46,0.52);
}
.th-pv-owned svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.5;}

/* Шторка подтверждения оплаты в прозрачном Apple Liquid Glass */
.ipay-ov{
  position:fixed;inset:0;z-index:140;background:rgba(6,12,38,0.34);
  backdrop-filter:blur(12px) saturate(135%);-webkit-backdrop-filter:blur(12px) saturate(135%);
  display:flex;align-items:flex-end;justify-content:center;
  opacity:0;transition:opacity .24s ease;
}
body.is-prof .toast{z-index:220!important;}
.ipay-ov.on{opacity:1;}
.ipay-sheet{
  position:relative;overflow:hidden;border:0;width:100%;max-width:460px;border-radius:28px 28px 0 0;
  padding:10px 18px calc(22px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.38) 54%,rgba(255,255,255,0.10) 100%);
  backdrop-filter:blur(28px) saturate(175%) brightness(1.04);-webkit-backdrop-filter:blur(28px) saturate(175%) brightness(1.04);
  box-shadow:0 -18px 52px -12px rgba(4,10,36,0.52),inset 0 0 0 0.9px rgba(255,255,255,0.36),inset 0 1.2px 1.8px rgba(255,255,255,0.68);
  color:#FFFFFF;
  transform:translateY(100%);transition:transform .32s cubic-bezier(.22,1,.36,1);
}
.ipay-ov.on .ipay-sheet{transform:translateY(0);}
.ipay-grab{width:38px;height:4px;border-radius:999px;background:rgba(255,255,255,0.38);margin:0 auto 12px;}
.ipay-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;}
.ipay-brand{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--display);font-size:15px;font-weight:800;letter-spacing:-0.01em;color:#FFFFFF;
}
.ipay-dot{
  width:10px;height:10px;border-radius:50%;
  background:linear-gradient(135deg,#C084FC,#38BDF8);
  box-shadow:0 0 12px rgba(192,132,252,0.92);
}
.ipay-x{
  width:30px;height:30px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(255,255,255,0.16);color:#FFFFFF;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.34);
  font-size:19px;line-height:1;display:inline-flex;align-items:center;justify-content:center;
}
.ipay-card{
  display:flex;align-items:center;gap:12px;padding:11px;border-radius:18px;margin-bottom:12px;
  background:rgba(255,255,255,0.10);box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.26);
}
.ipay-sw{width:54px;height:54px;border-radius:14px;overflow:hidden;flex-shrink:0;box-shadow:0 6px 14px -4px rgba(24,10,66,0.48);}
.ipay-sw > svg{width:26px;height:26px;fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 6px rgba(10,20,58,0.34));}
.ipay-sw .th-mini-ui{display:none;}
.ipay-ci{flex:1;min-width:0;}
.ipay-cn{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.ipay-cs{font-size:11.5px;color:rgba(240,248,255,0.82);margin-top:3px;}
.ipay-rows{
  border-radius:18px;overflow:hidden;margin-bottom:12px;
  background:rgba(255,255,255,0.09);box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.24);
}
.ipay-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px 14px;border-bottom:0.6px solid rgba(255,255,255,0.16);
}
.ipay-row:last-child{border-bottom:0;}
.ipay-rl{font-size:12px;color:rgba(240,248,255,0.80);}
.ipay-rv{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#FFFFFF;}
.ipay-rv svg{width:16px;height:16px;stroke:#DDD6FE;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.ipay-row.total .ipay-rl{font-weight:700;color:#FFFFFF;font-size:13px;}
.ipay-rt{font-family:var(--display);font-size:17px;font-weight:800;color:#FFFFFF;display:inline-flex;align-items:baseline;gap:6px;}
.ipay-old{
  position:relative;display:inline-block;text-decoration:none;
  font-size:13px;font-weight:700;color:rgba(240,248,255,0.74);padding:0 3px;margin-right:2px;
}
.ipay-free{color:#6EE7B7;}
.ipay-note{
  font-size:11px;line-height:1.4;color:rgba(233,213,255,0.86);text-align:center;
  margin:0 4px 12px;
}
.ipay-act{position:relative;min-height:84px;width:100%;display:flex;align-items:center;justify-content:center;}
.ipay-btn{
  width:100%;flex:1 0 100%;height:52px;border:0;border-radius:16px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(168,85,247,0.84) 0%,rgba(99,102,241,0.88) 54%,rgba(56,189,248,0.82) 100%);
  box-shadow:0 14px 30px -8px rgba(124,58,237,0.72),inset 0 1px 1.2px rgba(255,255,255,0.76);
  transition:transform .14s ease,opacity .22s ease;
}
.ipay-btn.is-free{
  background:linear-gradient(135deg,#10B981 0%,#059669 54%,#047857 100%);
  box-shadow:0 12px 28px -8px rgba(16,185,129,0.74),inset 0 1px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.85px rgba(167,243,208,0.66);
}
.ipay-btn:active{transform:scale(0.97);}
.ipay-bi{width:20px;height:20px;stroke:#FFFFFF;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.ipay-act.is-proc .ipay-btn,
.ipay-act.is-done .ipay-btn{opacity:0;pointer-events:none;transform:scale(0.92);}

.ipay-status{
  position:absolute;inset:0;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
  opacity:0;transform:scale(0.84);pointer-events:none;
  transition:opacity .24s ease,transform .32s cubic-bezier(.22,1,.36,1);
}
.ipay-act.is-proc .ipay-status,
.ipay-act.is-done .ipay-status{opacity:1;transform:scale(1);}
.ipay-orb{position:relative;width:58px;height:58px;display:flex;align-items:center;justify-content:center;}
.ipay-spin{
  position:absolute;inset:0;border-radius:50%;
  border:2.6px solid rgba(56,189,248,0.22);border-top-color:#38BDF8;
  animation:spin .72s linear infinite;
  transition:opacity .2s ease;
}
.ipay-act.is-done .ipay-spin{opacity:0;animation:none;}
.ipay-ck{width:58px;height:58px;overflow:visible;}
.ipay-ck-ring{
  fill:rgba(16,185,129,0.16);stroke:#10B981;stroke-width:2.8;
  stroke-dasharray:152;stroke-dashoffset:152;
  transform:rotate(-90deg);transform-origin:28px 28px;
}
.ipay-ck-mark{
  fill:none;stroke:#FFFFFF;stroke-width:3.6;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:40;stroke-dashoffset:40;
}
.ipay-act.is-done .ipay-ck-ring{
  animation:ipayRing .42s cubic-bezier(.22,1,.36,1) forwards;
}
.ipay-act.is-done .ipay-ck-mark{
  animation:ipayMark .34s cubic-bezier(.22,1,.36,1) .18s forwards;
}
.ipay-burst{
  position:absolute;inset:-6px;border-radius:50%;pointer-events:none;opacity:0;
  border:2px solid rgba(52,211,153,0.82);
}
.ipay-act.is-done .ipay-burst{animation:ipayBurst .65s cubic-bezier(.16,1,.3,1) .12s forwards;}
.ipay-stx{
  font-family:var(--display);font-size:13px;font-weight:800;color:#E2E8F0;
  letter-spacing:0.005em;transition:color .22s ease;
}
.ipay-act.is-done .ipay-stx{color:#34D399;}
@keyframes ipayRing{to{stroke-dashoffset:0;fill:rgba(16,185,129,0.92);}}
@keyframes ipayMark{to{stroke-dashoffset:0;}}
@keyframes ipayBurst{
  0%{transform:scale(0.85);opacity:0.9;}
  100%{transform:scale(1.55);opacity:0;}
}
body.is-eco .ipay-ov,body.is-eco .ipay-sheet,body.is-eco .th-pv-ov{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;}
body.is-eco .th-orb{filter:none!important;opacity:0.35!important;}

/* ── Surprizum Ads («Реклама») — Главная плитка (единое светлое стекло с тёплым огненным отливом) + Кабинет ── */
.bento.lg-bento .tile.a-pm{
  grid-area:pm;padding:clamp(9px,1.55dvh,17px) clamp(11px,1.5dvh,16px);
  flex-direction:column;align-items:flex-start;justify-content:space-between;
  --hc-tint:rgba(251,146,60,0.26);
}
.bento.lg-bento .tile.a-pm .ic{margin-bottom:3px;}
.bento.lg-bento .tile.a-pm h3{margin:0;text-align:left;font-size:clamp(13.5px,1.8dvh,16px);}
/* Полноширинный вид плитки «Собственный бот» в нижней строке под «Рекламой» */
.bento.lg-bento.has-pm .tile.a-ob{
  padding:clamp(8px,1.35dvh,16px) 52px clamp(8px,1.35dvh,16px) clamp(12px,1.6dvh,16px);flex-direction:row;align-items:center;justify-content:flex-start;
}
.bento.lg-bento.has-pm .tile.a-ob .ob-inner{
  flex-direction:row;align-items:center;justify-content:flex-start;gap:clamp(10px,1.4dvh,14px);height:100%;width:100%;
}
.bento.lg-bento.has-pm .tile.a-ob .ob-txt{
  align-items:flex-start;text-align:left;gap:4px;min-width:0;flex:1;
}
.bento.lg-bento.has-pm .tile.a-ob h3{
  font-size:clamp(13.5px,1.75dvh,16px);line-height:1.14;text-align:left;
}
.bento.lg-bento.has-pm .tile.a-ob .ob-tg-pill{
  font-size:9.5px;padding:2.5px 8px;gap:4px;
}
.bento.lg-bento.has-pm .tile.a-ob .ob-padlock{
  top:50%;right:13px;transform:translateY(-50%);width:28px;height:28px;
}
.bento.lg-bento.has-pm .tile.a-ob .ob-padlock svg{width:13px;height:13px;}

.prm-page{position:relative;z-index:2;padding-bottom:28px;}
.prm-tabs{
  position:sticky;top:110px;z-index:25;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;
  padding:3px;border-radius:999px;margin:0 0 10px;
  background:linear-gradient(180deg,rgba(255,255,255,0.12) 0%,rgba(12,22,58,0.34) 100%);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.48),inset 0 0 0 0.75px rgba(255,255,255,0.26);
}
body.is-eco .prm-tabs{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:rgba(36,56,128,0.82);}
.prm-tab{
  height:29px;border:none;border-radius:999px;background:transparent;cursor:pointer;
  font-family:var(--body);font-size:11px;font-weight:700;color:rgba(240,248,255,0.86);
  -webkit-tap-highlight-color:transparent;transition:background .18s,color .18s,box-shadow .18s;
}
.prm-tab.cur{
  color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.26) 0%,rgba(255,255,255,0.12) 100%);
  box-shadow:inset 0 0.8px 1px rgba(255,255,255,0.68),inset 0 0 0 0.75px rgba(255,255,255,0.36),0 6px 14px -8px rgba(4,8,30,0.48);
}

.prm-bal-card,.prm-camp,.prm-pack,.prm-sub-hero,.prm-plan,.prmed-card{
  position:relative;overflow:hidden;border:0;
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
}
.prm-bal-card::before,.prm-camp::before,.prm-pack::before,.prm-sub-hero::before,.prm-plan::before,.prmed-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-eco .prm-bal-card::before,body.is-eco .prm-camp::before,body.is-eco .prm-pack::before,body.is-eco .prm-sub-hero::before,body.is-eco .prm-plan::before,body.is-eco .prmed-card::before{display:none!important;}
.prm-bal-card{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:15px 16px;border-radius:20px;margin-bottom:12px;
  background:linear-gradient(145deg,rgba(56,189,248,0.16) 0%,rgba(4,8,28,0.10) 55%,rgba(99,102,241,0.14) 100%);
  box-shadow:0 18px 36px -14px rgba(4,8,30,0.52),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.26);
}
.prm-bal-lbl{font-family:var(--mono);font-size:10px;letter-spacing:0.08em;text-transform:uppercase;color:rgba(224,242,254,0.76);}
.prm-bal-num{font-family:var(--display);font-size:22px;font-weight:900;color:#FFFFFF;line-height:1.15;margin-top:3px;text-shadow:0 2px 12px rgba(6,12,42,0.45);}
.prm-bal-unit{font-family:var(--body);font-size:12px;font-weight:600;color:rgba(224,242,254,0.78);margin-left:5px;}
.prm-topup-btn{
  flex-shrink:0;height:36px;padding:0 14px;border-radius:12px;border:none;cursor:pointer;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.52),rgba(99,102,241,0.62));
  box-shadow:inset 0 0.85px 1px rgba(255,255,255,0.65),0 8px 18px -6px rgba(56,189,248,0.52);
}
.prm-topup-btn:active{transform:scale(0.96);}

.prm-create-btn{
  width:100%;height:46px;border-radius:16px;border:none;cursor:pointer;margin-bottom:14px;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.22) 0%,rgba(255,255,255,0.10) 56%,rgba(12,20,56,0.28) 100%);
  box-shadow:0 12px 24px -12px rgba(4,8,30,0.52),inset 0 1px 1.2px rgba(255,255,255,0.72),inset 0 0 0 0.85px rgba(255,255,255,0.36);
}
.prm-create-btn:active{transform:scale(0.98);}
.prm-create-btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;}

.prm-list{display:flex;flex-direction:column;gap:11px;}
.prm-camp{
  padding:14px;border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  box-shadow:0 18px 36px -14px rgba(4,8,30,0.54),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.26);
}
.prm-camp-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:8px;}
.prm-camp-ttl{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;line-height:1.25;}
.prm-camp-desc{font-size:12px;line-height:1.4;color:rgba(224,242,254,0.78);margin:4px 0 8px;}
.prm-camp-img{width:100%;max-height:132px;object-fit:cover;border-radius:12px;margin-bottom:9px;display:block;border:1px solid rgba(255,255,255,0.14);}
.prm-st{
  flex-shrink:0;padding:3px 9px;border-radius:999px;font-family:var(--mono);font-size:9.5px;font-weight:700;letter-spacing:0.04em;
  color:#FFFFFF;background:rgba(255,255,255,0.14);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.28);
}
.prm-st.st-active{background:rgba(16,185,129,0.34);box-shadow:inset 0 0 0 0.7px rgba(110,231,183,0.62);color:#ECFDF5;}
.prm-st.st-pending{background:rgba(245,158,11,0.34);box-shadow:inset 0 0 0 0.7px rgba(253,230,138,0.58);color:#FFFBEB;}
.prm-st.st-paused{background:rgba(148,163,184,0.26);box-shadow:inset 0 0 0 0.7px rgba(226,232,240,0.40);}
.prm-st.st-rejected{background:rgba(244,63,94,0.32);box-shadow:inset 0 0 0 0.7px rgba(253,164,175,0.56);color:#FFF1F2;}
.prm-st.st-expired{background:rgba(245,158,11,0.34);box-shadow:inset 0 0 0 0.7px rgba(253,230,138,0.62);color:#FEF3C7;}
.prm-exp-note{font-size:11.5px;line-height:1.38;color:#FEF3C7;background:rgba(245,158,11,0.16);border:0.75px solid rgba(251,191,36,0.42);border-radius:11px;padding:7px 10px;margin:4px 0 8px;}
.prm-st.st-completed{background:rgba(56,189,248,0.28);box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.50);}

.prm-prog{height:6px;border-radius:999px;background:rgba(255,255,255,0.10);overflow:hidden;margin:8px 0 7px;}
.prm-prog i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#38BDF8,#818CF8);transition:width .25s ease;}
.prm-stats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px;}
.prm-stat{
  padding:3px 8px;border-radius:999px;font-family:var(--mono);font-size:10px;
  color:rgba(232,244,255,0.88);background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.18);
}
.prm-stat b{color:#FFFFFF;font-weight:800;}
.prm-acts{display:flex;flex-wrap:wrap;gap:6px;}
.prm-act{
  flex:1;min-width:74px;height:33px;padding:0 10px;border-radius:11px;border:none;cursor:pointer;
  font-family:var(--body);font-size:11.5px;font-weight:700;color:#F8FAFC;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0.7px 0.8px rgba(255,255,255,0.34),inset 0 0 0 0.7px rgba(255,255,255,0.20);
}
.prm-act:active{transform:scale(0.96);}
.prm-act.pri{background:linear-gradient(135deg,rgba(56,189,248,0.36),rgba(99,102,241,0.44));box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.48);}
.prm-act.del{background:rgba(244,63,94,0.18);color:#FFE4E6;box-shadow:inset 0 0 0 0.7px rgba(253,164,175,0.38);}

.prm-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px;}
.prm-pack{
  padding:14px 12px;border-radius:18px;display:flex;flex-direction:column;gap:7px;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.52),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.26);
}
.prm-pack-bdg{
  position:absolute;top:9px;right:9px;padding:2px 7px;border-radius:999px;
  font-family:var(--mono);font-size:9.5px;font-weight:800;color:#ECFDF5;
  background:rgba(16,185,129,0.52);box-shadow:inset 0 0 0 0.6px rgba(110,231,183,0.65);
}
.prm-pack-v{display:inline-flex;align-items:center;justify-content:center;gap:5px;font-family:var(--display);font-size:17px;font-weight:900;color:#FFFFFF;}
.prm-pack-v .eye-view-svg{flex-shrink:0;filter:drop-shadow(0 0 6px rgba(56,189,248,0.55));}
.prm-pack-u{font-size:11px;color:rgba(224,242,254,0.74);margin-top:-4px;}
.prm-pack-p{font-family:var(--mono);font-size:14px;font-weight:800;color:#BAE6FD;margin-top:2px;}
.prm-pack-btn{
  margin-top:4px;height:34px;border-radius:11px;border:none;cursor:pointer;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.44),rgba(99,102,241,0.56));
  box-shadow:inset 0 0.8px 1px rgba(255,255,255,0.58),inset 0 0 0 0.7px rgba(255,255,255,0.34);
}
.prm-pack-btn:active{transform:scale(0.96);}

.prm-sub-hero{
  padding:16px;border-radius:20px;margin-bottom:12px;
  background:linear-gradient(145deg,rgba(168,85,247,0.18) 0%,rgba(4,8,28,0.10) 58%,rgba(56,189,248,0.14) 100%);
  box-shadow:0 18px 36px -14px rgba(4,8,30,0.50),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.26);
}
.prm-sub-hero h2{margin:0 0 5px;font-family:var(--display);font-size:16px;font-weight:800;color:#FFFFFF;}
.prm-sub-hero p{margin:0 0 10px;font-size:12.5px;line-height:1.45;color:rgba(232,244,255,0.82);}
.prm-sub-pill{
  display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;font-weight:700;
  background:rgba(255,255,255,0.12);color:#E0F2FE;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.28);
}
.prm-sub-pill.on{background:rgba(16,185,129,0.36);color:#ECFDF5;box-shadow:inset 0 0 0 0.7px rgba(110,231,183,0.62);}
.prm-plans{display:flex;flex-direction:column;gap:9px;}
.prm-plan{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:13px 15px;border-radius:17px;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.50),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.24);
}
.prm-plan-n{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;display:flex;align-items:center;gap:7px;}
.prm-plan-p{font-family:var(--mono);font-size:12.5px;font-weight:700;color:#BAE6FD;margin-top:2px;}
.prm-note{font-size:12px;line-height:1.45;color:rgba(224,242,254,0.74);margin:0 0 8px;}

/* Редактор рекламного объявления */
.prmed-card{
  padding:15px;border-radius:20px;margin-bottom:12px;display:flex;flex-direction:column;gap:11px;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.50),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5.5px -1px rgba(255,255,255,0.24);
}
.prmed-fld{display:flex;flex-direction:column;gap:5px;}
.prmed-fld label{font-family:var(--body);font-size:12px;font-weight:700;letter-spacing:0.01em;color:rgba(232,244,255,0.88);}
.prmed-in,.prmed-sel,.prmed-ta{
  width:100%;box-sizing:border-box;padding:10px 12px;border-radius:12px;
  border:0.8px solid rgba(255,255,255,0.22);background:rgba(4,10,32,0.38);color:#FFFFFF;
  font-family:var(--body);font-size:13.5px;outline:none;
}
.prmed-ta{min-height:74px;resize:vertical;line-height:1.4;}
.prmed-sel option{background:#0f172a;color:#fff;}
.prmed-row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.prmed-photo-box{display:flex;flex-direction:column;gap:8px;}
.prmed-photo-pv{width:100%;max-height:160px;object-fit:cover;border-radius:13px;border:1px solid rgba(255,255,255,0.18);}
.prmed-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px;}
.prmed-qchip{
  height:28px;padding:0 10px;border-radius:999px;border:none;cursor:pointer;
  font-family:var(--mono);font-size:11px;font-weight:700;color:#E0F2FE;
  background:rgba(255,255,255,0.10);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.24);
}
.prmed-prev{
  padding:13px;border-radius:18px;margin-bottom:14px;
  background:linear-gradient(155deg,rgba(255,255,255,0.11),rgba(255,255,255,0.03));
  border:1px solid rgba(186,230,253,0.34);
}
.prmed-prev-hd{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:10px;color:rgba(224,242,254,0.72);}
.prmed-prev-tag{padding:2px 7px;border-radius:999px;background:rgba(255,255,255,0.12);font-family:var(--mono);font-weight:700;text-transform:uppercase;}
.prmed-prev-btn{
  margin-top:9px;padding:9px;border-radius:11px;text-align:center;font-weight:700;font-size:12.5px;color:#fff;
  background:linear-gradient(135deg,rgba(56,189,248,0.44),rgba(99,102,241,0.48));
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.34);
}

/* Полноэкранный просмотр фотографий (Биржа рекламы / карточки) */
.mp-cover,.lg-top-media img{cursor:zoom-in;-webkit-tap-highlight-color:transparent;}
.img-lb-ov{
  position:fixed;inset:0;z-index:260;padding:20px 14px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;
  background:rgba(4,8,24,0.86);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  opacity:0;transition:opacity .2s ease;
}
.img-lb-ov.on{opacity:1;}
.img-lb-img{
  max-width:100%;max-height:88dvh;width:auto;height:auto;object-fit:contain;
  border-radius:16px;box-shadow:0 24px 60px rgba(0,0,0,0.72),0 0 0 1px rgba(255,255,255,0.18);
  transform:scale(0.94);transition:transform .22s cubic-bezier(.22,1,.36,1);
}
.img-lb-ov.on .img-lb-img{transform:scale(1);}
.img-lb-x{
  position:fixed;top:max(14px,env(safe-area-inset-top,14px));right:14px;z-index:261;
  width:36px;height:36px;border-radius:50%;border:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:22px;line-height:1;color:#FFFFFF;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.36),0 8px 20px rgba(0,0,0,0.45);
  -webkit-tap-highlight-color:transparent;
}
.img-lb-x:active{transform:scale(0.92);}

/* ── Глобальная пауза CSS-анимаций при скрытом/свёрнутом окне (0% GPU в фоне) ── */
body.is-hidden,
body.is-hidden *,
body.is-hidden *::before,
body.is-hidden *::after{
  animation-play-state:paused!important;
}

/* ── Глобальный запрет разрыва слов по одной букве по всему приложению ──
   Обычный текст и заголовки никогда не рвутся посреди слова (только целые слова);
   перенос внутри длинных строк разрешён исключительно для raw-URL и кода. */
body,body h1,body h2,body h3,body h4,body p,body div,body span,body li,body button,body label{
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
  -webkit-hyphens:none;
}
body a[href^="http"],body .mdbox a,body .mp-desc a,body .rte a,body .mp-author a,body .tl-url,body code{
  overflow-wrap:anywhere;
  word-break:break-word;
}
/* Полная выключка по ширине (слева и справа от края до края) для описаний разделов и документов */
.mk-intro,
.pv-clause,
.lg-top-desc .mdbox,
.mp-desc,
.faq-a-inner,
.prm-sub-hero p,
.prm-note,
.ap-hint{
  text-align:justify;
  text-justify:inter-word;
}

/* ============================================================================
   ЛОББИ СОВМЕСТНЫХ РОЗЫГРЫШЕЙ (Matchmaking Rooms) + ЖИВЫЕ IN-APP УВЕДОМЛЕНИЯ
   Эталонный Liquid Glass из Профиля (0.65px 360°-грань, border:0)
   ============================================================================ */
.bento.lg-bento .tile.a-lb{
  padding:clamp(9px,1.55dvh,17px) clamp(11px,1.5dvh,16px);justify-content:space-between;
  --hc-tint:rgba(216,180,254,0.20);
}
.bento.lg-bento .tile.a-lb h3{font-size:clamp(13px,1.72dvh,15.5px);line-height:1.12;}
.tile-new{
  position:absolute;top:10px;right:10px;z-index:5;
  display:inline-flex;align-items:center;justify-content:center;
  padding:3px 7px;border-radius:999px;
  font-family:var(--mono);font-size:9px;font-weight:900;letter-spacing:0.08em;line-height:1;color:#FFFFFF;
  background:linear-gradient(135deg,#F43F5E 0%,#EC4899 48%,#A855F7 100%);
  box-shadow:0 0 14px rgba(244,63,94,0.78),0 0 24px -2px rgba(168,85,247,0.72),inset 0 0.7px 0.9px rgba(255,255,255,0.76);
  text-shadow:0 1px 4px rgba(48,6,28,0.55);
  animation:newBadgeGlow 2.4s ease-in-out infinite;
}
.tabs a.is-new{
  color:rgba(255,255,255,0.96)!important;
  text-shadow:0 0 12px rgba(232,121,249,0.68),0 1px 6px rgba(6,12,42,0.42);
}
.tab-new{
  position:absolute;top:-2px;right:-6px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:1.5px 4.5px;border-radius:999px;
  font-family:var(--mono);font-size:6.5px;font-weight:900;letter-spacing:0.06em;line-height:1;color:#FFFFFF;
  background:linear-gradient(135deg,#F43F5E 0%,#EC4899 52%,#A855F7 100%);
  box-shadow:0 0 7px rgba(244,63,94,0.72),0 0 11px -1px rgba(168,85,247,0.58),inset 0 0.6px 0.8px rgba(255,255,255,0.82);
  animation:tabNewGlow 2.4s ease-in-out infinite;
  pointer-events:none;
}
@keyframes tabNewGlow{
  0%,100%{filter:brightness(1);box-shadow:0 0 6px rgba(244,63,94,0.62),0 0 10px -1px rgba(168,85,247,0.48),inset 0 0.6px 0.8px rgba(255,255,255,0.75);}
  50%{filter:brightness(1.14);box-shadow:0 0 9px rgba(244,63,94,0.88),0 0 13px -1px rgba(232,121,249,0.72),inset 0 0.6px 0.8px rgba(255,255,255,0.92);}
}
@keyframes newBadgeGlow{
  0%,100%{filter:brightness(1);box-shadow:0 0 7px rgba(244,63,94,0.66),0 0 11px -1px rgba(168,85,247,0.54),inset 0 0.6px 0.8px rgba(255,255,255,0.75);}
  50%{filter:brightness(1.14);box-shadow:0 0 10px rgba(244,63,94,0.88),0 0 14px -1px rgba(232,121,249,0.74),inset 0 0.6px 0.8px rgba(255,255,255,0.92);}
}
body.is-eco .tile-new,body.is-eco .tab-new{animation:none!important;}
.lb-mk-promo{
  position:relative;overflow:hidden;border:0;border-radius:18px;padding:11px 13px;margin:0 0 12px;
  display:flex;align-items:center;gap:11px;text-decoration:none;color:#FFFFFF;cursor:pointer;
  background:linear-gradient(148deg,rgba(168,85,247,0.24) 0%,rgba(76,29,149,0.20) 56%,rgba(56,189,248,0.16) 100%);
  backdrop-filter:blur(11px) brightness(0.94);-webkit-backdrop-filter:blur(11px) brightness(0.94);
  box-shadow:0 14px 28px -12px rgba(4,8,30,0.48),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2px 5px -1px rgba(192,132,252,0.28);
}
.lb-mk-promo::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(192,132,252,0.42) 50deg,rgba(255,255,255,0.26) 90deg,rgba(125,211,252,0.38) 135deg,rgba(255,255,255,0.54) 180deg,rgba(125,211,252,0.38) 225deg,rgba(255,255,255,0.26) 270deg,rgba(192,132,252,0.42) 310deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lb-mk-ic{
  width:36px;height:36px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:rgba(192,132,252,0.24);color:#F5D0FE;
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.34);
}
.lb-mk-ic svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.lb-mk-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-mk-tx b{font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.lb-mk-tx small{font-size:11px;color:rgba(240,248,255,0.82);line-height:1.3;}
.lb-mk-go{font-size:20px;line-height:1;color:rgba(255,255,255,0.72);font-weight:700;}

.lb-page{position:relative;z-index:2;padding-bottom:32px;}
.lb-create-btn{
  position:relative;overflow:hidden;width:100%;border:0;border-radius:20px;padding:13px 14px;margin:0 0 12px;
  display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;color:#FFFFFF;
  background:linear-gradient(142deg,rgba(168,85,247,0.34) 0%,rgba(99,102,241,0.32) 54%,rgba(56,189,248,0.28) 100%);
  backdrop-filter:blur(11px) brightness(0.95);-webkit-backdrop-filter:blur(11px) brightness(0.95);
  box-shadow:0 16px 34px -12px rgba(124,58,237,0.52),inset 0 0.65px 1px rgba(255,255,255,0.46),inset 0 -2px 5.5px -1px rgba(192,132,252,0.32);
  transition:transform .13s ease,filter .15s ease;
}
.lb-create-btn::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.62) 0deg,rgba(192,132,252,0.44) 48deg,rgba(255,255,255,0.26) 90deg,rgba(125,211,252,0.46) 136deg,rgba(255,255,255,0.58) 180deg,rgba(125,211,252,0.46) 224deg,rgba(255,255,255,0.26) 270deg,rgba(192,132,252,0.44) 312deg,rgba(255,255,255,0.62) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lb-create-btn:active{transform:scale(0.975);filter:brightness(1.06);}
.lb-cr-ic{
  width:38px;height:38px;border-radius:13px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.16);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.38);color:#FFFFFF;
}
.lb-cr-ic svg{width:19px;height:19px;stroke:#FFFFFF;fill:none;stroke-width:2.3;stroke-linecap:round;}
.lb-cr-tx{display:flex;flex-direction:column;gap:2px;min-width:0;}
.lb-cr-tx b{font-family:var(--display);font-size:13.5px;font-weight:800;line-height:1.18;}
.lb-cr-tx small{font-size:11.5px;color:rgba(240,248,255,0.84);line-height:1.3;}

.lb-tabs{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;
  padding:4px;border-radius:13px;margin:0 0 10px;
  background:rgba(10,18,52,0.34);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
}
.lb-tab{
  height:32px;border:0;border-radius:9px;background:transparent;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  font-family:var(--body);font-size:11.5px;font-weight:700;color:rgba(240,248,255,0.82);
  transition:background .16s ease,color .16s ease;
}
.lb-tab.cur{
  color:#FFFFFF;
  background:linear-gradient(135deg,rgba(168,85,247,0.52),rgba(56,189,248,0.44));
  box-shadow:0 6px 14px -6px rgba(124,58,237,0.56),inset 0 0.6px 0.8px rgba(255,255,255,0.44);
}
.lb-nb{
  min-width:16px;height:16px;padding:0 4px;border-radius:999px;font-size:9.5px;font-weight:800;
  background:#F43F5E;color:#FFFFFF;display:inline-flex;align-items:center;justify-content:center;
}
.lb-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px;}
.lb-filters .chip{height:28px!important;padding:0 10px!important;font-size:11px!important;}

.lb-list{display:flex;flex-direction:column;gap:12px;}
.lb-card{
  position:relative;overflow:hidden;border:0;border-radius:22px;padding:14px;cursor:pointer;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 40px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
  transition:transform .13s ease,filter .15s ease;
}
.lb-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:4;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lb-card.is-hot::before{
  background:conic-gradient(from 0deg,rgba(253,230,138,0.82) 0deg,rgba(251,146,60,0.56) 50deg,rgba(244,63,94,0.42) 90deg,rgba(251,146,60,0.56) 136deg,rgba(253,230,138,0.76) 180deg,rgba(251,146,60,0.56) 224deg,rgba(244,63,94,0.42) 270deg,rgba(251,146,60,0.56) 316deg,rgba(253,230,138,0.82) 360deg);
}
.lb-card:active{transform:scale(0.978);filter:brightness(1.06);}
.lb-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;flex-wrap:wrap;}
.lb-hd-l{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.lb-st{
  display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;
  font-family:var(--mono);font-size:10px;font-weight:800;letter-spacing:0.04em;color:#FFFFFF;
}
.lb-st.is-open{background:rgba(56,189,248,0.30);box-shadow:inset 0 0 0 0.65px rgba(186,230,253,0.48);}
.lb-st.is-hot{background:linear-gradient(135deg,#F97316,#DC2626);box-shadow:0 4px 12px -3px rgba(249,115,22,0.72),inset 0 0 0 0.65px rgba(254,240,138,0.68);}
.lb-st.is-ready{background:linear-gradient(135deg,#10B981,#059669);box-shadow:0 4px 12px -3px rgba(16,185,129,0.65);}
.lb-st.is-done{background:rgba(99,102,241,0.44);box-shadow:inset 0 0 0 0.65px rgba(199,210,254,0.46);}
.lb-st.is-exp{background:rgba(148,163,184,0.26);color:rgba(226,232,240,0.86);}
.lb-tm{
  display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;font-weight:800;color:#FEF3C7;
  background:rgba(15,23,42,0.36);box-shadow:inset 0 0 0 0.65px rgba(253,230,138,0.34);
  font-variant-numeric:tabular-nums;
}
.lb-title{font-family:var(--display);font-size:14.5px;font-weight:800;line-height:1.25;color:#FFFFFF;margin-bottom:4px;text-shadow:0 1px 8px rgba(4,8,28,0.42);}
.lb-prize-note{font-size:12px;color:rgba(240,248,255,0.88);line-height:1.38;margin-bottom:8px;}
.lb-pills{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:10px;}
.lb-pill{
  display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;
  font-family:var(--mono);font-size:10px;font-weight:700;color:rgba(232,244,255,0.92);
  background:rgba(12,24,68,0.36);box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.22);
}
.lb-pill.is-auto{background:rgba(168,85,247,0.28);color:#F5D0FE;box-shadow:inset 0 0 0 0.6px rgba(216,180,254,0.42);}
.lb-pill.is-fee{
  background:linear-gradient(135deg,rgba(16,185,129,0.34),rgba(5,150,105,0.26));
  color:#D1FAE5;
  box-shadow:0 0 14px -4px rgba(16,185,129,0.68),inset 0 0 0 0.65px rgba(110,231,183,0.58);
}
.lb-filters .chip.is-fee,.lb-chiprow .chip.is-fee{
  display:inline-flex;align-items:center;gap:5px;
  background:linear-gradient(135deg,rgba(16,185,129,0.22),rgba(5,150,105,0.14))!important;
  color:#D1FAE5!important;
  box-shadow:0 0 12px -4px rgba(16,185,129,0.46),inset 0 0 0 0.65px rgba(110,231,183,0.44)!important;
}
.lb-filters .chip.is-fee.cur,.lb-chiprow .chip.is-fee.cur{
  background:linear-gradient(135deg,#10B981,#059669)!important;
  color:#FFFFFF!important;
  box-shadow:0 6px 16px -4px rgba(16,185,129,0.72),inset 0 0.75px 0.9px rgba(255,255,255,0.62)!important;
}
.lb-prize-note .lb-dollar-ic{vertical-align:-2px;}
.lb-dollar-ic{
  width:14px;height:14px;flex-shrink:0;overflow:visible;display:inline-block;
  filter:drop-shadow(0 0 4px rgba(52,211,153,0.92)) drop-shadow(0 0 10px rgba(16,185,129,0.68));
}
.lb-dollar-ic .dl-body{
  transform-origin:12px 12px;
  animation:lbDollarPulse 2.3s ease-in-out infinite;
}
.lb-dollar-ic .dl-sp{
  transform-origin:19.6px 5.1px;
  animation:lbDollarTwk 1.9s ease-in-out infinite;
}
.lb-dollar-ic .dl-sp2{
  transform-origin:4.8px 17.8px;
  animation:lbDollarTwk 2.3s ease-in-out .75s infinite;
}
@keyframes lbDollarPulse{
  0%,100%{transform:translateY(0) scale(0.96);}
  50%{transform:translateY(-1px) scale(1.07);}
}
@keyframes lbDollarTwk{
  0%,100%{opacity:0.25;transform:scale(0.55) rotate(0deg);}
  50%{opacity:1;transform:scale(1.25) rotate(35deg);}
}

/* Визуальные слоты каналов (как в игровом лобби) */
.lb-slots{display:flex;align-items:flex-start;gap:7px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none;}
.lb-slots::-webkit-scrollbar{display:none;}
.lb-sl{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:42px;flex-shrink:0;}
.lb-sl-av{
  width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background-size:cover;background-position:center;font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  box-shadow:0 4px 12px -4px rgba(4,8,30,0.52),inset 0 0 0 1px rgba(255,255,255,0.42);
}
.lb-sl.is-host .lb-sl-av{box-shadow:0 0 12px -2px rgba(251,191,36,0.72),inset 0 0 0 1.4px rgba(253,230,138,0.88);}
.lb-sl-av.ph{background:linear-gradient(135deg,rgba(168,85,247,0.62),rgba(56,189,248,0.58));}
.lb-sl-av.empty{
  background:rgba(255,255,255,0.05);color:rgba(240,248,255,0.62);font-size:16px;font-weight:600;
  border:1.2px dashed rgba(255,255,255,0.34);box-shadow:none;
}
.lb-sl-sub{font-family:var(--mono);font-size:9px;font-weight:700;color:rgba(232,244,255,0.84);line-height:1;}
.lb-sl.is-free .lb-sl-sub{color:rgba(224,242,254,0.52);}

.lb-prog{height:5px;border-radius:999px;background:rgba(255,255,255,0.10);overflow:hidden;margin:8px 0 9px;}
.lb-prog i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#A855F7 0%,#38BDF8 58%,#34D399 100%);transition:width .28s ease;}
.lb-tags{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:9px;}
.lb-tag{
  padding:2.5px 8px;border-radius:999px;font-size:10px;font-weight:600;
  color:rgba(232,244,255,0.88);background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.18);
}
.lb-ft{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,0.12);}
.lb-reach{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;color:rgba(224,242,254,0.84);}
.lb-reach b{color:#FFFFFF;font-family:var(--mono);font-weight:800;}
.lb-cta{
  padding:6px 12px;border-radius:999px;font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(168,85,247,0.56),rgba(56,189,248,0.56));
  box-shadow:0 6px 14px -5px rgba(99,102,241,0.56),inset 0 0 0 0.65px rgba(255,255,255,0.38);
}
.lb-cta.is-in{background:linear-gradient(135deg,#10B981,#059669);}
.lb-cta.is-req{background:linear-gradient(135deg,#F97316,#DC2626);}

/* Комната лобби (screenLobbyDetail) и стеклянные карточки внутри .lb-page */
.lb-page .lg-card{
  position:relative;z-index:2;overflow:hidden;border:0;border-radius:24px;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.06) 0%,rgba(4,8,28,0.08) 52%,rgba(255,255,255,0.04) 100%);
  backdrop-filter:blur(11px) brightness(0.93);-webkit-backdrop-filter:blur(11px) brightness(0.93);
  box-shadow:0 20px 40px -14px rgba(4,8,30,0.54),0 5px 14px -5px rgba(4,8,30,0.30),inset 0 0.65px 1px rgba(255,255,255,0.40),inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),inset 0 0 7px -2px rgba(255,255,255,0.16),inset 0.85px 0 1.7px rgba(0,0,0,0.18),inset -0.85px 0 1.7px rgba(0,0,0,0.18);
}
.lb-page .lg-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:4;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.32) 44deg,rgba(255,255,255,0.26) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.34) 224deg,rgba(255,255,255,0.26) 270deg,rgba(255,255,255,0.32) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lb-det-hero{position:relative;overflow:hidden;border-radius:24px;padding:16px;margin-bottom:12px;}
.lb-card-in{position:relative;z-index:2;}
.lb-det-hero .lb-card-in,
.lb-card .lb-card-in{pointer-events:none;}

/* Динамический фон набора каналов с молниевидным разделением и блуром центра аватарок */
.lb-bolt-bg{
  position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;border-radius:inherit;
}
.lb-b-slice{
  position:absolute;inset:0;overflow:hidden;transition:opacity .35s ease;
}
.lb-b-img{
  position:absolute;top:-10%;bottom:-10%;
  background-size:cover;background-position:center center;background-repeat:no-repeat;
  filter:blur(6px) brightness(0.45) saturate(1.16);
  transform:scale(1.10);opacity:0.92;
  transition:opacity .4s ease,transform .5s ease;
}
.lb-det-hero .lb-b-img{
  filter:blur(7.5px) brightness(0.42) saturate(1.14);
  transform:scale(1.12);
}
.lb-b-img.is-grad{
  filter:blur(3.5px) brightness(0.56) saturate(1.14);opacity:0.80;
}
.lb-b-void{
  position:absolute;top:0;bottom:0;
  background:linear-gradient(165deg,rgba(8,14,42,0.58) 0%,rgba(14,22,58,0.42) 55%,rgba(6,10,32,0.64) 100%);
}
.lb-bolt-veil{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(180deg,rgba(6,10,30,0.58) 0%,rgba(6,10,30,0.48) 46%,rgba(4,8,26,0.76) 100%);
}
.lb-bolt-svg{
  position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none;
  filter:drop-shadow(0 0 4px rgba(255,255,255,0.68)) drop-shadow(0 0 9px rgba(139,92,246,0.52));
}
.lb-bolt-glow{filter:blur(0.8px);}
.lb-void-plus{
  position:absolute;top:50%;z-index:3;transform:translate(-50%,-50%);
  width:46px;height:46px;border-radius:50%;border:0;padding:0;pointer-events:none;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle,rgba(192,132,252,0.38) 0%,rgba(56,189,248,0.22) 52%,rgba(255,255,255,0.06) 100%);
  box-shadow:
    0 0 26px 2px rgba(168,85,247,0.58),
    0 0 14px -2px rgba(56,189,248,0.56),
    inset 0 0 0 1px rgba(255,255,255,0.52),
    inset 0 1px 2px rgba(255,255,255,0.68);
  animation:lbPlusGlow 2.8s ease-in-out infinite;
  -webkit-tap-highlight-color:transparent;
}
.lb-void-plus.is-btn{
  pointer-events:auto;cursor:pointer;
  transition:filter .14s ease,transform .14s ease;
}
.lb-void-plus.is-btn:active{
  animation:none;transform:translate(-50%,-50%) scale(0.88);filter:brightness(1.25);
}
.lb-void-plus svg{
  width:22px;height:22px;fill:none;stroke:#FFFFFF;stroke-width:2.5;stroke-linecap:round;
  filter:drop-shadow(0 0 6px rgba(255,255,255,0.92)) drop-shadow(0 0 12px rgba(192,132,252,0.82));
}
@keyframes lbPlusGlow{
  0%,100%{transform:translate(-50%,-50%) scale(0.96);opacity:0.86;box-shadow:0 0 22px 1px rgba(168,85,247,0.48),0 0 12px -2px rgba(56,189,248,0.48),inset 0 0 0 1px rgba(255,255,255,0.48),inset 0 1px 2px rgba(255,255,255,0.64);}
  50%{transform:translate(-50%,-50%) scale(1.06);opacity:1;box-shadow:0 0 34px 5px rgba(168,85,247,0.78),0 0 18px 0 rgba(56,189,248,0.72),inset 0 0 0 1.2px rgba(255,255,255,0.78),inset 0 1px 3px rgba(255,255,255,0.88);}
}

/* Двусторонняя плашка привязки черновика в редакторе розыгрыша (screenCard) */
.lb-card-link{
  position:relative;overflow:hidden;display:flex;align-items:center;gap:11px;
  padding:12px 14px;margin:10px 0 12px;border:0;border-radius:18px;
  cursor:pointer;text-decoration:none;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(139,92,246,0.22) 0%,rgba(37,99,235,0.18) 54%,rgba(14,165,233,0.18) 100%);
  backdrop-filter:blur(11px) brightness(0.95);-webkit-backdrop-filter:blur(11px) brightness(0.95);
  box-shadow:0 14px 28px -12px rgba(4,8,30,0.50),inset 0 0.65px 1px rgba(255,255,255,0.40);
  transition:transform .13s ease,filter .14s ease;
}
.lb-card-link::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.58) 0deg,rgba(192,132,252,0.42) 52deg,rgba(255,255,255,0.24) 90deg,rgba(125,211,252,0.42) 136deg,rgba(255,255,255,0.54) 180deg,rgba(125,211,252,0.42) 224deg,rgba(255,255,255,0.24) 270deg,rgba(192,132,252,0.42) 316deg,rgba(255,255,255,0.58) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lb-card-link.is-live{
  background:linear-gradient(135deg,rgba(16,185,129,0.24) 0%,rgba(14,165,233,0.24) 54%,rgba(124,58,237,0.24) 100%);
}
.lb-card-link:active{transform:scale(0.98);filter:brightness(1.07);}
.lb-card-link .lcl-ic{
  width:38px;height:38px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.14);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.34);color:#FFFFFF;
}
.lb-card-link .lcl-ic svg{width:19px;height:19px;fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.lb-card-link .lcl-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-card-link .lcl-tx b{font-family:var(--display);font-size:13px;font-weight:800;line-height:1.22;color:#FFFFFF;}
.lb-card-link .lcl-tx small{font-size:11.5px;line-height:1.32;color:rgba(232,244,255,0.84);}
.lb-card-link .lcl-go{font-size:20px;font-weight:700;color:rgba(255,255,255,0.72);flex-shrink:0;}

/* Карточка привязанного полного черновика в комнате набора */
.lb-gv-card{padding:14px;margin-bottom:12px;display:flex;flex-direction:column;gap:11px;}
.lb-host-bar{
  display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:16px;
  background:rgba(10,18,52,0.34);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
}
.lb-host-av{
  width:42px;height:42px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background-size:cover;background-position:center;font-family:var(--display);font-size:15px;font-weight:800;color:#FFFFFF;
  box-shadow:0 0 14px -3px rgba(251,191,36,0.68),inset 0 0 0 1.4px rgba(253,230,138,0.85);
}
.lb-host-av.ph{background:linear-gradient(135deg,rgba(168,85,247,0.72),rgba(56,189,248,0.68));}
.lb-host-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.lb-host-nm{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.lb-host-nm b{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.lb-host-st{display:flex;align-items:center;gap:6px;font-size:11.5px;line-height:1.32;color:rgba(224,242,254,0.86);}
.lb-host-st i{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:#34D399;box-shadow:0 0 8px rgba(52,211,153,0.85);}
.lb-host-st.is-warn{color:#FEF3C7;}
.lb-host-st.is-warn i{background:#FBBF24;box-shadow:0 0 8px rgba(251,191,36,0.90);}
.lb-post-lbl{
  font-family:var(--mono);font-size:9.5px;font-weight:700;letter-spacing:0.10em;text-transform:uppercase;
  color:rgba(186,230,253,0.82);margin-bottom:-4px;
}
.lb-post-box{
  overflow:hidden;border-radius:16px;
  background:rgba(8,14,42,0.44);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22),0 10px 24px -10px rgba(4,8,30,0.48);
}
.lb-post-img{display:block;width:100%;max-height:210px;object-fit:cover;border-bottom:1px solid rgba(255,255,255,0.12);}
.lb-post-in{padding:12px 13px 11px;display:flex;flex-direction:column;gap:6px;}
.lb-post-t{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;line-height:1.28;}
.lb-post-body{font-size:12.5px;line-height:1.48;color:rgba(240,248,255,0.90);word-break:break-word;}
.lb-post-body a{color:#7DD3FC;text-decoration:underline;}
.lb-post-empty{font-size:12px;line-height:1.42;color:rgba(224,242,254,0.62);font-style:italic;}
.lb-post-cta{
  margin:0 11px 11px;padding:9px 12px;border-radius:11px;text-align:center;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.12);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.28);
}
.lb-gv-top{display:flex;gap:11px;align-items:flex-start;}
.lb-gv-img.ph{
  display:flex;align-items:center;justify-content:center;color:#E0F2FE;
  background:linear-gradient(135deg,rgba(168,85,247,0.34),rgba(56,189,248,0.28));
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.26);
}
.lb-gv-img.ph svg{width:26px;height:26px;fill:none;stroke:#FFFFFF;stroke-width:1.95;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 2px 6px rgba(6,16,52,0.44));}
.lb-dp-row{display:flex;flex-wrap:wrap;gap:5px;}
.lb-dp{
  display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;
  font-family:var(--mono);font-size:10px;font-weight:700;line-height:1.25;
  color:rgba(232,244,255,0.92);background:rgba(12,24,68,0.38);
  box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.20);
}
.lb-dp.is-th{background:rgba(56,189,248,0.22);color:#E0F2FE;box-shadow:inset 0 0 0 0.6px rgba(125,211,252,0.42);}
.lb-dp.is-feat{background:rgba(168,85,247,0.24);color:#F5D0FE;box-shadow:inset 0 0 0 0.6px rgba(216,180,254,0.38);}
.lb-dp.is-warn{background:rgba(245,158,11,0.24);color:#FEF3C7;box-shadow:inset 0 0 0 0.6px rgba(253,230,138,0.46);}
.lb-gv-acts{display:flex;flex-wrap:wrap;gap:8px;padding-top:2px;}
.lb-gv-btn{
  flex:1;min-width:130px;height:36px;padding:0 12px;border:0;border-radius:12px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.10);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.26);
  transition:transform .12s ease,filter .14s ease;
}
.lb-gv-btn svg{width:14px;height:14px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}
.lb-gv-btn.is-pri{
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 56%,#7C3AED 100%);
  box-shadow:0 8px 18px -6px rgba(37,99,235,0.68),inset 0 0.75px 0.9px rgba(255,255,255,0.62);
}
.lb-gv-btn:active{transform:scale(0.97);filter:brightness(1.08);}

/* Выбор реального черновика на экране создания набора (screenLobbyCreate) */
.lb-dr-hint{font-size:12px;line-height:1.42;color:rgba(224,242,254,0.84);margin-bottom:2px;}
.lb-dr-list{display:flex;flex-direction:column;gap:8px;}
.lb-dr-item{
  display:flex;flex-direction:column;gap:8px;padding:11px;border-radius:16px;cursor:pointer;
  background:rgba(255,255,255,0.06);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;
}
.lb-dr-item:active{transform:scale(0.985);}
.lb-dr-item.cur{
  background:linear-gradient(135deg,rgba(168,85,247,0.28),rgba(56,189,248,0.24));
  box-shadow:inset 0 0 0 1.2px rgba(255,255,255,0.68),0 8px 20px -8px rgba(99,102,241,0.52);
}
.lb-dr-item.is-busy{opacity:0.54;cursor:not-allowed;}
.lb-dr-hd{display:flex;align-items:center;gap:10px;}
.lb-dr-img{
  width:42px;height:42px;border-radius:11px;object-fit:cover;flex-shrink:0;
  box-shadow:0 4px 10px -4px rgba(4,8,30,0.48);
}
.lb-dr-img.ph{
  display:inline-flex;align-items:center;justify-content:center;color:#E0F2FE;
  background:linear-gradient(135deg,rgba(168,85,247,0.34),rgba(56,189,248,0.28));
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.26);
}
.lb-dr-img.ph svg{width:19px;height:19px;fill:none;stroke:#FFFFFF;stroke-width:1.95;stroke-linecap:round;stroke-linejoin:round;}
.lb-dr-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-dr-tx b{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lb-dr-tx small{font-size:11px;color:rgba(224,242,254,0.80);}
.lb-dr-ed{
  flex-shrink:0;height:28px;padding:0 10px;border:0;border-radius:999px;cursor:pointer;
  font-family:var(--display);font-size:10.5px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.14);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.30);
}
.lb-dr-ed:active{transform:scale(0.95);}
.lb-new-dr-btn{
  width:100%;height:40px;margin-top:4px;border:1px dashed rgba(255,255,255,0.34);border-radius:14px;
  cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.06);transition:transform .12s ease,background .15s ease;
}
.lb-new-dr-btn svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.lb-new-dr-btn:active{transform:scale(0.98);background:rgba(255,255,255,0.12);}
.lb-det-title{font-family:var(--display);font-size:17px;font-weight:900;line-height:1.22;color:#FFFFFF;margin:6px 0;text-shadow:0 2px 10px rgba(4,8,28,0.82);}
.lb-det-desc{font-size:13px;line-height:1.5;color:#F8FAFC;margin-bottom:12px;text-align:justify;text-justify:inter-word;text-shadow:0 1px 8px rgba(4,8,28,0.86);}
.lb-det-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.lb-det-stat{
  padding:9px 8px;border-radius:14px;text-align:center;
  background:rgba(10,18,52,0.30);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.18);
  display:flex;flex-direction:column;gap:3px;
}
.lb-det-stat span{font-family:var(--mono);font-size:9px;letter-spacing:0.08em;text-transform:uppercase;color:rgba(224,242,254,0.72);}
.lb-det-stat b{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;font-variant-numeric:tabular-nums;}
.lb-det-stat small{font-family:var(--body);font-size:10px;font-weight:600;color:rgba(224,242,254,0.76);}
.lb-det-rules{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;}

.lb-gv-prev{padding:12px;margin-bottom:12px;display:flex;gap:12px;align-items:center;}
.lb-gv-img{width:64px;height:64px;border-radius:14px;object-fit:cover;flex-shrink:0;box-shadow:0 6px 14px -4px rgba(4,8,30,0.52);}
.lb-gv-info{flex:1;min-width:0;}
.lb-gv-k{font-family:var(--mono);font-size:9.5px;letter-spacing:0.08em;text-transform:uppercase;color:#BAE6FD;margin-bottom:3px;}
.lb-gv-n{font-family:var(--display);font-size:13.5px;font-weight:800;color:#FFFFFF;line-height:1.22;margin-bottom:4px;}
.lb-gv-d{font-size:12px;color:rgba(240,248,255,0.82);line-height:1.38;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:4px;}
.lb-gv-m{display:flex;flex-wrap:wrap;gap:6px;font-family:var(--mono);font-size:10.5px;color:rgba(224,242,254,0.84);}
.lb-gv-m .is-warn{color:#FDE68A;}

.lb-roster{padding:6px 12px;margin-bottom:12px;}
.lb-m-row{
  display:flex;align-items:center;gap:10px;padding:9px 0;
  border-bottom:1px solid rgba(255,255,255,0.10);cursor:pointer;
}
.lb-m-row:last-child{border-bottom:0;}
.lb-m-row.is-empty{opacity:0.65;cursor:default;}
button.lb-m-row.is-empty.is-add{
  width:calc(100% + 12px);margin:2px -6px;padding:10px 8px;border:0;border-radius:16px;
  border-bottom:1px solid rgba(255,255,255,0.10);background:transparent;
  text-align:left;opacity:1;cursor:pointer;
  transition:transform .12s ease,opacity .14s ease,background .22s ease,box-shadow .22s ease;
}
button.lb-m-row.is-empty.is-add:last-child{border-bottom:0;}
button.lb-m-row.is-empty.is-add:active{transform:scale(0.985);opacity:0.88;}
.lb-m-row.lb-slot-hl{
  border-bottom-color:transparent!important;
  background:linear-gradient(135deg,rgba(16,185,129,0.28) 0%,rgba(56,189,248,0.22) 55%,rgba(168,85,247,0.22) 100%)!important;
  box-shadow:0 0 0 1.4px rgba(110,231,183,0.92),0 0 26px -2px rgba(52,211,153,0.72),0 0 16px -2px rgba(56,189,248,0.52),inset 0 1px 1.4px rgba(255,255,255,0.62)!important;
  animation:lbSlotHlPulse 2.35s cubic-bezier(.22,1,.36,1) both;
}
.lb-m-row.lb-slot-hl .lb-m-av.empty{
  transform:scale(1.08);
  background:linear-gradient(135deg,rgba(16,185,129,0.52),rgba(56,189,248,0.44))!important;
  border-color:#A7F3D0!important;
  box-shadow:0 0 18px 0 rgba(52,211,153,0.88),inset 0 0 8px rgba(255,255,255,0.45)!important;
}
.lb-m-row.lb-slot-hl .lb-ch-go{
  filter:brightness(1.22);
  box-shadow:0 0 18px -1px rgba(52,211,153,0.88),inset 0 0 0 1px rgba(255,255,255,0.72)!important;
}
@keyframes lbSlotHlPulse{
  0%{transform:scale(0.98);box-shadow:0 0 0 1px rgba(110,231,183,0.45),0 0 10px -4px rgba(52,211,153,0.35),inset 0 1px 1px rgba(255,255,255,0.38);}
  18%{transform:scale(1.022);box-shadow:0 0 0 1.8px rgba(167,243,208,0.98),0 0 32px 2px rgba(52,211,153,0.86),0 0 20px 0 rgba(56,189,248,0.62),inset 0 1px 2px rgba(255,255,255,0.78);}
  40%{transform:scale(1);box-shadow:0 0 0 1.2px rgba(110,231,183,0.66),0 0 18px -2px rgba(52,211,153,0.52),inset 0 1px 1.2px rgba(255,255,255,0.52);}
  58%{transform:scale(1.018);box-shadow:0 0 0 1.7px rgba(167,243,208,0.95),0 0 28px 1px rgba(52,211,153,0.80),0 0 18px 0 rgba(56,189,248,0.55),inset 0 1px 1.8px rgba(255,255,255,0.72);}
  100%{transform:scale(1);box-shadow:0 0 0 1px rgba(110,231,183,0.32),0 0 12px -4px rgba(52,211,153,0.28),inset 0 1px 1px rgba(255,255,255,0.28);}
}
body.is-eco .lb-m-row.lb-slot-hl{animation:none!important;}
button.lb-m-row.is-empty.is-add .lb-m-av.empty{
  background:linear-gradient(135deg,rgba(16,185,129,0.28),rgba(14,165,233,0.24));
  border:1.2px dashed rgba(110,231,183,0.72);color:#FFFFFF;
  box-shadow:0 0 12px -3px rgba(16,185,129,0.52);
}
.lb-sh-list{display:flex;flex-direction:column;gap:8px;}
.lb-m-av{
  width:38px;height:38px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background-size:cover;background-position:center;font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.34);
}
.lb-m-av.ph{background:linear-gradient(135deg,rgba(168,85,247,0.62),rgba(56,189,248,0.58));}
.lb-m-av.empty{background:rgba(255,255,255,0.05);border:1.2px dashed rgba(255,255,255,0.34);box-shadow:none;font-size:16px;}
.lb-m-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-m-tx b{font-family:var(--display);font-size:12.5px;font-weight:700;color:#FFFFFF;display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.lb-m-tx small{font-size:11px;color:rgba(224,242,254,0.78);}
.lb-role-host{
  padding:2px 6px;border-radius:999px;font-family:var(--mono);font-size:9px;font-weight:800;
  background:rgba(251,191,36,0.28);color:#FEF3C7;box-shadow:inset 0 0 0 0.6px rgba(253,230,138,0.52);
}
.lb-m-go{font-size:18px;color:rgba(255,255,255,0.56);}
.lb-req-acts{display:flex;align-items:center;gap:6px;flex-shrink:0;}
.lb-dec-ok{
  height:30px;padding:0 11px;border:0;border-radius:999px;cursor:pointer;
  font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#10B981,#059669);
}
.lb-dec-no{
  width:30px;height:30px;border:0;border-radius:50%;cursor:pointer;
  font-size:17px;line-height:1;color:#FFE4E6;background:rgba(244,63,94,0.30);
  box-shadow:inset 0 0 0 0.65px rgba(253,164,175,0.48);
}

.lb-join-box{padding:12px;margin-bottom:12px;display:flex;flex-direction:column;gap:8px;}
.lb-join-h{font-family:var(--display);font-size:13.5px;font-weight:800;color:#FFFFFF;}
.lb-join-s{font-size:12px;color:rgba(224,242,254,0.82);line-height:1.45;}
.lb-ch-pick{
  width:100%;display:flex;align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:14px;
  text-align:left;cursor:pointer;color:#FFFFFF;
  background:rgba(255,255,255,0.07);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
  transition:transform .12s ease,background .15s ease;
}
.lb-ch-pick.is-ok:active{transform:scale(0.98);background:rgba(255,255,255,0.13);}
.lb-ch-pick.is-no{opacity:0.52;cursor:not-allowed;}
.lb-ch-go{
  flex-shrink:0;padding:5px 10px;border-radius:999px;font-family:var(--display);font-size:10.5px;font-weight:800;
  background:linear-gradient(135deg,#10B981,#059669);color:#FFFFFF;
}
.lb-actions{display:flex;flex-direction:column;gap:9px;margin-top:4px;}

/* Форма создания лобби */
.lb-form-sec{padding:14px;margin-bottom:10px;display:flex;flex-direction:column;gap:8px;}
.lb-chs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.lb-ch-chip{
  border:0;border-radius:14px;padding:10px;text-align:left;cursor:pointer;color:#FFFFFF;
  display:flex;flex-direction:column;gap:2px;
  background:rgba(255,255,255,0.07);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
}
.lb-ch-chip.cur{
  background:linear-gradient(135deg,rgba(168,85,247,0.38),rgba(56,189,248,0.34));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.62);
}
.lb-ch-chip b{font-family:var(--display);font-size:12px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lb-ch-chip small{font-family:var(--mono);font-size:10px;color:rgba(224,242,254,0.82);}
.lb-warn-box{display:flex;flex-direction:column;gap:10px;font-size:12.5px;color:rgba(240,248,255,0.86);}
.lb-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.lb-step-box{display:flex;flex-direction:column;gap:6px;}
.lb-step-box span{font-family:var(--mono);font-size:10px;text-transform:uppercase;letter-spacing:0.06em;color:rgba(224,242,254,0.80);}
.lb-stepper{
  display:flex;align-items:center;justify-content:space-between;padding:4px;border-radius:12px;
  background:rgba(4,10,32,0.34);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
}
.lb-stepper button{
  width:32px;height:30px;border:0;border-radius:9px;cursor:pointer;color:#FFFFFF;font-size:16px;font-weight:800;
  background:rgba(255,255,255,0.12);
}
.lb-stepper b{font-family:var(--display);font-size:15px;font-weight:800;color:#FFFFFF;}
.lb-chiprow{display:flex;flex-wrap:wrap;gap:6px;}
.lb-chiprow .chip{height:29px!important;padding:0 10px!important;font-size:11px!important;}
.lb-tg-row{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 12px;margin-top:8px;border-radius:14px;cursor:pointer;
  background:rgba(10,18,52,0.30);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.20);
}
.lb-tg-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-tg-tx b{font-family:var(--display);font-size:12.5px;font-weight:700;color:#FFFFFF;}
.lb-tg-tx small{font-size:11px;color:rgba(224,242,254,0.80);line-height:1.35;}
.lb-tg-row .tg{
  position:relative;flex-shrink:0;width:46px;height:27px;border-radius:999px;
  background:rgba(255,255,255,0.20);transition:background .2s ease;
}
.lb-tg-row .tg.on{background:linear-gradient(180deg,#0A84FF,#007AFF);}
.lb-tg-row .tg::after{
  content:'';position:absolute;top:2.5px;left:2.5px;width:22px;height:22px;border-radius:50%;
  background:#FFFFFF;box-shadow:0 2px 6px rgba(0,0,0,0.32);transition:transform .2s cubic-bezier(.32,.72,0,1);
}
.lb-tg-row .tg.on::after{transform:translateX(19px);}

/* Живой всплывающий Liquid Glass баннер уведомлений поверх Mini App */
.lg-live-notif{
  position:fixed;top:calc(12px + env(safe-area-inset-top,0px));left:50%;z-index:320;
  width:min(92vw,410px);border:0;border-radius:20px;padding:12px 14px;overflow:hidden;
  display:flex;align-items:center;gap:11px;cursor:pointer;color:#FFFFFF;
  background:linear-gradient(160deg,rgba(139,92,246,0.42) 0%,rgba(49,46,129,0.44) 56%,rgba(37,99,235,0.38) 100%);
  backdrop-filter:blur(18px) saturate(165%);-webkit-backdrop-filter:blur(18px) saturate(165%);
  box-shadow:0 20px 44px -10px rgba(8,10,42,0.68),inset 0 0.65px 1px rgba(255,255,255,0.48);
  transform:translate(-50%,-130%) scale(0.95);opacity:0;
  transition:transform .34s cubic-bezier(.22,1.18,.36,1),opacity .24s ease;
}
.lg-live-notif::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.66) 0deg,rgba(192,132,252,0.46) 50deg,rgba(255,255,255,0.28) 90deg,rgba(125,211,252,0.46) 136deg,rgba(255,255,255,0.62) 180deg,rgba(125,211,252,0.46) 224deg,rgba(255,255,255,0.28) 270deg,rgba(192,132,252,0.46) 312deg,rgba(255,255,255,0.66) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.lg-live-notif.on{transform:translate(-50%,0) scale(1);opacity:1;}
.lg-live-notif .ln-ic{
  width:36px;height:36px;border-radius:12px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.16);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.36);color:#F5D0FE;
}
.lg-live-notif .ln-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lg-live-notif .ln-tx b{font-family:var(--display);font-size:12.5px;font-weight:800;line-height:1.2;color:#FFFFFF;}
.lg-live-notif .ln-tx small{font-size:11.5px;line-height:1.34;color:rgba(240,248,255,0.88);}
.lg-live-notif .ln-go{font-size:20px;font-weight:700;color:rgba(255,255,255,0.78);flex-shrink:0;}

body.is-eco .lb-card::before,body.is-eco .lb-page .lg-card::before,body.is-eco .lb-card-link::before,body.is-eco .lb-create-btn::before,body.is-eco .lb-mk-promo::before,body.is-eco .lg-live-notif::before{display:none!important;}
body.is-eco .lb-card,body.is-eco .lb-page .lg-card,body.is-eco .lb-card-link,body.is-eco .lb-create-btn,body.is-eco .lb-mk-promo,body.is-eco .lg-live-notif{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
body.is-eco .lb-b-img{filter:brightness(0.46)!important;}
body.is-eco .lb-bolt-svg,body.is-eco .lb-bolt-glow,body.is-eco .lb-void-plus svg,body.is-eco .lb-dollar-ic{filter:none!important;}
body.is-eco .lb-void-plus,body.is-eco .lb-dollar-ic .dl-body,body.is-eco .lb-dollar-ic .dl-sp,body.is-eco .lb-dollar-ic .dl-sp2,body.is-eco .gv.is-from-lobby .gv-lb-smoke{animation:none!important;}

/* Обязательные незаполненные блоки в «Новом наборе» (красное стекло 1-в-1 с Биржей) */
.lb-gl-req{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.lb-req-tag{
  display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;
  color:#FEF08A;
  background:linear-gradient(135deg,rgba(251,191,36,0.22),rgba(245,158,11,0.12));
  box-shadow:inset 0 0 0 0.7px rgba(253,224,71,0.52),0 4px 12px -5px rgba(245,158,11,0.42);
}
.lb-req-tag i{
  width:5.5px;height:5.5px;border-radius:50%;flex-shrink:0;
  background:#FDE047;box-shadow:0 0 7px rgba(253,224,71,0.95);
}
.lb-req-tag.is-done{
  padding:3px 7px;color:#A7F3D0;
  background:linear-gradient(135deg,rgba(16,185,129,0.26),rgba(5,150,105,0.16));
  box-shadow:inset 0 0 0 0.7px rgba(110,231,183,0.54),0 4px 12px -5px rgba(16,185,129,0.42);
}
.lb-req-tag.is-done svg{width:11px;height:11px;fill:none;stroke:#A7F3D0;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;display:block;}
/* Незаполненный обязательный блок в «Новом наборе» — чистое дымчатое стекло с мягким золотым отблеском на грани */
.lb-page .lg-card.lb-req-miss{
  background:radial-gradient(88% 72% at 100% 0%,rgba(251,191,36,0.13) 0%,transparent 62%),linear-gradient(168deg,rgba(14,22,56,0.48) 0%,rgba(8,14,40,0.58) 100%)!important;
  box-shadow:0 16px 34px -16px rgba(4,8,28,0.58),inset 0 0.7px 1px rgba(254,249,195,0.42),inset 0 -1.5px 4px -1px rgba(255,255,255,0.14)!important;
}
.lb-page .lg-card.lb-req-miss::before{
  background:conic-gradient(from 0deg,rgba(253,224,71,0.72) 0deg,rgba(255,255,255,0.34) 56deg,rgba(186,230,253,0.24) 96deg,rgba(255,255,255,0.30) 142deg,rgba(253,224,71,0.58) 184deg,rgba(255,255,255,0.28) 232deg,rgba(186,230,253,0.22) 274deg,rgba(255,255,255,0.34) 316deg,rgba(253,224,71,0.72) 360deg)!important;
}
.lb-page .lb-req-miss.ml-need-pulse,.lb-page .lb-fld-miss.ml-need-pulse,.lb-page .lb-need-note.ml-need-pulse{
  animation:mlReqSpotlight 1.25s ease;
}
.lb-fld-miss{
  padding:10px 11px;border-radius:14px;
  background:linear-gradient(135deg,rgba(251,191,36,0.12) 0%,rgba(14,22,56,0.36) 100%);
  box-shadow:inset 2.5px 0 0 #FBBF24,inset 0 0 0 0.75px rgba(253,224,71,0.44);
}
.lb-fld-miss .lbc-lbl,.lb-fld-miss label{color:#FEF08A!important;}
/* Игровая квест-подсказка готовности набора (Liquid Glass) */
.lbc-quest-card{
  position:relative;margin-top:12px;padding:12px 13px;border-radius:18px;overflow:hidden;
  background:linear-gradient(160deg,rgba(18,30,74,0.52) 0%,rgba(10,16,44,0.62) 100%);
  backdrop-filter:blur(12px) saturate(1.14);-webkit-backdrop-filter:blur(12px) saturate(1.14);
  box-shadow:0 14px 30px -14px rgba(4,8,28,0.56),inset 0 0 0 0.75px rgba(253,224,71,0.36),inset 0 0.8px 1px rgba(255,255,255,0.34);
}
.lbc-q-top{display:flex;align-items:center;gap:8px;margin-bottom:9px;}
.lbc-q-ic{
  width:26px;height:26px;border-radius:9px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;color:#FEF08A;
  background:linear-gradient(135deg,rgba(251,191,36,0.26),rgba(56,189,248,0.16));
  box-shadow:inset 0 0 0 0.65px rgba(253,224,71,0.48);
}
.lbc-q-tx{flex:1;min-width:0;font-size:12px;line-height:1.35;font-weight:600;color:rgba(240,248,255,0.92);}
.lbc-q-cnt{
  flex-shrink:0;padding:2.5px 8px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;font-weight:800;color:#FEF08A;
  background:rgba(251,191,36,0.16);box-shadow:inset 0 0 0 0.65px rgba(253,224,71,0.42);
}
.lbc-q-bar{
  height:5px;border-radius:999px;overflow:hidden;margin-bottom:9px;
  background:rgba(255,255,255,0.10);
}
.lbc-q-fill{
  height:100%;border-radius:999px;min-width:6%;
  background:linear-gradient(90deg,#38BDF8 0%,#FBBF24 58%,#34D399 100%);
  box-shadow:0 0 10px rgba(56,189,248,0.55);
  transition:width .25s ease;
}
.lbc-q-chips{display:flex;flex-wrap:wrap;gap:6px;}
.lbc-q-chip{
  display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;border:0;cursor:pointer;
  font-family:var(--body);font-size:11px;font-weight:700;
  transition:transform .12s ease,background .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.lbc-q-chip:active{transform:scale(0.95);}
.lbc-q-chip.is-todo{
  color:#FEF08A;
  background:rgba(251,191,36,0.14);
  box-shadow:inset 0 0 0 0.65px rgba(253,224,71,0.44);
}
.lbc-q-chip.is-todo i{
  width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:#FDE047;box-shadow:0 0 7px rgba(253,224,71,0.92);
}
.lbc-q-chip.is-ok{
  color:#A7F3D0;
  background:rgba(16,185,129,0.18);
  box-shadow:inset 0 0 0 0.65px rgba(110,231,183,0.44);
}
.lbc-q-chip.is-ok svg{width:11px;height:11px;fill:none;stroke:#6EE7B7;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}
.btn-launch.is-incomplete{opacity:0.78;}

/* Кнопка отключения совместного набора прямо в черновике */
.lcl-wrap{display:flex;flex-direction:column;gap:6px;margin:10px 0 12px;}
.lcl-wrap .lb-card-link{margin:0;}
.lcl-off-btn{
  width:100%;height:34px;border:0;border-radius:12px;cursor:pointer;
  font-family:var(--display);font-size:11.5px;font-weight:700;color:#FFE4E6;
  background:rgba(244,63,94,0.18);box-shadow:inset 0 0 0 0.65px rgba(253,164,175,0.42);
  transition:transform .12s ease,background .15s ease;
}
.lcl-off-btn:active{transform:scale(0.98);background:rgba(244,63,94,0.30);}

/* Особое оформление карточек розыгрышей из «Совместных розыгрышей» в «Моих розыгрышах»:
   парящий эффект + мягкий дымчатый неоновый фон сзади + плашка происхождения снизу */
.gv.is-from-lobby{
  position:relative;overflow:hidden;
  transform:translateY(-1px);
  box-shadow:
    0 22px 44px -12px rgba(124,58,237,0.52),
    0 8px 20px -6px rgba(14,165,233,0.34),
    inset 0 0.7px 1px rgba(255,255,255,0.52),
    inset 0 -2.4px 7px -1px rgba(192,132,252,0.38)!important;
}
.gv.is-from-lobby::before{
  background:conic-gradient(from 0deg,rgba(233,213,255,0.82) 0deg,rgba(168,85,247,0.54) 50deg,rgba(56,189,248,0.52) 115deg,rgba(255,255,255,0.68) 180deg,rgba(56,189,248,0.52) 245deg,rgba(168,85,247,0.54) 310deg,rgba(233,213,255,0.82) 360deg)!important;
}
.gv.is-from-lobby .gv-lb-smoke{
  position:absolute;inset:-24%;z-index:0;pointer-events:none;
  background:
    radial-gradient(60% 60% at 22% 76%,rgba(168,85,247,0.44) 0%,rgba(168,85,247,0.12) 48%,transparent 76%),
    radial-gradient(56% 56% at 84% 24%,rgba(56,189,248,0.40) 0%,rgba(99,102,241,0.12) 50%,transparent 78%),
    radial-gradient(52% 48% at 54% 92%,rgba(236,72,153,0.26) 0%,transparent 72%);
  filter:blur(14px);opacity:0.86;
  animation:gvSmokeDrift 9s ease-in-out infinite alternate;
  will-change:transform,opacity;
}
@keyframes gvSmokeDrift{
  from{transform:translate3d(-4%,2%,0) scale(1.0);opacity:0.78;}
  to{transform:translate3d(4%,-3%,0) scale(1.07);opacity:0.96;}
}
.gv-lb-foot{
  display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:3px 9px;border-radius:999px;
  font-family:var(--mono);font-size:9.5px;font-weight:800;letter-spacing:0.04em;color:#F5D0FE;
  background:linear-gradient(135deg,rgba(168,85,247,0.34),rgba(56,189,248,0.26));
  box-shadow:inset 0 0 0 0.65px rgba(233,213,255,0.48),0 4px 12px -4px rgba(124,58,237,0.55);
}
.gv-lb-foot svg{stroke:#E0F2FE;flex-shrink:0;}
.gv-lb-foot b{color:#FFFFFF;margin-left:2px;}

/* Блёклый копирайт внизу главного меню + адаптивные размеры под любую высоту экрана (от компактного мобильного до высокого десктопа) */
.hub-copy{
  flex-shrink:0;margin:clamp(4px,0.7dvh,8px) 0 0;text-align:center;
  font-family:var(--body);font-size:10.5px;font-weight:500;letter-spacing:0.015em;
  color:rgba(224,242,254,0.48);
  user-select:none;
}
.hub-copy-a{
  color:inherit!important;text-decoration:none!important;display:inline-block;
  padding:5px 10px;border-radius:10px;cursor:pointer;
  transition:color .16s ease,background .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.hub-copy-a:hover,.hub-copy-a:active{color:rgba(224,242,254,0.92)!important;background:rgba(255,255,255,0.06);}
#app{flex:1 0 auto;display:flex;flex-direction:column;width:100%;min-height:0;}
.hub-copy.is-page{
  position:relative;z-index:2;flex-shrink:0;margin:auto 0 0;
  padding:12px 0 2px;
}
.bento.lg-bento .tile .ic{
  width:clamp(29px,4.5dvh,44px);height:clamp(29px,4.5dvh,44px);border-radius:clamp(10px,1.4dvh,14px);margin-bottom:2px;
}
.bento.lg-bento .tile .ic svg{width:clamp(15px,2.35dvh,22px);height:clamp(15px,2.35dvh,22px);}
.bento.lg-bento .tile.a-cr .ic{width:clamp(33px,5.0dvh,48px);height:clamp(33px,5.0dvh,48px);border-radius:clamp(11px,1.6dvh,15px);margin-bottom:0;}
.bento.lg-bento .tile h3{font-size:clamp(13.5px,1.8dvh,16px);}
.bento.lg-bento .tile.a-cr h3{font-size:clamp(15.5px,2.05dvh,18.5px);}
.bento.lg-bento .tile.a-my h3{font-size:clamp(12.5px,1.65dvh,15px);}
.bento.lg-bento .tile.a-lb h3{font-size:clamp(13px,1.72dvh,15.5px);}
.lg-brand-mk,.lg-hub-ava{width:clamp(34px,4.8dvh,44px);height:clamp(34px,4.8dvh,44px);}


/* ============================================================================
   КЛИКАБЕЛЬНЫЕ ПУБЛИЧНЫЕ ПРОФИЛИ, КНОПКА СВЯЗИ И ФИЛЬТР ДОСТУПА ЛОББИ
   ============================================================================ */
.mp-rep-send.is-save{
  background:linear-gradient(135deg,#2563EB,#0EA5E9);
  box-shadow:0 8px 20px -6px rgba(14,165,233,0.62),inset 0 0.8px 1px rgba(255,255,255,0.58);
}
.prof-page .prof-contact-card.plat-tg{
  background:radial-gradient(88% 120% at 0% 0%,rgba(42,171,238,0.22) 0%,transparent 62%),linear-gradient(155deg,rgba(255,255,255,0.12),rgba(12,24,72,0.24));
}
.prof-page .prof-contact-card.plat-max{
  background:radial-gradient(88% 120% at 0% 0%,rgba(99,102,241,0.24) 0%,transparent 62%),linear-gradient(155deg,rgba(255,255,255,0.12),rgba(12,24,72,0.24));
}
.prof-page .prof-contact-row{
  border-bottom:none!important;padding:13px 14px;align-items:center;gap:11px;
}
.prof-ct-badge{
  width:38px;height:38px;border-radius:12px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  color:#FFFFFF;
  background:linear-gradient(155deg,rgba(255,255,255,0.18),rgba(255,255,255,0.06));
  box-shadow:0 8px 18px -8px rgba(4,8,30,0.48),inset 0 0.8px 1px rgba(255,255,255,0.52),inset 0 0 0 0.65px rgba(255,255,255,0.26);
}
.prof-ct-badge svg{width:19px;height:19px;display:block;}
.prof-ct-badge.plat-tg{
  background:linear-gradient(135deg,#38BDF8 0%,#2AABEE 52%,#0284C7 100%);
  box-shadow:0 8px 20px -6px rgba(42,171,238,0.74),inset 0 0.9px 1.1px rgba(255,255,255,0.76),inset 0 0 0 0.65px rgba(186,230,253,0.62);
}
.prof-ct-badge.plat-max{
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 56%,#7C3AED 100%);
  box-shadow:0 8px 20px -6px rgba(99,102,241,0.74),inset 0 0.9px 1.1px rgba(255,255,255,0.76),inset 0 0 0 0.65px rgba(199,210,254,0.62);
}
.prof-ct-badge.plat-tg svg,
.prof-ct-badge.plat-max svg{
  width:20px;height:20px;color:#FFFFFF;fill:currentColor;stroke:none;
  filter:drop-shadow(0 1px 4px rgba(6,16,52,0.34));
}
.prof-page .prof-contact-row .lbl{flex:1;min-width:0;}
.prof-page .prof-contact-row .lbl .t{color:#FFFFFF;text-shadow:0 1px 6px rgba(6,12,42,0.35);}
.prof-ct-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.prof-ct-pill{
  display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;
  font-family:var(--display);font-size:9.5px;font-weight:800;letter-spacing:0.02em;line-height:1.15;color:#FFFFFF;
}
.prof-ct-pill.plat-tg{
  background:linear-gradient(135deg,rgba(56,189,248,0.88),rgba(2,132,199,0.92));
  box-shadow:inset 0 0.6px 0.8px rgba(255,255,255,0.66),0 4px 10px -4px rgba(14,165,233,0.65);
}
.prof-ct-pill.plat-max{
  background:linear-gradient(135deg,rgba(56,189,248,0.86),rgba(79,70,229,0.92) 56%,rgba(124,58,237,0.90));
  box-shadow:inset 0 0.6px 0.8px rgba(255,255,255,0.66),0 4px 10px -4px rgba(99,102,241,0.65);
}
.prof-page .prof-contact-row .lbl .s{
  color:rgba(240,248,255,0.78);font-family:var(--body);font-size:11.5px;margin-top:3px;
  line-height:1.35;word-break:break-word;overflow-wrap:anywhere;
}
.prof-page .prof-contact-btn{
  flex-shrink:0;width:auto!important;height:33px;padding:0 12px;border-radius:11px;
  font-size:11.5px;white-space:nowrap;
}
.prof-ct-live{display:none;margin:10px 0 2px;}
.prof-ct-live.on{display:block;}
.prof-ct-live .uprof-contact-btn.is-preview{
  margin-top:0;height:40px;font-size:12.5px;pointer-events:none;
}
.lb-filters-access{margin-top:-4px;margin-bottom:10px;}
.lb-host-bar.is-click{
  cursor:pointer;transition:transform .13s ease,background .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.lb-host-bar.is-click:active{
  transform:scale(0.985);background:rgba(255,255,255,0.12);
}
.lb-host-go{
  font-size:20px;font-weight:700;color:rgba(224,242,254,0.72);flex-shrink:0;padding-left:4px;
}
.lb-m-prof{
  width:30px;height:30px;border-radius:10px;border:0;padding:0;flex-shrink:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.24);
  color:rgba(232,244,255,0.88);
  transition:transform .12s ease,background .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.lb-m-prof svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.lb-m-prof:active{transform:scale(0.90);background:rgba(56,189,248,0.28);}

/* Кликабельная плашка автора на Бирже рекламы */
.mp-author-pill{
  display:inline-flex;align-items:center;gap:7px;max-width:100%;
  margin:2px 0 8px;padding:4px 10px 4px 5px;border:0;border-radius:999px;cursor:pointer;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.24);
  color:#FFFFFF;font-family:var(--body);font-size:12px;font-weight:700;
  transition:transform .12s ease,background .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.mp-author-pill:active{transform:scale(0.96);background:rgba(255,255,255,0.18);}
.mp-ap-av{
  width:22px;height:22px;border-radius:50%;flex-shrink:0;
  background-size:cover;background-position:center;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:10px;font-weight:800;color:#FFFFFF;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.42);
}
.mp-ap-av.ph{background:linear-gradient(135deg,rgba(168,85,247,0.75),rgba(56,189,248,0.72));}
.mp-ap-nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px;}
.mp-ap-ver{
  width:16px;height:16px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
}
.mp-ap-ver svg{width:16px;height:16px;display:block;}
.top-list.mp-grid2 .mp-ap-ver,.top-list.mp-grid2 .mp-ap-ver svg{width:13.5px;height:13.5px;}
.mp-ap-go{font-size:14px;color:rgba(224,242,254,0.70);line-height:1;}
.top-list.mp-grid2 .mp-author-pill{padding:3px 7px 3px 4px;font-size:10.5px;gap:5px;}
.top-list.mp-grid2 .mp-ap-av{width:18px;height:18px;font-size:9px;}
/* Полноширинная шапка автора в карточке Биржи (в стиле поста/сообщения от человека) */
.mp-sender-bar{
  width:100%;display:flex;align-items:center;gap:8px;
  margin:0 0 10px;padding:0 0 9px;border:0;border-bottom:1px solid rgba(255,255,255,0.12);
  background:none;cursor:pointer;text-decoration:none;text-align:left;
  color:#FFFFFF;font-family:var(--body);font-size:13px;font-weight:700;
  transition:opacity .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.mp-sender-bar:active{opacity:0.72;}
.mp-sender-bar .mp-ap-av{width:26px;height:26px;font-size:11px;}
.mp-sb-name{
  display:inline-flex;align-items:center;gap:5px;flex:1 1 auto;min-width:0;
}
.mp-sender-bar .mp-ap-nm{max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.mp-sender-bar .mp-ap-go{
  flex:0 0 auto;margin-inline-start:auto;font-size:16px;line-height:1;color:rgba(224,242,254,0.56);
}
.top-list.mp-grid2 .mp-sender-bar{
  gap:6px;margin:0 0 7px;padding:0 0 7px;font-size:11.5px;
}
.top-list.mp-grid2 .mp-sender-bar .mp-ap-av{width:22px;height:22px;font-size:9.5px;}
.top-list.mp-grid2 .mp-sender-bar .mp-ap-go{font-size:14px;}

/* Экран публичного профиля пользователя (screenUserProfile) */
.uprof-page{position:relative;z-index:2;padding-bottom:28px;}
.uprof-hero{display:flex;flex-direction:column;align-items:center;text-align:center;}
.uprof-rk-pill{
  display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:5px 12px;border-radius:999px;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.30),0 6px 16px -6px rgba(4,8,30,0.44);
}
.uprof-rk-ic{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;}
.uprof-rk-ic svg{width:16px;height:16px;}
.uprof-contact-btn{
  position:relative;overflow:hidden;
  margin-top:14px;width:100%;height:46px;border:0;border-radius:16px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--display);font-size:13.5px;font-weight:800;letter-spacing:-0.01em;color:#FFFFFF;
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 56%,#6366F1 100%);
  box-shadow:0 12px 26px -8px rgba(37,99,235,0.68),inset 0 0.9px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.7px rgba(255,255,255,0.28);
  text-shadow:0 1px 6px rgba(6,16,52,0.34);
  transition:transform .13s ease,filter .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.uprof-contact-btn::after{
  content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(180deg,rgba(255,255,255,0.24) 0%,rgba(255,255,255,0.04) 44%,transparent 60%);
}
.uprof-contact-btn>*{position:relative;z-index:1;}
.uprof-contact-btn > svg{width:17px;height:17px;fill:none;stroke:#FFFFFF;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}
.uprof-contact-btn .uprof-ct-ic{
  width:24px;height:24px;border-radius:8px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.18);
  box-shadow:inset 0 0.7px 0.9px rgba(255,255,255,0.52);
}
.uprof-contact-btn .uprof-ct-ic svg{
  width:15px;height:15px;color:#FFFFFF;fill:currentColor;stroke:none;display:block;
  filter:drop-shadow(0 1px 3px rgba(6,16,52,0.30));
}
.uprof-contact-btn.plat-tg{
  background:linear-gradient(135deg,#38BDF8 0%,#2AABEE 50%,#0284C7 100%);
  box-shadow:0 12px 28px -8px rgba(42,171,238,0.74),inset 0 0.95px 1.2px rgba(255,255,255,0.78),inset 0 0 0 0.7px rgba(186,230,253,0.56);
}
.uprof-contact-btn.plat-max{
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 54%,#7C3AED 100%);
  box-shadow:0 12px 28px -8px rgba(99,102,241,0.74),inset 0 0.95px 1.2px rgba(255,255,255,0.78),inset 0 0 0 0.7px rgba(199,210,254,0.56);
}
.uprof-contact-btn:active{transform:scale(0.97);filter:brightness(1.08);}
.uprof-no-contact{
  margin-top:12px;padding:8px 14px;border-radius:12px;
  font-size:12px;color:rgba(224,242,254,0.70);
  background:rgba(255,255,255,0.07);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.16);
}
.uprof-list{padding:6px 12px;margin-bottom:12px;}
.uprof-row{
  display:flex;align-items:center;gap:10px;width:100%;padding:10px 0;border:0;background:transparent;
  border-bottom:1px solid rgba(255,255,255,0.10);text-align:left;color:#FFFFFF;cursor:pointer;
  transition:opacity .14s ease,transform .12s ease;
}
.uprof-row:last-child{border-bottom:0;}
.uprof-row:active{opacity:0.84;transform:scale(0.99);}
.uprof-ric{
  width:36px;height:36px;border-radius:11px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(168,85,247,0.34),rgba(56,189,248,0.28));
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.30);
}
.uprof-ric svg{width:18px;height:18px;fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.uprof-rtx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.uprof-rtx b{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.uprof-rtx small{font-size:11.5px;color:rgba(224,242,254,0.78);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}


/* Единая лаконичная Liquid Glass панель фильтров лобби (1-в-1 с .top-plat-bar и .seg в Топе и Моих розыгрышах) */
.lb-flt-bar{
  position:relative;z-index:2;display:flex;align-items:center;gap:3px;
  padding:3px;margin:0 0 11px;border:0;border-radius:999px;
  background:linear-gradient(180deg,rgba(255,255,255,0.10) 0%,rgba(12,24,72,0.22) 100%);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.44),inset 0 0 0 0.7px rgba(255,255,255,0.28),inset 0 0.7px 0.9px rgba(255,255,255,0.38);
}
.lb-flt-bar::before{display:none!important;}
.lb-flt-segs{
  flex:1;min-width:0;display:flex;align-items:center;gap:3px;
}
.lb-flt-seg{
  flex:1 1 auto;height:28px;padding:0 8px;border:0;border-radius:999px;background:transparent;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:0;
  font-family:var(--body);font-size:11px;font-weight:700;letter-spacing:-0.01em;color:rgba(240,248,255,0.88);
  white-space:nowrap;
  transition:background .16s ease,color .16s ease,box-shadow .16s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.lb-flt-seg:active{transform:scale(0.96);}
.lb-flt-seg.cur{
  color:#FFFFFF;font-weight:800;text-shadow:0 1px 6px rgba(6,24,68,0.52);
  background:linear-gradient(135deg,rgba(56,189,248,0.88) 0%,rgba(37,99,235,0.92) 56%,rgba(79,70,229,0.86) 100%);
  box-shadow:0 5px 14px -4px rgba(56,189,248,0.62),inset 0 0.85px 1px rgba(255,255,255,0.82);
}
.lb-flt-div{
  width:1px;height:16px;flex-shrink:0;background:rgba(255,255,255,0.20);margin:0 1px;
}
.lb-flt-trg{
  position:relative;width:28px;height:28px;border:0;border-radius:999px;flex-shrink:0;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:transparent;color:rgba(240,248,255,0.90);
  transition:transform .12s ease,background .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.lb-flt-trg svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;}
.lb-flt-trg:active{transform:scale(0.92);}
.lb-flt-trg.has-flt{
  color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.88) 0%,rgba(37,99,235,0.92) 56%,rgba(79,70,229,0.86) 100%);
  box-shadow:0 5px 14px -4px rgba(56,189,248,0.62),inset 0 0.85px 1px rgba(255,255,255,0.82);
}
.lb-flt-cnt{
  position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:9.5px;font-weight:900;color:#0F172A;
  background:#E0F2FE;box-shadow:0 2px 8px rgba(14,165,233,0.65);
}
.lb-af-row{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:-4px 0 11px;
}
.lb-af-tag{
  display:inline-flex;align-items:center;gap:5px;height:27px;padding:0 10px;border:0;border-radius:999px;cursor:pointer;
  font-family:var(--body);font-size:11.5px;font-weight:700;color:#FFFFFF;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.34);
  transition:transform .12s ease;
}
.lb-af-tag.is-fee{
  background:linear-gradient(135deg,rgba(16,185,129,0.34),rgba(5,150,105,0.24));
  box-shadow:inset 0 0 0 0.65px rgba(110,231,183,0.58);
}
.lb-af-tag i{font-style:normal;opacity:0.76;font-size:13px;line-height:1;}
.lb-af-tag:active{transform:scale(0.95);}
.lb-af-reset{
  margin-inline-start:auto;border:0;background:transparent;cursor:pointer;padding:4px 6px;
  font-family:var(--body);font-size:11.5px;font-weight:700;color:rgba(224,242,254,0.78);
}
/* Стеклянный лист фильтров совместных розыгрышей */
.lb-flt-sheet{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));}
.lb-fs-lbl{
  font-family:var(--mono);font-size:10px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;
  color:rgba(224,242,254,0.74);margin:10px 0 8px;
}
.lb-fs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:6px;}
.lb-fs-row3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;}
.lb-fs-opt{
  min-height:38px;padding:8px 10px;border:0.8px solid rgba(255,255,255,0.16);border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;text-align:center;
  font-family:var(--body);font-size:12.5px;font-weight:700;color:rgba(240,248,255,0.90);
  background:rgba(255,255,255,0.05);
  transition:transform .12s ease,background .15s ease,border-color .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.lb-fs-opt:active{transform:scale(0.97);}
.lb-fs-opt.cur{
  color:#FFFFFF;font-weight:800;
  border-color:rgba(125,211,252,0.62);
  background:linear-gradient(135deg,rgba(56,189,248,0.34),rgba(79,70,229,0.38));
}
.lb-fs-opt.is-fee.cur{
  border-color:rgba(110,231,183,0.68);
  background:linear-gradient(135deg,rgba(16,185,129,0.42),rgba(5,150,105,0.38));
}
body.is-eco .lb-flt-bar{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:rgba(36,56,128,0.72)!important;
}

/* ============================================================================
   МИНИМАЛИСТИЧНАЯ ФОРМА «НОВЫЙ НАБОР» (.lbc-*) — чистое тёмно-тонированное стекло
   без мыльного дабл-блюра и без жирных пересвеченных кнопок
   ============================================================================ */
.lbc-page .glabel{
  margin:14px 4px 7px;font-size:10px;letter-spacing:0.12em;
  color:rgba(224,242,254,0.82);
}
.lb-page .lg-card.lbc-card{
  padding:13px;border-radius:20px;margin-bottom:4px;
  display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(168deg,rgba(14,22,56,0.44) 0%,rgba(8,14,40,0.54) 100%)!important;
  backdrop-filter:blur(12px) saturate(1.12)!important;-webkit-backdrop-filter:blur(12px) saturate(1.12)!important;
  box-shadow:0 16px 34px -16px rgba(4,8,28,0.58),inset 0 0.65px 1px rgba(255,255,255,0.34),inset 0 -1.5px 4px -1px rgba(255,255,255,0.14)!important;
}
.lb-page .lg-card.lbc-card.lbc-stack{padding:0;gap:0;}
.lbc-item{
  padding:12px 13px;display:flex;flex-direction:column;gap:8px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.lbc-item:last-child{border-bottom:none;}
.lbc-ih{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.lbc-lbl{
  font-family:var(--body);font-size:12px;font-weight:700;color:rgba(240,248,255,0.88);
  letter-spacing:-0.005em;
}
.lbc-val{
  font-family:var(--mono);font-size:11px;font-weight:700;color:rgba(186,230,253,0.92);
}
.lbc-hint{
  font-size:11.5px;line-height:1.42;color:rgba(224,242,254,0.72);
}
.lbc-empty{font-size:12px;line-height:1.45;color:rgba(224,242,254,0.74);padding:2px 0;}
.lbc-empty-box{display:flex;flex-direction:column;gap:9px;font-size:12px;color:rgba(224,242,254,0.80);}

/* Радио-индикатор и строки выбора черновика / канала */
.lbc-radio{
  width:18px;height:18px;border-radius:50%;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  border:1.3px solid rgba(255,255,255,0.30);background:rgba(4,9,28,0.36);
  transition:background .15s ease,border-color .15s ease;
}
.lbc-radio.on{
  border-color:rgba(125,211,252,0.92);
  background:linear-gradient(135deg,#38BDF8,#2563EB);
  box-shadow:0 0 10px -2px rgba(56,189,248,0.68);
}
.lbc-radio svg{width:11px;height:11px;fill:none;stroke:#FFFFFF;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;}

.lbc-dr-list,.lbc-ch-list{display:flex;flex-direction:column;gap:7px;}
.lbc-dr-row,.lbc-ch-row{
  width:100%;box-sizing:border-box;display:flex;align-items:center;gap:10px;
  padding:9px 10px;border-radius:14px;border:1px solid rgba(255,255,255,0.09);
  background:rgba(4,9,28,0.36);color:#FFFFFF;text-align:left;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.lbc-dr-row:active,.lbc-ch-row:active{transform:scale(0.985);}
.lbc-dr-row.cur,.lbc-ch-row.cur{
  background:rgba(255,255,255,0.12);border-color:rgba(186,230,253,0.44);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.22);
}
.lbc-dr-row.is-busy{opacity:0.50;cursor:not-allowed;}
.lbc-dr-av,.lbc-ch-av{
  width:34px;height:34px;border-radius:10px;flex-shrink:0;object-fit:cover;
  background-size:cover;background-position:center;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  border:1px solid rgba(255,255,255,0.16);
}
.lbc-ch-av{border-radius:50%;}
.lbc-dr-av.ph,.lbc-ch-av.ph{
  background:linear-gradient(155deg,rgba(255,255,255,0.16),rgba(186,230,253,0.06));
  box-shadow:inset 0 0.7px 0.9px rgba(255,255,255,0.42),inset 0 0 0 0.65px rgba(255,255,255,0.18);
  border:0;
}
.lbc-dr-row.cur .lbc-dr-av.ph,.lbc-ch-row.cur .lbc-ch-av.ph{
  background:linear-gradient(135deg,rgba(56,189,248,0.28),rgba(255,255,255,0.12));
  box-shadow:inset 0 0.7px 0.9px rgba(255,255,255,0.56),inset 0 0 0 0.65px rgba(186,230,253,0.42);
}
.lbc-dr-av.ph svg{width:16px;height:16px;fill:none;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.lbc-dr-tx,.lbc-ch-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lbc-dr-nm{display:flex;align-items:center;gap:6px;min-width:0;}
.lbc-dr-nm b,.lbc-ch-tx b{
  font-family:var(--display);font-size:12.5px;font-weight:700;color:#FFFFFF;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.lbc-ch-tx small{font-family:var(--mono);font-size:10.5px;color:rgba(224,242,254,0.72);}
.lbc-bound-tag{
  flex-shrink:0;padding:1.5px 6px;border-radius:999px;
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.02em;
  color:#A7F3D0;background:rgba(16,185,129,0.20);border:1px solid rgba(110,231,183,0.34);
}
.lbc-dr-st{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:rgba(224,242,254,0.72);}
.lbc-dr-st i{width:6px;height:6px;border-radius:50%;flex-shrink:0;background:rgba(224,242,254,0.45);}
.lbc-dr-st.is-ok i{background:#34D399;}
.lbc-dr-st.is-warn i{background:#FBBF24;}
.lbc-dr-ed{
  flex-shrink:0;width:30px;height:30px;border-radius:10px;border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);color:rgba(240,248,255,0.88);
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .15s ease,transform .12s ease;
}
.lbc-dr-ed svg{width:13.5px;height:13.5px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.lbc-dr-ed:active{transform:scale(0.92);background:rgba(255,255,255,0.14);}

.lbc-add-btn{
  width:100%;height:38px;border-radius:12px;border:1px dashed rgba(255,255,255,0.24);
  background:rgba(255,255,255,0.04);color:rgba(240,248,255,0.92);
  display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;
  font-family:var(--display);font-size:12px;font-weight:700;
  transition:background .15s ease,transform .12s ease;
}
.lbc-add-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.lbc-add-btn:active{transform:scale(0.98);background:rgba(255,255,255,0.10);}

/* Минималистичные сегмент-контролы (таймер 1-48ч, подписчики, призы, вход) */
.lbc-seg-track{
  display:grid;gap:4px;padding:3px;border-radius:13px;
  background:rgba(4,9,28,0.44);border:1px solid rgba(255,255,255,0.09);
}
.lbc-seg-6{grid-template-columns:repeat(6,minmax(0,1fr));}
.lbc-seg-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.lbc-seg-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.lbc-seg{
  min-height:31px;padding:0 4px;border:0;border-radius:10px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  background:transparent;color:rgba(224,242,254,0.74);
  font-family:var(--body);font-size:11.5px;font-weight:700;letter-spacing:-0.01em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:background .14s ease,color .14s ease,box-shadow .14s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.lbc-seg:active{transform:scale(0.96);}
.lbc-seg.cur{
  color:#FFFFFF;font-weight:800;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.34),0 4px 12px -6px rgba(4,8,28,0.52);
}
.lbc-seg.is-fee.cur{
  color:#ECFDF5;
  background:rgba(16,185,129,0.28);
  box-shadow:inset 0 0 0 0.75px rgba(110,231,183,0.48),0 4px 12px -6px rgba(5,150,105,0.48);
}

/* Минималистичные степперы От/До */
.lbc-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.lbc-step-box{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 4px 4px 10px;border-radius:12px;background:rgba(4,9,28,0.42);border:1px solid rgba(255,255,255,0.09);}
.lbc-step-box em{font-style:normal;font-family:var(--body);font-size:11.5px;font-weight:600;color:rgba(224,242,254,0.68);}
.lbc-stepper{display:flex;align-items:center;gap:6px;}
.lbc-stepper button{
  width:28px;height:28px;border:1px solid rgba(255,255,255,0.12);border-radius:8px;
  background:rgba(255,255,255,0.08);color:#FFFFFF;font-size:15px;font-weight:700;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
}
.lbc-stepper button:active{transform:scale(0.92);background:rgba(255,255,255,0.16);}
.lbc-stepper b{min-width:20px;text-align:center;font-family:var(--mono);font-size:13.5px;font-weight:800;color:#FFFFFF;}

/* Поля ввода, тумблер и тонкие теги */
.lbc-row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;}
.lbc-in,.lbc-ta{
  width:100%;box-sizing:border-box;padding:9px 11px;border-radius:11px;
  border:1px solid rgba(255,255,255,0.11);background:rgba(4,9,28,0.42);color:#FFFFFF;
  font-family:var(--body);font-size:13px;outline:none;
  transition:border-color .15s ease,background .15s ease;
}
.lbc-in:focus,.lbc-ta:focus{border-color:rgba(125,211,252,0.52);background:rgba(6,13,38,0.56);}
.lbc-in.is-err{border-color:rgba(251,113,133,0.72);}
.lbc-in::placeholder,.lbc-ta::placeholder{color:rgba(224,242,254,0.44);}
.lbc-ta{min-height:68px;resize:vertical;line-height:1.45;}

.lbc-tg-item{flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;}
.lbc-tg-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lbc-tg-tx b{font-family:var(--body);font-size:12.5px;font-weight:700;color:#FFFFFF;}
.lbc-tg-tx small{font-size:11px;color:rgba(224,242,254,0.68);line-height:1.35;}
.lbc-tg-item .tg{
  position:relative;flex-shrink:0;width:44px;height:26px;border-radius:999px;
  background:rgba(255,255,255,0.18);transition:background .2s ease;
}
.lbc-tg-item .tg.on{background:linear-gradient(180deg,#0A84FF,#007AFF);}
.lbc-tg-item .tg::after{
  content:'';position:absolute;top:2.5px;left:2.5px;width:21px;height:21px;border-radius:50%;
  background:#FFFFFF;box-shadow:0 2px 5px rgba(0,0,0,0.32);transition:transform .2s ease;
}
.lbc-tg-item .tg.on::after{transform:translateX(18px);}

.lbc-tags{display:flex;flex-wrap:wrap;gap:6px;}
.lbc-tag{
  height:27px;padding:0 10px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(255,255,255,0.12);background:rgba(4,9,28,0.34);
  color:rgba(224,242,254,0.78);font-family:var(--body);font-size:11px;font-weight:600;
  transition:background .14s ease,border-color .14s ease,color .14s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.lbc-tag:active{transform:scale(0.95);}
.lbc-tag.cur{
  color:#FFFFFF;font-weight:700;
  background:rgba(255,255,255,0.16);border-color:rgba(186,230,253,0.48);
}

/* Шторка быстрого создания и привязки черновика + бейдж возврата в редакторе */
.lbc-qd-sheet{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px));}
.lbc-qd-sub{margin:4px 0 12px;font-size:12.5px;line-height:1.45;color:rgba(224,242,254,0.78);}
.lbc-qd-acts{display:flex;flex-direction:column;gap:8px;margin-top:12px;}
.lbc-qd-pri{
  width:100%;height:44px;border:0;border-radius:13px;cursor:pointer;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 100%);
  box-shadow:0 10px 22px -8px rgba(37,99,235,0.62),inset 0 1px 0 rgba(255,255,255,0.34);
}
.lbc-qd-sec{
  width:100%;height:40px;border-radius:13px;cursor:pointer;
  border:1px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.07);
  font-family:var(--body);font-size:12.5px;font-weight:700;color:#FFFFFF;
}
.lbc-qd-cancel{
  width:100%;height:36px;margin-top:6px;border:0;background:transparent;cursor:pointer;
  font-family:var(--body);font-size:12.5px;font-weight:600;color:rgba(224,242,254,0.68);
}
.lcl-back-pill{
  flex-shrink:0;padding:6px 10px;border-radius:999px;
  font-family:var(--display);font-size:10.5px;font-weight:800;color:#FFFFFF;
  background:rgba(56,189,248,0.28);border:1px solid rgba(186,230,253,0.48);
}
body.is-eco .lb-page .lg-card.lbc-card{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:rgba(24,38,94,0.88)!important;
}

/* ============================================================================
   Внутренняя валюта «Короны», Кошелёк и единый платёжный контейнер Apple Pay
   ============================================================================ */
.cr-ico{
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  vertical-align:middle;line-height:1;
}
.cr-ico svg{
  width:100%!important;height:100%!important;display:block;overflow:visible;
  stroke:none;stroke-width:0;fill:none;
  filter:drop-shadow(0 0 6px rgba(250,204,21,0.44)) drop-shadow(0 0 10px rgba(236,72,153,0.28));
}
.cr-amt{
  display:inline-flex;align-items:center;gap:4px;vertical-align:middle;line-height:1;
}
.cr-amt b{font-weight:800;font-variant-numeric:tabular-nums;}

/* Пилюля баланса Корон в верхней шапке Главного меню */
.hub-crown-pill{
  height:36px;padding:0 5px 0 8px;border:0;border-radius:999px;cursor:pointer;
  display:inline-flex;align-items:center;gap:6px;color:#FFFFFF;
  background:linear-gradient(155deg,rgba(250,204,21,0.20) 0%,rgba(236,72,153,0.16) 54%,rgba(14,22,62,0.42) 100%);
  box-shadow:0 8px 18px -8px rgba(4,8,30,0.48),inset 0 0 0 0.8px rgba(253,224,71,0.46),inset 0 0.8px 1px rgba(255,255,255,0.46);
  transition:transform .14s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.hub-crown-pill:active{transform:scale(0.95);}
.hub-crown-pill .hcp-v{
  font-family:var(--display);font-size:12.5px;font-weight:800;letter-spacing:-0.01em;
  font-variant-numeric:tabular-nums;text-shadow:0 1px 6px rgba(6,12,42,0.44);
}
.hub-crown-pill .hcp-p{
  width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:15px;font-weight:800;line-height:1;color:#FFFFFF;
  background:linear-gradient(135deg,#FACC15 0%,#F59E0B 48%,#EC4899 100%);
  box-shadow:0 4px 10px -2px rgba(236,72,153,0.58),inset 0 0.8px 1px rgba(255,255,255,0.68);
}
.dbar-r{display:flex;align-items:center;gap:7px;flex-shrink:0;}
.dbar-r > a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;}
.hub-crown-pill.is-compact{height:32px;padding:0 4px 0 7px;gap:5px;}
.hub-crown-pill.is-compact .hcp-v{font-size:11.5px;}
.hub-crown-pill.is-compact .hcp-p{width:21px;height:21px;font-size:13.5px;}

/* Обособленная парящая капсула баланса Корон в Профиле (Dynamic-Island стиль, не во всю ширину) */
.prof-wl-pod-wrap{
  display:flex;justify-content:center;margin:12px 0 10px;
}
.prof-wl-pod{
  position:relative;overflow:visible;border:0;cursor:pointer;
  min-width:256px;max-width:86%;height:62px;padding:0 10px 0 14px;border-radius:999px;
  display:inline-flex;align-items:center;gap:11px;color:#FFFFFF;
  background:
    radial-gradient(65% 120% at 16% 50%,rgba(250,204,21,0.34) 0%,rgba(236,72,153,0.18) 54%,transparent 100%),
    linear-gradient(155deg,rgba(255,255,255,0.18) 0%,rgba(16,20,58,0.56) 56%,rgba(10,14,44,0.68) 100%);
  box-shadow:
    0 18px 36px -14px rgba(4,8,30,0.62),
    0 0 32px -10px rgba(250,204,21,0.36),
    inset 0 0 0 0.9px rgba(253,224,71,0.52),
    inset 0 1px 1.4px rgba(255,255,255,0.60);
  transition:transform .15s ease;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
}
.prof-wl-pod:active{transform:scale(0.96);}
.prof-wl-pod-aura{
  position:absolute;left:-4px;top:50%;width:82px;height:82px;transform:translateY(-50%);
  border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(254,240,138,0.64) 0%,rgba(250,204,21,0.30) 40%,rgba(236,72,153,0.18) 66%,transparent 78%);
  filter:blur(8px);
}
.prof-wl-pod-cr{
  position:relative;z-index:2;display:inline-flex;align-items:center;justify-content:center;
  margin-left:-4px;transform:scale(1.06);
}
.prof-wl-pod-cr .cr-ico svg{
  filter:drop-shadow(0 0 12px rgba(250,204,21,0.84)) drop-shadow(0 0 22px rgba(236,72,153,0.50));
}
.prof-wl-pod-bal{
  position:relative;z-index:2;display:inline-flex;align-items:baseline;gap:5px;flex:1;
  font-family:var(--display);font-size:18px;font-weight:900;line-height:1;color:#FFFFFF;
  text-shadow:0 2px 10px rgba(6,12,42,0.52);
}
.prof-wl-pod-bal b{font-variant-numeric:tabular-nums;}
.prof-wl-pod-bal em{font-style:normal;font-size:12px;font-weight:700;color:#FEF08A;}
.prof-wl-pod-cta{
  position:relative;z-index:2;flex-shrink:0;
  height:36px;padding:0 15px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.28) 0%,rgba(255,255,255,0.12) 100%);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.44),inset 0 0.9px 1px rgba(255,255,255,0.62);
}
.prof-since-slim{padding:11px 12px!important;min-height:0!important;border-radius:18px!important;}
.prof-ct-hero-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;}
.prof-ver-mini .pvm-ok{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  font-size:12.5px!important;line-height:1.15;color:#FFFFFF;
}
.prof-ver-mini .pvm-ok svg{width:17px;height:17px;flex-shrink:0;}

/* Угловые кнопки блока Профиля: слева — удалить профиль, справа — горящий щит политики конфиденциальности */
.prof-corner-btn{
  position:absolute;top:14px;z-index:4;
  width:40px;height:40px;padding:0;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:transform .14s ease,filter .16s ease;
}
.prof-corner-btn:active{transform:scale(0.92);}
.prof-corner-btn.is-del{
  left:14px;color:rgba(255,255,255,0.94);
  background:
    radial-gradient(95% 110% at 50% 100%,rgba(220,38,38,0.42) 0%,transparent 76%),
    linear-gradient(180deg,rgba(239,68,68,0.52) 0%,rgba(185,28,28,0.58) 58%,rgba(127,29,29,0.66) 100%);
  box-shadow:
    0 8px 18px -8px rgba(185,28,28,0.52),
    inset 0 0 0 0.85px rgba(254,202,202,0.34),
    inset 0 1px 1.2px rgba(255,255,255,0.42);
}
.prof-corner-btn.is-del svg{
  width:17.5px;height:17.5px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 1px 2px rgba(69,10,10,0.45));
}
/* Кнопка «Указать связь» / «Связь указана» + карандаш редактирования в карточке профиля */
.prof-hero-acts{
  display:flex;align-items:center;justify-content:center;gap:7px;
  width:100%;max-width:260px;margin:11px auto 0;position:relative;z-index:2;
}
.prof-act-pill{
  flex:1 1 auto;min-width:0;height:38px;padding:0 14px;border:0;border-radius:13px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-family:var(--body);font-size:13px;font-weight:600;letter-spacing:-0.01em;color:rgba(244,249,255,0.96);
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.06) 56%,rgba(12,24,68,0.28) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.48),inset 0 0 0 0.85px rgba(255,255,255,0.34),inset 0 1px 1.2px rgba(255,255,255,0.56);
  backdrop-filter:blur(10px) saturate(140%);-webkit-backdrop-filter:blur(10px) saturate(140%);
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:transform .14s ease,filter .16s ease;
}
.prof-act-pill.plat-max{
  color:#FFFFFF;
  background:
    radial-gradient(95% 110% at 15% 0%,rgba(167,139,250,0.42) 0%,transparent 65%),
    linear-gradient(135deg,rgba(124,58,237,0.52) 0%,rgba(99,102,241,0.46) 55%,rgba(56,189,248,0.34) 100%);
  box-shadow:
    0 10px 22px -8px rgba(109,40,217,0.58),
    inset 0 0 0 0.9px rgba(221,214,254,0.62),
    inset 0 1px 1.3px rgba(255,255,255,0.74);
}
.prof-act-pill.plat-tg{
  color:#FFFFFF;
  background:
    radial-gradient(95% 110% at 15% 0%,rgba(125,211,252,0.42) 0%,transparent 65%),
    linear-gradient(135deg,rgba(42,171,238,0.52) 0%,rgba(14,165,233,0.44) 60%,rgba(37,99,235,0.38) 100%);
  box-shadow:
    0 10px 22px -8px rgba(14,165,233,0.56),
    inset 0 0 0 0.9px rgba(186,230,253,0.62),
    inset 0 1px 1.3px rgba(255,255,255,0.74);
}
.prof-act-pill .prof-act-ic svg{fill:currentColor;stroke:none;}
.prof-act-pill.is-add .prof-act-ic svg{fill:none;stroke:currentColor;}
.prof-act-edit{
  flex:0 0 auto;width:38px;height:38px;padding:0;border:0;border-radius:13px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  color:rgba(232,244,255,0.88);
  background:linear-gradient(180deg,rgba(255,255,255,0.14) 0%,rgba(255,255,255,0.05) 56%,rgba(12,24,68,0.32) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.52),inset 0 0 0 0.8px rgba(255,255,255,0.30),inset 0 0.9px 1px rgba(255,255,255,0.46);
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:transform .14s ease,background .18s ease;
}
.prof-act-edit:active{transform:scale(0.93);}
.prof-act-edit svg{width:15px;height:15px;}
.prof-act-pill:active{transform:scale(0.96);}
.prof-act-pill.is-on{
  color:#FFFFFF;
  box-shadow:0 8px 18px -10px rgba(34,197,94,0.45),inset 0 0 0 0.85px rgba(134,239,172,0.52),inset 0 0.9px 1px rgba(255,255,255,0.56);
}
.prof-act-ic{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;flex-shrink:0;opacity:0.92;}
.prof-act-ic svg{width:14px;height:14px;display:block;}
.prof-act-tx{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;}
/* Мини-тумблер внутри кнопки «Анонимность» */
.prof-mini-sw{
  position:relative;width:28px;height:16px;border-radius:999px;flex-shrink:0;margin-left:2px;
  background:rgba(255,255,255,0.18);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.28);
  transition:background .22s ease,box-shadow .22s ease;
}
.prof-mini-sw::after{
  content:'';position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;
  background:#FFFFFF;
  box-shadow:0 1px 3px rgba(0,0,0,0.34);
  transition:transform .22s cubic-bezier(.22,1,.36,1);
}
.prof-act-pill.is-on .prof-mini-sw{
  background:linear-gradient(135deg,#34D399,#10B981);
  box-shadow:0 0 10px rgba(16,185,129,0.62),inset 0 0 0 0.8px rgba(209,250,229,0.55);
}
.prof-act-pill.is-on .prof-mini-sw::after{transform:translateX(12px);}
/* Живое визуальное скрытие аватара и никнейма при включении «Анонимности» */
.prof-ava-wrap{position:relative;overflow:hidden;}
.prof-ava{transition:filter .28s ease,opacity .28s ease,transform .28s ease;}
.prof-ava-veil{
  position:absolute;inset:5px;border-radius:50%;z-index:2;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle,rgba(15,23,62,0.58) 0%,rgba(9,14,42,0.82) 100%);
  color:rgba(224,242,254,0.95);
  opacity:0;pointer-events:none;transition:opacity .26s ease;
}
.prof-ava-veil svg{width:30px;height:30px;filter:drop-shadow(0 2px 8px rgba(14,165,233,0.45));}
.prof-hero.is-anon .prof-ava{filter:blur(11px) brightness(0.55);transform:scale(1.06);}
.prof-hero.is-anon .prof-ava-veil{opacity:1;}
.prof-ident{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;}
.prof-ident .prof-name,.prof-ident .prof-uname{transition:filter .26s ease,opacity .26s ease;}
.prof-hero.is-anon .prof-ident .prof-name,
.prof-hero.is-anon .prof-ident .prof-uname{filter:blur(7px);opacity:0.32;user-select:none;}
.prof-anon-mask{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  opacity:0;pointer-events:none;transition:opacity .24s ease;
}
.prof-anon-mask span{
  padding:4px 12px;border-radius:999px;
  font-family:var(--display);font-size:12px;font-weight:800;letter-spacing:0.01em;color:#E0F2FE;
  background:rgba(15,23,62,0.68);
  box-shadow:0 6px 18px -6px rgba(4,8,30,0.65),inset 0 0 0 0.8px rgba(186,230,253,0.44);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
}
.prof-hero.is-anon .prof-anon-mask{opacity:1;}
/* Постоянный слой фоновой 3D-сцены — не пересоздаётся и не сбрасывает анимацию при фильтрах */
#app_scene_host{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .18s ease;}
#app_scene_host.is-on{opacity:1;visibility:visible;}
/* Мини-превью скрытого профиля (глазик-вуаль на аватаре в шапке разделов и хаба — без вспышки при перерисовке) */
.hub-ava,.lg-hub-ava{position:relative;overflow:hidden;}
.hub-ava-veil{
  position:absolute;inset:2.5px;border-radius:50%;z-index:2;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle,rgba(15,23,62,0.66) 0%,rgba(9,14,42,0.88) 100%);
  color:rgba(224,242,254,0.96);
  opacity:0;pointer-events:none;
}
.hub-ava-veil svg{width:16px;height:16px;display:block;filter:drop-shadow(0 1px 4px rgba(14,165,233,0.45));}
.hub-ava.is-anon .hub-ava-img,.lg-hub-ava.is-anon .hub-ava-img{filter:blur(5px) brightness(0.55);}
.hub-ava.is-anon .hub-ava-veil,.lg-hub-ava.is-anon .hub-ava-veil{opacity:1;}
/* Компактный баланс Корон в верхнем хедере Профиля рядом с иконками языка/чата/помощи */
.prof-dbar .dbar-r{gap:6px;}
.prof-dbar .hub-crown-pill.is-compact{height:34px;padding:0 5px 0 8px;gap:5px;}
.prof-dbar .hub-crown-pill.is-compact .hcp-v{font-size:12px;}
.prof-dbar .hub-crown-pill.is-compact .hcp-p{width:20px;height:20px;font-size:13px;}
/* Двухуровневые подписки «Без рекламы» в 2 столбика: чистый светлый Liquid Glass + кастомные фоны и анимация */
.prm-sub-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:stretch;
}
.prm-sub-col{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;justify-content:space-between;gap:10px;
  padding:14px 11px 12px;border-radius:22px;min-width:0;
  backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);
  transition:transform .16s ease;
}
.prm-sub-col.is-pers{
  background:
    radial-gradient(100% 80% at 15% 0%,rgba(125,211,252,0.34) 0%,rgba(56,189,248,0.14) 54%,rgba(255,255,255,0.06) 100%),
    linear-gradient(155deg,rgba(255,255,255,0.18) 0%,rgba(56,189,248,0.14) 55%,rgba(99,102,241,0.16) 100%);
  box-shadow:
    0 18px 34px -14px rgba(14,165,233,0.34),
    inset 0 0 0 0.9px rgba(255,255,255,0.46),
    inset 0 1.2px 1.6px rgba(255,255,255,0.72);
}
.prm-sub-col.is-org{
  background:
    radial-gradient(110% 85% at 85% 0%,rgba(253,224,71,0.28) 0%,rgba(168,85,247,0.24) 48%,rgba(56,189,248,0.20) 100%),
    linear-gradient(155deg,rgba(255,255,255,0.20) 0%,rgba(99,102,241,0.22) 52%,rgba(236,72,153,0.20) 100%);
  box-shadow:
    0 20px 38px -12px rgba(139,92,246,0.42),
    inset 0 0 0 0.95px rgba(254,240,138,0.52),
    inset 0 1.2px 1.6px rgba(255,255,255,0.78);
}
.prm-col-art{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;
}
.prm-col-art .pca-a{animation:pcaFloatA 9s ease-in-out infinite;}
.prm-col-art .pca-b{animation:pcaFloatB 11.5s ease-in-out infinite;}
@keyframes pcaFloatA{0%,100%{transform:translateY(0);}50%{transform:translateY(-6px);}}
@keyframes pcaFloatB{0%,100%{transform:translateY(0);}50%{transform:translateY(6px);}}
body.is-eco .prm-col-art .pca-a,body.is-eco .prm-col-art .pca-b{animation:none!important;}
.prm-sub-col-hd,.prm-col-plans{position:relative;z-index:1;}
.prm-sub-col-hd{display:flex;flex-direction:column;gap:5px;flex:1 1 auto;}
.prm-sub-col-hd h2{margin:0;font-family:var(--display);font-size:13px;font-weight:800;line-height:1.25;color:#FFFFFF;text-shadow:0 1px 8px rgba(12,24,68,0.26);}
.prm-sub-col-hd p{margin:0;font-size:11px;line-height:1.38;color:rgba(244,249,255,0.92);}
.prm-sub-col-hd .prm-sub-pill{align-self:flex-start;margin-top:auto;padding:3px 8px;font-size:9.5px;background:rgba(255,255,255,0.20);color:#FFFFFF;}
.prm-col-plans{display:flex;flex-direction:column;gap:8px;}
.prm-tplan{
  position:relative;overflow:hidden;
  width:100%;padding:10px 10px;border:0;border-radius:15px;cursor:pointer;text-align:left;
  display:flex;flex-direction:column;gap:4px;
  color:#FFFFFF;transition:transform .13s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.prm-tplan > *{position:relative;z-index:1;}
.prm-tplan:active{transform:scale(0.95);filter:brightness(1.08);}
.prm-tp-glow{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  background:linear-gradient(125deg,rgba(255,255,255,0.34) 0%,rgba(255,255,255,0.04) 48%,transparent 65%);
}
/* 1 месяц — свежий ледяной кристалл Liquid Glass */
.prm-tplan.is-p30{
  background:linear-gradient(145deg,rgba(224,242,254,0.28) 0%,rgba(56,189,248,0.26) 56%,rgba(125,211,252,0.18) 100%);
  box-shadow:0 8px 18px -8px rgba(14,165,233,0.38),inset 0 0 0 0.85px rgba(255,255,255,0.52),inset 0 1px 1.2px rgba(255,255,255,0.75);
}
/* 3 месяца — призматический лазурно-индиговый Liquid Glass */
.prm-tplan.is-p90{
  background:linear-gradient(140deg,rgba(56,189,248,0.38) 0%,rgba(99,102,241,0.42) 55%,rgba(168,85,247,0.32) 100%);
  box-shadow:0 10px 20px -8px rgba(99,102,241,0.48),inset 0 0 0 0.9px rgba(199,210,254,0.62),inset 0 1px 1.2px rgba(255,255,255,0.78);
}
/* 1 год — королевское сияние Авроры с мягким переливом */
.prm-tplan.is-p365{
  background:
    radial-gradient(95% 110% at 100% 0%,rgba(253,224,71,0.42) 0%,transparent 64%),
    linear-gradient(135deg,rgba(56,189,248,0.42) 0%,rgba(139,92,246,0.46) 50%,rgba(236,72,153,0.40) 100%);
  box-shadow:0 12px 24px -8px rgba(168,85,247,0.52),inset 0 0 0 0.95px rgba(254,240,138,0.68),inset 0 1px 1.4px rgba(255,255,255,0.84);
}
.prm-tplan.is-p365 .prm-tp-glow{
  background:linear-gradient(115deg,transparent 20%,rgba(255,255,255,0.36) 48%,transparent 72%);
  background-size:220% 100%;
  animation:prmSheen 4.8s ease-in-out infinite;
}
@keyframes prmSheen{0%,100%{background-position:120% 0;}50%{background-position:-20% 0;}}
body.is-eco .prm-tplan.is-p365 .prm-tp-glow{animation:none;}
.prm-tplan-top{display:flex;align-items:center;justify-content:space-between;gap:4px;}
.prm-tplan-n{font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;text-shadow:0 1px 6px rgba(10,20,58,0.28);}
.prm-tplan-bdg{
  padding:2px 6px;border-radius:999px;font-family:var(--mono);font-size:9.5px;font-weight:800;
  background:rgba(16,185,129,0.44);color:#ECFDF5;box-shadow:inset 0 0 0 0.7px rgba(167,243,208,0.72);
}
.prm-tplan-p{font-family:var(--mono);font-size:12.5px;font-weight:900;color:#FFFFFF;text-shadow:0 1px 6px rgba(10,20,58,0.32);}
/* Неразрывное «0 из 2» внутри статуса выдачи призов */
.mp-deliv-num{white-space:nowrap;display:inline-block;}
/* Бейдж регистрации канала в реестре РКН — по всему интерфейсу MAX */
.rkn-bdg{
  display:inline-flex;align-items:center;gap:2.5px;vertical-align:middle;margin-left:5px;flex-shrink:0;
  padding:1.5px 5.5px 1.5px 4px;border-radius:999px;
  font-family:var(--mono);font-size:9.5px;font-weight:800;letter-spacing:0.03em;line-height:1.1;
  color:#A7F3D0;
  background:linear-gradient(135deg,rgba(16,185,129,0.28),rgba(14,165,233,0.24));
  box-shadow:inset 0 0 0 0.7px rgba(110,231,183,0.58);
}
.rkn-bdg svg{width:10.5px;height:10.5px;flex-shrink:0;}
.top-list.mp-grid2 .rkn-bdg{font-size:8.5px;padding:1px 4.5px 1px 3.5px;margin-left:3px;}
.top-list.mp-grid2 .rkn-bdg svg{width:9px;height:9px;}
/* Единый компактный поток охватов, аудитории и тегов на карточке Биржи */
.mp-meta-flow{gap:5px!important;align-items:center;}
.mp-meta-flow .mp-flow-tag{
  display:inline-flex;align-items:center;margin:0;padding:4px 8px;border-radius:999px;
  font-size:11px;line-height:1.15;font-weight:600;
}
.top-list.mp-grid2 .mp-meta-flow{gap:4px!important;}
.top-list.mp-grid2 .mp-meta-flow .mp-flow-tag{padding:2.5px 6px;font-size:9.5px;}
/* Автостатистика канала из MAX в редакторе «Моё объявление» */
.ml-auto-stats{padding:11px 13px;margin-bottom:4px;}
.ml-auto-stats .mp-pills{margin-bottom:0;}
.ml-auto-empty{font-size:12px;line-height:1.4;color:rgba(224,242,254,0.72);}
/* Модалка ссылки для связи внутри Web App — чистый Liquid Glass с единым стилем всех кнопок */
.prof-ct-sheet{
  background:
    radial-gradient(110% 90% at 15% 0%,rgba(125,211,252,0.24) 0%,rgba(99,102,241,0.18) 52%,rgba(15,23,62,0.68) 100%),
    linear-gradient(160deg,rgba(36,56,128,0.72) 0%,rgba(16,24,66,0.78) 100%)!important;
  backdrop-filter:blur(24px) saturate(160%)!important;-webkit-backdrop-filter:blur(24px) saturate(160%)!important;
  box-shadow:0 -14px 44px -10px rgba(4,8,30,0.62),inset 0 1px 1.4px rgba(255,255,255,0.62),inset 0 0 0 0.85px rgba(255,255,255,0.34)!important;
}
.prof-ct-inp-wrap{display:flex;align-items:center;gap:8px;margin-bottom:13px;}
.prof-ct-inp-wrap .mp-rep-inp{
  margin-bottom:0;flex:1 1 auto;min-width:0;height:42px;border-radius:14px;
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.32),inset 0 1px 2px rgba(4,8,30,0.22);
}
.prof-ct-copy{
  flex:0 0 auto;width:42px;height:42px;padding:0;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.20) 0%,rgba(255,255,255,0.08) 100%);
  box-shadow:0 6px 14px -8px rgba(4,8,30,0.45),inset 0 0 0 0.85px rgba(255,255,255,0.38),inset 0 1px 1.2px rgba(255,255,255,0.60);
  transition:transform .12s ease,filter .15s ease;
}
.prof-ct-copy:active{transform:scale(0.93);filter:brightness(1.12);}
.prof-ct-copy svg{width:18px;height:18px;}
.prof-ct-btns{display:grid;grid-template-columns:1fr 1.35fr;gap:8px;}
.prof-ct-btn{
  width:100%;height:42px;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  transition:transform .12s ease,filter .15s ease,opacity .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.prof-ct-btn:active{transform:scale(0.96);filter:brightness(1.08);}
.prof-ct-btn:disabled{opacity:0.48;cursor:default;}
.prof-ct-btn.is-cancel{
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(255,255,255,0.07) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.48),inset 0 0 0 0.85px rgba(255,255,255,0.36),inset 0 1px 1.2px rgba(255,255,255,0.58);
}
.prof-ct-btn.is-save{
  background:linear-gradient(135deg,rgba(56,189,248,0.66) 0%,rgba(79,70,229,0.72) 100%);
  box-shadow:0 10px 22px -8px rgba(56,189,248,0.56),inset 0 0 0 0.9px rgba(186,230,253,0.66),inset 0 1px 1.3px rgba(255,255,255,0.76);
}
.prof-ct-btn.is-del{
  margin-top:8px;color:#FFE4E6;
  background:linear-gradient(180deg,rgba(239,68,68,0.46) 0%,rgba(185,28,28,0.52) 100%);
  box-shadow:0 8px 18px -10px rgba(185,28,28,0.52),inset 0 0 0 0.85px rgba(254,202,202,0.42),inset 0 1px 1.2px rgba(255,255,255,0.48);
}
/* Кнопка-памятка и шторка правил Surprizum Ads — спокойное нейтральное матовое стекло без яркого синего свечения */
.prm-rules-btn{
  width:100%;display:flex;align-items:center;gap:10px;padding:12px 14px;margin:0 0 12px;border:0;border-radius:18px;
  cursor:pointer;text-align:left;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.10) 0%,rgba(14,16,32,0.18) 54%,rgba(255,255,255,0.05) 100%)!important;
  box-shadow:0 12px 26px -14px rgba(4,8,30,0.48),inset 0 0 0 0.8px rgba(255,255,255,0.26),inset 0 1px 1.1px rgba(255,255,255,0.44)!important;
  backdrop-filter:blur(14px) brightness(0.95);-webkit-backdrop-filter:blur(14px) brightness(0.95);
  transition:transform .13s ease,filter .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.prm-rules-btn:active{transform:scale(0.98);filter:brightness(1.06);}
.prm-rb-ic{
  width:36px;height:36px;border-radius:12px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.12);color:#FFFFFF;
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.34);
}
.prm-rb-ic svg{width:18px;height:18px;stroke:#FFFFFF;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.prm-rb-tx{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;}
.prm-rb-tx b{font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;line-height:1.25;}
.prm-rb-tx small{font-family:var(--body);font-size:11px;line-height:1.3;color:rgba(255,255,255,0.78);}
.prm-rb-go{flex:0 0 auto;font-size:18px;color:rgba(255,255,255,0.56);line-height:1;}
.prm-rules-sheet{max-height:84dvh;display:flex;flex-direction:column;overflow:hidden!important;}
.prm-rs-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px;flex-shrink:0;}
.prm-rs-sub{font-size:12px;line-height:1.4;color:rgba(224,242,254,0.82);margin-bottom:12px;flex-shrink:0;}
.prm-rs-body{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:9px;padding-right:2px;}
.prm-rs-sec{
  padding:11px 12px;border-radius:15px;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.22);
}
.prm-rs-sec.is-warn{
  background:linear-gradient(155deg,rgba(244,63,94,0.16) 0%,rgba(255,255,255,0.06) 100%);
  box-shadow:inset 0 0 0 0.75px rgba(253,164,175,0.34);
}
.prm-rs-h{font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;margin-bottom:6px;}
.prm-rs-sec ul{margin:0;padding-left:16px;display:flex;flex-direction:column;gap:5px;}
.prm-rs-sec li{font-size:12px;line-height:1.42;color:rgba(240,248,255,0.90);}
.prm-rs-sec li b{color:#FFFFFF;font-weight:700;}
.prof-corner-btn.is-shield{
  right:14px;overflow:visible;
  background:
    radial-gradient(85% 95% at 50% 50%,rgba(56,189,248,0.34) 0%,rgba(37,99,235,0.16) 62%,transparent 100%),
    linear-gradient(180deg,rgba(255,255,255,0.22) 0%,rgba(56,189,248,0.10) 56%,rgba(12,24,68,0.36) 100%);
  box-shadow:
    0 0 20px -2px rgba(56,189,248,0.68),
    0 8px 18px -8px rgba(37,99,235,0.64),
    inset 0 0 0 0.9px rgba(186,230,253,0.66),
    inset 0 1px 1.2px rgba(255,255,255,0.72);
}
.prof-sh-glow{
  position:absolute;inset:-6px;border-radius:18px;pointer-events:none;z-index:0;
  background:radial-gradient(circle,rgba(56,189,248,0.52) 0%,rgba(59,130,246,0.22) 48%,transparent 76%);
  filter:blur(6px);
  animation:profShieldPulse 3.2s ease-in-out infinite;
}
.prof-sh-svg{
  position:relative;z-index:1;width:22px;height:22px;display:block;
  filter:drop-shadow(0 0 8px rgba(56,189,248,0.88)) drop-shadow(0 1px 2px rgba(10,24,72,0.55));
}
@keyframes profShieldPulse{
  0%,100%{opacity:0.62;transform:scale(0.94);}
  50%{opacity:1;transform:scale(1.08);}
}
body.is-eco .prof-sh-glow{animation:none;opacity:0.65;}

/* Магазин тем — пилюля Корон */
.th-perk-wl{
  cursor:pointer;border:0;display:inline-flex;align-items:center;gap:5px;
  color:#FFFFFF;font-family:var(--display);
  background:linear-gradient(145deg,rgba(250,204,21,0.24),rgba(236,72,153,0.20) 58%,rgba(16,24,68,0.42))!important;
  box-shadow:inset 0 0 0 0.85px rgba(253,224,71,0.54),0 6px 14px -6px rgba(236,72,153,0.38);
  transition:transform .14s ease;
}
.th-perk-wl:active{transform:scale(0.95);}
.th-perk-plus{
  width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:800;line-height:1;margin-left:2px;
  background:linear-gradient(135deg,#FACC15,#EC4899);color:#FFFFFF;
}
.th-cta-sep{opacity:0.65;margin:0 2px;}
.th-bdg .cr-amt{gap:3px;}
.th-cta .cr-amt{gap:3px;}

/* Кабинет рекламы — полоса Кошелька + цена за 1 показ */
.prm-cr-bar{
  width:100%;border:0;border-radius:16px;padding:10px 13px;margin-bottom:10px;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:10px;color:#FFFFFF;
  background:linear-gradient(148deg,rgba(250,204,21,0.18) 0%,rgba(236,72,153,0.16) 54%,rgba(14,24,68,0.44) 100%);
  box-shadow:0 10px 22px -12px rgba(4,8,30,0.46),inset 0 0 0 0.8px rgba(253,224,71,0.44),inset 0 0.8px 1px rgba(255,255,255,0.42);
  transition:transform .14s ease;
}
.prm-cr-bar:active{transform:scale(0.985);}
.prm-cr-l{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;color:rgba(240,248,255,0.92);}
.prm-cr-l b{font-family:var(--display);font-size:14px;color:#FEF08A;font-variant-numeric:tabular-nums;}
.prm-cr-r{
  padding:5px 11px;border-radius:999px;font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#FACC15 0%,#F59E0B 45%,#EC4899 100%);
  box-shadow:0 5px 12px -4px rgba(236,72,153,0.55);
}
.prm-pack-rate{
  font-size:10.5px;font-weight:700;color:rgba(186,230,253,0.88);
  margin-top:2px;letter-spacing:0.01em;
}
.prm-pack-p .cr-amt,.prm-plan-p .cr-amt{gap:5px;}
.prm-sub-perks{
  display:flex;flex-direction:column;gap:6px;margin:10px 0 12px;
}
.prm-sub-perk{
  display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border-radius:12px;
  font-size:12px;font-weight:700;color:rgba(240,248,255,0.92);text-align:left;
  background:rgba(255,255,255,0.09);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
}
.prm-sub-perk svg{flex-shrink:0;color:#6EE7B7;}
.prm-sub-perk.is-hi{
  color:#FEF9C3;
  background:linear-gradient(135deg,rgba(250,204,21,0.20),rgba(16,185,129,0.18));
  box-shadow:inset 0 0 0 0.85px rgba(253,224,71,0.50);
}
.prm-sub-perk.is-hi svg{color:#FDE047;}

/* Улучшения единого платёжного контейнера Apple Pay под Короны */
.ipay-sw-cr{
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 30% 20%,rgba(250,204,21,0.34),rgba(236,72,153,0.28) 60%,rgba(18,12,48,0.72) 100%);
  box-shadow:inset 0 0 0 0.9px rgba(253,224,71,0.52),0 8px 20px -6px rgba(236,72,153,0.42);
}
.ipay-rv .cr-ico svg{stroke:initial;fill:initial;}
.ipay-rv-cr{color:#FEF08A;font-family:var(--display);font-size:13.5px;}
.ipay-rt .cr-amt{gap:5px;}
.ipay-shortfall{
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
  padding:10px 12px;border-radius:14px;margin-bottom:12px;
  background:linear-gradient(135deg,rgba(250,204,21,0.16),rgba(244,63,94,0.18));
  box-shadow:inset 0 0 0 0.8px rgba(253,224,71,0.44);
}
.ipay-sf-tx{
  display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;color:#FEF9C3;
}
.ipay-sf-link{
  border:0;background:rgba(255,255,255,0.16);color:#FFFFFF;border-radius:999px;
  padding:5px 10px;font-family:var(--body);font-size:11px;font-weight:700;cursor:pointer;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.32);
}
.ipay-btn.is-crown{
  background:linear-gradient(135deg,#F59E0B 0%,#EC4899 54%,#7C3AED 100%);
  box-shadow:0 14px 30px -8px rgba(236,72,153,0.68),inset 0 1px 1.2px rgba(255,255,255,0.76);
}
.ipay-btn.is-topup{
  background:linear-gradient(135deg,#0EA5E9 0%,#2563EB 54%,#7C3AED 100%);
  box-shadow:0 14px 30px -8px rgba(37,99,235,0.72),inset 0 1px 1.2px rgba(255,255,255,0.76);
}

/* Экран Кошелька Корон — эффектная карточка с россыпью золотых корон + чистые раздельные блоки в едином стиле */
.wl-page{position:relative;z-index:2;padding:0 14px calc(36px + env(safe-area-inset-bottom,0px));max-width:520px;margin:0 auto;}
.wl-hero{
  position:relative;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;text-align:center;
  padding:26px 18px 22px;margin:12px 0 20px;border-radius:28px;
  background:
    radial-gradient(95% 90% at 50% 0%,rgba(250,204,21,0.34) 0%,rgba(236,72,153,0.24) 44%,rgba(14,18,56,0.72) 100%),
    linear-gradient(155deg,#251658 0%,#141442 56%,#2B1248 100%);
  box-shadow:
    0 24px 48px -18px rgba(4,8,30,0.68),
    0 0 42px -14px rgba(250,204,21,0.38),
    inset 0 0 0 1px rgba(253,224,71,0.50),
    inset 0 1.2px 1.6px rgba(255,255,255,0.62);
}
.wl-hero-bg-svg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;
}
.wl-bg-drift-a{animation:wlDriftA 11s ease-in-out infinite;will-change:transform;}
.wl-bg-drift-b{animation:wlDriftB 15s ease-in-out infinite;will-change:transform;}
@keyframes wlDriftA{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(-6px,7px,0);}}
@keyframes wlDriftB{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(6px,-7px,0);}}
.wl-hero-aura{
  position:absolute;top:-12px;left:50%;width:196px;height:196px;transform:translateX(-50%);
  border-radius:50%;pointer-events:none;z-index:1;
  background:radial-gradient(circle,rgba(254,240,138,0.62) 0%,rgba(250,204,21,0.30) 36%,rgba(236,72,153,0.20) 62%,transparent 76%);
  filter:blur(12px);
}
.wl-hero-emblem{
  position:relative;z-index:2;margin-bottom:6px;
  display:flex;align-items:center;justify-content:center;
}
.wl-hero-emblem .cr-ico svg{
  filter:drop-shadow(0 0 18px rgba(250,204,21,0.84)) drop-shadow(0 0 32px rgba(236,72,153,0.52));
}
.wl-hero-lbl{
  position:relative;z-index:2;
  font-size:11.5px;font-weight:700;color:rgba(254,249,195,0.88);letter-spacing:0.08em;text-transform:uppercase;
}
.wl-hero-val{
  position:relative;z-index:2;
  font-family:var(--display);font-size:40px;font-weight:900;line-height:1.08;margin:4px 0 10px;
  color:#FFFFFF;font-variant-numeric:tabular-nums;
  text-shadow:0 4px 20px rgba(250,204,21,0.34),0 2px 8px rgba(6,12,42,0.55);
}
.wl-hero-rate{
  position:relative;z-index:2;
  display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;
  font-size:11.5px;font-weight:700;color:#FEF9C3;
  background:rgba(10,14,42,0.46);box-shadow:inset 0 0 0 0.8px rgba(253,224,71,0.44);
}
.wl-sec-h{
  font-family:var(--display);font-size:11.5px;font-weight:800;letter-spacing:0.06em;text-transform:uppercase;
  color:rgba(240,248,255,0.84);margin:20px 4px 11px;
}
.wl-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.wl-pack{
  position:relative;overflow:hidden;border:0;border-radius:22px;padding:16px 12px 13px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;gap:7px;color:#FFFFFF;
  background:
    radial-gradient(90% 80% at 50% 10%,rgba(250,204,21,0.14) 0%,transparent 65%),
    linear-gradient(165deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.06) 52%,rgba(12,20,58,0.44) 100%);
  box-shadow:0 14px 28px -16px rgba(4,8,30,0.54),inset 0 0 0 0.8px rgba(255,255,255,0.28),inset 0 0.9px 1.1px rgba(255,255,255,0.50);
  transition:transform .14s ease;
}
.wl-pack:active{transform:scale(0.96);}
.wl-pack.is-pop{
  background:
    radial-gradient(95% 85% at 50% 10%,rgba(250,204,21,0.22) 0%,rgba(236,72,153,0.14) 55%,rgba(12,20,58,0.48) 100%);
  box-shadow:0 16px 32px -16px rgba(250,204,21,0.40),inset 0 0 0 1px rgba(253,224,71,0.58),inset 0 0.9px 1.2px rgba(255,255,255,0.56);
}
.wl-pack-bdg{
  position:absolute;top:9px;right:9px;padding:2px 8px;border-radius:999px;
  font-family:var(--display);font-size:9px;font-weight:800;letter-spacing:0.05em;color:#FEF9C3;
  background:rgba(16,22,58,0.72);
  box-shadow:inset 0 0 0 0.8px rgba(253,224,71,0.56);
}
.wl-pack-ico{
  display:flex;align-items:center;justify-content:center;height:34px;
}
.wl-pack-num{
  font-family:var(--display);font-size:20px;font-weight:900;line-height:1.08;
  color:#FFFFFF;font-variant-numeric:tabular-nums;
  text-shadow:0 2px 10px rgba(6,12,42,0.46);
}
.wl-pack-rub{
  width:100%;height:34px;margin-top:3px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.22) 0%,rgba(255,255,255,0.10) 100%);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.34),inset 0 0.8px 1px rgba(255,255,255,0.54);
}
.wl-custom{
  padding:15px;margin-top:16px;border-radius:22px;
  background:linear-gradient(165deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.06) 52%,rgba(12,20,58,0.44) 100%);
  box-shadow:0 14px 28px -16px rgba(4,8,30,0.52),inset 0 0 0 0.8px rgba(255,255,255,0.28),inset 0 0.9px 1.1px rgba(255,255,255,0.48);
}
.wl-custom-h{font-size:12.5px;font-weight:700;color:rgba(240,248,255,0.92);margin-bottom:10px;}
.wl-custom-row{display:flex;align-items:center;gap:9px;}
.wl-custom-inw{
  flex:1;min-width:0;height:44px;border-radius:14px;padding:0 12px;
  display:flex;align-items:center;gap:8px;
  background:rgba(6,12,38,0.38);box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.24);
}
.wl-custom-inw input{
  width:100%;min-width:0;border:0;outline:0;background:transparent;color:#FFFFFF;
  font-family:var(--display);font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;
}
.wl-custom-inw input::placeholder{color:rgba(224,242,254,0.48);font-family:var(--body);font-weight:600;font-size:12.5px;}
.wl-custom-go{
  height:44px;padding:0 16px;border:0;border-radius:14px;flex-shrink:0;cursor:pointer;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.26) 0%,rgba(255,255,255,0.12) 100%);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.38),inset 0 0.9px 1.1px rgba(255,255,255,0.58);
  transition:transform .14s ease;
}
.wl-custom-go:active{transform:scale(0.96);}
.wl-custom-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px;}
.wl-qchip{
  height:29px;padding:0 12px;border-radius:999px;cursor:pointer;
  border:1px solid rgba(253,224,71,0.40);background:rgba(250,204,21,0.14);
  color:#FEF9C3;font-family:var(--display);font-size:11px;font-weight:700;
}
.wl-qchip:active{transform:scale(0.95);}
.wl-where{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.wl-where-btn{
  border:0;border-radius:20px;padding:13px 8px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;
  color:#FFFFFF;font-family:var(--body);font-size:11.5px;font-weight:700;line-height:1.2;
  background:linear-gradient(165deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.06) 52%,rgba(12,20,58,0.44) 100%);
  box-shadow:0 12px 24px -14px rgba(4,8,30,0.48),inset 0 0 0 0.8px rgba(255,255,255,0.28),inset 0 0.9px 1px rgba(255,255,255,0.46);
}
.wl-where-btn svg{width:20px;height:20px;stroke:#FEF08A;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.wl-where-btn:active{transform:scale(0.96);}
.wl-hist{
  padding:8px 14px;border-radius:22px;
  background:linear-gradient(165deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.06) 52%,rgba(12,20,58,0.44) 100%);
  box-shadow:0 14px 28px -16px rgba(4,8,30,0.52),inset 0 0 0 0.8px rgba(255,255,255,0.28),inset 0 0.9px 1.1px rgba(255,255,255,0.48);
}
.wl-hist-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 2px;border-bottom:0.6px solid rgba(255,255,255,0.14);
}
.wl-hist-row:last-child{border-bottom:0;}
.wl-hist-l{min-width:0;flex:1;}
.wl-hist-t{font-size:12.5px;font-weight:700;color:#FFFFFF;line-height:1.25;}
.wl-hist-d{font-size:11px;color:rgba(224,242,254,0.68);margin-top:2px;}
.wl-hist-amt{
  display:inline-flex;align-items:center;gap:3px;flex-shrink:0;
  font-family:var(--display);font-size:13.5px;font-weight:800;font-variant-numeric:tabular-nums;
}
.wl-hist-amt.pos{color:#6EE7B7;}
.wl-hist-amt.neg{color:#FDE68A;}
.wl-hist-empty{padding:16px 6px;text-align:center;font-size:12.5px;color:rgba(224,242,254,0.72);}

/* Защита от двойного зума на iOS при быстрых тапах по кнопкам и степперам */
button,a,.chip,.lbc-seg,.lbc-stepper button,.lbc-rng-chip,.lbc-tag,.lbc-ch-row,.lbc-dr-row{
  touch-action:manipulation;
}

/* Пресеты диапазона каналов в «Условиях набора» */
.lbc-rng-presets{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-bottom:9px;
}
.lbc-rng-chip{
  height:32px;padding:0 4px;border-radius:11px;cursor:pointer;
  border:1px solid rgba(255,255,255,0.16);
  background:rgba(6,12,38,0.34);color:rgba(240,248,255,0.88);
  font-family:var(--display);font-size:11.5px;font-weight:800;
  transition:transform .12s ease,background .14s ease,border-color .14s ease;
}
.lbc-rng-chip:active{transform:scale(0.94);}
.lbc-rng-chip.cur{
  color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.44),rgba(139,92,246,0.46));
  border-color:rgba(186,230,253,0.68);
  box-shadow:0 6px 14px -6px rgba(56,189,248,0.52),inset 0 0.8px 1px rgba(255,255,255,0.54);
}

/* Большой, воздушный живой таймер обратного отсчёта в стиле Главного меню (без тяжёлых коробок внутри коробок) */
.lb-card-clean{
  background:
    radial-gradient(90% 70% at 96% 4%,rgba(244,114,208,0.16) 0%,transparent 58%),
    radial-gradient(80% 70% at 4% 96%,rgba(56,189,248,0.14) 0%,transparent 58%),
    linear-gradient(168deg,rgba(255,255,255,0.14) 0%,rgba(255,255,255,0.05) 50%,rgba(10,18,54,0.40) 100%)!important;
  padding:15px!important;
}
.lb-reach-top{
  display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;
  font-family:var(--mono);font-size:11px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.11);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.24);
}
.lb-reach-top svg{opacity:0.84;}
.lb-meta-line{
  font-size:12px;line-height:1.36;color:rgba(232,244,255,0.82);margin:2px 0 11px;
}
.lb-dot-sep{font-style:normal;opacity:0.5;margin:0 3px;}
.lb-tags-mini{display:flex;align-items:center;gap:5px;flex-wrap:wrap;min-width:0;margin:-4px 0 9px;}

/* Единая нижняя строка карточки совместного розыгрыша: слева стопка аватарок + свободные слоты, справа акцентная CTA-кнопка */
.lb-action-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:10px;margin-top:2px;
  border-top:0.65px solid rgba(255,255,255,0.13);
}
.lb-av-cluster{
  display:flex;align-items:center;gap:7px;min-width:0;flex:1 1 auto;
}
.lb-av-stack{
  display:inline-flex;align-items:center;flex-shrink:0;
}
.lb-av-node{
  position:relative;width:40px;height:40px;border-radius:50%;flex-shrink:0;
  background:#171d42 center/cover no-repeat;
  border:2px solid rgba(11,18,48,0.92);
  box-shadow:0 6px 14px -6px rgba(4,8,30,0.72),inset 0 0 0 0.9px rgba(255,255,255,0.48);
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  box-sizing:border-box;
}
.lb-av-node + .lb-av-node{margin-left:-11px;}
.lb-av-node.ph{
  background:linear-gradient(135deg,rgba(139,92,246,0.78),rgba(56,189,248,0.76));
}
.lb-av-node.is-host{
  border-color:rgba(254,240,138,0.88);
  box-shadow:0 0 14px -3px rgba(251,191,36,0.76),inset 0 0 0 1px rgba(255,255,255,0.52);
}
.lb-av-stack.is-crowd .lb-av-node{width:35px;height:35px;font-size:11.5px;}
.lb-av-stack.is-crowd .lb-av-node + .lb-av-node{margin-left:-14px;}
.lb-av-node.is-more{
  font-family:var(--mono);font-size:11px;font-weight:800;letter-spacing:-0.02em;color:#E0F2FE;
  background:linear-gradient(145deg,rgba(56,189,248,0.34),rgba(99,102,241,0.44) 58%,rgba(12,20,58,0.88));
  box-shadow:0 6px 14px -6px rgba(4,8,30,0.72),inset 0 0 0 1px rgba(186,230,253,0.62);
}
.lb-av-left{
  display:inline-flex;align-items:center;gap:3px;flex-shrink:0;white-space:nowrap;
  height:25px;padding:0 8px;border-radius:999px;
  font-family:var(--body);font-size:11px;font-weight:700;color:rgba(224,242,254,0.92);
  background:rgba(255,255,255,0.09);
  box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.32);
}
.lb-av-left i{font-style:normal;font-size:13px;font-weight:800;line-height:1;color:#7DD3FC;}

.lb-cta-pro{
  position:relative;overflow:hidden;border:0;flex-shrink:0;
  height:40px;padding:0 14px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-family:var(--display);font-size:11.5px;font-weight:800;letter-spacing:0.01em;
  color:#FFFFFF;white-space:nowrap;cursor:pointer;
  touch-action:manipulation;-webkit-tap-highlight-color:transparent;
  transition:transform .14s ease,filter .16s ease;
}
.lb-cta-pro:active{transform:scale(0.95);filter:brightness(1.08);}
.lb-cta-pro.is-join{
  padding:0 14px 0 8px;
  background:linear-gradient(135deg,#38BDF8 0%,#6366F1 52%,#D946EF 100%);
  box-shadow:
    0 10px 22px -8px rgba(99,102,241,0.78),
    0 0 0 0.85px rgba(255,255,255,0.48),
    inset 0 1.2px 1.4px rgba(255,255,255,0.78),
    inset 0 -2px 5px rgba(30,27,75,0.34);
  text-shadow:0 1px 4px rgba(15,23,66,0.38);
}
.lb-cta-pro.is-join::before{
  content:'';position:absolute;inset:0 0 50% 0;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,0.34) 0%,rgba(255,255,255,0.04) 100%);
}
.lb-cta-pro.is-join::after{
  content:'';position:absolute;top:-30%;left:-60%;width:42%;height:160%;pointer-events:none;
  background:linear-gradient(105deg,transparent 0%,rgba(255,255,255,0.42) 50%,transparent 100%);
  transform:skewX(-18deg);
  animation:lbCtaSheen 5.2s ease-in-out infinite;
}
@keyframes lbCtaSheen{
  0%,68%{transform:translateX(0) skewX(-18deg);opacity:0;}
  74%{opacity:0.95;}
  96%{transform:translateX(440%) skewX(-18deg);opacity:0;}
  100%{transform:translateX(440%) skewX(-18deg);opacity:0;}
}
body.is-eco .lb-cta-pro.is-join::after{animation:none;display:none;}
.lb-cta-plus{
  position:relative;z-index:1;width:24px;height:24px;border-radius:50%;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.26);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.58),0 2px 6px rgba(15,23,66,0.22);
}
.lb-cta-plus svg{width:13.5px;height:13.5px;display:block;}
.lb-cta-lbl{position:relative;z-index:1;}
.lb-cta-ic,.lb-cta-arr{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;}
.lb-cta-ic svg{width:14px;height:14px;display:block;}
.lb-cta-arr svg{width:13px;height:13px;opacity:0.78;display:block;}
.lb-cta-dot{
  width:7px;height:7px;border-radius:50%;background:#FEF08A;flex-shrink:0;
  box-shadow:0 0 8px rgba(254,240,138,0.92);
}
.lb-cta-pro.is-in{
  background:linear-gradient(145deg,rgba(16,185,129,0.42),rgba(5,150,105,0.34));
  box-shadow:0 8px 18px -10px rgba(16,185,129,0.62),inset 0 0 0 0.85px rgba(110,231,183,0.56),inset 0 1px 1px rgba(255,255,255,0.46);
  color:#ECFDF5;
}
.lb-cta-pro.is-pend{
  background:linear-gradient(145deg,rgba(245,158,11,0.36),rgba(217,119,6,0.28));
  box-shadow:0 8px 18px -10px rgba(245,158,11,0.52),inset 0 0 0 0.85px rgba(253,224,71,0.48),inset 0 1px 1px rgba(255,255,255,0.42);
  color:#FEF9C3;
}
.lb-cta-pro.is-req{
  background:linear-gradient(135deg,rgba(249,115,22,0.88),rgba(239,68,68,0.88));
  box-shadow:0 10px 20px -8px rgba(249,115,22,0.70),inset 0 0 0 0.85px rgba(254,215,170,0.62),inset 0 1px 1.2px rgba(255,255,255,0.64);
}
.lb-cta-pro.is-glass{
  padding:0 12px 0 14px;
  background:linear-gradient(180deg,rgba(255,255,255,0.22),rgba(255,255,255,0.09));
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.46),inset 0 0 0 0.85px rgba(255,255,255,0.36),inset 0 0.9px 1px rgba(255,255,255,0.54);
}
@media (max-width:380px){
  .lb-action-row{gap:7px;}
  .lb-av-cluster{gap:5px;}
  .lb-av-node{width:36px;height:36px;}
  .lb-av-stack.is-crowd .lb-av-node{width:32px;height:32px;font-size:10.5px;}
  .lb-av-left{height:23px;padding:0 6px;font-size:10px;}
  .lb-cta-pro{height:38px;font-size:11px;padding:0 12px;}
  .lb-cta-pro.is-join{padding:0 11px 0 7px;gap:6px;}
  .lb-cta-plus{width:22px;height:22px;}
}

.lb-timer-stage{
  position:relative;overflow:hidden;border-radius:16px;
  padding:10px 13px 11px;margin:0 0 11px;
  background:
    radial-gradient(85% 130% at 92% 0%,rgba(244,114,208,0.22) 0%,transparent 62%),
    radial-gradient(85% 130% at 8% 100%,rgba(56,189,248,0.22) 0%,transparent 62%),
    rgba(8,14,44,0.34);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.24),inset 0 0.9px 1px rgba(255,255,255,0.38);
}
.lb-timer-stage.is-det{margin:12px 0 10px;padding:13px 14px 14px;}
.lb-timer-stage.is-urg{
  background:
    radial-gradient(90% 130% at 90% 0%,rgba(251,146,60,0.28) 0%,transparent 62%),
    radial-gradient(90% 130% at 8% 100%,rgba(244,63,94,0.26) 0%,transparent 62%),
    rgba(28,10,36,0.44);
  box-shadow:inset 0 0 0 0.85px rgba(253,186,116,0.46),inset 0 0.9px 1px rgba(255,255,255,0.40);
}
.lb-tm-art{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.70;
}
.lb-tm-top{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:8px;
  margin-bottom:6px;
}
.lb-tm-eye{
  display:inline-flex;align-items:center;gap:6px;
  font-size:10px;font-weight:800;letter-spacing:0.07em;text-transform:uppercase;
  color:rgba(240,248,255,0.84);
}
.lb-tm-dot{
  width:6.5px;height:6.5px;border-radius:50%;flex-shrink:0;
  background:#38BDF8;box-shadow:0 0 9px rgba(56,189,248,0.95);
  animation:lbTmPulse 1.6s ease-in-out infinite;
}
.lb-timer-stage.is-urg .lb-tm-dot{background:#FB923C;box-shadow:0 0 9px rgba(251,146,60,0.95);}
@keyframes lbTmPulse{0%,100%{transform:scale(0.85);opacity:0.68;}50%{transform:scale(1.18);opacity:1;}}
.lb-tm-dur{
  padding:2px 7px;border-radius:999px;
  font-family:var(--mono);font-size:9.5px;font-weight:800;color:rgba(224,242,254,0.90);
  background:rgba(255,255,255,0.10);box-shadow:inset 0 0 0 0.6px rgba(255,255,255,0.22);
}
.lb-tm-grid{
  position:relative;z-index:1;display:flex;align-items:baseline;justify-content:center;gap:6px;
  padding:2px 0 3px;
}
.lb-tm-cell{
  min-width:46px;padding:2px 4px;text-align:center;background:transparent;box-shadow:none;
}
.lb-tm-cell.is-sec .lb-tm-val{
  background:linear-gradient(135deg,#FEF08A 0%,#7DD3FC 55%,#F472B6 100%);
  -webkit-background-clip:text;background-clip:text;color:transparent;
  text-shadow:none;filter:drop-shadow(0 2px 10px rgba(56,189,248,0.34));
}
.lb-tm-val{
  font-family:var(--display);font-size:25px;font-weight:900;line-height:1.02;color:#FFFFFF;
  font-variant-numeric:tabular-nums;letter-spacing:-0.02em;
  text-shadow:0 3px 12px rgba(6,12,42,0.52);
  will-change:transform,opacity;
}
.lb-timer-stage.is-det .lb-tm-val{font-size:28px;}
.lb-tm-val.is-flip{animation:lbDigitFlip .26s cubic-bezier(.22,1,.36,1);}
@keyframes lbDigitFlip{
  0%{transform:translate3d(0,-5px,0) scale(0.92);opacity:0.42;}
  100%{transform:translate3d(0,0,0) scale(1);opacity:1;}
}
.lb-tm-lbl{
  margin-top:2px;font-size:9px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
  color:rgba(224,242,254,0.68);
}
.lb-tm-sep{
  font-family:var(--display);font-size:20px;font-weight:900;line-height:1;
  color:rgba(255,255,255,0.44);transform:translateY(-2px);
}
.lb-tm-bar{
  position:relative;z-index:1;height:2.5px;border-radius:999px;overflow:hidden;
  margin-top:7px;background:rgba(255,255,255,0.12);
}
.lb-tm-bar i{
  display:block;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#38BDF8 0%,#A855F7 56%,#F472B6 100%);
  box-shadow:0 0 8px rgba(56,189,248,0.68);
  transition:width .9s linear;
}
.lb-timer-stage.is-urg .lb-tm-bar i{
  background:linear-gradient(90deg,#F59E0B 0%,#F43F5E 100%);
  box-shadow:0 0 8px rgba(244,63,94,0.68);
}

/* Анонимный (скрытый) публичный профиль */
.uprof-anon-hero{padding:30px 20px 28px!important;}
.uprof-anon-ava{
  background:linear-gradient(145deg,rgba(255,255,255,0.16),rgba(14,22,62,0.56))!important;
}
.uprof-anon-note{
  margin-top:10px!important;max-width:270px;line-height:1.48;
  color:rgba(226,240,255,0.76)!important;
}

/* Подсказка идеального размера баннера в Surprizum Ads */
.prmed-size-hint{
  font-size:11.5px;line-height:1.4;color:rgba(186,230,253,0.82);
  margin:2px 0 8px;
}
.prmed-photo-pv{aspect-ratio:2/1;max-height:180px;object-fit:cover;}

/* Упрощённый выбор количества каналов в совместном розыгрыше (одно число + быстрые чипы) */
.lbc-cnt-row{display:flex;flex-direction:column;gap:8px;}
.lbc-cnt-chips{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;}
.lbc-step-single{width:100%;max-width:176px;margin:0 auto;}

/* Виджет живого трафика площадки (24ч / 7д) в Surprizum Ads */
.prm-traf-card{
  position:relative;overflow:hidden;border-radius:20px;padding:13px 14px 12px;margin:0 0 12px;
  background:linear-gradient(155deg,rgba(56,189,248,0.16) 0%,rgba(99,102,241,0.14) 54%,rgba(14,22,62,0.42) 100%);
  box-shadow:0 12px 28px -14px rgba(4,8,30,0.62),inset 0 0 0 0.8px rgba(186,230,253,0.34),inset 0 0.9px 1px rgba(255,255,255,0.44);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.prm-traf-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;}
.prm-traf-ttl{
  display:inline-flex;align-items:center;gap:7px;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
}
.prm-traf-dot{
  width:7px;height:7px;border-radius:50%;background:#34D399;flex-shrink:0;
  box-shadow:0 0 0 3px rgba(52,211,153,0.22),0 0 10px rgba(52,211,153,0.85);
}
.prm-traf-src{
  font-family:var(--mono,ui-monospace,monospace);font-size:9.5px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
  color:#BAE6FD;padding:3px 8px;border-radius:999px;
  background:rgba(14,22,62,0.42);box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.3);
}
.prm-traf-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;}
.prm-traf-box{
  border-radius:14px;padding:10px 11px;
  background:linear-gradient(155deg,rgba(255,255,255,0.12) 0%,rgba(14,22,62,0.34) 100%);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.24),inset 0 0.8px 0.9px rgba(255,255,255,0.36);
}
.prm-traf-lbl{
  font-size:10px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
  color:rgba(186,230,253,0.82);margin-bottom:4px;
}
.prm-traf-val{
  font-family:var(--display);font-size:22px;font-weight:900;line-height:1.05;color:#FFFFFF;
  font-variant-numeric:tabular-nums;text-shadow:0 2px 10px rgba(4,8,30,0.46);
}
.prm-traf-sub{font-size:10.5px;color:rgba(226,240,255,0.72);margin-top:3px;}
.prm-traf-sec{display:flex;flex-direction:column;gap:7px;}
.prm-traf-sec + .prm-traf-sec{
  margin-top:11px;padding-top:11px;
  border-top:0.75px solid rgba(255,255,255,0.14);
}
.prm-traf-sec-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.prm-traf-hint{
  margin-top:9px;font-size:11px;line-height:1.42;color:rgba(226,240,255,0.76);
}
.prm-cal-tog{
  width:100%;margin-top:11px;padding:9px 12px;border:0;border-radius:13px;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.06) 100%);
  box-shadow:inset 0 0.9px 1px rgba(255,255,255,0.48),inset 0 0 0 0.8px rgba(255,255,255,0.28);
  transition:filter .15s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.prm-cal-tog:hover{filter:brightness(1.08);}
.prm-cal-tog:active{transform:scale(0.985);}
.prm-cal-tog-l{display:inline-flex;align-items:center;gap:7px;}
.prm-cal-tog-l svg{width:15px;height:15px;color:#BAE6FD;flex-shrink:0;}
.prm-cal-chv{width:15px;height:15px;color:rgba(224,242,254,0.82);transition:transform .2s ease;flex-shrink:0;}
.prm-cal-tog.is-open .prm-cal-chv{transform:rotate(180deg);}
.prm-cal-box{
  margin-top:10px;padding:12px 11px;border-radius:16px;
  background:linear-gradient(165deg,rgba(10,18,52,0.52) 0%,rgba(14,24,66,0.34) 100%);
  box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.24),inset 0 1px 1px rgba(255,255,255,0.26);
  transition:opacity .16s ease;
}
.prm-cal-box.is-loading{opacity:0.62;pointer-events:none;}
.prm-cal-top{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px;
}
.prm-cal-nav{display:inline-flex;align-items:center;gap:5px;}
.prm-cal-nbtn{
  width:28px;height:28px;padding:0;border:0;border-radius:9px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.28);
  transition:filter .14s ease,transform .1s ease;
  -webkit-tap-highlight-color:transparent;
}
.prm-cal-nbtn:hover:not(:disabled){filter:brightness(1.16);}
.prm-cal-nbtn:active:not(:disabled){transform:scale(0.93);}
.prm-cal-nbtn:disabled{opacity:0.32;cursor:default;}
.prm-cal-mlbl{
  min-width:112px;text-align:center;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
}
.prm-cal-plats{display:inline-flex;gap:4px;padding:2px;border-radius:10px;background:rgba(255,255,255,0.08);}
.prm-cal-pbtn{
  height:24px;padding:0 8px;border:0;border-radius:8px;cursor:pointer;
  font-family:var(--display);font-size:10px;font-weight:800;color:rgba(224,242,254,0.78);
  background:transparent;transition:background .14s ease,color .14s ease;
}
.prm-cal-pbtn.cur{
  color:#FFFFFF;background:linear-gradient(135deg,rgba(56,189,248,0.62),rgba(99,102,241,0.64));
  box-shadow:inset 0 0.7px 0.9px rgba(255,255,255,0.52);
}
.prm-cal-sum{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;
  padding:7px 10px;border-radius:11px;margin-bottom:9px;
  background:rgba(255,255,255,0.07);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.16);
  font-size:11px;color:rgba(224,242,254,0.84);
}
.prm-cal-sum b{color:#FFFFFF;font-family:var(--display);font-weight:800;font-variant-numeric:tabular-nums;}
.prm-cal-wds{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-bottom:4px;
}
.prm-cal-wds span{
  text-align:center;font-family:var(--mono);font-size:9px;font-weight:800;
  color:rgba(186,230,253,0.62);text-transform:uppercase;
}
.prm-cal-grid{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;
}
.prm-cal-pad{min-height:44px;}
.prm-cal-day{
  position:relative;min-height:46px;padding:4px 2px 5px;border:0;border-radius:10px;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:2px;
  color:#FFFFFF;
  background:color-mix(in srgb,rgba(56,189,248,0.52) calc(var(--heat,0) * 100%),rgba(255,255,255,0.06));
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.16);
  transition:transform .1s ease,box-shadow .14s ease,filter .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.prm-cal-day:hover:not(.is-fut){filter:brightness(1.12);}
.prm-cal-day:active:not(.is-fut){transform:scale(0.95);}
.prm-cal-day.is-today{
  box-shadow:inset 0 0 0 1.3px rgba(255,255,255,0.84),0 0 12px -3px rgba(56,189,248,0.68);
}
.prm-cal-day.is-sel{
  box-shadow:inset 0 0 0 1.4px #7DD3FC,0 6px 14px -6px rgba(56,189,248,0.72);
  background:color-mix(in srgb,rgba(56,189,248,0.68) calc(var(--heat,0) * 80% + 20%),rgba(99,102,241,0.42));
}
.prm-cal-day.is-fut{opacity:0.32;cursor:default;}
.prm-cal-dn{
  font-family:var(--mono);font-size:9px;font-weight:700;line-height:1;
  color:rgba(224,242,254,0.78);
}
.prm-cal-dv{
  font-family:var(--display);font-size:10px;font-weight:800;line-height:1.05;
  color:#FFFFFF;font-variant-numeric:tabular-nums;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
.prm-cal-day.is-zero .prm-cal-dv{color:rgba(224,242,254,0.36);font-weight:600;}
.prm-cal-det{
  margin-top:9px;padding:8px 10px;border-radius:11px;
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;
  background:rgba(255,255,255,0.09);box-shadow:inset 0 0 0 0.75px rgba(186,230,253,0.28);
  font-size:11px;color:rgba(232,244,255,0.92);
}
.prm-cal-det b{color:#FFFFFF;font-family:var(--display);font-weight:800;}
.prm-cal-load{text-align:center;padding:18px 8px;font-size:12px;color:rgba(224,242,254,0.74);}

/* Редкости тем (Стандартная · Редкая · Легендарная) и Сезонная коллекция */
.th-card-top{display:flex;flex-direction:column;gap:4px;}
.th-rar{
  display:inline-flex;align-items:center;align-self:flex-start;
  padding:2px 7px;border-radius:999px;font-family:var(--display);
  font-size:9px;font-weight:800;letter-spacing:0.05em;text-transform:uppercase;line-height:1.2;
}
.th-rar.is-standard{
  color:rgba(226,240,255,0.82);background:rgba(255,255,255,0.11);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.22);
}
.th-rar.is-rare{
  color:#BAE6FD;background:linear-gradient(135deg,rgba(56,189,248,0.28),rgba(99,102,241,0.34));
  box-shadow:inset 0 0 0 0.7px rgba(125,211,252,0.52);
}
.th-rar.is-legendary{
  color:#FEF08A;background:linear-gradient(135deg,rgba(250,204,21,0.34),rgba(236,72,153,0.32));
  box-shadow:0 0 12px -2px rgba(250,204,21,0.48),inset 0 0 0 0.75px rgba(254,240,138,0.68);
}
.th-rar.is-seasonal{
  color:#E0F2FE;background:linear-gradient(135deg,rgba(56,189,248,0.36),rgba(165,243,252,0.26));
  box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.62);
}
.th-card.is-leg{
  box-shadow:0 16px 34px -14px rgba(250,204,21,0.42),inset 0 0 0 1px rgba(254,240,138,0.56),inset 0 1px 1.2px rgba(255,255,255,0.62)!important;
}
.th-cta.is-leg{
  background:linear-gradient(135deg,rgba(250,204,21,0.46) 0%,rgba(236,72,153,0.52) 100%);
  box-shadow:0 8px 18px -6px rgba(250,204,21,0.46),inset 0 0 0 0.8px rgba(254,240,138,0.68),inset 0 0.9px 1px rgba(255,255,255,0.62);
}
.th-bdg.locked{
  background:rgba(15,23,42,0.78);color:rgba(226,232,240,0.92);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.30);
}
.th-card.is-slocked .th-thumb-img{filter:blur(2.5px) saturate(0.65) brightness(0.72);transform:scale(1.04);}
.th-lock-veil{
  position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  padding:12px;text-align:center;
  background:linear-gradient(180deg,rgba(8,14,34,0.38) 0%,rgba(8,14,34,0.72) 100%);
  backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);
}
.th-lock-ic{
  width:38px;height:38px;border-radius:14px;display:flex;align-items:center;justify-content:center;color:#E0F2FE;
  background:linear-gradient(155deg,rgba(255,255,255,0.22),rgba(14,22,62,0.56));
  box-shadow:0 8px 20px -6px rgba(4,8,30,0.6),inset 0 0 0 0.8px rgba(255,255,255,0.44);
}
.th-lock-ic svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}
.th-lock-tx{
  font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
  text-shadow:0 1px 8px rgba(4,8,30,0.72);
}
.th-cta.is-locked{
  background:rgba(15,23,42,0.48);color:rgba(226,240,255,0.76);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.24);
}
.th-pv-locked{
  height:46px;border-radius:15px;display:flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--display);font-size:13.5px;font-weight:800;color:#E0F2FE;
  background:rgba(15,23,42,0.56);box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.34);
}
.th-pv-locked svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round;}

/* Полноэкранный горизонтальный слайдер реальных экранов темы в прозрачном Apple Liquid Glass */
.th-pv-ov.is-fs{
  padding:0!important;
  background:radial-gradient(120% 90% at 50% 0%,rgba(22,38,94,0.40) 0%,rgba(6,12,36,0.56) 100%);
  backdrop-filter:blur(26px) saturate(165%) brightness(0.95);
  -webkit-backdrop-filter:blur(26px) saturate(165%) brightness(0.95);
}
.th-pv-fs{
  position:relative;width:100%;height:100dvh;max-width:480px;margin:0 auto;
  display:flex;flex-direction:column;overflow:hidden;
}
.th-pv-fs-x{
  position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:12px;z-index:20;
  width:38px;height:38px;border-radius:50%;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;line-height:1;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.24) 0%,rgba(16,28,72,0.34) 100%);
  box-shadow:0 10px 24px -6px rgba(4,10,36,0.48),inset 0 0 0 0.9px rgba(255,255,255,0.48),inset 0 1px 1.2px rgba(255,255,255,0.72);
  backdrop-filter:blur(18px) saturate(170%);-webkit-backdrop-filter:blur(18px) saturate(170%);
}
.th-pv-track{
  flex:1;min-height:0;display:flex;gap:10px;
  overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;
  padding:calc(8px + env(safe-area-inset-top,0px)) 14px 8px;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.th-pv-track::-webkit-scrollbar{display:none;}
.th-pv-slide{
  flex:0 0 89%;height:100%;scroll-snap-align:center;
  border-radius:26px;overflow:hidden;position:relative;
  box-shadow:0 22px 48px -16px rgba(4,10,36,0.62),0 0 0 0.95px rgba(255,255,255,0.34),inset 0 1px 1.2px rgba(255,255,255,0.44);
  background:rgba(8,14,38,0.42);
}
.th-pv-slide .th-pv-frame{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;}
.th-pv-slide .th-pv-frame.is-buf{opacity:0;pointer-events:none;z-index:1;}
.th-pv-fs-bot{
  margin:4px 12px calc(10px + env(safe-area-inset-bottom,0px));
  padding:10px 12px;border-radius:22px;
  display:flex;flex-direction:column;gap:8px;
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.36) 56%,rgba(255,255,255,0.09) 100%);
  backdrop-filter:blur(26px) saturate(175%) brightness(1.04);
  -webkit-backdrop-filter:blur(26px) saturate(175%) brightness(1.04);
  box-shadow:0 16px 36px -12px rgba(4,10,36,0.52),inset 0 0 0 0.9px rgba(255,255,255,0.36),inset 0 1.1px 1.5px rgba(255,255,255,0.64);
}
.th-pv-dots-bar{display:flex;align-items:center;justify-content:center;gap:6px;}
.th-pv-dots-bar i{
  display:block;width:6px;height:6px;border-radius:999px;
  background:rgba(255,255,255,0.32);transition:width .2s ease,background .2s ease;
}
.th-pv-dots-bar i.cur{width:20px;background:#FFFFFF;box-shadow:0 0 10px rgba(255,255,255,0.65);}
.th-pv-ov.is-comm .th-pv-track{padding-top:6px;}
.th-pv-comm-top{
  display:flex;flex-direction:column;gap:8px;
  margin:calc(10px + env(safe-area-inset-top,0px)) 12px 4px;
  padding:10px 12px 9px 14px;border-radius:20px;
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.36) 56%,rgba(255,255,255,0.09) 100%);
  backdrop-filter:blur(26px) saturate(175%) brightness(1.04);
  -webkit-backdrop-filter:blur(26px) saturate(175%) brightness(1.04);
  box-shadow:0 14px 32px -12px rgba(4,10,36,0.50),inset 0 0 0 0.9px rgba(255,255,255,0.36),inset 0 1.1px 1.5px rgba(255,255,255,0.64);
  position:relative;z-index:20;overscroll-behavior:none;touch-action:none;
}
.th-pv-comm-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;
}
.th-pv-comm-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;}
.th-pv-comm-nm{
  font-family:var(--display);font-size:15px;font-weight:900;color:#FFFFFF;line-height:1.18;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  text-shadow:0 1px 8px rgba(4,10,36,0.42);
}
.th-pv-comm-sub{display:flex;align-items:center;gap:6px;flex-wrap:wrap;}
.th-pv-comm-auth{
  display:inline-flex;align-items:center;gap:4px;max-width:170px;
  padding:3px 9px 3px 7px;border:0;border-radius:999px;cursor:pointer;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.36);
  font-family:var(--body);font-size:11px;font-weight:700;color:#FFFFFF;
}
.th-pv-comm-auth svg{width:12px;height:12px;flex-shrink:0;}
.th-pv-comm-auth span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.th-pv-comm-auth.is-static{cursor:default;opacity:0.85;}
.th-pv-comm-slbl{
  font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.03em;
  color:rgba(240,248,255,0.92);padding:3px 9px;border-radius:999px;
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.28);
}
.th-pv-comm-x{
  flex:0 0 36px;width:36px;height:36px;border-radius:50%;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;line-height:1;color:#FFFFFF;
  background:rgba(255,255,255,0.18);
  box-shadow:0 8px 20px -6px rgba(4,10,36,0.42),inset 0 0 0 0.85px rgba(255,255,255,0.46),inset 0 1px 1.2px rgba(255,255,255,0.68);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.th-pv-eco-row{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:7px;border-top:0.65px solid rgba(255,255,255,0.18);
}
.th-pv-eco-lbl{
  font-family:var(--body);font-size:12px;font-weight:700;letter-spacing:0.01em;line-height:1.1;
  color:rgba(232,244,255,0.88);white-space:nowrap;
}
.th-pv-eco-row.is-on .th-pv-eco-lbl{color:#86EFAC;}
.th-pv-eco-row .ios-sw{transform:scale(0.84);transform-origin:right center;}
.th-pv-ov,.th-pv-fs{overscroll-behavior:none;}
.th-pv-comm-acts{display:flex;align-items:center;gap:8px;}
.th-pv-comm-vote{
  flex:0 0 auto;min-width:58px;height:44px;padding:0 12px;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  font-family:var(--mono);font-size:12px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.15);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.34),inset 0 1px 1px rgba(255,255,255,0.50);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.th-pv-comm-vote svg{width:16px;height:16px;flex-shrink:0;}
.th-pv-comm-vote.is-up.on{color:#D1FAE5;background:rgba(16,185,129,0.34);box-shadow:inset 0 0 0 0.9px rgba(110,231,183,0.62);}
.th-pv-comm-vote.is-dn.on{color:#FECDD3;background:rgba(244,63,94,0.32);box-shadow:inset 0 0 0 0.9px rgba(253,164,175,0.58);}
.th-pv-comm-edit{
  flex:0 0 auto;height:44px;padding:0 13px;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.18);
  box-shadow:inset 0 0 0 0.9px rgba(255,255,255,0.44),inset 0 1px 1.2px rgba(255,255,255,0.62);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.th-pv-comm-edit svg{width:15px;height:15px;flex-shrink:0;}
.th-pv-comm-edit:active{transform:scale(0.96);}
.th-pv-comm-save{
  flex:1 1 auto;min-width:0;height:44px;padding:0 16px;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 100%);
  box-shadow:0 10px 24px -8px rgba(56,189,248,0.62),inset 0 0.9px 1px rgba(255,255,255,0.54);
}
.th-pv-comm-save svg{width:16px;height:16px;flex-shrink:0;}
.th-pv-comm-save.is-saved{
  background:linear-gradient(135deg,#10B981 0%,#059669 100%);
  box-shadow:0 10px 24px -8px rgba(16,185,129,0.58),inset 0 0.9px 1px rgba(255,255,255,0.48);
}
.th-pv-comm-save:active,.th-pv-comm-vote:active,.th-pv-comm-x:active{transform:scale(0.96);}

/* Конкурентный CPM-аукцион и точечный таргетинг по каналам в Surprizum Ads */
.prm-auc-bar{
  margin-top:10px;padding-top:9px;border-top:0.7px solid rgba(255,255,255,0.16);
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;
  font-size:11px;color:rgba(226,240,255,0.84);
}
.prm-auc-bar b{color:#FEF08A;font-weight:800;}
.prm-auc-bar i{font-style:normal;opacity:0.45;}
.prmed-cpm-est{
  margin-top:6px;font-size:11.5px;font-weight:700;color:#BAE6FD;line-height:1.35;
}
.prmed-chs-box{
  max-height:176px;overflow-y:auto;display:flex;flex-wrap:wrap;gap:6px;padding:2px 0;
}
.prmed-ch-pill{
  display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:0;cursor:pointer;
  font-size:11.5px;font-weight:600;color:rgba(236,246,255,0.88);
  background:rgba(255,255,255,0.09);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
  transition:background .14s ease,box-shadow .14s ease;
}
.prmed-ch-pill small{opacity:0.68;font-size:10px;font-variant-numeric:tabular-nums;}
.prmed-ch-pill.on{
  color:#FFFFFF;background:linear-gradient(135deg,rgba(56,189,248,0.44),rgba(99,102,241,0.54));
  box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.68);
}
.prmed-addons{display:flex;flex-direction:column;gap:8px;}
.prmed-addon{
  width:100%;border:0;border-radius:14px;padding:10px 12px;cursor:pointer;text-align:left;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:rgba(255,255,255,0.08);box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
  transition:background .16s ease,box-shadow .16s ease;
}
.prmed-addon.on{
  background:linear-gradient(135deg,rgba(56,189,248,0.34),rgba(139,92,246,0.42));
  box-shadow:inset 0 0 0 0.9px rgba(186,230,253,0.66);
}
.prmed-ad-l{display:flex;flex-direction:column;gap:2px;min-width:0;}
.prmed-ad-l b{font-size:12.5px;font-weight:800;color:#FFFFFF;}
.prmed-ad-l small{font-size:11px;line-height:1.3;color:rgba(226,240,255,0.74);}
.prmed-ad-pct{
  flex-shrink:0;padding:4px 9px;border-radius:999px;font-family:var(--display);font-size:11px;font-weight:800;
  color:#FEF08A;background:rgba(14,22,62,0.52);box-shadow:inset 0 0 0 0.7px rgba(254,240,138,0.44);
}
.prmed-prev.is-hi{
  box-shadow:0 12px 28px -10px rgba(56,189,248,0.52),inset 0 0 0 1.2px rgba(125,211,252,0.68)!important;
  background:linear-gradient(155deg,rgba(56,189,248,0.22),rgba(139,92,246,0.18))!important;
}

/* Liquid Glass уведомление «Раздел в разработке» */
.lg-dev-ov{
  position:fixed;inset:0;z-index:9990;
  display:flex;align-items:center;justify-content:center;padding:24px;
  background:
    radial-gradient(62% 48% at 50% 34%,rgba(56,189,248,0.20) 0%,transparent 72%),
    radial-gradient(54% 44% at 72% 68%,rgba(129,140,248,0.18) 0%,transparent 70%),
    rgba(6,10,28,0.58);
  backdrop-filter:blur(26px) saturate(185%);
  -webkit-backdrop-filter:blur(26px) saturate(185%);
  opacity:0;transition:opacity .26s ease;
}
.lg-dev-ov.on{opacity:1;}
.lg-dev-card{
  position:relative;width:100%;max-width:336px;padding:26px 22px 22px;
  border-radius:30px;text-align:center;overflow:hidden;
  background:
    radial-gradient(120% 80% at 50% -12%,rgba(255,255,255,0.26) 0%,rgba(255,255,255,0.06) 44%,rgba(12,20,56,0.52) 100%),
    linear-gradient(160deg,rgba(255,255,255,0.14) 0%,rgba(148,163,255,0.08) 50%,rgba(15,23,62,0.56) 100%);
  box-shadow:
    0 28px 64px -16px rgba(2,6,24,0.78),
    0 0 0 0.8px rgba(255,255,255,0.38) inset,
    0 1.4px 1.6px rgba(255,255,255,0.72) inset,
    0 -14px 32px -18px rgba(56,189,248,0.42) inset;
  backdrop-filter:blur(34px) saturate(210%);
  -webkit-backdrop-filter:blur(34px) saturate(210%);
  transform:translateY(18px) scale(0.92);opacity:0;
  transition:transform .34s cubic-bezier(.22,1.15,.36,1),opacity .26s ease;
}
.lg-dev-ov.on .lg-dev-card{transform:translateY(0) scale(1);opacity:1;}
.lg-dev-card::before{
  content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:linear-gradient(125deg,rgba(255,255,255,0.28) 0%,transparent 36%,transparent 68%,rgba(125,211,252,0.16) 100%);
}
.lg-dev-ic{
  position:relative;width:62px;height:62px;margin:0 auto 14px;border-radius:20px;
  display:flex;align-items:center;justify-content:center;color:#E0F2FE;
  background:
    radial-gradient(90% 90% at 30% 18%,rgba(186,230,253,0.42) 0%,rgba(56,189,248,0.20) 56%,rgba(99,102,241,0.26) 100%);
  box-shadow:
    0 12px 28px -10px rgba(56,189,248,0.52),
    inset 0 0 0 0.9px rgba(255,255,255,0.48),
    inset 0 1.2px 1.5px rgba(255,255,255,0.75);
}
.lg-dev-ic svg{width:30px;height:30px;filter:drop-shadow(0 2px 8px rgba(56,189,248,0.55));}
.lg-dev-badge{
  display:inline-flex;align-items:center;gap:6px;padding:4px 11px;margin-bottom:10px;border-radius:999px;
  font-family:var(--mono);font-size:10px;font-weight:700;letter-spacing:0.10em;text-transform:uppercase;
  color:#BAE6FD;
  background:rgba(56,189,248,0.16);
  box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.42);
}
.lg-dev-badge i{
  width:6px;height:6px;border-radius:50%;background:#38BDF8;
  box-shadow:0 0 8px #38BDF8;display:inline-block;
}
.lg-dev-title{
  position:relative;margin:0 0 8px;
  font-family:var(--display);font-size:19px;font-weight:900;letter-spacing:-0.02em;color:#FFFFFF;
  text-shadow:0 2px 12px rgba(4,8,30,0.45);
}
.lg-dev-sub{
  position:relative;margin:0 0 20px;
  font-size:13.5px;line-height:1.48;color:rgba(226,240,255,0.82);
}
.lg-dev-btn{
  position:relative;width:100%;height:46px;border:0;border-radius:16px;cursor:pointer;
  font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.62) 0%,rgba(99,102,241,0.68) 100%);
  box-shadow:
    0 12px 26px -10px rgba(56,189,248,0.58),
    inset 0 0 0 0.9px rgba(255,255,255,0.52),
    inset 0 1.2px 1.4px rgba(255,255,255,0.72);
  transition:transform .14s ease,filter .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.lg-dev-btn:active{transform:scale(0.97);filter:brightness(1.08);}
.prm-rs-ok{flex-shrink:0;margin-top:14px;height:48px;min-height:48px;font-size:15px;}

/* Выделенный верхний переключатель «Каталог тем / Мои темы» в магазине тем */
.th-scope-seg{
  display:grid;grid-template-columns:1fr 1fr;gap:6px;
  padding:5px;margin:0 0 10px;border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,0.10),rgba(8,14,42,0.36));
  box-shadow:0 10px 24px -12px rgba(4,8,30,0.56),inset 0 0 0 0.75px rgba(255,255,255,0.28),inset 0 1px 1px rgba(255,255,255,0.34);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.th-scope-btn{
  border:0;border-radius:13px;padding:10px 12px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  font-family:var(--display);font-size:12.5px;font-weight:800;letter-spacing:-0.01em;
  color:rgba(226,240,255,0.76);background:transparent;
  transition:background .2s ease,color .18s ease,box-shadow .2s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.th-scope-btn:active{transform:scale(0.97);}
.th-scope-btn.cur{
  color:#FFFFFF;
  background:linear-gradient(135deg,rgba(125,211,252,0.34),rgba(139,92,246,0.42));
  box-shadow:0 8px 20px -8px rgba(56,189,248,0.52),inset 0 0 0 0.85px rgba(255,255,255,0.50),inset 0 1px 1.2px rgba(255,255,255,0.70);
}
.th-scope-btn.is-owned-tab.cur{
  background:linear-gradient(135deg,rgba(52,211,153,0.38),rgba(14,165,233,0.40));
  box-shadow:0 8px 20px -8px rgba(16,185,129,0.54),inset 0 0 0 0.85px rgba(167,243,208,0.58),inset 0 1px 1.2px rgba(255,255,255,0.72);
}
.th-scope-cnt{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;
  font-family:var(--mono);font-size:10.5px;font-weight:800;font-variant-numeric:tabular-nums;
  color:#FFFFFF;background:rgba(255,255,255,0.18);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.34);
}
.th-scope-btn.cur .th-scope-cnt{
  background:rgba(255,255,255,0.28);
}

/* Описание раздела рекламы + компактная строка каналов и двойной ползунок подписчиков в Лобби */
.prm-head-desc{
  margin:7px 0 0;font-size:12.5px;line-height:1.45;color:rgba(226,240,255,0.78);
}
.prm-page .prm-traf-card{margin-top:4px;margin-bottom:12px;}
.lbc-cnt-inline{
  flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px;
}
.lbc-cnt-inline .lbc-step-single{
  width:auto;max-width:none;margin:0;gap:10px;
}
.lbc-cnt-inline .lbc-stepper button{width:34px;height:34px;border-radius:11px;font-size:17px;}
.lbc-cnt-inline .lbc-stepper b{min-width:28px;font-size:15px;}
.lbc-jm-hint{
  margin-top:6px;font-size:11.5px;line-height:1.42;color:rgba(219,234,254,0.76);
}
.lbc-drange{
  position:relative;height:32px;display:flex;align-items:center;margin:2px 0 0;
}
.lbc-dr-track{
  position:absolute;left:0;right:0;height:6px;border-radius:999px;
  background:rgba(255,255,255,0.14);
  box-shadow:inset 0 1px 2px rgba(0,0,0,0.38);
}
.lbc-dr-fill{
  position:absolute;top:0;bottom:0;border-radius:999px;
  background:linear-gradient(90deg,#38BDF8,#818CF8);
  box-shadow:0 0 12px rgba(56,189,248,0.52);
}
.lbc-dr-in{
  position:absolute;left:0;right:0;width:100%;margin:0;
  -webkit-appearance:none;appearance:none;background:transparent;
  pointer-events:none;height:32px;outline:none;
}
.lbc-dr-in::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;pointer-events:auto;cursor:pointer;
  width:22px;height:22px;border-radius:50%;
  background:linear-gradient(180deg,#FFFFFF 0%,#E0F2FE 100%);
  border:2px solid #38BDF8;
  box-shadow:0 4px 12px rgba(4,8,30,0.55),0 0 10px rgba(56,189,248,0.52);
}
.lbc-dr-in::-moz-range-thumb{
  pointer-events:auto;cursor:pointer;
  width:22px;height:22px;border-radius:50%;
  background:linear-gradient(180deg,#FFFFFF 0%,#E0F2FE 100%);
  border:2px solid #38BDF8;
  box-shadow:0 4px 12px rgba(4,8,30,0.55),0 0 10px rgba(56,189,248,0.52);
}
.lbc-dr-marks{
  display:flex;justify-content:space-between;margin:2px 2px 8px;
  font-family:var(--mono);font-size:10px;color:rgba(219,234,254,0.56);
}
.th-cta-old{opacity:0.56;font-size:11px;font-weight:600;text-decoration:line-through;margin-right:2px;}
.prm-tabs-2{grid-template-columns:1fr 1fr!important;}
.prm-bal-strip{
  display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;
  margin:0 0 10px;
}
.prm-bs-pill{
  display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;
  font-size:12px;color:rgba(226,240,255,0.84);
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(8,14,42,0.34));
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.28),inset 0 0.8px 0.9px rgba(255,255,255,0.44);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.prm-bs-pill b{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;font-variant-numeric:tabular-nums;}
.prm-bs-btn{
  border:0;border-radius:999px;padding:7px 13px;cursor:pointer;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.50),rgba(99,102,241,0.58));
  box-shadow:0 8px 18px -8px rgba(56,189,248,0.55),inset 0 0 0 0.8px rgba(255,255,255,0.48);
  transition:transform .12s ease;
}
.prm-bs-btn:active{transform:scale(0.96);}
.prm-packs-wrap{display:none;margin-bottom:12px;}
.prm-packs-wrap.on{display:block;}

/* Шапка Магазина тем: слева заголовок, справа синий билет-пропуск */
.th-head-row{
  display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding-top:6px;
}
.th-head-row .lg-head{margin-bottom:0;}
.th-pass-pill{
  flex-shrink:0;display:inline-flex;align-items:center;gap:7px;
  padding:7px 13px 7px 10px;border-radius:999px;margin-bottom:2px;
  background:
    radial-gradient(90% 100% at 20% 0%,rgba(56,189,248,0.34),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,0.16),rgba(12,24,68,0.44));
  box-shadow:
    0 10px 24px -10px rgba(37,99,235,0.58),
    inset 0 0 0 0.85px rgba(186,230,253,0.56),
    inset 0 1px 1.2px rgba(255,255,255,0.72);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.th-pass-pill b{
  font-family:var(--display);font-size:15px;font-weight:900;color:#FFFFFF;
  font-variant-numeric:tabular-nums;text-shadow:0 1px 8px rgba(14,165,233,0.45);
}
.pass-tk-svg{display:inline-block;vertical-align:middle;flex-shrink:0;filter:drop-shadow(0 2px 6px rgba(56,189,248,0.55));}
.th-cta.is-def{
  background:linear-gradient(135deg,rgba(16,185,129,0.42),rgba(14,165,233,0.36))!important;
  box-shadow:inset 0 0 0 0.85px rgba(167,243,208,0.58)!important;
}
.ipay-btn.is-def-btn{
  background:linear-gradient(135deg,rgba(56,189,248,0.68),rgba(99,102,241,0.74));
}
.prm-views-pill{
  flex-shrink:0;border:0;cursor:pointer;
  display:inline-flex;align-items:center;gap:7px;
  padding:7px 9px 7px 11px;border-radius:999px;margin-bottom:2px;
  background:
    radial-gradient(95% 110% at 18% 0%,rgba(255,255,255,0.34),transparent 68%),
    linear-gradient(145deg,rgba(56,189,248,0.30) 0%,rgba(99,102,241,0.32) 54%,rgba(30,41,100,0.44) 100%);
  box-shadow:
    0 10px 26px -10px rgba(37,99,235,0.56),
    0 0 18px -6px rgba(125,211,252,0.44),
    inset 0 0 0 0.95px rgba(186,230,253,0.68),
    inset 0 1px 1.5px rgba(255,255,255,0.88);
  backdrop-filter:blur(18px) saturate(165%);-webkit-backdrop-filter:blur(18px) saturate(165%);
  transition:transform .12s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.prm-views-pill:active{transform:scale(0.95);filter:brightness(1.08);}
.prm-views-pill b{
  font-family:var(--display);font-size:14px;font-weight:900;color:#FFFFFF;
  font-variant-numeric:tabular-nums;text-shadow:0 1px 10px rgba(56,189,248,0.55);
}
.prm-views-pill .hcp-p{
  width:21px;height:21px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.26)!important;
  color:#FFFFFF!important;font-size:15px;font-weight:800;line-height:1;
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.58),0 2px 8px rgba(37,99,235,0.38);
}
.eye-view-svg{display:inline-block;vertical-align:middle;flex-shrink:0;filter:drop-shadow(0 0 6px rgba(186,230,253,0.88)) drop-shadow(0 0 12px rgba(99,102,241,0.52));}
.prm-packs-sheet{max-height:84dvh;display:flex;flex-direction:column;}
.prm-packs-sheet .prm-packs{overflow-y:auto;padding-bottom:6px;}
.wl-custom-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;}
.wl-custom-hd .wl-custom-h{margin-bottom:0;}
.wl-custom-lim{font-family:var(--mono);font-size:10.5px;color:rgba(226,240,255,0.62);}
.wl-rng-wrap{margin:10px 0 6px;}
.wl-rng{
  width:100%;height:6px;border-radius:999px;outline:none;cursor:pointer;
  -webkit-appearance:none;appearance:none;
  background:linear-gradient(90deg,rgba(250,204,21,0.45),rgba(244,114,182,0.52));
}
.wl-rng::-webkit-slider-thumb{
  -webkit-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;cursor:pointer;
  background:linear-gradient(180deg,#FEF9C3 0%,#FACC15 100%);
  border:2px solid #FFFFFF;
  box-shadow:0 4px 12px rgba(4,8,30,0.52),0 0 12px rgba(250,204,21,0.55);
}
.wl-rng-marks{display:flex;justify-content:space-between;margin-top:4px;font-family:var(--mono);font-size:9.5px;color:rgba(226,240,255,0.56);}
.wl-qchip.is-neg{
  background:rgba(244,63,94,0.22)!important;color:#FFE4E6!important;
  box-shadow:inset 0 0 0 0.75px rgba(251,113,133,0.48)!important;
}

/* Двойная кнопка покупки темы: Liquid Glass Золотые Короны | Сапфировый Билет-пропуск */
.th-cta-split{
  display:flex;align-items:stretch;gap:6px;width:100%;
}
.th-cta-split.is-pv{gap:9px;}
.th-cta-gold,.th-cta-pass{
  position:relative;border:0;cursor:pointer;overflow:hidden;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  min-height:38px;padding:6px 8px;border-radius:13px;
  font-family:var(--display);font-size:12.5px;font-weight:900;line-height:1;
  font-variant-numeric:tabular-nums;color:#FFFFFF;
  backdrop-filter:blur(12px) saturate(165%);-webkit-backdrop-filter:blur(12px) saturate(165%);
  transition:transform .14s cubic-bezier(.22,1,.36,1),filter .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.th-cta-gold::before,.th-cta-pass::before{
  content:'';position:absolute;left:3px;right:3px;top:1.5px;height:44%;border-radius:11px 11px 16px 16px;
  background:linear-gradient(180deg,rgba(255,255,255,0.44) 0%,rgba(255,255,255,0.06) 100%);
  pointer-events:none;z-index:1;
}
.th-cta-gold::after,.th-cta-pass::after{
  content:'';position:absolute;top:-30%;bottom:-30%;left:-110%;width:90%;pointer-events:none;z-index:1;
  background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,0.05) 22%,rgba(255,255,255,0.26) 50%,rgba(255,255,255,0.05) 78%,transparent 100%);
  animation:thBtnSheen 9.6s ease-in-out infinite;
  will-change:transform;
}
.th-cta-pass::after{animation-delay:-4.8s;}
@keyframes thBtnSheen{
  0%{transform:translate3d(0,0,0);}
  55%{transform:translate3d(340%,0,0);}
  100%{transform:translate3d(340%,0,0);}
}
.th-cta-gold > *,.th-cta-pass > *{position:relative;z-index:2;}
.th-cta-split.is-pv .th-cta-gold,
.th-cta-split.is-pv .th-cta-pass{
  min-height:50px;border-radius:17px;font-size:16px;gap:6px;
}
.th-cta-gold{
  flex:1.38 1 0;
  color:#FFFFFF;
  text-shadow:0 1px 7px rgba(8,14,42,0.58);
  background:
    radial-gradient(120% 110% at 16% 0%,rgba(255,255,255,0.28) 0%,rgba(125,211,252,0.14) 48%,transparent 76%),
    radial-gradient(95% 95% at 88% 100%,rgba(99,102,241,0.36) 0%,transparent 72%),
    linear-gradient(148deg,rgba(44,58,128,0.82) 0%,rgba(26,35,84,0.88) 54%,rgba(52,44,124,0.84) 100%);
  box-shadow:
    0 10px 22px -6px rgba(18,24,68,0.62),
    0 0 12px -4px rgba(125,211,252,0.32),
    inset 0 0 0 0.95px rgba(224,242,254,0.54),
    inset 0 1.2px 1.4px rgba(255,255,255,0.62),
    inset 0 -3px 8px -2px rgba(99,102,241,0.28);
}
.th-cta-gold .th-cta-old{
  color:rgba(224,242,254,0.52);font-size:10px;font-weight:700;margin-right:1px;
}
.th-cta-split.is-pv .th-cta-gold .th-cta-old{font-size:13px;}
.th-cta-pass{
  flex:0.86 1 0;
  color:#FFFFFF;
  text-shadow:0 1px 8px rgba(12,24,68,0.72),0 0 10px rgba(186,230,253,0.34);
  background:
    radial-gradient(110% 110% at 18% 0%,rgba(186,230,253,0.60) 0%,rgba(56,189,248,0.22) 54%,transparent 76%),
    radial-gradient(90% 90% at 86% 100%,rgba(99,102,241,0.64) 0%,transparent 70%),
    linear-gradient(148deg,rgba(56,189,248,0.92) 0%,rgba(37,99,235,0.94) 54%,rgba(49,46,129,0.94) 100%);
  box-shadow:
    0 10px 24px -6px rgba(37,99,235,0.76),
    0 0 14px -4px rgba(56,189,248,0.46),
    inset 0 0 0 1px rgba(186,230,253,0.78),
    inset 0 1.4px 1.6px rgba(255,255,255,0.80),
    inset 0 -3px 8px -2px rgba(30,27,75,0.55);
}
.th-cta-pass.is-dim{filter:saturate(0.86) brightness(0.95);}
.th-cta-gold:active,.th-cta-pass:active{transform:scale(0.94);filter:brightness(1.10);}
.th-cr-glow,.th-pass-glow{
  position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
}
.th-cr-glow::before{
  content:'';position:absolute;inset:-5px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,255,255,0.88) 0%,rgba(254,240,138,0.58) 50%,transparent 78%);
  filter:blur(4px);
}
.th-pass-glow::before{
  content:'';position:absolute;inset:-6px;border-radius:50%;pointer-events:none;
  background:radial-gradient(circle,rgba(255,255,255,0.96) 0%,rgba(186,230,253,0.76) 46%,rgba(56,189,248,0.28) 72%,transparent 86%);
  filter:blur(4.5px);
}
.th-cr-glow > svg,.th-pass-glow > svg{position:relative;z-index:1;}
.th-cr-glow > svg{
  filter:drop-shadow(0 0 3px rgba(255,255,255,0.78)) drop-shadow(0 2px 5px rgba(120,53,15,0.58));
}
.th-pass-glow > svg{
  filter:drop-shadow(0 0 3.5px rgba(255,255,255,0.92)) drop-shadow(0 2px 5px rgba(15,23,62,0.56));
}
/* Стрелки навигации превью на десктопе/вебе + крупная кнопка «Установить по умолчанию» */
.th-pv-nav{
  position:absolute;top:46%;transform:translateY(-50%);z-index:25;
  width:42px;height:42px;border-radius:50%;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:linear-gradient(160deg,rgba(255,255,255,0.24),rgba(10,16,44,0.64));
  box-shadow:0 10px 26px -6px rgba(2,6,24,0.72),inset 0 0 0 0.9px rgba(255,255,255,0.48),inset 0 1px 1.2px rgba(255,255,255,0.68);
  backdrop-filter:blur(16px) saturate(175%);-webkit-backdrop-filter:blur(16px) saturate(175%);
  transition:opacity .18s ease,transform .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.th-pv-nav.prev{left:10px;}
.th-pv-nav.next{right:10px;}
.th-pv-nav.is-hide{opacity:0;pointer-events:none;}
.th-pv-nav:active{transform:translateY(-50%) scale(0.92);}
.th-pv-nav svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;}
.th-pv-dots-bar i{cursor:pointer;}
.th-pv-def-btn{
  position:relative;overflow:hidden;width:100%;height:50px;min-height:50px;border:0;border-radius:17px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--display);font-size:15px;font-weight:800;color:#FFFFFF;
  text-shadow:0 1px 8px rgba(12,24,68,0.62);
  background:
    radial-gradient(110% 110% at 20% 0%,rgba(186,230,253,0.52) 0%,transparent 65%),
    linear-gradient(135deg,rgba(56,189,248,0.88) 0%,rgba(99,102,241,0.92) 100%);
  box-shadow:
    0 12px 26px -8px rgba(56,189,248,0.66),
    inset 0 0 0 1px rgba(255,255,255,0.64),
    inset 0 1.4px 1.6px rgba(255,255,255,0.78);
  transition:transform .14s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.th-pv-def-btn:active{transform:scale(0.97);filter:brightness(1.08);}

/* Обновлённая Liquid Glass карточка профиля: чистая шапка + 2-строчная единая панель действий */
.prof-hero.prof-hero-v2{
  padding-top:22px;padding-bottom:16px;
}
.prof-dock{
  position:relative;z-index:2;
  display:flex;flex-direction:column;gap:8px;
  width:100%;margin-top:14px;padding-top:13px;
  border-top:0.7px solid rgba(255,255,255,0.16);
}
.prof-dock-row2{
  display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;width:100%;
}
.prof-dock-ct,.prof-dock-priv,.prof-dock-del{
  position:relative;border:0;border-radius:16px;cursor:pointer;min-height:44px;overflow:hidden;
  color:#FFFFFF;
  background:linear-gradient(150deg,rgba(255,255,255,0.12) 0%,rgba(4,8,28,0.12) 52%,rgba(255,255,255,0.06) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.42);
  transition:transform .13s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.prof-dock-ct::before,.prof-dock-priv::before,.prof-dock-del::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;padding:0.85px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.68) 0deg,rgba(255,255,255,0.34) 48deg,rgba(255,255,255,0.20) 90deg,rgba(255,255,255,0.36) 132deg,rgba(255,255,255,0.64) 180deg,rgba(255,255,255,0.36) 228deg,rgba(255,255,255,0.20) 270deg,rgba(255,255,255,0.34) 312deg,rgba(255,255,255,0.68) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.prof-dock-ct:active,.prof-dock-priv:active,.prof-dock-del:active{transform:scale(0.97);filter:brightness(1.06);}
.prof-dock-ct{
  display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px 8px 9px;text-align:left;min-width:0;
}
.prof-dock-ct.is-set{
  background:linear-gradient(150deg,rgba(255,255,255,0.13) 0%,rgba(4,8,28,0.12) 52%,rgba(255,255,255,0.06) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.42);
}
.prof-dock-orb{
  flex-shrink:0;width:32px;height:32px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.12);
  border:0.8px solid rgba(255,255,255,0.34);
}
.prof-dock-ct.plat-max .prof-dock-orb{background:rgba(56,189,248,0.28);border-color:rgba(186,230,253,0.48);}
.prof-dock-ct.plat-tg .prof-dock-orb{background:rgba(56,189,248,0.28);border-color:rgba(186,230,253,0.48);}
.prof-dock-orb svg{width:15px;height:15px;display:block;fill:currentColor;stroke:none;}
.prof-dock-ct.is-add .prof-dock-orb svg{fill:none;stroke:currentColor;}
.prof-dock-tx{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1;}
.prof-dock-tx b{
  font-family:var(--display);font-size:12.5px;font-weight:800;line-height:1.2;color:#FFFFFF;
}
.prof-dock-tx small{
  display:inline-flex;align-items:center;gap:5px;
  font-size:11px;line-height:1.2;color:rgba(219,234,254,0.78);
}
.prof-dock-dot{
  width:6px;height:6px;border-radius:50%;flex-shrink:0;
  background:#34D399;box-shadow:0 0 6px #34D399;display:inline-block;
}
.prof-dock-chev{
  width:15px;height:15px;flex-shrink:0;opacity:0.62;
  stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;
}
.prof-dock-priv{
  display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;min-width:0;
  font-family:var(--display);font-size:11.5px;font-weight:700;color:rgba(232,244,255,0.92);
}
.prof-dock-priv svg{
  width:16px;height:16px;flex-shrink:0;
  stroke:#7DD3FC;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
.prof-dock-priv span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.prof-dock-del{
  width:44px;padding:0;
  display:inline-flex;align-items:center;justify-content:center;
  color:rgba(253,164,175,0.88);
  background:linear-gradient(150deg,rgba(244,63,94,0.16) 0%,rgba(4,8,28,0.14) 55%,rgba(244,63,94,0.08) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.42);
}
.prof-dock-del svg{
  width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.95;
  stroke-linecap:round;stroke-linejoin:round;
}

/* Аккуратная симметричная сетка 3x2 фильтров в Магазине тем (все 6 категорий видны сразу) + полный перенос текста на сезонных карточках */
.th-page .th-cats{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;padding:2px 0 12px!important;margin:0!important;
  overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important;
}
.th-page .th-cats .chip{
  width:100%!important;justify-content:center!important;text-align:center!important;
  height:32px!important;padding:0 6px!important;border-radius:11px!important;
  font-size:11px!important;font-weight:700!important;white-space:nowrap!important;
  overflow:hidden;text-overflow:ellipsis;
}
.th-grid{align-items:stretch!important;}
.th-grid .th-card{display:flex!important;flex-direction:column!important;height:100%!important;}
.th-grid .th-card:has(.th-cta-gold:active,.th-cta-pass:active,.th-cta-split:active,.th-cta:active){transform:none!important;}
.th-grid .th-card-ft{flex:1!important;display:flex!important;flex-direction:column!important;justify-content:space-between!important;}
.th-cta.is-locked{
  height:auto!important;min-height:38px!important;padding:8px 10px!important;
  white-space:normal!important;line-height:1.25!important;text-align:left!important;
  flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;gap:6px!important;
}
.th-cta.is-locked svg{flex-shrink:0!important;width:13px!important;height:13px!important;}
.th-cta.is-locked span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:left!important;}
.th-lock-veil .th-lock-tx{
  white-space:normal!important;line-height:1.3!important;text-align:center!important;
  max-width:92%!important;padding:0 6px!important;
}

/* Профиль: Политика конфиденциальности в Настройках + аккуратное Удаление аккаунта в подвале */
.prof-priv-mi .e svg{stroke:#7DD3FC!important;}
.prof-priv-mi .t{white-space:normal!important;line-height:1.25;}
.prof-del-foot{
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;margin-top:12px;padding:13px 16px;border-radius:16px;
  cursor:pointer;position:relative;overflow:hidden;border:0;
  font-family:var(--display);font-size:12.5px;font-weight:700;
  color:rgba(253,164,175,0.88);
  background:linear-gradient(150deg,rgba(244,63,94,0.12) 0%,rgba(4,8,28,0.14) 55%,rgba(244,63,94,0.06) 100%);
  box-shadow:0 8px 18px -10px rgba(4,8,30,0.40);
  backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);
  transition:transform .13s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.prof-del-foot::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;padding:0.85px;
  background:conic-gradient(from 0deg,rgba(253,164,175,0.42) 0deg,rgba(255,255,255,0.18) 90deg,rgba(253,164,175,0.38) 180deg,rgba(255,255,255,0.16) 270deg,rgba(253,164,175,0.42) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.prof-del-foot:active{transform:scale(0.98);filter:brightness(1.08);}
.prof-del-foot svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.95;stroke-linecap:round;stroke-linejoin:round;}

/* Совместный розыгрыш: честная заглушка «Нет фото» у черновиков без картинки */
.lbc-dr-av.ph.is-nophoto{
  width:42px;height:38px;padding:2px;
  background:linear-gradient(150deg,rgba(255,255,255,0.10),rgba(10,16,38,0.22));
  border:1px dashed rgba(255,255,255,0.22);box-shadow:none;
}
.lbc-dr-av.ph.is-nophoto span{
  font-family:var(--body);font-size:8.5px;font-weight:700;line-height:1.12;
  color:rgba(226,238,255,0.68);text-align:center;letter-spacing:0.01em;
}

/* Биржа каналов: кинематографичная FLIP-анимация поднятия объявления на 1-е место */
.lg-mk-card.mp-bump-focus{
  position:relative;
  box-shadow:0 0 0 1.5px rgba(52,211,153,0.72),0 18px 42px -10px rgba(16,185,129,0.45)!important;
  transition:box-shadow .35s ease;
}
.lg-mk-card.mp-bump-flying{
  z-index:30!important;
  will-change:transform;
  box-shadow:0 0 0 2px rgba(110,231,183,0.92),0 28px 56px -10px rgba(16,185,129,0.62),0 0 32px rgba(56,189,248,0.34)!important;
}
.lg-mk-card.mp-bump-landed{
  animation:mpBumpSettle 720ms cubic-bezier(0.22,1,0.36,1);
}
@keyframes mpBumpSettle{
  0%{box-shadow:0 0 0 2px rgba(110,231,183,0.95),0 24px 52px -10px rgba(16,185,129,0.66);}
  60%{box-shadow:0 0 0 1.5px rgba(52,211,153,0.75),0 16px 36px -12px rgba(16,185,129,0.44);}
  100%{box-shadow:0 0 0 1.2px rgba(52,211,153,0.55),0 12px 28px -12px rgba(16,185,129,0.32);}
}
.mp-bump-pill{
  position:absolute;top:10px;right:10px;z-index:22;
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 10px;border-radius:999px;
  background:linear-gradient(135deg,rgba(16,185,129,0.92),rgba(14,165,233,0.88));
  color:#FFFFFF;font-family:var(--display);font-size:10.5px;font-weight:800;letter-spacing:0.01em;
  box-shadow:0 6px 18px rgba(16,185,129,0.48),inset 0 0.8px 0 rgba(255,255,255,0.55);
  pointer-events:none;
  animation:mpPillPop 280ms cubic-bezier(0.22,1,0.36,1);
  transition:opacity .38s ease,transform .38s ease;
}
.mp-bump-pill.is-done{
  background:linear-gradient(135deg,#10B981,#059669);
}
.mp-bump-pill.is-out{opacity:0;transform:translateY(-6px) scale(0.92);}
.mp-bump-pill svg{width:13px;height:13px;stroke:#FFFFFF;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}
@keyframes mpPillPop{from{opacity:0;transform:translateY(6px) scale(0.88);}to{opacity:1;transform:translateY(0) scale(1);}}

/* Топ розыгрышей (только для админа): фильтр-панель и визуальное отличие скрытых / < 10 уч. */
.top-adm-bar{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:8px;
}
.top-adm-chip{
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  height:30px;padding:0 6px;border-radius:10px;border:1px solid rgba(255,255,255,0.14);
  background:rgba(12,18,40,0.34);color:rgba(226,238,255,0.82);
  font-family:var(--body);font-size:11px;font-weight:700;cursor:pointer;
  transition:transform .12s ease,background .15s ease,border-color .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.top-adm-chip b{font-size:10.5px;opacity:0.74;font-weight:800;}
.top-adm-chip.cur{
  background:rgba(56,189,248,0.22);border-color:rgba(125,211,252,0.52);color:#FFFFFF;
}
.top-adm-chip.is-hid.cur{
  background:rgba(236,72,153,0.24);border-color:rgba(244,114,182,0.58);color:#FDF2F8;
}
.top-adm-chip.is-sml.cur{
  background:rgba(245,158,11,0.24);border-color:rgba(251,191,36,0.58);color:#FFFBEB;
}
.top-adm-chip:active{transform:scale(0.96);}

.lg-top-card.is-adm-hidden{
  border:1px dashed rgba(244,114,182,0.50)!important;
  background:linear-gradient(155deg,rgba(88,28,74,0.34) 0%,rgba(16,12,34,0.52) 100%)!important;
  box-shadow:0 10px 24px -14px rgba(236,72,153,0.36),inset 0 0 0 1px rgba(244,114,182,0.16)!important;
}
.lg-top-card.is-adm-hidden::before{opacity:0.35!important;}
.lg-top-card.is-adm-hidden .top-bg{filter:saturate(0.38) brightness(0.72)!important;}

.lg-top-card.is-adm-small{
  border:1px dashed rgba(251,191,36,0.46)!important;
  background:linear-gradient(155deg,rgba(92,58,18,0.28) 0%,rgba(14,18,38,0.48) 100%)!important;
  box-shadow:0 10px 24px -14px rgba(245,158,11,0.30),inset 0 0 0 1px rgba(251,191,36,0.15)!important;
}
.lg-top-card.is-adm-small::before{opacity:0.42!important;}
.lg-top-card.is-adm-small .top-bg{filter:saturate(0.72) brightness(0.84)!important;}

.top-rk.rk-adm-hid{
  background:linear-gradient(145deg,rgba(236,72,153,0.34),rgba(131,24,67,0.52))!important;
  border:1px solid rgba(244,114,182,0.56)!important;
  color:#FBCFE8!important;
}
.top-rk.rk-adm-hid svg{width:15px;height:15px;}
.top-rk.rk-adm-sml{
  background:linear-gradient(145deg,rgba(245,158,11,0.32),rgba(120,53,15,0.48))!important;
  border:1px solid rgba(251,191,36,0.54)!important;
  color:#FDE68A!important;
}
.top-rk.rk-adm-sml span{font-size:10.5px;font-weight:800;letter-spacing:-0.02em;}

.top-adm-badges{
  display:flex;flex-wrap:wrap;gap:5px;margin-bottom:5px;
}
.top-adm-pill{
  display:inline-flex;align-items:center;gap:4px;
  padding:2.5px 8px;border-radius:999px;
  font-family:var(--body);font-size:10px;font-weight:800;letter-spacing:0.01em;
  line-height:1.2;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.top-adm-pill svg{width:11px;height:11px;flex-shrink:0;}
.top-adm-pill.is-hid{
  background:rgba(236,72,153,0.26);border:1px solid rgba(244,114,182,0.52);color:#FCE7F3;
}
.top-adm-pill.is-sml{
  background:rgba(245,158,11,0.24);border:1px solid rgba(251,191,36,0.50);color:#FEF3C7;
}

/* Профиль: деликатный ID пользователя под ником + блеклая иконка копирования */
.prof-uid{
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  margin-top:3px;padding:2px 8px;border:0;border-radius:999px;
  background:transparent;cursor:pointer;
  font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:0.03em;
  color:rgba(219,234,254,0.46);
  transition:color .16s ease,background .16s ease,transform .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.prof-uid:hover{color:rgba(219,234,254,0.72);background:rgba(255,255,255,0.06);}
.prof-uid:active{transform:scale(0.95);color:rgba(255,255,255,0.88);}
.prof-uid-ic{width:12px;height:12px;opacity:0.68;flex-shrink:0;transition:opacity .16s ease,color .16s ease;}
.prof-uid.is-copied{color:#6EE7B7;}
.prof-uid.is-copied .prof-uid-ic{opacity:1;color:#34D399;}

.prof-rk-tag{
  display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:4px 11px 4px 8px;
  border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(135deg,rgba(57,169,249,0.28),rgba(37,99,235,0.28));
  box-shadow:inset 0 0 0 0.85px rgba(186,230,253,0.52),0 6px 16px -6px rgba(57,169,249,0.52);
  color:#FFFFFF;font-family:var(--display);font-size:11.5px;font-weight:800;line-height:1.2;
  transition:transform .12s ease,filter .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.prof-rk-tag .prof-rk-ic{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;}
.prof-rk-tag .prof-rk-ic .rk-svg{width:16px;height:16px;display:block;}
.prof-rk-tag b{
  padding:1.5px 6px;border-radius:999px;font-family:var(--mono,ui-monospace,monospace);font-size:9.5px;font-weight:800;
  background:rgba(255,255,255,0.18);color:#FFFFFF;
}
.prof-rk-tag:active{transform:scale(0.95);}
/* Точное совпадение цветов ранга в профиле с карточками на странице «Уровень и опыт» */
.prof-rk-tag.rk-0{
  background:linear-gradient(135deg,rgba(56,189,248,0.28),rgba(52,211,153,0.24));
  box-shadow:inset 0 0 0 0.85px rgba(165,243,252,0.54),0 6px 16px -6px rgba(56,189,248,0.48);
  color:#ECFEFF;
}
.prof-rk-tag.rk-1{
  background:linear-gradient(135deg,rgba(57,169,249,0.34),rgba(37,99,235,0.32));
  box-shadow:inset 0 0 0 0.85px rgba(186,230,253,0.58),0 6px 16px -6px rgba(57,169,249,0.56);
  color:#E0F2FE;
}
.prof-rk-tag.rk-2{
  background:linear-gradient(135deg,rgba(129,140,248,0.34),rgba(124,58,237,0.32));
  box-shadow:inset 0 0 0 0.85px rgba(199,210,254,0.56),0 6px 16px -6px rgba(129,140,248,0.56);
  color:#EEF2FF;
}
.prof-rk-tag.rk-3{
  background:linear-gradient(135deg,rgba(192,132,252,0.34),rgba(147,51,234,0.34));
  box-shadow:inset 0 0 0 0.85px rgba(233,213,255,0.56),0 6px 16px -6px rgba(192,132,252,0.56);
  color:#FAF5FF;
}
.prof-rk-tag.rk-4{
  background:linear-gradient(135deg,rgba(244,114,182,0.34),rgba(225,29,72,0.32));
  box-shadow:inset 0 0 0 0.85px rgba(251,207,232,0.56),0 6px 16px -6px rgba(244,114,182,0.56);
  color:#FFF1F2;
}
.prof-rk-tag.rk-5,.prof-rk-tag.king{
  background:linear-gradient(135deg,rgba(250,204,21,0.36),rgba(245,158,11,0.32));
  box-shadow:inset 0 0 0 0.9px rgba(254,240,138,0.66),0 6px 18px -6px rgba(250,204,21,0.58);
  color:#FEFCE8;
}
.prof-bento.is-single{grid-template-columns:minmax(0,1fr)!important;}
.xp-gseg{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 10px;border-radius:14px;margin:0 0 10px;
  background:rgba(255,255,255,0.06);border:0.75px solid rgba(255,255,255,0.14);
}
.xp-gseg-l{font-size:11.5px;font-weight:700;color:rgba(224,242,254,0.82);}
.xp-gseg-btns{display:flex;gap:4px;background:rgba(6,12,34,0.45);padding:3px;border-radius:10px;}
.xp-gbtn{
  border:0;border-radius:8px;padding:5px 10px;cursor:pointer;background:transparent;
  color:rgba(224,242,254,0.74);font-family:var(--display);font-size:10.5px;font-weight:800;
}
.xp-gbtn.cur{
  background:linear-gradient(135deg,rgba(56,189,248,0.52),rgba(99,102,241,0.58));color:#FFFFFF;
}

/* Профиль: ультра-компактная горизонтальная 2-колоночная пара («Ранг» + «Связь указана») */
.prof-bento{
  position:relative;z-index:2;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;
  width:100%;margin-top:12px;align-items:stretch;
}
.prof-hero .prof-bento .prof-bento-rk{
  margin:0!important;padding:8px 9px 7px!important;border-radius:14px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  gap:6px!important;min-height:52px!important;height:100%!important;
  text-align:left!important;min-width:0!important;animation:none!important;
}
.prof-hero .prof-bento .prof-bento-ct{
  margin:0!important;padding:8px 8px 8px 9px!important;border-radius:14px!important;
  display:flex!important;flex-direction:row!important;align-items:center!important;
  gap:7px!important;min-height:52px!important;height:100%!important;
  text-align:left!important;min-width:0!important;animation:none!important;
}
.prof-bt-row{
  display:flex;align-items:center;gap:7px;width:100%;min-width:0;
}
.prof-hero .prof-bento-rk .xp-em{
  width:26px!important;height:26px!important;border-radius:8px!important;flex-shrink:0;
}
.prof-hero .prof-bento-rk .xp-em .rk-svg{width:17px!important;height:17px!important;}
.prof-hero .prof-bento-rk .prof-rk-q{
  flex:0 0 17px!important;width:17px!important;height:17px!important;font-size:9.5px!important;
}
.prof-bt-body{display:flex;flex-direction:column;gap:1px;min-width:0;flex:1;}
.prof-hero .prof-bento-rk .xp-rn{
  font-size:11.5px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.prof-hero .prof-bento-rk .xp-rk-sub{
  font-size:9px!important;line-height:1.15!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.prof-hero .prof-bento-rk .xp-rk-bar{margin-top:0!important;height:3px!important;}
.prof-hero .prof-bento-ct .prof-dock-orb{width:26px;height:26px;border-radius:8px;}
.prof-hero .prof-bento-ct .prof-dock-orb svg{width:13px;height:13px;}
.prof-hero .prof-bento-ct .prof-dock-tx{gap:1px;flex:1;min-width:0;}
.prof-hero .prof-bento-ct .prof-dock-tx b{
  font-size:11px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.prof-hero .prof-bento-ct .prof-dock-tx small{
  font-size:9.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.prof-hero .prof-bento-ct .prof-dock-chev{width:13px;height:13px;}

/* Реклама: пример размещения баннера на стандартной странице участия */
.prm-demo-wrap{
  margin:0 0 11px;border-radius:18px;overflow:hidden;
  background:linear-gradient(155deg,rgba(255,255,255,0.11) 0%,rgba(12,20,52,0.34) 100%);
  box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.28),0 10px 24px -14px rgba(4,8,30,0.48);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.prm-demo-wrap summary{
  list-style:none;cursor:pointer;padding:12px 14px;
  display:flex;align-items:center;gap:10px;
  -webkit-tap-highlight-color:transparent;
}
.prm-demo-wrap summary::-webkit-details-marker{display:none;}
.prm-dm-ic{
  width:34px;height:34px;border-radius:11px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(125,211,252,0.26),rgba(99,102,241,0.22));
  border:0.8px solid rgba(224,242,254,0.42);
}
.prm-dm-tx{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;}
.prm-dm-tx b{font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.prm-dm-tx small{font-size:11px;color:rgba(219,234,254,0.74);line-height:1.25;}
.prm-dm-chev{width:16px;height:16px;color:rgba(219,234,254,0.68);flex-shrink:0;transition:transform .2s ease;}
.prm-demo-wrap[open] .prm-dm-chev{transform:rotate(180deg);}
.prm-demo-body{padding:0 12px 13px;}
.prm-demo-screen{
  border-radius:18px;padding:15px 13px 13px;position:relative;overflow:hidden;
  background:
    radial-gradient(92% 68% at 50% 0%,rgba(56,189,248,0.34),transparent 66%),
    radial-gradient(80% 60% at 90% 85%,rgba(99,102,241,0.28),transparent 70%),
    linear-gradient(162deg,#091230 0%,#122354 48%,#081028 100%);
  border:1px solid rgba(186,230,253,0.30);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.24),0 14px 28px -12px rgba(2,6,22,0.72);
}
.prm-dm-hero{text-align:center;margin-bottom:12px;}
.prm-dm-chk{
  width:42px;height:42px;border-radius:14px;margin:0 auto 7px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,#38BDF8,#2563EB);
  box-shadow:0 8px 20px -6px rgba(37,99,235,0.72),inset 0 1px 0 rgba(255,255,255,0.45);
}
.prm-dm-chk svg{width:22px;height:22px;}
.prm-dm-h1{font-family:var(--display);font-size:15px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.prm-dm-sub{font-size:11px;color:rgba(219,234,254,0.78);margin-top:3px;}
.prm-dm-ticket{
  border-radius:16px;padding:12px;
  background:rgba(255,255,255,0.08);border:0.9px solid rgba(255,255,255,0.18);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.prm-dm-tlbl{font-family:var(--mono);font-size:8.5px;font-weight:700;letter-spacing:0.18em;color:#7DD3FC;}
.prm-dm-tnum{font-family:var(--display);font-size:20px;font-weight:900;color:#FFFFFF;line-height:1.15;margin:3px 0 10px;}
.prm-dm-ad{
  border-radius:14px;padding:11px 12px;text-align:left;
  background:linear-gradient(155deg,rgba(56,189,248,0.16) 0%,rgba(12,18,46,0.52) 100%);
  border:1px solid rgba(125,211,252,0.42);
  box-shadow:0 8px 20px -10px rgba(14,165,233,0.45),inset 0 1px 0 rgba(255,255,255,0.22);
}
.prm-dm-ad-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.prm-dm-ad-tag{
  font-family:var(--mono);font-size:9px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;
  color:#BAE6FD;padding:2px 7px;border-radius:999px;background:rgba(56,189,248,0.20);
}
.prm-dm-ad-off{font-size:9.5px;color:rgba(219,234,254,0.56);text-decoration:underline;}
.prm-dm-ad-ttl{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;margin-bottom:3px;}
.prm-dm-ad-desc{font-size:11px;line-height:1.4;color:rgba(226,240,255,0.80);margin-bottom:9px;}
.prm-dm-ad-btn{
  display:flex;align-items:center;justify-content:center;gap:6px;
  padding:8px 12px;border-radius:11px;
  background:linear-gradient(135deg,#38BDF8,#2563EB);
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  box-shadow:0 6px 14px -6px rgba(37,99,235,0.62);
}
.prm-dm-ad-btn svg{width:13px;height:13px;stroke:#FFFFFF;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;}
.prm-dm-ad-mark,.prmed-prev-mark{
  margin-top:7px;font-size:9.5px;line-height:1.35;color:rgba(219,234,254,0.58);
  word-break:break-word;
}
.prmed-mark-box{
  display:flex;flex-direction:column;gap:9px;padding:11px;border-radius:14px;
  background:rgba(56,189,248,0.07);border:0.8px solid rgba(186,230,253,0.22);
}
.prmed-mark-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;}
.prmed-mark-hd b{font-family:var(--display);font-size:11.5px;font-weight:800;color:#E0F2FE;}
.prmed-mark-hd span{
  padding:2px 7px;border-radius:999px;font-family:var(--mono);font-size:9px;font-weight:700;
  color:rgba(219,234,254,0.72);background:rgba(255,255,255,0.08);
}

/* Магазин тем: флагманский слот «Собственная тема» (1 000 Корон) + Конструктор тем */
.cth-hero-slot{
  position:relative;overflow:hidden;border-radius:22px;padding:13px;margin:0 0 13px;
  display:flex;align-items:stretch;gap:12px;
  background:
    radial-gradient(90% 100% at 10% 0%,rgba(56,189,248,0.28),transparent 62%),
    radial-gradient(90% 100% at 96% 100%,rgba(168,85,247,0.28),transparent 62%),
    linear-gradient(155deg,rgba(255,255,255,0.14) 0%,rgba(10,16,42,0.52) 100%);
  box-shadow:0 16px 34px -16px rgba(56,189,248,0.52),inset 0 1px 0 rgba(255,255,255,0.42);
  backdrop-filter:blur(22px) saturate(155%);-webkit-backdrop-filter:blur(22px) saturate(155%);
}
.cth-hero-slot::before{
  content:'';position:absolute;inset:0;border-radius:inherit;padding:1.1px;pointer-events:none;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.78) 0deg,rgba(56,189,248,0.68) 72deg,rgba(244,114,182,0.56) 150deg,rgba(250,204,21,0.68) 230deg,rgba(168,85,247,0.64) 300deg,rgba(255,255,255,0.78) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.cth-mini-pv{
  position:relative;flex:0 0 86px;min-height:112px;border-radius:15px;overflow:hidden;
  background:
    radial-gradient(90% 70% at 50% 12%,var(--cth-acc,#38BDF8),transparent 72%),
    linear-gradient(160deg,#081434 0%,#1A1244 100%);
  background-size:cover;background-position:center;
  border:0.9px solid rgba(255,255,255,0.34);
  display:flex;align-items:center;justify-content:center;
}
.cth-mini-veil{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(4,8,24,0.18) 0%,rgba(4,8,24,0.58) 100%);
}
.cth-mini-in{
  position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;
}
.cth-mini-spark{
  width:34px;height:34px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.18);border:0.8px solid rgba(255,255,255,0.48);color:#FFFFFF;
  box-shadow:0 6px 16px rgba(56,189,248,0.42);
}
.cth-mini-spark svg{width:18px;height:18px;}
.cth-mini-tk{
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.06em;
  color:#FFFFFF;padding:3px 7px;border-radius:7px;
  background:rgba(255,255,255,0.16);border:0.7px solid rgba(255,255,255,0.32);
}
.cth-hero-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:5px;}
.cth-tag{
  align-self:flex-start;font-family:var(--mono);font-size:9px;font-weight:800;
  letter-spacing:0.08em;text-transform:uppercase;padding:2.5px 8px;border-radius:999px;
}
.cth-tag.is-ex{background:rgba(250,204,21,0.22);border:0.8px solid rgba(254,240,138,0.52);color:#FEF08A;}
.cth-tag.is-ok{background:rgba(16,185,129,0.24);border:0.8px solid rgba(110,231,183,0.52);color:#D1FAE5;}
.cth-tag.is-pend{background:rgba(245,158,11,0.24);border:0.8px solid rgba(251,191,36,0.54);color:#FEF3C7;}
.cth-tag.is-rej{background:rgba(244,63,94,0.24);border:0.8px solid rgba(251,113,133,0.54);color:#FFE4E6;}
.cth-hero-ttl{font-family:var(--display);font-size:15.5px;font-weight:900;color:#FFFFFF;line-height:1.18;}
.cth-hero-sub{font-size:11px;line-height:1.35;color:rgba(224,242,254,0.78);}
.cth-hero-acts{display:flex;align-items:center;gap:6px;margin-top:4px;flex-wrap:nowrap;}
.cth-btn-buy,.cth-btn-main,.cth-btn-sec{
  border:0;border-radius:12px;height:35px;padding:0 11px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;
  font-family:var(--display);font-size:11.5px;font-weight:800;color:#FFFFFF;
  white-space:nowrap!important;flex-shrink:0;
  transition:transform .12s ease,filter .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.cth-btn-buy{
  flex:1;min-width:0;
  background:linear-gradient(135deg,rgba(251,191,36,0.44) 0%,rgba(217,119,6,0.48) 54%,rgba(245,158,11,0.42) 100%);
  box-shadow:inset 0 0 0 0.85px rgba(254,240,138,0.62),0 8px 18px -8px rgba(245,158,11,0.52);
}
.cth-btn-buy b{white-space:nowrap!important;font-variant-numeric:tabular-nums;}
.cth-btn-main{
  flex:1;min-width:120px;
  background:linear-gradient(135deg,rgba(56,189,248,0.58),rgba(99,102,241,0.64));
  box-shadow:inset 0 0 0 0.85px rgba(224,242,254,0.62),0 8px 18px -8px rgba(56,189,248,0.52);
}
.cth-btn-sec{
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.28);
  color:rgba(232,244,255,0.92);
}
.cth-btn-sec.is-def{
  background:rgba(16,185,129,0.28);box-shadow:inset 0 0 0 0.85px rgba(110,231,183,0.56);color:#D1FAE5;
}
.cth-btn-buy:active,.cth-btn-main:active,.cth-btn-sec:active{transform:scale(0.96);}

/* Полноэкранный Конструктор темы (100% ширина без выглядывания соседнего слайда и дёрганья страницы) */
.cth-studio-ov{padding:0!important;overscroll-behavior:none;overscroll-behavior-y:none;touch-action:none;}
.cth-fs{position:relative;overscroll-behavior:none;overscroll-behavior-y:none;touch-action:pan-y;}
.cth-fs .th-pv-nav{top:42%;}
.cth-fs-track{
  position:absolute!important;inset:0;width:100%;height:100%;flex:none!important;
  display:block!important;overflow:hidden!important;padding:0!important;gap:0!important;
  scroll-snap-type:none!important;overscroll-behavior:none;touch-action:pan-y;
}
.cth-fs-track .th-pv-slide{
  position:absolute;inset:0;width:100%!important;height:100%!important;flex:none!important;
  border-radius:0!important;box-shadow:none!important;
  opacity:0;pointer-events:none;z-index:1;
  transition:opacity .18s ease;
}
.cth-fs-track .th-pv-slide.is-cur{
  opacity:1;pointer-events:auto;z-index:2;
}
.cth-dock{
  position:absolute;left:8px;right:8px;bottom:calc(8px + env(safe-area-inset-bottom,0px));z-index:22;
  padding:10px 12px 11px;
  border-radius:26px;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,0.11) 0%,rgba(6,12,34,0.34) 52%,rgba(255,255,255,0.06) 100%);
  backdrop-filter:blur(20px) saturate(165%) brightness(0.92);
  -webkit-backdrop-filter:blur(20px) saturate(165%) brightness(0.92);
  border:0;
  box-shadow:
    0 24px 48px -14px rgba(4,8,30,0.68),
    0 6px 18px -6px rgba(4,8,30,0.40),
    inset 0 0.75px 1.1px rgba(255,255,255,0.48),
    inset 0 -2.4px 6.5px -1px rgba(255,255,255,0.26),
    inset 0 0 9px -2px rgba(255,255,255,0.16),
    inset 0.9px 0 1.8px rgba(0,0,0,0.22),
    inset -0.9px 0 1.8px rgba(0,0,0,0.22);
  display:flex;flex-direction:column;gap:8px;
  overscroll-behavior:none;touch-action:none;
  transform:translateZ(0);will-change:transform;
}
.cth-dock::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:4;padding:0.75px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.58) 0deg,rgba(255,255,255,0.30) 44deg,rgba(255,255,255,0.22) 90deg,rgba(255,255,255,0.34) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.32) 224deg,rgba(255,255,255,0.22) 270deg,rgba(255,255,255,0.30) 316deg,rgba(255,255,255,0.58) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
.cth-dock > *{position:relative;z-index:2;}
.cth-top-l{
  position:absolute;left:0;top:50%;transform:translateY(-50%);
  display:inline-flex;align-items:center;gap:5px;z-index:2;
}
.cth-wow-undo{
  width:25px;height:25px;padding:0;border:0;border-radius:999px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;
  color:#FFFFFF;
  background:linear-gradient(125deg,#38BDF8 0%,#818CF8 42%,#E879F9 84%,#FB7185 100%);
  background-size:200% 200%;
  box-shadow:0 6px 16px -4px rgba(232,121,249,0.68),0 0 12px -2px rgba(56,189,248,0.52),inset 0 1px 1px rgba(255,255,255,0.68);
  animation:wowGradFlow 4.2s ease infinite,cthUndoPop 200ms cubic-bezier(.22,1,.36,1) both;
  -webkit-tap-highlight-color:transparent;
  transition:transform .12s ease;
}
.cth-wow-undo[hidden]{display:none!important;}
.cth-wow-undo svg{width:13px;height:13px;display:block;filter:drop-shadow(0 1px 4px rgba(15,10,42,0.55));}
.cth-wow-undo:active{transform:scale(0.9);}
@keyframes cthUndoPop{from{opacity:0;transform:scale(0.65);}to{opacity:1;transform:scale(1);}}
.cth-wow-btn.is-magic{
  position:relative!important;left:auto!important;top:auto!important;transform:none!important;overflow:hidden;border:0!important;padding:5px 10px 5px 9px!important;
  background:linear-gradient(115deg,#38BDF8 0%,#818CF8 28%,#E879F9 56%,#FB7185 78%,#FACC15 100%)!important;
  background-size:240% 240%!important;
  color:#FFFFFF!important;text-shadow:0 1px 6px rgba(15,10,42,0.55);
  box-shadow:0 6px 18px -4px rgba(232,121,249,0.72),0 0 14px -2px rgba(56,189,248,0.55),inset 0 1px 1px rgba(255,255,255,0.68)!important;
  animation:wowGradFlow 4.2s ease infinite;
}
.cth-wow-btn.is-magic:active{transform:scale(0.95)!important;}
.cth-wow-btn.is-magic::after{
  content:'';position:absolute;top:-40%;left:0;width:44%;height:180%;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.52),transparent);
  will-change:transform,opacity;
  animation:wowShimmer 3.2s ease-in-out infinite;
}
.cth-wow-btn.is-magic svg{position:relative;z-index:1;animation:wowSpinStar 3.8s ease-in-out infinite;}
.cth-wow-btn.is-magic span{position:relative;z-index:1;}
.cth-wow-btn.is-magic .wow-sp{
  position:absolute;z-index:2;pointer-events:none;font-size:8px;line-height:1;color:#FFFBEB;
  text-shadow:0 0 6px #FFFFFF,0 0 10px #FDE047;
  animation:wowSpark 2.1s ease-in-out infinite;
}
.cth-wow-btn.is-magic .sp1{top:2px;left:4px;animation-delay:0s;}
.cth-wow-btn.is-magic .sp2{bottom:1px;right:6px;font-size:7px;animation-delay:0.75s;}
.cth-wow-btn.is-magic .sp3{top:1px;right:22px;font-size:6.5px;animation-delay:1.4s;}
@keyframes wowGradFlow{0%,100%{background-position:0% 50%;}50%{background-position:100% 50%;}}
@keyframes wowShimmer{0%,20%{transform:translate3d(-140%,0,0) skewX(-24deg);opacity:0;}45%{opacity:1;}70%,100%{transform:translate3d(340%,0,0) skewX(-24deg);opacity:0;}}
@keyframes wowSpark{0%,100%{opacity:0;transform:scale(0.4) rotate(0deg);}50%{opacity:1;transform:scale(1.15) rotate(25deg);}}
@keyframes wowSpinStar{0%,100%{transform:rotate(0deg) scale(1);}50%{transform:rotate(14deg) scale(1.12);}}
.cth-up-row{display:flex;align-items:center;gap:6px;}
.cth-up-hero{
  flex:1;height:36px;padding:0 13px;border:0;border-radius:11px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.68),rgba(99,102,241,0.74));
  box-shadow:0 8px 18px -6px rgba(56,189,248,0.52),inset 0 0 0 0.9px rgba(224,242,254,0.68),inset 0 1px 0 rgba(255,255,255,0.45);
  -webkit-tap-highlight-color:transparent;
}
.cth-up-hero svg{width:15px;height:15px;flex-shrink:0;}
.cth-up-hero.is-dis{opacity:0.48;cursor:not-allowed;}
.cth-up-hero:active{transform:scale(0.98);}
.cth-clr-pill{height:36px;padding:0 12px;}
.cth-dock-top{
  position:relative;display:flex;align-items:center;justify-content:center;min-height:26px;
}
.cth-top-r{
  position:absolute;right:0;top:50%;transform:translateY(-50%);
  display:inline-flex;align-items:center;gap:5px;
}
.cth-bg-tog,.cth-dock-tog{
  border:0;border-radius:999px;padding:4px 10px;cursor:pointer;
  background:linear-gradient(180deg,rgba(255,255,255,0.12),rgba(255,255,255,0.03) 54%,rgba(255,255,255,0.07) 100%);
  color:rgba(240,248,255,0.92);
  font-family:var(--body);font-size:10.5px;font-weight:700;
  box-shadow:0 6px 14px -6px rgba(0,0,0,0.36),inset 0 0.6px 0.9px rgba(255,255,255,0.44),inset 0 -1.5px 4px -1px rgba(255,255,255,0.24);
  -webkit-tap-highlight-color:transparent;
  transition:background .15s ease,transform .1s ease;
}
.cth-bg-tog.cur{
  background:linear-gradient(180deg,rgba(56,189,248,0.42),rgba(99,102,241,0.34));
  color:#FFFFFF;box-shadow:0 6px 14px -6px rgba(56,189,248,0.52),inset 0 0.65px 1px rgba(255,255,255,0.58);
}
.cth-bg-tog:active,.cth-dock-tog:active{transform:scale(0.94);}
.cth-bg-drawer{
  display:none;flex-direction:column;gap:7px;padding:0 0 8px;margin-bottom:6px;
  border-bottom:0.75px solid rgba(255,255,255,0.14);
}
.cth-bg-drawer.on{display:flex;}
.cth-ios-tray{
  max-height:none!important;overflow:visible!important;padding-bottom:2px;gap:7px;
}

/* Вкладки категорий в стиле Liquid Glass сверху над единым iPhone-слайдером */
.ios-cat-strip{
  display:flex;align-items:center;gap:5px;overflow-x:auto;overflow-y:hidden;
  padding:2px 2px 3px;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;overscroll-behavior-y:none;touch-action:pan-x;
  cursor:grab;user-select:none;
}
.ios-cat-strip.is-dragging{cursor:grabbing;}
.ios-cat-strip::-webkit-scrollbar{display:none;}
.ios-cat-tab{
  flex:0 0 auto;height:28px;padding:0 12px;border:0;border-radius:999px;cursor:pointer;
  background:linear-gradient(180deg,rgba(255,255,255,0.09),rgba(255,255,255,0.02) 55%,rgba(255,255,255,0.05) 100%);
  color:rgba(226,240,255,0.78);
  font-family:var(--display);font-size:10.5px;font-weight:800;letter-spacing:0.01em;
  white-space:nowrap;
  box-shadow:inset 0 0.6px 0.9px rgba(255,255,255,0.28),inset 0 -1.2px 3px -1px rgba(255,255,255,0.14);
  transition:background .16s ease,color .16s ease,transform .12s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.ios-cat-tab.cur{
  background:linear-gradient(180deg,rgba(255,255,255,0.26) 0%,rgba(56,189,248,0.24) 55%,rgba(255,255,255,0.16) 100%);
  color:#FFFFFF;text-shadow:0 1px 6px rgba(6,16,52,0.52);
  box-shadow:0 8px 18px -6px rgba(56,189,248,0.48),inset 0 0.7px 1px rgba(255,255,255,0.68),inset 0 -1.8px 5px -1px rgba(255,255,255,0.34);
}
.ios-cat-tab:active{transform:scale(0.94);}

/* Единый Apple iOS 3D-диал в стиле Liquid Glass (без контейнера вокруг выбранного и без полосок) */
.ios-dial-wrap{
  position:relative;display:flex;flex-direction:column;gap:2px;
  padding:5px 2px 6px;border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,0.07) 0%,rgba(4,8,28,0.12) 54%,rgba(255,255,255,0.04) 100%);
  box-shadow:inset 0 0.65px 1px rgba(255,255,255,0.32),inset 0 -2px 5px -1px rgba(255,255,255,0.18),inset 0.75px 0 1.5px rgba(0,0,0,0.18),inset -0.75px 0 1.5px rgba(0,0,0,0.18);
}
.ios-dial-stage{
  display:flex;align-items:center;gap:2px;
}
.ios-dial-arrow{
  flex:0 0 26px;width:26px;height:40px;padding:0;border:0;border-radius:10px;cursor:pointer;
  background:transparent;color:rgba(232,244,255,0.64);
  font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center;
  transition:background .14s ease,color .14s ease,transform .1s ease;
  -webkit-tap-highlight-color:transparent;
}
.ios-dial-arrow:active{transform:scale(0.86);background:rgba(255,255,255,0.12);color:#FFFFFF;}
.ios-dial-vp{
  position:relative;flex:1;min-width:0;height:42px;overflow:hidden;
  perspective:520px;touch-action:none;user-select:none;cursor:grab;
  mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);
}
.ios-dial-vp.is-drag{cursor:grabbing;}
.ios-dial-vp.is-warp .ios-dial-items{
  animation:iosDialWarp 270ms cubic-bezier(.22,1,.36,1) both;
}
@keyframes iosDialWarp{
  0%{opacity:0.14;transform:scale(0.88) translate3d(0,6px,0);filter:brightness(1.38);}
  58%{opacity:1;transform:scale(1.025) translate3d(0,-1px,0);filter:brightness(1.12);}
  100%{opacity:1;transform:scale(1) translate3d(0,0,0);filter:brightness(1);}
}
.ios-dial-items{
  position:absolute;left:0;right:0;top:50%;height:0;
  transform-style:preserve-3d;z-index:2;
}
.ios-dial-it{
  position:absolute;left:50%;top:0;height:34px;padding:0 12px;border:0;border-radius:999px;
  background:transparent;color:rgba(226,240,255,0.78);cursor:pointer;
  font-family:var(--body);font-size:13.5px;font-weight:700;white-space:nowrap;
  display:inline-flex;align-items:center;justify-content:center;
  will-change:transform,opacity;
  -webkit-tap-highlight-color:transparent;
}
.ios-dial-it.cur{
  color:#FFFFFF;font-weight:800;font-size:14.5px;
  text-shadow:0 0 14px rgba(186,230,253,0.68),0 1px 6px rgba(4,10,32,0.58);
}
.ios-dial-it.is-col{width:34px;height:34px;padding:0;}
.ios-dial-foot{
  display:flex;align-items:center;justify-content:center;min-height:16px;
}
.ios-dial-cnt{
  display:inline-flex;align-items:center;justify-content:center;
  padding:1.5px 8px;border-radius:999px;
  font-family:var(--mono,ui-monospace,monospace);font-size:9.5px;font-weight:800;letter-spacing:0.04em;
  color:rgba(224,242,254,0.78);
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0.5px 0.8px rgba(255,255,255,0.32);
}
.ios-wh-orb{
  width:22px;height:22px;border-radius:50%;display:block;
  border:1.6px solid rgba(255,255,255,0.36);
  transition:transform .16s ease,border-color .16s ease;
}
.ios-dial-it.is-col.cur .ios-wh-orb{
  transform:scale(1.22);border:2.3px solid #FFFFFF;
}
.cth-dock-ios .cth-dock-ft{border-top:0.75px solid rgba(255,255,255,0.14);padding-top:7px;}
.cth-dock-ios .cth-name-in{
  background:linear-gradient(180deg,rgba(255,255,255,0.10),rgba(4,8,28,0.16));
  border:0;
  box-shadow:inset 0 0.65px 1px rgba(255,255,255,0.34),inset 0 -1.5px 4px -1px rgba(255,255,255,0.14);
}
.cth-dock-ios .cth-save-btn{
  background:linear-gradient(180deg,rgba(255,255,255,0.22) 0%,rgba(56,189,248,0.34) 55%,rgba(99,102,241,0.38) 100%)!important;
  box-shadow:0 10px 22px -8px rgba(56,189,248,0.52),inset 0 0.75px 1px rgba(255,255,255,0.64),inset 0 -2px 5px -1px rgba(255,255,255,0.30)!important;
}
.cth-dock-tabs{
  display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;
}
.cth-dtab{
  height:30px;padding:0 2px;border:0;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,0.08);color:rgba(226,240,255,0.82);
  font-family:var(--display);font-size:9px;font-weight:800;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
  transition:background .14s ease,color .14s ease,transform .1s ease;
  -webkit-tap-highlight-color:transparent;
}
.cth-dtab.cur{
  background:linear-gradient(135deg,rgba(56,189,248,0.40),rgba(99,102,241,0.44));
  color:#FFFFFF;box-shadow:inset 0 0 0 0.85px rgba(186,230,253,0.62);
}
.cth-dtab:active{transform:scale(0.95);}
.cth-dock-tray{
  display:flex;flex-direction:column;
  max-height:210px;overflow-y:auto;overflow-x:hidden;padding-bottom:6px;
  scrollbar-width:thin;scrollbar-color:rgba(186,230,253,0.34) transparent;
}
.cth-dock.is-min .cth-dock-tray{display:none;}
.cth-pane{display:none;flex-direction:column;gap:7px;}
.cth-pane.on{display:flex;}
.cth-hstrip{
  display:flex;align-items:center;flex-wrap:wrap;gap:6px;
  max-height:none;overflow:visible;padding:2px 1px 4px;
}
.cth-dock-ft{
  display:flex;padding-top:6px;border-top:0.75px solid rgba(255,255,255,0.12);
}
.cth-sw-strip{gap:9px;padding:4px 2px;max-height:none;overflow:visible;}
.cth-up-pill,.cth-clr-pill{
  flex:0 0 auto;height:30px;padding:0 11px;border:0;border-radius:10px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
  -webkit-tap-highlight-color:transparent;
}
.cth-up-pill{
  background:linear-gradient(135deg,rgba(56,189,248,0.48),rgba(99,102,241,0.52));
  box-shadow:inset 0 0 0 0.85px rgba(224,242,254,0.56);
}
.cth-up-pill.is-dis{opacity:0.46;cursor:not-allowed;}
.cth-clr-pill{background:rgba(244,63,94,0.26);color:#FFE4E6;}
.cth-mod-note{padding:5px 9px;border-radius:9px;font-size:10.5px;line-height:1.3;}
.cth-mod-note.is-pend{background:rgba(245,158,11,0.16);border:0.8px solid rgba(251,191,36,0.42);color:#FEF3C7;}
.cth-mod-note.is-ok{background:rgba(16,185,129,0.16);border:0.8px solid rgba(52,211,153,0.42);color:#D1FAE5;}
.cth-mod-note.is-rej{background:rgba(244,63,94,0.16);border:0.8px solid rgba(251,113,133,0.42);color:#FFE4E6;}
.cth-cd-note{font-size:10px;color:rgba(219,234,254,0.62);}
.cth-sliders-box{display:flex;flex-direction:column;gap:6px;}
.cth-sliders-row{
  display:grid;grid-template-columns:1fr 1fr;gap:8px 10px;
  max-height:152px;overflow-y:auto;padding-right:2px;
  -webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-y;
}
.cth-sliders-row::-webkit-scrollbar{width:3px;}
.cth-sliders-row::-webkit-scrollbar-thumb{background:rgba(186,230,253,0.34);border-radius:999px;}
.cth-sl{display:flex;flex-direction:column;gap:2px;font-size:10.5px;color:rgba(226,240,255,0.84);}
.cth-sl span{display:flex;align-items:center;justify-content:space-between;gap:4px;}
.cth-sl b{font-family:var(--mono);font-size:10px;color:#BAE6FD;}
.cth-sl input{width:100%;margin:0;accent-color:#38BDF8;}
.cth-bg-rst-row{display:flex;justify-content:flex-end;}
.cth-bg-rst{
  border:0;border-radius:999px;padding:4px 10px;cursor:pointer;
  background:rgba(255,255,255,0.10);color:rgba(224,242,254,0.88);
  font-family:var(--body);font-size:10.5px;font-weight:700;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
}
.cth-bg-rst:active{transform:scale(0.95);}
body.is-eco .thv2-page *,body.is-eco .th-pv-ov *,body.is-eco .cth-studio-ov *,body.is-eco .cth-wow-btn,body.is-eco .wow-sp{animation:none!important;transition:none!important;}
.cth-stepper-sm{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:3px;border-radius:11px;background:rgba(255,255,255,0.06);border:0.7px solid rgba(255,255,255,0.12);
}
.cth-step-btn{
  width:32px;height:26px;border:0;border-radius:8px;cursor:pointer;
  background:rgba(255,255,255,0.12);color:#FFFFFF;font-size:17px;font-weight:700;line-height:1;
}
.cth-step-val{font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;text-align:center;flex:1;}
.cth-pill{
  flex:0 0 auto;border:0;border-radius:10px;padding:6px 11px;cursor:pointer;white-space:nowrap;
  background:rgba(255,255,255,0.08);color:rgba(226,240,255,0.86);
  font-family:var(--body);font-size:11px;font-weight:700;
  transition:transform .1s ease,background .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.cth-pill.cur{background:rgba(56,189,248,0.34);color:#FFFFFF;box-shadow:inset 0 0 0 0.85px rgba(186,230,253,0.64);}
.cth-pill:active{transform:scale(0.95);}
.cth-sw{
  flex:0 0 auto;width:28px;height:28px;border-radius:50%;border:2px solid rgba(255,255,255,0.28);cursor:pointer;
  transition:transform .12s ease,box-shadow .14s ease;
}
.cth-sw.cur{border-color:#FFFFFF;transform:scale(1.12);box-shadow:0 0 0 3px rgba(56,189,248,0.42);}
.cth-dock-ft{display:flex;}
.cth-save-btn{
  width:100%;height:44px;border:0;border-radius:14px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:7px;
  font-family:var(--display);font-size:13.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#22A7F2,#2563EB);
  box-shadow:0 10px 24px -8px rgba(37,99,235,0.68),inset 0 1px 0 rgba(255,255,255,0.45);
}
.cth-save-btn.is-gold{
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 56%,#6366F1 100%);
  box-shadow:0 10px 26px -8px rgba(79,70,229,0.72),inset 0 1px 0 rgba(255,255,255,0.56),inset 0 0 0 0.85px rgba(224,242,254,0.52);
}
.cth-save-btn:active{transform:scale(0.98);}
.cth-promo-ov{
  position:fixed;inset:0;z-index:260;
  display:flex;align-items:center;justify-content:center;padding:18px;
  background:rgba(4,8,22,0.72);
  opacity:0;transition:opacity .18s ease;
}
.cth-promo-ov.on{opacity:1;}
.cth-promo-card{
  width:100%;max-width:348px;border-radius:26px;padding:22px 18px 16px;text-align:center;
  background:linear-gradient(180deg,rgba(255,255,255,0.18) 0%,rgba(14,26,70,0.42) 56%,rgba(255,255,255,0.10) 100%);
  backdrop-filter:blur(26px) saturate(175%) brightness(1.04);-webkit-backdrop-filter:blur(26px) saturate(175%) brightness(1.04);
  border:0;
  box-shadow:0 24px 56px -12px rgba(4,10,36,0.58),inset 0 0 0 0.9px rgba(255,255,255,0.36),inset 0 1.2px 1.8px rgba(255,255,255,0.64);
  display:flex;flex-direction:column;align-items:center;gap:11px;
  transform:translateY(10px) scale(0.96);transition:transform .2s cubic-bezier(.22,1,.36,1);
}
.cth-promo-ov.on .cth-promo-card{transform:translateY(0) scale(1);}
.cth-promo-ic{
  width:54px;height:54px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.44),rgba(99,102,241,0.52));
  box-shadow:0 12px 26px -8px rgba(56,189,248,0.62),inset 0 0 0 1px rgba(224,242,254,0.58);
}
.cth-promo-ic svg{width:26px;height:26px;}
.cth-promo-ttl{font-family:var(--display);font-size:16.5px;font-weight:800;color:#FFFFFF;line-height:1.22;}
.cth-promo-tx{font-size:12.5px;line-height:1.48;color:rgba(224,242,254,0.82);}
.cth-promo-tx b{color:#FFFFFF;font-weight:700;}
.cth-promo-sec{
  width:100%;height:38px;border:0;border-radius:12px;cursor:pointer;
  background:rgba(255,255,255,0.08);color:rgba(224,242,254,0.86);
  font-family:var(--body);font-size:12px;font-weight:700;
  -webkit-tap-highlight-color:transparent;
}
.cth-promo-sec:active{transform:scale(0.98);}

/* Карточка «Собственная тема» в общей сетке каталога .th-grid */
.th-card.is-custom{
  box-shadow:0 16px 34px -14px rgba(56,189,248,0.44),inset 0 0 0 1px rgba(186,230,253,0.42)!important;
}
.th-rar.is-custom{
  color:#BAE6FD;background:rgba(56,189,248,0.22);border:0.7px solid rgba(186,230,253,0.44);
}
.th-bdg.cth-bdg-pend{
  background:rgba(245,158,11,0.34);color:#FEF3C7;border:0.7px solid rgba(251,191,36,0.52);
}
.cth-card-stage{
  position:relative;width:100%;height:100%;overflow:hidden;
  background:
    radial-gradient(95% 75% at 50% 8%,rgba(56,189,248,0.52) 0%,transparent 68%),
    radial-gradient(85% 70% at 88% 82%,rgba(168,85,247,0.48) 0%,transparent 70%),
    radial-gradient(80% 60% at 14% 74%,rgba(244,114,182,0.34) 0%,transparent 70%),
    linear-gradient(162deg,#06102A 0%,#151646 50%,#070B1E 100%);
  background-size:cover;background-position:center;
  display:flex;align-items:center;justify-content:center;
}
.cth-cs-veil{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(4,8,24,0.14) 0%,rgba(4,8,24,0.52) 100%);
}
.cth-cs-art{
  position:relative;z-index:1;width:100%;height:100%;padding:34px 12px 12px;
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:6px;
}
.cth-cs-orbs{display:flex;gap:5px;align-items:center;}
.cth-cs-orbs i{display:block;width:8px;height:8px;border-radius:50%;box-shadow:0 0 8px currentColor;}
.cth-cs-orbs i:nth-child(1){background:#38BDF8;color:#38BDF8;}
.cth-cs-orbs i:nth-child(2){background:#F472B6;color:#F472B6;}
.cth-cs-orbs i:nth-child(3){background:#FACC15;color:#FACC15;}
.cth-cs-em{
  width:62px;height:62px;border-radius:20px;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 35% 30%,rgba(255,255,255,0.28),rgba(56,189,248,0.16) 60%,rgba(12,18,48,0.35));
  border:0.9px solid rgba(255,255,255,0.44);
  box-shadow:0 10px 24px -8px rgba(56,189,248,0.55),inset 0 1px 1px rgba(255,255,255,0.52);
}
.cth-cs-em svg{width:46px;height:46px;}
.cth-cs-chips{display:flex;gap:5px;}
.cth-cs-chips span{
  font-family:var(--mono);font-size:9px;font-weight:800;color:#E0F2FE;
  padding:2px 7px;border-radius:999px;
  background:rgba(255,255,255,0.14);border:0.7px solid rgba(255,255,255,0.32);
}
.cth-cs-tk{
  width:100%;padding:7px 9px;border-radius:12px;text-align:center;
  background:rgba(255,255,255,0.12);border:0.8px solid rgba(255,255,255,0.28);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
}
.cth-cs-tk small{display:block;font-family:var(--mono);font-size:7.5px;font-weight:700;letter-spacing:0.16em;color:#7DD3FC;}
.cth-cs-tk b{display:block;font-family:var(--display);font-size:13.5px;font-weight:900;color:#FFFFFF;line-height:1.15;}
.th-cta-gold b{white-space:nowrap!important;}

/* ============================================================================
   КОНСТРУКТОР ТЕМ v2 + ХАБ ТЕМ (Конструктор · Пресеты · Рейтинг)
   ============================================================================ */
.cth-wow-btn{
  position:absolute;left:0;top:50%;transform:translateY(-50%);
  border:0;border-radius:999px;padding:4px 9px;cursor:pointer;
  display:inline-flex;align-items:center;gap:4px;
  background:linear-gradient(135deg,rgba(56,189,248,0.34),rgba(168,85,247,0.38));
  color:#FFFFFF;font-family:var(--display);font-size:10px;font-weight:800;
  box-shadow:inset 0 0 0 0.75px rgba(224,242,254,0.48),0 4px 12px -4px rgba(99,102,241,0.55);
  -webkit-tap-highlight-color:transparent;
}
.cth-wow-btn svg{width:12px;height:12px;flex-shrink:0;}
.cth-wow-btn:active{transform:translateY(-50%) scale(0.95);}

.cth-folders{
  display:flex;flex-wrap:wrap;gap:5px;
}
.cth-sub-lbl{
  font-family:var(--mono,ui-monospace,monospace);font-size:9.5px;font-weight:800;
  letter-spacing:0.08em;text-transform:uppercase;color:rgba(186,230,253,0.72);
  margin:2px 2px -2px;
}
.cth-fld{
  border:0;border-radius:999px;padding:4px 10px;cursor:pointer;
  background:rgba(255,255,255,0.07);color:rgba(224,242,254,0.78);
  font-family:var(--body);font-size:10.5px;font-weight:700;
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.16);
  -webkit-tap-highlight-color:transparent;
}
.cth-fld.cur{
  background:rgba(56,189,248,0.30);color:#FFFFFF;
  box-shadow:inset 0 0 0 0.85px rgba(186,230,253,0.58);
}

.cth-sound-stub{
  display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:14px;
  background:linear-gradient(145deg,rgba(56,189,248,0.12),rgba(99,102,241,0.12));
  border:0.8px solid rgba(186,230,253,0.24);
}
.cth-snd-ic{
  width:38px;height:38px;border-radius:12px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;color:#BAE6FD;
  background:rgba(56,189,248,0.18);border:0.8px solid rgba(186,230,253,0.38);
}
.cth-snd-ic svg{width:19px;height:19px;}
.cth-snd-tx{display:flex;flex-direction:column;gap:2px;min-width:0;}
.cth-snd-tx b{font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;}
.cth-snd-tx span{font-size:11px;line-height:1.35;color:rgba(224,242,254,0.76);}

.cth-save-row{
  display:flex;align-items:center;gap:7px;width:100%;
}
.cth-name-in{
  flex:1;min-width:0;height:42px;padding:0 12px;border-radius:13px;
  border:0.85px solid rgba(186,230,253,0.28);background:rgba(255,255,255,0.08);
  color:#FFFFFF;font-family:var(--body);font-size:13px;font-weight:600;outline:none;
}
.cth-name-in::placeholder{color:rgba(219,234,254,0.48);}
.cth-name-in:focus{border-color:rgba(56,189,248,0.72);background:rgba(255,255,255,0.11);}
.cth-save-new-btn{
  flex:0 0 auto;height:42px;padding:0 12px;border:0;border-radius:13px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;
  font-family:var(--display);font-size:12px;font-weight:800;color:#FFFFFF;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.9px rgba(255,255,255,0.44),inset 0 1px 1px rgba(255,255,255,0.58);
  transition:transform .12s ease,filter .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.cth-save-new-btn:active{transform:scale(0.96);}
.cth-save-compact{
  width:auto!important;flex:0 0 auto;height:42px!important;padding:0 16px;font-size:12.5px!important;
}

/* Themes Hub v2 */
.thv2-page{flex:1 0 auto;display:flex;flex-direction:column;padding-bottom:0!important;}
.thv2-empty-center{
  flex:1 1 auto;display:flex;align-items:center;justify-content:center;padding:14px 0;
}
.thv2-empty-center .lg-empty-card{width:100%;margin:0!important;}
.thv2-tabs{
  display:flex;align-items:stretch;gap:3px;
  padding:4px;border-radius:14px;margin:2px 0 13px;
  background:rgba(10,18,52,0.38);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
}
.thv2-tab{
  flex:1 1 auto;min-width:0;min-height:34px;height:auto;padding:6px 8px;border:0;border-radius:10px;
  background:transparent;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;text-align:center;
  font-family:var(--display);font-size:11.5px;font-weight:800;line-height:1.15;color:rgba(232,244,255,0.82);
  white-space:nowrap;overflow:visible;
  transition:background .16s ease,color .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.thv2-tab.cur{
  color:#FFFFFF;
  background:linear-gradient(135deg,rgba(56,189,248,0.52),rgba(99,102,241,0.56));
  box-shadow:0 6px 16px -6px rgba(56,189,248,0.56),inset 0 0.7px 0.9px rgba(255,255,255,0.52);
}

.thv2-hero{
  position:relative;overflow:hidden;border-radius:22px;padding:13px;margin:0 0 11px;
  display:flex;align-items:stretch;gap:12px;cursor:pointer;
  background:
    radial-gradient(95% 100% at 8% 0%,rgba(56,189,248,0.30),transparent 62%),
    radial-gradient(95% 100% at 96% 100%,rgba(168,85,247,0.32),transparent 62%),
    linear-gradient(155deg,rgba(255,255,255,0.12) 0%,rgba(8,14,38,0.62) 100%);
  box-shadow:0 18px 36px -14px rgba(4,8,30,0.56),inset 0 0.8px 1px rgba(255,255,255,0.42),inset 0 0 0 0.85px rgba(186,230,253,0.34);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
}
.thv2-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.72;
}
.thv2-hero-bg .wp-fl-a{animation:wpFloatA 10s ease-in-out infinite;}
.thv2-hero-bg .wp-fl-b{animation:wpFloatB 12s ease-in-out infinite;}
.thv2-hero-bg .wp-fl-c{animation:wpFloatC 8s ease-in-out infinite;}
body.is-eco .thv2-hero-bg g,body.is-eco .thv2-hero-art g{animation:none!important;}
.thv2-hero-art{
  position:relative;z-index:2;
  flex:0 0 96px;border-radius:16px;overflow:hidden;border:0.9px solid rgba(186,230,253,0.42);
  background:radial-gradient(120% 100% at 20% 10%,#1E296B 0%,#0A1132 58%,#160D38 100%);
  box-shadow:0 12px 24px -10px rgba(4,8,30,0.72),inset 0 1px 0 rgba(255,255,255,0.36);
}
.thv2-hero-art svg{width:100%;height:100%;display:block;}
.thv2-hero-art .wp-fl-a{animation:wpFloatA 7.5s ease-in-out infinite;}
.thv2-hero-art .wp-fl-b{animation:wpFloatB 9.2s ease-in-out infinite;}
.thv2-hero-art .wp-fl-c{animation:wpFloatC 6.4s ease-in-out infinite;}
.thv2-hero-body{position:relative;z-index:2;flex:1;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:5px;text-shadow:0 1px 8px rgba(4,8,30,0.68);}
.thv2-hero-kicker{
  align-self:flex-start;padding:2.5px 8px;border-radius:999px;
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;
  color:#D1FAE5;background:rgba(16,185,129,0.26);border:0.75px solid rgba(110,231,183,0.52);
}
.thv2-hero-ttl{font-family:var(--display);font-size:16px;font-weight:900;color:#FFFFFF;line-height:1.18;}
.thv2-hero-sub{font-size:11.5px;line-height:1.35;color:rgba(224,242,254,0.82);}
.thv2-hero-cta{
  position:relative;overflow:hidden;
  margin-top:6px;min-height:42px;height:auto;padding:10px 18px;border:0;border-radius:14px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:7px;text-align:center;
  font-family:var(--display);font-size:12.5px;font-weight:800;line-height:1.18;color:#FFFFFF;
  text-shadow:0 1px 8px rgba(6,16,48,0.56);
  background:
    radial-gradient(100% 130% at 15% 0%,rgba(255,255,255,0.34) 0%,transparent 62%),
    linear-gradient(135deg,rgba(56,189,248,0.62) 0%,rgba(99,102,241,0.68) 58%,rgba(168,85,247,0.60) 100%);
  backdrop-filter:blur(16px) saturate(165%);-webkit-backdrop-filter:blur(16px) saturate(165%);
  box-shadow:
    0 12px 26px -8px rgba(6,14,48,0.66),
    0 0 22px -6px rgba(56,189,248,0.54),
    inset 0 0 0 1.25px rgba(255,255,255,0.68),
    inset 0 1.4px 2px rgba(255,255,255,0.88),
    inset 0 -2px 5px -1px rgba(255,255,255,0.24);
  transition:transform .14s ease,filter .16s ease,box-shadow .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.thv2-hero-cta svg{width:15px;height:15px;flex-shrink:0;color:#FFFFFF;filter:drop-shadow(0 0 6px rgba(255,255,255,0.65));}
.thv2-hero-cta:hover{filter:brightness(1.08);box-shadow:0 14px 30px -8px rgba(6,14,48,0.70),0 0 26px -4px rgba(56,189,248,0.68),inset 0 0 0 1.35px rgba(255,255,255,0.82),inset 0 1.4px 2px rgba(255,255,255,0.92);}
.thv2-hero-cta:active{transform:scale(0.97);}

.thv2-pro{
  position:relative;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;gap:11px;
  padding:14px 14px;border-radius:19px;margin:0 0 14px;
  background:
    radial-gradient(80% 120% at 6% 10%,rgba(56,189,248,0.28) 0%,transparent 62%),
    radial-gradient(75% 110% at 94% 92%,rgba(244,114,182,0.24) 0%,transparent 64%),
    linear-gradient(145deg,rgba(20,28,74,0.72) 0%,rgba(10,16,44,0.62) 55%,rgba(49,26,96,0.68) 100%);
  box-shadow:inset 0 0 0 0.85px rgba(186,230,253,0.34),inset 0 1px 1.2px rgba(255,255,255,0.28),0 14px 28px -14px rgba(4,8,30,0.58);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}
.thv2-pro.is-on{
  background:
    radial-gradient(80% 120% at 6% 10%,rgba(16,185,129,0.28) 0%,transparent 62%),
    radial-gradient(75% 110% at 94% 92%,rgba(56,189,248,0.24) 0%,transparent 64%),
    linear-gradient(145deg,rgba(12,34,54,0.72) 0%,rgba(10,18,44,0.62) 100%);
  box-shadow:inset 0 0 0 0.85px rgba(110,231,183,0.40),inset 0 1px 1.2px rgba(255,255,255,0.26),0 14px 28px -14px rgba(4,8,30,0.58);
}
.thv2-pro-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.78;
}
.thv2-pro-bg .wp-fl-a{animation:wpFloatA 9.5s ease-in-out infinite;}
.thv2-pro-bg .wp-fl-b{animation:wpFloatB 11.5s ease-in-out infinite;}
.thv2-pro-bg .wp-fl-c{animation:wpFloatC 7.5s ease-in-out infinite;}
@keyframes wpFloatA{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(5px,-4px,0);}}
@keyframes wpFloatB{0%,100%{transform:translate3d(0,0,0);}50%{transform:translate3d(-6px,5px,0);}}
@keyframes wpFloatC{0%,100%{transform:translate3d(0,0,0);opacity:.78;}50%{transform:translate3d(4px,-5px,0);opacity:1;}}
body.is-eco .thv2-pro-bg g{animation:none!important;}
.thv2-pro-tx{position:relative;z-index:2;flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;text-shadow:0 1px 8px rgba(4,8,30,0.72);}
.thv2-pro-ttl{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.thv2-pro-sub{font-size:11.5px;line-height:1.35;color:rgba(232,244,255,0.88);}
.thv2-pro-btn{
  position:relative;z-index:2;
  flex:0 0 auto;height:38px;padding:0 13px;border:0;border-radius:12px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 60%,#6366F1 100%);
  box-shadow:0 8px 18px -6px rgba(79,70,229,0.62),inset 0 0.85px 1px rgba(255,255,255,0.55);
}
.thv2-pro-btn.is-sec{
  background:rgba(255,255,255,0.12);box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.32);
}
.thv2-pro-btn:active{transform:scale(0.96);}

.thv2-sec-hd{
  display:flex;align-items:center;justify-content:space-between;margin:2px 2px 6px;
}
.thv2-sec-hd span{font-family:var(--display);font-size:14px;font-weight:800;color:#FFFFFF;}
.thv2-sec-hd b{
  padding:3px 9px;border-radius:999px;font-family:var(--mono);font-size:10.5px;font-weight:800;
  color:#BAE6FD;background:rgba(56,189,248,0.16);border:0.7px solid rgba(186,230,253,0.34);
}
.thv2-slot-hint{font-size:11px;color:rgba(219,234,254,0.68);margin:0 2px 9px;}

.thv2-my-list{display:flex;flex-direction:column;gap:9px;}
.thv2-my-card{
  display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:17px;
  background:linear-gradient(160deg,rgba(255,255,255,0.08),rgba(8,14,38,0.42));
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.20),0 10px 24px -14px rgba(4,8,30,0.48);
}
.thv2-my-card.is-user{flex-direction:column;align-items:stretch;gap:9px;}
.thv2-my-pgrid{align-items:stretch;}
.thv2-my-pgrid > .thv2-my-empty{grid-column:1 / -1;}
.thv2-pcard.is-my-pcard{display:flex;flex-direction:column;}
.thv2-pcard.is-my-pcard.is-on{
  box-shadow:inset 0 0 0 1px rgba(125,211,252,0.58),0 14px 28px -14px rgba(56,189,248,0.44);
}
.thv2-pcard.is-my-pcard .thv2-pcard-ft{flex:1 1 auto;display:flex;flex-direction:column;gap:6px;}
.thv2-my-pmeta{font-size:10px;font-weight:600;color:rgba(219,234,254,0.70);line-height:1.2;}
.thv2-pstat-row{
  align-self:flex-start;display:inline-flex;align-items:center;gap:8px;
  padding:4px 8px;border:0;border-radius:999px;cursor:pointer;
  background:rgba(255,255,255,0.07);color:rgba(224,242,254,0.88);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.16);
  font-family:var(--body);font-size:10px;font-weight:700;
}
.thv2-pstat-row span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap;}
.thv2-pstat-row svg{width:11px;height:11px;color:#7DD3FC;flex-shrink:0;}
.thv2-pstat-row b{color:#FFFFFF;font-weight:800;}
.thv2-pcard-swrow{
  display:flex;align-items:center;justify-content:space-between;gap:6px;
  height:28px;padding:0 5px 0 8px;border-radius:9px;
  background:rgba(255,255,255,0.07);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.16);
  font-family:var(--body);font-size:10px;font-weight:700;color:rgba(232,244,255,0.86);
}
.thv2-pcard-swrow span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.thv2-pcard-swrow.is-on{
  background:rgba(56,189,248,0.16);box-shadow:inset 0 0 0 0.8px rgba(125,211,252,0.44);color:#FFFFFF;
}
.thv2-pcard-swrow.is-pub{
  background:rgba(52,211,153,0.16);box-shadow:inset 0 0 0 0.8px rgba(110,231,183,0.44);color:#ECFDF5;
}
.thv2-pcard-swrow .ios-sw{transform:scale(0.68);transform-origin:right center;flex-shrink:0;margin-left:-10px;}
.thv2-pcard.is-my-pcard .thv2-pcard-btns{margin-top:auto;}
.thv2-pcard-btns.is-one{display:grid;grid-template-columns:1fr;}
.thv2-pcard-btns.is-my-3{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 28px;gap:5px;align-items:center;}
.thv2-pcard-btns.is-my-3 .thv2-pbtn{padding:0 5px;font-size:10px;white-space:nowrap;}
.thv2-pdel-ic{
  width:28px;height:28px;padding:0;border:0;border-radius:9px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(244,63,94,0.16);color:#FDA4AF;
  box-shadow:inset 0 0 0 0.7px rgba(253,164,175,0.34);
}
.thv2-pdel-ic svg{width:13px;height:13px;}
.thv2-my-top{display:flex;align-items:center;gap:10px;}
.thv2-def-col{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0;}
.thv2-def-lbl{
  font-family:var(--body);font-size:9.5px;font-weight:700;letter-spacing:0.01em;line-height:1;
  color:rgba(219,234,254,0.62);white-space:nowrap;
}
.thv2-def-col.is-on .thv2-def-lbl{
  color:#BAE6FD;text-shadow:0 0 8px rgba(56,189,248,0.52);
}
.thv2-my-sw{width:38px;height:38px;border-radius:12px;flex-shrink:0;}
.thv2-my-body{flex:1;min-width:0;}
.thv2-my-nm{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.thv2-my-meta{font-size:11px;color:rgba(219,234,254,0.72);margin-top:2px;}
.thv2-my-acts{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;align-items:center;}
.thv2-my-acts.is-my-4{grid-template-columns:minmax(0,1fr) auto auto auto;gap:5px;}
.thv2-my-acts.is-std-acts{grid-template-columns:1fr;}
.thv2-edit-ic{
  width:32px;height:32px;border:0;border-radius:10px;cursor:pointer;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.12);color:#FFFFFF;
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.28);
  transition:filter .14s ease,transform .1s ease;
}
.thv2-edit-ic svg{width:14px;height:14px;}
.thv2-edit-ic:hover{filter:brightness(1.14);}
.thv2-edit-ic:active{transform:scale(0.94);}
.thv2-my-card.is-user{justify-content:space-between;}

/* iOS-переключатели тем (одна строка — одна тема) и улучшенные миниатюры */
.thv2-ios-list{display:flex;flex-direction:column;gap:8px;}
.thv2-ios-row{
  display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:17px;
  background:linear-gradient(160deg,rgba(255,255,255,0.09),rgba(8,14,38,0.44));
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.18),0 10px 24px -14px rgba(4,8,30,0.52);
  transition:box-shadow .18s ease,background .18s ease;
}
.thv2-ios-row.is-on,.thv2-my-card.is-on{
  background:linear-gradient(160deg,rgba(56,189,248,0.16),rgba(10,18,46,0.52));
  box-shadow:inset 0 0 0 0.95px rgba(125,211,252,0.52),0 12px 26px -14px rgba(56,189,248,0.42);
}
.thv2-ios-main{
  flex:1;min-width:0;display:flex;align-items:center;gap:10px;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.thv2-thumb{
  position:relative;width:44px;height:44px;border-radius:13px;flex-shrink:0;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  border:0.9px solid color-mix(in srgb,var(--tacc,#38BDF8) 58%,rgba(255,255,255,0.28));
  box-shadow:0 8px 16px -8px color-mix(in srgb,var(--tacc,#38BDF8) 56%,rgba(0,0,0,0.65)),inset 0 1px 0 rgba(255,255,255,0.34);
}
.thv2-thumb.is-std{
  background:
    radial-gradient(85% 75% at 50% 18%,rgba(56,189,248,0.52),transparent 70%),
    radial-gradient(75% 70% at 86% 92%,rgba(99,102,241,0.48),transparent 72%),
    linear-gradient(160deg,#08173A 0%,#102C68 52%,#060E24 100%);
  border-color:rgba(125,211,252,0.68);
  box-shadow:0 8px 18px -6px rgba(56,189,248,0.58),inset 0 1px 0 rgba(255,255,255,0.48);
}
.thv2-th-glow{
  position:absolute;inset:-6px;pointer-events:none;
  background:radial-gradient(circle at 50% 34%,rgba(125,211,252,0.44),transparent 62%);
}
.thv2-th-star{
  position:relative;z-index:1;width:18px;height:18px;
  filter:drop-shadow(0 0 6px rgba(56,189,248,0.82));
}
.thv2-th-dot{
  width:12px;height:12px;border-radius:50%;
  background:var(--tacc,#38BDF8);
  box-shadow:0 0 10px var(--tacc,#38BDF8),inset 0 1px 2px rgba(255,255,255,0.65);
}
.thv2-th-bar{
  position:relative;z-index:1;width:28px;padding:3px 4px;border-radius:5px;
  background:rgba(255,255,255,0.16);border:0.5px solid rgba(255,255,255,0.32);
  display:flex;flex-direction:column;gap:2px;
}
.thv2-th-bar i,.thv2-th-bar em{display:block;height:2px;border-radius:2px;font-style:normal;}
.thv2-th-bar i{width:100%;background:rgba(255,255,255,0.85);}
.thv2-th-bar em{width:64%;background:rgba(255,255,255,0.48);}
.thv2-sea-dot{
  display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;vertical-align:middle;
  background:#34D399;box-shadow:0 0 8px #34D399;
}
.thv2-eye-btn{
  flex:0 0 auto;height:30px;padding:0 10px;border:0;border-radius:10px;cursor:pointer;
  background:rgba(255,255,255,0.10);color:#E0F2FE;
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.22);
  font-family:var(--body);font-size:11px;font-weight:700;white-space:nowrap;
  transition:background .14s ease,transform .1s ease;
  -webkit-tap-highlight-color:transparent;
}
.thv2-eye-btn:active{transform:scale(0.95);background:rgba(56,189,248,0.24);}
.thv2-save-ic{
  flex:0 0 auto;width:30px;height:30px;padding:0;border:0;border-radius:10px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,rgba(56,189,248,0.34),rgba(99,102,241,0.40));color:#FFFFFF;
  box-shadow:inset 0 0 0 0.75px rgba(224,242,254,0.42);
  transition:background .14s ease,transform .1s ease;
  -webkit-tap-highlight-color:transparent;
}
.thv2-save-ic svg{width:15px;height:15px;display:block;}
.thv2-save-ic:active{transform:scale(0.93);}
.thv2-save-ic:disabled{opacity:0.45;}
.thv2-my-statbar{
  align-self:flex-start;width:fit-content;max-width:100%;
  display:inline-flex;align-items:center;gap:10px;padding:5px 11px;border:0;border-radius:999px;cursor:pointer;
  background:rgba(255,255,255,0.07);color:rgba(224,242,254,0.88);
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.16);
  font-family:var(--body);font-size:10.5px;font-weight:600;
  transition:background .14s ease,transform .1s ease;
  -webkit-tap-highlight-color:transparent;
}
.thv2-my-statbar:active{transform:scale(0.985);background:rgba(56,189,248,0.16);}
.thv2-my-statbar span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
.thv2-my-statbar svg{width:12px;height:12px;color:#7DD3FC;flex-shrink:0;}
.thv2-my-statbar b{color:#FFFFFF;font-weight:800;}
.thv2-st-sheet .thv2-st-head{display:flex;align-items:center;gap:11px;margin-bottom:12px;}
.thv2-st-sheet .thv2-st-nm{font-family:var(--display);font-size:15px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.thv2-st-sheet .thv2-st-sub{font-size:11.5px;color:rgba(219,234,254,0.68);margin-top:2px;}
.thv2-st-hero{
  padding:16px 14px;border-radius:18px;text-align:center;margin-bottom:10px;
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.06) 100%);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.30),inset 0 1px 1.2px rgba(255,255,255,0.52);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.thv2-st-big{font-family:var(--display);font-size:32px;font-weight:900;color:#FFFFFF;line-height:1.05;text-shadow:0 4px 18px rgba(255,255,255,0.42);}
.thv2-st-desc{font-size:12.5px;line-height:1.45;color:rgba(240,248,255,0.90);margin-top:6px;}
.thv2-st-desc b{color:#FFFFFF;}
.thv2-st-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
.thv2-st-cell{
  padding:10px 6px;border-radius:14px;text-align:center;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 0.8px rgba(255,255,255,0.24),inset 0 1px 1px rgba(255,255,255,0.40);
}
.thv2-st-cell b{display:block;font-family:var(--display);font-size:15px;font-weight:800;color:#FFFFFF;line-height:1.15;}
.thv2-st-cell span{display:block;font-size:10px;color:rgba(219,234,254,0.68);margin-top:3px;}
.ios-sw{
  position:relative;flex:0 0 auto;width:48px;height:28px;padding:0;border:0;border-radius:999px;cursor:pointer;
  background:rgba(120,130,164,0.34);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.20);
  transition:background .22s ease,box-shadow .22s ease;
  -webkit-tap-highlight-color:transparent;
}
.ios-sw.on{
  background:#34C759;
  box-shadow:inset 0 0 0 0.85px rgba(167,243,208,0.42),0 4px 14px -4px rgba(52,199,89,0.68);
}
.ios-sw-knob{
  position:absolute;top:2px;left:2px;width:24px;height:24px;border-radius:50%;
  background:#FFFFFF;
  box-shadow:0 2px 6px rgba(0,0,0,0.34),0 0.5px 1px rgba(0,0,0,0.18);
  transition:transform .24s cubic-bezier(.34,1.35,.64,1);
}
.ios-sw.on .ios-sw-knob{transform:translateX(20px);}
.thv2-drow{display:flex;align-items:center;gap:10px;cursor:pointer;}
.thv2-mbtn{
  height:32px;padding:0 8px;border:0;border-radius:10px;cursor:pointer;min-width:0;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;
  background:rgba(255,255,255,0.10);color:#F0F9FF;
  font-family:var(--body);font-size:10.5px;font-weight:700;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
  -webkit-tap-highlight-color:transparent;
}
.thv2-mbtn svg{width:12.5px;height:12.5px;flex-shrink:0;}
.thv2-mbtn.is-def{background:rgba(16,185,129,0.28);color:#D1FAE5;box-shadow:inset 0 0 0 0.8px rgba(110,231,183,0.52);}
.thv2-mbtn.is-pub{background:rgba(56,189,248,0.28);color:#E0F2FE;box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.54);}
.thv2-mbtn:active{transform:scale(0.96);}
.thv2-del-ic{
  width:32px;height:32px;border:0;border-radius:10px;cursor:pointer;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(244,63,94,0.16);color:#FDA4AF;
  box-shadow:inset 0 0 0 0.7px rgba(253,164,175,0.34);
}
.thv2-del-ic svg{width:15px;height:15px;}
.thv2-my-empty{
  padding:14px;border-radius:16px;text-align:center;font-size:12px;line-height:1.45;
  color:rgba(219,234,254,0.74);background:rgba(255,255,255,0.05);
  border:0.75px dashed rgba(186,230,253,0.26);
}

/* Official & Community Presets Grid */
.thv2-intro{font-size:12px;line-height:1.42;color:rgba(224,242,254,0.78);margin:0 2px 11px;}
.thv2-pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.thv2-pcard{
  border-radius:18px;overflow:hidden;cursor:pointer;
  contain:layout style;
  background:linear-gradient(175deg,rgba(255,255,255,0.08),rgba(8,14,38,0.48));
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.20),0 14px 28px -14px rgba(4,8,30,0.56);
  display:flex;flex-direction:column;
}
.thv2-stage{
  position:relative;height:112px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
}
.thv2-glow{
  position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(85% 75% at 50% 18%,var(--ta,#38BDF8),transparent 72%);
  opacity:0.42;
}
.thv2-bdg{
  position:absolute;top:8px;left:8px;z-index:2;max-width:calc(100% - 16px);
  padding:2.5px 8px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  font-family:var(--mono);font-size:9px;font-weight:800;color:#F8FAFC;
  background:rgba(6,12,32,0.58);border:0.7px solid rgba(255,255,255,0.28);
}
.thv2-bdg.is-sea{
  background:linear-gradient(135deg,rgba(56,189,248,0.72),rgba(168,85,247,0.78));
  border-color:rgba(255,255,255,0.58);box-shadow:0 4px 12px rgba(56,189,248,0.45);
}
.thv2-mini-ui{
  position:relative;z-index:1;width:72%;display:flex;flex-direction:column;align-items:center;gap:7px;margin-top:16px;
}
.thv2-mini-dot{
  width:24px;height:24px;border-radius:8px;
  background:var(--ta,#38BDF8);box-shadow:0 0 18px var(--ta,#38BDF8),inset 0 1px 1px rgba(255,255,255,0.65);
}
.thv2-mini-card{
  width:100%;padding:7px 9px;border-radius:10px;display:flex;flex-direction:column;gap:4px;
  background:rgba(255,255,255,0.12);border:0.7px solid rgba(255,255,255,0.26);
}
.thv2-mini-card i{display:block;height:4px;border-radius:999px;background:rgba(255,255,255,0.62);}
.thv2-mini-card i.l1{width:70%;}
.thv2-mini-card i.l2{width:46%;background:var(--ta,#38BDF8);}
.thv2-pcard-ft{padding:10px;display:flex;flex-direction:column;gap:7px;flex:1;justify-content:space-between;}
.thv2-pcard-nm{font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;line-height:1.2;}
.thv2-pcard-btns{display:flex;gap:5px;}
.thv2-pbtn{
  flex:1;height:30px;padding:0 7px;border:0;border-radius:9px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap;
  background:rgba(255,255,255,0.10);color:#F0F9FF;
  font-family:var(--body);font-size:10.5px;font-weight:700;
  box-shadow:inset 0 0 0 0.7px rgba(255,255,255,0.22);
}
.thv2-pbtn svg{width:13px;height:13px;}
.thv2-pbtn.pri{background:linear-gradient(135deg,rgba(56,189,248,0.48),rgba(99,102,241,0.54));box-shadow:inset 0 0 0 0.75px rgba(224,242,254,0.48);}
.thv2-pbtn.is-def{flex:0 0 34px;background:rgba(16,185,129,0.32);color:#D1FAE5;box-shadow:inset 0 0 0 0.8px rgba(110,231,183,0.56);}
.thv2-pbtn.is-full{width:100%;}
.thv2-pbtn:active{transform:scale(0.96);}

/* Community Rating */
.thv2-sort-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0;flex-wrap:wrap;}
.thv2-sort-row + .thv2-pgrid{margin-top:11px;}
.thv2-sorts{display:flex;gap:6px;}
.thv2-sort-note{font-size:11px;color:rgba(219,234,254,0.66);}
.thv2-comm-empty{text-align:center;padding:28px 14px;font-size:12.5px;color:rgba(219,234,254,0.74);}
.thv2-vote-row{display:flex;align-items:center;gap:5px;}
.thv2-vbtn{
  height:27px;padding:0 8px;border:0;border-radius:8px;cursor:pointer;
  display:inline-flex;align-items:center;gap:4px;
  background:rgba(255,255,255,0.08);color:rgba(224,242,254,0.84);
  font-family:var(--mono);font-size:10.5px;font-weight:700;
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.18);
}
.thv2-vbtn svg{width:12px;height:12px;}
.thv2-vbtn.is-up.on{background:rgba(16,185,129,0.30);color:#D1FAE5;box-shadow:inset 0 0 0 0.8px rgba(110,231,183,0.56);}
.thv2-vbtn.is-dn.on{background:rgba(244,63,94,0.28);color:#FFE4E6;box-shadow:inset 0 0 0 0.8px rgba(253,164,175,0.54);}
.thv2-vscore{margin-inline-start:auto;font-family:var(--mono);font-size:10.5px;font-weight:800;color:#BAE6FD;}

/* Draft Theme Picker Sheet */
.thv2-draft-sheet{max-height:82dvh;overflow-y:auto;}
.thv2-sh-load{text-align:center;padding:24px 10px;font-size:13px;color:rgba(224,242,254,0.74);}
.thv2-dhero{
  width:100%;height:44px;border:0;border-radius:14px;cursor:pointer;margin:4px 0 12px;
  display:flex;align-items:center;justify-content:center;gap:7px;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#38BDF8 0%,#4F46E5 100%);
  box-shadow:0 10px 22px -8px rgba(56,189,248,0.62),inset 0 0.9px 1px rgba(255,255,255,0.54);
}
.thv2-dhero svg{width:16px;height:16px;}
.thv2-dsec{
  font-family:var(--mono);font-size:10px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;
  color:rgba(186,230,253,0.74);margin:10px 2px 7px;
}
.thv2-dlist{display:flex;flex-direction:column;gap:8px;}
.thv2-drow{
  width:100%;box-sizing:border-box;min-width:0;overflow:hidden;
  display:flex;align-items:center;gap:10px;padding:9px 11px;border-radius:14px;
  border:0.8px solid rgba(255,255,255,0.16);background:rgba(255,255,255,0.05);
  color:#FFFFFF;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;
}
.thv2-drow.cur{
  border-color:rgba(56,189,248,0.68);background:rgba(56,189,248,0.16);
}
.thv2-dsw{width:34px;height:34px;border-radius:10px;flex-shrink:0;}
.thv2-dtx{flex:1 1 0;min-width:0;overflow:hidden;display:flex;flex-direction:column;gap:2px;}
.thv2-dtx b{font-family:var(--display);font-size:12.5px;font-weight:800;line-height:1.22;color:#FFFFFF;display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0;}
.thv2-dtx small{display:block;font-size:11px;color:rgba(219,234,254,0.70);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.thv2-dbdg{
  font-style:normal;font-family:var(--mono);font-size:9px;font-weight:800;padding:2px 7px;border-radius:999px;
  background:rgba(56,189,248,0.28);color:#E0F2FE;white-space:nowrap;flex-shrink:0;
}
.thv2-dck{font-size:16px;font-weight:900;color:#38BDF8;flex-shrink:0;}


/* Тумблер «В рейтинг» в Моих темах, живые статичные превью + кликабельные авторы в Рейтинге и блок «Рейтинг тем» в Профиле */
.thv2-pub-tog{
  flex:0 0 auto;min-width:0;height:32px;padding:0 6px 0 9px;border-radius:10px;
  display:inline-flex;align-items:center;justify-content:space-between;gap:4px;white-space:nowrap;
  background:rgba(255,255,255,0.08);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.20);
  font-family:var(--body);font-size:10.5px;font-weight:700;color:rgba(232,244,255,0.92);
}
.thv2-pub-tog span{white-space:nowrap;}
.thv2-pub-tog.is-on{
  background:linear-gradient(135deg,rgba(52,211,153,0.18),rgba(56,189,248,0.14));
  box-shadow:inset 0 0 0 0.85px rgba(110,231,183,0.44);
  color:#ECFDF5;
}
.thv2-pub-tog .ios-sw{transform:scale(0.76);transform-origin:right center;flex-shrink:0;margin-left:-6px;}

.thv2-stage-live{
  position:relative;width:100%;height:192px;overflow:hidden;cursor:pointer;
  contain:strict;
  border-bottom:0.7px solid rgba(255,255,255,0.16);
}
.thv2-live-fr{
  position:absolute;top:0;left:0;width:375px;height:660px;border:0;
  transform-origin:top left;pointer-events:none;
  opacity:0;transition:opacity .26s ease;background:transparent;
}
.thv2-live-fr.is-rdy{opacity:1;}

.thv2-author-btn{
  align-self:flex-start;max-width:100%;margin:0 0 2px;padding:3px 8px 3px 6px;border:0;border-radius:999px;
  display:inline-flex;align-items:center;gap:5px;cursor:pointer;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 0.7px rgba(186,230,253,0.34);
  font-family:var(--body);font-size:11px;font-weight:700;color:#BAE6FD;
  -webkit-tap-highlight-color:transparent;transition:background .14s ease,transform .1s ease;
}
.thv2-author-btn svg{width:12px;height:12px;flex-shrink:0;opacity:0.9;}
.thv2-author-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.thv2-author-btn:active{transform:scale(0.95);background:rgba(56,189,248,0.26);}
.thv2-author-btn.is-static{cursor:default;opacity:0.78;}

.prof-th-card{
  width:100%;margin:10px 0 0;padding:13px 14px;border:0;border-radius:20px;
  display:flex;flex-direction:column;gap:10px;text-align:left;color:#FFFFFF;
  background:linear-gradient(155deg,rgba(255,255,255,0.08) 0%,rgba(4,8,28,0.12) 55%,rgba(56,189,248,0.08) 100%);
  box-shadow:0 16px 34px -14px rgba(4,8,30,0.48),inset 0 0.7px 1px rgba(255,255,255,0.42),inset 0 0 0 0.75px rgba(255,255,255,0.22);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
}
.prof-th-card.is-tap{cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .12s ease;}
.prof-th-card.is-tap:active{transform:scale(0.985);}
.prof-th-hd{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;}
.prof-th-ttl{display:inline-flex;align-items:center;gap:7px;font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;}
.prof-th-ttl svg{width:17px;height:17px;color:#7DD3FC;flex-shrink:0;}
.prof-th-hr{display:inline-flex;align-items:center;gap:5px;}
.prof-th-rk{
  padding:3px 9px;border-radius:999px;font-family:var(--mono);font-size:10px;font-weight:800;
  color:#BAE6FD;background:rgba(56,189,248,0.20);border:0.7px solid rgba(186,230,253,0.44);
}
.prof-th-rk.is-g{color:#FEF3C7;background:rgba(245,158,11,0.34);border-color:rgba(253,224,71,0.62);}
.prof-th-rk.is-s{color:#F1F5F9;background:rgba(148,163,184,0.32);border-color:rgba(226,232,240,0.56);}
.prof-th-rk.is-b{color:#FFEDD5;background:rgba(217,119,6,0.30);border-color:rgba(251,146,60,0.52);}
.prof-th-rk.is-none{color:rgba(224,242,254,0.64);background:rgba(255,255,255,0.07);border-color:rgba(255,255,255,0.18);}
.prof-th-chev{width:15px;height:15px;color:rgba(224,242,254,0.72);flex-shrink:0;}
.prof-th-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;}
.prof-th-cell{
  padding:9px 6px;border-radius:14px;text-align:center;
  background:rgba(255,255,255,0.06);box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.16);
}
.prof-th-cell b{display:block;font-family:var(--display);font-size:16px;font-weight:800;color:#FFFFFF;line-height:1.1;}
.prof-th-cell span{display:block;margin-top:3px;font-size:10px;font-weight:600;color:rgba(224,242,254,0.72);}

/* ── Web Login Screen (/app вне MAX Mini App) — Apple Liquid Glass (MAX Edition) ── */
body.is-prof.pad:has(.wlog-wrap){
  padding-top:12px!important;
  padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;
}
.prof-page.wlog-wrap{
  flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;
  padding:8px 0!important;
}
#app:has(.wlog-wrap) .hub-copy.is-page{
  margin-top:0;padding:6px 0 2px;
}
.prof-page .lg-hero.wlog-card{
  width:100%;max-width:420px;padding:30px 22px 24px;margin:0;
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;
}
.wlog-brand{
  display:flex;flex-direction:column;align-items:center;gap:10px;text-decoration:none;
}
.prof-page .prof-ava-wrap.wlog-ava-wrap{
  width:78px;height:78px;padding:4px;
}
.prof-page .wlog-ava-wrap .prof-ava{
  width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;
}
.wlog-brand-name{
  font-family:var(--display);font-size:13px;font-weight:800;letter-spacing:0.06em;
  text-transform:uppercase;color:rgba(255,255,255,0.88);
  text-shadow:0 1px 8px rgba(6,12,42,0.42);
}
.wlog-h{
  font-family:var(--display);font-size:21px;font-weight:900;color:#FFFFFF;
  margin:2px 0 0;line-height:1.22;letter-spacing:-0.015em;
  text-shadow:0 2px 12px rgba(6,12,42,0.42);
}
.wlog-sub{
  font-size:13.5px;line-height:1.5;color:rgba(255,255,255,0.88);margin:0;max-width:330px;
  text-shadow:0 1px 6px rgba(6,12,42,0.34);
}
.wlog-note{
  width:100%;padding:10px 14px;font-size:12.5px;line-height:1.45;text-align:center;
}
#wlog_stage{width:100%;display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:6px;}
.lg-btn.wlog-cta{
  width:100%;min-height:50px;padding:13px 20px;border-radius:999px;text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--display);font-size:13.5px;font-weight:800;color:#FFFFFF;
}
.lg-btn.wlog-cta svg{width:20px;height:20px;flex-shrink:0;filter:drop-shadow(0 1px 4px rgba(6,12,42,0.4));}
.lg-btn.wlog-cta:hover{filter:brightness(1.08);}
.wlog-qr-shell{
  position:relative;padding:10px;border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.06) 100%);
  box-shadow:0 18px 36px -14px rgba(4,8,30,0.52),inset 0 0.7px 1px rgba(255,255,255,0.52),inset 0 -1.5px 4px rgba(255,255,255,0.22);
}
.wlog-qr{
  padding:10px;border-radius:16px;background:#FFFFFF;
  box-shadow:0 6px 18px -6px rgba(4,8,30,0.34);
}
.wlog-qr svg{display:block;width:164px;height:164px;}
.wlog-qr-hint{
  font-size:12px;line-height:1.45;color:rgba(255,255,255,0.84);max-width:300px;
  text-shadow:0 1px 6px rgba(6,12,42,0.34);
}
.wlog-wait{
  display:inline-flex;align-items:center;gap:9px;padding:8px 14px;border-radius:999px;
  font-size:12px;font-weight:600;color:#FFFFFF;
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 0.65px rgba(255,255,255,0.28);
  text-shadow:0 1px 5px rgba(6,12,42,0.36);
}
.wlog-spin{
  width:15px;height:15px;border-radius:50%;
  border:2px solid rgba(255,255,255,0.28);border-top-color:#FFFFFF;
  animation:spin .8s linear infinite;flex-shrink:0;
}
.wlog-links{
  display:flex;flex-wrap:wrap;justify-content:center;gap:8px 14px;margin-top:6px;padding-top:14px;
  border-top:0.7px solid rgba(255,255,255,0.20);width:100%;font-size:12px;
}
.wlog-links a{
  color:rgba(255,255,255,0.88);text-decoration:none;font-weight:600;
  text-shadow:0 1px 5px rgba(6,12,42,0.34);
}
.wlog-links a:hover{color:#FFFFFF;text-decoration:underline;}
.wlog-req{
  font-family:var(--mono);font-size:10px;line-height:1.5;color:rgba(255,255,255,0.68);
  text-shadow:0 1px 4px rgba(6,12,42,0.30);
}
.wlog-req a{color:rgba(255,255,255,0.86);text-decoration:none;}
.wlog-req a:hover{color:#FFFFFF;text-decoration:underline;}
.prof-logout-btn{
  width:100%;margin:12px 0 8px;padding:12px 14px;border:0;border-radius:16px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#E0F2FE;
  background:rgba(255,255,255,0.09);box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.28);
}
.prof-logout-btn svg{width:16px;height:16px;flex-shrink:0;}
.prof-logout-btn:active{transform:scale(0.98);}

/* ── Полноценная десктопная и планшетная адаптация (/app) ──
   На мобильных (< 768px) не меняет ни единого пикселя.
   На планшетах (>= 768px) и ПК (>= 1080px) переводит приложение из
   растянутой мобильной колонки в сбалансированный веб-интерфейс с
   аккуратной типографикой (без vw/dvh-переразмера) и многоколоночными сетками. */
@media (min-width: 768px){
  /* Скрываем мобильный кастомный ползунок и возвращаем аккуратный системный скролл */
  html{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,0.26) transparent;}
  html::-webkit-scrollbar{width:7px;height:7px;display:block;}
  html::-webkit-scrollbar-track{background:transparent;}
  html::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.24);border-radius:999px;}
  html::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.40);}
  .sbar{display:none!important;}

  /* Внешние отступы и спокойная вертикальная композиция вместо растяжения на 100dvh */
  body.pad{padding:16px 20px 36px!important;}
  body.pad.athome{padding:18px 20px 30px!important;}

  /* Стеклянная шапка внутренних разделов на десктопе: прикреплена к верху, скруглена снизу */
  body.is-prof .hd{
    top:0!important;
    padding:14px 16px 6px!important;
    margin:-16px 0 32px!important;
    border-radius:0 0 22px 22px!important;
  }
  .top-page .lg-head{padding:8px 4px 14px!important;}
  .dbar,.prof-dbar{
    top:10px!important;
    margin:0 0 14px!important;
    padding:9px 14px!important;
    border-radius:18px!important;
    border:0.7px solid rgba(255,255,255,0.22)!important;
    background:linear-gradient(180deg,rgba(255,255,255,0.12) 0%,rgba(12,22,64,0.28) 100%)!important;
    backdrop-filter:blur(14px) saturate(1.15)!important;
    -webkit-backdrop-filter:blur(14px) saturate(1.15)!important;
    box-shadow:0 14px 32px -14px rgba(4,8,30,0.48),inset 0 0.7px 1px rgba(255,255,255,0.42)!important;
  }
  .dbar .dt .k{font-size:9.5px;letter-spacing:0.14em;}
  .dbar .dt h1{font-size:15.5px!important;line-height:1.2;margin-top:2px;}
  .dbar .hm{width:38px;height:38px;border-radius:11px;}
  .tabs{justify-content:flex-start;gap:20px;}
  .tabs a{font-size:13px!important;padding:9px 0 11px;}
  .head h1{font-size:21px!important;line-height:1.16;}
  .pv-page h1,.pv-h1{font-size:18px!important;}

  /* Главный экран (screenHome): плотный дашборд без пустот внутри блоков */
  .hub-page{
    padding-top:4px;
    justify-content:flex-start;
  }
  .lg-hubbar{
    padding:8px 14px;
    margin:0 0 14px;
    border-radius:20px;
  }
  .lg-brand-mk,.lg-hub-ava{width:38px!important;height:38px!important;}
  .lg-hubbar .logo .nm{font-size:15px;}
  .hub-head{padding:0 4px 12px;}
  .hub-head h1{font-size:21px!important;line-height:1.16;letter-spacing:-0.02em;}

  /* Bento-сетка для планшета (3 колонки, компактная и плотная) */
  .bento.lg-bento{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-rows:auto!important;
    grid-auto-rows:minmax(104px,auto)!important;
    grid-template-areas:
      "cr cr my"
      "lb ch tp"
      "th ob ob"!important;
    gap:12px!important;
  }
  .bento.lg-bento.has-pm{
    grid-template-rows:auto!important;
    grid-auto-rows:minmax(104px,auto)!important;
    grid-template-areas:
      "cr cr my"
      "pm lb tp"
      "ch mk th"
      "ob ob ob"!important;
  }
  .bento.lg-bento .tile,
  .bento.lg-bento .tile.a-ch,
  .bento.lg-bento .tile.a-my,
  .bento.lg-bento .tile.a-tp,
  .bento.lg-bento .tile.a-mk,
  .bento.lg-bento .tile.a-th,
  .bento.lg-bento .tile.a-pm,
  .bento.lg-bento .tile.a-lb{
    padding:15px 16px!important;
    border-radius:20px!important;
    min-height:104px;
    justify-content:space-between!important;
  }
  .bento.lg-bento .tile.a-cr{
    padding:16px 20px!important;
    gap:13px!important;
    justify-content:flex-start!important;
  }
  .bento.lg-bento .tile.a-ob{
    padding:14px 52px 14px 16px!important;
    min-height:76px;
  }
  .bento.lg-bento .tile .ic{
    width:36px!important;height:36px!important;border-radius:11px!important;margin-bottom:8px!important;
  }
  .bento.lg-bento .tile .ic svg{width:18px!important;height:18px!important;}
  .bento.lg-bento .tile.a-cr .ic{
    width:42px!important;height:42px!important;border-radius:13px!important;margin-bottom:0!important;
  }
  .bento.lg-bento .tile.a-cr .ic svg{width:20px!important;height:20px!important;}
  .bento.lg-bento .tile h3,
  .bento.lg-bento .tile.a-ch h3,
  .bento.lg-bento .tile.a-my h3,
  .bento.lg-bento .tile.a-pm h3,
  .bento.lg-bento .tile.a-lb h3,
  .bento.lg-bento .tile.a-ob h3{
    font-size:13.5px!important;line-height:1.2!important;
  }
  .bento.lg-bento .tile.a-cr h3{
    font-size:16px!important;line-height:1.18!important;
  }
  .lg-stats-mq{margin:14px 0 6px!important;padding:9px 0!important;font-size:12px;}
  .hub-copy{margin-top:6px!important;}

  /* Списки карточек (Мои розыгрыши, Топ, Каналы, Маркет, Лобби, Реклама, Темы) */
  .top-list,.list,.lb-list,.prm-list,.thv2-my-list,.thv2-ios-list{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:start;
  }
  /* Адаптивная высота по строкам в Топе, Моих розыгрышах и Каналах:
     2 карточки в одном ряду всегда одной высоты, но сам ряд сжимается по контенту
     без пустых дыр внутри карточек и без раздувания блока организатора (.lg-top-ch). */
  .top-page .top-list,
  .my-page .top-list,
  .ch-page .top-list,
  .thv2-my-list{
    align-items:stretch!important;
  }
  .thv2-my-list .thv2-my-card{
    height:100%!important;
  }
  .top-page .lg-top-card,
  .my-page .lg-top-card,
  .ch-page .lg-top-card{
    height:100%!important;
    min-height:0!important;
    align-items:center!important;
  }
  .top-page .lg-top-card .body,
  .my-page .lg-top-card .body,
  .ch-page .lg-top-card .body{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .top-page .lg-top-card .nm,
  .top-page .lg-top-card .snip{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
  }
  .top-page .lg-top-card.lg-top-ch{
    padding:10px 14px!important;
  }
  .top-page .top-list:has(.lg-top-ch){
    max-width:620px;
    margin-left:auto!important;
    margin-right:auto!important;
    width:100%;
  }
  .top-page .top-list > .lg-top-ch:only-child{
    grid-column:1 / -1;
  }
  .top-page .lg-top-stats,
  .top-page .lg-top-cta{
    max-width:620px;
    margin-left:auto!important;
    margin-right:auto!important;
    width:100%;
  }
  .top-list > .empty,.list > .empty,.lb-list > .empty,.prm-list > .empty,
  .top-list > .appload,.list > .appload,.lb-list > .appload,
  .top-list > .lg-mk-mine,.top-list > .glabel,.list > .glabel,
  .thv2-my-list > .thv2-my-empty{
    grid-column:1 / -1;
  }
  .thv2-pgrid{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .thv2-st-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:10px!important;
  }

  /* Кошелёк и Реклама */
  .wl-packs{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;}
  .prm-packs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;}
  .prm-traf-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;}
  .wl-hero-val{font-size:32px!important;}

  /* Узкие, плотные одиночные карточки профиля (Кошелёк и Реклама — во всю ширину контейнера как остальные разделы) */
  #prof_body,#uprof_body{
    max-width:620px;margin:0 auto!important;width:100%;
  }
  .pv-page{
    max-width:680px;margin:0 auto!important;width:100%;
  }
  .wl-page{
    max-width:none!important;width:100%;margin:0!important;
  }
  .prof-page .prof-hero,.prof-page .prof-hero-v2,.prof-page .ver-glass,.prof-page .lg-card{
    max-width:620px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    width:100%;
  }
  .wl-hero,.wl-custom,.prm-cr-bar,.prm-traf-card{
    max-width:none!important;
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .prm-traf-card{margin:0 0 16px!important;padding:15px 18px!important;}
  .wl-hero{padding:20px 22px 18px!important;margin:8px 0 18px!important;}
  .bx,.group{
    max-width:660px;
    margin-left:auto!important;
    margin-right:auto!important;
    width:100%;
  }
  .glabel{
    max-width:660px;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  /* Профиль — компактная шапка + 4 стата + 2 плотные колонки меню */
  .prof-stats{
    max-width:660px;margin-left:auto!important;margin-right:auto!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;
  }
  .prof-stats .prof-since-slim{grid-column:1 / -1;}
  .prof-page .menu{
    max-width:660px;margin-left:auto!important;margin-right:auto!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  .prof-page .menu > .lg-mi.danger,
  .prof-page .menu > .prof-logout-btn{
    grid-column:1 / -1;
  }
  .act-grid{
    max-width:660px;margin-left:auto!important;margin-right:auto!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;
  }

  /* Аккуратная плотная типографика внутри компактных блоков */
  .gv .nm{font-size:14px;}
  .gv .snip{font-size:12.5px;}
  .row .lbl .t{font-size:13.5px;}
  .row .lbl .s{font-size:10.5px;}
  .lg-mi .t{font-size:13.5px;}
  .btn{font-size:13px;}

  /* Модальные окна и шторки — по центру как нативные десктопные диалоги */
  .tgov{align-items:center!important;padding:24px!important;box-sizing:border-box;}
  .tgsheet{max-width:540px!important;max-height:calc(100dvh - 56px)!important;border-radius:26px!important;margin:auto!important;box-sizing:border-box;}
  .tgsheet.prm-rules-sheet,.tgsheet.thv2-draft-sheet{max-height:calc(100dvh - 56px)!important;}
  .lpop-card{max-width:540px!important;}
  .cth-studio-ov,
  .th-pv-ov.is-fs{
    padding:20px!important;
    background:rgba(6,12,38,0.42)!important;
    backdrop-filter:blur(22px) saturate(155%)!important;
    -webkit-backdrop-filter:blur(22px) saturate(155%)!important;
  }
  .cth-studio-ov > .cth-fs,
  .th-pv-ov.is-fs > .th-pv-fs{
    max-width:460px!important;
    max-height:90dvh!important;
    margin:auto!important;
    border-radius:28px!important;
    overflow:hidden!important;
    background:linear-gradient(180deg,rgba(255,255,255,0.14) 0%,rgba(12,24,66,0.32) 55%,rgba(255,255,255,0.08) 100%)!important;
    backdrop-filter:blur(26px) saturate(170%)!important;
    -webkit-backdrop-filter:blur(26px) saturate(170%)!important;
    box-shadow:0 28px 70px -16px rgba(4,10,36,0.62),inset 0 0 0 0.95px rgba(255,255,255,0.34),inset 0 1.2px 1.8px rgba(255,255,255,0.60)!important;
  }
}

@media (min-width: 1080px){
  /* Плотное внутреннее пространство (~760-800px) + увеличенный визуальный масштаб,
     чтобы элементы были крупными, а пустых промежутков внутри блоков не было */
  #app{zoom:1.20;}
  .lpop-card,.tgsheet{zoom:1.15;}
  .tgsheet,.tgsheet.prm-rules-sheet,.tgsheet.thv2-draft-sheet{max-height:calc((100dvh - 64px) / 1.15)!important;}

  /* 4-колоночный компактный десктопный дашборд главного меню */
  .bento.lg-bento{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:minmax(108px,auto)!important;
    grid-template-areas:
      "cr cr my lb"
      "ch tp th th"
      "ob ob ob ob"!important;
  }
  .bento.lg-bento.has-pm{
    grid-template-areas:
      "cr cr my lb"
      "pm pm ch tp"
      "mk th ob ob"!important;
  }
  .bento.lg-bento .tile.a-pm{
    flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;
    min-height:78px;
  }
  .bento.lg-bento .tile.a-pm .ic{margin-bottom:0!important;}
  .bento.lg-bento .tile.a-ob{min-height:78px;}

  .thv2-pgrid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .wl-packs{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  .top-list.mp-grid2{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (min-width: 1440px){
  #app{zoom:1.30;}
  .lpop-card,.tgsheet{zoom:1.22;}
  .tgsheet,.tgsheet.prm-rules-sheet,.tgsheet.thv2-draft-sheet{max-height:calc((100dvh - 64px) / 1.22)!important;}
}
@media (min-width: 1840px){
  #app{zoom:1.40;}
  .lpop-card,.tgsheet{zoom:1.28;}
  .tgsheet,.tgsheet.prm-rules-sheet,.tgsheet.thv2-draft-sheet{max-height:calc((100dvh - 64px) / 1.28)!important;}
}

@media (hover: hover) and (min-width: 768px){
  .bento.lg-bento .tile:hover{
    transform:translateY(-2px);
    filter:brightness(1.06);
  }
  .prof-page .lg-mi:hover,
  .wl-pack:hover,
  .prm-pack:hover,
  .thv2-my-card:hover,
  .lg-top-card:hover{
    filter:brightness(1.06);
  }
}

/* ===== Вводный экран раздела «Создать розыгрыш» (screenCreateIntro) ===== */
.cr-intro{display:flex;flex-direction:column;gap:14px;padding:8px 0 28px;}
.cr-hero{
  position:relative;overflow:hidden;
  padding:24px 20px 22px;border-radius:24px;
  background:
    radial-gradient(85% 110% at 88% 12%,rgba(125,211,252,0.34) 0%,transparent 62%),
    radial-gradient(75% 100% at 14% 92%,rgba(165,180,252,0.28) 0%,transparent 64%),
    linear-gradient(155deg,rgba(255,255,255,0.24) 0%,rgba(255,255,255,0.10) 52%,rgba(30,58,138,0.26) 100%);
  box-shadow:
    0 22px 46px -16px rgba(10,20,64,0.48),
    inset 0 1.2px 1.6px rgba(255,255,255,0.82),
    inset 0 0 0 1px rgba(255,255,255,0.42);
  backdrop-filter:blur(22px) saturate(165%);-webkit-backdrop-filter:blur(22px) saturate(165%);
}
.cr-hero-art{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.74;
  -webkit-mask-image:linear-gradient(95deg,rgba(0,0,0,0.08) 0%,rgba(0,0,0,0.24) 44%,rgba(0,0,0,0.96) 76%,#000 100%);
  mask-image:linear-gradient(95deg,rgba(0,0,0,0.08) 0%,rgba(0,0,0,0.24) 44%,rgba(0,0,0,0.96) 76%,#000 100%);
}
.cr-hero-art .wp-fl-a{animation:wpFloatA 8.5s ease-in-out infinite;}
.cr-hero-art .wp-fl-b{animation:wpFloatB 10.2s ease-in-out infinite;}
.cr-hero-art .wp-fl-c{animation:wpFloatC 6.8s ease-in-out infinite;}
.cr-hero-cnt{position:relative;z-index:2;max-width:100%;}
.cr-kicker{
  display:inline-flex;align-items:center;
  font-family:var(--mono);font-size:9.5px;font-weight:800;letter-spacing:0.14em;
  color:#E0F2FE;padding:4px 9px;border-radius:999px;margin-bottom:10px;
  background:rgba(255,255,255,0.14);box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.34);
}
.cr-h1{
  margin:0 0 8px;font-family:var(--display);font-size:23px;font-weight:900;line-height:1.12;letter-spacing:-0.025em;
  color:#FFFFFF;text-shadow:0 2px 16px rgba(6,12,42,0.45);
}
.cr-sub{margin:0 0 16px;font-size:13px;font-weight:500;line-height:1.48;color:#FFFFFF;text-shadow:0 1px 10px rgba(4,12,42,0.55);}
.cr-hero-acts{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px;align-items:stretch;}
.cr-hero-acts .cr-cta,.cr-hero-acts .cr-sec-btn{width:100%;min-width:0;}
@media (max-width: 359px){.cr-hero-acts{grid-template-columns:1fr;}}
.cr-cta{
  position:relative;overflow:hidden;isolation:isolate;
  flex:1 1 auto;min-height:52px;padding:10px 12px 10px 18px;border:0;border-radius:17px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--display);font-size:13px;font-weight:800;letter-spacing:-0.01em;line-height:1.15;color:#FFFFFF;
  text-shadow:0 1px 10px rgba(14,32,96,0.44);
  background:
    radial-gradient(95% 135% at 12% 0%,rgba(255,255,255,0.44) 0%,transparent 58%),
    radial-gradient(85% 125% at 92% 100%,rgba(165,180,252,0.52) 0%,transparent 64%),
    linear-gradient(135deg,rgba(56,189,248,0.84) 0%,rgba(99,102,241,0.84) 56%,rgba(139,92,246,0.80) 100%);
  backdrop-filter:blur(22px) saturate(175%);-webkit-backdrop-filter:blur(22px) saturate(175%);
  box-shadow:
    0 14px 30px -10px rgba(37,99,235,0.55),
    0 0 26px -6px rgba(125,211,252,0.58),
    inset 0 0 0 1.25px rgba(255,255,255,0.78),
    inset 0 1.6px 2.4px rgba(255,255,255,0.96),
    inset 0 -2px 7px -1px rgba(255,255,255,0.30);
  transition:transform .14s ease,filter .18s ease,box-shadow .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.cr-cta::before{
  content:'';position:absolute;top:-55%;bottom:-55%;left:-45%;width:72%;pointer-events:none;z-index:0;
  background:radial-gradient(50% 62% at 50% 50%,rgba(255,255,255,0.34) 0%,rgba(224,242,254,0.18) 38%,transparent 76%);
  filter:blur(18px);
  transform:translateX(-110%);
  animation:crCtaSheen 15s ease-in-out infinite;
}
@keyframes crCtaSheen{
  0%,18%{transform:translateX(-120%);opacity:0;}
  28%{opacity:1;}
  82%{opacity:1;}
  92%,100%{transform:translateX(260%);opacity:0;}
}
.cr-cta > *{position:relative;z-index:1;}
.cr-cta.is-wide{width:100%;min-height:54px;font-size:13.5px;}
.cr-cta .cr-cta-sp{width:17px;height:17px;flex-shrink:0;filter:drop-shadow(0 0 8px rgba(255,255,255,0.68));}
.cr-cta-pill{
  width:30px;height:30px;border-radius:10px;flex-shrink:0;margin-inline-start:auto;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(255,255,255,0.34),rgba(255,255,255,0.12));
  box-shadow:inset 0 0 0 0.9px rgba(255,255,255,0.72),inset 0 1px 1.4px rgba(255,255,255,0.92);
  color:#FFFFFF;transition:transform .18s ease;
}
.cr-cta-pill svg{width:15px;height:15px;color:#FFFFFF;filter:drop-shadow(0 0 6px rgba(255,255,255,0.65));}
.cr-cta:hover{
  filter:brightness(1.08);
  box-shadow:
    0 18px 36px -10px rgba(8,14,52,0.78),
    0 0 32px -4px rgba(56,189,248,0.68),
    inset 0 0 0 1.3px rgba(255,255,255,0.80),
    inset 0 1.5px 2.2px rgba(255,255,255,0.96);
}
.cr-cta:hover .cr-cta-pill{transform:translateX(2.5px);}
.cr-cta:active{transform:scale(0.975);}
body.is-eco .cr-cta::before,body.is-eco .cr-promo-cta::before,body.is-eco .cr-promo-bg g{animation:none!important;}
.cr-promo-cta{
  position:relative;overflow:hidden;isolation:isolate;
  width:100%;padding:16px 16px;border:0;border-radius:20px;cursor:pointer;text-align:left;
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  color:#FFFFFF;
  background:
    radial-gradient(88% 135% at 10% 0%,rgba(255,255,255,0.40) 0%,transparent 58%),
    radial-gradient(85% 130% at 92% 100%,rgba(165,180,252,0.52) 0%,transparent 62%),
    linear-gradient(135deg,rgba(56,189,248,0.82) 0%,rgba(99,102,241,0.84) 54%,rgba(139,92,246,0.78) 100%);
  backdrop-filter:blur(22px) saturate(175%);-webkit-backdrop-filter:blur(22px) saturate(175%);
  box-shadow:
    0 18px 36px -12px rgba(37,99,235,0.56),
    0 0 28px -6px rgba(125,211,252,0.58),
    inset 0 0 0 1.25px rgba(255,255,255,0.76),
    inset 0 1.6px 2.4px rgba(255,255,255,0.96),
    inset 0 -2px 8px -1px rgba(255,255,255,0.28);
  transition:transform .14s ease,filter .18s ease,box-shadow .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.cr-promo-cta::before{
  content:'';position:absolute;top:-55%;bottom:-55%;left:-45%;width:68%;pointer-events:none;z-index:1;
  background:radial-gradient(50% 62% at 50% 50%,rgba(255,255,255,0.30) 0%,rgba(224,242,254,0.16) 40%,transparent 76%);
  filter:blur(18px);
  transform:translateX(-120%);
  animation:crCtaSheen 16s ease-in-out infinite;
}
.cr-promo-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.90;
}
.cr-promo-bg .wp-fl-a{animation:wpFloatA 8.5s ease-in-out infinite;}
.cr-promo-bg .wp-fl-b{animation:wpFloatB 10.5s ease-in-out infinite;}
.cr-promo-bg .wp-fl-c{animation:wpFloatC 6.8s ease-in-out infinite;}
.cr-promo-body{
  position:relative;z-index:2;flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;
  text-shadow:0 1px 10px rgba(8,10,36,0.68);
}
.cr-promo-kicker{
  align-self:flex-start;display:inline-flex;align-items:center;gap:5px;
  padding:3px 9px;border-radius:999px;
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.10em;text-transform:uppercase;
  color:#FEF08A;background:rgba(250,204,21,0.18);
  box-shadow:inset 0 0 0 0.8px rgba(254,240,138,0.56);
}
.cr-promo-ttl{
  font-family:var(--display);font-size:15px;font-weight:900;line-height:1.18;letter-spacing:-0.015em;color:#FFFFFF;
}
.cr-promo-sub{
  font-size:11.5px;line-height:1.35;color:rgba(241,245,255,0.88);
}
.cr-promo-pill{
  position:relative;z-index:2;flex:0 0 auto;
  width:42px;height:42px;border-radius:14px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(255,255,255,0.34),rgba(255,255,255,0.12));
  box-shadow:0 10px 22px -8px rgba(6,10,36,0.55),inset 0 0 0 1px rgba(255,255,255,0.72),inset 0 1.2px 1.6px rgba(255,255,255,0.92);
  color:#FFFFFF;transition:transform .18s ease,background .18s ease;
}
.cr-promo-pill svg{width:18px;height:18px;filter:drop-shadow(0 0 6px rgba(255,255,255,0.65));}
.cr-promo-cta:hover{
  filter:brightness(1.08);
  box-shadow:
    0 22px 44px -12px rgba(8,12,48,0.82),
    0 0 36px -6px rgba(56,189,248,0.68),
    inset 0 0 0 1.3px rgba(255,255,255,0.80),
    inset 0 1.5px 2.2px rgba(255,255,255,0.96);
}
.cr-promo-cta:hover .cr-promo-pill{transform:translateX(3px) scale(1.04);}
.cr-promo-cta:active{transform:scale(0.98);}
.cr-sec-btn{
  min-height:52px;padding:11px 16px;border-radius:17px;border:0;cursor:pointer;
  background:linear-gradient(180deg,rgba(255,255,255,0.20) 0%,rgba(255,255,255,0.09) 52%,rgba(12,20,58,0.26) 100%);
  backdrop-filter:blur(20px) saturate(155%);-webkit-backdrop-filter:blur(20px) saturate(155%);
  box-shadow:0 12px 26px -12px rgba(4,8,30,0.48),inset 0 1px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.8px rgba(255,255,255,0.34);
  font-family:var(--display);font-size:12.5px;font-weight:700;color:#FFFFFF;
  text-shadow:0 1px 6px rgba(6,12,42,0.40);
  transition:filter .15s ease,transform .12s ease;
}
.cr-sec-btn:hover{filter:brightness(1.08);}
.cr-sec-btn:active{transform:scale(0.98);}
.cr-sec-hd{
  font-family:var(--display);font-size:13px;font-weight:800;letter-spacing:-0.01em;
  color:#FFFFFF;text-shadow:0 1px 10px rgba(6,12,42,0.42);padding:2px 2px 0;
}
.cr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.cr-card{
  position:relative;overflow:hidden;padding:14px 13px 13px;border-radius:19px;cursor:pointer;
  display:flex;flex-direction:column;
  background:
    radial-gradient(90% 90% at 92% 8%,rgba(125,211,252,0.22) 0%,transparent 65%),
    linear-gradient(170deg,rgba(255,255,255,0.20) 0%,rgba(255,255,255,0.08) 54%,rgba(28,48,118,0.20) 100%);
  box-shadow:0 12px 26px -14px rgba(10,20,64,0.44),inset 0 1px 1.2px rgba(255,255,255,0.68),inset 0 0 0 0.85px rgba(255,255,255,0.34);
  backdrop-filter:blur(16px) saturate(155%);-webkit-backdrop-filter:blur(16px) saturate(155%);
  transition:transform .14s ease,filter .16s ease,box-shadow .16s ease;
}
.cr-card:hover{
  filter:brightness(1.06);
  box-shadow:0 16px 30px -12px rgba(10,20,64,0.52),inset 0 1px 1.3px rgba(255,255,255,0.82),inset 0 0 0 1px rgba(255,255,255,0.48);
}
.cr-card:active{transform:scale(0.985);}
.cr-card-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.78;
  -webkit-mask-image:radial-gradient(95% 88% at 88% 18%,#000 32%,rgba(0,0,0,0.22) 72%,transparent 100%);
  mask-image:radial-gradient(95% 88% at 88% 18%,#000 32%,rgba(0,0,0,0.22) 72%,transparent 100%);
}
.cr-card-bg .wp-fl-a,.cr-perk-bg .wp-fl-a{animation:wpFloatA 9s ease-in-out infinite;}
.cr-card-bg .wp-fl-b,.cr-perk-bg .wp-fl-b{animation:wpFloatB 11s ease-in-out infinite;}
.cr-card-bg .wp-fl-c,.cr-perk-bg .wp-fl-c{animation:wpFloatC 7.2s ease-in-out infinite;}
body.is-eco .cr-hero-art g,body.is-eco .cr-card-bg g,body.is-eco .cr-perk-bg g{animation:none!important;}
.cr-ic{
  position:relative;z-index:2;
  width:38px;height:38px;border-radius:12px;margin-bottom:10px;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:
    radial-gradient(90% 90% at 20% 10%,rgba(255,255,255,0.48) 0%,transparent 62%),
    linear-gradient(160deg,rgba(255,255,255,0.30) 0%,rgba(255,255,255,0.12) 100%);
  box-shadow:
    0 8px 18px -6px rgba(10,20,64,0.28),
    inset 0 1.2px 1.6px rgba(255,255,255,0.92),
    inset 0 0 0 1px rgba(255,255,255,0.52);
}
.cr-ic svg{width:20px;height:20px;display:block;filter:drop-shadow(0 1px 4px rgba(12,24,72,0.32)) drop-shadow(0 0 8px rgba(255,255,255,0.68));}
.cr-ct{position:relative;z-index:2;font-family:var(--display);font-size:12.5px;font-weight:800;line-height:1.22;color:#FFFFFF;margin-bottom:4px;text-shadow:0 1px 8px rgba(10,20,64,0.42);}
.cr-cd{position:relative;z-index:2;font-size:11.5px;line-height:1.4;color:rgba(240,248,255,0.90);margin-bottom:10px;text-shadow:0 1px 6px rgba(10,20,64,0.34);}
.cr-card .cr-link-pill{margin-top:auto;}
.cr-perks{display:grid;grid-template-columns:1fr;gap:9px;}
.cr-perk{
  position:relative;overflow:hidden;
  display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border-radius:18px;
  background:
    radial-gradient(80% 100% at 96% 50%,rgba(125,211,252,0.20) 0%,transparent 66%),
    linear-gradient(170deg,rgba(255,255,255,0.18) 0%,rgba(255,255,255,0.07) 56%,rgba(26,44,108,0.18) 100%);
  box-shadow:0 10px 24px -14px rgba(10,20,64,0.42),inset 0 1px 1.2px rgba(255,255,255,0.62),inset 0 0 0 0.85px rgba(255,255,255,0.32);
  backdrop-filter:blur(16px) saturate(150%);-webkit-backdrop-filter:blur(16px) saturate(150%);
}
.cr-perk-bg{
  position:absolute;top:0;right:0;height:100%;width:155px;pointer-events:none;z-index:0;opacity:0.74;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,0.45) 38%,#000 100%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,0.45) 38%,#000 100%);
}
.cr-pic{
  position:relative;z-index:2;
  width:36px;height:36px;border-radius:11px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:
    radial-gradient(90% 90% at 20% 10%,rgba(255,255,255,0.46) 0%,transparent 62%),
    linear-gradient(160deg,rgba(255,255,255,0.28) 0%,rgba(255,255,255,0.11) 100%);
  box-shadow:
    0 8px 16px -6px rgba(10,20,64,0.26),
    inset 0 1.2px 1.5px rgba(255,255,255,0.90),
    inset 0 0 0 0.95px rgba(255,255,255,0.50);
}
.cr-pic svg{width:19px;height:19px;display:block;filter:drop-shadow(0 1px 4px rgba(12,24,72,0.30)) drop-shadow(0 0 7px rgba(255,255,255,0.65));}
.cr-ptx{position:relative;z-index:2;min-width:0;flex:1;}
.cr-pt{font-family:var(--display);font-size:12.5px;font-weight:800;line-height:1.22;color:#FFFFFF;margin-bottom:3px;text-shadow:0 1px 8px rgba(10,20,64,0.40);}
.cr-pd{font-size:11.5px;line-height:1.4;color:rgba(236,246,255,0.88);text-shadow:0 1px 6px rgba(10,20,64,0.30);}
.cr-plinks{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.cr-link-pill{
  position:relative;z-index:2;align-self:flex-start;
  display:inline-flex;align-items:center;gap:5px;
  padding:5px 10px;border:0;border-radius:999px;cursor:pointer;
  font-family:var(--display);font-size:10.5px;font-weight:700;line-height:1.15;color:#FFFFFF;
  background:linear-gradient(180deg,rgba(255,255,255,0.24) 0%,rgba(255,255,255,0.11) 100%);
  box-shadow:0 4px 12px -4px rgba(10,20,64,0.32),inset 0 0.9px 1px rgba(255,255,255,0.78),inset 0 0 0 0.8px rgba(255,255,255,0.42);
  text-shadow:0 1px 4px rgba(10,20,64,0.35);
  transition:filter .14s ease,transform .12s ease,background .14s ease;
  -webkit-tap-highlight-color:transparent;
}
.cr-link-pill svg{width:12px;height:12px;flex-shrink:0;transition:transform .14s ease;}
.cr-link-pill:hover{filter:brightness(1.12);background:linear-gradient(180deg,rgba(255,255,255,0.32) 0%,rgba(255,255,255,0.16) 100%);}
.cr-link-pill:hover svg{transform:translate(1.5px,-1px);}
.cr-link-pill:active{transform:scale(0.96);}
.cr-ft{padding-top:2px;}
@media (min-width: 768px){
  .cr-intro{gap:16px;padding-top:10px;}
  .cr-hero{padding:30px 28px 26px;min-height:240px;}
  .cr-hero-art{opacity:0.92;}
  .cr-hero-cnt{max-width:66%;}
  .cr-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
  .cr-perks{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .ob-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
}

/* ===== Экран раздела «Свой бот» (screenOwnBot) ===== */
.ob-badges{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:10px;}
.ob-tg-badge{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:9.5px;font-weight:800;letter-spacing:0.12em;
  color:#FFFFFF;padding:5px 11px;border-radius:999px;
  background:rgba(255,255,255,0.14);
  box-shadow:0 6px 18px -6px rgba(4,8,30,0.45),inset 0 0 0 0.85px rgba(255,255,255,0.46);
  text-shadow:0 0 10px rgba(255,255,255,0.55);
}
.ob-tg-badge svg{width:13px;height:13px;color:#FFFFFF;flex-shrink:0;filter:drop-shadow(0 0 6px rgba(255,255,255,0.75));}
.ob-soon-badge{
  display:inline-flex;align-items:center;
  font-family:var(--mono);font-size:9px;font-weight:800;letter-spacing:0.12em;
  color:#FEF08A;padding:4px 9px;border-radius:999px;
  background:rgba(250,204,21,0.16);box-shadow:inset 0 0 0 0.75px rgba(254,240,138,0.38);
}
.ob-price-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:12px 14px;border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,0.14) 0%,rgba(12,20,58,0.24) 100%);
  box-shadow:inset 0 0.9px 1px rgba(255,255,255,0.46),inset 0 0 0 0.75px rgba(255,255,255,0.26);
}
.ob-price-l{display:flex;flex-direction:column;gap:2px;}
.ob-price-lbl{font-size:11px;color:rgba(226,240,255,0.78);font-weight:600;}
.ob-price-val{display:flex;align-items:center;gap:6px;font-family:var(--display);font-size:19px;font-weight:900;color:#FFFFFF;}
.ob-price-val b{font-size:20px;font-weight:900;color:#FFFFFF;}
.ob-price-unit{font-size:12px;font-weight:700;color:rgba(232,244,255,0.82);}
.ob-wl-btn{min-height:40px;padding:8px 14px;font-size:12px;border-radius:13px;}
.ob-steps{display:grid;grid-template-columns:1fr;gap:8px;}
.ob-step{
  display:flex;align-items:flex-start;gap:11px;padding:13px 13px;border-radius:17px;
  background:linear-gradient(180deg,rgba(255,255,255,0.15) 0%,rgba(255,255,255,0.06) 54%,rgba(12,20,58,0.22) 100%);
  box-shadow:0 10px 24px -14px rgba(4,8,30,0.46),inset 0 1px 1px rgba(255,255,255,0.48),inset 0 0 0 0.75px rgba(255,255,255,0.26);
  backdrop-filter:blur(14px) saturate(150%);-webkit-backdrop-filter:blur(14px) saturate(150%);
}
.ob-step-n{
  flex:0 0 auto;width:32px;height:32px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--mono);font-size:12px;font-weight:900;color:#FFFFFF;
  background:rgba(255,255,255,0.15);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.48),0 0 14px -4px rgba(255,255,255,0.36);
  text-shadow:0 0 10px rgba(255,255,255,0.65);
}
.ob-step-tx{min-width:0;flex:1;}
.ob-page .cr-pic{
  color:#FFFFFF;
  background:rgba(255,255,255,0.15);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.46),0 0 14px -4px rgba(255,255,255,0.34);
}
.ob-page .cr-pic svg{filter:drop-shadow(0 0 6px rgba(255,255,255,0.68));}
.ob-foot-card{
  display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:22px;
}
.ob-foot-top{display:flex;align-items:flex-start;gap:12px;}
.ob-foot-ic{
  flex:0 0 auto;width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.48),0 0 16px -4px rgba(255,255,255,0.40);
}
.ob-foot-ic svg{width:19px;height:19px;display:block;filter:drop-shadow(0 0 7px rgba(255,255,255,0.75));}
.ob-foot-tx{min-width:0;flex:1;}
.ob-foot-tx .cr-cd{margin-bottom:0;}
.ob-tg-cta{
  position:relative;overflow:hidden;isolation:isolate;
  width:100%;padding:16px 15px;border:0;border-radius:19px;cursor:pointer;text-align:left;
  display:flex;align-items:center;gap:13px;color:#FFFFFF;
  background:
    radial-gradient(92% 135% at 10% 0%,rgba(255,255,255,0.44) 0%,transparent 58%),
    radial-gradient(85% 130% at 92% 100%,rgba(165,180,252,0.52) 0%,transparent 62%),
    linear-gradient(135deg,rgba(42,171,238,0.92) 0%,rgba(59,130,246,0.90) 52%,rgba(99,102,241,0.88) 100%);
  box-shadow:
    0 18px 34px -10px rgba(37,99,235,0.58),
    0 0 28px -6px rgba(125,211,252,0.54),
    inset 0 1.4px 2px rgba(255,255,255,0.92),
    inset 0 0 0 1.2px rgba(255,255,255,0.68);
  transition:transform .14s ease,filter .18s ease,box-shadow .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.ob-tg-cta::before{
  content:'';position:absolute;top:-55%;bottom:-55%;left:-45%;width:68%;pointer-events:none;z-index:1;
  background:radial-gradient(50% 62% at 50% 50%,rgba(255,255,255,0.28) 0%,rgba(224,242,254,0.14) 40%,transparent 76%);
  filter:blur(18px);
  transform:translateX(-120%);
  animation:crCtaSheen 16s ease-in-out infinite;
}
.ob-tg-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.92;
}
.ob-tg-bg .wp-fl-a{animation:wpFloatA 8.5s ease-in-out infinite;}
.ob-tg-bg .wp-fl-b{animation:wpFloatB 10.2s ease-in-out infinite;}
.ob-tg-bg .wp-fl-c{animation:wpFloatC 6.8s ease-in-out infinite;}
body.is-eco .ob-tg-cta::before,body.is-eco .ob-tg-bg g{animation:none!important;}
.ob-tg-cta:hover{
  filter:brightness(1.07);
  box-shadow:
    0 22px 42px -10px rgba(37,99,235,0.68),
    0 0 34px -4px rgba(125,211,252,0.66),
    inset 0 1.4px 2px rgba(255,255,255,0.96),
    inset 0 0 0 1.3px rgba(255,255,255,0.78);
}
.ob-tg-cta:active{transform:scale(0.985);}
.ob-tg-cta-ic{
  position:relative;z-index:2;
  flex:0 0 auto;width:42px;height:42px;border-radius:13px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(255,255,255,0.34),rgba(255,255,255,0.14));
  box-shadow:0 8px 18px -6px rgba(8,28,68,0.42),inset 0 1px 1.4px rgba(255,255,255,0.90),inset 0 0 0 0.9px rgba(255,255,255,0.64);
}
.ob-tg-cta-ic svg{width:20px;height:20px;display:block;color:#FFFFFF;filter:drop-shadow(0 0 7px rgba(255,255,255,0.72));}
.ob-tg-cta-tx{position:relative;z-index:2;flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;}
.ob-tg-cta-k{
  align-self:flex-start;display:inline-flex;align-items:center;
  padding:2.5px 8px;border-radius:999px;margin-bottom:1px;
  font-family:var(--mono);font-size:8.5px;font-weight:800;letter-spacing:0.10em;
  color:#FFFFFF;background:rgba(255,255,255,0.20);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.46);
}
.ob-tg-cta-tx b{font-family:var(--display);font-size:14.5px;font-weight:900;line-height:1.18;letter-spacing:-0.015em;color:#FFFFFF;text-shadow:0 1px 10px rgba(8,28,68,0.42);}
.ob-tg-cta-tx small{font-size:11.5px;font-weight:600;line-height:1.32;color:rgba(240,248,255,0.92);text-shadow:0 1px 6px rgba(8,28,68,0.30);}
.ob-tg-cta-pill{
  position:relative;z-index:2;
  flex:0 0 auto;width:38px;height:38px;border-radius:12px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(255,255,255,0.34),rgba(255,255,255,0.12));
  box-shadow:0 8px 18px -6px rgba(8,28,68,0.42),inset 0 1px 1.4px rgba(255,255,255,0.90),inset 0 0 0 0.95px rgba(255,255,255,0.68);
  transition:transform .16s ease;
}
.ob-tg-cta-pill svg{width:17px;height:17px;color:#FFFFFF;filter:drop-shadow(0 0 6px rgba(255,255,255,0.65));}
.ob-tg-cta:hover .ob-tg-cta-pill{transform:translateX(3px) scale(1.04);}

/* Мини-подпись «✈ Telegram» аккуратно снизу справа под вкладкой «Свой бот» (светящаяся белая) */
.tabs a.is-tg{position:relative;color:rgba(255,255,255,0.92)!important;}
.tab-tg{
  position:absolute;left:auto;right:0;bottom:1px;transform:none;
  display:inline-flex;align-items:center;gap:2.5px;pointer-events:none;
  font-family:var(--mono);font-size:7px;font-weight:800;letter-spacing:0.04em;line-height:1;
  color:rgba(255,255,255,0.92);white-space:nowrap;
  text-shadow:0 0 8px rgba(255,255,255,0.65),0 1px 3px rgba(4,10,36,0.62);
}
.tab-tg svg{width:8.5px;height:8.5px;flex-shrink:0;color:#FFFFFF;filter:drop-shadow(0 0 5px rgba(255,255,255,0.78));}
body.is-prof .hd .tabs a.is-tg.cur::after{display:none;}
body.is-prof .hd .tabs a.is-tg.cur .tab-tg{color:#FFFFFF;}
body.is-prof .hd .tabs .tab-new{top:0;right:-6px;}

/* ============================================================================
   ЕДИНЫЙ СТАНДАРТ ВСЕХ БОЛЬШИХ БЛОКОВ APPLE LIQUID GLASS (1-в-1 с .lg-top-card)
   Унифицирует карточки в Создать, Свой бот, Кошелёк, Реклама, Темы и др.
   ============================================================================ */
body.is-prof .cr-hero,
body.is-prof .cr-card,
body.is-prof .cr-perk,
body.is-prof .ob-step,
body.is-prof .ob-foot-card,
body.is-prof .wl-custom,
body.is-prof .wl-hist,
body.is-prof .wl-where-btn,
body.is-prof .prm-traf-card,
body.is-prof .prm-cr-bar,
body.is-prof .prm-pack,
body.is-prof .prm-sub-col,
body.is-prof .thv2-hero,
body.is-prof .thv2-pro,
body.is-prof .thv2-my-card{
  position:relative;isolation:isolate;overflow:hidden;border:0!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,rgba(255,255,255,0.08) 0%,rgba(4,8,28,0.10) 52%,rgba(255,255,255,0.04) 100%)!important;
  backdrop-filter:blur(11px) brightness(0.93)!important;
  -webkit-backdrop-filter:blur(11px) brightness(0.93)!important;
  box-shadow:
    0 20px 40px -14px rgba(4,8,30,0.54),
    0 5px 14px -5px rgba(4,8,30,0.30),
    inset 0 0.65px 1px rgba(255,255,255,0.40),
    inset 0 -2.2px 6px -1px rgba(255,255,255,0.28),
    inset 0 0 7px -2px rgba(255,255,255,0.16),
    inset 0.85px 0 1.7px rgba(0,0,0,0.18),
    inset -0.85px 0 1.7px rgba(0,0,0,0.18)!important;
}
body.is-prof .cr-hero::before,
body.is-prof .cr-card::before,
body.is-prof .cr-perk::before,
body.is-prof .ob-step::before,
body.is-prof .ob-foot-card::before,
body.is-prof .wl-custom::before,
body.is-prof .wl-hist::before,
body.is-prof .wl-where-btn::before,
body.is-prof .prm-traf-card::before,
body.is-prof .prm-cr-bar::before,
body.is-prof .prm-pack::before,
body.is-prof .prm-sub-col::before,
body.is-prof .thv2-hero::before,
body.is-prof .thv2-pro::before,
body.is-prof .thv2-my-card::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.56) 0deg,rgba(255,255,255,0.30) 44deg,rgba(255,255,255,0.22) 90deg,rgba(255,255,255,0.32) 136deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.32) 224deg,rgba(255,255,255,0.22) 270deg,rgba(255,255,255,0.30) 316deg,rgba(255,255,255,0.56) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-prof .cr-hero>:not(.cr-hero-art),
body.is-prof .cr-card>:not(.cr-card-bg),
body.is-prof .cr-perk>:not(.cr-perk-bg),
body.is-prof .ob-step>*,
body.is-prof .ob-foot-card>*,
body.is-prof .wl-custom>*,
body.is-prof .wl-hist>*,
body.is-prof .prm-traf-card>*{position:relative;z-index:2;}
body.is-prof .cr-hero>.cr-hero-art,
body.is-prof .cr-card>.cr-card-bg{position:absolute;inset:0;z-index:0;}
body.is-prof .cr-perk>.cr-perk-bg{position:absolute;top:0;right:0;z-index:0;}
body.is-prof .wl-hero>.wl-hero-bg-svg,
body.is-prof .wl-hero>.wl-hero-aura{z-index:0;}
body.is-prof .wl-hero>:not(.wl-hero-bg-svg):not(.wl-hero-aura){position:relative;z-index:2;}
body.is-prof .ob-price-bar{
  border-radius:16px!important;border:0!important;
  background:rgba(4,10,32,0.24)!important;
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.24)!important;
}
body.is-eco .cr-hero,body.is-eco .cr-card,body.is-eco .cr-perk,
body.is-eco .ob-step,body.is-eco .ob-foot-card,
body.is-eco .wl-hero,body.is-eco .wl-custom,body.is-eco .wl-hist,body.is-eco .wl-pack,body.is-eco .wl-where-btn,
body.is-eco .prm-traf-card,body.is-eco .prm-cr-bar,body.is-eco .prm-pack,body.is-eco .prm-sub-col,
body.is-eco .thv2-hero,body.is-eco .thv2-pro,body.is-eco .thv2-my-card{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:linear-gradient(155deg,rgba(44,68,148,0.62) 0%,rgba(28,46,114,0.58) 100%)!important;
}

/* ===== Выразительный док действий в черновике (.draft-dock — Apple Liquid Glass) ===== */
.draft-dock{
  position:relative;isolation:isolate;
  margin-top:18px;
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(90% 120% at 12% 0%,rgba(255,255,255,0.22) 0%,transparent 58%),
    radial-gradient(85% 110% at 88% 100%,rgba(125,211,252,0.18) 0%,transparent 64%),
    linear-gradient(175deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.07) 52%,rgba(12,20,58,0.34) 100%);
  backdrop-filter:blur(22px) saturate(168%);-webkit-backdrop-filter:blur(22px) saturate(168%);
  box-shadow:
    0 20px 38px -16px rgba(4,8,30,0.58),
    inset 0 1.2px 1.6px rgba(255,255,255,0.72),
    inset 0 0 0 0.9px rgba(255,255,255,0.36);
}
.draft-btn-bg{
  position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;opacity:0.92;
}
.draft-btn-bg .wp-fl-a{animation:wpFloatA 8.8s ease-in-out infinite;}
.draft-btn-bg .wp-fl-b{animation:wpFloatB 10.6s ease-in-out infinite;}
.draft-btn-bg .wp-fl-c{animation:wpFloatC 7.2s ease-in-out infinite;}
body.is-eco .draft-btn-bg g{animation:none!important;}
.draft-ic{
  position:relative;z-index:2;flex:0 0 auto;
  width:28px;height:28px;border-radius:9px;
  display:inline-flex;align-items:center;justify-content:center;
  color:#FFFFFF;
  background:linear-gradient(150deg,rgba(255,255,255,0.32) 0%,rgba(255,255,255,0.12) 100%);
  box-shadow:
    0 6px 14px -6px rgba(6,12,42,0.42),
    inset 0 1px 1.2px rgba(255,255,255,0.92),
    inset 0 0 0 0.85px rgba(255,255,255,0.52);
}
.draft-ic svg{
  width:15px;height:15px;display:block;color:#FFFFFF;
  filter:drop-shadow(0 0 7px rgba(255,255,255,0.90)) drop-shadow(0 1px 3px rgba(6,14,48,0.42));
}
.draft-lbl{
  position:relative;z-index:2;
  font-family:var(--display);color:#FFFFFF;
  text-shadow:0 1px 10px rgba(6,12,42,0.56);
}
.draft-launch{
  position:relative;overflow:hidden;
  width:100%;margin:0;padding:15px 16px;min-height:58px;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:center;gap:11px;
  background:
    radial-gradient(90% 130% at 15% 0%,rgba(255,255,255,0.34) 0%,transparent 58%),
    linear-gradient(135deg,rgba(56,189,248,0.54) 0%,rgba(99,102,241,0.58) 54%,rgba(124,58,237,0.50) 100%);
  box-shadow:inset 0 1.2px 1.6px rgba(255,255,255,0.78),inset 0 -1px 0 rgba(255,255,255,0.28);
  transition:filter .16s ease,background .18s ease;
  -webkit-tap-highlight-color:transparent;
}
.draft-launch .draft-ic{width:32px;height:32px;border-radius:10px;}
.draft-launch .draft-ic svg{width:17px;height:17px;}
.draft-launch .draft-lbl{font-size:14.5px;font-weight:900;letter-spacing:-0.015em;line-height:1.2;}
.draft-launch:hover{filter:brightness(1.08);}
.draft-launch:active{filter:brightness(0.96);}
.draft-launch.is-armed{
  background:linear-gradient(135deg,rgba(16,185,129,0.58) 0%,rgba(56,189,248,0.56) 100%);
}
.draft-subbar{
  display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  border-top:1px solid rgba(255,255,255,0.18);
}
.draft-act-btn{
  position:relative;overflow:hidden;border:0;margin:0;padding:13px 10px;min-height:54px;cursor:pointer;
  background:linear-gradient(180deg,rgba(255,255,255,0.08) 0%,rgba(255,255,255,0.02) 100%);
  color:#FFFFFF;
  display:flex;align-items:center;justify-content:center;gap:8px;
  text-align:center;
  transition:background .16s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.draft-act-btn + .draft-act-btn{border-left:1px solid rgba(255,255,255,0.18);}
.draft-act-btn .draft-lbl{
  font-size:12px;font-weight:800;letter-spacing:-0.01em;line-height:1.2;
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.draft-act-btn:hover{background:rgba(255,255,255,0.14);}
.draft-act-btn:active{background:rgba(255,255,255,0.20);}
.draft-act-btn.is-del{color:#FFFFFF;}
.draft-act-btn.is-del.is-armed{background:rgba(255,255,255,0.22);}
@media (max-width: 440px){
  .draft-act-btn{flex-direction:column;gap:5px;padding:12px 6px;min-height:66px;}
  .draft-act-btn .draft-lbl{white-space:normal;font-size:11px;line-height:1.18;}
}
body.is-eco .draft-dock{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:linear-gradient(155deg,rgba(44,68,148,0.72) 0%,rgba(28,46,114,0.66) 100%);}

/* Кнопка исключения (кика) канала хостом в комнате совместного лобби */
.lb-m-kick{
  flex:0 0 auto;min-width:28px;height:28px;padding:0 8px;border:0;border-radius:9px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,0.10);color:rgba(255,220,226,0.90);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.22);
  font-family:var(--display);font-size:13px;font-weight:800;line-height:1;
  transition:background .15s ease,color .15s ease,transform .12s ease;
}
.lb-m-kick:hover{background:rgba(244,63,94,0.22);color:#FFFFFF;}
.lb-m-kick.is-armed{
  background:rgba(244,63,94,0.34);color:#FFFFFF;
  box-shadow:inset 0 0 0 0.85px rgba(253,164,175,0.56);
  font-size:10.5px;padding:0 9px;
}
.lb-m-kick:active{transform:scale(0.95);}

/* Приклеенные панели фильтров под верхней шапкой .hd («Розыгрыши», «Топ») */
body.is-prof .my-ctrlbar,
body.is-prof .top-flt-wrap{
  position:sticky;top:110px;z-index:25;
  padding:8px 9px;margin:0 0 12px;border-radius:18px;
  background:linear-gradient(180deg,rgba(255,255,255,0.11) 0%,rgba(12,22,58,0.34) 100%);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  box-shadow:0 10px 22px -12px rgba(4,8,30,0.48),inset 0 0 0 0.75px rgba(255,255,255,0.26),inset 0 0.8px 1px rgba(255,255,255,0.36);
}
body.is-prof .my-ctrlbar .seg{margin:0 0 7px!important;}
body.is-prof .my-ctrlbar .chips{margin:0!important;}
body.is-eco .my-ctrlbar,
body.is-eco .top-flt-wrap{
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  background:rgba(36,56,128,0.82)!important;
}


/* ============================================================================
   TELEGRAM MINI APPS 2.0 (Bot API 8.0+) — кристаллическая сине-голубая палитра
   Liquid Glass, глобальное масштабирование как в MAX (#app zoom на всех ширинах
   окна Telegram Desktop + Mobile), safe-area, анимированная плитка «Свой бот»
   и Telegram Stars UI.
   ============================================================================ */
html.is-tg{
  --tg-safe-top: 0px;
  --tg-safe-bottom: 0px;
  --tg-safe-left: 0px;
  --tg-safe-right: 0px;
  --tg-top-pad: 8px;
  --tg-zoom: 1;
  --tg-modal-zoom: 1;
  background:#1E6BF1!important;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
@media (min-width: 768px){
  html.is-tg{--tg-top-pad: 14px;}
}
html.is-tg body.is-prof .atm{
  background:
    radial-gradient(88vw 88vw at 90% 10%, rgba(103,232,249,0.52) 0%, rgba(56,189,248,0.28) 32%, transparent 72%),
    radial-gradient(92vw 92vw at 10% 88%, rgba(56,189,248,0.48) 0%, rgba(37,99,235,0.24) 44%, transparent 74%),
    radial-gradient(76vw 76vw at 86% 78%, rgba(129,140,248,0.42) 0%, rgba(99,102,241,0.18) 46%, transparent 74%),
    linear-gradient(152deg, #1E6BF1 0%, #2481E8 36%, #1B4FD8 72%, #1E5EE2 100%)!important;
}
html.is-tg body{
  min-height:var(--tg-vh, 100dvh)!important;
}
/* Скроллбары в Telegram:
   — На Telegram Desktop всегда используем аккуратный тонкий системный скроллбар у правого края окна
     и полностью убираем мобильный .sbar (он больше никогда не съезжает внутрь карточек!).
   — На Telegram Mobile прижимаем .sbar строго к правому краю body (max-width: 560px → 280px). */
html.is-tg.is-tg-desktop{
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,0.30) transparent;
}
html.is-tg.is-tg-desktop::-webkit-scrollbar{width:6px;height:6px;display:block;}
html.is-tg.is-tg-desktop::-webkit-scrollbar-track{background:transparent;}
html.is-tg.is-tg-desktop::-webkit-scrollbar-thumb{background:rgba(255,255,255,0.28);border-radius:999px;}
html.is-tg.is-tg-desktop::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,0.46);}
html.is-tg.is-tg-desktop .sbar{display:none!important;}
html.is-tg.is-tg-mobile .sbar{
  right:max(var(--tg-safe-right, 0px), calc(50vw - 280px))!important;
}
/* На мобильных и в узком окне Telegram Desktop (< 768px) заполняем ширину окна без пустых полей,
   а на >= 768px сохраняем ровно те же контейнеры и 3/4-колоночные сетки, что в MAX! */
@media (max-width: 767px){
  html.is-tg body{
    width:100%!important;
    max-width:560px!important;
  }
  html.is-tg body.pad{
    padding-top:calc(var(--tg-top-pad, 8px) + var(--tg-safe-top, 0px))!important;
    padding-bottom:calc(14px + var(--tg-safe-bottom, 0px) + env(safe-area-inset-bottom, 0px))!important;
    padding-left:calc(14px + var(--tg-safe-left, 0px))!important;
    padding-right:calc(14px + var(--tg-safe-right, 0px))!important;
  }
  html.is-tg body.pad.athome{
    padding-top:calc(var(--tg-top-pad, 8px) + var(--tg-safe-top, 0px))!important;
    padding-bottom:calc(10px + var(--tg-safe-bottom, 0px) + env(safe-area-inset-bottom, 0px))!important;
  }
  /* В Telegram на главной 4 ряда вместо 5 (без плитки «Реклама»), поэтому сами блоки на ~25% просторнее —
     поднимаем кегль и иконки пропорционально размеру плиток, чтобы текст выглядел крупным и плотным как в MAX! */
  html.is-tg .bento.lg-bento .tile .ic{
    width:clamp(36px, 5.2dvh, 48px);
    height:clamp(36px, 5.2dvh, 48px);
    border-radius:clamp(12px, 1.65dvh, 16px);
  }
  html.is-tg .bento.lg-bento .tile .ic svg{
    width:clamp(19px, 2.75dvh, 25px);
    height:clamp(19px, 2.75dvh, 25px);
  }
  html.is-tg .bento.lg-bento .tile.a-cr .ic{
    width:clamp(42px, 5.8dvh, 54px);
    height:clamp(42px, 5.8dvh, 54px);
    border-radius:clamp(13px, 1.8dvh, 17px);
  }
  html.is-tg .bento.lg-bento .tile.a-cr .ic svg{
    width:clamp(22px, 3.1dvh, 27px);
    height:clamp(22px, 3.1dvh, 27px);
  }
  html.is-tg .bento.lg-bento .tile h3,
  html.is-tg .bento.lg-bento .tile.a-ch h3,
  html.is-tg .bento.lg-bento .tile.a-tp h3,
  html.is-tg .bento.lg-bento .tile.a-mk h3,
  html.is-tg .bento.lg-bento .tile.a-th h3,
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile h3{
    font-size:clamp(16px, 2.35dvh, 19.5px);
    line-height:1.12;
  }
  html.is-tg .bento.lg-bento .tile.a-cr h3{
    font-size:clamp(18.5px, 2.7dvh, 23px);
  }
  html.is-tg .bento.lg-bento .tile.a-my h3{
    font-size:clamp(14.5px, 2.1dvh, 18px);
  }
  html.is-tg .bento.lg-bento .tile.a-lb h3{
    font-size:clamp(15.5px, 2.25dvh, 19px);
  }
  html.is-tg .hub-head h1{
    font-size:clamp(22px, 3.2dvh, 28px);
  }
}
@media (min-width: 768px){
  html.is-tg body.pad{
    padding-top:calc(var(--tg-top-pad, 14px) + var(--tg-safe-top, 0px))!important;
    padding-bottom:calc(32px + var(--tg-safe-bottom, 0px))!important;
    padding-left:calc(20px + var(--tg-safe-left, 0px))!important;
    padding-right:calc(20px + var(--tg-safe-right, 0px))!important;
  }
  html.is-tg body.pad.athome{
    padding-top:calc(var(--tg-top-pad, 14px) + var(--tg-safe-top, 0px))!important;
    padding-bottom:calc(28px + var(--tg-safe-bottom, 0px))!important;
  }
}

/* Глобальное пропорциональное масштабирование ВСЕГО интерфейса Telegram Mini App
   (точно тот же механизм #app { zoom }, что даёт крупную типографику в MAX Desktop,
   но работающий на ВСЕХ окнах Telegram: от узкого десктоп-попапа и 768–1079px до 4K и смартфонов). */
@media (min-width: 375px) and (max-width: 409px){
  html.is-tg.is-tg-mobile{--tg-zoom:1.06;--tg-modal-zoom:1.05;}
}
@media (min-width: 410px) and (max-width: 767px){
  html.is-tg.is-tg-mobile{--tg-zoom:1.09;--tg-modal-zoom:1.07;}
}
@media (max-width: 499px){
  html.is-tg.is-tg-desktop{--tg-zoom:1.15;--tg-modal-zoom:1.12;}
}
@media (min-width: 500px) and (max-width: 767px){
  html.is-tg.is-tg-desktop{--tg-zoom:1.22;--tg-modal-zoom:1.16;}
}
@media (min-width: 768px) and (max-width: 1079px){
  html.is-tg{--tg-zoom:1.24;--tg-modal-zoom:1.18;}
}
@media (min-width: 1080px) and (max-width: 1439px){
  html.is-tg{--tg-zoom:1.26;--tg-modal-zoom:1.18;}
}
@media (min-width: 1440px) and (max-width: 1839px){
  html.is-tg{--tg-zoom:1.32;--tg-modal-zoom:1.24;}
}
@media (min-width: 1840px){
  html.is-tg{--tg-zoom:1.40;--tg-modal-zoom:1.28;}
}

/* Индикатор платформы (MAX / Telegram) в Лобби и на карточке розыгрыша в Топе */
.lb-plat-bar{margin:0 0 10px!important;}
.lb-m-tx b{display:flex;align-items:center;flex-wrap:wrap;gap:5px;}
.lb-m-plat{display:inline-flex;align-items:center;flex-shrink:0;}
.lb-m-plat .top-plat{padding:2px 6px;font-size:9px;gap:3px;}
.lb-m-plat .top-plat .top-plat-ic{width:10px;height:10px;}
.tc-kicker-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.tc-plat-bar{display:flex;align-items:center;gap:10px;padding:9px 13px;margin:0 0 12px;border-radius:16px;}
.tc-plat-pills{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;}
.tc-plat-txt{font-size:12.5px;font-weight:600;line-height:1.25;color:rgba(240,248,255,0.92);}
.lg-top-ch .nm{display:flex;align-items:center;flex-wrap:wrap;gap:5px;}
.thv2-own-bdg{display:inline-flex;align-items:center;vertical-align:middle;margin-left:5px;padding:1.5px 6px;border-radius:999px;font-size:9.5px;font-weight:800;letter-spacing:0.03em;color:#FFFFFF;background:linear-gradient(135deg,#38BDF8 0%,#2563EB 100%);box-shadow:0 2px 8px -2px rgba(56,189,248,0.55);}
.lb-dp{display:inline-flex!important;align-items:center;gap:4px;}
.lb-dp-ic{width:12px;height:12px;flex-shrink:0;opacity:0.88;}
.lb-th-mini{display:flex;align-items:center;gap:10px;margin:10px 0 2px;padding:7px 10px 7px 7px;border-radius:14px;cursor:pointer;background:linear-gradient(180deg,rgba(255,255,255,0.11) 0%,rgba(12,24,72,0.22) 100%);border:0.7px solid rgba(255,255,255,0.24);box-shadow:0 6px 16px -8px rgba(4,8,30,0.45),inset 0 0.7px 0.9px rgba(255,255,255,0.34);transition:transform .14s ease,border-color .16s ease;}
.lb-th-mini:active{transform:scale(0.985);}
.lb-th-thumb{position:relative;width:40px;height:56px;border-radius:9px;overflow:hidden;flex-shrink:0;background:linear-gradient(155deg,#071128 0%,#0E2556 52%,#050B1C 100%);border:1px solid rgba(255,255,255,0.28);pointer-events:none;}
.lb-th-thumb iframe{position:absolute;top:0;left:0;width:360px;height:504px;border:0;transform:scale(0.1112);transform-origin:0 0;pointer-events:none;}
.lb-th-tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;}
.lb-th-k{font-size:10px;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;color:rgba(219,234,254,0.68);}
.lb-th-nm{font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lb-th-cta{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;font-size:11.5px;font-weight:700;color:#FFFFFF;flex-shrink:0;background:linear-gradient(135deg,rgba(56,189,248,0.82),rgba(37,99,235,0.9));box-shadow:0 4px 12px -4px rgba(56,189,248,0.55),inset 0 0.7px 0.9px rgba(255,255,255,0.7);}
.lb-th-cta svg{width:13px;height:13px;}
html.is-tg #app{
  zoom:var(--tg-zoom, 1);
}
html.is-tg .lpop-card,
html.is-tg .tgsheet,
html.is-tg .toast{
  zoom:var(--tg-modal-zoom, 1);
}
html.is-tg .tgsheet,
html.is-tg .tgsheet.prm-rules-sheet,
html.is-tg .tgsheet.thv2-draft-sheet{
  max-height:calc((var(--tg-vh, 100dvh) - 56px) / var(--tg-modal-zoom, 1))!important;
}

/* Аккуратная читаемость нижней бегущей строки и футера пропорционально остальному UI */
html.is-tg .lg-st-it,
html.is-tg .lg-st-it b{
  font-size:12.5px;
}
html.is-tg .lg-st-ic{
  width:17px;
  height:17px;
}
html.is-tg .hub-copy,
html.is-tg .hub-copy-a{
  font-size:11.5px;
  color:rgba(240,248,255,0.72);
}

/* Плитка «Свой бот» в Telegram: полноширинная флагманская полоса без пустых слотов */
html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile{
  padding:clamp(10px,1.5dvh,16px) clamp(14px,1.8dvh,18px);
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  --hc-tint:rgba(56,189,248,0.34);
  box-shadow:0 18px 36px -12px rgba(56,189,248,0.40),0 4px 12px -4px rgba(6,16,52,0.24),inset 0 1.1px 1.6px rgba(255,255,255,0.86),inset 0 -2px 7px -1px rgba(186,230,253,0.40),inset 0 0 16px -4px rgba(255,255,255,0.24);
}
html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile .ic{
  margin-bottom:0;
  flex-shrink:0;
}
html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile h3{
  font-size:clamp(15px,2.15dvh,18px);
  line-height:1.15;
  text-align:left;
}
@media (min-width: 768px) and (max-width: 1079px){
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile{
    padding:15px 18px!important;
    min-height:104px;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:13px!important;
  }
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile .ic{margin-bottom:0!important;}
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile h3{font-size:15px!important;line-height:1.18!important;}
}
@media (min-width: 1080px){
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile{
    padding:16px 20px!important;
    min-height:82px;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:14px!important;
  }
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile .ic{margin-bottom:0!important;}
  html.is-tg .bento.lg-bento .tile.a-ob.is-tg-tile h3{font-size:15px!important;line-height:1.18!important;}
}
/* Анимация кибер-бота на плитке «Свой бот» в Telegram (чёткий неоновый арт как у флагманских плиток) */
.hub-art.art-ob.is-tg-ob{
  opacity:0.84;
  filter:blur(0.4px) saturate(1.26) brightness(1.16);
  -webkit-mask-image:linear-gradient(24deg,rgba(0,0,0,0.18) 0%,rgba(0,0,0,0.68) 46%,rgba(0,0,0,0.96) 82%);
  mask-image:linear-gradient(24deg,rgba(0,0,0,0.18) 0%,rgba(0,0,0,0.68) 46%,rgba(0,0,0,0.96) 82%);
  animation:hubArtFloatA 10.5s ease-in-out -2.1s infinite;
}
@keyframes obArtBob{
  0%,100%{transform:translate(128px,58px) translateY(0) rotate(-3deg);}
  50%{transform:translate(128px,58px) translateY(-5px) rotate(3deg);}
}
@keyframes obArtRingSpin{
  0%{transform:translate(128px,58px) rotate(0deg);}
  100%{transform:translate(128px,58px) rotate(360deg);}
}
@keyframes obArtEyePulse{
  0%,100%{opacity:1;filter:drop-shadow(0 0 4px #38BDF8);}
  50%{opacity:0.45;filter:drop-shadow(0 0 9px #BAE6FD);}
}
@keyframes obArtSpFloat{
  0%,100%{opacity:0.95;transform:translateY(0) scale(1);}
  50%{opacity:0.45;transform:translateY(-4px) scale(1.18);}
}
.art-ob.is-tg-ob .ob-art-bot{animation:obArtBob 3.4s ease-in-out infinite;}
.art-ob.is-tg-ob .ob-art-ring{animation:obArtRingSpin 18s linear infinite;}
.art-ob.is-tg-ob .ob-art-eye,.art-ob.is-tg-ob .ob-art-ant{animation:obArtEyePulse 2.1s ease-in-out infinite;}
.art-ob.is-tg-ob .ob-art-sp1{transform-box:fill-box;transform-origin:center;animation:obArtSpFloat 2.6s ease-in-out infinite;}
.art-ob.is-tg-ob .ob-art-sp2{transform-box:fill-box;transform-origin:center;animation:obArtSpFloat 3.1s ease-in-out .6s infinite;}
.art-ob.is-tg-ob .ob-art-sp3{transform-box:fill-box;transform-origin:center;animation:obArtSpFloat 2.8s ease-in-out 1.1s infinite;}
body.is-eco .art-ob.is-tg-ob *{animation:none!important;}

/* Единая парящая дизайн-система шапок ДЛЯ ОБЕИХ ПЛАТФОРМ (MAX и Telegram):
   .lg-hubbar (главная), .hd (разделы с вкладками) и .dbar/.prof-dbar (профиль/карточки)
   закруглены со всех 4 углов (20px), имеют один стеклянный фон, полную обводку 0.65px,
   одинаковую рамку логотипа .lg-brand-mk, цифру уровня на аватарке и 0px-скачка при скролле! */
body.is-prof.pad{
  padding-top:8px;
}
@media (min-width: 768px){
  body.is-prof.pad{
    padding-top:14px!important;
  }
}
body.is-prof .lg-hub-ava{
  overflow:visible!important;
}
body.is-prof .lg-hubbar{
  padding:7px 10px 7px 8px!important;
  border-radius:20px!important;
}
body.is-prof .hd{
  position:sticky;
  top:8px!important;
  transform:translateZ(0);
  margin:0 0 14px!important;
  padding:7px 10px 0 8px!important;
  border-radius:20px!important;
  border:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(4,8,28,0.08) 54%, rgba(255,255,255,0.04) 100%)!important;
  backdrop-filter:blur(12px) brightness(0.96)!important;
  -webkit-backdrop-filter:blur(12px) brightness(0.96)!important;
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.48),inset 0 0.65px 1px rgba(255,255,255,0.44),inset 0 -1.8px 4.5px -1px rgba(255,255,255,0.26)!important;
}
body.is-prof .hd::before{
  padding:0.65px!important;
}
body.is-prof .hd .hd-row{
  gap:10px!important;
  padding-bottom:6px!important;
}
body.is-prof .hd .logo{
  gap:10px!important;
}
body.is-prof .hd .logo .nm{
  font-size:15px!important;
  letter-spacing:-0.015em!important;
}
body.is-prof .hd .sec-ava{
  width:clamp(34px,4.8dvh,44px)!important;
  height:clamp(34px,4.8dvh,44px)!important;
  background:linear-gradient(145deg,rgba(255,255,255,0.55),rgba(125,211,252,0.28))!important;
  box-shadow:0 8px 18px -6px rgba(4,8,30,0.48),inset 0 0.8px 1px rgba(255,255,255,0.72)!important;
}
body.is-prof .hd .tabs-wrap{
  margin:0 -2px!important;
  border-top:0.6px solid rgba(255,255,255,0.14);
}
body.is-prof .hd .tabs{
  padding:9px 8px 0!important;
  margin-top:0!important;
}
body.is-prof .dbar,
body.is-prof .prof-dbar{
  position:sticky;
  top:8px!important;
  transform:translateZ(0);
  margin:0 0 14px!important;
  padding:7px 10px!important;
  border-radius:20px!important;
  border:0!important;
  overflow:hidden!important;
  background:linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(4,8,28,0.08) 54%, rgba(255,255,255,0.04) 100%)!important;
  backdrop-filter:blur(12px) brightness(0.96)!important;
  -webkit-backdrop-filter:blur(12px) brightness(0.96)!important;
  box-shadow:0 16px 32px -14px rgba(4,8,30,0.48),inset 0 0.65px 1px rgba(255,255,255,0.44),inset 0 -1.8px 4.5px -1px rgba(255,255,255,0.26)!important;
}
body.is-prof .dbar::before,
body.is-prof .prof-dbar::before{
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;padding:0.65px;
  background:conic-gradient(from 0deg,rgba(255,255,255,0.58) 0deg,rgba(255,255,255,0.28) 52deg,rgba(255,255,255,0.18) 90deg,rgba(255,255,255,0.30) 128deg,rgba(255,255,255,0.54) 180deg,rgba(255,255,255,0.30) 232deg,rgba(255,255,255,0.18) 270deg,rgba(255,255,255,0.28) 308deg,rgba(255,255,255,0.58) 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;mask-composite:exclude;
}
body.is-prof .dbar > *,
body.is-prof .prof-dbar > *{position:relative;z-index:1;}
@media (min-width: 768px){
  body.is-prof .hd,
  body.is-prof .dbar,
  body.is-prof .prof-dbar{
    top:14px!important;
    margin:0 0 18px!important;
  }
}
html.is-tg body.is-prof .hd,
html.is-tg body.is-prof .dbar,
html.is-tg body.is-prof .prof-dbar{
  top:calc((var(--tg-top-pad, 8px) + var(--tg-safe-top, 0px)) / var(--tg-zoom, 1))!important;
}
html.is-tg body.is-prof .my-ctrlbar,
html.is-tg body.is-prof .top-flt-wrap{
  top:calc(112px + var(--tg-safe-top, 0px) / var(--tg-zoom, 1))!important;
}
/* Карточки пакетов Stars в Кошельке Telegram (на >= 768px работают 3/4 колонки как в MAX) */
@media (max-width: 767px){
  html.is-tg .wl-packs{
    grid-template-columns:repeat(2, minmax(0, 1fr))!important;
    gap:10px!important;
  }
}
.wl-pack-stars{
  display:inline-flex;align-items:center;gap:4px;
  padding:4px 11px;border-radius:999px;
  background:linear-gradient(135deg, rgba(250,204,21,0.32), rgba(245,158,11,0.22));
  box-shadow:inset 0 0 0 0.9px rgba(253,224,71,0.62);
  color:#FEF9C3;font-family:var(--display);font-size:13px;font-weight:800;line-height:1.1;
}
.wl-live-stars{
  margin-top:8px;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:8px 12px;border-radius:14px;
  background:rgba(255,255,255,0.12);
  box-shadow:inset 0 0 0 0.75px rgba(255,255,255,0.24);
  font-size:12.5px;font-weight:700;color:#FFFFFF;
}
.wl-live-stars b{color:#FEF08A;font-family:var(--display);}
html.is-tg .ob-stars-buy-btn{
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 100%)!important;
  color:#FFFFFF!important;
  border:0.9px solid rgba(186,230,253,0.72)!important;
  box-shadow:0 8px 20px -6px rgba(56,189,248,0.58),inset 0 1px 1px rgba(255,255,255,0.52)!important;
}
html.is-tg .ob-star-ic{flex-shrink:0;filter:drop-shadow(0 0 8px rgba(56,189,248,0.62));}

/* ============================================================================
   ПАРЯЩИЕ СТЕКЛЯННЫЕ БЛОКИ В ПРОФИЛЕ (.prof-hero-bg) И ПРЕМИУМ-КАРТОЧКА
   СВЯЗКИ АККАУНТОВ MAX ↔ TELEGRAM (.ver-link-card)
   ============================================================================ */
.prof-hero.prof-hero-v2{position:relative;overflow:hidden;}
.prof-hero.prof-hero-v2 > *:not(.prof-hero-bg){position:relative;z-index:2;}
.prof-hero-bg{
  position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;
  opacity:0.92;
}
@keyframes phFloatA{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg);}
  50%{transform:translate3d(5px,-7px,0) rotate(2.5deg);}
}
@keyframes phFloatB{
  0%,100%{transform:translate3d(0,0,0) rotate(0deg);}
  50%{transform:translate3d(-6px,6px,0) rotate(-2.8deg);}
}
@keyframes phFloatC{
  0%,100%{transform:translate3d(0,0,0) scale(1);opacity:0.95;}
  50%{transform:translate3d(3px,-5px,0) scale(1.06);opacity:0.72;}
}
.prof-hero-bg .ph-fl-a{transform-box:view-box;transform-origin:center;animation:phFloatA 7.4s ease-in-out infinite;}
.prof-hero-bg .ph-fl-b{transform-box:view-box;transform-origin:center;animation:phFloatB 8.8s ease-in-out -1.8s infinite;}
.prof-hero-bg .ph-fl-c{transform-box:view-box;transform-origin:center;animation:phFloatC 5.6s ease-in-out -0.9s infinite;}
body.is-eco .prof-hero-bg *{animation:none!important;}

/* Карточка «Связанные аккаунты» с парящими стеклянными блоками и анимированным мостом TG ⇄ MAX */
.ver-link-card{
  position:relative;overflow:hidden;border-radius:26px!important;
  padding:20px 16px 16px!important;
  background:
    radial-gradient(92% 95% at 14% 8%, rgba(56,189,248,0.22) 0%, transparent 58%),
    radial-gradient(88% 90% at 88% 92%, rgba(99,102,241,0.22) 0%, transparent 60%),
    linear-gradient(155deg, rgba(255,255,255,0.16) 0%, rgba(16,38,108,0.28) 54%, rgba(255,255,255,0.09) 100%)!important;
  box-shadow:0 20px 44px -16px rgba(6,16,56,0.52),inset 0 1.1px 1.6px rgba(255,255,255,0.62),inset 0 -2px 8px -1px rgba(186,230,253,0.22)!important;
}
.ver-link-card.is-linked{
  background:
    radial-gradient(90% 90% at 50% 10%, rgba(52,211,153,0.22) 0%, transparent 62%),
    linear-gradient(155deg, rgba(255,255,255,0.16) 0%, rgba(16,56,96,0.28) 56%, rgba(52,211,153,0.10) 100%)!important;
}
.ver-link-bg{
  position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;opacity:0.9;
}
.ver-link-bg .vl-fl-a{transform-box:view-box;transform-origin:center;animation:phFloatA 7.8s ease-in-out infinite;}
.ver-link-bg .vl-fl-b{transform-box:view-box;transform-origin:center;animation:phFloatB 9.2s ease-in-out -2.2s infinite;}
.ver-link-bg .vl-fl-c{transform-box:view-box;transform-origin:center;animation:phFloatC 5.2s ease-in-out -0.7s infinite;}
body.is-eco .ver-link-bg *{animation:none!important;}
.ver-link-in{position:relative;z-index:2;display:flex;flex-direction:column;gap:12px;}
.ver-link-bridge{
  display:flex;align-items:center;justify-content:center;gap:12px;margin:2px 0 2px;
}
.vl-orb{
  width:50px;height:50px;border-radius:16px;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;color:#FFFFFF;
  box-shadow:0 12px 26px -8px rgba(4,12,44,0.52),inset 0 1px 1.4px rgba(255,255,255,0.78),inset 0 0 0 0.85px rgba(255,255,255,0.44);
  animation:phFloatA 4.8s ease-in-out infinite;
}
.vl-orb:last-child{animation-delay:-2.4s;}
.vl-orb svg{width:25px;height:25px;display:block;fill:currentColor;stroke:none;filter:drop-shadow(0 2px 6px rgba(6,16,52,0.34));}
.vl-orb.is-tg{background:linear-gradient(135deg,#38BDF8 0%,#2AABEE 52%,#0284C7 100%);}
.vl-orb.is-max{background:linear-gradient(135deg,#60A5FA 0%,#4F46E5 56%,#7C3AED 100%);}
.vl-beam{
  display:flex;align-items:center;gap:6px;flex:0 1 116px;min-width:74px;
}
.vl-beam-line{
  flex:1;height:2.5px;border-radius:99px;position:relative;overflow:hidden;
  background:rgba(255,255,255,0.22);
}
.vl-beam-line i{
  position:absolute;inset:0;display:block;border-radius:99px;
  background:linear-gradient(90deg,transparent 0%,#7DD3FC 50%,transparent 100%);
  animation:vlBeamFlow 2.1s linear infinite;
}
.vl-beam.is-ok .vl-beam-line{background:rgba(52,211,153,0.42);}
.vl-beam.is-ok .vl-beam-line i{background:linear-gradient(90deg,transparent 0%,#6EE7B7 50%,transparent 100%);}
@keyframes vlBeamFlow{
  0%{transform:translateX(-100%);}
  100%{transform:translateX(100%);}
}
.vl-beam-ic{
  width:28px;height:28px;border-radius:50%;flex-shrink:0;
  display:inline-flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:linear-gradient(145deg,rgba(255,255,255,0.32),rgba(56,189,248,0.18));
  box-shadow:0 0 16px -2px rgba(56,189,248,0.65),inset 0 0 0 0.85px rgba(255,255,255,0.62);
}
.vl-beam-ic svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.2;}
.vl-beam.is-ok .vl-beam-ic{
  background:linear-gradient(135deg,#34D399,#059669);
  box-shadow:0 0 18px -2px rgba(52,211,153,0.78),inset 0 0 0 0.85px rgba(209,250,229,0.75);
}
.ver-link-head{text-align:center;padding:0 4px;}
.ver-link-t{
  font-family:var(--display);font-size:16px;font-weight:900;letter-spacing:-0.02em;color:#FFFFFF;
  text-shadow:0 2px 12px rgba(6,16,52,0.42);
}
.ver-link-s{
  margin-top:4px;font-size:12px;line-height:1.42;color:rgba(232,244,255,0.82);
}
.ver-link-done{display:flex;justify-content:center;padding:4px 0 2px;}
.ver-link-cta-wrap{display:flex;justify-content:center;}
.ver-link-cta{
  width:100%;height:44px;border:0;border-radius:16px;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--display);font-size:13px;font-weight:800;color:#FFFFFF;
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 56%,#4F46E5 100%);
  box-shadow:0 12px 26px -8px rgba(37,99,235,0.68),inset 0 1px 1.2px rgba(255,255,255,0.62),inset 0 0 0 0.8px rgba(186,230,253,0.52);
  transition:transform .14s ease,filter .16s ease;
}
.ver-link-cta svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;}
.ver-link-cta:active{transform:scale(0.975);filter:brightness(1.06);}
.ver-link-card .ver-tg-code-panel{
  margin:0!important;border-radius:18px!important;
  background:rgba(8,22,72,0.34)!important;
  box-shadow:inset 0 0 0 0.8px rgba(186,230,253,0.34)!important;
}
.ver-link-card .ver-tg-redeem{
  margin:0!important;padding:12px 0 0!important;
  border-top:0.7px solid rgba(255,255,255,0.16)!important;
}
.ver-link-card .ver-tg-rlbl{
  text-align:center;font-size:11.5px;color:rgba(232,244,255,0.84);margin-bottom:8px;
}
.ver-link-card .ver-tg-inp{
  border-radius:14px!important;height:42px!important;
  background:rgba(6,18,62,0.36)!important;
  border:0.9px solid rgba(186,230,253,0.34)!important;
}
.ver-link-card .ver-link-ok-btn{
  height:42px!important;border-radius:14px!important;padding:0 16px!important;
  background:linear-gradient(135deg,rgba(56,189,248,0.42),rgba(37,99,235,0.52))!important;
}
/* Чистая статичная двойная аватарка связанных аккаунтов в шапке Профиля (без лишних плашек и выезжания) */
.prof-ava-stack{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  margin:0 auto 12px;
}
.prof-ava-stack .prof-ava-wrap.is-main{
  position:relative;z-index:2;margin:0!important;
}
.prof-ava-peek{
  position:relative;z-index:1;margin-left:-24px;
  width:68px;height:68px;border-radius:50%;padding:3px;border:0;flex-shrink:0;
  pointer-events:none;
  background:linear-gradient(145deg,rgba(255,255,255,0.56),rgba(125,211,252,0.26));
  box-shadow:0 12px 26px -8px rgba(4,12,44,0.52),inset 0 0.9px 1.2px rgba(255,255,255,0.74);
}
.prof-ava-peek-img{
  width:100%;height:100%;border-radius:50%;background:rgba(16,28,74,0.72) center/cover no-repeat;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:22px;font-weight:900;color:#FFFFFF;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.34);
}
.prof-hero.is-anon .prof-ava-peek-img{filter:blur(9px) brightness(0.6);}

/* Фирменная анимированная золотая звезда Telegram Stars (эффекты сияния и искр сзади) */
.tg-star-ico{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  flex-shrink:0;vertical-align:-0.16em;overflow:visible;
}
.tg-star-ico svg{display:block;overflow:visible;filter:drop-shadow(0 2px 6px rgba(245,158,11,0.46));}
.tg-star-ico.is-hero svg{filter:drop-shadow(0 3px 10px rgba(255,180,0,0.62));}
.tg-star-ico .tgs-aura{transform-box:fill-box;transform-origin:center;animation:tgsAura 2.8s ease-in-out infinite;}
.tg-star-ico .tgs-body{transform-box:fill-box;transform-origin:center;animation:tgsFloat 3.2s ease-in-out infinite;}
.tg-star-ico .tgs-sp1{transform-box:fill-box;transform-origin:center;animation:tgsSpark 2.1s ease-in-out infinite;}
.tg-star-ico .tgs-sp2{transform-box:fill-box;transform-origin:center;animation:tgsSpark 2.5s ease-in-out .55s infinite;}
.tg-star-ico .tgs-sp3{transform-box:fill-box;transform-origin:center;animation:tgsSpark 2.3s ease-in-out 1.05s infinite;}
@keyframes tgsAura{0%,100%{opacity:.62;transform:scale(.88);}50%{opacity:1;transform:scale(1.16);}}
@keyframes tgsFloat{0%,100%{transform:translateY(0) scale(1);}50%{transform:translateY(-1.4px) scale(1.06);}}
@keyframes tgsSpark{0%,100%{opacity:.22;transform:scale(.62) rotate(0deg);}50%{opacity:1;transform:scale(1.18) rotate(35deg);}}
body.is-eco .tg-star-ico *{animation:none!important;}
.tg-star-amt{display:inline-flex;align-items:center;gap:5px;}
.ob-price-bar{gap:10px;}
.ob-price-l{min-width:0;flex:1;}
.ob-price-val{white-space:nowrap;flex-wrap:nowrap;}
.ob-price-val b,.ob-price-unit,.ob-wl-btn,.ob-tg-cta-price,.tg-star-amt{white-space:nowrap;flex-shrink:0;}
.ob-tg-cta-price{
  display:inline-flex;align-items:center;gap:6px;margin:4px 0 3px;
  padding:4px 10px;border-radius:999px;width:fit-content;
  background:rgba(255,212,59,0.18);
  box-shadow:inset 0 0 0 0.8px rgba(255,232,125,0.52);
  font-family:var(--display);font-size:13px;font-weight:900;color:#FEF9C3;line-height:1.1;
}
.ob-stars-buy-btn{
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 100%)!important;
  color:#FFFFFF!important;
  border:0.9px solid rgba(186,230,253,0.72)!important;
  box-shadow:0 8px 20px -6px rgba(56,189,248,0.58),inset 0 1px 1px rgba(255,255,255,0.52)!important;
}
.tg-pin-bar{
  margin:0 0 10px;
  width:100%;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:10px 14px;border-radius:18px;
  background:linear-gradient(135deg, rgba(255,255,255,0.22), rgba(186,230,253,0.14));
  box-shadow:0 8px 20px -10px rgba(8,24,72,0.38), inset 0 0 0 0.8px rgba(255,255,255,0.36);
  color:#FFFFFF;text-align:left;
  transition:transform .14s ease, background .18s ease;
}
.tg-pin-bar:active{transform:scale(0.985);}
.tg-pin-bar-l{display:flex;align-items:center;gap:9px;min-width:0;}
.tg-pin-bar-l b{font-family:var(--display);font-size:12.5px;font-weight:800;display:block;line-height:1.15;}
.tg-pin-bar-l small{font-size:11px;opacity:0.86;display:block;margin-top:2px;}
.tg-pin-bar-cta{
  flex:0 0 auto;padding:6px 11px;border-radius:999px;
  background:rgba(255,255,255,0.24);
  font-family:var(--display);font-size:11px;font-weight:800;color:#FFFFFF;
}

/* Плавная перерисовка списка фильтров в «Совместных розыгрышах» без скачка страницы */
.lb-list-wrap{
  position:relative;
  transition:opacity .16s ease;
}
.lb-list-wrap.is-loading{
  opacity:0.46;
  pointer-events:none;
}
.lb-list-wrap.is-loading::after{
  content:'';
  position:absolute;
  top:22px;left:50%;
  width:24px;height:24px;
  margin-left:-12px;
  border-radius:50%;
  border:2.5px solid rgba(255,255,255,0.24);
  border-top-color:#FFFFFF;
  animation:spin .7s linear infinite;
  z-index:5;
}

/* Компактная 2-колоночная сетка возможностей и двойная оплата (Короны + Stars) на экране «Свой бот» */
.ob-feat-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-bottom:14px;
}
@media (min-width: 768px){
  .ob-feat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
}
.ob-feat-card{
  display:flex;flex-direction:column;align-items:flex-start;gap:7px;
  padding:12px 12px 13px;
  border-radius:18px;
  background:linear-gradient(165deg,rgba(255,255,255,0.18) 0%,rgba(255,255,255,0.07) 58%,rgba(12,20,58,0.24) 100%);
  box-shadow:0 10px 24px -14px rgba(4,8,30,0.46),inset 0 1px 1px rgba(255,255,255,0.52),inset 0 0 0 0.75px rgba(255,255,255,0.26);
  backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);
  min-width:0;
}
.ob-feat-ic{
  width:34px;height:34px;border-radius:11px;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;color:#FFFFFF;
  background:rgba(255,255,255,0.16);
  box-shadow:inset 0 0 0 0.85px rgba(255,255,255,0.46),0 0 14px -4px rgba(255,255,255,0.34);
}
.ob-feat-ic svg{width:17px;height:17px;display:block;filter:drop-shadow(0 0 6px rgba(255,255,255,0.68));}
.ob-feat-t{
  font-family:var(--display);font-size:13px;font-weight:800;line-height:1.18;
  color:#FFFFFF;letter-spacing:-0.01em;
}
.ob-feat-d{
  font-size:11.5px;font-weight:500;line-height:1.32;
  color:rgba(236,246,255,0.88);
}

.ob-price-bar.is-dual{
  flex-direction:column;align-items:stretch;gap:11px;
}
.ob-price-top{display:flex;flex-direction:column;gap:5px;}
.ob-price-row{display:flex;flex-wrap:wrap;align-items:center;gap:7px;}
.ob-price-chip{
  display:inline-flex;align-items:center;gap:5px;
  font-family:var(--display);font-size:16px;font-weight:900;color:#FFFFFF;white-space:nowrap;
}
.ob-price-chip b{font-size:17px;font-weight:900;color:#FFFFFF;}
.ob-price-or,.ob-price-sep{
  font-size:11.5px;font-weight:700;color:rgba(226,240,255,0.72);
}
.ob-pay-btns{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
.ob-pay-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:42px;padding:9px 12px;border-radius:14px;border:0;cursor:pointer;box-sizing:border-box;
  font-family:var(--display);font-size:12.5px;font-weight:800;color:#FFFFFF;
  white-space:nowrap;transition:transform .14s ease,filter .16s ease;
  -webkit-tap-highlight-color:transparent;
}
.ob-pay-btn svg{width:18px;height:18px;flex-shrink:0;display:block;}
.ob-tg-cta-prices{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:4px 0 3px;max-width:100%;}
.ob-tg-cta-prices .ob-tg-cta-price{margin:0;font-size:11.5px;padding:3.5px 8px;max-width:100%;box-sizing:border-box;}
.ob-tg-cta-prices .ob-tg-cta-price svg{width:14px;height:14px;flex-shrink:0;display:block;}
.ob-tg-cta-price.is-cr{background:rgba(251,191,36,0.22);box-shadow:inset 0 0 0 0.8px rgba(254,240,138,0.58);}
.ob-tg-cta{box-sizing:border-box;}
.ob-tg-cta-tx{min-width:0;overflow:hidden;}
.ob-pay-btn:active{transform:scale(0.975);}
.ob-pay-btn.is-crowns{
  background:linear-gradient(135deg,rgba(251,191,36,0.92) 0%,rgba(245,158,11,0.90) 100%);
  color:#1E1404;
  box-shadow:0 8px 20px -6px rgba(245,158,11,0.52),inset 0 1px 1.2px rgba(255,255,255,0.76),inset 0 0 0 0.9px rgba(254,240,138,0.75);
}
.ob-pay-btn.is-stars{
  background:linear-gradient(135deg,#38BDF8 0%,#2563EB 100%);
  color:#FFFFFF;
  box-shadow:0 8px 20px -6px rgba(56,189,248,0.56),inset 0 1px 1px rgba(255,255,255,0.58),inset 0 0 0 0.9px rgba(186,230,253,0.72);
}
.ob-foot-acts{display:flex;flex-direction:column;gap:9px;}
.ob-pay-btn.is-lg{
  width:100%;justify-content:flex-start;padding:12px 15px;border-radius:17px;text-align:left;gap:11px;
}
.ob-pay-tx{display:flex;flex-direction:column;gap:2px;min-width:0;}
.ob-pay-tx b{font-family:var(--display);font-size:14px;font-weight:900;line-height:1.15;color:#1E1404;}
.ob-pay-tx small{font-size:11.5px;font-weight:600;line-height:1.25;color:rgba(30,20,4,0.78);}
.ob-pay-thumb{
  width:54px;height:54px;flex:0 0 54px;border-radius:14px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#38BDF8,#2563EB);color:#FFFFFF;
  box-shadow:0 6px 14px -4px rgba(24,10,66,0.48),inset 0 1px 1px rgba(255,255,255,0.45);
}
.ob-pay-thumb svg{width:26px;height:26px;flex-shrink:0;display:block;}


/* --- Global 75-Language Searchable Picker, Regional Soft-Fallback Banner & RTL --- */
.ls-search-wrap { padding: 0 14px 10px; }
.ls-search {
  width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.07);
  color: #F4F8FF; font: 500 14px/1.2 var(--sans); outline: none;
}
.ls-search::placeholder { color: rgba(226,238,255,0.48); }
.ls-search:focus { border-color: rgba(125,211,252,0.58); background: rgba(255,255,255,0.10); }
.top-ls-emj { font-size: 17px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; width: 22px; flex-shrink: 0; }
.top-ls-list { max-height: 54vh; overflow-y: auto; }
.reg-fb-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 0 0 12px; padding: 10px 13px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(56,189,248,0.14), rgba(129,140,248,0.12));
  border: 1px solid rgba(125,211,252,0.28); backdrop-filter: blur(10px);
}
.reg-fb-tx { font: 500 12.5px/1.35 var(--sans); color: rgba(240,248,255,0.88); flex: 1; min-width: 0; }
.reg-fb-btn {
  flex-shrink: 0; padding: 7px 12px; border-radius: 11px; border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.14); color: #fff; font: 700 12px/1 var(--sans); cursor: pointer;
}
.lb-plat-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lb-plat-row .lb-plat-bar { flex: 1; margin-bottom: 0; }
.lb-lang-pill { flex-shrink: 0; max-width: 146px; padding: 8px 11px; }
.mp-lang-pick { max-width: 128px; }
.mp-lang-pick .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[dir="rtl"] .top-go svg, html[dir="rtl"] .dbar .back svg { transform: scaleX(-1); }
html[dir="rtl"] .hd-row .bar-actions { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .prof-modal .lpop-opt.cur::after { margin-left: 0; margin-right: auto; }
html[dir="rtl"] [data-crown-bal],
html[dir="rtl"] .hcp-v,
html[dir="rtl"] .wl-hero-val,
html[dir="rtl"] .wl-pack-num,
html[dir="rtl"] .wl-pack-stars,
html[dir="rtl"] .wl-pack-rub,
html[dir="rtl"] .wl-hist-amt,
html[dir="rtl"] .wl-qchip,
html[dir="rtl"] .wl-rng-marks span,
html[dir="rtl"] .cr-amt,
html[dir="rtl"] .cr-amt b,
html[dir="rtl"] .tg-star-amt,
html[dir="rtl"] .prof-stat b,
html[dir="rtl"] .prm-bal-num,
html[dir="rtl"] .prm-bs-pill b,
html[dir="rtl"] .cd,
html[dir="rtl"] .cjf-v,
html[dir="rtl"] .lb-det-stat b,
html[dir="rtl"] .thv2-st-cell b,
html[dir="rtl"] .lg-st-it b {
  direction: ltr;
  unicode-bidi: isolate;
}
.lpop-list { display: flex; flex-direction: column; gap: 7px; }
.tg-btn-colors { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
.tg-bc {
  width: 24px; height: 24px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.28); transition: transform .15s, box-shadow .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.tg-bc.is-def { background: linear-gradient(135deg, rgba(255,255,255,0.24), rgba(148,163,184,0.34)); }
.tg-bc.is-pri { background: linear-gradient(135deg, #38BDF8, #2563EB); }
.tg-bc.is-suc { background: linear-gradient(135deg, #34D399, #16A34A); }
.tg-bc.is-dan { background: linear-gradient(135deg, #FB7185, #DC2626); }
.tg-bc.on { border-color: #FFFFFF; transform: scale(1.14); box-shadow: 0 0 0 2px rgba(255,255,255,0.26), 0 4px 12px rgba(0,0,0,0.35); }

/* Telegram Premium / Custom Emoji inline rendering + Editor Picker Sheet */
img.tg-ce {
  display: inline-block;
  width: 1.28em;
  height: 1.28em;
  vertical-align: -0.22em;
  object-fit: contain;
  margin: 0 1px;
  pointer-events: none;
  user-select: all;
}
.rte img.tg-ce { pointer-events: auto; }
.rtb.rtb-ce { color: #FDE047; }
.ce-sheet {
  max-height: 82dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
}
.ce-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 10px;
}
.ce-ht { font-family: var(--display); font-size: 16px; font-weight: 800; color: #FFFFFF; }
.ce-done {
  border: 0; border-radius: 999px; padding: 6px 13px; cursor: pointer;
  font-family: var(--display); font-size: 12px; font-weight: 800; color: #FFFFFF;
  background: rgba(255,255,255,0.16);
  box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.32);
}
.ce-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 4px; border-radius: 14px; margin-bottom: 10px;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 0.7px rgba(255,255,255,0.18);
}
.ce-tab {
  border: 0; border-radius: 10px; padding: 8px 6px; cursor: pointer;
  font-family: var(--display); font-size: 11.5px; font-weight: 800;
  color: rgba(226,240,255,0.74); background: transparent;
  transition: background .16s ease, color .16s ease;
}
.ce-tab.cur {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(56,189,248,0.42), rgba(139,92,246,0.48));
  box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.44);
}
.ce-cnt { font-family: var(--mono); font-size: 10px; opacity: 0.85; }
.ce-body { flex: 1; min-height: 180px; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 2px 1px 6px; }
.ce-hint, .ce-load { font-size: 12px; color: rgba(226,240,255,0.68); margin-bottom: 8px; text-align: center; }
.ce-load { padding: 26px 8px; }
.ce-empty {
  padding: 18px 14px; border-radius: 14px; text-align: center;
  font-size: 12.5px; line-height: 1.48; color: rgba(226,240,255,0.82);
  background: rgba(255,255,255,0.06); box-shadow: inset 0 0 0 0.7px rgba(255,255,255,0.16);
}
.ce-grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px;
}
.ce-cell-w { position: relative; }
.ce-cell {
  width: 100%; aspect-ratio: 1 / 1; border: 0; border-radius: 13px; padding: 6px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 0.7px rgba(255,255,255,0.18);
  transition: transform .12s ease, background .14s ease, box-shadow .14s ease;
  -webkit-tap-highlight-color: transparent;
}
.ce-cell:active { transform: scale(0.9); }
.ce-cell.hit {
  background: rgba(52,211,153,0.34);
  box-shadow: inset 0 0 0 1.2px rgba(167,243,208,0.8);
}
.ce-cell img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.ce-fb { font-size: 22px; line-height: 1; }
.ce-del {
  position: absolute; top: -4px; right: -4px; width: 18px; height: 18px;
  border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(244,63,94,0.9); color: #FFFFFF; font-size: 12px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.ce-mine-bar, .ce-pack-form { display: flex; gap: 8px; margin-bottom: 10px; }
.ce-pinp {
  flex: 1; min-width: 0; height: 38px; padding: 0 12px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22); background: rgba(10,16,44,0.52);
  color: #FFFFFF; font-size: 13px; outline: none;
}
.ce-pinp::placeholder { color: rgba(226,240,255,0.48); }
.ce-act {
  border: 0; border-radius: 12px; padding: 8px 13px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--display); font-size: 12px; font-weight: 800; color: #FFFFFF;
  background: rgba(255,255,255,0.14);
  box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.28);
  white-space: nowrap;
}
.ce-act.pri {
  background: linear-gradient(135deg, rgba(56,189,248,0.52), rgba(139,92,246,0.58));
  box-shadow: inset 0 0 0 0.8px rgba(255,255,255,0.46);
}
.ce-sublbl {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: rgba(186,230,253,0.74); margin: 6px 0 6px;
}
.ce-pchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ce-pchip {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: rgba(236,246,255,0.88); cursor: pointer;
  background: rgba(255,255,255,0.09); box-shadow: inset 0 0 0 0.7px rgba(255,255,255,0.22);
}
.ce-pchip.on {
  color: #FFFFFF;
  background: linear-gradient(135deg, rgba(56,189,248,0.42), rgba(99,102,241,0.52));
  box-shadow: inset 0 0 0 0.85px rgba(186,230,253,0.64);
}
.ce-pchip-x {
  border: 0; background: transparent; color: rgba(255,255,255,0.72);
  font-size: 14px; line-height: 1; padding: 0 2px; cursor: pointer;
}
.ce-pack-ttl {
  font-size: 12px; font-weight: 700; color: #E0F2FE; margin: 4px 0 8px;
}
.ce-pack-ttl span { opacity: 0.65; font-family: var(--mono); }
.ce-btn-box {
  margin-top: 12px; padding: 12px; border-radius: 16px;
  background: rgba(255,255,255,0.06);
  box-shadow: inset 0 0 0 0.75px rgba(255,255,255,0.18);
  display: flex; flex-direction: column; gap: 10px;
}
.ce-btn-prev {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 14px; border-radius: 13px;
  font-family: var(--display); font-size: 14px; font-weight: 800; color: #FFFFFF;
  background: linear-gradient(135deg, rgba(56,189,248,0.42), rgba(59,130,246,0.52));
  box-shadow: inset 0 0 0 0.8px rgba(186,230,253,0.48);
}
.ce-btn-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.ce-btn-acts .ce-act.pri { flex: 1; }
