.notification-ticker[hidden] { display: none; }
.notification-ticker {
  display: flex; align-items: center; flex: 1 1 240px; min-width: 0; max-width: 440px;
  margin: 0 24px; color: var(--text-secondary); font-size: 11px; line-height: 1.5;
  background: var(--bg-secondary);
}
.notification-ticker__viewport { width: 100%; min-width: 0; 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%); } }
@media (max-width: 1100px) {
  .site-public.has-notification-ticker { --topbar-height: 88px; }
  .site-public.has-notification-ticker .topbar { height: 56px; }
  .notification-ticker {
    position: absolute; top: 100%; left: 0; right: 0; height: 32px; margin: 0 auto;
    width: 100%; max-width: none; padding: 0 20px; box-sizing: border-box;
    border-bottom: 1px solid var(--border);
  }
}
@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 { 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; }
}
