/* Shared demo return control
   Purpose: every public demo page can return to /demos/.
*/

.demo-return-pill {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
  padding: 0.58rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 246, 255, 0.28);
  background: rgba(5, 12, 18, 0.82);
  color: #e9f7f4;
  font: 800 0.9rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28), 0 0 22px rgba(79, 246, 255, 0.12);
  backdrop-filter: blur(12px);
}

.demo-return-pill:hover,
.demo-return-pill:focus {
  color: #031014;
  background: linear-gradient(135deg, #4ff6ff, #91fff2);
  border-color: rgba(79, 246, 255, 0.56);
  outline: none;
}

@media (max-width: 700px) {
  .demo-return-pill {
    left: 12px;
    bottom: 12px;
    min-height: 38px;
    padding: 0.52rem 0.72rem;
    font-size: 0.84rem;
  }
}
