#topbarPromo.topbar-promo,
.topbar-promo {
    position: relative;
    background: #000 !important;
    color: #fff !important;
    font-size: 0.9rem;
    overflow: hidden;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 600px) { #topbarPromo.topbar-promo, .topbar-promo { height: 44px; font-size: 0.85rem; } }

.topbar-promo__track { position: relative; flex: 1; height: 100%; }

.topbar-promo__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.topbar-promo__slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.topbar-promo a { color: #fff; text-decoration: underline; }

.topbar-promo__chip {
    display: inline-block;
    margin: 0 6px;
    padding: 2px 8px;
    border: 1px dashed rgba(255,255,255,0.7);
    border-radius: 4px;
    font-family: monospace;
    cursor: pointer;
    user-select: all;
}

.topbar-promo__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 2;
}
.topbar-promo__nav:hover { background: rgba(255,255,255,0.25); }
.topbar-promo__nav:active { transform: translateY(-50%) scale(0.92); }
.topbar-promo__nav--prev { inset-inline-start: 10px; }
.topbar-promo__nav--next { inset-inline-end: 10px; }

.topbar-promo__copied {
    position: absolute;
    top: 100%;
    inset-inline-end: 12px;
    background: #333;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}
.topbar-promo__copied.is-shown { opacity: 1; }
