/* v1.3.17 — voice notes: calmer recording bar, ➤ on the end side, steady bubble */

/* recording bar: ShotGram's own calm surface instead of the dark-maroon gradient */
.room-bar .vn-hint.vn-hint-inline {
  background: var(--surface-2, #14172b); border: 1px solid var(--line, rgba(255,255,255,.1));
  box-shadow: none; gap: 9px; padding: 0 12px 0 5px;
}
.vn-hint-inline .vn-cancel { background: rgba(255, 255, 255, .07); color: #ff8aa0; width: 34px; height: 34px; }
.vn-hint-inline .rec-dot { width: 9px; height: 9px; margin: 0; background: #ff4d6d; }
.vn-hint-inline .vn-rec-time { min-width: 32px; font-size: 14px; font-weight: 700; letter-spacing: .2px; }
.vn-hint-inline .vn-rec-wave { gap: 2px; height: 24px; }
.vn-hint-inline .vn-rec-wave i { max-width: 3px; min-width: 2px; background: #5b9dff; opacity: .9; }
.vn-hint-inline .vn-rec-tip { font-size: 11px; opacity: .55; }

/* the ➤ sits at the END of the bar (right in English, left in Arabic), where the mic normally is */
.room-bar.is-recording > .vn-hint { order: 1; }
.room-bar.is-recording > #micBtn { order: 2; }

/* a voice note keeps its bubble even if it is the only thing in the message */
.bubble.has-voice.bare { background-clip: padding-box; }
.bubble.has-voice .bubble-time { position: static; }

/* v1.3.17 — a shared profile card must fit INSIDE its bubble (it was 280 px wide in a ~270 px bubble:
   the "View" button stuck out and a grey strip showed behind the bubble) */
html body .room-body .bubble:has(> .rt-card[data-card-user]) { width: min(316px, 92%); max-width: min(316px, 92%) !important; box-sizing: border-box; }
.rt-card[data-card-user] { width: 100%; max-width: 100%; box-sizing: border-box; padding: 9px 10px; gap: 9px; min-width: 0; }
.rt-card[data-card-user] .rt-card-txt b { font-size: 14px; }
.rt-card[data-card-user] .rt-card-txt > span { font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.rt-card[data-card-user] .rt-card-go { padding: 5px 10px; font-size: 12.5px; }
