/* 음성으로 적기 — 마이크는 글 칸 안 오른쪽 아래. 칸(앞 형제) 바로 밑에 높이 없는 줄을 두고 단추만 위로 올린다 */
.vo { --up: 4px; position: relative; flex: 1 1 100%; min-width: 0; }
.form.open > .vo { --up: 10px; }                     /* 칸과 줄 사이 간격 6px 만큼 더 */
.vo:empty { display: none; }
.vo-b { position: absolute; right: 4px; bottom: calc(100% + var(--up)); z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.vo-b:hover { color: var(--text); }
.vo-b.on { background: var(--red); background-clip: content-box; padding: 4px; color: #fff; }
.vo-b:disabled { opacity: .6; }
.vo-b:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.vo-b span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vo-s { position: absolute; }                         /* 글이 없을 때는 자리를 안 먹는다 */
.vo-s:not(:empty) { position: static; display: block; padding-top: 6px; white-space: pre-line; font-size: 13px; line-height: 1.45; color: var(--muted); word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
.vo-s.live:not(:empty) { color: var(--text); }
.vo-s.bad:not(:empty) { color: var(--amber); }
/* 글이 단추 밑으로 들어가지 않게 오른쪽을 비우고, 길어지면 칸이 따라 커진다 */
:is(#mk-text, #ask-text):has(+ .vo .vo-b), .form [data-draft]:has(+ .vo .vo-b) { padding-right: 54px; resize: none; }
:is(#mk-text, #ask-text):has(+ .vo .vo-b) { field-sizing: content; min-height: 168px; max-height: 46vh; display: block; }
.form textarea[data-draft]:has(+ .vo .vo-b) { field-sizing: content; min-height: 64px; max-height: 40vh; }
.form input[data-draft]:has(+ .vo .vo-b) { min-height: 52px; }
