/* msgedit-v1 */
.sx-edited{font-size:10.5px;color:var(--mut);margin-left:6px;font-style:italic}
.m.me-tombstone .who,.m.me-tombstone .tm,.m.me-tombstone .mx-more{opacity:.65}
.m.me-tombstone .txt.me-deleted,.txt.me-deleted{font-style:italic;color:var(--mut);font-size:13px}
.m.me-tombstone .files,.m.me-tombstone .reacts,.m.me-tombstone .sx-edited{display:none}
.me-new{display:flex;align-items:center;gap:8px;margin:8px 12px 6px;color:#c0392b;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;user-select:none}
.me-new::before,.me-new::after{content:"";flex:1;height:1px;background:#e7b0ac}
.mx-it.me-danger{color:#b42318}
.mx-it.me-danger:hover,.mx-it.me-danger:focus{background:#fdecea}
.me-ov{position:fixed;inset:0;z-index:90;background:rgba(15,23,32,.45);display:flex;align-items:center;justify-content:center;padding:16px}
.me-dialog{background:#fff;border-radius:12px;max-width:420px;width:100%;box-shadow:0 16px 50px rgba(15,23,32,.24);overflow:hidden}
.me-dialog h2{margin:0;padding:14px 16px 0;font-size:17px}
.me-dialog p{margin:8px 16px 0;color:var(--mut);font-size:14px;line-height:1.45}
.me-foot{display:flex;justify-content:flex-end;gap:8px;padding:14px 16px 16px}
.me-foot button{border:1px solid var(--line);background:#fff;border-radius:8px;padding:8px 12px;font-size:14px;cursor:pointer}
.me-foot .me-del{background:#b42318;color:#fff;border-color:#b42318}
.me-side{z-index:80;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 10px 30px rgba(15,23,32,.18);padding:4px;min-width:180px}
.me-side .mx-it{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:7px;font-size:14px;cursor:pointer}
.me-side .mx-it:hover,.me-side .mx-it:focus{background:var(--blue-l)}
@media (max-width:700px){
  :where(html:not(.nc-tablet)) .me-foot button{min-height:42px;padding:10px 14px}
  :where(html:not(.nc-tablet)) .me-side .mx-it{min-height:42px}
}

/* tablet2b-v1: phone rules scoped to html:not(.nc-tablet); iPad windows >= 600px keep the tablet layout */
