/* Aperçu multi-média (discussion + statut) — Woyatsapp 2.0.7 */
.mcompose{position:fixed;inset:0;z-index:45;display:flex;flex-direction:column;background:#000;color:#fff}
.mcompose.hidden{display:none}
.mc-stage{flex:1;min-height:0;position:relative;display:flex;align-items:center;justify-content:center;background:#000}
.mc-close{position:absolute;top:8px;left:8px;z-index:2;width:42px;height:42px;border:0;border-radius:50%;background:#00000088;color:#fff;font-size:22px;cursor:pointer}
.mc-count{position:absolute;top:16px;right:14px;z-index:2;font-size:13px;font-weight:600;background:#00000088;padding:4px 10px;border-radius:12px}
.mc-view{width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.mc-view img,.mc-view video{max-width:100%;max-height:100%;object-fit:contain;background:#000}
.mc-bot{flex:0 0 auto;background:linear-gradient(180deg,#0000,#000c 28%,#111);padding:8px 8px 14px;display:flex;flex-direction:column;gap:8px}
.mc-bot #mcCap{width:100%;box-sizing:border-box;border:0;border-radius:22px;background:#ffffff1a;color:#fff;padding:10px 16px;font-size:15px;outline:none}
.mc-bot #mcCap::placeholder{color:#ffffff99}
.mc-row{display:flex;align-items:center;gap:8px}
.mc-add{flex:0 0 auto;width:44px;height:44px;border:2px dashed #ffffff66;border-radius:10px;background:transparent;color:#fff;font-size:26px;line-height:1;cursor:pointer}
.mc-thumbs{flex:1;min-width:0;display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:4px 0;-webkit-overflow-scrolling:touch}
.mc-thumbs::-webkit-scrollbar{display:none}
.mc-thumb{position:relative;flex:0 0 52px;width:52px;height:52px;border-radius:8px;overflow:hidden;border:2px solid transparent;background:#222;cursor:pointer}
.mc-thumb.on{border-color:#25d366}
.mc-thumb img,.mc-thumb video{width:100%;height:100%;object-fit:cover;display:block}
.mc-thumb .mc-x{position:absolute;top:1px;right:1px;width:18px;height:18px;border:0;border-radius:50%;background:#000c;color:#fff;font-size:12px;line-height:18px;padding:0;cursor:pointer}
.mc-thumb .mc-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:14px;text-shadow:0 1px 2px #000;pointer-events:none}
#mcSend{flex:0 0 auto;margin:0}
.upbar{position:absolute;left:8px;right:8px;bottom:22px;height:4px;background:#ffffff33;border-radius:2px;overflow:hidden;z-index:2}
.upbar i{display:block;height:100%;width:0;background:#25d366;transition:width .15s linear}
.m.media{position:relative}
.m.pending .ph,.m.pending .vid{opacity:.85}
.vbody video{max-width:100%;max-height:100%;object-fit:contain;background:#000}
.vfwd{width:40px;height:40px;border:0;background:transparent;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.vfwd svg{width:22px;height:22px;fill:#fff}
