.sd-msg{--bg:#1c1c1c;--fg:#f6f6f6;--mute:#8e8e8e;--line:#ffffff1a;--soft:#ffffff12;--strong:#fafafa;--on:#111;color:var(--fg);-webkit-tap-highlight-color:transparent;font-size:14px;line-height:1.4}.sd-msg[data-fill=light]{--bg:#fff;--fg:#121212;--mute:#6f6f6f;--line:#00000017;--soft:#0000000d;--strong:#111;--on:#fff}.sd-msg :where(button){font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.sd-msg :focus-visible{outline:2px solid var(--fg);outline-offset:2px}.sd-msg .sr{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.sd-msg{background:var(--bg);width:min(100%,320px);height:400px;box-shadow:inset 0 0 0 1px var(--line);border-radius:22px;flex-direction:column;display:flex;overflow:hidden}.sd-msg__top{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:12px 14px;font-size:13.5px;font-weight:600;display:flex}.sd-msg__av{background:var(--soft);border-radius:99px;place-items:center;width:28px;height:28px;font-size:11.5px;display:grid}.sd-msg__top small{color:var(--mute);font-size:11.5px;font-weight:400;display:block}.sd-msg__log{flex-direction:column;flex:1;gap:3px;padding:12px;display:flex;overflow-y:auto}.sd-msg__b{white-space:pre-wrap;word-wrap:break-word;border-radius:18px;max-width:78%;padding:8px 12px;font-size:14px;line-height:1.35;animation:.28s cubic-bezier(.2,1.2,.3,1) both sd-msg-in}.sd-msg__b[data-me]{background:var(--strong);color:var(--on);transform-origin:100% 100%;border-bottom-right-radius:6px;align-self:flex-end}.sd-msg__b:not([data-me]){background:var(--soft);transform-origin:0 100%;border-bottom-left-radius:6px;align-self:flex-start}.sd-msg__b[data-gap]{margin-top:8px}@keyframes sd-msg-in{0%{opacity:0;transform:translateY(10px)scale(.92)}}.sd-msg__st{color:var(--mute);align-self:flex-end;margin-top:2px;font-size:11px;animation:.2s sd-msg-fade}@keyframes sd-msg-fade{0%{opacity:0}}.sd-msg__typing{background:var(--soft);border-radius:18px 18px 18px 6px;align-self:flex-start;gap:4px;margin-top:8px;padding:12px 14px;animation:.24s sd-msg-in;display:flex}.sd-msg__typing i{background:var(--mute);border-radius:99px;width:6px;height:6px;animation:1s infinite sd-msg-dot}.sd-msg__typing i:nth-child(2){animation-delay:.15s}.sd-msg__typing i:nth-child(3){animation-delay:.3s}@keyframes sd-msg-dot{30%{opacity:1;transform:translateY(-3px)}0%,60%,to{opacity:.4}}.sd-msg__comp{border-top:1px solid var(--line);align-items:flex-end;gap:6px;padding:8px;display:flex}.sd-msg__ta{resize:none;background:var(--soft);min-height:38px;max-height:96px;color:var(--fg);font:inherit;field-sizing:content;border:0;border-radius:19px;outline:0;flex:1;padding:9px 12px;font-size:14px;line-height:1.4}.sd-msg__ta::placeholder{color:var(--mute)}.sd-msg__send{border-radius:99px;flex:none;place-items:center;width:38px;height:38px;transition:transform .14s,opacity .16s;display:grid;background:var(--strong)!important;color:var(--on)!important}.sd-msg__send:disabled{opacity:.3;cursor:default}.sd-msg__send:active:not(:disabled){transform:scale(.88)}.sd-msg__send svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:16px;height:16px}@media (prefers-reduced-motion:reduce){.sd-msg *,.sd-msg :before,.sd-msg :after{transition:none!important;animation:none!important}}
