/* ============================================================
   Creator tag (web/js/creator-tag.js): the soft teal "Creator" pill
   after a creator's name, the holographic honor badge (First Creator)
   that takes its place for honored accounts, and the keepsake note the
   honor badge opens.
   ============================================================ */
.sb-cr { display: none; align-items: center; gap: 4px; flex-shrink: 0; margin-left: 6px; padding: 1px 7px 1px 6px;
  border-radius: 999px; background: #ccfbf1; color: #0f766e;
  font-family: inherit; font-size: 11px; font-weight: 600; line-height: 16px; letter-spacing: 0; text-transform: none;
  vertical-align: middle; white-space: nowrap; }
.sb-cr.is-on { display: inline-flex; }
.sb-cr svg.sb-cr-i { width: 11px; height: 11px; margin: 0; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Bigger, for the profile header */
.sb-cr.sb-cr-lg { margin-left: 0; padding: 2px 11px 2px 8px; gap: 5px; font-size: 13px; line-height: 20px; }
.sb-cr.sb-cr-lg svg.sb-cr-i { width: 14px; height: 14px; }
/* The profile pages size every svg in the creator row; keep ours */
.profile-view-shell .sb-cr.sb-cr svg.sb-cr-i { width: 11px; height: 11px; margin: 0; }
.profile-view-shell .sb-cr.sb-cr-lg svg.sb-cr-i { width: 14px; height: 14px; }

/* Honor badge: holographic foil */
.sb-cr.is-honor { position: relative; overflow: hidden; padding-right: 8px; cursor: pointer; color: #3b0764;
  background: linear-gradient(110deg, #a5f3fc, #c4b5fd, #fbcfe8, #fde68a, #a7f3d0, #a5f3fc); background-size: 300% 100%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(0, 0, 0, 0.12);
  animation: sb-cr-holo 5s linear infinite; }
.sb-cr.sb-cr-lg.is-honor { padding-right: 11px; }
.sb-cr.is-honor:focus-visible { outline: 2px solid #14B8A6; outline-offset: 2px; }
.sb-cr.sb-cr-static { cursor: default; }
@keyframes sb-cr-holo { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .sb-cr.is-honor { animation: none; } }

/* The keepsake note */
.sb-cr-scrim { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 5, 25, 0.4); }
.sb-cr-sheet { width: 100%; overflow: hidden; border-radius: 18px 18px 0 0; background: #ffffff; color: #18181b; font-family: inherit; animation: sb-cr-up 0.22s ease-out; }
.sb-cr-top { position: relative; padding: 10px 20px 18px; text-align: center; background: linear-gradient(160deg, #ccfbf1, #fef3c7); }
.sb-cr-grab { width: 36px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: rgba(0, 0, 0, 0.18); }
.sb-cr-av { display: block; width: 76px; height: 76px; margin: 0 auto 10px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px #e9b949; }
.sb-cr-noimg { background: linear-gradient(135deg, #c4b5fd, #5eead4); }
.sb-cr-nm { font-size: 19px; font-weight: 700; }
.sb-cr-hd { margin-bottom: 10px; color: #71717a; font-size: 13px; }
.sb-cr-when { margin-top: 8px; color: #6b4405; font-size: 12px; font-weight: 600; }
.sb-cr-dot { position: absolute; border-radius: 50%; opacity: 0.8; }
.sb-cr-dot.d1 { width: 10px; height: 10px; top: 22px; left: 28px; background: #f472b6; }
.sb-cr-dot.d2 { width: 7px; height: 7px; top: 48px; right: 36px; background: #14B8A6; }
.sb-cr-dot.d3 { width: 9px; height: 9px; bottom: 22px; left: 52px; background: #e9b949; }
.sb-cr-dot.d4 { width: 6px; height: 6px; top: 28px; right: 70px; background: #8b5cf6; }
.sb-cr-body { padding: 20px 20px calc(24px + env(safe-area-inset-bottom)); }
.sb-cr-body p { margin: 0 0 16px; color: #3f3f46; font-size: 15px; line-height: 1.55; }
.sb-cr-body p b { color: #18181b; }
.sb-cr-sig { display: flex; align-items: center; gap: 8px; margin: -4px 0 18px; color: #18181b; font-size: 14px; }
.sb-cr-sig-av { display: block; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sb-cr-sig b { font-weight: 600; }
.sb-cr-ok { width: 100%; height: 44px; border: 0; border-radius: 12px; background: #14B8A6; color: #ffffff; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
@keyframes sb-cr-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 769px) {
  .sb-cr-scrim { align-items: center; }
  .sb-cr-sheet { max-width: 380px; border-radius: 16px; }
  .sb-cr-top { padding-top: 26px; }
  .sb-cr-grab { display: none; }
  .sb-cr-body { padding-bottom: 20px; }
}
