/* AtlasMarketWatch — Ticker Banner (v1.6.0) */

.amw-tb{
    width: 100%;
    overflow: hidden;
    background: #1f2024;
    color: #ffffff;
    border-bottom: 1px solid #343a40;
}
.amw-tb-light{
    background: #f2f2f2;
    color: #1f2024;
    border-bottom: 1px solid #e0e0e0;
}

.amw-tb-track{
    display: flex;
    width: max-content;
    animation: amw-tb-scroll var(--amw-tb-speed, 60s) linear infinite;
}
.amw-tb[data-pause="1"] .amw-tb-track:hover{
    animation-play-state: paused;
}

.amw-tb-inner{
    display: flex;
    flex-shrink: 0;
    gap: 0;
}

.amw-tb-item{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 0;
    border-right: 1px solid #343a40;
    color: inherit;
    cursor: pointer;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.15s ease;
}
.amw-tb-light .amw-tb-item{ border-right-color: #e0e0e0; }

.amw-tb-item:hover{
    background: rgba(255,255,255,0.05);
}
.amw-tb-light .amw-tb-item:hover{
    background: rgba(0,0,0,0.04);
}

.amw-tb-sym{
    font-weight: 700;
    letter-spacing: 0.04em;
    color: inherit;
}
.amw-tb-price{
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: inherit;
    opacity: 0.92;
}
.amw-tb-chg{
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}
.amw-tb-item--up   .amw-tb-chg{ color: #4ade80; }
.amw-tb-item--down .amw-tb-chg{ color: #f87171; }
.amw-tb-light .amw-tb-item--up   .amw-tb-chg{ color: #166534; }
.amw-tb-light .amw-tb-item--down .amw-tb-chg{ color: #991b1b; }

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

@media (max-width: 768px){
    .amw-tb-item{ padding: 8px 12px; font-size: 11px; gap: 6px; }
}
