/* LURE: a text thread or an email, the way you'd see it on your phone. Generic looks, no real logos. */
.stage { max-width: 640px; }

/* an unknown number gets a blank person, like a real phone */
.msg-av.is-unknown { position: relative; overflow: hidden; }
.msg-av.is-unknown::before { content: ""; position: absolute; top: 9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--white); }
.msg-av.is-unknown::after { content: ""; position: absolute; bottom: -6px; left: 50%; width: 30px; height: 20px; margin-left: -15px; border-radius: 15px 15px 0 0; background: var(--white); }
.spec-sms .bubble + .bubble { margin-top: -4px; }
.bubble .link, .mail-body .link { color: #1F63D6; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; overflow-wrap: anywhere; }



/* email */
.mail-bar { flex: none; padding: 4px 14px 10px; font-size: 16px; font-weight: 600; color: #1F63D6; }
.mail-back { display: inline-flex; align-items: center; gap: 6px; }
.mail-back svg { width: 11px; height: 18px; }
.mail-head { padding: 16px 18px 14px; border-bottom: 1px solid #ECECE6; display: flex; flex-direction: column; gap: 14px; }
.mail-subject { font-size: clamp(20px, 5.2vw, 24px); font-weight: 800; line-height: 1.25; }
.mail-from { display: flex; gap: 12px; align-items: flex-start; }
.mail-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mail-line b { font-size: 17px; }
.mail-time { font-size: 14px; color: var(--muted); margin-left: 8px; white-space: nowrap; }
.mail-addr { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.mail-to { font-size: 14px; color: var(--muted); }
.mail-body {
  padding: 16px 18px 24px; display: flex; flex-direction: column; gap: 12px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: clamp(16px, 4.3vw, 18px); line-height: 1.5; color: var(--ink);
}
.mail-btn { align-self: flex-start; background: #3B4048; color: var(--white); font-weight: 700; font-size: 16px; padding: 12px 20px; border-radius: 8px; }
.mail-href { font-size: 13px; line-height: 1.4; color: var(--muted); margin-top: -4px; overflow-wrap: anywhere; }

/* a QR code look, without being a real, scannable code */
.mail-qr {
  display: block; width: 132px; height: 132px; margin: 4px 0; border: 8px solid var(--white); outline: 1px solid #E3E3E1;
  background:
    radial-gradient(circle at 18px 18px, transparent 9px, transparent 0) ,
    conic-gradient(from 90deg at 2px 2px, #15181D 25%, transparent 0) 0 0 / 12px 12px,
    repeating-linear-gradient(90deg, #15181D 0 6px, transparent 6px 14px, #15181D 14px 18px, transparent 18px 24px),
    repeating-linear-gradient(0deg, transparent 0 8px, #fff 8px 12px);
  background-blend-mode: normal;
  position: relative;
}
.mail-qr::before, .mail-qr::after {
  content: ""; position: absolute; width: 30px; height: 30px; border: 6px solid #15181D; background: #fff; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 12px #15181D;
}
.mail-qr::before { top: 0; left: 0; }
.mail-qr::after { top: 0; right: 0; }
