/* ---------- посты каналов: карточка в стиле Puls ---------- */
.ch-posts{max-width:620px;margin-inline:auto}
html body .cpost{gap:0;padding:4px 0}
html body .cp-bub{position:relative;min-width:0;padding:0;border-radius:22px;overflow:hidden;
  background:rgba(28,28,30,.86)!important;border:1px solid rgba(255,255,255,.06)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.035) inset,0 18px 40px -30px rgba(0,0,0,.9)!important;transition:border-color .2s}
html body .cpost:hover .cp-bub{border-color:rgba(255,255,255,.1)!important}
html body .cpost.flash .cp-bub{box-shadow:0 0 0 2px var(--accent)!important}
/* шапка */
.cph{display:flex;align-items:center;gap:10px;padding:14px 10px 0 16px}
.cph>.ava,.cph>.bst-ring{flex:none}
.cph-who{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}
.cph-who b{display:flex;align-items:center;gap:4px;font-size:14.5px;font-weight:650;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cph-who small{margin-top:2px;font-size:12px;color:var(--dim);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cph-ib{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;color:var(--dim);transition:background .15s,color .15s}
.cph-ib:hover{background:rgba(255,255,255,.06);color:var(--fg)}
/* текст и медиа */
html body .cp-bub .p-text{padding:10px 16px 0;font-size:calc(15.5px*var(--fs,1));line-height:1.55}
.cp-bub .p-text b,.cp-bub .p-text strong{font-weight:700}
.cp-media{position:relative;margin:12px 12px 0;border-radius:16px;overflow:hidden;line-height:0}
.cp-media .pm-cnt{line-height:1.4}
html body .cp-bub .cp-media .pm{margin:0;border-radius:0;gap:2px}
.cp-media .pm img,.cp-media .pm video,.cp-media .pm>*{border-radius:0!important}
.cp-pollw{padding:12px 12px 0}
.cp-btns{display:flex;flex-wrap:wrap;gap:6px;padding:12px 12px 0}
.cp-btns .btn{flex:1 1 auto;justify-content:center}
/* реакции */
.cp-rx{display:flex;flex-wrap:wrap;gap:6px;padding:12px 14px 0}
html body .cp-rx .prx{height:30px;padding:0 10px;gap:5px;border-radius:15px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.05);font-size:14px;transition:transform .15s,background .15s,border-color .15s}
html body .cp-rx .prx:hover{background:rgba(255,255,255,.09)}
html body .cp-rx .prx:active{transform:scale(.92)}
html body .cp-rx .prx b{font-size:12.5px;color:var(--muted)}
html body .cp-rx .prx.mine{background:color-mix(in srgb,var(--accent) 16%,transparent);border-color:color-mix(in srgb,var(--accent) 40%,transparent)}
html body .cp-rx .prx.mine b{color:var(--accent)}
html body .cp-rx .prx.add{background:none;border-color:transparent;color:var(--dim);padding:0 7px}
html body .cp-rx .prx.add:hover{color:var(--fg);background:rgba(255,255,255,.06)}
/* строка действий */
.cp-ft{display:flex;align-items:center;gap:2px;margin-top:10px;padding:6px 8px 8px;border-top:1px solid rgba(255,255,255,.05)}
.cpa{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border-radius:17px;color:var(--muted);font-size:13.5px;font-weight:550;transition:background .15s,color .15s}
.cpa:hover{background:rgba(255,255,255,.06);color:var(--fg)}
.cpa:active{transform:scale(.95)}
.cpa[data-pshare]{padding:0 10px}
.cp-cu{display:flex}
.cp-cu .ava{box-shadow:0 0 0 2px #1c1c1e;border-radius:50%}
.cp-cu .ava+.ava{margin-inline-start:-6px}
.cp-views{display:inline-flex;align-items:center;gap:5px;margin-inline-start:auto;padding:0 8px;font-size:12px;color:var(--dim);white-space:nowrap}
.cp-views .i.xs{width:14px;height:14px}
@media (max-width:600px){html body .cp-bub{border-radius:20px}.cp-media{margin:10px 10px 0}}
/* светлая тема */
html[data-theme=light] body .cp-bub,html[data-appbg=light] body .cp-bub{background:#fff!important;border-color:rgba(0,0,0,.07)!important;box-shadow:0 10px 30px -24px rgba(0,0,0,.35)!important}
html[data-theme=light] .cp-ft{border-top-color:rgba(0,0,0,.06)}
html[data-theme=light] .cp-cu .ava{box-shadow:0 0 0 2px #fff}
html[data-theme=light] body .cp-rx .prx{background:rgba(0,0,0,.04);border-color:rgba(0,0,0,.05)}
.cp-burst{position:fixed;z-index:9999;font-style:normal;font-size:44px;line-height:1;pointer-events:none;transform:translate(-50%,-50%);animation:cpBurst .85s cubic-bezier(.2,.9,.25,1.2) forwards}
@keyframes cpBurst{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}25%{opacity:1;transform:translate(-50%,-60%) scale(1.25)}60%{opacity:1;transform:translate(-50%,-75%) scale(1)}100%{opacity:0;transform:translate(-50%,-130%) scale(.8)}}
html[data-motion=off] .cp-burst{display:none}
/* строка действий поста канала: «обсудить» — мягкая плашка, остальное — круглые тихие кнопки */
html body .cp-ft{gap:4px;margin-top:12px;padding:8px 10px 10px;border-top:1px solid rgba(255,255,255,.045)}
html body .cpa{height:36px;gap:8px;padding:0 14px 0 12px;border-radius:18px;font-size:13.5px;font-weight:600;color:var(--muted)}
html body .cpa .i{width:19px;height:19px}
html body .cpa[data-cmts]{background:rgba(255,255,255,.05);color:var(--fg)}
html body .cpa[data-cmts]:hover{background:rgba(255,255,255,.09)}
html body .cpa[data-cmts] .i{color:var(--muted)}
html body .cpa[data-padd],html body .cpa[data-pshare]{width:36px;padding:0;justify-content:center}
html body .cpa[data-padd]:hover,html body .cpa[data-pshare]:hover{background:rgba(255,255,255,.07);color:var(--fg)}
html body .cp-views{gap:6px;font-size:12.5px;font-weight:500;padding:0 6px}
html body .cp-views .i.xs{width:16px;height:16px}
html[data-theme=light] body .cpa[data-cmts]{background:rgba(0,0,0,.045)}

/* ── пост канала в стиле «цитата»: крупные кавычки, заголовок, приглушённый текст ── */
html body .cp-bub .p-text.p-quote{position:relative;padding:14px 18px 2px;text-align:left}
.p-text.p-quote .p-ttl{font-family:var(--f-d);font-weight:700;font-size:calc(19px*var(--fs,1));line-height:1.3;color:var(--fg);text-align:center;margin-bottom:12px;white-space:pre-wrap}
.p-text.p-quote .p-ttl .rt-h{margin:0;font-size:1em}
.p-text.p-quote .p-body{color:var(--muted);font-size:calc(15px*var(--fs,1));line-height:1.62;white-space:pre-wrap}
.p-text.p-quote .p-body .rt-h{color:var(--fg)}
html[data-theme=light] .p-text.p-quote .p-body{color:#555}
/* заметная кнопка «Обсудить» как на образце */
html body .cp-ft .cpa[data-cmts]{flex:1;justify-content:center;background:rgba(255,255,255,.06)}
html body .cp-ft .cpa[data-cmts]:hover{background:rgba(255,255,255,.1)}
