.scdev-sticky-banner-shell {
    margin-bottom: 8px;
}

.scdev-sticky-banner {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, var(--scdev-sticky-banner-gradient-start, #667eea), var(--scdev-sticky-banner-gradient-end, #764ba2));
}

.scdev-sticky-banner-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.scdev-sticky-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.01);
    transition: opacity 0.35s ease, transform 0.35s ease;
    padding: 6px;
    box-sizing: border-box;
}

.scdev-sticky-banner-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.scdev-sticky-banner-card {
    height: 100%;
    width: fit-content;
    max-width: calc(100% - 96px);
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    border-radius: inherit;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: 0 10px 28px rgba(0,0,0,.10);
    overflow: hidden;
    padding: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scdev-sticky-banner-media-link {
    flex: 0 0 auto;
    display: block;
    height: 100%;
    max-width: 48%;
    text-decoration: none;
}

.scdev-sticky-banner-media {
    height: 100%;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--scdev-sticky-banner-gradient-start, #667eea), var(--scdev-sticky-banner-gradient-end, #764ba2));
    border: 1px solid rgba(255,255,255,.12);
}

.scdev-sticky-banner-image {
    display: block;
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain;
}

.scdev-sticky-banner-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100px;
}

.scdev-sticky-banner-copy {
    flex: 0 1 390px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0 6px 0 12px;
    text-align: center;
    color: var(--scdev-sticky-banner-text, #333);
}

.scdev-sticky-banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    line-height: 1.2;
}

.scdev-sticky-banner-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #fff;
}

.scdev-sticky-banner-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.scdev-sticky-banner-categories {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.scdev-sticky-banner-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.20);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.1;
}

.scdev-sticky-banner-title {
    margin: 0;
    font-size: var(--scdev-sticky-banner-title-size, 24px);
    line-height: 1.05;
    color: var(--scdev-sticky-banner-title, #fff);
    text-shadow: 0 3px 12px rgba(0,0,0,.35);
}

.scdev-sticky-banner-title a {
    color: inherit;
    text-decoration: none;
}

.scdev-sticky-banner-excerpt {
    font-size: var(--scdev-sticky-banner-excerpt-size, 14px);
    line-height: 1.05;
    color: var(--scdev-sticky-banner-excerpt, rgba(255,255,255,.92));
    text-shadow: 0 2px 8px rgba(0,0,0,.28);
}

.scdev-sticky-banner-nav {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

.scdev-sticky-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: var(--scdev-sticky-banner-btn-bg, rgba(255,255,255,.92));
    color: var(--scdev-sticky-banner-btn-text, #333);
    border: 1px solid rgba(255,255,255,.38);
    box-shadow: 0 8px 18px rgba(0,0,0,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.scdev-sticky-banner-arrow.prev {
    left: 16px;
}

.scdev-sticky-banner-arrow.next {
    right: 16px;
}

.scdev-sticky-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 7px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 1px 4px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
}

.scdev-sticky-banner-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

.scdev-sticky-banner-dot.is-active {
    background: #ffd84d;
}

@media (max-width: 768px) {
    .scdev-sticky-banner {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 42px;
        box-sizing: border-box;
    }

    .scdev-sticky-banner-track {
        height: auto;
    }

    .scdev-sticky-banner-slide {
        position: relative;
        inset: auto;
        display: none;
        opacity: 0;
        transform: none;
        padding: 4px;
    }

    .scdev-sticky-banner-slide.is-active {
        display: block;
        opacity: 1;
        transform: none;
        z-index: 1;
    }

    .scdev-sticky-banner-card {
        flex-direction: column;
        gap: 1px;
        width: 100%;
        max-width: 100%;
        padding: 5px;
        height: auto;
        min-height: 0;
    }

    .scdev-sticky-banner-media-link {
        max-width: 100%;
        height: auto;
        flex: 0 0 auto;
    }

    .scdev-sticky-banner-media {
        min-height: 120px;
        height: 120px;
    }

    .scdev-sticky-banner-copy {
        flex: 1 1 auto;
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: center;
        align-items: center;
        gap: 0;
        min-height: 0;
        padding: 0 6px 4px;
        box-sizing: border-box;
        margin-top: -6px;
    }

    .scdev-sticky-banner-meta {
        gap: 2px 6px;
        font-size: 9px;
        line-height: 1;
        justify-content: center;
    }

    .scdev-sticky-banner-title,
    .scdev-sticky-banner-title a {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .scdev-sticky-banner-title {
        font-size: 12px;
        line-height: 1;
        margin-top: 0;
        text-align: center;
    }

    .scdev-sticky-banner-title a {
        display: block;
    }

    .scdev-sticky-banner-excerpt {
        font-size: 10px;
        line-height: 1;
        overflow-wrap: anywhere;
        word-break: break-word;
        text-align: center;
    }

    .scdev-sticky-banner-nav {
        left: 50%;
        top: auto;
        right: auto;
        bottom: 8px;
        transform: translateX(-50%);
        width: auto;
        height: auto;
        display: flex;
        align-items: center;
        gap: 4px;
        pointer-events: auto;
        padding: 0;
    }

    .scdev-sticky-banner-arrow {
        position: static;
        transform: none;
    }

    .scdev-sticky-banner-dots {
        position: static;
        transform: none;
    }
}
