/* Per-option touches that go beyond token values. Review-only: once an option is chosen,
   its rules here fold into the components and the rest is deleted. */

/* --- Theme picker (review tool) ------------------------------------------ */

.theme-picker {
  position: fixed;
  left: var(--s-4);
  bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
  z-index: var(--z-toast);
  display: flex;
  align-items: center;
  gap: var(--s-1);
  padding: var(--s-1);
  border-radius: var(--r-pill);
  background: #1d2423;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-family: system-ui, sans-serif;
}

.theme-picker__all {
  padding: 0 var(--s-3);
  font-size: 0.72rem;
  font-weight: 600;
  color: #cfd8d6;
  text-decoration: none;
  white-space: nowrap;
}

.theme-picker__option {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--swatch-a) 50%, var(--swatch-b) 50%);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform var(--dur-fast) var(--ease-spring);
}

.theme-picker__option:hover {
  transform: scale(1.1);
}

.theme-picker__option.is-active {
  outline-color: #fff;
}

@media (max-width: 959px) {
  .theme-picker {
    bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
}
