/* Header Discord chip — pairs with kofi-link.css (same bar, distinct brand tint). */

html body .md-header nav a.xocoatl-discord,
html body .md-header a.xocoatl-discord {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  font-size: clamp(0.62rem, 1.05vw, 0.72rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  background: rgba(88, 101, 242, 0.14) none !important;
  background-color: rgba(88, 101, 242, 0.14) !important;
  background-image: none !important;
  border: 1px solid rgba(88, 101, 242, 0.55);
  box-shadow: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  line-height: 1.25;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

html body .md-header a.xocoatl-discord,
html body .md-header a.xocoatl-discord .xocoatl-discord__label {
  color: #c8ccf5 !important;
  -webkit-text-fill-color: #c8ccf5 !important;
}

html body .md-header a.xocoatl-discord:hover,
html body .md-header a.xocoatl-discord:hover .xocoatl-discord__label {
  color: #ecefff !important;
  -webkit-text-fill-color: #ecefff !important;
}

html body .md-header a.xocoatl-discord:hover {
  background: rgba(88, 101, 242, 0.26) none !important;
  background-color: rgba(88, 101, 242, 0.26) !important;
  border-color: #7289da;
  box-shadow: none !important;
}

html body .md-header a.xocoatl-discord .xocoatl-discord__svg {
  display: block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.92;
}

html body .md-header a.xocoatl-discord:hover .xocoatl-discord__svg {
  opacity: 1;
}
