.announce-tag {
  display: inline-block;
  flex: none;
  padding: 0 .45rem;
  border-radius: 999px;
  background: var(--ob-action);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  line-height: 1.25rem;
  letter-spacing: .02em;
}
.announce-bar a:focus-visible { outline: 2px solid var(--ob-action); outline-offset: 1px; }

.announce-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 2.5rem;
  padding: .3rem 1rem;
  border-bottom: 1px solid var(--ob-border);
  background: var(--ob-tint);
  color: var(--ob-text);
  font-size: .85rem;
  line-height: 1.4;
}
.announce-text { flex: 1 1 auto; min-width: 0; margin: 0; }
.announce-title { font-weight: 600; }
.announce-bar a { color: var(--ob-action); text-decoration: none; }
.announce-bar a:hover { text-decoration: underline; }
.announce-more { flex: none; font-weight: 600; white-space: nowrap; }

@media screen and (max-width: 768px) {
  .announce-detail { display: none; }
  .announce-bar { gap: .5rem; padding: .3rem .75rem; }
}

html[data-theme="dark"] .announce-tag { background: #2F6ED6; }
