/* Promo Cards & Carousels */
.xb-promo-card {
    position: relative;
    background: #f8f8fa;
    border: 1px solid #ececef;
    border-radius: 6px;
    overflow: hidden;
    box-sizing: border-box;
}

.xb-promo-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    z-index: 5;
}

.xb-promo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(24, 24, 24, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.xb-promo-dot.is-active {
    width: 11px;
    border-radius: 3px;
    background: #181818;
}

.xb-banner-slides {
    position: relative;
    width: 100%;
    height: 76px;
}

.xb-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.xb-banner-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.xb-banner-slide a,
.xb-banner-slide span {
    display: block;
    width: 100%;
    height: 100%;
}

.xb-banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.xb-banner-dots {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 4px;
}

.xb-promo-notice-card {
    padding: 8px 10px;
}

.xb-notice-viewport {
    height: 44px;
    overflow: hidden;
    position: relative;
}

.xb-notice-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.xb-notice-item {
    height: 44px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.xb-notice-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    color: #222;
    text-decoration: none;
}

.xb-notice-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #181818;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.xb-notice-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.xb-notice-text {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    line-height: 1.38;
    font-weight: 500;
    color: #222;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xb-promo-ad-card {
    padding: 10px 10px 12px;
    height: 100%;
}

.xb-ad-dots {
    margin-bottom: 8px;
}

.xb-ad-slides {
    position: relative;
}

.xb-ad-slide {
    display: none;
}

.xb-ad-slide.is-active {
    display: block;
}

.xb-ad-slide a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.xb-ad-cover {
    width: 100%;
    height: 92px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 8px;
    background: #ececef;
}

.xb-ad-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.xb-ad-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    color: #181818;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.xb-ad-desc {
    font-size: 11px;
    line-height: 1.45;
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (min-width: 769px) {
    .xb-sidebar-promo-slot {
        margin-bottom: 18px;
    }

    .xb-promo-ctx-sidebar {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .xb-promo-ctx-sidebar .xb-promo-left,
    .xb-promo-ctx-sidebar .xb-promo-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
}