/* Both brand and notice belong to the same sticky header. A dedicated flex
   row reserves the pill's full height and is included in wallpaper clipping. */
body > .site-header.has-party-notice {
  flex-wrap: wrap;
  row-gap: 8px !important;
}
.yapper-party-notice-slot {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  min-width: 0;
  pointer-events: none;
}
.yapper-party-notice {
  position: static;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 24px);
  min-height: 30px;
  margin: 0;
  padding: 7px 14px;
  border: 1px solid color-mix(in srgb, var(--text, #f5f5f5) 13%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card, #1c1c1c) 72%, transparent);
  color: var(--secondary-text, #b7b7b7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 #ffffff12, 0 4px 16px #00000018;
  font: 500 11.5px/1.35 system-ui, sans-serif;
  text-align: center;
  overflow-wrap: anywhere;
  pointer-events: none;
  user-select: none;
  animation: partyNoticeIn 180ms ease both;
}
@keyframes partyNoticeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .yapper-party-notice { animation: none; }
}
