/* Community-Honor-Badges (Founder, Promoter) – öffentliche Anzeige */
.mic-honor-badges {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.mic-honor-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.72rem 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.mic-honor-badge i {
  font-size: 0.82rem;
  line-height: 1;
  flex-shrink: 0;
}

.mic-honor-badge__label {
  position: relative;
  z-index: 1;
}

.mic-honor-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.55;
}

.mic-honor-badge--founder {
  color: #2a1500;
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 42%, #b45309 100%);
  border-color: rgba(253, 230, 138, 0.75);
  box-shadow:
    0 0 0 1px rgba(180, 83, 9, 0.35),
    0 0 18px rgba(245, 158, 11, 0.42),
    0 4px 16px rgba(0, 0, 0, 0.32);
}

.mic-honor-badge--founder::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 62%
  );
  animation: mic-honor-shimmer 3.6s ease-in-out infinite;
  pointer-events: none;
}

.mic-honor-badge--promoter {
  color: #f8f4ff;
  background: linear-gradient(135deg, #c4b5fd 0%, #8a5cff 48%, #06b6d4 100%);
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow:
    0 0 0 1px rgba(138, 92, 255, 0.38),
    0 0 20px rgba(138, 92, 255, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.28);
}

.mic-honor-badge--promoter::after {
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 55%);
}

.mic-honor-badge:hover {
  transform: translateY(-1px) scale(1.03);
}

.mic-honor-badge--founder:hover {
  box-shadow:
    0 0 0 1px rgba(245, 158, 11, 0.55),
    0 0 24px rgba(245, 158, 11, 0.55),
    0 6px 20px rgba(0, 0, 0, 0.35);
}

.mic-honor-badge--promoter:hover {
  box-shadow:
    0 0 0 1px rgba(138, 92, 255, 0.55),
    0 0 26px rgba(6, 182, 212, 0.45),
    0 6px 20px rgba(0, 0, 0, 0.32);
}

.mic-honor-badges--compact {
  gap: 4px;
}

.mic-honor-badges--compact .mic-honor-badge {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  gap: 0;
  justify-content: center;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.22);
}

.mic-honor-badges--compact .mic-honor-badge__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mic-honor-badges--compact .mic-honor-badge i {
  font-size: 8px;
  line-height: 1;
}

.mic-honor-badges--compact .mic-honor-badge:hover {
  transform: none;
}

.mic-honor-badges--compact .mic-honor-badge--founder:hover,
.mic-honor-badges--compact .mic-honor-badge--promoter:hover {
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.22),
    0 2px 10px rgba(0, 0, 0, 0.28);
}

.mic-honor-badges--stack {
  width: 100%;
  margin-top: 0.35rem;
}

@keyframes mic-honor-shimmer {
  0%, 100% { transform: translateX(-120%) rotate(12deg); opacity: 0; }
  12% { opacity: 1; }
  42% { transform: translateX(120%) rotate(12deg); opacity: 1; }
  55% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mic-honor-badge,
  .mic-honor-badge--founder::before {
    animation: none !important;
    transition: none;
  }
  .mic-honor-badge:hover {
    transform: none;
  }
}

/* Admin-Vorschau im Modal */
.admin-honor-preview .mic-honor-badge {
  pointer-events: none;
}

.admin-honor-toggle-card {
  border: 1px solid rgba(120, 130, 170, 0.28);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  background: rgba(11, 17, 32, 0.55);
}

.admin-honor-toggle-card.is-active {
  border-color: rgba(138, 92, 255, 0.45);
  background: rgba(138, 92, 255, 0.08);
}

.admin-honor-toggle-card label {
  cursor: pointer;
  margin: 0;
}

.admin-honor-panel__head {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.admin-honor-panel__icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(138, 92, 255, 0.25));
  color: #fcd34d;
  flex-shrink: 0;
}

.admin-honor-panel__titles h6 {
  margin: 0 0 0.15rem;
  font-weight: 700;
  color: #e9efff;
}

.admin-honor-panel__titles p {
  margin: 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

.admin-honor-preview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.65rem;
  min-height: 1.75rem;
}

/* Celebration-Modal nach Badge-Vergabe */
#honorBadgeNoticeModal.hbn-modal-root .modal-dialog {
  max-width: min(100%, 460px);
}

#honorBadgeNoticeModal .hbn-sheet {
  position: relative;
  overflow: hidden;
  border-radius: clamp(18px, 4vw, 26px);
  background:
    radial-gradient(120% 90% at 10% 0%, rgba(138, 92, 255, 0.32), transparent 52%),
    radial-gradient(90% 70% at 100% 10%, rgba(29, 209, 161, 0.22), transparent 48%),
    linear-gradient(165deg, rgba(14, 18, 32, 0.97) 0%, rgba(10, 12, 22, 0.98) 100%);
  border: 1px solid rgba(138, 92, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(138, 92, 255, 0.22);
  color: var(--ink-txt, #e9efff);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
}

#honorBadgeNoticeModal .hbn-sheet--founder {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(245, 158, 11, 0.35);
}

