/* ─── Preferred-colour picker (Settings) ─────────────────────────────────────── */

.landing-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.landing-color {
  width: 2.4rem;
  height: 2.4rem;
  border: 2px solid rgba(184, 134, 30, 0.4);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  font: inherit;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.12s;
}

/* "No preference" is a same-sized square so the active gold ring sits on the
   chosen colour — or this question-mark swatch — unambiguously. */
.landing-color--none {
  background: rgba(42, 24, 8, 0.85);
  color: var(--brass-gold-light);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-color:hover,
.landing-color:focus-visible {
  outline: none;
  border-color: rgba(240, 200, 80, 0.95);
  transform: translateY(-1px);
}

.landing-color.is-active {
  border-color: var(--brass-gold-glow);
  box-shadow: 0 0 0 2px rgba(240, 216, 144, 0.7);
}

/* Subtle ring flash that fires once when Settings persists a click/blur edit —
   the visual confirmation that replaces the removed Save button. */
@keyframes landing-saved-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 216, 144, 0);
  }
  30% {
    box-shadow: 0 0 0 6px rgba(240, 216, 144, 0.9);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 216, 144, 0);
  }
}

.landing-color.is-just-saved,
.landing-field__control.is-just-saved {
  animation: landing-saved-flash 700ms ease-out;
}

.landing-field__note {
  margin: 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--brass-gold-muted);
}
