.msg-footer { display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; margin-top:9px; }
.msg-footer .msg-tools { margin:0; }
.msg-versions { display:inline-flex; align-items:center; gap:3px; color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
.msg-versions span { min-width:56px; text-align:center; }
.msg-versions button { display:grid; place-items:center; width:32px; height:32px; border:1px solid transparent; border-radius:9px; color:var(--muted); background:transparent; cursor:pointer; }
.msg-versions button:hover:not(:disabled) { color:var(--accent); background:var(--accent-soft); }
.msg-versions button:disabled { opacity:.3; cursor:default; }
.msg-editor { display:grid; gap:12px; padding:16px; border:1px solid var(--accent); border-radius:16px; background:var(--surface); box-shadow:0 8px 30px #00000008; }
.msg-editor label { font-size:13px; font-weight:650; }
.msg-editor textarea { width:100%; min-height:120px; max-height:40dvh; resize:vertical; padding:12px; border:1px solid var(--line); border-radius:10px; background:var(--ground); color:var(--ink); font:inherit; line-height:1.55; }
.msg-editor-note { margin:0; color:var(--muted); font-size:12px; line-height:1.5; }
.msg-editor-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; }
.result-preview { display:block; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:zoom-in; }
.results-one .result-preview { height:auto; }
.result-preview img { width:100%; display:block; }
.feed-media img[role="button"] { cursor:zoom-in; }
@media(max-width:860px) {
  .studio.is-editing-message :is(.composer,#to-end) { display:none; }
  .msg-footer { gap:4px 10px; }
  .msg-versions button { width:44px; height:44px; }
  .msg-editor { padding:12px; gap:10px; }
  .msg-editor textarea { font-size:16px; min-height:100px; }
  .msg-editor-actions .btn { min-height:44px; }
  .msg-footer .msg-tools { opacity:1; }
}
