html {
    font-size: 125%;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0;
    background: #e11d48;
    z-index: 9999;
}

sup[data-footnote] {
    position: relative;
    cursor: pointer;
}

sup[data-footnote]:hover::after {
    content: attr(data-footnote);
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    white-space: pre-wrap;
    z-index: 1000;
    max-width: 200px;
}

.marquee-container {
    position: relative;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 1.75rem;
    width: max-content;
    animation: dojonews-marquee 30s linear infinite;
}

.marquee-item {
    flex: 0 0 auto;
    min-width: max-content;
}

.marquee-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.marquee-pill-live {
    background-color: #ef4444;
    color: #fff;
}

.marquee-pill-archive {
    background-color: rgba(59, 130, 246, 0.15);
    color: #1d4ed8;
}

@keyframes dojonews-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (hover: hover) {
    .marquee-container:hover .marquee-track {
        animation-play-state: paused;
    }
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
}
