/* Announcement bar (site/data/announcement.json), loaded only while a bar is on: static pages (seo.css) and the
   manage pages (ui.css) share it. Never edit in place once live: ship announce.v2.css and change ANNOUNCE_CSS in
   site/render.ts. html.ef-ann-off (announce.v1.js) hides a dismissed bar before paint. */
.ef-bar { background: linear-gradient(90deg, rgba(99,102,241,.16), rgba(129,140,248,.08) 60%, rgba(99,102,241,.16)); border-bottom: 1px solid rgba(129,140,248,.22); font: 400 .88rem/1.45 Inter, system-ui, -apple-system, sans-serif; }
.wrap.ef-bar-in { display: flex; align-items: center; justify-content: center; gap: .25rem; min-height: 2.5rem; }
.ef-bar-msg { margin: 0; padding: .35rem 0; min-width: 0; color: #e7e7ec; text-align: center; }
.ef-bar-link { color: inherit; text-decoration: none; }
.ef-bar-link:hover { color: inherit; }
.ef-bar-more { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(129,140,248,.6); text-underline-offset: 3px; white-space: nowrap; }
.ef-bar-link:hover .ef-bar-more { text-decoration-color: #fff; }
.ef-bar-arrow { color: #fff; font-weight: 600; }
.ef-bar-x { flex: none; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #9b9bab; cursor: pointer; }
.ef-bar-x:hover { color: #fff; background: rgba(255,255,255,.07); }
.ef-bar-link:focus-visible, .ef-bar-x:focus-visible { outline: 2px solid #818cf8; outline-offset: 2px; }
.ef-ann-off .ef-bar { display: none; }
/* Phones: one row, X inline at the right edge; "Read the post" stays for screen readers, the whole line is the link (underlined so it reads as one). */
@media (max-width: 480px) {
  .ef-bar { font-size: .82rem; }
  .wrap.ef-bar-in { justify-content: space-between; gap: .5rem; min-height: 2.25rem; padding-right: .5rem; }
  .ef-bar-msg { flex: 1 1 auto; padding: .3rem 0; text-align: left; }
  .ef-bar-link { text-decoration: underline; text-decoration-color: rgba(129,140,248,.6); text-underline-offset: 3px; }
  .ef-bar-arrow { font-weight: 700; }
  .ef-bar-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  .ef-bar-x { width: 2.25rem; height: 2.25rem; }
}
