.rmf-full-bar {
    position: fixed;
    left: 0;
    width: 100%;
    bottom: 200px;
    height: 140px;
    z-index: 9990;
    background-color: rgba(0, 86, 179, 0.4);
    color: #ffffff;
    box-sizing: border-box;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rmf-marquee-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100vw;
    text-align: right;
}

.rmf-marquee-content {
    display: inline-block;
    will-change: transform;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.05;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    letter-spacing: 1px;
    animation: none;
}

.rmf-marquee-content.rmf-animate {
    text-align: left;
    animation-name: rmf-marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    /* duration задаётся из JS через style.animationDuration */
}

@keyframes rmf-marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 768px) {
    .rmf-full-bar {
        bottom: 140px;
        height: 90px;
        padding: 8px 20px;
    }
    .rmf-marquee-content {
        font-size: 36px;
        letter-spacing: 0.5px;
    }
}

body.dark-mode .rmf-full-bar {
    background-color: rgba(20, 20, 30, 0.6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
body.dark-mode .rmf-marquee-content {
    color: #f0f0f0;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