#honorBadgeNoticeModal .hbn-sheet--promoter {
  border-color: rgba(138, 92, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(6, 182, 212, 0.32);
}

#honorBadgeNoticeModal .hbn-sheet--both {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 70px rgba(245, 158, 11, 0.28),
    0 0 70px rgba(138, 92, 255, 0.28);
}

#honorBadgeNoticeModal .hbn-sheet__aurora {
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(245, 158, 11, 0.16),
    rgba(138, 92, 255, 0.14),
    rgba(6, 182, 212, 0.12),
    rgba(245, 158, 11, 0.16)
  );
  opacity: 0.6;
  animation: hbn-spin 22s linear infinite;
  pointer-events: none;
}

#honorBadgeNoticeModal .hbn-sheet__noise {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#honorBadgeNoticeModal .modal-body {
  z-index: 1;
}

#honorBadgeNoticeModal .hbn-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233, 239, 255, 0.92);
  background: rgba(138, 92, 255, 0.12);
  border: 1px solid rgba(138, 92, 255, 0.35);
  box-shadow: 0 0 24px rgba(138, 92, 255, 0.2);
}

#honorBadgeNoticeModal .hbn-hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #8a5cff);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
  animation: hbn-pulse-dot 2.2s ease-in-out infinite;
}

#honorBadgeNoticeModal .hbn-hero__orb-wrap {
  position: relative;
  width: 96px;
  height: 96px;
}

#honorBadgeNoticeModal .hbn-hero__orb-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.7),
    rgba(138, 92, 255, 0.65),
    rgba(6, 182, 212, 0.55),
    rgba(245, 158, 11, 0.7)
  );
  opacity: 0.9;
  animation: hbn-spin 8s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
}

#honorBadgeNoticeModal .hbn-hero__orb {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 45%),
    linear-gradient(145deg, rgba(30, 36, 58, 0.95), rgba(12, 14, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

#honorBadgeNoticeModal .hbn-hero__orb i {
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.55));
}

#honorBadgeNoticeModal .hbn-hero__title {
  font-size: clamp(1.2rem, 3.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  background: linear-gradient(90deg, #fff 0%, rgba(253, 230, 138, 0.95) 40%, rgba(196, 181, 253, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#honorBadgeNoticeModal .hbn-hero__sub {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(154, 163, 178, 0.95);
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

#honorBadgeNoticeModal .hbn-badge-showcase {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 1rem;
}

#honorBadgeNoticeModal .hbn-badge-showcase .mic-honor-badge {
  font-size: 0.82rem;
  padding: 0.42rem 0.95rem 0.42rem 0.75rem;
  transform: scale(1.08);
}

#honorBadgeNoticeModal .hbn-messages {
  text-align: left;
  display: grid;
  gap: 0.55rem;
}

#honorBadgeNoticeModal .hbn-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

#honorBadgeNoticeModal .hbn-msg i {
  flex-shrink: 0;
  margin-top: 0.1rem;
}

#honorBadgeNoticeModal .hbn-msg--founder {
  color: rgba(253, 230, 138, 0.95);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.12);
}

#honorBadgeNoticeModal .hbn-msg--founder i {
  color: #f59e0b;
}

#honorBadgeNoticeModal .hbn-msg--promoter {
  color: rgba(220, 230, 255, 0.95);
  border-color: rgba(138, 92, 255, 0.35);
  box-shadow: 0 0 24px rgba(138, 92, 255, 0.12);
}

#honorBadgeNoticeModal .hbn-msg--promoter i {
  color: #8a5cff;
}

#honorBadgeNoticeModal .hbn-meta {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
  color: rgba(154, 163, 178, 0.95);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

#honorBadgeNoticeModal .hbn-meta i {
  color: rgba(138, 92, 255, 0.75);
}

#honorBadgeNoticeModal .hbn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  border-radius: 999px;
  color: #0a0c14 !important;
  background: linear-gradient(105deg, #fde68a 0%, #f59e0b 22%, #8a5cff 58%, #06b6d4 100%);
  background-size: 200% 100%;
  box-shadow:
    0 10px 36px rgba(245, 158, 11, 0.35),
    0 0 40px rgba(138, 92, 255, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-position 0.35s ease;
}

#honorBadgeNoticeModal .hbn-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 44px rgba(245, 158, 11, 0.45),
    0 0 50px rgba(138, 92, 255, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.28) inset;
  background-position: 100% 50%;
}

@keyframes hbn-spin {
  to { transform: rotate(360deg); }
}

@keyframes hbn-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.15); }
}

@media (prefers-reduced-motion: reduce) {
  #honorBadgeNoticeModal .hbn-sheet__aurora,
  #honorBadgeNoticeModal .hbn-hero__orb-ring,
  #honorBadgeNoticeModal .hbn-hero__badge-dot {
    animation: none;
  }
  #honorBadgeNoticeModal .hbn-cta {
    transition: none;
  }
}
