/* ── Circadia palette viewer ───────────────────────────────────────────── */
.circ-palette-viewer {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 20px 0 8px;
}

.circ-swatch {
  flex: 1 1 0;
  min-width: 72px;
  min-height: 72px;
  border-radius: 8px;
  padding: 10px 10px 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.circ-swatch:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.circ-swatch:active {
  transform: translateY(-1px);
}

.circ-swatch-name {
  font-size: 11px;
  font-weight: 500;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.circ-swatch-hex {
  font-family: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;
  font-size: 10px;
  opacity: 0.78;
  display: block;
  margin-top: 3px;
}

/* gradient strip */
.circ-gradient-strip {
  height: 44px;
  border-radius: 8px;
  margin: 12px 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.circ-gradient-strip:hover {
  transform: scaleY(1.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* copy toast */
#circ-copy-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #014370;
  color: #9BDFE2;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  padding: 8px 22px;
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

#circ-copy-toast.circ-show {
  opacity: 1;
}

/* section divider */
.circ-palette-section {
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid #e2e8ed;
}

.circ-palette-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4A9BBF;
  margin-bottom: 10px;
}
