/* BETA badge — shared with main app chrome (imported from main.css and standalone pages). */

@keyframes beta-badge-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.15); }
}

.beta-badge {
  position: fixed;
  top: 26px;
  right: 32px;
  z-index: 250;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 13px;
  font-family: var(--font-mono, 'Space Mono', 'Consolas', monospace);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: calc(var(--radius-sm, 6px) * 1.6);
  backdrop-filter: blur(8px);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.beta-badge::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 13px rgba(167, 139, 250, 0.7);
  animation: beta-badge-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.light-theme .beta-badge {
  color: rgba(15, 23, 42, 0.72);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.light-theme .beta-badge::before {
  background: #7c3aed;
  box-shadow: 0 0 13px rgba(124, 58, 237, 0.6);
}

/* Landing nav row — not fixed to the viewport corner */
.beta-badge.beta-badge--inline {
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .beta-badge.beta-badge--inline {
    padding: 5px 12px 5px 10px;
    font-size: 12px;
    letter-spacing: 0.12em;
    gap: 8px;
  }

  .beta-badge.beta-badge--inline::before {
    width: 8px;
    height: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beta-badge::before {
    animation: none;
    opacity: 0.85;
    transform: none;
  }
}
