#comment-image-modal {
    max-width: min(96vw, 1100px);
    width: 100%;
    background: rgba(12, 12, 12, 0.96);
    color: #fff;
    padding: 24px;
}

#comment-image-modal .comment-image-modal__slide {
    text-align: center;
}

#comment-image-modal .comment-image-modal__zoom-wrap {
    position: relative;
    overflow: hidden;
    touch-action: none;
    cursor: zoom-in;
}

#comment-image-modal .comment-image-modal__zoom-wrap.is-zoomed {
    cursor: zoom-out;
}

#comment-image-modal .comment-image-modal__zoom-wrap.is-zoomed img {
    cursor: grab;
}

#comment-image-modal .comment-image-modal__zoom-wrap.is-grabbing img {
    cursor: grabbing;
}

#comment-image-modal .comment-image-modal__slide img {
    display: inline-block;
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    transition: transform 0.15s ease;
    will-change: transform;
}

#comment-image-modal .slick-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    z-index: 100;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, outline-color 0.2s ease;
}

#comment-image-modal .slick-prev:before,
#comment-image-modal .slick-next:before {
    font-size: 34px;
    opacity: 0.95;
    color: #fff;
}

#comment-image-modal .slick-arrow:hover,
#comment-image-modal .slick-arrow:focus-visible {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 8px 18px rgba(0, 0, 0, 0.55);
}

#comment-image-modal .slick-arrow:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 2px;
}

#comment-image-modal .slick-prev {
    left: 8px;
}

#comment-image-modal .slick-next {
    right: 8px;
}

@media (max-width: 767px) {
    #comment-image-modal .slick-arrow {
        width: 48px;
        height: 48px;
    }

    #comment-image-modal .slick-prev {
        left: 4px;
    }

    #comment-image-modal .slick-next {
        right: 4px;
    }
}
