/* Share prompt (public player + admin preview). Navy card, cyan accents, real text, no layout shift. */
.sp { padding: 0; border: 0; background: transparent; color: #eef2fb; max-width: min(560px, calc(100vw - 24px)); width: 100%; overflow: visible; }
.sp::backdrop { background: rgba(3, 6, 14, 0.72); backdrop-filter: blur(2px); }
.sp-preview { position: static; display: block; margin: 0 auto; }
.sp-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: clamp(22px, 4.5vw, 36px) clamp(18px, 5vw, 44px) clamp(18px, 3.5vw, 28px);
  border-radius: 28px; border: 2px solid #1f9bf0;
  background: radial-gradient(120% 70% at 50% 0%, #0d2c57 0%, #0a1733 42%, #070d1c 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(0, 220, 245, 0.08);
  font-family: "DM Sans", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.sp-logo { height: 30px; width: auto; }
.sp-art { width: clamp(96px, 26vw, 132px); height: auto; margin: 2px 0 -2px; }
.sp-h { margin: 4px 0 0; font: 700 clamp(24px, 5.2vw, 38px)/1.12 "Outfit", "DM Sans", system-ui, sans-serif; color: #fff; letter-spacing: -0.01em; text-wrap: balance; }
.sp-b { margin: 0; max-width: 34ch; color: #b9c3da; font-size: clamp(15px, 3.4vw, 19px); line-height: 1.45; text-wrap: pretty; }
.sp-primary {
  margin-top: 8px; width: min(100%, 420px); min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  border: 0; border-radius: 999px; background: #22e6fb; color: #03121f; font: 700 clamp(18px, 4vw, 23px)/1 "Outfit", "DM Sans", system-ui, sans-serif; cursor: pointer;
  box-shadow: 0 0 18px rgba(34, 230, 251, 0.45);
}
.sp-primary:hover { background: #5cefff; }
.sp-primary:focus-visible, .sp-opt:focus-visible, .sp-continue:focus-visible, .sp-notnow:focus-visible, .sp-escape:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.sp-icon { width: 26px; height: 26px; }
/* Glow: two 2.5 s pulses when the prompt opens, then a static glow. Only box-shadow animates (no layout shift). */
.sp-glow { animation: sp-pulse 2.5s ease-in-out 2; }
@keyframes sp-pulse {
  0%, 100% { box-shadow: 0 0 18px rgba(34, 230, 251, 0.45); }
  50% { box-shadow: 0 0 34px 6px rgba(34, 230, 251, 0.75); }
}
@media (prefers-reduced-motion: reduce) { .sp-glow { animation: none; } }
.sp-platforms { display: none; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sp-platforms.is-open { display: flex; }
.sp-opt { min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #eef2fb; font: 500 14px/1 "DM Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.sp-opt:hover { border-color: #22e6fb; }
.sp-no-unlock { opacity: 0.75; }
.sp-copy-input { width: min(100%, 420px); min-height: 40px; padding: 0 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.2); background: #0b1428; color: #fff; }
.sp-status { margin: 0; min-height: 1.3em; color: #bff6ff; font-size: 14px; }
.sp-gate { margin: 0; max-width: 40ch; color: #d9e2f3; font-size: 14px; line-height: 1.45; }
.sp-continue { min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid #22e6fb; background: transparent; color: #fff; font: 600 16px/1 "DM Sans", system-ui, sans-serif; cursor: pointer; }
.sp-notnow, .sp-escape { border: 0; background: none; color: #9fb0cc; font: 500 14px/1.4 "DM Sans", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 12px; min-height: 44px; }
.sp-f { margin: 2px 0 0; color: #9aa6c0; font-size: 14px; }
.sp [hidden] { display: none !important; }
