
.fys-slider {
    --fys-gap: 14px;
    --fys-visible: 3.25;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 4px 0 28px;
    overflow: hidden;
    box-sizing: border-box;
}

.fys-slider *,
.fys-slider *::before,
.fys-slider *::after {
    box-sizing: border-box;
}

.fys-viewport {
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
}

.fys-viewport.is-dragging {
    cursor: grabbing;
}

.fys-track {
    display: flex;
    gap: var(--fys-gap);
    transition: transform 480ms cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.fys-card {
    flex: 0 0 calc((100% - (var(--fys-gap) * (var(--fys-visible) - 1))) / var(--fys-visible));
    min-width: 0;
    overflow: hidden;
    border-radius: 13px;
    background: #050505;
    box-shadow: 0 5px 16px rgba(0,0,0,.15);
}

.fys-thumb-link {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #1a1a1a;
}

.fys-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.fys-card:hover .fys-thumb {
    transform: scale(1.035);
}

.fys-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    background: rgba(0,0,0,.24);
    transition: opacity 250ms ease;
}

.fys-play::before {
    content: "";
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(126, 73, 255, .95);
}

.fys-play span {
    position: absolute;
    margin-left: 4px;
    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-left: 15px solid #fff;
}

.fys-card:hover .fys-play {
    opacity: 1;
}

.fys-content {
    min-height: 126px;
    padding: 12px 12px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #050505;
}

.fys-video-title {
    width: 100%;
    min-height: 54px;
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 5px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    background: #fff;
    color: #242424;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

.fys-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 38px;
    padding: 8px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6f42ff, #9159ff);
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    transition: transform 200ms ease, filter 200ms ease;
}

.fys-button:hover,
.fys-button:focus-visible {
    color: #fff;
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.fys-arrow {
    position: absolute;
    top: 44%;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.94);
    color: #111;
    box-shadow: 0 3px 14px rgba(0,0,0,.2);
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}

.fys-prev { left: 8px; }
.fys-next { right: 8px; }

.fys-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.fys-dots {
    position: absolute;
    left: 8px;
    bottom: 2px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.fys-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #111;
    opacity: .28;
    cursor: pointer;
}

.fys-dot.is-active {
    opacity: 1;
    transform: scale(1.25);
}

.fys-error {
    padding: 12px;
    border-left: 4px solid #d63638;
    background: #fff3f3;
    color: #7a1515;
}

@media (max-width: 1024px) {
    .fys-slider {
        --fys-visible: 2.2;
    }
}

@media (max-width: 767px) {
    .fys-slider {
        --fys-visible: 1.08;
        --fys-gap: 12px;
        padding-bottom: 30px;
    }

    .fys-card {
        border-radius: 12px;
    }

    .fys-content {
        min-height: 120px;
    }

    .fys-video-title {
        font-size: 12px;
    }

    .fys-arrow {
        display: none;
    }

    .fys-dots {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fys-track,
    .fys-thumb,
    .fys-button {
        transition: none;
    }
}
