/* Announcement bar styles */
.sn-sab {
  --sn-sab-bg: #FFE08A;
  --sn-sab-fg: #000;
  position: sticky;
  z-index: 9999;
  top: 0;
  background: var(--sn-sab-bg);
  color: var(--sn-sab-fg);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.sn-sab--bottom {
  top: auto;
  bottom: 0;
  position: sticky;
}

.sn-sab__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between; /* close button right, text centered */
}

.sn-sab__text {
  flex: 1;             /* let the text span across */
  text-align: center;  /* center the message */
}

.sn-sab__text a {
  color: inherit;
  text-decoration: underline;
}

.sn-sab__close {
  flex: 0 0 auto;      /* keep X button its natural size */
  background: transparent;
  border: 0;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
}
