/* ── tri-mag Newsticker Laufband ─────────────────────────────────────── */

#tmn-liveband {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #f8e700;
    color: #0d0d0d;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 36px;
    z-index: 99999;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* Platzhalter damit der Seiteninhalt nicht unter dem Band verschwindet */
#tmn-liveband-spacer {
    display: block;
    height: 36px;
    width: 100%;
}

/* Live-Badge */
.tmn-lb-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 12px 0 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #0d0d0d;
    border-right: 1px solid rgba(0,0,0,.2);
    height: 100%;
    white-space: nowrap;
}

.tmn-lb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8102e;
    animation: tmn-blink 1.4s ease-in-out infinite;
}

@keyframes tmn-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: .2; }
}

/* Scrollbereich */
.tmn-lb-track {
    flex: 1 !important;
    overflow: hidden !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Laufende Liste – JS übernimmt die Animation via translateX */
.tmn-lb-strip {
    display: flex;
    align-items: center;
    list-style: none;
    list-style-type: none;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    will-change: transform;
    line-height: 1 !important;
}

/* Einzelne Meldung */
.tmn-lb-item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 32px 0 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    float: none !important;
}

.tmn-lb-item::after {
    content: '•';
    margin-left: 32px;
    font-size: 15px;
    font-weight: 700;
    color: rgba(0,0,0,.55);
}

.tmn-lb-link {
    color: #0d0d0d !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    box-shadow: none !important;
}

.tmn-lb-link:hover {
    text-decoration: underline;
    color: #0d0d0d;
}

.tmn-lb-text {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #0d0d0d !important;
    letter-spacing: .01em !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    display: inline !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Pause-Button */
.tmn-lb-pause {
    flex-shrink: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0 12px;
    height: 100%;
    color: #0d0d0d;
    font-size: 14px;
    opacity: .6;
    transition: opacity .2s;
    display: flex;
    align-items: center;
}

.tmn-lb-pause:hover {
    opacity: 1;
}

/* Wenn WordPress Admin-Bar sichtbar ist */
.admin-bar #tmn-liveband {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #tmn-liveband {
        top: 46px;
    }
    #tmn-liveband-spacer {
        height: 36px;
    }
}

/* Responsive */
@media (max-width: 600px) {
    #tmn-liveband {
        height: 32px;
        font-size: 12px;
    }
    #tmn-liveband-spacer {
        height: 32px;
    }
    .tmn-lb-badge {
        padding: 0 8px 0 10px;
        font-size: 10px;
    }
    .tmn-lb-text {
        font-size: 11px;
    }
}

/* Alle Meldungen Link */
.tmn-lb-all {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    height: 100%;
    font-size: 11px;
    font-weight: 700;
    color: #0d0d0d;
    text-decoration: none;
    border-left: 1px solid rgba(0,0,0,.15);
    white-space: nowrap;
    letter-spacing: .02em;
    transition: background .15s;
}

.tmn-lb-all:hover {
    background: rgba(0,0,0,.08);
    color: #0d0d0d;
}

@media (max-width: 480px) {
    .tmn-lb-all { display: none; }
}
