.public-star {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--border, #ffffff28);
  border-radius: 999px;
  background: var(--surface, #111720eb);
  color: var(--text, #eef0f5);
  box-shadow: 0 5px 25px #0002;
  font: 500 13px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  white-space: nowrap;
  text-decoration: none;
  transform: translate(-50%, 0);
  transition: transform 520ms cubic-bezier(.25, .1, .25, 1);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.public-star:hover { text-decoration: none; border-color: var(--text, #eef0f5); }
.public-star[data-hidden="true"] {
  transform: translate(-50%, calc(100% + 32px + env(safe-area-inset-bottom, 0px)));
  pointer-events: none;
}
.public-star:focus-visible {
  transform: translate(-50%, 0);
  pointer-events: auto;
  outline: 2px solid var(--text, #eef0f5);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) { .public-star { transition: none; } }

.public-star--welcome { animation: public-star-welcome 2400ms ease both; }
@keyframes public-star-welcome {
  0%, 100% { box-shadow: 0 5px 25px #0002; }
  30% { box-shadow: 0 0 0 3px #e8b94f38, 0 0 30px #e8b94f35, 0 5px 25px #0002; }
}
.public-star-burst {
  position: fixed;
  width: 0;
  height: 0;
  z-index: 2147483001;
  pointer-events: none;
}
.public-star-spark {
  position: absolute;
  width: 16px;
  height: 16px;
  max-width: none;
  fill: currentColor;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .public-star--welcome { animation: none; }
  .public-star-burst { display: none; }
}

