#chat-stream .message-bubble .chat-media-thumb{position:relative;display:block;max-width:150px;width:150px;height:124px;padding:0;margin:10px 0;border:1px solid #c4a36788;border-radius:13px;overflow:hidden;background:#10151e;cursor:zoom-in;box-shadow:0 4px 12px #0003}#chat-stream .message-bubble .chat-media-thumb img,#chat-stream .message-bubble .chat-media-thumb video{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0;margin:0;background:#10151e}#chat-stream .chat-media-thumb>span{position:absolute;left:0;right:0;bottom:0;padding:6px 8px;background:#111620dd;color:#f0d393;font-size:9px;text-align:center;backdrop-filter:blur(4px)}#chat-stream .chat-media-thumb:focus-visible{outline:2px solid #f1d195;outline-offset:4px}dialog.chat-media-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:92dvh;padding:0;border:1px solid #d5b67a;border-radius:23px;background:linear-gradient(135deg,#2b2635,#141b26);color:#f0d393;overflow:hidden;box-shadow:0 25px 100px #000b}dialog.chat-media-dialog::backdrop{background:#050811d9;backdrop-filter:blur(8px)}.chat-media-dialog>header{display:flex;align-items:center;gap:17px;padding:14px 19px;border-bottom:1px solid #b49c6044}.chat-media-dialog h2{font:400 24px/1.2 Georgia,serif;margin:0;flex:1;color:#f0d393}.chat-media-clock{font-size:11px;color:#d6b3c4}.chat-media-close{display:grid;place-items:center;width:35px;height:35px;padding:0;flex:none;border:1px solid #b49c6066;border-radius:50%;background:#151c27;color:#f0d393;font-size:25px;line-height:1;cursor:pointer}.chat-media-stage{display:grid;place-items:center;min-height:160px;max-height:calc(92dvh - 70px);padding:13px;overflow:auto;background:#0d131c}.chat-media-stage img,.chat-media-stage video{display:block;width:auto;height:auto;max-width:100%;max-height:calc(92dvh - 96px);object-fit:contain}.chat-media-stage audio{width:min(500px,100%)}.theme-bdsm dialog.chat-media-dialog{background:linear-gradient(135deg,#2c2534,#131b25)}@media(max-width:500px){#chat-stream .message-bubble .chat-media-thumb{width:125px;height:108px}.chat-media-dialog>header{padding:12px 14px;gap:10px}.chat-media-dialog h2{font-size:21px}.chat-media-clock{font-size:10px}}

.chat-camera-icon{display:inline-block;vertical-align:middle;flex:none;width:18px;height:18px;margin-right:6px}#call-start,#chat-record-video{display:inline-flex;align-items:center;justify-content:center}
/* Small attachment action instead of a full-width composer button. */
#chat-clear-attachment{display:inline-flex;align-items:center;justify-content:center;align-self:flex-start;justify-self:start;width:auto!important;max-width:100%;min-height:28px!important;padding:5px 11px!important;border-radius:9px;font-size:11px!important;line-height:1.4;margin-top:3px;background:#282531;border:1px solid #b89a5f77;box-shadow:none}
#chat-clear-attachment[hidden]{display:none!important}
