/* wgf-decor-enrich.css - the /housing/decor/ enrichment blocks (decor_enrich_render.py).

   Only what the family kit does not already draw: the flavour line, the source plates'
   kicker and text, and the dye-slot swatches. Everything else reuses wgf-housing.css,
   wgf-small-mines.css (the facts plate), wgf-ag-card.css (tiles) and wgf-chrome.css
   (.wgf-plate-row). Palette tokens only (static/css/_tokens.css); squared corners, no
   pills, no glow, no green (docs/ui-ux/17-blizzard-palette.md). */

/* The item's own description line, drawn the way the client's tooltip draws it:
   quoted, in the tooltip gold. */
.wgf-dx-flavor {
  margin: 0 0 var(--space-3);
  color: var(--wgf-gold, #ffd100);
  font-family: var(--font-game);
  font-size: var(--text-md);
}
.wgf-dx-lead {
  margin: 0 0 var(--space-3);
  color: var(--wgf-text, #f4ecd8);
  line-height: 1.6;
}

/* -- sources ------------------------------------------------------------------------- */
.wgf-dx-srcs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.wgf-dx-src { align-items: flex-start; border-radius: 0; }
.wgf-dx-src__kicker {
  color: var(--wgf-gold-muted, #b5a06a);
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wgf-dx-src__text {
  margin: var(--space-2) 0 0;
  color: var(--wgf-muted, #b3a88f);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.wgf-dx-src__art { flex: 0 0 auto; }
.wgf-dx-src a { color: var(--wgf-link, #ffe375); }

/* -- dye slots ------------------------------------------------------------------------- */
.wgf-dx-slot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--wgf-border-neutral-soft, #202229);
}
.wgf-dx-slot__k {
  flex: 0 0 13rem;
  color: var(--wgf-gold-primary, #ffd100);
  font-weight: 600;
}
.wgf-dx-slot__n { color: var(--wgf-muted, #b3a88f); font-weight: 400; }
.wgf-dx-slot__sw {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  flex: 1 1 16rem;
}
/* One dye: the client's own dye icon when it is on disk, else the DyeColor swatch pair
   (SwatchColorStart -> SwatchColorEnd) the game stores for that dye. */
.wgf-dx-sw {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 1px solid var(--wgf-metal-soft, #3a3120);
  background: linear-gradient(135deg, var(--sw-a), var(--sw-b));
}
.wgf-dx-sw--icon { object-fit: cover; background: none; }

@media (max-width: 520px) {
  .wgf-dx-slot__k { flex-basis: 100%; }
}
