
.smsfb {
  max-width: min(420px, calc(100vw - 32px));
  padding: 24px;
  border: 0;
  border-radius: 16px;
  background: Canvas;
  color: CanvasText;
  font: inherit;
  box-shadow: 0 12px 40px rgb(0 0 0 / .25);
  text-align: center;
}
.smsfb::backdrop { background: rgb(0 0 0 / .4); }
.smsfb__h { margin: 0 0 14px; font-size: 1.15em; line-height: 1.35; font-weight: 700; }

.smsfb__qr { width: 220px; height: 220px; margin: 0 auto 14px; border-radius: 12px; overflow: hidden; background: #fff; color: var(--ink, #000); --qr-eye: var(--accent, var(--ink, #000)); }
.smsfb__qr svg { display: block; width: 100%; height: 100%; }
.smsfb__how { margin: 0 auto 16px; max-width: 30ch; line-height: 1.45; }
.smsfb__close {
  margin: 0; padding: .6em 1.6em; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer;
}
.smsfb__close:hover { background: color-mix(in srgb, CanvasText 8%, transparent); }
@media (prefers-reduced-motion: no-preference) {
  .smsfb[open] { animation: smsfb-in .16s ease-out; }
  .smsfb[open]::backdrop { animation: smsfb-fade .16s ease-out; }
  .smsfb.smsfb--out { animation: smsfb-out .16s ease-in forwards; }
  .smsfb.smsfb--out::backdrop { animation: smsfb-fade .16s ease-in reverse forwards; }
}
@keyframes smsfb-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes smsfb-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes smsfb-fade { from { opacity: 0; } }
