/* Version switcher — shared V1 / V2 */
.version-switch {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 2rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.version-switch__tab {
  padding: 0.45rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.45;
  transition: opacity 0.25s, background 0.25s;
}

.version-switch__tab:hover {
  opacity: 0.75;
}

.version-switch__tab.is-active {
  opacity: 1;
  background: rgba(26, 26, 26, 0.07);
}

.version-switch--dark {
  background: rgba(26, 26, 26, 0.88);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f7f4ef;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.version-switch--dark .version-switch__tab.is-active {
  background: rgba(255, 255, 255, 0.1);
}

.version-switch--neo {
  background: #e8edf4;
  border: none;
  border-radius: 999px;
  color: #3d4f63;
  box-shadow:
    6px 6px 12px #b8c4d4,
    -6px -6px 12px #ffffff;
  backdrop-filter: none;
}

.version-switch--neo .version-switch__tab.is-active {
  background: #e8edf4;
  box-shadow:
    inset 3px 3px 6px #b8c4d4,
    inset -3px -3px 6px #ffffff;
  opacity: 1;
}

.version-switch--neo .version-switch__tab:not(.is-active):hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .version-switch {
    bottom: 1rem;
    right: 1rem;
  }
}
