.sn-invite { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; padding: 16px; box-sizing: border-box;
  background: rgba(27, 27, 29, .95); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  font: 14px/1.55 system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; color: #1b1b1d; animation: sn-invite-fade .2s ease-out; }
:lang(zh-Hant) .sn-invite { font-family: "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif; }
.sn-invite * { box-sizing: border-box; }
.sn-invite-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; width: min(340px, 100%); max-height: 100%; }
.sn-invite-wrap:focus { outline: none; }
.sn-invite-card { width: 100%; min-height: 0; overflow: auto; background: #fbfaf6; border: 3px solid #1b1b1d; padding: 12px 14px 14px; text-align: left;
  animation: sn-invite-pop .28s cubic-bezier(.2, 1.4, .4, 1); }
.sn-invite p { margin: 0; }
.sn-invite-head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px !important; font-weight: 700; font-size: 15px; }
.sn-invite-head span { background: #d23a2c; color: #fff; font-size: 13px; padding: 2px 8px; letter-spacing: .04em; }
.sn-invite-media { display: block; border: 2px solid #1b1b1d; background: #fff; }
.sn-invite-media img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; }
.sn-invite-title { margin: 12px 0 2px !important; font-size: 22px; font-weight: 700; line-height: 1.3; }
.sn-invite-desc { margin: 0 0 14px !important; font-size: 14px; color: #45433e; }
.sn-invite-go { position: relative; display: block; overflow: hidden; padding: 13px 10px; background: #1b1b1d; color: #fff; text-align: center;
  font-weight: 700; font-size: 17px; text-decoration: none; transition: opacity .15s; }
.sn-invite-go[aria-disabled="true"] { opacity: .45; }
.sn-invite-go::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #d23a2c; transform-origin: left;
  animation: sn-invite-ready var(--ready) linear forwards; }
.sn-invite-go:not([aria-disabled="true"])::after { opacity: 0; transition: opacity .2s; }
.sn-invite-close { appearance: none; border: 0; background: none; color: #fff; padding: 10px 24px; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  text-decoration: underline; text-underline-offset: 4px; }
@keyframes sn-invite-fade { from { opacity: 0; } }
@keyframes sn-invite-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@keyframes sn-invite-ready { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .sn-invite, .sn-invite-card { animation: none; } .sn-invite-go::after { animation: none; } }
