/* AX-CM2 community look — clean white, mobile + desktop */
:root{--cx-ink:#0B1220;--cx-tx:#1E293B;--cx-mut:#64748B;--cx-soft:#94A3B8;--cx-line:#E7E9EE;--cx-line2:#F0F2F5;--cx-bg:#F4F5F7;--cx-blue:#1D63ED;--cx-blue2:#1550C4;--cx-blue50:#EEF3FE;--cx-gold:#8A5A00;--cx-gold50:#FFF7E6;--cx-red:#B42318}
html.cx-html,html.cx-html body{background:var(--cx-bg)}
body.cx-body{margin:0;font-family:'Noto Sans Bengali','Manrope',system-ui,sans-serif;color:var(--cx-ink);-webkit-font-smoothing:antialiased}
.cx-body a{color:inherit;text-decoration:none}
.cx-body button{font-family:inherit;cursor:pointer}
.cx-body :focus-visible{outline:2px solid var(--cx-blue);outline-offset:2px}
.cx-hd{font-family:'Anek Bangla','Noto Sans Bengali',sans-serif}
.cx-num{font-family:'Manrope',sans-serif;font-feature-settings:'tnum'}
.cx-ic{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.cx-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[x-cloak]{display:none!important}

/* top bar */
.cx-top{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid var(--cx-line)}
.cx-top-in{max-width:1240px;margin:0 auto;height:64px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box}
.cx-nav{display:flex;gap:4px;font-size:14px}
.cx-nav a{padding:8px 12px;border-radius:9px;color:#475569}
.cx-nav a:hover{background:#F1F3F7;color:var(--cx-ink)}
.cx-nav a.is-on{background:#F1F3F7;color:var(--cx-ink);font-weight:700}
.cx-top-r{display:flex;align-items:center;gap:6px}
.cx-ib{position:relative;width:42px;height:42px;border:0;border-radius:12px;background:transparent;color:#334155;display:flex;align-items:center;justify-content:center;transition:background .15s}
.cx-ib:hover{background:#F1F3F7}
.cx-badge{position:absolute;top:4px;right:3px;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#E11D48;color:#fff;font:800 10.5px/1 'Manrope',sans-serif;display:flex;align-items:center;justify-content:center;border:2px solid #fff}
.cx-me{width:38px;height:38px;border-radius:50%;overflow:hidden;margin-left:4px;flex-shrink:0}
.cx-btn-dark{height:40px;padding:0 18px;border:0;border-radius:11px;background:var(--cx-ink);color:#fff;font-size:14px;font-weight:700}
@media (max-width:860px){.cx-nav{display:none}.cx-top-in{height:56px;padding:0 10px 0 14px}.cx-top .cx-hide-m{display:none}}

/* avatar */
.cx-av{border-radius:50%;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-weight:700;overflow:hidden;font-family:'Manrope','Noto Sans Bengali',sans-serif}
.cx-av img{width:100%;height:100%;object-fit:cover;display:block}

/* bell popover */
.cx-bell{position:relative}
.cx-pop{position:absolute;right:0;top:50px;width:380px;max-width:calc(100vw - 20px);background:#fff;border:1px solid var(--cx-line);border-radius:16px;box-shadow:0 22px 60px rgba(11,18,32,.16);z-index:70;overflow:hidden}
.cx-pop-hd{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px}
.cx-pop-hd b{font-family:'Anek Bangla',sans-serif;font-size:18px}
.cx-linkbtn{border:0;background:transparent;color:var(--cx-blue);font-size:13px;font-weight:700;padding:6px 8px;border-radius:8px}
.cx-linkbtn:hover{background:var(--cx-blue50)}
.cx-nt-list{max-height:440px;overflow-y:auto;display:flex;flex-direction:column}
.cx-nt{display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;border:0;background:#fff;padding:12px 14px;color:var(--cx-ink);position:relative}
.cx-nt:hover{background:#F8FAFC}
.cx-nt.is-new{background:#F3F7FF}
.cx-nt-ic{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:20px}
.cx-c-green{background:#ECFDF3;color:#0B7A55}.cx-c-blue{background:var(--cx-blue50);color:var(--cx-blue)}.cx-c-amber{background:var(--cx-gold50);color:var(--cx-gold)}.cx-c-purple{background:#F3EEFE;color:#6D28D9}.cx-c-red{background:#FEF2F2;color:#B91C1C}
.cx-nt-tx{flex-grow:1;display:flex;flex-direction:column;gap:2px;font-size:14px;line-height:1.5;min-width:0}
.cx-nt-tx span{color:#475569;font-size:13px}
.cx-nt-tx small{color:var(--cx-mut);font-size:12px}
.cx-nt.is-new .cx-nt-tx small{color:var(--cx-blue);font-weight:700}
.cx-nt-dot{width:10px;height:10px;border-radius:50%;background:var(--cx-blue);flex-shrink:0;margin-top:16px}
.cx-pop-ft{display:block;text-align:center;padding:12px;border-top:1px solid var(--cx-line2);font-size:14px;font-weight:700;color:var(--cx-blue)!important}
.cx-empty{padding:34px 20px;text-align:center;color:var(--cx-mut);font-size:14px}
.cx-page-card{background:#fff;border:1px solid var(--cx-line);border-radius:18px;overflow:hidden}
.cx-narrow{max-width:680px;margin:20px auto;padding:0 12px 100px}

/* layout */
.cx-main{min-height:calc(100vh - 64px)}
.cx-wrap{max-width:1240px;margin:0 auto;padding:22px 16px 48px;display:grid;grid-template-columns:232px minmax(0,1fr) 300px;gap:24px;align-items:start;box-sizing:border-box}
.cx-col{display:flex;flex-direction:column;gap:16px;min-width:0}
.cx-side{position:sticky;top:86px}
@media (max-width:1120px){.cx-wrap{grid-template-columns:220px minmax(0,1fr)}.cx-right{display:none}}
@media (max-width:860px){.cx-wrap{grid-template-columns:minmax(0,1fr);padding:0 0 100px;gap:0}.cx-left{display:none}.cx-feed{gap:12px;padding:12px}}

.cx-card{background:#fff;border:1px solid var(--cx-line);border-radius:16px}
.cx-card-pad{padding:16px}
.cx-cap{font-size:12px;font-weight:700;color:var(--cx-soft);padding:2px 10px 8px}
.cx-chan{height:42px;width:100%;border:0;border-radius:10px;background:transparent;color:#334155;font-size:14px;font-weight:500;display:flex;align-items:center;gap:10px;padding:0 10px;text-align:left}
.cx-chan:hover{background:#F4F6F9}
.cx-chan.is-on{background:var(--cx-blue50);color:#1D4ED8;font-weight:700}
.cx-chan span{flex-grow:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cx-lock{font-size:11px;color:var(--cx-gold);background:var(--cx-gold50);border-radius:6px;padding:2px 6px;font-weight:600}

/* mobile channel chips */
.cx-chips{display:none;gap:8px;overflow-x:auto;padding:12px;background:#fff;border-bottom:1px solid var(--cx-line);scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cx-chips::-webkit-scrollbar{display:none}
.cx-chip{flex-shrink:0;height:36px;padding:0 14px;border-radius:999px;border:1px solid #E2E6EC;background:#fff;color:#334155;font-size:13.5px;font-weight:600}
.cx-chip.is-on{background:var(--cx-ink);border-color:var(--cx-ink);color:#fff}
@media (max-width:860px){.cx-chips{display:flex}}

/* composer */
.cx-comp-bar{display:flex;align-items:center;gap:12px}
.cx-comp-fake{flex-grow:1;height:46px;border-radius:12px;background:#F4F6F9;border:1px solid var(--cx-line);color:var(--cx-mut);font-size:15px;display:flex;align-items:center;padding:0 16px;text-align:left;cursor:text;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cx-comp-tools{display:flex;gap:4px;border-top:1px solid var(--cx-line2);margin-top:12px;padding-top:10px;flex-wrap:wrap}
.cx-tool{height:38px;padding:0 12px;border:0;border-radius:10px;background:transparent;display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:600;color:#334155}
.cx-tool:hover{background:#F4F6F9}
.cx-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:#F1F3F7}
.cx-seg button{height:38px;border:0;border-radius:9px;background:transparent;color:var(--cx-mut);font-size:13.5px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:6px}
.cx-seg button.is-on{background:#fff;color:var(--cx-ink);box-shadow:0 1px 3px rgba(11,18,32,.12)}
.cx-select{height:40px;border:1px solid #E2E6EC;border-radius:10px;background:#F8FAFC;padding:0 10px;font-family:inherit;font-size:14px;color:var(--cx-ink);max-width:100%}
.cx-ta{width:100%;box-sizing:border-box;border:0;outline:0;resize:none;font-family:inherit;font-size:16.5px;line-height:1.65;color:var(--cx-ink);padding:4px 2px;min-height:96px;background:transparent}
.cx-input{width:100%;box-sizing:border-box;height:44px;border:1px solid #E2E6EC;border-radius:11px;padding:0 12px;font-family:inherit;font-size:14px;background:#fff}
.cx-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.cx-thumb{position:relative;width:76px;height:76px;border-radius:12px;overflow:hidden;background:#F1F3F7}
.cx-thumb img{width:100%;height:100%;object-fit:cover}
.cx-thumb button{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(11,18,32,.75);color:#fff;font-size:13px;line-height:1;display:flex;align-items:center;justify-content:center}
.cx-comp-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--cx-line2);padding-top:10px;flex-wrap:wrap}
.cx-draft{font-size:12.5px;color:var(--cx-mut);display:flex;align-items:center;gap:6px}
.cx-draft:before{content:'';width:7px;height:7px;border-radius:50%;background:#0E9F6E}
.cx-btn{height:42px;padding:0 20px;border:0;border-radius:11px;background:var(--cx-blue);color:#fff;font-size:14.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .15s}
.cx-btn:hover{background:var(--cx-blue2)}
.cx-btn[disabled]{opacity:.6;cursor:wait}
.cx-btn-ghost{height:40px;padding:0 16px;border:1px solid #E2E6EC;border-radius:11px;background:#fff;color:var(--cx-ink);font-size:14px;font-weight:600}
.cx-btn-danger{height:40px;padding:0 16px;border:0;border-radius:11px;background:#DC2626;color:#fff;font-size:14px;font-weight:700}
.cx-err{color:#B91C1C;font-size:13px}
.cx-ment{position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid var(--cx-line);border-radius:12px;box-shadow:0 12px 32px rgba(11,18,32,.12);z-index:30;overflow:hidden}
.cx-ment button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:10px 14px;font-size:14px}
.cx-ment button:hover{background:#F4F6F9}

/* sort + new banner */
.cx-sortrow{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cx-tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:#EAECF0}
.cx-tabs button{height:34px;padding:0 14px;border:0;border-radius:9px;background:transparent;color:var(--cx-mut);font-size:13.5px;font-weight:600}
.cx-tabs button.is-on{background:#fff;color:var(--cx-ink);box-shadow:0 1px 3px rgba(11,18,32,.12)}
.cx-newpill{position:sticky;top:76px;z-index:20;align-self:center;height:38px;padding:0 16px;border:0;border-radius:999px;background:var(--cx-blue);color:#fff;font-size:13.5px;font-weight:700;display:flex;align-items:center;gap:6px;box-shadow:0 8px 20px rgba(29,99,237,.35);animation:cxPulse 2.2s ease-out infinite}
@keyframes cxPulse{0%,100%{box-shadow:0 8px 20px rgba(29,99,237,.35),0 0 0 0 rgba(29,99,237,.35)}50%{box-shadow:0 8px 20px rgba(29,99,237,.35),0 0 0 7px rgba(29,99,237,0)}}
@media (max-width:860px){.cx-newpill{top:66px}.cx-sortrow{padding:0 2px}}

/* post */
.cx-post{background:#fff;border:1px solid var(--cx-line);border-radius:16px;padding:18px 20px;display:flex;flex-direction:column;gap:14px;position:relative;transition:box-shadow .2s}
.cx-post:hover{box-shadow:0 8px 28px rgba(11,18,32,.05)}
@media (max-width:860px){.cx-post{padding:14px;gap:12px;border-radius:14px}}
.cx-pin{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--cx-blue);margin-bottom:-4px}
.cx-ph{display:flex;align-items:flex-start;gap:12px}
.cx-ph-m{flex-grow:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cx-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cx-name a{font-weight:700;font-size:15px;color:var(--cx-ink)}
.cx-name a:hover{text-decoration:underline}
.cx-meta{font-size:12.5px;color:var(--cx-mut);display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.cx-kind{height:21px;padding:0 8px;border-radius:6px;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center}
.cx-k-question{background:#FFF1E6;color:#9A3412}.cx-k-win{background:#ECFDF3;color:#0B7A55}.cx-k-welcome{background:var(--cx-blue50);color:#1D4ED8}
.cx-more{width:38px;height:38px;border:0;border-radius:10px;background:transparent;color:var(--cx-mut);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cx-more:hover{background:#F1F3F7}
.cx-menu{position:absolute;top:58px;right:14px;z-index:15;width:240px;background:#fff;border:1px solid var(--cx-line);border-radius:14px;box-shadow:0 18px 48px rgba(11,18,32,.14);padding:6px;display:flex;flex-direction:column}
.cx-menu button{height:44px;border:0;background:transparent;border-radius:9px;padding:0 10px;display:flex;align-items:center;gap:10px;color:var(--cx-ink);font-size:14px;text-align:left}
.cx-menu button:hover{background:#F4F6F9}
.cx-menu button.is-danger{color:var(--cx-red)}
.cx-body-tx{font-size:15.5px;line-height:1.75;color:var(--cx-tx);white-space:pre-line;word-break:break-word}
.cx-body-tx a{color:var(--cx-blue);text-decoration:underline;text-underline-offset:2px}
.cx-more-tx{border:0;background:transparent;color:var(--cx-mut);font-weight:700;font-size:14px;padding:0}
.cx-confirm{border:1.5px solid #FECACA;background:#FEF2F2;border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;color:#7F1D1D}

/* images */
.cx-gal{display:grid;gap:4px;border-radius:12px;overflow:hidden;background:#F1F3F7}
.cx-gal button{border:0;padding:0;background:#E9EDF2;position:relative;overflow:hidden;cursor:zoom-in;display:block}
.cx-gal img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.cx-gal button:hover img{transform:scale(1.02)}
.cx-g1 button{max-height:560px}.cx-g1 img{max-height:560px;height:auto;min-height:220px}
.cx-g2{grid-template-columns:1fr 1fr}.cx-g2 button{height:300px}
.cx-g3{grid-template-columns:2fr 1fr;grid-template-rows:180px 180px}.cx-g3 button:first-child{grid-row:span 2}
.cx-g4{grid-template-columns:1fr 1fr;grid-template-rows:200px 200px}
.cx-gmore{position:absolute;inset:0;background:rgba(11,18,32,.55);color:#fff;display:flex;align-items:center;justify-content:center;font:800 26px 'Manrope',sans-serif}
@media (max-width:860px){.cx-g2 button{height:190px}.cx-g3{grid-template-rows:130px 130px}.cx-g4{grid-template-rows:150px 150px}}

/* link preview */
.cx-lp{display:flex;flex-direction:column;border:1px solid var(--cx-line);border-radius:12px;overflow:hidden;color:var(--cx-ink)!important;background:#F8FAFC;position:relative}
.cx-lp-img{width:100%;aspect-ratio:1.91/1;object-fit:cover;background:#EEF2F7;display:block}
.cx-lp-b{padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.cx-lp-site{font:600 12px 'Manrope',sans-serif;color:var(--cx-mut);text-transform:uppercase}
.cx-lp-t{font-weight:700;font-size:15px;line-height:1.45}
.cx-lp-d{font-size:13px;color:var(--cx-mut);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cx-lp-x{position:absolute;top:8px;right:8px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(11,18,32,.7);color:#fff;font-size:15px;display:flex;align-items:center;justify-content:center;z-index:2}
.cx-yt{position:relative;padding-top:56.25%;border-radius:12px;overflow:hidden;background:#000}
.cx-yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* reactions row */
.cx-stats{display:flex;align-items:center;justify-content:space-between;font-size:13px;color:var(--cx-mut);border-bottom:1px solid var(--cx-line2);padding-bottom:10px;margin-top:-2px;gap:8px}
.cx-emo{display:inline-flex;align-items:center;gap:6px}
.cx-emo i{font-style:normal;width:22px;height:22px;border-radius:50%;background:#fff;border:1.5px solid #fff;display:inline-flex;align-items:center;justify-content:center;font-size:13px;margin-right:-8px;box-shadow:0 0 0 1px var(--cx-line)}
.cx-emo i:last-of-type{margin-right:0}
.cx-acts{display:flex;align-items:center;gap:4px;margin-top:-6px;position:relative}
.cx-act{flex-grow:1;height:42px;border:0;border-radius:10px;background:transparent;color:#475569;font-size:14px;font-weight:600;display:flex;align-items:center;justify-content:center;gap:7px}
.cx-act:hover{background:#F4F6F9}
.cx-act.is-on{color:var(--cx-blue)}
.cx-act-sm{flex-grow:0;width:44px}
.cx-picker{position:absolute;bottom:48px;left:0;background:#fff;border:1px solid var(--cx-line);border-radius:999px;box-shadow:0 12px 32px rgba(11,18,32,.14);padding:6px;display:flex;gap:2px;z-index:12}
.cx-picker button{width:44px;height:44px;border:0;background:transparent;border-radius:50%;font-size:24px;transition:transform .15s}
.cx-picker button:hover{transform:scale(1.25) translateY(-3px)}

/* comments */
.cx-cmts{display:flex;flex-direction:column;gap:12px}
.cx-cm{display:flex;gap:9px}
.cx-cm-b{flex-grow:1;min-width:0}
.cx-bub{background:#F1F3F7;border-radius:16px;padding:9px 13px;display:inline-block;max-width:100%;box-sizing:border-box}
.cx-bub a.cx-cn{font-weight:700;font-size:13.5px;color:var(--cx-ink)}
.cx-bub div{font-size:14px;color:var(--cx-tx);line-height:1.55;word-break:break-word;white-space:pre-line}
.cx-bub div a{color:var(--cx-blue);text-decoration:underline}
.cx-cm-acts{display:flex;gap:14px;margin-top:4px;padding-left:12px;font-size:12.5px;color:var(--cx-mut);flex-wrap:wrap;align-items:center}
.cx-cm-acts button{border:0;background:transparent;padding:0;font-size:12.5px;font-weight:700;color:var(--cx-mut)}
.cx-cm-acts button.is-on{color:var(--cx-blue)}
.cx-replies{display:flex;flex-direction:column;gap:10px;margin-top:10px;padding-left:14px;border-left:2px solid var(--cx-line2)}
.cx-cin{display:flex;gap:8px;align-items:center}
.cx-cin input{flex-grow:1;min-width:0;height:42px;border:1px solid transparent;border-radius:21px;background:#F1F3F7;padding:0 16px;font-family:inherit;font-size:14px;box-sizing:border-box;outline:0}
.cx-cin input:focus{background:#fff;border-color:#C7D5F5}
.cx-send{width:42px;height:42px;border:0;border-radius:50%;background:var(--cx-blue);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cx-showmore{border:0;background:transparent;text-align:left;color:var(--cx-mut);font-size:13.5px;font-weight:700;padding:0 0 0 46px}

/* right column */
.cx-rules{font-size:13.5px;line-height:1.75;color:#334155;white-space:pre-line}
.cx-mecard{display:flex;align-items:center;gap:12px}

/* toast */
.cx-toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);background:var(--cx-ink);color:#fff;font-size:14px;font-weight:600;padding:12px 18px;border-radius:12px;z-index:9000;box-shadow:0 12px 32px rgba(11,18,32,.25);max-width:calc(100vw - 32px)}
@media (min-width:861px){.cx-toast{bottom:28px}}

/* load more */
.cx-loadmore{height:46px;border:1px solid var(--cx-line);border-radius:12px;background:#fff;color:var(--cx-ink);font-size:14px;font-weight:700}

/* mobile bottom nav */
.cx-bnav{display:none}
@media (max-width:860px){
 .cx-bnav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;position:fixed;left:0;right:0;bottom:0;height:74px;padding:0 6px 12px;box-sizing:border-box;background:#fff;border-top:1px solid var(--cx-line);z-index:80;box-shadow:0 -8px 24px rgba(11,18,32,.05)}
 .cx-bnav a{height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--cx-mut);font-size:11.5px;font-weight:500;position:relative}
 .cx-bnav a.is-on{color:var(--cx-ink);font-weight:700}
 .cx-bnav .cx-plus{justify-self:center;width:54px;height:54px;border-radius:18px;background:var(--cx-blue);color:#fff;box-shadow:0 8px 20px rgba(29,99,237,.35);margin-top:-18px}
 .cx-bnav .cx-badge{top:2px;right:auto;left:50%;margin-left:4px}
}

/* lightbox (Facebook-like) */
.cx-lb{position:fixed;inset:0;background:#000;z-index:10000;display:flex;flex-direction:column;color:#fff;touch-action:none;user-select:none;-webkit-user-select:none}
.cx-lb-top{height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:0 8px;position:relative;z-index:3}
.cx-lb-btn{width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;justify-content:center}
.cx-lb-btn:hover{background:rgba(255,255,255,.22)}
.cx-lb-stage{flex-grow:1;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.cx-lb-img{max-width:100%;max-height:100%;object-fit:contain;will-change:transform;-webkit-user-drag:none;transform-origin:center center}
.cx-lb-nav{position:absolute;top:50%;margin-top:-26px;width:52px;height:52px;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;display:flex;align-items:center;justify-content:center;z-index:3}
.cx-lb-nav:hover{background:rgba(255,255,255,.26)}
.cx-lb-hint{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);font-size:12px;color:rgba(255,255,255,.75);background:rgba(255,255,255,.12);border-radius:999px;padding:6px 12px;white-space:nowrap;pointer-events:none}
@media (max-width:860px){.cx-lb-nav{display:none}}
@media (min-width:861px){.cx-lb-hint{display:none}}

/* verified tooltip (also defined inline in partial) */
@media (prefers-reduced-motion: reduce){.cx-body *{animation:none!important;transition:none!important}}

/* ===== AX-CM4: poll, share, save, best answer ===== */
.cx-hide-xs{display:inline}
@media (max-width:400px){.cx-hide-xs{display:none}.cx-act{font-size:13px;gap:5px}.cx-acts{gap:2px}}
.cx-tool.is-on{background:#F3EEFE;color:#5B21B6}
.cx-k-solved{background:#ECFDF3;color:#0B7A55;gap:4px}
.cx-meta-sh{font-size:13px;font-weight:500;color:var(--cx-mut)}
.cx-focus{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;font-weight:600}

/* poll builder (composer) */
.cx-pollb{border:1px solid var(--cx-line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:8px;background:#FBFAFF}
.cx-pollb-h{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700}
.cx-pollb-h span{display:flex;align-items:center;gap:6px}
.cx-pollb-h .cx-more{width:34px;height:34px}
.cx-pollb-row{display:flex;align-items:center;gap:6px}
.cx-pollb-row .cx-input{height:42px}
.cx-pollb-f{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:var(--cx-mut);border-top:1px solid var(--cx-line2);padding-top:10px}
.cx-check{display:flex;align-items:center;gap:8px;cursor:pointer;color:var(--cx-tx)}
.cx-check input{width:18px;height:18px;accent-color:var(--cx-blue)}

/* poll (post) */
.cx-poll{display:flex;flex-direction:column;gap:8px}
.cx-po{position:relative;overflow:hidden;min-height:46px;border:1.5px solid var(--cx-line);border-radius:12px;background:#fff;display:flex;align-items:center;gap:10px;padding:10px 14px;text-align:left;font-family:inherit;font-size:14.5px;color:var(--cx-ink);transition:border-color .15s,background .15s}
.cx-po:hover:not(:disabled){border-color:#BFD0F7}
.cx-po:disabled{cursor:default}
.cx-po.is-on{border-color:var(--cx-blue)}
.cx-po-bar{position:absolute;left:0;top:0;bottom:0;background:#EEF3FE;z-index:0;transition:width .35s ease}
.cx-po.is-on .cx-po-bar{background:#DCE7FD}
.cx-po-mk{position:relative;z-index:1;width:20px;height:20px;border-radius:50%;border:2px solid #CBD5E1;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff;box-sizing:border-box}
.cx-po-mk.is-sq{border-radius:6px}
.cx-po.is-on .cx-po-mk{background:var(--cx-blue);border-color:var(--cx-blue)}
.cx-po-t{position:relative;z-index:1;flex-grow:1;min-width:0;word-break:break-word;line-height:1.45}
.cx-po.is-on .cx-po-t{font-weight:700}
.cx-po-p{position:relative;z-index:1;font:700 13.5px 'Manrope',sans-serif;color:var(--cx-tx);flex-shrink:0}
.cx-po-meta{display:flex;gap:6px;flex-wrap:wrap;font-size:12.5px;color:var(--cx-mut);padding:0 2px}

/* shared post card */
.cx-share{border:1px solid var(--cx-line);border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px;background:#fff}
.cx-share .cx-body-tx{font-size:14.5px}
.cx-share .cx-gal button{height:auto}
.cx-share-note{display:flex;align-items:center;gap:6px;font-size:13px;color:#5B21B6;background:#F3EEFE;border-radius:9px;padding:8px 10px}
.cx-share-open{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;font-size:13.5px;font-weight:700;color:var(--cx-blue)!important}
.cx-share-x{flex-direction:row;align-items:flex-start;gap:12px;background:#F8FAFC;color:var(--cx-mut)}
.cx-share-x div{display:flex;flex-direction:column;gap:3px;font-size:13px;line-height:1.5}
.cx-share-x b{font-size:14.5px;color:var(--cx-ink)}

/* share panel (inline, under actions) */
.cx-sharep{border:1px solid var(--cx-line);border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px;background:#F8FAFC;margin-top:-6px}
.cx-sharep-h{font-size:14px;font-weight:700}
.cx-sharep-ta{height:auto;min-height:64px;padding:10px 12px;line-height:1.55;resize:vertical}
.cx-sharep-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.cx-sharep-row .cx-select{max-width:200px}
.cx-sharep-note{font-size:12.5px;color:var(--cx-gold);background:var(--cx-gold50);border-radius:9px;padding:8px 10px;line-height:1.5}
.cx-sharep-ext{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;border-top:1px solid var(--cx-line);padding-top:10px}
.cx-sharep-ext a,.cx-sharep-ext button{height:42px;border:1px solid var(--cx-line);border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-family:inherit;font-size:13px;font-weight:600;color:var(--cx-ink)!important;white-space:nowrap}
.cx-sharep-ext a:hover,.cx-sharep-ext button:hover{background:#F1F3F7}
@media (max-width:860px){.cx-sharep-row .cx-btn{width:100%}.cx-sharep-row label{width:100%}.cx-sharep-row .cx-select{max-width:none;flex-grow:1}}

/* best answer */
.cx-best-h{display:flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:#0B7A55;margin-bottom:-6px;padding-left:2px}
.cx-cm.is-best{background:#F0FDF6;border:1px solid #BBF7D0;border-radius:14px;padding:10px}
.cx-cm.is-best .cx-bub{background:#fff}
.cx-cm-acts .cx-bestbtn{color:#0B7A55}
.cx-cm-acts .cx-bestbtn.is-on{color:var(--cx-mut)}

/* ===== AX-CM6: share popup, level chip, my level, weekly top, leaderboard ===== */
.cx-shm{position:fixed;inset:0;z-index:9600;display:flex;align-items:center;justify-content:center;padding:16px}
.cx-shm-bg{position:absolute;inset:0;background:rgba(11,18,32,.55)}
.cx-shm-box{position:relative;width:100%;max-width:480px;max-height:calc(100vh - 32px);overflow-y:auto;background:#fff;border-radius:20px;box-shadow:0 30px 80px rgba(11,18,32,.3);padding:18px;display:flex;flex-direction:column;gap:12px;box-sizing:border-box}
.cx-shm-grab{display:none}
.cx-shm-h{display:flex;align-items:center;justify-content:space-between}
.cx-shm-h b{font-size:18px}
.cx-shm-me{display:flex;align-items:center;gap:10px}
.cx-shm-ta{width:100%;box-sizing:border-box;border:1px solid #E2E6EC;border-radius:12px;padding:10px 12px;font-family:inherit;font-size:15.5px;line-height:1.6;resize:vertical;min-height:84px;outline:0}
.cx-shm-ta:focus{border-color:#B8CBF6}
.cx-shm-go{width:100%;height:46px}
.cx-shm-or{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--cx-soft)}
.cx-shm-or:before,.cx-shm-or:after{content:"";flex-grow:1;height:1px;background:var(--cx-line)}
.cx-shm .cx-sharep-ext{border-top:0;padding-top:0}
.cx-shm-in{animation:cxShmIn .2s cubic-bezier(.2,.7,.2,1)}
.cx-shm-out{animation:cxShmIn .15s reverse ease-in}
@keyframes cxShmIn{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media (max-width:640px){
 .cx-shm{align-items:flex-end;padding:0}
 .cx-shm-box{max-width:none;border-radius:20px 20px 0 0;padding:10px 16px calc(18px + env(safe-area-inset-bottom));max-height:88vh}
 .cx-shm-grab{display:block;width:40px;height:5px;border-radius:3px;background:#D5DAE1;margin:0 auto 2px}
 @keyframes cxShmIn{from{transform:translateY(100%)}to{transform:none}}
}

.cx-lv{display:inline-flex;align-items:center;height:19px;padding:0 7px;margin-left:6px;border-radius:6px;font-size:11px;font-weight:700;background:#F1F3F7;color:#475569;vertical-align:1px;white-space:nowrap}
.cx-lv2,.cx-lv3{background:#ECFDF3;color:#0B7A55}
.cx-lv4,.cx-lv5{background:#EEF3FE;color:#1D4ED8}
.cx-lv6,.cx-lv7{background:#FFF7E6;color:#8A5A00}
.cx-lv8,.cx-lv9{background:#0B1220;color:#FCD34D}

.cx-mylv{margin-top:14px;display:flex;flex-direction:column;gap:7px}
.cx-mylv-h{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#334155;gap:8px}
.cx-mylv-h b{color:var(--cx-gold)}
.cx-mylv-bar{height:8px;border-radius:999px;background:#F1F3F7;overflow:hidden}
.cx-mylv-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#E8B34A,#D99A1E)}
.cx-mylv-n{font-size:12px;color:var(--cx-mut)}

.cx-top5{display:flex;align-items:center;gap:10px;padding:7px 4px;border-radius:10px;color:var(--cx-ink)!important}
.cx-top5:hover{background:#F6F7F9}
.cx-top5-r{width:18px;text-align:center;font-weight:800;font-size:13px;color:var(--cx-soft)}
.cx-top5-m{flex-grow:1;min-width:0;display:flex;flex-direction:column}
.cx-top5-n{font-weight:700;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-top5-l{font-size:11.5px;color:var(--cx-gold)}
.cx-top5-p{font-weight:800;font-size:13.5px}

/* leaderboard page */
.cx-ldr{max-width:1160px;margin:0 auto;padding:28px 16px 40px;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start;box-sizing:border-box}
.cx-ldr-main,.cx-ldr-side{display:flex;flex-direction:column;gap:16px;min-width:0}
.cx-ldr-top{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.cx-ldr-top h1{margin:0;font-size:30px;font-weight:700;line-height:1.3}
.cx-ldr-top p{margin:4px 0 0;font-size:14.5px;color:#475569}
.cx-ldr-tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:#EAECF0}
.cx-ldr-tabs a{height:38px;padding:0 16px;border-radius:9px;display:flex;align-items:center;font-size:14px;font-weight:600;color:var(--cx-mut)}
.cx-ldr-tabs a.is-on{background:#fff;color:var(--cx-ink);box-shadow:0 1px 3px rgba(11,18,32,.12)}
.cx-pod{background:#fff;border:1px solid var(--cx-line);border-radius:20px;padding:26px 22px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.cx-pod-c{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;color:var(--cx-ink)!important}
.cx-pod-av{position:relative;border-radius:50%;padding:3px;display:inline-flex}
.cx-pod-av .cx-av{border:3px solid #fff}
.cx-pod-r{position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:28px;height:28px;border-radius:50%;color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;border:3px solid #fff}
.cx-pod-n{font-weight:700;font-size:15px;margin-top:8px;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-pod-l{font-size:12.5px;color:var(--cx-gold)}
.cx-pod-b{width:100%;border-radius:14px 14px 0 0;display:flex;flex-direction:column;align-items:center;padding-top:14px;box-sizing:border-box;margin-top:4px}
.cx-pod-b b{font-size:24px;font-weight:800}
.cx-pod-b span{font-size:12px;color:var(--cx-mut)}
.cx-rank{background:#fff;border:1px solid var(--cx-line);border-radius:20px;overflow:hidden}
.cx-rank-row{display:flex;align-items:center;gap:14px;padding:13px 20px;border-bottom:1px solid var(--cx-line2);color:var(--cx-ink)!important}
.cx-rank-row:last-child{border-bottom:0}
.cx-rank-row.is-me{background:#F5F8FF}
.cx-rank-row:hover{background:#FAFBFC}
.cx-rank-r{width:30px;font-weight:800;font-size:15px;color:var(--cx-soft)}
.cx-rank-m{flex-grow:1;min-width:0;display:flex;flex-direction:column}
.cx-rank-n{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-rank-l{font-size:12.5px;color:var(--cx-gold)}
.cx-rank-t{font-size:12.5px;font-weight:600;width:64px;text-align:right}
.cx-rank-p{font-weight:800;font-size:16px;width:64px;text-align:right}
.cx-rank-sep{padding:8px 20px;font-size:12px;color:var(--cx-soft);background:#FAFBFC;border-bottom:1px solid var(--cx-line2)}
.cx-earn{display:flex;align-items:center;gap:10px;font-size:14px}
.cx-earn-i{width:34px;height:34px;border-radius:10px;background:#F1F3F7;color:#334155;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cx-earn-m{flex-grow:1;min-width:0}
.cx-earn-m small{display:block;font-size:12px;color:var(--cx-mut)}
.cx-earn-p{font-weight:800;color:var(--cx-gold)}
.cx-lvrow{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px}
.cx-lvrow.is-me{background:#FFF7E6}
.cx-lvrow-k{width:30px;height:30px;border-radius:9px;background:#F1F3F7;color:#64748B;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cx-lvrow.is-done .cx-lvrow-k{background:#D99A1E;color:#fff}
.cx-lvrow-m{flex-grow:1;min-width:0;display:flex;flex-direction:column}
.cx-lvrow-m b{font-size:14.5px}
.cx-lvrow-m small{font-size:12px;color:var(--cx-mut)}
.cx-lvrow-p{font-size:12.5px;color:var(--cx-mut);font-weight:600}
@media (max-width:1000px){.cx-ldr{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
 .cx-ldr{padding:16px 12px 110px;gap:14px}
 .cx-ldr-top h1{font-size:24px}
 .cx-ldr-tabs{width:100%}.cx-ldr-tabs a{flex:1;justify-content:center;padding:0 6px;font-size:13.5px}
 .cx-pod{padding:20px 10px 0;gap:8px}
 .cx-pod-n{font-size:13px}.cx-pod-b b{font-size:19px}
 .cx-rank-row{padding:12px 14px;gap:10px}
 .cx-rank-t{display:none}.cx-rank-p{width:auto}
}

/* ===== AX-CM8: profile, privacy page, profile-mode feed ===== */
.cx-wrap.cx-wrap-prof{display:block;max-width:none;margin:0;padding:0}
.cx-wrap-prof .cx-feed{padding:0}
.cx-hidnote{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;background:#F1F3F7;border-radius:10px;padding:8px 10px;font-size:13px;color:#334155}

.cx-pf{max-width:1080px;margin:0 auto;padding:24px 16px 48px;display:flex;flex-direction:column;gap:20px;box-sizing:border-box}
.cx-pf-head{background:#fff;border:1px solid var(--cx-line);border-radius:20px;overflow:hidden}
.cx-pf-cover{height:220px;background:#0B1220;position:relative;overflow:hidden}
.cx-pf-cover img{width:100%;height:100%;object-fit:cover;display:block;cursor:zoom-in}
.cx-pf-pattern{position:absolute;inset:0;background:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 14px,transparent 14px 28px)}
.cx-pf-cbtn{position:absolute;top:10px;width:44px;height:44px;border-radius:50%;background:rgba(11,18,32,.45);color:#fff!important;display:none;align-items:center;justify-content:center;backdrop-filter:blur(4px)}
.cx-pf-back{left:10px}.cx-pf-shield{right:10px}
.cx-pf-id{padding:0 32px 22px;display:flex;gap:24px;align-items:flex-end;margin-top:-56px;position:relative;flex-wrap:wrap}
.cx-pf-av{width:132px;height:132px;flex-shrink:0;border-radius:50%;border:5px solid #fff;display:flex;align-items:center;justify-content:center;font-size:42px;font-weight:700;position:relative;box-sizing:border-box;overflow:visible}
.cx-pf-av img{width:100%;height:100%;object-fit:cover;border-radius:50%;cursor:zoom-in}
.cx-pf-online{position:absolute;right:8px;bottom:8px;width:18px;height:18px;border-radius:50%;background:#22C55E;border:3px solid #fff}
.cx-pf-meta{flex:1 1 280px;min-width:0;display:flex;flex-direction:column;gap:6px;padding-bottom:4px}
.cx-pf-name{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.cx-pf-name h1{margin:0;font-size:28px;font-weight:700;line-height:1.3}
.cx-pf-lv{height:24px;padding:0 9px;border-radius:7px;background:#FFF7E6;color:#8A5A00;font-size:12.5px;font-weight:700;display:inline-flex;align-items:center;gap:4px}
.cx-pf-line{font-size:15px;color:#334155}
.cx-pf-sub{font-size:13px;color:#64748B;display:flex;gap:6px 14px;flex-wrap:wrap}
.cx-pf-sub span{display:flex;align-items:center;gap:5px}
.cx-pf-sub b{color:var(--cx-ink)}
.cx-pa{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cx-pa-btn{height:44px;padding:0 18px;border:1px solid #E2E6EC;border-radius:12px;background:#fff;color:var(--cx-ink)!important;font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-family:inherit;cursor:pointer}
.cx-pa-btn:hover{background:#F6F7F9}
.cx-pa-btn.is-blue{background:var(--cx-blue);border-color:var(--cx-blue);color:#fff!important}
.cx-pa-btn.is-blue:hover{background:var(--cx-blue2)}
.cx-pa-btn.is-dark{background:var(--cx-ink);border-color:var(--cx-ink);color:#fff!important}
.cx-pa-ic{width:44px;padding:0}
.cx-pa-menu{top:52px;right:0;width:230px}
.cx-pf-lvm{display:none}
.cx-pf-bar{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--cx-line2);padding:0 24px;gap:10px}
.cx-pf-tabs{display:flex;gap:4px}
.cx-pf-tabs a{height:54px;padding:0 16px;border-bottom:3px solid transparent;display:flex;align-items:center;color:var(--cx-mut);font-size:15px;font-weight:700}
.cx-pf-tabs a.is-on{border-bottom-color:var(--cx-blue);color:var(--cx-ink)}
.cx-pf-stats{display:flex;gap:28px}
.cx-pf-stats div{display:flex;flex-direction:column;align-items:center}
.cx-pf-stats b{font-size:18px;font-weight:800}
.cx-pf-stats span{font-size:12px;color:var(--cx-mut)}
.cx-pf-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;align-items:start}
.cx-pf-side{display:flex;flex-direction:column;gap:16px;position:sticky;top:86px}
.cx-pf-main{display:flex;flex-direction:column;gap:16px;min-width:0}
.cx-pf-card{display:flex;flex-direction:column;gap:12px}
.cx-pf-card .cx-hd{font-size:16px}
.cx-pf-bio{margin:0;font-size:14px;line-height:1.7;color:#334155;white-space:pre-line;word-break:break-word}
.cx-pf-links{display:flex;flex-direction:column;gap:8px;border-top:1px solid var(--cx-line2);padding-top:12px;font-size:13.5px}
.cx-pf-links a{display:flex;align-items:center;gap:8px;color:var(--cx-blue)!important;min-width:0}
.cx-pf-links a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-pf-about{padding:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.cx-pf-about div{display:flex;flex-direction:column;gap:4px;min-width:0}
.cx-pf-about span{font-size:12.5px;color:var(--cx-mut)}
.cx-pf-about b{font-size:15px;font-weight:600;white-space:pre-line;word-break:break-word;line-height:1.55}
.cx-pf-ach{display:flex;flex-direction:column;gap:16px}
.cx-pf-badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cx-pf-badge{border:1px solid var(--cx-line);border-radius:14px;padding:16px 10px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.cx-pf-badge.is-off{opacity:.6}
.cx-pf-badge>span{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center}
.cx-pf-badge b{font-size:13.5px}
.cx-pf-badge small{font-size:11.5px;color:var(--cx-mut)}
.cx-pf-cert{display:flex;align-items:center;gap:12px;border:1px solid var(--cx-line);border-radius:12px;padding:12px 14px}
.cx-pf-cert>span{width:40px;height:40px;border-radius:10px;background:#FFF7E6;color:#8A5A00;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cx-pf-cert div{flex-grow:1;min-width:0;display:flex;flex-direction:column}
.cx-pf-cert b{font-size:14.5px}
.cx-pf-cert small{font-size:12.5px;color:var(--cx-mut)}
.cx-pf-cert a{font-size:13px;font-weight:700;color:var(--cx-blue)!important}
.cx-tag{height:30px;padding:0 11px;border-radius:8px;background:#F1F3F7;font-size:13px;font-weight:600;color:#334155;display:inline-flex;align-items:center;gap:6px}
.cx-tag button{border:0;background:transparent;color:#94A3B8;font-size:12px;padding:0;width:20px;height:20px;cursor:pointer}
.cx-pv-tags{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:1000px){.cx-pf-grid{grid-template-columns:minmax(0,1fr)}.cx-pf-side{position:static}.cx-pf-badges{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){
 .cx-pf{padding:0 0 110px;gap:12px}
 .cx-pf-head{border-radius:0;border-left:0;border-right:0;border-top:0}
 .cx-pf-cover{height:140px}
 .cx-pf-cbtn{display:flex}
 .cx-pf-id{padding:0 16px 14px;margin-top:-44px;gap:10px;flex-direction:column;align-items:stretch}
 .cx-pf-av{width:92px;height:92px;font-size:30px;border-width:4px}
 .cx-pf-online{right:4px;bottom:4px;width:16px;height:16px}
 .cx-pf-name h1{font-size:23px}
 .cx-pf-line{font-size:14px}.cx-pf-sub{font-size:12.5px}
 .cx-pa{flex-wrap:nowrap}
 .cx-pa>.cx-pa-btn{flex:1 1 0;min-width:0;padding:0 10px}
 .cx-pa>span{flex:0 0 44px}
 .cx-pf-lvm{display:flex;flex-direction:column;gap:6px;padding:0 16px 14px}
 .cx-pf-lvm>div:first-child{display:flex;justify-content:space-between;font-size:12.5px;color:#8A5A00;font-weight:600;gap:8px}
 .cx-pf-lvm>div:first-child span:last-child{color:#64748B}
 .cx-pf-bar{flex-direction:column-reverse;align-items:stretch;padding:0;gap:0}
 .cx-pf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0 16px 14px;border:1px solid var(--cx-line);border-radius:14px;padding:10px 0}
 .cx-pf-stats b{font-size:17px}.cx-pf-stats span{font-size:11.5px}
 .cx-pf-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid var(--cx-line2)}
 .cx-pf-tabs a{height:50px;justify-content:center;padding:0;font-size:14.5px}
 .cx-pf-grid{padding:0 12px;gap:12px}
 .cx-pf-side{order:2}
 .cx-pf-main{order:1}
 .cx-pf-about{grid-template-columns:minmax(0,1fr);padding:18px}
 .cx-pf>.cx-card.cx-empty{margin:0 12px}
}

/* privacy page */
.cx-pv{max-width:680px;margin:0 auto;padding:20px 16px 48px;display:flex;flex-direction:column;gap:14px;box-sizing:border-box}
.cx-pv-top{display:flex;align-items:center;gap:6px}
.cx-pv-top h1{margin:0;font-size:22px;font-weight:700}
.cx-pv-sec{display:flex;flex-direction:column;gap:12px}
.cx-pv-sec>div:first-child b,.cx-pv-sec>b{font-size:15.5px;font-weight:700}
.cx-pv-sec>div:first-child small{display:block;font-size:12.5px;color:var(--cx-mut);margin-top:3px;line-height:1.5}
.cx-pv-radios{display:flex;flex-direction:column;gap:8px}
.cx-pv-radio{min-height:58px;border:1.5px solid var(--cx-line);border-radius:12px;background:#fff;padding:10px 12px;display:flex;align-items:center;gap:12px;text-align:left;color:var(--cx-ink);font-family:inherit;cursor:pointer}
.cx-pv-radio.is-on{border-color:var(--cx-blue);background:#F5F8FF}
.cx-pv-ri{width:38px;height:38px;border-radius:10px;background:#F1F3F7;color:#334155;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.cx-pv-rm{flex-grow:1;display:flex;flex-direction:column;gap:2px}
.cx-pv-rm b{font-size:14.5px}.cx-pv-rm small{font-size:12.5px;color:var(--cx-mut)}
.cx-pv-dot{width:20px;height:20px;border-radius:50%;border:2px solid #CBD5E1;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box}
.cx-pv-dot span{width:10px;height:10px;border-radius:50%}
.cx-pv-radio.is-on .cx-pv-dot{border-color:var(--cx-blue)}
.cx-pv-radio.is-on .cx-pv-dot span{background:var(--cx-blue)}
.cx-pv-list{padding:2px 16px 6px;gap:0}
.cx-pv-row{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--cx-line2);font-size:14.5px}
.cx-sw{width:48px;height:28px;border:0;border-radius:999px;background:#CBD5E1;position:relative;padding:0;transition:background .2s;flex-shrink:0;cursor:pointer}
.cx-sw span{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:left .2s}
.cx-sw.is-on{background:var(--cx-blue)}
.cx-sw.is-on span{left:23px}
.cx-pv-prev{border:1px dashed #CBD5E1;border-radius:14px;padding:14px;display:flex;gap:12px;align-items:center}
.cx-pv-lock{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#475569;background:#F1F3F7;border-radius:8px;padding:6px 10px;align-self:flex-start}
.cx-pv-add{display:flex;gap:8px}
.cx-pv-add .cx-input{flex-grow:1}
.cx-pv-bl{display:flex;align-items:center;gap:10px;border-top:1px solid var(--cx-line2);padding-top:10px}
@media (max-width:860px){.cx-pv{padding:12px 12px 110px}}

/* ===== AX-CM9: fixes (profile name under cover, mobile gaps, chips, composer tools, chat bubble) + profile edit ===== */
.cx-chip{display:inline-flex;align-items:center;white-space:nowrap}
@media (min-width:861px){.cx-pf-meta{padding-top:64px}.cx-pf-id .cx-pa{padding-bottom:6px}}
@media (max-width:860px){
 .cx-pf-meta{flex:none;padding-top:0}
 .cx-dmb>div{bottom:calc(90px + env(safe-area-inset-bottom))!important;right:14px!important}
}
@media (max-width:640px){
 .cx-comp-tools{flex-wrap:nowrap;justify-content:space-between;gap:0}
 .cx-comp-tools .cx-tool{padding:0 6px;gap:4px;font-size:13px;flex-shrink:1;min-width:0;white-space:nowrap}
 .cx-comp-tools .cx-tool svg{width:17px;height:17px;flex-shrink:0}
}
@media (max-width:360px){.cx-comp-tools .cx-tool{font-size:12px;padding:0 4px}}

.cx-pe{max-width:680px;margin:0 auto;padding:20px 16px 48px;display:flex;flex-direction:column;gap:14px;box-sizing:border-box}
.cx-pe-media{overflow:hidden;padding:0}
.cx-pe-cover{height:170px;background:#0B1220;position:relative;overflow:hidden}
.cx-pe-cover img{width:100%;height:100%;object-fit:cover;display:block}
.cx-pe-camera{position:absolute;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:10px;background:rgba(11,18,32,.6);color:#fff;font-size:13px;font-weight:700;cursor:pointer;backdrop-filter:blur(4px)}
.cx-pe-camera:hover{background:rgba(11,18,32,.75)}
.cx-pe-busy{position:absolute;left:12px;bottom:12px;background:#fff;color:#1D63ED;border-radius:8px;padding:6px 10px;font-size:12.5px;font-weight:600}
.cx-pe-avrow{display:flex;align-items:flex-end;gap:14px;padding:0 18px 16px;margin-top:-46px;position:relative}
.cx-pe-av{width:104px;height:104px;border-radius:50%;border:4px solid #fff;display:flex;align-items:center;justify-content:center;font-size:32px;font-weight:700;position:relative;flex-shrink:0;box-sizing:border-box}
.cx-pe-av img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.cx-pe-avcam{right:-4px;bottom:-2px;width:38px;padding:0;justify-content:center;border-radius:50%;border:3px solid #fff;background:#0B1220}
.cx-pe-sec{display:flex;flex-direction:column;gap:14px}
.cx-pe-f{display:flex;flex-direction:column;gap:6px}
.cx-pe-f>span{font-size:13.5px;font-weight:700;color:#334155}
.cx-pe-f em{font-style:normal}
.cx-pe-ta{height:auto;min-height:84px;padding:10px 12px;line-height:1.6;resize:vertical}
.cx-pe-links{display:flex;flex-direction:column}
.cx-pe-links a{display:flex;align-items:center;gap:12px;padding:12px 2px;border-bottom:1px solid var(--cx-line2);color:var(--cx-ink)!important}
.cx-pe-links a:last-child{border-bottom:0}
.cx-pe-links a>svg{flex-shrink:0;color:#475569}
.cx-pe-links span{display:flex;flex-direction:column;gap:2px}
.cx-pe-links b{font-size:14.5px}
.cx-pe-links small{font-size:12.5px;color:var(--cx-mut)}
.cx-pe-save{display:flex;justify-content:flex-end;gap:10px;position:sticky;bottom:0;background:linear-gradient(to top,var(--cx-bg) 70%,transparent);padding:14px 0 4px}
@media (max-width:860px){.cx-pe{padding:12px 12px 120px}.cx-pe-save{bottom:76px}.cx-pe-save .cx-btn{flex:1}}

/* ===== AX-CM10: notification with the person's photo ===== */
.cx-nt-av{position:relative;width:44px;height:44px;flex-shrink:0}
.cx-nt-badge{position:absolute;right:-4px;bottom:-4px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;border:2px solid #fff}
.cx-nt-badge.cx-c-blue{background:#1D63ED;color:#fff}.cx-nt-badge.cx-c-green{background:#0E9F6E;color:#fff}.cx-nt-badge.cx-c-amber{background:#D99A1E;color:#fff}.cx-nt-badge.cx-c-purple{background:#7C3AED;color:#fff}.cx-nt-badge.cx-c-red{background:#DC2626;color:#fff}

/* ===== AX-CM11: events slider, search, members found ===== */
.cx-evs{display:flex;flex-direction:column;gap:10px;min-width:0}
.cx-evs-h{display:flex;align-items:baseline;justify-content:space-between;padding:0 2px}
.cx-evs-h b{font-size:16px}
.cx-evs-h span{font-size:12.5px;color:var(--cx-mut)}
.cx-evs-row{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px}
.cx-evs-row::-webkit-scrollbar{display:none}
/* AX-CM-EV: cover card (owner picked option খ) — photo / colour cover with date badge + type chip, then title, time, live countdown, button */
.cx-ev{flex:0 0 290px;scroll-snap-align:start;background:#fff;border:1px solid var(--cx-line);border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-sizing:border-box;box-shadow:0 1px 2px rgba(16,24,40,.04),0 12px 28px -22px rgba(16,24,40,.45);transition:transform .25s,box-shadow .25s}
.cx-ev:hover{transform:translateY(-2px);box-shadow:0 1px 2px rgba(16,24,40,.04),0 18px 34px -22px rgba(16,24,40,.55)}
.cx-evs-row .cx-ev:only-child{flex-basis:100%}
.cx-ev-cover{position:relative;height:128px;overflow:hidden;background:radial-gradient(120% 120% at 100% 0%,#7AA6FF 0%,transparent 55%),linear-gradient(135deg,#1D63ED,#0E3A9C)}
.cx-ev-gold .cx-ev-cover{background:radial-gradient(120% 120% at 100% 0%,#FFE19A 0%,transparent 55%),linear-gradient(135deg,#D99A1E,#8A5A00)}
.cx-ev-green .cx-ev-cover{background:radial-gradient(120% 120% at 100% 0%,#8EF0C6 0%,transparent 55%),linear-gradient(135deg,#0E9F6E,#065F46)}
.cx-ev-pat{position:absolute;right:10px;bottom:-14px;width:110px;height:110px;color:rgba(255,255,255,.18);stroke-width:1.4}
.cx-ev-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.cx-ev-date{position:absolute;left:12px;top:12px;width:52px;border-radius:12px;background:#fff;text-align:center;overflow:hidden;box-shadow:0 8px 18px -8px rgba(0,0,0,.45);z-index:1}
.cx-ev-date small{display:block;font-size:10.5px;font-weight:800;color:#fff;background:var(--cx-ink);padding:2px 0}
.cx-ev-date b{display:block;font-size:21px;font-weight:800;line-height:1.35;color:var(--cx-ink)}
.cx-ev-tag{position:absolute;right:12px;top:12px;z-index:1;font-size:11px;font-weight:700;padding:2px 8px;border-radius:6px;background:rgba(255,255,255,.95);color:#1D4ED8}
.cx-ev-gold .cx-ev-tag{color:#8A5A00}.cx-ev-green .cx-ev-tag{color:#0B7A55}
.cx-ev-body{padding:12px 14px 14px;display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.cx-ev-t{font-size:15.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cx-ev-sub{margin:0;font-size:12.5px;color:var(--cx-mut);line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cx-ev-w{display:flex;align-items:center;gap:6px;font-size:12.5px;color:#475569}
.cx-ev-w .cx-ic{width:14px;height:14px;color:var(--cx-mut)}
.cx-ev-f{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;padding-top:6px}
.cx-ev-cd{font-size:12.5px;font-weight:700;color:#334155;font-variant-numeric:tabular-nums;white-space:nowrap}
.cx-ev-live{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:800;color:#fff;background:#DC2626;border-radius:999px;padding:3px 10px}
.cx-ev-live i{width:7px;height:7px;border-radius:50%;background:#fff;animation:cxEvBlink 1.2s ease-in-out infinite}
.cx-ev-live.is-prem{background:var(--cx-ink)}
@keyframes cxEvBlink{50%{opacity:.25}}
.cx-ev-btn{height:38px;padding:0 15px;border-radius:11px;background:var(--cx-ink);color:#fff!important;font-size:13px;font-weight:700;display:inline-flex;align-items:center;white-space:nowrap;transition:background .2s}
.cx-ev-btn:hover{background:#1E293B}
.cx-ev-btn.is-live{background:#DC2626}
.cx-ev-btn.is-live:hover{background:#B91C1C}
@media (max-width:860px){.cx-ev{flex-basis:86%}}
@media (prefers-reduced-motion:reduce){.cx-ev{transition:none}.cx-ev-live i{animation:none}}

.cx-search{display:flex;align-items:center;gap:8px;height:46px;padding:0 12px;background:#fff;border:1px solid var(--cx-line);border-radius:14px;color:var(--cx-mut)}
.cx-search:focus-within{border-color:#B8CBF6;box-shadow:0 0 0 3px rgba(29,99,237,.08)}
.cx-search input{flex-grow:1;min-width:0;border:0;outline:0;background:transparent;font-family:inherit;font-size:15px;color:var(--cx-ink);height:100%}
.cx-search input::-webkit-search-cancel-button{display:none}
.cx-search button{border:0;background:#F1F3F7;color:#64748B;width:28px;height:28px;border-radius:50%;font-size:12px;cursor:pointer;flex-shrink:0}
.cx-search-busy{font-size:12px;color:var(--cx-blue);white-space:nowrap}
.cx-people{display:flex;flex-direction:column;gap:10px}
.cx-people b{font-size:14px}
.cx-people-row{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none}
.cx-person{display:flex;flex-direction:column;align-items:center;gap:6px;width:76px;flex-shrink:0;color:var(--cx-ink)!important;text-align:center}
.cx-person span:last-child{font-size:12.5px;font-weight:600;line-height:1.3;max-width:76px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}

/* ===== AX-CM14: messages page ===== */
.cx-dm-page{max-width:1240px;margin:0 auto;padding:20px 16px;box-sizing:border-box}
.cx-dm{display:grid;grid-template-columns:360px minmax(0,1fr);height:calc(100vh - 64px - 40px);min-height:480px;background:#fff;border:1px solid var(--cx-line);border-radius:18px;overflow:hidden}
.cx-dm-inbox{display:flex;flex-direction:column;border-right:1px solid var(--cx-line);min-height:0}
.cx-dm-ih{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 8px}
.cx-dm-ih h1{margin:0;font-size:22px;font-weight:700}
.cx-dm-new{width:40px;height:40px;border:0;border-radius:50%;background:#F1F3F7;color:var(--cx-ink);display:flex;align-items:center;justify-content:center;cursor:pointer}
.cx-dm-new:hover{background:#E7EAF0}
.cx-dm-newbox{margin:4px 12px 8px;padding:12px;border:1px solid var(--cx-line);border-radius:14px;background:#F8FAFC;display:flex;flex-direction:column;gap:8px}
.cx-dm-pick{display:flex;flex-direction:column;max-height:220px;overflow-y:auto}
.cx-dm-pick button{display:flex;align-items:center;gap:10px;padding:6px;border:0;background:transparent;border-radius:10px;text-align:left;font-family:inherit;font-size:14px;color:var(--cx-ink);cursor:pointer}
.cx-dm-pick button:hover{background:#EEF1F5}
.cx-dm-pick button.is-on{background:var(--cx-blue50)}
.cx-dm-pick button span{flex-grow:1}
.cx-dm-pick button i{font-style:normal;color:var(--cx-blue);font-weight:800}
.cx-dm-hint{font-size:13px;color:var(--cx-mut);padding:6px}
.cx-dm-search{display:flex;align-items:center;gap:8px;margin:4px 12px 8px;height:40px;padding:0 12px;border-radius:999px;background:#F1F3F7;color:var(--cx-mut)}
.cx-dm-search input{flex-grow:1;min-width:0;border:0;outline:0;background:transparent;font-family:inherit;font-size:14.5px;color:var(--cx-ink)}
.cx-dm-list{flex:1 1 auto;overflow-y:auto;padding:0 8px 10px;min-height:0}
.cx-dm-row{width:100%;display:flex;align-items:center;gap:12px;padding:9px 8px;border:0;background:transparent;border-radius:12px;text-align:left;font-family:inherit;color:var(--cx-ink);cursor:pointer}
.cx-dm-row:hover{background:#F6F7F9}
.cx-dm-row.is-on{background:var(--cx-blue50)}
.cx-dm-av{position:relative;flex-shrink:0;display:inline-flex}
.cx-dm-on{position:absolute;right:1px;bottom:1px;width:13px;height:13px;border-radius:50%;background:#22C55E;border:2.5px solid #fff}
.cx-dm-rm{flex-grow:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.cx-dm-rt,.cx-dm-rp{display:flex;align-items:center;justify-content:space-between;gap:8px}
.cx-dm-rt b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-dm-rt small{font-size:12px;color:var(--cx-soft);flex-shrink:0}
.cx-dm-rp span{font-size:13.5px;color:var(--cx-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-dm-rp em{font-style:normal;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--cx-blue);color:#fff;font-size:11.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;box-sizing:border-box}
.cx-dm-row.is-unread .cx-dm-rt b{font-weight:800}
.cx-dm-row.is-unread .cx-dm-rp span{color:var(--cx-ink);font-weight:600}
.cx-dm-row.is-unread .cx-dm-rt small{color:var(--cx-blue);font-weight:700}
.cx-dm-empty{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;padding:40px 16px;color:var(--cx-mut);font-size:13.5px}
.cx-dm-empty b{color:var(--cx-ink);font-size:15px}

.cx-dm-chat{display:flex;flex-direction:column;min-width:0;min-height:0;background:#FAFBFC}
.cx-dm-ch{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--cx-line);background:#fff}
.cx-dm-back{display:none}
.cx-dm-who{display:flex;align-items:center;gap:10px;min-width:0;color:var(--cx-ink)!important}
.cx-dm-who>span:last-child{display:flex;flex-direction:column;min-width:0}
.cx-dm-who b{font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-dm-who small{font-size:12px;color:#16A34A}
.cx-dm-msgs{flex:1 1 auto;overflow-y:auto;padding:16px 18px 8px;display:flex;flex-direction:column;gap:2px;min-height:0;overscroll-behavior:contain}
.cx-dm-day{display:flex;justify-content:center;margin:12px 0 8px}
.cx-dm-day span{font-size:12px;font-weight:600;color:var(--cx-mut);background:#EEF1F5;border-radius:999px;padding:4px 12px}
.cx-dm-m{display:flex;align-items:flex-end;gap:8px;margin-top:8px;position:relative}
.cx-dm-m.is-grouped{margin-top:2px}
.cx-dm-m.is-me{justify-content:flex-end}
.cx-dm-mav{width:30px;flex-shrink:0;display:inline-flex}
.cx-dm-mb{display:flex;flex-direction:column;align-items:flex-start;max-width:min(72%,520px);position:relative}
.cx-dm-m.is-me .cx-dm-mb{align-items:flex-end}
.cx-dm-mn{font-size:12px;color:var(--cx-mut);font-weight:600;margin:0 0 3px 4px}
.cx-dm-bub{padding:9px 13px;border-radius:18px;background:#fff;border:1px solid var(--cx-line);font-size:15px;line-height:1.55;color:var(--cx-tx);white-space:pre-line;word-break:break-word}
.cx-dm-m.is-me .cx-dm-bub{background:var(--cx-blue);border-color:var(--cx-blue);color:#fff}
.cx-dm-img{border:0;padding:0;background:transparent;border-radius:14px;overflow:hidden;cursor:zoom-in;margin-bottom:3px}
.cx-dm-img img{display:block;max-width:260px;max-height:320px;object-fit:cover;border-radius:14px}
.cx-dm-audio audio{height:40px;max-width:260px;display:block;margin-bottom:3px}
.cx-dm-rx{display:flex;gap:3px;margin-top:-6px;z-index:1;position:relative}
.cx-dm-rx span{background:#fff;border:1px solid var(--cx-line);border-radius:999px;padding:1px 6px;font-size:12px;display:inline-flex;align-items:center;gap:2px;box-shadow:0 1px 2px rgba(11,18,32,.06)}
.cx-dm-rx b{font-size:11px;color:var(--cx-mut)}
.cx-dm-meta{display:flex;align-items:center;gap:6px;margin-top:3px;font-size:11.5px;color:var(--cx-soft);min-height:22px}
.cx-dm-tick{color:var(--cx-soft);font-weight:700;font-size:11px}
.cx-dm-tick.is-seen{color:var(--cx-blue)}
.cx-dm-act{width:24px;height:24px;border:0;background:transparent;border-radius:50%;color:var(--cx-soft);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .12s}
.cx-dm-m:hover .cx-dm-act,.cx-dm-act:focus{opacity:1}
@media (hover:none){.cx-dm-act{opacity:.7}}
.cx-dm-pickr{position:absolute;bottom:26px;z-index:20;background:#fff;border:1px solid var(--cx-line);border-radius:999px;box-shadow:0 12px 30px rgba(11,18,32,.14);padding:4px;display:flex;gap:2px}
.cx-dm-m.is-me .cx-dm-pickr{right:0}
.cx-dm-pickr button{width:38px;height:38px;border:0;background:transparent;border-radius:50%;font-size:21px;cursor:pointer}
.cx-dm-pickr button:hover{transform:scale(1.2)}
.cx-dm-menu{position:absolute;bottom:26px;z-index:20;background:#fff;border:1px solid var(--cx-line);border-radius:12px;box-shadow:0 12px 30px rgba(11,18,32,.14);padding:4px;display:flex;flex-direction:column;min-width:190px}
.cx-dm-m.is-me .cx-dm-menu{right:0}
.cx-dm-menu button{height:38px;border:0;background:transparent;border-radius:8px;text-align:left;padding:0 10px;font-family:inherit;font-size:13.5px;color:var(--cx-ink);cursor:pointer}
.cx-dm-menu button:hover{background:#F4F6F9}
.cx-dm-menu button.is-danger{color:var(--cx-red)}
.cx-dm-start{margin:auto;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:var(--cx-mut);font-size:14px;padding:30px 10px}
.cx-dm-start b{color:var(--cx-ink);font-size:17px}
.cx-dm-typing{display:flex;align-items:center;gap:8px;padding:2px 20px 6px;font-size:12.5px;color:var(--cx-mut)}
.cx-dm-dots{display:inline-flex;gap:3px}
.cx-dm-dots i{width:6px;height:6px;border-radius:50%;background:#94A3B8;animation:cxDot 1.2s infinite}
.cx-dm-dots i:nth-child(2){animation-delay:.15s}.cx-dm-dots i:nth-child(3){animation-delay:.3s}
@keyframes cxDot{0%,60%,100%{transform:none;opacity:.5}30%{transform:translateY(-4px);opacity:1}}
.cx-dm-attach{display:flex;align-items:center;gap:10px;margin:0 14px 6px;padding:8px;border:1px solid var(--cx-line);border-radius:12px;background:#fff;font-size:13px;color:var(--cx-mut)}
.cx-dm-attach img{width:46px;height:46px;object-fit:cover;border-radius:8px}
.cx-dm-attach span{flex-grow:1}
.cx-dm-attach button{border:0;background:#F1F3F7;width:28px;height:28px;border-radius:50%;cursor:pointer}
.cx-dm-comp{padding:10px 12px;border-top:1px solid var(--cx-line);background:#fff}
.cx-dm-row2,.cx-dm-rec{display:flex;align-items:center;gap:6px}
.cx-dm-tool{width:42px;height:42px;border:0;border-radius:50%;background:transparent;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.cx-dm-tool:hover{background:#F1F3F7}
.cx-dm-input{flex-grow:1;min-width:0;height:44px;border:1px solid transparent;border-radius:22px;background:#F1F3F7;padding:0 16px;font-family:inherit;font-size:15px;outline:0;box-sizing:border-box}
.cx-dm-input:focus{background:#fff;border-color:#C7D5F5}
.cx-dm-send{width:44px;height:44px;border:0;border-radius:50%;background:var(--cx-blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}
.cx-dm-send:disabled{opacity:.6}
.cx-dm-rec{background:#FEF2F2;border-radius:24px;padding:0 0 0 4px;color:#B91C1C}
.cx-dm-recdot{width:10px;height:10px;border-radius:50%;background:#EF4444;animation:cxPulse 1.4s infinite}
.cx-dm-recbar{flex-grow:1;display:flex;align-items:center;gap:3px;height:24px}
.cx-dm-recbar i{width:3px;border-radius:2px;background:#F87171;animation:cxBar 1s infinite ease-in-out}
.cx-dm-recbar i:nth-child(odd){animation-delay:.25s}.cx-dm-recbar i:nth-child(3n){animation-delay:.5s}
@keyframes cxBar{0%,100%{height:6px}50%{height:20px}}
.cx-dm-sending{font-size:12.5px;color:var(--cx-blue);padding:6px 6px 0}
.cx-dm-closed{padding:14px;border-top:1px solid var(--cx-line);background:#F8FAFC;text-align:center;font-size:13.5px;color:var(--cx-mut)}
.cx-dm-none{margin:auto;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;color:var(--cx-mut);font-size:14px;padding:20px;max-width:320px}
.cx-dm-none b{font-size:20px;color:var(--cx-ink)}
@media (max-width:860px){
 .cx-dm-page{padding:0}
 .cx-dm{grid-template-columns:minmax(0,1fr);height:calc(100dvh - 56px - 74px);border:0;border-radius:0}
 .cx-dm.has-chat{height:calc(100dvh - 56px)}
 .cx-dm .cx-dm-chat{display:none}
 .cx-dm.has-chat .cx-dm-inbox{display:none}
 .cx-dm.has-chat .cx-dm-chat{display:flex}
 .cx-dm-back{display:flex}
 .cx-dm-msgs{padding:12px 10px 6px}
 .cx-dm-mb{max-width:80%}
 .cx-dm-img img{max-width:220px}
 body:has(.cx-dm.has-chat) .cx-bnav,body:has(.cx-dm.has-chat) .cx-dmb{display:none}
 .cx-dm-comp{padding:8px 8px calc(8px + env(safe-area-inset-bottom))}
}

/* AX-CM15: report popup */
.cx-rp-list{display:flex;flex-direction:column;gap:8px}
.cx-rp-opt{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 14px;border:1px solid #E2E6EC;border-radius:12px;font-size:15px;cursor:pointer;background:#fff;transition:border-color .15s,background .15s}
.cx-rp-opt input{width:18px;height:18px;margin:0;accent-color:#2563EB;flex:none}
.cx-rp-opt:hover{border-color:#C7CED9}
.cx-rp-opt.is-on{border-color:#2563EB;background:#EFF6FF}
