.message.media-message{position:relative;width:360px;max-width:min(76%,420px);padding:0;background:transparent;border:0;box-shadow:none;border-radius:16px;isolation:isolate}
.media-message::before,.media-message::after{display:none}
.media-message .file-card{position:relative;width:100%;padding:0}
.media-message .file-preview-button{margin:0;border:0;border-radius:16px;min-height:100px;max-height:440px;background:transparent}
.media-message .file-preview{border-radius:16px;max-height:440px;background:transparent}
.media-message .file-video{display:block;width:100%;max-height:440px;border-radius:16px}
.media-message .message-meta{position:absolute;bottom:9px;right:9px;z-index:3;margin:0;padding:3px 7px;border-radius:12px;background:#071119b8;color:#fff;pointer-events:none}
.media-message .message-status{display:none}
.media-message .message-actions{position:absolute;right:7px;top:7px;z-index:4;margin:0;padding:2px;border-radius:12px;background:#0711199c}
.media-message .forwarded-label,.media-message .reply-preview{margin-bottom:6px;background:#12262cdd;border-radius:8px;padding:5px 8px}
.media-message .reaction-chips{position:relative;z-index:4;margin-bottom:24px}
.media-download{position:absolute;top:9px;right:80px;z-index:4;width:28px;height:28px;border:0;border-radius:50%;background:#071119aa;color:#fff;cursor:pointer;font-size:20px}
.video-quality{position:absolute;top:9px;left:9px;z-index:4;border-radius:10px;background:#071119bb;color:#e4f3ef;font-size:10px;padding:5px 7px;display:flex;align-items:center;gap:3px}
.video-quality select,.playback-speed select{color:inherit;background:#182e36;border:1px solid #ffffff20;border-radius:5px;padding:3px;font:inherit;cursor:pointer}
.playback-speed{display:flex;align-items:center;gap:5px;color:#b9d7d0;font-size:10px;white-space:nowrap}
.voice-footer{gap:8px;flex-wrap:wrap}.voice-player{min-width:235px}
.file-audio{display:block;width:100%;height:36px;margin:6px 0}.file-audio-load{border:0;padding:8px 12px;background:#8ce3c12b;color:var(--accent);border-radius:9px;margin:5px 0;cursor:pointer}
.file-card>.playback-speed{margin:6px 0 10px}
.message.round-message{width:260px;max-width:min(80%,260px)}
.round-card .file-preview-button,.round-card .file-preview,.round-card .file-video{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%;max-height:none}
.round-card .file-preview-button{height:auto}.round-card .file-video{cursor:pointer}
.round-message .message-meta{bottom:44px;right:20px}
.round-controls{display:flex;align-items:center;gap:8px;padding:8px 2px;color:#baded0;font-size:11px}
.round-toggle{background:transparent;border:0;color:var(--accent);width:24px;cursor:pointer}.round-seek{min-width:0;flex:1;accent-color:var(--accent);height:5px}.round-time{min-width:27px}
.record-round{align-self:center;flex-shrink:0;color:var(--accent);width:30px}
.round-composer{display:flex;align-items:center;justify-content:center;gap:22px;padding:16px;margin:8px 25px 0;background:#15282d;border-radius:18px;flex-shrink:0}
.round-preview{width:170px;height:170px;border-radius:50%;object-fit:cover;background:#071119}
.round-compose-panel{display:flex;flex-direction:column;gap:14px;font-size:12px;color:#c8e0d8;max-width:55%}
.round-compose-panel>span{font-variant-numeric:tabular-nums;color:#8db4a6}
.round-compose-actions{display:flex;flex-wrap:wrap;gap:8px}.round-compose-actions button{border:0;border-radius:9px;background:#254139;color:#cce6db;padding:9px 12px;cursor:pointer;font:inherit}
.round-compose-actions #round-send{background:var(--accent);color:#173f32}.round-compose-actions button:disabled{opacity:.45;cursor:default}
@media(max-width:750px){.message.media-message{max-width:88%;width:290px}.message.round-message{width:235px;max-width:80%}.round-composer{margin:8px 10px 0;padding:12px;gap:12px}.round-preview{width:130px;height:130px}.round-compose-panel{font-size:11px;gap:10px}.round-compose-actions button{padding:8px}.record-round{width:25px}.media-download{right:77px}.voice-player{min-width:205px}}
