/* Slice B2: in-app Discord-invite nudge banner. Sticky top-of-body
   mount, mirrors the 2FA nudge layout (two-factor-nudge.css) but uses
   Discord Blurple #5865F2 as the accent — friendly-community semantic
   distinct from 2FA's amber security-warning theme. */
.cg-discord-nudge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: linear-gradient(90deg, rgba(88, 101, 242, 0.15), rgba(88, 101, 242, 0.08));
  border-bottom: 1px solid rgba(88, 101, 242, 0.3);
  color: var(--text, #f0f2ff);
  font-size: 13px;
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(8px);
}
.cg-discord-nudge-icon {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
}
.cg-discord-nudge-text {
  flex: 1;
  color: var(--text, #f0f2ff);
}
.cg-discord-nudge-cta {
  background: #5865F2;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 12px;
}
.cg-discord-nudge-cta:hover {
  background: #4752c4;
}
.cg-discord-nudge-close {
  background: transparent;
  border: 0;
  color: var(--mute, rgba(240, 242, 255, 0.6));
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 6px;
  border-radius: 4px;
}
.cg-discord-nudge-close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text, #f0f2ff);
}
