.colors-hero p.lead { max-width: 46rem; color: var(--muted); margin: 12px 0 0; line-height: 1.55; }
.colors-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 8px 0 22px;
}
.colors-search {
  flex: 1 1 240px; min-width: 180px;
  background: #161618; border: 1px solid rgba(237,232,223,.12);
  color: #ede8df; border-radius: 12px; padding: 12px 14px; font: inherit;
}
.colors-search:focus { outline: 1px solid var(--brass); }
.colors-groups { display: flex; flex-wrap: wrap; gap: 6px; }
.colors-groups button {
  border: 1px solid rgba(237,232,223,.14); background: transparent;
  color: #cfc8bc; border-radius: 999px; padding: 7px 12px; cursor: pointer;
  font: 500 13px/1 Manrope, sans-serif;
}
.colors-groups button.is-on, .colors-groups button:hover {
  border-color: var(--brass); color: var(--brass);
}
.ral-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 90;
  transform: translateX(-50%) translateY(12px);
  background: #1a1814;
  border: 1px solid var(--brass);
  color: #ede8df;
  border-radius: 12px;
  padding: 12px 18px;
  font: 500 14px/1 Manrope, sans-serif;
  letter-spacing: .04em;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.ral-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.ral-modal-actions .btn.is-copied {
  pointer-events: none;
}
.ral-all h2 {
  font-family: "Cormorant Garamond", serif; font-size: 1.6rem; margin: 0 0 14px;
}
.ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 12px;
}
.ral-card {
  display: block; width: 100%; text-align: left; cursor: pointer;
  appearance: none; font: inherit;
  background: #121214; border: 1px solid rgba(237,232,223,.1);
  border-radius: 14px; padding: 10px; color: inherit;
}
.ral-card:hover, .ral-card:focus-visible {
  border-color: var(--brass);
}
.ral-chip {
  --ral: #ccc;
  height: 92px;
  border-radius: 10px;
  background: var(--ral);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
}
.ral-chip.is-big {
  height: auto;
  min-height: 280px;
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}
.ral-meta { margin-top: 8px; }
.ral-meta strong { display: block; font-size: 13px; letter-spacing: .04em; }
.ral-meta span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.ral-empty { color: var(--muted); padding: 24px 0; }

.ral-modal[hidden] { display: none; }
.ral-modal {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(6,6,7,.72); display: grid; place-items: center; padding: 18px;
}
.ral-modal-card {
  position: relative;
  width: min(720px, 100%);
  background: #121214; border: 1px solid rgba(237,232,223,.14);
  border-radius: 20px; overflow: hidden;
}
.ral-modal-info { padding: 22px 24px 26px; }
.ral-modal-info h2 { font-family: "Cormorant Garamond", serif; font-size: 2.1rem; margin: 0 0 6px; }
.ral-modal-info .names { color: #d7d0c4; line-height: 1.5; margin: 0 0 16px; }
.ral-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ral-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  background: rgba(12,12,14,.45); border: 0; color: #ede8df;
  width: 36px; height: 36px; border-radius: 50%; font-size: 22px; cursor: pointer;
}
@media (max-width: 760px) {
  .ral-chip { height: 78px; }
  .ral-chip.is-big { min-height: 200px; }
}
