/* Shared theme switcher — works on all variants */

.variant-bar {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: 240px;
  justify-content: flex-end;
  background: rgba(13, 13, 13, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.variant-bar a {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  color: #b8b8b8;
  text-decoration: none;
  padding: 0.38rem 0.6rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.variant-bar a:hover {
  color: #fafafa;
  background: rgba(255, 255, 255, 0.08);
}

.variant-bar a.active {
  background: #f05a1a;
  color: #fafafa;
  font-weight: 500;
}

@media (max-width: 480px) {
  .variant-bar {
    bottom: 0.75rem;
    right: 0.75rem;
    max-width: calc(100vw - 1.5rem);
  }

  .variant-bar a {
    font-size: 0.62rem;
    padding: 0.32rem 0.45rem;
  }
}
