/* Important-information strip. One readable message replaces the old activity marquee. */
.live-ticker-wrap {
    position: relative;
    display: flex;
    grid-column: 1 / -1;
    order: -1;
    width: 100%;
    min-height: 52px;
    margin-bottom: 2px;
    padding: 8px 12px;
    gap: 12px;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(250, 191, 60, .05), rgba(250, 191, 60, .1), rgba(250, 191, 60, .04));
    border: 1px solid rgba(250, 191, 60, .24);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .18);
}

.live-ticker-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 15% 0, rgba(var(--primary-rgb), .09), transparent 32%);
}

.live-ticker-wrap[data-level="critical"] {
    border-color: rgba(248, 81, 105, .4);
    background: linear-gradient(90deg, rgba(248, 81, 105, .06), rgba(248, 81, 105, .12), rgba(248, 81, 105, .04));
}

.live-ticker-wrap[data-level="new"] {
    border-color: rgba(56, 189, 248, .34);
    background: linear-gradient(90deg, rgba(56, 189, 248, .05), rgba(56, 189, 248, .1), rgba(56, 189, 248, .04));
}

.live-ticker-label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-height: 32px;
    padding: 0 10px;
    gap: 7px;
    flex: 0 0 auto;
    align-items: center;
    color: var(--primary);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    background: rgba(var(--primary-rgb), .075);
    border: 1px solid rgba(var(--primary-rgb), .25);
    border-radius: 9px;
}

[data-level="critical"] .live-ticker-label {
    color: #ff7186;
    background: rgba(248, 81, 105, .09);
    border-color: rgba(248, 81, 105, .3);
}

[data-level="new"] .live-ticker-label {
    color: #38bdf8;
    background: rgba(56, 189, 248, .08);
    border-color: rgba(56, 189, 248, .26);
}

.live-ticker-stage {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .22s ease, transform .22s ease;
}

.live-ticker-stage.is-visible { opacity: 1; transform: translateY(0); }

.ticker-item {
    display: flex;
    min-width: 0;
    gap: 8px;
    align-items: center;
    color: var(--text-main);
    font-size: .84rem;
    line-height: 1.35;
}

.ticker-item-icon { flex: 0 0 auto; font-size: 1rem; }
.ticker-item-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ticker-badge {
    flex: 0 0 auto;
    padding: 2px 6px;
    color: var(--primary);
    font-size: .66rem;
    font-weight: 850;
    text-transform: uppercase;
    background: rgba(var(--primary-rgb), .1);
    border: 1px solid rgba(var(--primary-rgb), .28);
    border-radius: var(--radius-sm);
}

.live-ticker-count {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: .65rem;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 576px) {
    .live-ticker-wrap { min-height: 48px; padding: 7px 9px; gap: 8px; }
    .live-ticker-label { width: 32px; min-height: 32px; padding: 0; justify-content: center; }
    .live-ticker-label span, .live-ticker-count, .ticker-badge { display: none; }
    .ticker-item { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) {
    .live-ticker-stage { transition: none; }
}
