.announcement-banner {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #eef7ef;
    border-bottom: 1px solid #d7e8dc;
    color: #1f6042;
    contain: layout paint;
}

.announcement-viewport { width: 100%; overflow: hidden; white-space: nowrap; }
.announcement-track { width: max-content; min-width: 100%; display: flex; align-items: center; animation: announcement-scroll 36s linear infinite; will-change: transform; }
.announcement-banner:hover .announcement-track { animation-play-state: paused; }
.announcement-group { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 18px; padding-right: 72px; font-size: 14px; font-weight: 700; line-height: 1; }
.announcement-item { display: inline-flex; align-items: center; gap: 8px; }
.announcement-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.announcement-fire { display: inline-block; flex: 0 0 auto; color: #f28a00; font-size: 17px; line-height: 1; transform-origin: 50% 80%; animation: announcement-fire-glow 1.7s ease-in-out infinite; }

@keyframes announcement-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@keyframes announcement-fire-glow {
    0%, 100% { opacity: .9; transform: scale(1) rotate(-1deg); filter: drop-shadow(0 0 1px rgba(242, 138, 0, .25)); }
    50% { opacity: 1; transform: scale(1.08) rotate(1deg); filter: drop-shadow(0 0 5px rgba(242, 138, 0, .55)); }
}

@media (max-width: 800px) {
    .announcement-banner { height: 38px; }
    .announcement-group { gap: 12px; padding-right: 54px; font-size: 12px; }
    .announcement-item { gap: 6px; }
    .announcement-icon { width: 15px; height: 15px; flex-basis: 15px; }
    .announcement-fire { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-track { min-width: 100%; animation: none; transform: none; justify-content: center; }
    .announcement-group { padding-right: 0; }
    .announcement-group[aria-hidden="true"] { display: none; }
    .announcement-fire { animation: none; }
}
