/* Messages + friends (staging). Theme variables only. */
html body.f2 nav.ob-tabs a[href="/messages"] { display: flex !important; } /* booking app: keep the Messages tab */
html body.f2 form.compose#compose { display: flex !important; }
.compose .msg-photo { flex: none; padding: 10px 12px; cursor: pointer; } .compose .msg-photo.busy { opacity: .5; pointer-events: none; }
.bubble .bimg { display: block; margin: -2px -4px 6px; } .bubble .bimg img { display: block; max-width: 220px; width: 100%; border-radius: 12px; }
.bubble.mine { background: var(--lmv-accent) !important; color: var(--lmv-on-accent, #fff) !important; }
.msg-privacy { margin-top: 6px; text-align: center; }
.convo.unread { border-color: var(--lmv-accent) !important; } .badge-n { background: var(--lmv-accent) !important; color: var(--lmv-on-accent, #fff) !important; }
.fr-reqs { display: grid; gap: 8px; margin: 12px 0 16px; } .fr-req { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--lmv-accent-line, var(--border)); }
.fr-req .who { flex: 1; min-width: 0; } .fr-req form { display: inline; }
.fr-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.btn-friend.on { border-color: var(--lmv-accent) !important; color: var(--lmv-link, inherit) !important; }
.fr-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .fr-grid a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .74rem; text-align: center; color: inherit; text-decoration: none; min-width: 0; }
.fr-grid a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.fr-grid .av { border: 2px solid var(--lmv-accent); }
html body nav.tabbar.ob-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; grid-auto-flow: column; } /* 5 tabs incl. Messages */
html body nav.tabbar.ob-tabs > a { order: 0 !important; min-width: 0; }
