.ms{--ms-navy:#142039;--ms-gold:#c39a52;--ms-line:#e7dfd0;--ms-mine:#f6ebcf;min-width:0;height:min(72dvh,680px);min-height:380px;box-shadow:0 0 0 1px var(--ms-line), 0 24px 60px -44px #14203980;background:#fffdf9;border-radius:18px;flex-direction:column;display:flex;position:relative;overflow:hidden}.ms-head{border-bottom:1px solid var(--ms-line);background:#fffdf9;padding:12px 16px 10px}.ms-head h2{color:var(--ms-navy);margin:0;font-size:17px;font-weight:600}.ms-head p{color:#7a7262;margin:2px 0 0;font-size:12.5px}.ms-scroll{overscroll-behavior:contain;background:radial-gradient(circle at 12% 0,#ffffffbf,#0000 45%),#f7f2e9;flex:1;min-height:0;padding:12px clamp(10px,3vw,22px) 8px;overflow-y:auto}.ms-empty{text-align:center;color:#7a7262;max-width:320px;margin:40px auto;font-size:14px}.ms-list{flex-direction:column;gap:3px;max-width:760px;margin:0 auto;padding:0;list-style:none;display:flex}.ms-day{align-self:center;margin:12px 0 6px}.ms-day span{color:#6f6656;background:#efe8dc;border-radius:999px;padding:3px 12px;font-size:11.5px;font-weight:600;display:inline-block}.ms-msg{align-self:flex-start;justify-items:start;gap:2px;max-width:min(80%,560px);display:grid}.ms-msg[data-mine]{align-self:flex-end;justify-items:end}.ms-msg[data-first]{margin-top:8px}.ms-who{color:var(--ms-navy);margin:0;padding-inline:10px;font-size:11.5px;font-weight:600}.ms-wrap{justify-items:inherit;gap:4px;max-width:100%;display:grid;position:relative}.ms-bubble{color:#1f2638;background:#fff;border-radius:14px;max-width:100%;padding:7px 11px 6px 12px;font-size:15px;line-height:1.45;position:relative;box-shadow:0 1px 1px #14203914}.ms-msg[data-mine] .ms-bubble{background:var(--ms-mine)}.ms-msg[data-first]:not([data-mine]) .ms-bubble{border-start-start-radius:3px}.ms-msg[data-first][data-mine] .ms-bubble{border-start-end-radius:3px}.ms-msg[data-first] .ms-bubble:before{content:"";background:inherit;width:9px;height:12px;position:absolute;top:0}.ms-msg[data-first]:not([data-mine]) .ms-bubble:before{clip-path:polygon(100% 0,0 0,100% 100%);inset-inline-start:-7px}.ms-msg[data-first][data-mine] .ms-bubble:before{clip-path:polygon(0 0,100% 0,0 100%);inset-inline-end:-7px}[dir=rtl] .ms-msg[data-first]:not([data-mine]) .ms-bubble:before{clip-path:polygon(0 0,100% 0,0 100%)}[dir=rtl] .ms-msg[data-first][data-mine] .ms-bubble:before{clip-path:polygon(100% 0,0 0,100% 100%)}.ms-msg[data-state=sending] .ms-bubble{opacity:.75}.ms-msg[data-state=failed] .ms-bubble{box-shadow:0 0 0 1.5px #a4483d8c}.ms-text{white-space:pre-wrap;overflow-wrap:anywhere;display:block}.ms-stamp{float:inline-end;margin:6px 0 -3px;color:#1f2638b8;white-space:nowrap;font-variant-numeric:tabular-nums;-webkit-user-select:none;user-select:none;align-items:center;gap:3px;margin-inline-start:12px;font-size:11px;line-height:1;display:inline-flex}.ms-trlabel{color:#8a6a2f;align-items:center;gap:5px;margin:-1px 0 3px;font-size:11px;font-weight:600;display:flex}[dir=rtl] .ms-trlabel{font-size:12px}.ms-meta{margin:0;padding-inline:8px}.ms-meta button,.ms-fail button{font:inherit;color:#8a6a2f;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:11.5px;text-decoration:underline}.ms-quote{border-inline-start:3px solid var(--ms-gold);background:#1420390f;border-radius:8px;gap:1px;margin:0 0 5px;padding:5px 9px;font-size:12.5px;line-height:1.35;display:grid;overflow:hidden}.ms-quote b{color:#8a6a2f;font-size:11.5px}.ms-quote span{-webkit-line-clamp:2;line-clamp:2;color:#4a4f60;white-space:pre-wrap;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ms-files{gap:4px;max-width:260px;display:grid}.ms-thumb img{object-fit:cover;width:100%;height:auto;max-height:280px;box-shadow:0 0 0 1px var(--ms-line);border-radius:14px;display:block}.ms-file,.ms-pfiles>span{box-shadow:0 0 0 1px var(--ms-line);color:var(--ms-navy);background:#fff;border-radius:12px;align-items:center;gap:6px;padding:8px 12px;font-size:13px;text-decoration:none;display:inline-flex}.ms-pfiles{flex-wrap:wrap;gap:4px;margin-bottom:4px;display:flex}.ms-tools{z-index:3;box-shadow:0 4px 14px -6px #14203973, 0 0 0 1px var(--ms-line);opacity:0;pointer-events:none;background:#fff;border-radius:999px;gap:1px;padding:2px;transition:opacity .12s;display:inline-flex;position:absolute;top:2px}.ms-msg:not([data-mine]) .ms-tools{inset-inline-start:calc(100% + 6px)}.ms-msg[data-mine] .ms-tools{inset-inline-end:calc(100% + 6px)}.ms-msg:hover .ms-tools,.ms-msg[data-menu] .ms-tools,.ms-tools:focus-within{opacity:1;pointer-events:auto}.ms-tools button{color:#5d6478;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;font-size:14px;display:inline-grid}.ms-tools button:hover{background:#f3ede4}@media (pointer:coarse){.ms-msg:hover .ms-tools{opacity:0;pointer-events:none}.ms-msg[data-menu] .ms-tools{opacity:1;pointer-events:auto;top:auto;bottom:calc(100% + 4px);inset-inline:auto}.ms-tools button{width:36px;height:36px}}.ms-fail{color:#a4483d;margin:0;padding:2px 8px;font-size:12px;font-weight:600}.ms-newer{z-index:4;background:var(--ms-navy);color:#f6efe1;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:7px 16px;font-size:13px;font-weight:600;position:absolute;bottom:132px;left:50%;translate:-50%}.ms-compose{padding:8px 12px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--ms-line);background:#fffdf9;gap:6px;display:grid}.ms-lang{color:#8a6a2f;align-items:center;gap:5px;margin:0;font-size:12px;font-weight:600;display:flex}.ms-lang:empty{display:none}.ms-replying{background:#f6f1e8;border-radius:12px;align-items:flex-start;gap:8px;padding:6px 8px;display:flex}.ms-replying .ms-quote{background:#fff;flex:1;margin:0}.ms-replying>button{color:#6f6656;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;width:28px;height:28px;font-size:18px}.ms-row{align-items:flex-end;gap:8px;display:flex}.ms-field{background:#fff;border:1px solid #dccdb6;border-radius:24px;flex:1;align-items:flex-end;gap:2px;min-width:0;padding:3px;display:flex}.ms-field:focus-within{border-color:var(--ms-gold);box-shadow:0 0 0 3px #c39a5229}.ms-input{resize:none;field-sizing:content;min-width:0;min-height:38px;max-height:160px;font:inherit;color:var(--ms-navy);background:0 0;border:0;flex:1;padding:9px 6px;font-size:15px;line-height:1.45}.ms-input:focus{outline:none}.ms-icon{color:#8a7a5c;cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;display:grid}.ms-icon:hover{color:var(--ms-navy);background:#f3ede4}.ms-emoji{flex:none;position:relative}.ms-emoji-pop{z-index:10;bottom:calc(100% + 8px);border:1px solid var(--ms-line);background:#fffdf9;border-radius:14px;grid-template-columns:repeat(6,38px);gap:2px;padding:8px;display:grid;position:absolute;inset-inline-start:0;box-shadow:0 18px 40px -20px #14203973}.ms-emoji-pop button{cursor:pointer;background:0 0;border:0;border-radius:8px;width:38px;height:38px;font-size:20px}.ms-send{background:var(--ms-navy);color:#f6efe1;cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;width:46px;height:46px;display:grid}.ms-send:disabled{opacity:.4;cursor:default}.ms-hint{color:#6c6352;margin:0;font-size:11px}@media (max-width:640px){.ms{border-radius:14px;height:calc(100dvh - 140px)}.ms-msg{max-width:86%}.ms-hint{display:none}}.ms .ms-input,.ms textarea.ms-input{width:auto;min-height:38px;max-height:160px;box-shadow:none;resize:none;background:0 0;border:0;border-radius:0;outline:none;margin:0;padding:9px 6px;font-size:15px}.ms .ms-send,.ms .ms-icon{min-height:0}.vh-messenger{gap:8px;min-width:0;display:grid}
