/* Home-art picker: palettes, emblem grid, colorways, lockup preview. */
.ha-picker { width: 100%; margin-top: 1rem; }
.ha-ui { display: flex; flex-direction: column; gap: 0.75rem; }
.ha-palettes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  justify-content: flex-start;
}
.ha-pal-chip {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 2.8rem;
  color: inherit;
  font: inherit;
}
.ha-pal-swatch {
  display: block;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.ha-pal-chip.is-on .ha-pal-swatch,
.ha-pal-chip[aria-pressed="true"] .ha-pal-swatch {
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 3px currentColor;
}
.ha-pal-name, .ha-tile-name {
  /* Names live on aria-label; keep any visible caption at body size. */
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.ha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}
.ha-tile {
  appearance: none;
  background: #fbf8f3;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  padding: 0.2rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: inherit;
  font: inherit;
}
.ha-tile img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.5rem;
  display: block;
}
.ha-tile.is-on,
.ha-tile[aria-pressed="true"] { border-color: currentColor; }
.ha-more,
.ha-change {
  appearance: none;
  cursor: pointer;
  font: inherit;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  background: transparent;
  color: inherit;
}
.ha-lockup-head {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.ha-lockup-stage {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}
.ha-lockup-stage .s2f-lockup { width: 100%; }
.ha-change { align-self: center; }
@media (max-width: 360px) {
  .ha-grid { grid-template-columns: repeat(2, 1fr); }
}
