.chat-uploads{display:grid;gap:6px;max-height:150px;overflow:auto;flex-shrink:0}.chat-uploads:empty{display:none}.chat-upload{display:flex;gap:8px;align-items:center;padding:6px 10px;min-width:0}.chat-upload>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.chat-upload small{display:block}.chat-upload img{width:44px;height:44px;object-fit:cover;border-radius:8px}.chat-attachment{display:grid;gap:8px;white-space:normal;max-width:100%;margin-top:8px}.chat-attachment a{overflow-wrap:anywhere;font-size:12px}.chat-photo{display:block;border:0;background:none;padding:0;cursor:zoom-in;max-width:100%}.chat-photo img{display:block;max-width:100%;width:auto;max-height:280px;border-radius:12px}.chat-attachment audio{width:260px;max-width:100%;height:46px}.chat-round{display:block;width:240px;max-width:100%;aspect-ratio:1;border-radius:50%;object-fit:cover;background:#211a2e}.chat-large-photo{display:block;max-width:100%;max-height:65dvh;object-fit:contain;margin:auto}.chat-transcript{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;border-left:2px solid #b08ee0;padding-left:8px}.chat-library{display:grid;gap:18px;min-width:0}.chat-library .chat-attachment{border-bottom:1px solid #d8d4e3;padding-bottom:12px}.chat-sticker{display:block;width:160px;max-width:100%;height:160px;object-fit:contain}.sticker-set{display:grid;gap:8px;padding:14px 0;border-bottom:1px solid #d8d4e3}.sticker-set small{display:block}.sticker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sticker-grid>span{display:grid;min-width:0}.sticker-grid button:not(.link){width:100%;height:80px;border:0;border-radius:10px;background:#f5f0fa;cursor:pointer}.sticker-grid img{width:100%;height:100%;object-fit:contain}.chat-dialog .row{flex-wrap:wrap}.chat-dialog .row>*{min-width:0}.chat-dialog video{margin:8px auto}.chat-dialog input[type=file]{max-width:100%}
@media(max-width:420px){.chat-dialog{padding:14px}.chat-upload{flex-wrap:wrap}.sticker-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.chat-toolbar .btn{min-height:40px}.chat-attachment audio{width:220px}}
