:root { --banner-bg:#0A0A0B; --banner-fg:#F2F2F4; --banner-accent:#C9933A; }

.announcement-bar {
  position: relative;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 38px;
  padding: 0 16px 0 19px;       /* 3px visual offset for left border */
  background: var(--banner-bg);
  color: var(--banner-fg);
  border-left: 3px solid var(--banner-accent);
  border-bottom: 1px solid rgba(201,147,58,0.18);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  justify-content: center;
}
.announcement-bar__text { color: #F2F2F4; text-decoration: none; }
.announcement-bar__text a { color: #C9933A; text-decoration: underline; text-underline-offset: 2px; }
.announcement-bar__text a:hover { color: #F2F2F4; }
.announcement-bar__close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: rgba(201,147,58,0.70);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}
.announcement-bar__close:hover,
.announcement-bar__close:focus-visible { color: #C9933A; background: rgba(201,147,58,0.08); outline: none; }
.announcement-bar[hidden] { display: none !important; }
@media (max-width: 480px) {
  .announcement-bar { font-size: 12px; padding: 0 36px 0 16px; height: 40px; }
}
