/* messages: who it goes to and what it says, before WhatsApp opens (messages.js) */
.msg-scrim { z-index: 40 }
.msg-sheet { z-index: 41; width: 460px; max-width: calc(100vw - 24px); max-height: calc(100vh - 32px); overflow: auto; gap: 12px }
.msg-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--sep); border-radius: 12px; background: #fff }
.msg-card + .msg-card { margin-top: 2px }
.msg-to { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: var(--fs-14) }
.msg-k { font-size: var(--fs-12); font-weight: 600; color: var(--ink2); text-transform: uppercase; letter-spacing: .02em }
[dir=rtl] .msg-k { text-transform: none; letter-spacing: 0 }
.msg-who { flex: 1 1 auto; min-width: 0 }
.msg-rel { font-size: var(--fs-12); color: var(--ink2) }
.msg-opts { display: flex; flex-wrap: wrap; gap: 6px }
.msg-many { font-size: var(--fs-12); color: var(--ink2) }
.msg-lang { max-width: 200px }
.msg-text { white-space: pre-wrap; font-size: var(--fs-14); line-height: 1.6; padding: 12px 14px; border-radius: 10px; background: #f4f7f8; color: var(--ink); overflow-wrap: anywhere }
.msg-link { display: inline-block; padding: 0 8px; border-radius: 8px; background: #e3eef1; color: #0d5e6f; font-size: var(--fs-12); font-weight: 600 }
.msg-go { align-self: stretch }
.msg-teen { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-13); padding: 10px 12px; border-radius: 10px; background: #f7f7f9; cursor: pointer }
.msg-teen input { margin-top: 3px }
.msg-teen small { display: block; margin-top: 2px }
.msg-warn { font-size: var(--fs-13); padding: 10px 12px; border-radius: 10px; background: #fff1db; color: #8a4a00 }
.msg-miss { display: flex; flex-direction: column; gap: 10px }
@media (max-width: 700px) { .msg-sheet { top: auto; bottom: 0; left: 0; right: 0; transform: none; width: auto; max-width: none; border-radius: 16px 16px 0 0 } }
.msg-teen bdi { white-space: nowrap }
