/* ============================================================
   GqBadgeGen — Standalone-Badge-Generator (analyzer + /my/analysis).
   gqbg-Prefix-Scoping, kein globaler Bleed.
   ============================================================ */
.gqbg { margin: 22px 0 0; }
.gqbg-inner {
  position: relative;
  border-radius: 18px;
  padding: 28px 32px;
  text-align: center;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(124,58,237,0.12), transparent 60%),
    #0f0f18;
  border: 1px solid rgba(124,58,237,0.18);
}
.gqbg-icon { font-size: 26px; margin-bottom: 6px; }
.gqbg-head {
  font-family: 'Outfit', 'Space Grotesk', sans-serif;
  font-size: 21px; font-weight: 700; color: #F4F4F8; margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.gqbg-intro {
  font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6;
  color: #B4B4C8; max-width: 540px; margin: 0 auto 20px;
}
.gqbg-btn {
  display: inline-block; padding: 14px 30px; border: none; border-radius: 10px;
  font-family: 'Outfit', 'Inter', sans-serif; font-weight: 600; font-size: 15px;
  color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #A855F7 50%, #EC4899);
  transition: transform .15s, box-shadow .15s;
}
.gqbg-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(168,85,247,0.35); }
.gqbg-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.gqbg-msg {
  margin-top: 14px; font-size: 13.5px; color: #C4C4D4; line-height: 1.55;
  background: rgba(124,58,237,0.08); border: 1px solid rgba(124,58,237,0.2);
  border-radius: 10px; padding: 12px 16px;
}
.gqbg-result { margin-top: 6px; }
.gqbg-preview {
  display: flex; justify-content: center; padding: 18px; border-radius: 12px;
  background: repeating-conic-gradient(#15151f 0% 25%, #11111a 0% 50%) 50% / 22px 22px;
  margin-bottom: 16px;
}
.gqbg-preview img { max-width: 100%; height: auto; }
.gqbg-controls { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.gqbg-seg { display: inline-flex; background: rgba(255,255,255,0.04); border: 1px solid rgba(124,58,237,0.18); border-radius: 9px; overflow: hidden; }
.gqbg-seg button { padding: 9px 16px; border: none; background: transparent; color: #B4B4C8; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.gqbg-seg button.active { background: linear-gradient(135deg, #7C3AED, #EC4899); color: #fff; }
.gqbg-codehead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.gqbg-codehead span { font-size: 12px; color: #8a8a99; text-transform: uppercase; letter-spacing: .08em; }
.gqbg-copy { padding: 8px 16px; border: 1px solid rgba(168,85,247,0.5); border-radius: 8px; background: transparent; color: #A855F7; font-size: 13px; font-weight: 600; cursor: pointer; }
.gqbg-copy:hover { background: rgba(168,85,247,0.12); }
.gqbg-code {
  text-align: left; background: #06060b; border: 1px solid rgba(124,58,237,0.18);
  border-radius: 9px; padding: 14px 16px; color: #D4D4D8;
  font-family: 'JetBrains Mono', 'Courier New', monospace; font-size: 11.5px;
  line-height: 1.55; overflow-x: auto; white-space: pre; margin: 0 0 14px;
}
.gqbg-audit { font-size: 13px; }
.gqbg-audit a { color: #A855F7; text-decoration: none; font-weight: 600; }
.gqbg-toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  opacity: 0; pointer-events: none; z-index: 9999;
  background: linear-gradient(135deg, #7C3AED, #EC4899); color: #fff;
  padding: 12px 22px; border-radius: 10px; font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(168,85,247,0.4); transition: opacity .25s, transform .25s;
}
.gqbg-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 560px) { .gqbg-inner { padding: 22px 18px; } .gqbg-head { font-size: 18px; } }
