.cx{position:fixed;left:0;right:0;top:0;height:100dvh;z-index:1000;display:flex;flex-direction:column;background:var(--bg);background-image:radial-gradient(900px 500px at 20% -10%,var(--bg2),transparent 70%);color:var(--tx);padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}.cx-ic{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}.cx-head{display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 10px;border-bottom:1px solid var(--ln);background:var(--nav);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.cx-back{width:38px;height:38px;border-radius:50%;border:1px solid var(--ln);display:grid;place-items:center;flex:none;color:var(--tx);background:var(--s)}.cx-ava{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;flex:none;font-weight:800;font-size:17px;color:var(--on);background:var(--cta)}.cx-ava.sup{background:linear-gradient(135deg,#8fe0bd,#3fb886);color:#0b2a1e}.cx-tt{flex:1 1;min-width:0;display:grid;line-height:1.25}.cx-tt b{font-size:16.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cx-tt span{font-size:12.5px;color:var(--mu)}.cx-typ{color:var(--ok)!important}.cx-typ i{display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-left:3px;animation:cx-blink 1.2s infinite}.cx-typ i:nth-child(2){animation-delay:.2s}.cx-typ i:nth-child(3){animation-delay:.4s}@keyframes cx-blink{50%{opacity:.2}}.cx-top{padding:10px 14px 0}.cx-pin{margin:10px 12px 0;display:flex;gap:9px;align-items:center;background:var(--s);border:1px solid var(--ln);border-radius:14px;padding:8px 11px;font-size:13px;color:var(--mu)}.cx-pin b{color:var(--tx)}.cx-list{flex:1 1;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:12px;display:flex;flex-direction:column;gap:5px}.cx-empty{margin:auto;max-width:260px;text-align:center;color:var(--mu);font-size:14px}.cx-day{font-size:12px;background:var(--s);border-radius:999px;padding:3px 10px;margin:8px 0 4px}.cx-day,.cx-sys{align-self:center;color:var(--mu)}.cx-sys{text-align:center;font-size:12.5px;max-width:86%;margin:4px 0}.cx-b{max-width:80%;padding:7px 11px 5px;border-radius:18px 18px 18px 6px;background:var(--s2);align-self:flex-start;overflow-wrap:anywhere;display:grid;grid-gap:5px;gap:5px}.cx-b.me{align-self:flex-end;background:var(--cta);color:var(--on);border-radius:18px 18px 6px 18px}.cx-b.photo{padding:4px 4px 3px}.cx-who{font-size:12px;font-weight:700;color:var(--ok)}.cx-t{white-space:pre-wrap;font-size:15px;line-height:1.38}.cx-meta{display:flex;justify-content:flex-end;align-items:center;gap:4px;font-size:11px;opacity:.72;margin-top:-1px}.cx-b.photo .cx-meta{padding:0 6px}.cx-tick{letter-spacing:-3px;padding-right:3px}.cx-tick.r{opacity:1;font-weight:700}.cx-imgs{display:grid;grid-gap:3px;gap:3px}.cx-imgs.n{grid-template-columns:1fr 1fr}.cx-img{display:grid;place-items:center;border:0;padding:0;border-radius:14px;overflow:hidden;background:rgba(0,0,0,.18);min-width:150px;min-height:110px;max-width:240px}.cx-img img{display:block;width:100%;max-height:300px;object-fit:cover}.cx-img-err{font-size:12px;color:var(--mu);padding:12px}.cx-file{display:flex;gap:10px;align-items:center;border:0;background:rgba(0,0,0,.14);color:inherit;border-radius:12px;padding:8px 10px;text-align:left}.cx-file span{display:grid;font-size:12px;opacity:.85}.cx-file b{font-size:13.5px}.cx-file-i{width:36px;height:36px;border-radius:10px;background:rgba(0,0,0,.2);display:grid!important;place-items:center;font-size:11px;font-weight:800;flex:none;opacity:1!important}.cx-quick{display:flex;gap:6px;overflow-x:auto;padding:4px 12px 8px;scrollbar-width:none}.cx-quick::-webkit-scrollbar{display:none}.cx-quick button{flex:none;border:1px solid var(--ln);background:var(--s);color:var(--tx);border-radius:999px;padding:7px 12px;font-size:13.5px}.cx-drafts{display:flex;gap:8px;padding:6px 12px 2px;overflow-x:auto}.cx-draft{position:relative;width:62px;height:62px;border-radius:12px;overflow:hidden;background:var(--s2);flex:none;display:grid;place-items:center}.cx-draft img{width:100%;height:100%;object-fit:cover}.cx-draft button{top:3px;right:3px;width:22px;height:22px;border-radius:50%;border:0;background:rgba(0,0,0,.6);color:#fff;place-items:center}.cx-draft button,.cx-draft-up{position:absolute;display:grid}.cx-draft-up{inset:0;place-items:center;background:rgba(0,0,0,.35)}.cx-comp{position:relative;display:flex;align-items:flex-end;gap:8px;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--ln);background:var(--nav);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.cx-comp textarea{flex:1 1;min-width:0;resize:none;height:42px;min-height:42px!important;max-height:120px;field-sizing:fixed;overflow-y:auto;border-radius:21px;padding:10px 15px;font-size:16px;line-height:1.35;margin:0}.cx-attach,.cx-send{width:42px;height:42px;border-radius:50%;border:0;display:grid;place-items:center;flex:none}.cx-attach{background:var(--s2);color:var(--ac)}.cx-send{background:var(--cta);color:var(--on);box-shadow:0 8px 20px -8px var(--g)}.cx-send:disabled{opacity:.4;box-shadow:none}.cx-menu{position:absolute;left:10px;bottom:calc(100% + 6px);background:var(--bg2);border:1px solid var(--ln);border-radius:18px;padding:6px;display:grid;grid-gap:2px;gap:2px;box-shadow:0 16px 34px rgba(0,0,0,.4);min-width:220px;z-index:2}.cx-menu button{display:flex;gap:11px;align-items:center;padding:10px;border-radius:12px;border:0;background:none;color:var(--tx);font-size:15px;text-align:left}.cx-menu button:active,.cx-menu button:hover{background:var(--s)}.cx-menu button span{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--s2);color:var(--ac)}.cx-closed{text-align:center;color:var(--mu);font-size:13.5px;padding:14px 16px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--ln)}.cx-photo{position:absolute;inset:0;z-index:3;background:rgba(0,0,0,.92);display:grid;place-items:center;padding:16px}.cx-photo img{max-width:100%;max-height:100%;object-fit:contain;border-radius:8px}.cx-photo .cx-back{position:absolute;top:calc(12px + env(safe-area-inset-top,0px));right:14px;background:rgba(255,255,255,.12);color:#fff}.cx-row{display:flex;align-items:center;gap:11px;width:100%;text-align:left;color:var(--tx);cursor:pointer}.cx-row-t{flex:1 1;min-width:0;display:grid}.cx-row-t span{font-size:13.5px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cx-row-t span.new{color:var(--tx);font-weight:600}.cx-cnt{min-width:22px;height:22px;border-radius:11px;background:var(--ac);color:var(--on);font-size:12px;font-weight:800;display:inline-grid;place-items:center;padding:0 6px;flex:none}.cx-go{color:var(--mu);font-size:22px;line-height:1}.cx-steps{gap:6px;font-size:12px;color:var(--mu)}.cx-steps,.cx-steps .s{display:flex;align-items:center}.cx-steps .s{gap:5px;white-space:nowrap}.cx-steps .s i{width:9px;height:9px;border-radius:50%;background:var(--ln)}.cx-steps .s.done i{background:var(--ok)}.cx-steps .s.cur{color:var(--tx)}.cx-steps .s.cur i{background:var(--ac);box-shadow:0 0 0 4px color-mix(in srgb,var(--ac) 25%,transparent)}.cx-steps .ln{flex:1 1;height:2px;background:var(--ln);min-width:8px}.cx-steps .ln.done{background:var(--ok)}.cx-solved{align-self:stretch;background:var(--s);border:1px solid var(--ln);border-radius:16px;padding:12px;display:grid;grid-gap:10px;gap:10px;text-align:center;font-size:14px;margin-top:6px}.cx-solved div{display:flex;gap:8px}.cx-solved button{flex:1 1;border:1px solid var(--ln);background:none;color:var(--tx);border-radius:999px;padding:9px;font-size:14px}.cx-solved button.y{background:var(--cta);color:var(--on);border:0;font-weight:700}.sp-seg{display:flex;background:var(--s);border:1px solid var(--ln);border-radius:999px;padding:3px;margin:12px 0 4px}.sp-seg button{flex:1 1;border:0;background:none;color:var(--mu);padding:8px;border-radius:999px;font-size:14px}.sp-seg button.on{background:var(--s2);color:var(--tx);font-weight:700}.sp-tk{display:flex;gap:11px;align-items:center;width:100%;text-align:left;color:var(--tx);cursor:pointer}.sp-tk.dim{opacity:.7}.sp-ic{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:var(--s2);color:var(--ac);flex:none}.sp-ic.ok{color:var(--ok)}.sp-t{flex:1 1;min-width:0;display:grid;grid-gap:1px;gap:1px}.sp-t b{font-size:15px}.sp-t span{font-size:13px;color:var(--mu);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sp-t span.new{color:var(--tx);font-weight:600}.sp-r{display:grid;justify-items:end;grid-gap:5px;gap:5px;font-size:12px;color:var(--mu);flex:none}.sp-st{font-size:11.5px;color:var(--ac)}.cx-typing{align-self:flex-start;font-size:12.5px;color:var(--ok);padding:2px 6px}.cx-typing i{display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin-left:3px;animation:cx-blink 1.2s infinite}.cx-typing i:nth-child(2){animation-delay:.2s}.cx-typing i:nth-child(3){animation-delay:.4s}.cx-inline{position:relative;display:flex;flex-direction:column;height:min(62vh,640px);min-height:360px;border:1px solid var(--ln);border-radius:20px;overflow:hidden;background:var(--s)}.cx-inline .cx-comp{padding-bottom:10px;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none}.cx-inline .cx-closed{padding-bottom:14px}.cx-inline .cx-photo{position:fixed;z-index:60}@media (prefers-reduced-motion:reduce){.cx-typ i,.cx-typing i{animation:none}}