/* Minimal Arrow Hide CSS - Performance Optimized */

/* Hide navigation arrows only */
.owl-carousel .owl-nav,
.owl-carousel .owl-nav button,
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.splide__arrow,
.splide__arrow--prev,
.splide__arrow--next,
.swiper-button-prev,
.swiper-button-next,
.carousel-control-prev,
.carousel-control-next,
button[class*="prev"],
button[class*="next"],
button[class*="arrow"],
.btn-prev,
.btn-next,
.nav-btn,
.arrow-left,
.arrow-right {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* Keep pagination visible */
.pagination,
.pagination *,
.owl-dots,
.splide__pagination {
    display: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Recently watched protection */
.recently-watched-video-carousel,
.recently-watched-video-carousel * {
    display: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Fix actors/directors name truncation */
.actors-member-item span,
.actors-member-item a span {
    white-space: normal !important;
    text-overflow: unset !important;
    overflow: visible !important;
    max-width: 100% !important;
    word-wrap: break-word;
}

/* Remote logout modal: legacy markup used Bootstrap 3 "in", which could leave the dialog visible without .show (BS5). */
#logout_remotly.modal:not(.show) {
    display: none !important;
    pointer-events: none;
}