.asaptech-tally-updates {
    --asaptech-orange: #ff7617;
    --asaptech-navy: #092752;
    --asaptech-grey: #f1f2f4;
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 48px;
    background: #fff7f2;
    overflow: hidden;
    border-top: 1px solid rgba(9, 39, 82, 0.06);
    border-bottom: 1px solid rgba(9, 39, 82, 0.06);
}

.asaptech-tally-updates__label {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    background: var(--asaptech-orange);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .02em;
    white-space: nowrap;
    z-index: 2;
}

.asaptech-tally-updates__viewport {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    background: var(--asaptech-grey);
}

.asaptech-tally-updates__track {
    display: flex;
    width: max-content;
    min-width: 100%;
    animation: asaptechTicker var(--asaptech-ticker-duration, 42s) linear infinite;
    will-change: transform;
}

.asaptech-tally-updates:hover .asaptech-tally-updates__track,
.asaptech-tally-updates:focus-within .asaptech-tally-updates__track {
    animation-play-state: paused;
}

.asaptech-tally-updates__set {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

.asaptech-tally-updates__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px;
    min-height: 48px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.asaptech-tally-updates__item:hover,
.asaptech-tally-updates__item:focus {
    color: var(--asaptech-orange);
    outline: none;
}

.asaptech-tally-updates__item:focus-visible {
    box-shadow: inset 0 0 0 2px var(--asaptech-orange);
}

.asaptech-tally-updates__arrow {
    color: var(--asaptech-orange);
    font-weight: 800;
}

.asaptech-tally-updates__dot {
    color: #a1a1a1;
    font-size: 18px;
}

@keyframes asaptechTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .asaptech-tally-updates__track {
        animation: none;
    }
    .asaptech-tally-updates__viewport {
        overflow-x: auto;
    }
}

@media (max-width: 767px) {
    .asaptech-tally-updates {
        min-height: 44px;
    }
    .asaptech-tally-updates__label {
        padding: 0 14px;
        font-size: 12px;
    }
    .asaptech-tally-updates__item {
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }
}

/* Homepage placement is handled by asaptech-tally-updates-home.php. */
