/* Venus Reviews - Theme Switcher UI (button + swatch panel)
   Added 2026-07-21 alongside the rebuilt theme-switcher.js. Deliberately
   self-contained (doesn't rely on any --color-* variable so it looks the
   same and stays visible no matter which theme is currently active). */

#venus-theme-switcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.venus-theme-toggle-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: #1a1a2e;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.venus-theme-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.venus-theme-toggle-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.venus-theme-panel {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(20, 20, 30, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.venus-theme-panel[hidden] {
  display: none;
}

.venus-theme-swatch {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: var(--swatch-color, #888);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.venus-theme-swatch:hover {
  transform: scale(1.15);
}

.venus-theme-swatch[aria-pressed="true"] {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 480px) {
  #venus-theme-switcher {
    right: 0.75rem;
    bottom: 0.75rem;
  }
  .venus-theme-toggle-btn {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.2rem;
  }
}
