.notification-ticker[hidden] { display: none; }
/* Reserve the separate 32px row in the shared content/subtab offset. */
.site-public.has-notification-ticker { --topbar-height: 88px; }
.site-public.has-notification-ticker .topbar { height: 56px; }
.notification-ticker {
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  display: flex; align-items: center; box-sizing: border-box; height: 32px;
  padding: 0 20px; color: var(--text-secondary); font-size: 11px; line-height: 1.5;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
}
.notification-ticker__viewport { width: 100%; max-width: 1280px; min-width: 0; margin: 0 auto; overflow: hidden; border-radius: 4px; }
.notification-ticker__viewport:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.notification-ticker__track { display: flex; width: max-content; }
.notification-ticker__group { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }
.notification-ticker__group[aria-hidden="true"] { display: none; }
.notification-ticker__item { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.notification-ticker__item a { color: inherit; text-decoration: none; transition: color .15s; }
.notification-ticker__item a:hover { color: var(--accent); }
.notification-ticker button { border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; padding: 3px; }
.notification-ticker.is-scrolling .notification-ticker__track { animation: notice-scroll var(--notice-duration, 40s) linear infinite; }
.notification-ticker.is-scrolling .notification-ticker__group { padding-right: 32px; }
.notification-ticker.is-scrolling .notification-ticker__group[aria-hidden="true"] { display: flex; }
.notification-ticker:hover .notification-ticker__track,
.notification-ticker:focus-within .notification-ticker__track { animation-play-state: paused; }
@keyframes notice-scroll { to { transform: translateX(-50%); } }
.site-public.has-site-notice .notification-ticker { position: sticky; top: 56px; }
@media (max-width: 1000px) {
  .site-public.has-notification-ticker .topbar-ticker { display: none; }
}
@media (max-width: 768px) {
  .site-public.has-notification-ticker { --topbar-height: 80px; }
  .site-public.has-notification-ticker .topbar { height: 48px; }
  .notification-ticker,
  .site-public.has-site-notice .notification-ticker { top: 48px; }
  .notification-ticker { padding: 0 12px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .notification-ticker.is-scrolling .notification-ticker__track { animation: none; }
  .notification-ticker__viewport { overflow-x: auto; }
  .notification-ticker.is-scrolling .notification-ticker__group[aria-hidden="true"] { display: none; }
}
