/* Badges DEJAVU adds to pages. Everything starts with .dj- so it never clashes with the site. */
.dj-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding: 1px 6px 1px 4px;
  border-radius: 999px;
  border: 1px solid rgba(34, 240, 138, 0.28);
  background: rgba(20, 20, 30, 0.55);
  color: #d8f5e6;
  font: 600 11px/16px -apple-system, "Segoe UI", Roboto, sans-serif;
  vertical-align: middle;
  cursor: pointer;
  white-space: nowrap;
  max-width: 340px;
  overflow: hidden;
  user-select: none;
  flex-shrink: 0;
}
.dj-chip:hover { border-color: rgba(34, 240, 138, 0.7); background: rgba(40, 40, 70, 0.75); }
.dj-chip.dj-empty { opacity: 0.45; border-color: transparent; background: transparent; padding-right: 2px; }
.dj-chip.dj-empty:hover { opacity: 1; border-color: rgba(34, 240, 138, 0.5); }
.dj-chip.dj-bl { border-color: rgba(255, 84, 112, 0.7); background: rgba(80, 10, 25, 0.6); }
.dj-chip.dj-big { font-size: 12px; line-height: 18px; padding: 2px 8px 2px 6px; margin-left: 8px; }

.dj-mark { width: 16px; height: 10px; flex: none; display: block; }
.dj-pill {
  padding: 0 5px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 14px;
  color: #0b0b12;
  font-weight: 700;
}
.dj-pill.dj-pill-bl { background: #ff5470; color: #fff; letter-spacing: 0.04em; }
.dj-note { opacity: 0.85; font-weight: 500; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.dj-addr { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 600; }
.dj-meta { opacity: 0.7; font-weight: 500; }

.dj-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}
.dj-row .dj-chip { margin-left: 0; }

/* Blacklist: hidden posts collapse to a slim bar, dimmed posts fade out. */
.dj-hide > :not(.dj-hidebar) { display: none !important; }
.dj-hidebar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border-left: 3px solid #ff5470;
  background: rgba(255, 84, 112, 0.07);
  color: #9aa0ad;
  font: 500 13px/18px -apple-system, "Segoe UI", Roboto, sans-serif;
}
.dj-hidebar span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dj-hidebar button {
  flex: none;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 240, 138, 0.4);
  background: transparent;
  color: #d8f5e6;
  font: 600 12px/18px -apple-system, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
}
.dj-hidebar button:hover { border-color: #22f08a; }
.dj-dim { opacity: 0.28; filter: grayscale(1); transition: opacity 0.15s, filter 0.15s; }
.dj-dim:hover { opacity: 0.9; filter: none; }
.dj-profile-bl {
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 84, 112, 0.6);
  background: rgba(80, 10, 25, 0.55);
  color: #ffb3c0;
  font: 600 13px/18px -apple-system, "Segoe UI", Roboto, sans-serif;
}
