.cs-watching-carousel,
.cs-watching-carousel * {
    box-sizing: border-box;
}

.cs-watching-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    background: #000;
    color: #fff;
    font-family: Geist, Inter, sans-serif;
}

.cs-watching-carousel .cs-carousel-viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 16px 0 42px 16px;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.cs-watching-carousel .cs-carousel-viewport.cs-dragging {
    cursor: grabbing;
}

.cs-watching-carousel .cs-carousel-content {
    display: flex;
    align-items: flex-start;
    width: max-content;
    max-width: none;
    will-change: transform;
}

.cs-watching-carousel .cs-carousel-item {
    flex: 0 0 auto;
    width: clamp(210px, 24vw, 340px);
    height: clamp(315px, 36vw, 510px);
    margin: 0 24px 0 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 8px;
    outline: 0;
    background: #111;
    cursor: pointer;
    position: relative;
    transition: transform .3s ease;
}

.cs-watching-carousel .cs-carousel-item:hover,
.cs-watching-carousel .cs-carousel-item:focus-visible {
    transform: scale(1.035);
}

.cs-watching-carousel .cs-carousel-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: #374151;
    background-position: center;
    background-size: cover;
    filter: grayscale(1) saturate(.2);
    opacity: .58;
    transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}

.cs-watching-carousel .cs-carousel-item:hover .cs-carousel-image,
.cs-watching-carousel .cs-carousel-item:focus-visible .cs-carousel-image,
.cs-watching-carousel .cs-carousel-item.cs-in-view .cs-carousel-image {
    filter: grayscale(0) saturate(1.15);
    opacity: 1;
    transform: scale(1.015);
}

.cs-watching-carousel .cs-swipe-hint {
    display: none;
    position: absolute;
    right: 16px;
    bottom: 14px;
    z-index: 2;
    color: rgba(255,255,255,.82);
    font-family: "Geist Mono", monospace;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    pointer-events: none;
}

.cs-watching-carousel .cs-swipe-hint span {
    display: inline-block;
    margin-left: 4px;
    transform: translateY(-1px);
}

.cs-watching-carousel--editor {
    padding: 12px 0 18px;
    border: 1px dashed rgba(255,255,255,.4);
}

.cs-watching-carousel--editor .cs-editor-preview-label {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 0 16px 10px;
    font-family: "Geist Mono", monospace;
    font-size: 11px;
    line-height: 1.4;
}

.cs-watching-carousel--editor .cs-editor-preview-label strong {
    font-family: Geist, Inter, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

.cs-watching-carousel--editor .cs-editor-preview-label span {
    color: #aaa;
}

.cs-watching-carousel--editor .cs-carousel-viewport {
    pointer-events: none;
}

.cs-watching-carousel--editor .cs-editor-preview-item {
    opacity: .76;
}

.cs-watching-carousel--editor .cs-carousel-image {
    background:
        linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.035)),
        repeating-linear-gradient(45deg, rgba(255,255,255,.12) 0 1px, transparent 1px 9px),
        #151515;
    filter: none;
    opacity: 1;
}

@media (max-width: 768px) {
    .cs-watching-carousel .cs-carousel-viewport {
        padding: 14px 0 58px 14px;
    }

    .cs-watching-carousel .cs-carousel-item {
        width: min(68vw, 285px);
        height: min(102vw, 428px);
    }

    .cs-watching-carousel .cs-carousel-item:hover {
        transform: none;
    }

    .cs-watching-carousel .cs-swipe-hint {
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cs-watching-carousel .cs-carousel-item,
    .cs-watching-carousel .cs-carousel-image {
        transition: none;
    }
}
