/* Cooked by @iamiladg | Publisher: @iamiladg */
        .mvm777-gallery-v10,
        .mvm777-gallery-v10 * {
            box-sizing: border-box;
        }

        .mvm777-gallery-v10 {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            font-family: inherit;
        }

        .mvm777-gallery-v10[hidden],
        .mvm777-gallery-modal-v10[hidden] {
            display: none !important;
        }

        .mvm777-gallery-v10 .mvm777-gallery-status {
            display: none;
        }

        .mvm777-gallery-v10 .mvm777-gallery-accordion {
            --gallery-height: clamp(430px, 36vw, 620px);
            --gallery-gap: 10px;
            --active-width: min(58%, var(--gallery-height));

            display: flex;
            flex-flow: row nowrap;
            align-items: stretch;
            width: 100%;
            height: var(--gallery-height);
            gap: var(--gallery-gap);
            padding: 10px 0;
            overflow: hidden;
            isolation: isolate;
        }

        .mvm777-gallery-v10 .mvm777-gallery-accordion.is-single .mvm777-gallery-panel {
            flex: 1 1 100% !important;
            width: 100% !important;
            max-width: 100% !important;
        }

        
.mvm777-gallery-v10 .mvm777-gallery-panel[hidden] {
    display: none !important;
}
.mvm777-gallery-v10 .mvm777-gallery-panel {
            position: relative;
            flex: 1 1 0;
            min-width: 0;
            height: 100%;
            overflow: hidden;
            border-radius: 50px;
            background: #050505;
            cursor: pointer;
            contain: layout paint;
            isolation: isolate;
            -webkit-tap-highlight-color: transparent;
            transition:
                flex-basis 0.52s cubic-bezier(.2,.9,.35,1),
                flex-grow 0.52s cubic-bezier(.2,.9,.35,1),
                transform 0.25s ease;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.is-active {
            flex: 0 0 var(--active-width);
            cursor: default;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel > img,
        .mvm777-gallery-v10 .mvm777-gallery-panel > video,
        .mvm777-gallery-v10 .mvm777-video-poster {
            position: absolute;
            inset: 0;
            display: block;
            width: 100%;
            height: 100%;
            border-radius: 50px;
            object-fit: cover;
            object-position: center;
            user-select: none;
            -webkit-user-drag: none;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel > img {
            transition: transform 0.28s ease;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.is-active.mvm777-image-panel:hover > img {
            transform: scale(1.018);
        }

        .mvm777-gallery-v10 .mvm777-gallery-video {
            z-index: 1;
            background: #000;
            outline: 0;
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.is-active .mvm777-gallery-video {
            pointer-events: auto;
        }

        .mvm777-gallery-v10 .mvm777-video-poster {
            z-index: 3;
            pointer-events: none;
            opacity: 1;
            visibility: visible;
            transition: opacity 0.25s ease, visibility 0.25s ease;
        }

        .mvm777-gallery-v10 .mvm777-video-poster.is-hidden {
            opacity: 0;
            visibility: hidden;
        }

        .mvm777-gallery-v10 button {
            font: inherit;
        }

        .mvm777-gallery-v10 .mvm777-icon-button,
        .mvm777-gallery-modal-v10 .mvm777-modal-icon-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255,255,255,.26);
            padding: 0;
            color: #fff;
            background: rgba(0,0,0,.48);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            cursor: pointer;
            outline: 0;
            -webkit-tap-highlight-color: transparent;
            appearance: none;
            -webkit-appearance: none;
            transition: transform .18s ease, background .18s ease, opacity .18s ease;
        }

        .mvm777-gallery-v10 .mvm777-icon-button:hover,
        .mvm777-gallery-modal-v10 .mvm777-modal-icon-button:hover {
            background: rgba(0,0,0,.68);
        }

        .mvm777-gallery-v10 .mvm777-icon-button:active,
        .mvm777-gallery-modal-v10 .mvm777-modal-icon-button:active {
            transform: scale(.94);
        }

        .mvm777-gallery-v10 .mvm777-icon-button svg,
        .mvm777-gallery-modal-v10 svg {
            display: block;
            width: 1em;
            height: 1em;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-panel-fullscreen {
            position: absolute;
            top: 18px;
            right: 18px;
            z-index: 15;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            opacity: 0;
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.is-active .mvm777-panel-fullscreen {
            opacity: 1;
            pointer-events: auto;
        }


        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all:not(.is-active) {
            flex: 0 0 58px;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 8;
            border-radius: 50px;
            background: rgba(0,0,0,.18);
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all > img,
        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all > video,
        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all > .mvm777-video-poster {
            filter: blur(8px);
            transform: scale(1.08);
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all.is-active.mvm777-image-panel:hover > img {
            transform: scale(1.08);
        }

        /* Restored static-gallery play button design and pulse logic. */
        .mvm777-gallery-v10 .mvm777-big-play {
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: 14;
            width: 80px;
            height: 80px;
            min-width: 80px;
            min-height: 80px;
            max-width: 80px;
            max-height: 80px;
            padding: 0;
            border: 0;
            border-radius: 50%;
            color: #fff;
            background: rgba(110,110,110,.30);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 0 0 2px rgba(123,123,123,.20), 0 8px 20px rgba(0,0,0,.40);
            transform: translate(-50%,-50%);
            animation: mvm777GalleryPulse 2s infinite ease-out;
            cursor: pointer;
            opacity: 0;
            pointer-events: none;
            transition: transform .20s ease, background .20s ease, opacity .18s ease;
            aspect-ratio: 1 / 1;
        }

        .mvm777-gallery-v10 .mvm777-big-play:hover {
            background: rgba(0,0,0,.45);
            transform: translate(-50%,-50%) scale(1.08);
        }

        .mvm777-gallery-v10 .mvm777-big-play:active {
            transform: translate(-50%,-50%) scale(.96);
        }

        .mvm777-gallery-v10 .mvm777-big-play svg {
            display: block;
            width: 38px;
            height: 38px;
            margin-left: 3px;
            fill: currentColor;
            stroke: none;
            opacity: 1;
            visibility: visible;
        }

        .mvm777-gallery-v10 .mvm777-video-panel.is-active .mvm777-big-play:not(.is-hidden) {
            opacity: 1;
            pointer-events: auto;
        }

        @keyframes mvm777GalleryPulse {
            0% {
                box-shadow: 0 0 0 0 rgba(255,255,255,.60), 0 0 0 0 rgba(143,143,143,.40);
            }
            60% {
                box-shadow: 0 0 0 14px rgba(255,255,255,0), 0 0 0 16px rgba(0,120,255,0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(255,255,255,0), 0 0 0 0 rgba(0,120,255,0);
            }
        }

        .mvm777-gallery-v10 .mvm777-video-controls {
            position: absolute;
            bottom: 20px;
            left: 50%;
            z-index: 16;
            display: none;
            flex-direction: column;
            align-items: center;
            width: auto;
            max-width: 92%;
            gap: 6px;
            transform: translateX(-50%);
            pointer-events: auto;
        }

        .mvm777-gallery-v10 .mvm777-video-panel.is-active .mvm777-video-controls.is-visible {
            display: flex;
        }

        .mvm777-gallery-v10 .mvm777-video-panel.has-open-all .mvm777-video-controls {
            bottom: 118px;
        }

        .mvm777-gallery-v10 .mvm777-progress-track {
            position: relative;
            width: 220px;
            height: 4px;
            overflow: visible;
            margin-bottom: 4px;
            border-radius: 2px;
            background: rgba(255,255,255,.25);
            cursor: pointer;
            touch-action: none;
        }

        .mvm777-gallery-v10 .mvm777-progress-fill {
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            border-radius: 2px;
            background: #fff;
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-progress-handle {
            position: absolute;
            top: 50%;
            left: 0;
            display: none;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 0 4px rgba(0,0,0,.50);
            transform: translate(-50%,-50%);
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-control-row {
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: max-content;
            max-width: 100%;
            margin-inline: auto;
            padding: .4em .5em;
            border-radius: 50px;
            background: rgba(0,0,0,.35);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 15px rgba(0,0,0,.30);
            overflow: visible;
        }

        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button,
        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:hover,
        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus,
        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:active,
        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus-visible {
            display: flex;
            flex: 0 0 44px;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            min-width: 44px;
            min-height: 44px;
            max-width: 44px;
            max-height: 44px;
            padding: 7px;
            border: 0;
            border-radius: 50% !important;
            color: #fff;
            background: transparent;
            font-size: 20px;
            line-height: 1;
            aspect-ratio: 1 / 1;
            box-sizing: border-box;
            overflow: visible;
            opacity: 1;
            visibility: visible;
        }

        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:hover {
            background: rgba(255,255,255,.25);
        }

        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button svg {
            display: block !important;
            flex: 0 0 auto;
            width: 1em !important;
            height: 1em !important;
            min-width: 1em;
            min-height: 1em;
            opacity: 1 !important;
            visibility: visible !important;
            overflow: visible;
        }

        .mvm777-gallery-v10 .mvm777-control-row .mvm777-playpause svg {
            fill: currentColor;
            stroke: none;
        }

        .mvm777-gallery-v10 .mvm777-control-tooltip {
            position: absolute;
            bottom: 120%;
            left: 50%;
            z-index: 30;
            padding: 5px 12px;
            border-radius: 8px;
            color: #fff;
            background: rgba(0,0,0,.85);
            font-size: 13px;
            line-height: 1.2;
            white-space: nowrap;
            opacity: 0;
            transform: translateX(-50%);
            transition: opacity .25s ease;
            pointer-events: none;
        }

        .mvm777-gallery-v10 .mvm777-control-tooltip::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -6px;
            border: 6px solid transparent;
            border-top-color: rgba(0,0,0,.85);
        }

        .mvm777-gallery-v10 .mvm777-fullscreen-control.is-tooltip-visible .mvm777-control-tooltip {
            opacity: 1;
        }

        .mvm777-gallery-v10 .mvm777-fullscreen-control.is-tooltip-visible {
            background: rgba(210,26,52,.35) !important;
            box-shadow: 0 0 12px rgba(210,26,52,.50);
        }

        /* Vertical full-gallery control on the blurred final slide. */
        .mvm777-gallery-v10 .mvm777-open-all {
            position: absolute;
            left: 50%;
            bottom: 20px;
            z-index: 30;
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            width: 48px;
            max-width: calc(100% - 4px);
            min-width: 0;
            min-height: 108px;
            padding: 10px 8px;
            border: 1px solid rgba(255,255,255,.30);
            border-radius: 999px;
            color: #fff;
            background: rgba(0,0,0,.38);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 10px 30px 0 rgba(0,0,0,.08);
            transform: translateX(-50%);
            cursor: pointer;
            outline: 0;
            -webkit-tap-highlight-color: transparent;
            appearance: none;
            -webkit-appearance: none;
            transition: background .2s ease, transform .2s ease;
        }

        .mvm777-gallery-v10 .mvm777-open-all:hover {
            background: rgba(0,0,0,.58);
            transform: translateX(-50%) translateY(-2px);
        }

        .mvm777-gallery-v10 .mvm777-open-all:active {
            transform: translateX(-50%) scale(.96);
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
            position: relative;
            display: block;
            flex: 0 0 26px;
            width: 26px;
            max-width: 100%;
            height: 26px;
            border-radius: 50%;
            background: rgba(255,255,255,.16);
            color: transparent;
            font-size: 0;
            line-height: 0;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
            content: "";
            position: absolute;
            top: 50%;
            left: 50%;
            width: 12px;
            height: 2px;
            border-radius: 999px;
            background: #fff;
            transform: translate(-50%,-50%);
            transform-origin: center;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
            transform: translate(-50%,-50%) rotate(90deg);
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
            display: block;
            color: #fff;
            font-size: 14px;
            line-height: 1;
            font-weight: 600;
            letter-spacing: 0;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            transform: rotate(180deg);
            white-space: nowrap;
        }

        @media (min-width: 2400px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --gallery-height: clamp(520px,27vw,760px);
            }
        }

        @media (max-width: 1024px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --gallery-height: clamp(430px,70vw,650px);
                --active-width: 66%;
                --gallery-gap: 8px;
            }

            .mvm777-gallery-v10 .mvm777-big-play {
                width: 65px;
                height: 65px;
                min-width: 65px;
                min-height: 65px;
                max-width: 65px;
                max-height: 65px;
            }

            .mvm777-gallery-v10 .mvm777-big-play svg {
                width: 30px;
                height: 30px;
            }

            .mvm777-gallery-v10 .mvm777-progress-track {
                width: 170px;
            }

            .mvm777-gallery-v10 .mvm777-control-row {
                gap: 10px;
                padding: .3em .5em;
            }

            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:hover,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:active,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus-visible {
                flex-basis: 38px;
                width: 38px;
                height: 38px;
                min-width: 38px;
                min-height: 38px;
                max-width: 38px;
                max-height: 38px;
                padding: 6px;
                font-size: 17px;
            }
        }

        @media (max-width: 768px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --gallery-height: 420px;
                --active-width: 70%;
                --gallery-gap: 6px;
            }

            .mvm777-gallery-v10 .mvm777-panel-fullscreen {
                top: 14px;
                right: 14px;
                width: 36px;
                height: 36px;
            }

            .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all:not(.is-active) {
                flex-basis: 52px;
            }

            .mvm777-gallery-v10 .mvm777-big-play {
                width: 55px;
                height: 55px;
                min-width: 55px;
                min-height: 55px;
                max-width: 55px;
                max-height: 55px;
            }

            .mvm777-gallery-v10 .mvm777-big-play svg {
                width: 26px;
                height: 26px;
            }

            .mvm777-gallery-v10 .mvm777-video-controls {
                width: 92%;
                max-width: 92%;
            }

            .mvm777-gallery-v10 .mvm777-progress-track {
                width: 100%;
            }

            .mvm777-gallery-v10 .mvm777-control-row {
                width: 90%;
                gap: 4px;
                padding: 5px 0;
                justify-content: space-evenly;
            }

            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:hover,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:active,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus-visible {
                flex: 0 0 28px;
                width: 28px;
                height: 28px;
                min-width: 28px;
                min-height: 28px;
                max-width: 28px;
                max-height: 28px;
                padding: 0;
                font-size: 14px;
            }

            .mvm777-gallery-v10 .mvm777-open-all {
                bottom: 14px;
                width: 44px;
                max-width: calc(100% - 4px);
                min-width: 0;
                min-height: 102px;
                padding: 9px 7px;
            }
        }

        @media (max-width: 600px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --gallery-height: 350px;
                --active-width: 72%;
                --gallery-gap: 5px;
            }

            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:hover,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:active,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus-visible {
                flex-basis: 26px;
                width: 26px;
                height: 26px;
                min-width: 26px;
                min-height: 26px;
                max-width: 26px;
                max-height: 26px;
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --gallery-height: 300px;
                --active-width: 73%;
                --gallery-gap: 4px;
            }

            .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all:not(.is-active) {
                flex-basis: 46px;
            }

            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:hover,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:active,
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button:focus-visible {
                flex-basis: 24px;
                width: 24px;
                height: 24px;
                min-width: 24px;
                min-height: 24px;
                max-width: 24px;
                max-height: 24px;
                font-size: 11px;
            }
        }

        /* ================= FULLSCREEN MEDIA MODAL ================= */

        .mvm777-gallery-modal-v10,
        .mvm777-gallery-modal-v10 * {
            box-sizing: border-box;
        }

        .mvm777-gallery-modal-v10 {
            position: fixed;
            inset: 0;
            z-index: 2147483000;
            display: flex;
            flex-direction: column;
            align-items: stretch;
            justify-content: stretch;
            width: 100vw;
            height: 100dvh;
            padding: 18px;
            color: #fff;
            background: rgba(0,0,0,.92);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            overflow: hidden;
            overscroll-behavior: contain;
            touch-action: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-close {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 8;
            width: 46px;
            height: 46px;
            border-radius: 50%;
            font-size: 24px;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-stage {
            position: relative;
            flex: 1 1 auto;
            min-height: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 54px 10px 14px;
            overflow: hidden;
            touch-action: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-image,
        .mvm777-gallery-modal-v10 .mvm777-modal-video {
            display: block;
            max-width: min(94vw, 1500px);
            max-height: calc(100dvh - 175px);
            width: auto;
            height: auto;
            border-radius: 18px;
            object-fit: contain;
            background: #080808;
            box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 20px 60px rgba(0,0,0,.24);
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-image {
            cursor: grab;
            user-select: none;
            -webkit-user-drag: none;
            transform: translate3d(0,0,0) scale(1);
            transform-origin: center;
            transition: transform .18s ease, opacity .18s ease;
            will-change: transform;
            touch-action: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-image.is-dragging {
            cursor: grabbing;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-video {
            width: min(94vw, 1500px);
            outline: 0;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-loader {
            position: absolute;
            top: 50%;
            left: 50%;
            z-index: 5;
            width: 36px;
            height: 36px;
            margin: -18px 0 0 -18px;
            border: 3px solid rgba(255,255,255,.22);
            border-top-color: #fff;
            border-radius: 50%;
            opacity: 0;
            pointer-events: none;
            animation: mvm777ModalSpin .75s linear infinite;
        }

        .mvm777-gallery-modal-v10.is-loading .mvm777-modal-loader {
            opacity: 1;
        }

        @keyframes mvm777ModalSpin {
            to { transform: rotate(360deg); }
        }


        .mvm777-gallery-modal-v10 .mvm777-modal-navigation {
            position: relative;
            z-index: 7;
            flex: 0 0 auto;
            display: grid;
            grid-template-columns: 46px minmax(0,1fr) 46px;
            align-items: center;
            gap: 12px;
            width: min(100%,94vw,1360px);
            margin: 0 auto;
            padding: 8px 0 4px;
            direction: ltr;
            touch-action: pan-x;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-prev,
        .mvm777-gallery-modal-v10 .mvm777-modal-next {
            position: relative;
            z-index: 3;
            flex: 0 0 46px;
            width: 46px;
            height: 46px;
            min-width: 46px;
            min-height: 46px;
            max-width: 46px;
            max-height: 46px;
            border-radius: 50%;
            font-size: 22px;
            aspect-ratio: 1 / 1;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-nav-media {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: min(85vw,1180px);
            max-width: 100%;
            min-width: 0;
            margin: 0 auto;
            overflow: hidden;
        }

        .mvm777-gallery-modal-v10 .mvm777-image-thumbs-viewport {
            position: relative;
            flex: 1 1 auto;
            min-width: 0;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scroll-padding-inline: 50%;
            scrollbar-width: none;
            overscroll-behavior-x: contain;
            touch-action: pan-x;
            cursor: grab;
        }

        .mvm777-gallery-modal-v10 .mvm777-image-thumbs-viewport::-webkit-scrollbar {
            display: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-image-thumbs-viewport.is-dragging {
            cursor: grabbing;
            scroll-behavior: auto;
        }

        .mvm777-gallery-modal-v10 .mvm777-image-thumbs {
            display: flex;
            align-items: center;
            gap: 9px;
            width: max-content;
            min-width: 100%;
            padding: 4px max(4px,calc(50% - 39px)) 8px;
        }

        .mvm777-gallery-modal-v10 .mvm777-video-thumb-separator {
            flex: 0 0 1px;
            width: 1px;
            height: 50px;
            background: linear-gradient(to bottom,transparent,rgba(255,255,255,.34),transparent);
        }

        .mvm777-gallery-modal-v10 .mvm777-video-thumbs {
            display: flex;
            flex: 0 0 auto;
            align-items: center;
            justify-content: flex-end;
            gap: 8px;
            max-width: 190px;
            padding: 4px 2px 8px 0;
            overflow: visible;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb {
            position: relative;
            flex: 0 0 78px;
            width: 78px;
            height: 58px;
            padding: 0;
            overflow: hidden;
            border: 2px solid transparent;
            border-radius: 14px;
            background: rgba(255,255,255,.08);
            cursor: pointer;
            appearance: none;
            -webkit-appearance: none;
            scroll-snap-align: center;
            opacity: .62;
            transform: translateZ(0);
            transition: opacity .18s ease,border-color .18s ease,transform .18s ease;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb:hover {
            opacity: .92;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb.is-current {
            opacity: 1;
            border-color: #fff;
            transform: translateY(-2px);
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            user-select: none;
            -webkit-user-drag: none;
            pointer-events: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb-video-fallback {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            color: #fff;
            background: linear-gradient(145deg,#252525,#070707);
            font-size: 22px;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb-video-badge {
            position: absolute;
            top: 50%;
            left: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            color: #fff;
            background: rgba(0,0,0,.62);
            transform: translate(-50%,-50%);
            pointer-events: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-thumb-video-badge svg {
            width: 12px;
            height: 12px;
            margin-left: 2px;
            fill: currentColor;
            stroke: none;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-stage.is-mouse-swiping {
            cursor: grabbing;
        }

        html.mvm777-gallery-modal-locked,
        body.mvm777-gallery-modal-locked {
            overflow: hidden !important;
            overscroll-behavior: none !important;
        }

        @media (max-width: 768px) {
            .mvm777-gallery-modal-v10 {
                padding: 10px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-close {
                top: 14px;
                right: 14px;
                width: 40px;
                height: 40px;
                min-width: 40px;
                min-height: 40px;
                max-width: 40px;
                max-height: 40px;
                border-radius: 50%;
                font-size: 21px;
                aspect-ratio: 1 / 1;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-stage {
                padding: 48px 2px 10px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-image,
            .mvm777-gallery-modal-v10 .mvm777-modal-video {
                max-width: 96vw;
                max-height: calc(100dvh - 145px);
                border-radius: 14px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-video {
                width: 96vw;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-navigation {
                grid-template-columns: 40px minmax(0,1fr) 40px;
                gap: 7px;
                width: min(100%,98vw);
                padding-bottom: 1px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-prev,
            .mvm777-gallery-modal-v10 .mvm777-modal-next {
                flex-basis: 40px;
                width: 40px;
                height: 40px;
                min-width: 40px;
                min-height: 40px;
                max-width: 40px;
                max-height: 40px;
                font-size: 18px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-nav-media {
                gap: 7px;
                width: 85vw;
            }

            .mvm777-gallery-modal-v10 .mvm777-image-thumbs {
                gap: 7px;
                padding-inline: max(3px,calc(50% - 31px));
            }

            .mvm777-gallery-modal-v10 .mvm777-video-thumb-separator {
                height: 42px;
            }

            .mvm777-gallery-modal-v10 .mvm777-video-thumbs {
                gap: 6px;
                max-width: 126px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-thumb {
                flex-basis: 62px;
                width: 62px;
                height: 46px;
                border-radius: 11px;
            }

            .mvm777-gallery-modal-v10 .mvm777-video-thumbs .mvm777-modal-thumb {
                flex-basis: 56px;
                width: 56px;
            }
        }

        @media (max-width: 480px) {
            .mvm777-gallery-modal-v10 .mvm777-modal-navigation {
                grid-template-columns: 36px minmax(0,1fr) 36px;
                gap: 5px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-prev,
            .mvm777-gallery-modal-v10 .mvm777-modal-next {
                flex-basis: 36px;
                width: 36px;
                height: 36px;
                min-width: 36px;
                min-height: 36px;
                max-width: 36px;
                max-height: 36px;
                font-size: 16px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-nav-media {
                gap: 5px;
            }

            .mvm777-gallery-modal-v10 .mvm777-video-thumbs {
                max-width: 106px;
                gap: 4px;
            }

            .mvm777-gallery-modal-v10 .mvm777-modal-thumb {
                flex-basis: 54px;
                width: 54px;
                height: 42px;
                border-radius: 10px;
            }

            .mvm777-gallery-modal-v10 .mvm777-image-thumbs {
                padding-inline: max(2px,calc(50% - 27px));
            }

            .mvm777-gallery-modal-v10 .mvm777-video-thumbs .mvm777-modal-thumb {
                flex-basis: 49px;
                width: 49px;
            }
        }

        /* ============================================================
           V1.2 RESPONSIVE GEOMETRY AND MODAL NAVIGATION FIXES
           ============================================================ */

        .mvm777-gallery-v10 .mvm777-icon-button,
        .mvm777-gallery-modal-v10 .mvm777-modal-icon-button,
        .mvm777-gallery-v10 .mvm777-big-play,
        .mvm777-gallery-v10 .mvm777-panel-fullscreen {
            flex-grow: 0 !important;
            flex-shrink: 0 !important;
            padding: 0 !important;
            border-radius: 999px !important;
            aspect-ratio: 1 / 1 !important;
            box-sizing: border-box !important;
            line-height: 0 !important;
            text-indent: 0 !important;
        }

        .mvm777-gallery-v10 .mvm777-icon-button svg,
        .mvm777-gallery-modal-v10 .mvm777-modal-icon-button svg {
            display: block !important;
            flex: 0 0 auto !important;
            max-width: none !important;
            max-height: none !important;
            opacity: 1 !important;
            visibility: visible !important;
            overflow: visible !important;
        }

        .mvm777-gallery-v10 .mvm777-panel-fullscreen {
            inline-size: 42px !important;
            block-size: 42px !important;
            min-inline-size: 42px !important;
            min-block-size: 42px !important;
            max-inline-size: 42px !important;
            max-block-size: 42px !important;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-close,
        .mvm777-gallery-modal-v10 .mvm777-modal-prev,
        .mvm777-gallery-modal-v10 .mvm777-modal-next {
            inline-size: 46px !important;
            block-size: 46px !important;
            min-inline-size: 46px !important;
            min-block-size: 46px !important;
            max-inline-size: 46px !important;
            max-block-size: 46px !important;
        }

        .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button {
            inline-size: 44px !important;
            block-size: 44px !important;
            min-inline-size: 44px !important;
            min-block-size: 44px !important;
            max-inline-size: 44px !important;
            max-block-size: 44px !important;
            flex-basis: 44px !important;
        }

        .mvm777-gallery-v10 .mvm777-mute-control.is-muted,
        .mvm777-gallery-v10 .mvm777-mute-control.is-muted svg {
            color: #ff6b6b !important;
        }

        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all,
        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all:not(.is-active),
        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all.is-active {
            flex: 1 1 0 !important;
            min-width: 0 !important;
            cursor: pointer !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all {
            inline-size: calc(100% - 6px);
            max-inline-size: 46px;
            min-inline-size: 0;
            min-block-size: clamp(92px, 34%, 110px);
            max-block-size: calc(100% - 24px);
            padding: clamp(6px, .7vw, 10px) clamp(2px, .45vw, 7px);
            gap: clamp(5px, .6vw, 10px);
            overflow: visible;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
            inline-size: clamp(16px, 70%, 26px);
            block-size: auto;
            min-inline-size: 14px;
            min-block-size: 14px;
            max-inline-size: 26px;
            max-block-size: 26px;
            aspect-ratio: 1 / 1;
            border-radius: 999px !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
            font-size: clamp(9px, 1vw, 14px);
            line-height: 1;
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-navigation {
            display: flex !important;
            grid-template-columns: none !important;
            justify-content: center;
            width: fit-content;
            max-width: calc(100vw - 24px);
        }

        .mvm777-gallery-modal-v10 .mvm777-modal-nav-media {
            flex: 0 1 auto;
            width: auto;
            min-width: 0;
            max-width: min(85vw, 1180px);
            overflow: hidden;
        }

        .mvm777-gallery-modal-v10 .mvm777-image-thumbs-viewport {
            flex: 0 1 auto;
            width: auto;
            max-width: 100%;
        }

        .mvm777-gallery-modal-v10 .mvm777-image-thumbs {
            min-width: 0;
            padding-block: 4px 8px;
        }

        .mvm777-gallery-modal-v10 .mvm777-video-thumbs {
            flex: 0 0 auto;
            width: auto;
            max-width: none;
            margin-left: 0;
        }

        @media (max-width: 1024px) {
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button {
                inline-size: 38px !important;
                block-size: 38px !important;
                min-inline-size: 38px !important;
                min-block-size: 38px !important;
                max-inline-size: 38px !important;
                max-block-size: 38px !important;
                flex-basis: 38px !important;
            }
        }

        @media (max-width: 890px) {
            .mvm777-gallery-v10 .mvm777-panel-fullscreen {
                inline-size: 34px !important;
                block-size: 34px !important;
                min-inline-size: 34px !important;
                min-block-size: 34px !important;
                max-inline-size: 34px !important;
                max-block-size: 34px !important;
                padding: 0 !important;
            }
        }

        @media (max-width: 768px) {
            .mvm777-gallery-modal-v10 .mvm777-modal-close,
            .mvm777-gallery-modal-v10 .mvm777-modal-prev,
            .mvm777-gallery-modal-v10 .mvm777-modal-next {
                inline-size: 40px !important;
                block-size: 40px !important;
                min-inline-size: 40px !important;
                min-block-size: 40px !important;
                max-inline-size: 40px !important;
                max-block-size: 40px !important;
            }

            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button {
                inline-size: 28px !important;
                block-size: 28px !important;
                min-inline-size: 28px !important;
                min-block-size: 28px !important;
                max-inline-size: 28px !important;
                max-block-size: 28px !important;
                flex-basis: 28px !important;
            }
        }

        @media (max-width: 600px) {
            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button {
                inline-size: 26px !important;
                block-size: 26px !important;
                min-inline-size: 26px !important;
                min-block-size: 26px !important;
                max-inline-size: 26px !important;
                max-block-size: 26px !important;
                flex-basis: 26px !important;
            }
        }

        @media (max-width: 580px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --active-width: 62%;
                --gallery-gap: 4px;
            }

            .mvm777-gallery-v10 .mvm777-panel-fullscreen {
                inline-size: 30px !important;
                block-size: 30px !important;
                min-inline-size: 30px !important;
                min-block-size: 30px !important;
                max-inline-size: 30px !important;
                max-block-size: 30px !important;
                top: 10px;
                right: 10px;
            }

            .mvm777-gallery-v10 .mvm777-open-all {
                bottom: 10px;
                inline-size: calc(100% - 4px);
                max-inline-size: 34px;
                min-block-size: clamp(78px, 34%, 94px);
                max-block-size: calc(100% - 18px);
                padding: 5px 2px;
                gap: 5px;
                border-radius: 999px;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
                inline-size: clamp(14px, 78%, 21px);
                min-inline-size: 14px;
                min-block-size: 14px;
                max-inline-size: 21px;
                max-block-size: 21px;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
                width: 9px;
                height: 1.5px;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
                font-size: clamp(8px, 2.6vw, 11px);
            }
        }

        @media (max-width: 480px) {
            .mvm777-gallery-modal-v10 .mvm777-modal-close,
            .mvm777-gallery-modal-v10 .mvm777-modal-prev,
            .mvm777-gallery-modal-v10 .mvm777-modal-next {
                inline-size: 36px !important;
                block-size: 36px !important;
                min-inline-size: 36px !important;
                min-block-size: 36px !important;
                max-inline-size: 36px !important;
                max-block-size: 36px !important;
            }

            .mvm777-gallery-v10 .mvm777-control-row .mvm777-icon-button {
                inline-size: 24px !important;
                block-size: 24px !important;
                min-inline-size: 24px !important;
                min-block-size: 24px !important;
                max-inline-size: 24px !important;
                max-block-size: 24px !important;
                flex-basis: 24px !important;
            }
        }

        @media (max-width: 420px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --active-width: 60%;
            }
        }


        /* ============================================================
           V1.3 MEDIA COUNT, PLAY BUTTON AND PANEL RADIUS REFINEMENTS
           ============================================================ */

        .mvm777-gallery-v10 .mvm777-gallery-panel,
        .mvm777-gallery-v10 .mvm777-gallery-panel > img,
        .mvm777-gallery-v10 .mvm777-gallery-panel > video,
        .mvm777-gallery-v10 .mvm777-video-poster,
        .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all::after {
            border-radius: 70px !important;
        }

        .mvm777-gallery-v10 .mvm777-big-play,
        .mvm777-gallery-v10 .mvm777-big-play:hover,
        .mvm777-gallery-v10 .mvm777-big-play:focus,
        .mvm777-gallery-v10 .mvm777-big-play:active {
            inline-size: 45px !important;
            block-size: 45px !important;
            min-inline-size: 45px !important;
            min-block-size: 45px !important;
            max-inline-size: 45px !important;
            max-block-size: 45px !important;
            flex-basis: 45px !important;
            border-radius: 50% !important;
            padding: 0 !important;
        }

        .mvm777-gallery-v10 .mvm777-big-play svg {
            width: 20px !important;
            height: 20px !important;
            margin-left: 2px;
        }

        .mvm777-gallery-v10 .mvm777-open-all,
        .mvm777-gallery-v10 .mvm777-open-all:hover,
        .mvm777-gallery-v10 .mvm777-open-all:focus,
        .mvm777-gallery-v10 .mvm777-open-all:active {
            top: auto;
            bottom: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            inline-size: min(48px, calc(100% - 6px));
            block-size: min(116px, calc(100% - 24px));
            min-inline-size: 0;
            min-block-size: 82px;
            max-inline-size: 48px;
            max-block-size: calc(100% - 24px);
            gap: 0;
            padding: 10px 4px 5px;
            overflow: hidden;
            border: 1px solid #fff !important;
            border-radius: 999px !important;
            box-sizing: border-box !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
            display: block;
            margin: 2px 0 0;
            color: #fff;
            background: linear-gradient(
                105deg,
                #ffffff 0%,
                #ffffff 42%,
                #9b9b9b 49%,
                #ffffff 50%,
                #9b9b9b 51%,
                #ffffff 58%,
                #ffffff 100%
            );
            background-size: 240% 100%;
            background-position: 130% 50%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 0 1px rgba(255,255,255,.18);
            animation: mvm777MediaCountAttention 3s ease-in-out infinite;
            will-change: background-position, transform;
            writing-mode: horizontal-tb;
            text-orientation: mixed;
            transform: none;
            font-size: clamp(16px, 1.35vw, 22px);
            line-height: 1;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            letter-spacing: -.02em;
            white-space: nowrap;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
            position: relative;
            display: grid;
            place-items: center;
            flex: 0 0 auto;
            inline-size: 27px;
            block-size: 27px;
            min-inline-size: 27px;
            min-block-size: 27px;
            max-inline-size: 27px;
            max-block-size: 27px;
            margin-top: auto;
            margin-bottom: 0;
            padding: 0;
            border: 1px solid rgba(255,255,255,.76);
            border-radius: 50% !important;
            background: rgba(255,255,255,.14);
            aspect-ratio: 1 / 1;
            box-sizing: border-box;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
            width: 12px;
            height: 2px;
        }

        @keyframes mvm777MediaCountAttention {
            0%, 18%, 100% {
                background-position: 130% 50%;
                transform: scale(1);
            }
            48% {
                background-position: -105% 50%;
                transform: scale(1.04);
            }
            68% {
                background-position: -105% 50%;
                transform: scale(1);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
                animation: none;
                background-position: 50% 50%;
            }
        }

        @media (max-width: 1024px) {
            .mvm777-gallery-v10 .mvm777-gallery-panel,
            .mvm777-gallery-v10 .mvm777-gallery-panel > img,
            .mvm777-gallery-v10 .mvm777-gallery-panel > video,
            .mvm777-gallery-v10 .mvm777-video-poster,
            .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all::after {
                border-radius: 50px !important;
            }

            .mvm777-gallery-v10 .mvm777-big-play,
            .mvm777-gallery-v10 .mvm777-big-play:hover,
            .mvm777-gallery-v10 .mvm777-big-play:focus,
            .mvm777-gallery-v10 .mvm777-big-play:active {
                inline-size: 40px !important;
                block-size: 40px !important;
                min-inline-size: 40px !important;
                min-block-size: 40px !important;
                max-inline-size: 40px !important;
                max-block-size: 40px !important;
                flex-basis: 40px !important;
            }

            .mvm777-gallery-v10 .mvm777-big-play svg {
                width: 18px !important;
                height: 18px !important;
            }

            .mvm777-gallery-v10 .mvm777-open-all,
            .mvm777-gallery-v10 .mvm777-open-all:hover,
            .mvm777-gallery-v10 .mvm777-open-all:focus,
            .mvm777-gallery-v10 .mvm777-open-all:active {
                bottom: 10px;
                inline-size: min(42px, calc(100% - 4px));
                block-size: min(102px, calc(100% - 20px));
                min-block-size: 72px;
                max-inline-size: 42px;
                max-block-size: calc(100% - 20px);
                padding: 8px 3px 4px;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
                font-size: clamp(14px, 2vw, 19px);
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
                inline-size: 23px;
                block-size: 23px;
                min-inline-size: 23px;
                min-block-size: 23px;
                max-inline-size: 23px;
                max-block-size: 23px;
                padding: 0;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
                width: 10px;
                height: 1.75px;
            }
        }

        @media (max-width: 768px) {
            .mvm777-gallery-v10 .mvm777-big-play,
            .mvm777-gallery-v10 .mvm777-big-play:hover,
            .mvm777-gallery-v10 .mvm777-big-play:focus,
            .mvm777-gallery-v10 .mvm777-big-play:active {
                inline-size: 35px !important;
                block-size: 35px !important;
                min-inline-size: 35px !important;
                min-block-size: 35px !important;
                max-inline-size: 35px !important;
                max-block-size: 35px !important;
                flex-basis: 35px !important;
            }

            .mvm777-gallery-v10 .mvm777-big-play svg {
                width: 16px !important;
                height: 16px !important;
                margin-left: 1px;
            }
        }

        @media (max-width: 580px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --active-width: 55%;
                --gallery-gap: 3px;
            }

            .mvm777-gallery-v10 .mvm777-open-all,
            .mvm777-gallery-v10 .mvm777-open-all:hover,
            .mvm777-gallery-v10 .mvm777-open-all:focus,
            .mvm777-gallery-v10 .mvm777-open-all:active {
                top: 50%;
                bottom: auto;
                inline-size: calc(100% - 2px);
                block-size: min(84px, calc(100% - 16px));
                min-inline-size: 0;
                min-block-size: 62px;
                max-inline-size: 32px;
                max-block-size: calc(100% - 16px);
                padding: 6px 1px 3px;
                transform: translate(-50%, -50%);
            }

            .mvm777-gallery-v10 .mvm777-open-all:hover {
                transform: translate(-50%, calc(-50% - 1px));
            }

            .mvm777-gallery-v10 .mvm777-open-all:active {
                transform: translate(-50%, -50%) scale(.96);
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-label {
                margin-top: 1px;
                font-size: clamp(12px, 4vw, 16px);
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
                inline-size: 17px;
                block-size: 17px;
                min-inline-size: 17px;
                min-block-size: 17px;
                max-inline-size: 17px;
                max-block-size: 17px;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
                width: 8px;
                height: 1.5px;
            }
        }

        @media (max-width: 420px) {
            .mvm777-gallery-v10 .mvm777-gallery-accordion {
                --active-width: 52%;
            }
        }



        /* ============================================================
           V1.3.2 DEFINITIVE OPEN-ALL MEDIA COUNT CONTROL
           ============================================================ */
        .mvm777-gallery-v10 .mvm777-open-all,
        .mvm777-gallery-v10 .mvm777-open-all:hover,
        .mvm777-gallery-v10 .mvm777-open-all:focus,
        .mvm777-gallery-v10 .mvm777-open-all:active {
            --mvm777-open-all-width: 48px;
            --mvm777-open-all-height: 116px;
            --mvm777-open-all-padding-x: 5px;
            --mvm777-open-all-padding-top: 9px;
            --mvm777-open-all-padding-bottom: 5px;
            --mvm777-open-all-plus-size: 28px;

            position: absolute !important;
            inset-inline-start: 50% !important;
            inset-inline-end: auto !important;
            top: auto !important;
            bottom: 10px !important;
            z-index: 40 !important;

            display: flex !important;
            flex-direction: column !important;
            align-items: center !important;
            justify-content: flex-start !important;
            gap: 0 !important;

            inline-size: min(var(--mvm777-open-all-width), calc(100% - 4px)) !important;
            block-size: min(var(--mvm777-open-all-height), calc(100% - 20px)) !important;
            min-inline-size: 0 !important;
            min-block-size: 0 !important;
            max-inline-size: var(--mvm777-open-all-width) !important;
            max-block-size: calc(100% - 20px) !important;

            padding: var(--mvm777-open-all-padding-top)
                     var(--mvm777-open-all-padding-x)
                     var(--mvm777-open-all-padding-bottom) !important;
            overflow: hidden !important;
            box-sizing: border-box !important;

            border: 1px solid #fff !important;
            border-radius: 999px !important;
            background: rgba(0,0,0,.36) !important;
            color: #fff !important;
            box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
            backdrop-filter: blur(12px) !important;
            -webkit-backdrop-filter: blur(12px) !important;
            transform: translateX(-50%) !important;
            cursor: pointer !important;
            appearance: none !important;
            -webkit-appearance: none !important;
            -webkit-tap-highlight-color: transparent !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all:hover {
            background: rgba(0,0,0,.52) !important;
            transform: translateX(-50%) translateY(-2px) !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all:active {
            transform: translateX(-50%) scale(.96) !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
            display: block !important;
            flex: 0 0 auto !important;
            margin: 1px 0 0 !important;
            padding: 0 !important;
            inline-size: 100% !important;
            min-inline-size: 0 !important;
            max-inline-size: 100% !important;

            color: #fff !important;
            background: linear-gradient(
                105deg,
                #ffffff 0%,
                #ffffff 42%,
                #8f8f8f 49%,
                #ffffff 50%,
                #8f8f8f 51%,
                #ffffff 58%,
                #ffffff 100%
            ) !important;
            background-size: 240% 100% !important;
            background-position: 130% 50% !important;
            -webkit-background-clip: text !important;
            background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            text-shadow: 0 0 1px rgba(255,255,255,.16) !important;
            animation: mvm777OpenAllCountAttention 3s ease-in-out infinite !important;
            will-change: background-position, transform !important;

            writing-mode: horizontal-tb !important;
            text-orientation: mixed !important;
            transform: none !important;
            text-align: center !important;
            white-space: nowrap !important;
            overflow: visible !important;
            font-size: clamp(17px, 1.4vw, 23px) !important;
            line-height: 1 !important;
            font-weight: 700 !important;
            font-variant-numeric: tabular-nums !important;
            letter-spacing: -.02em !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
            position: absolute !important;
            inset-inline-start: 50% !important;
            bottom: var(--mvm777-open-all-padding-bottom) !important;
            top: auto !important;
            margin: 0 !important;
            padding: 0 !important;

            display: block !important;
            inline-size: min(var(--mvm777-open-all-plus-size), calc(100% - 8px)) !important;
            block-size: auto !important;
            min-inline-size: 0 !important;
            min-block-size: 0 !important;
            max-inline-size: var(--mvm777-open-all-plus-size) !important;
            max-block-size: var(--mvm777-open-all-plus-size) !important;
            aspect-ratio: 1 / 1 !important;
            flex: 0 0 auto !important;

            border: 1px solid rgba(255,255,255,.9) !important;
            border-radius: 50% !important;
            background: rgba(255,255,255,.14) !important;
            box-sizing: border-box !important;
            transform: translateX(-50%) !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
            content: "" !important;
            position: absolute !important;
            top: 50% !important;
            left: 50% !important;
            inline-size: 46% !important;
            block-size: 2px !important;
            min-inline-size: 0 !important;
            min-block-size: 0 !important;
            max-inline-size: none !important;
            max-block-size: 2px !important;
            border: 0 !important;
            border-radius: 999px !important;
            background: #fff !important;
            transform: translate(-50%, -50%) !important;
            transform-origin: center !important;
            box-sizing: border-box !important;
        }

        .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
            transform: translate(-50%, -50%) rotate(90deg) !important;
        }

        @keyframes mvm777OpenAllCountAttention {
            0%, 18%, 100% {
                background-position: 130% 50%;
                transform: scale(1);
            }
            48% {
                background-position: -105% 50%;
                transform: scale(1.055);
            }
            68% {
                background-position: -105% 50%;
                transform: scale(1);
            }
        }

        @media (max-width: 1024px) {
            .mvm777-gallery-v10 .mvm777-open-all,
            .mvm777-gallery-v10 .mvm777-open-all:hover,
            .mvm777-gallery-v10 .mvm777-open-all:focus,
            .mvm777-gallery-v10 .mvm777-open-all:active {
                --mvm777-open-all-width: 42px;
                --mvm777-open-all-height: 102px;
                --mvm777-open-all-padding-x: 4px;
                --mvm777-open-all-padding-top: 8px;
                --mvm777-open-all-padding-bottom: 4px;
                --mvm777-open-all-plus-size: 24px;
                bottom: 8px !important;
                inline-size: min(var(--mvm777-open-all-width), calc(100% - 4px)) !important;
                block-size: min(var(--mvm777-open-all-height), calc(100% - 16px)) !important;
                max-block-size: calc(100% - 16px) !important;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
                font-size: clamp(15px, 2vw, 20px) !important;
            }
        }

        @media (max-width: 580px) {
            .mvm777-gallery-v10 .mvm777-open-all,
            .mvm777-gallery-v10 .mvm777-open-all:hover,
            .mvm777-gallery-v10 .mvm777-open-all:focus,
            .mvm777-gallery-v10 .mvm777-open-all:active {
                --mvm777-open-all-width: 32px;
                --mvm777-open-all-height: 82px;
                --mvm777-open-all-padding-x: 2px;
                --mvm777-open-all-padding-top: 6px;
                --mvm777-open-all-padding-bottom: 3px;
                --mvm777-open-all-plus-size: 18px;
                top: 50% !important;
                bottom: auto !important;
                inline-size: min(var(--mvm777-open-all-width), calc(100% - 2px)) !important;
                block-size: min(var(--mvm777-open-all-height), calc(100% - 12px)) !important;
                max-block-size: calc(100% - 12px) !important;
                transform: translate(-50%, -50%) !important;
            }

            .mvm777-gallery-v10 .mvm777-open-all:hover {
                transform: translate(-50%, calc(-50% - 1px)) !important;
            }

            .mvm777-gallery-v10 .mvm777-open-all:active {
                transform: translate(-50%, -50%) scale(.96) !important;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
                margin-top: 0 !important;
                font-size: clamp(13px, 4vw, 17px) !important;
            }

            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
            .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
                block-size: 1.5px !important;
                max-block-size: 1.5px !important;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
                animation: none !important;
                background-position: 50% 50% !important;
                transform: none !important;
            }
        }
    

/* ============================================================
   V1.4.0 AUTHORITATIVE LAYOUT / MOBILE / ISOLATION FIXES
   ============================================================ */

/* Prevent host themes from stretching any gallery button. */
.mvm777-gallery-v10 button,
.mvm777-gallery-modal-v10 button {
    margin: 0 !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

/* Requested gap below 580px. */
@media (max-width: 580px) {
    .mvm777-gallery-v10 .mvm777-gallery-accordion {
        --gallery-gap: 5px !important;
    }
}

/* Open-all: bottom anchored, compact count-to-plus spacing, never centered. */
.mvm777-gallery-v10 .mvm777-open-all,
.mvm777-gallery-v10 .mvm777-open-all:hover,
.mvm777-gallery-v10 .mvm777-open-all:focus,
.mvm777-gallery-v10 .mvm777-open-all:active {
    --mvm777-open-all-width: 48px;
    --mvm777-open-all-height: 88px;
    --mvm777-open-all-plus-size: 28px;
    --mvm777-open-all-bottom: 8px;
    position: absolute !important;
    inset-inline-start: 50% !important;
    inset-inline-end: auto !important;
    top: auto !important;
    bottom: var(--mvm777-open-all-bottom) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    inline-size: min(var(--mvm777-open-all-width), calc(100% - 4px)) !important;
    block-size: min(var(--mvm777-open-all-height), calc(100% - 16px)) !important;
    min-inline-size: 0 !important;
    min-block-size: 0 !important;
    max-inline-size: var(--mvm777-open-all-width) !important;
    max-block-size: calc(100% - 16px) !important;
    padding: 8px 4px 4px !important;
    overflow: hidden !important;
    border: 1px solid #fff !important;
    border-radius: 999px !important;
    color: #fff !important;
    background: rgba(0,0,0,.38) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,.08) !important;
    transform: translateX(-50%) !important;
}

.mvm777-gallery-v10 .mvm777-open-all:hover {
    transform: translateX(-50%) translateY(-2px) !important;
}

.mvm777-gallery-v10 .mvm777-open-all:active {
    transform: translateX(-50%) scale(.96) !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
    display: block !important;
    inline-size: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: linear-gradient(105deg,#fff 0%,#fff 42%,#8c8c8c 49%,#fff 50%,#8c8c8c 51%,#fff 58%,#fff 100%) !important;
    background-size: 240% 100% !important;
    background-position: 130% 50% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 1px rgba(255,255,255,.16) !important;
    animation: mvm777OpenAllCountAttentionV14 3s ease-in-out infinite !important;
    font-size: clamp(17px,1.4vw,23px) !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    white-space: nowrap !important;
    will-change: background-position,transform !important;
    transform-origin: center !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
    position: absolute !important;
    inset-inline-start: 50% !important;
    bottom: 4px !important;
    inline-size: min(var(--mvm777-open-all-plus-size), calc(100% - 8px)) !important;
    block-size: min(var(--mvm777-open-all-plus-size), calc(100% - 8px)) !important;
    min-inline-size: 0 !important;
    min-block-size: 0 !important;
    max-inline-size: var(--mvm777-open-all-plus-size) !important;
    max-block-size: var(--mvm777-open-all-plus-size) !important;
    padding: 0 !important;
    margin: 0 !important;
    aspect-ratio: 1 / 1 !important;
    border: 1px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.14) !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 46% !important;
    height: 2px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #fff !important;
    transform: translate(-50%,-50%) !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
    transform: translate(-50%,-50%) rotate(90deg) !important;
}

@keyframes mvm777OpenAllCountAttentionV14 {
    0%,18%,100% { background-position:130% 50%; transform:scale(1); }
    48% { background-position:-105% 50%; transform:scale(1.1); }
    68% { background-position:-105% 50%; transform:scale(1); }
}

@media (max-width: 1024px) {
    .mvm777-gallery-v10 .mvm777-open-all,
    .mvm777-gallery-v10 .mvm777-open-all:hover,
    .mvm777-gallery-v10 .mvm777-open-all:focus,
    .mvm777-gallery-v10 .mvm777-open-all:active {
        --mvm777-open-all-width: 42px;
        --mvm777-open-all-height: 76px;
        --mvm777-open-all-plus-size: 23px;
        --mvm777-open-all-bottom: 7px;
        padding: 7px 3px 3px !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
        font-size: clamp(15px,2vw,20px) !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus { bottom: 3px !important; }
}

@media (max-width: 580px) {
    .mvm777-gallery-v10 .mvm777-open-all,
    .mvm777-gallery-v10 .mvm777-open-all:hover,
    .mvm777-gallery-v10 .mvm777-open-all:focus,
    .mvm777-gallery-v10 .mvm777-open-all:active {
        --mvm777-open-all-width: 31px;
        --mvm777-open-all-height: 59px;
        --mvm777-open-all-plus-size: 17px;
        --mvm777-open-all-bottom: 5px;
        top: auto !important;
        bottom: var(--mvm777-open-all-bottom) !important;
        padding: 5px 2px 2px !important;
        transform: translateX(-50%) !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all:hover {
        transform: translateX(-50%) translateY(-1px) !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all:active {
        transform: translateX(-50%) scale(.96) !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
        font-size: clamp(12px,3.8vw,15px) !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
        bottom: 2px !important;
    }
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
        height: 1.5px !important;
    }
}

/* Modal thumbs: force real dimensions and visibility on mobile/lazy-load themes. */
.mvm777-gallery-modal-v10 .mvm777-modal-thumb,
.mvm777-gallery-modal-v10 .mvm777-modal-thumb:hover,
.mvm777-gallery-modal-v10 .mvm777-modal-thumb:focus,
.mvm777-gallery-modal-v10 .mvm777-modal-thumb:active {
    flex-shrink: 0 !important;
    min-width: 54px !important;
    min-height: 42px !important;
}

.mvm777-gallery-modal-v10 .mvm777-modal-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    object-fit: cover !important;
}

@media (max-width: 580px) {
    .mvm777-gallery-modal-v10 .mvm777-modal-navigation {
        width: min(100%,calc(100vw - 12px)) !important;
        max-width: calc(100vw - 12px) !important;
    }
    .mvm777-gallery-modal-v10 .mvm777-modal-nav-media {
        min-height: 48px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
        animation: none !important;
        transform: none !important;
    }
}


/* ============================================================
   V1.4.1 DEFINITIVE PLAY ICON, OPEN-ALL AND POSTER FIXES
   ============================================================ */

/* The requested 45/40/35 dimensions apply to the PLAY ICON, not its glass container. */
.mvm777-gallery-v10 .mvm777-big-play,
.mvm777-gallery-v10 .mvm777-big-play:hover,
.mvm777-gallery-v10 .mvm777-big-play:focus,
.mvm777-gallery-v10 .mvm777-big-play:active {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
    inline-size: 80px !important;
    block-size: 80px !important;
    min-inline-size: 80px !important;
    min-block-size: 80px !important;
    max-inline-size: 80px !important;
    max-block-size: 80px !important;
    flex: 0 0 80px !important;
    flex-basis: 80px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
}

.mvm777-gallery-v10 .mvm777-big-play svg {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    max-width: 45px !important;
    max-height: 45px !important;
    margin-left: 3px !important;
}

/* Keep the complete-gallery pill centered INSIDE the last slide and exactly 10px above its bottom edge. */
.mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all {
    position: relative !important;
}

.mvm777-gallery-v10 .mvm777-open-all,
.mvm777-gallery-v10 .mvm777-open-all:hover,
.mvm777-gallery-v10 .mvm777-open-all:focus,
.mvm777-gallery-v10 .mvm777-open-all:active {
    position: absolute !important;
    inset: auto !important;
    inset-inline: auto !important;
    inset-block: auto !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: min(48px, calc(100% - 6px)) !important;
    height: min(108px, calc(100% - 20px)) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 48px !important;
    max-height: calc(100% - 20px) !important;
    inline-size: min(48px, calc(100% - 6px)) !important;
    block-size: min(108px, calc(100% - 20px)) !important;
    min-inline-size: 0 !important;
    min-block-size: 0 !important;
    max-inline-size: 48px !important;
    max-block-size: calc(100% - 20px) !important;
    gap: 6px !important;
    padding: 9px 4px 5px !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: 1px solid #fff !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    transform: translateX(-50%) !important;
    transform-origin: center bottom !important;
}

.mvm777-gallery-v10 .mvm777-open-all:hover {
    transform: translateX(-50%) translateY(-2px) !important;
}

.mvm777-gallery-v10 .mvm777-open-all:active {
    transform: translateX(-50%) scale(.96) !important;
}

/* The plus participates in the pill's flex layout; it can no longer escape to the left. */
.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
    position: relative !important;
    inset: auto !important;
    inset-inline: auto !important;
    inset-block: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    flex: 0 0 auto !important;
    width: min(27px, calc(100% - 6px)) !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 27px !important;
    max-height: 27px !important;
    inline-size: min(27px, calc(100% - 6px)) !important;
    block-size: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: auto 0 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.14) !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
    top: 50% !important;
    left: 50% !important;
    width: 46% !important;
    height: 2px !important;
    transform: translate(-50%,-50%) !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
    transform: translate(-50%,-50%) rotate(90deg) !important;
}

@media (max-width: 1024px) {
    .mvm777-gallery-v10 .mvm777-big-play,
    .mvm777-gallery-v10 .mvm777-big-play:hover,
    .mvm777-gallery-v10 .mvm777-big-play:focus,
    .mvm777-gallery-v10 .mvm777-big-play:active {
        width: 65px !important;
        height: 65px !important;
        min-width: 65px !important;
        min-height: 65px !important;
        max-width: 65px !important;
        max-height: 65px !important;
        inline-size: 65px !important;
        block-size: 65px !important;
        min-inline-size: 65px !important;
        min-block-size: 65px !important;
        max-inline-size: 65px !important;
        max-block-size: 65px !important;
        flex: 0 0 65px !important;
        flex-basis: 65px !important;
    }

    .mvm777-gallery-v10 .mvm777-big-play svg {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        margin-left: 2px !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all,
    .mvm777-gallery-v10 .mvm777-open-all:hover,
    .mvm777-gallery-v10 .mvm777-open-all:focus,
    .mvm777-gallery-v10 .mvm777-open-all:active {
        bottom: 10px !important;
        width: min(42px, calc(100% - 4px)) !important;
        height: min(92px, calc(100% - 20px)) !important;
        max-width: 42px !important;
        max-height: calc(100% - 20px) !important;
        inline-size: min(42px, calc(100% - 4px)) !important;
        block-size: min(92px, calc(100% - 20px)) !important;
        max-inline-size: 42px !important;
        max-block-size: calc(100% - 20px) !important;
        padding: 7px 3px 4px !important;
        gap: 4px !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
        width: min(23px, calc(100% - 6px)) !important;
        max-width: 23px !important;
        max-height: 23px !important;
        inline-size: min(23px, calc(100% - 6px)) !important;
    }
}

@media (max-width: 768px) {
    .mvm777-gallery-v10 .mvm777-big-play,
    .mvm777-gallery-v10 .mvm777-big-play:hover,
    .mvm777-gallery-v10 .mvm777-big-play:focus,
    .mvm777-gallery-v10 .mvm777-big-play:active {
        width: 55px !important;
        height: 55px !important;
        min-width: 55px !important;
        min-height: 55px !important;
        max-width: 55px !important;
        max-height: 55px !important;
        inline-size: 55px !important;
        block-size: 55px !important;
        min-inline-size: 55px !important;
        min-block-size: 55px !important;
        max-inline-size: 55px !important;
        max-block-size: 55px !important;
        flex: 0 0 55px !important;
        flex-basis: 55px !important;
    }

    .mvm777-gallery-v10 .mvm777-big-play svg {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;
        max-width: 35px !important;
        max-height: 35px !important;
        margin-left: 2px !important;
    }
}

@media (max-width: 580px) {
    .mvm777-gallery-v10 .mvm777-open-all,
    .mvm777-gallery-v10 .mvm777-open-all:hover,
    .mvm777-gallery-v10 .mvm777-open-all:focus,
    .mvm777-gallery-v10 .mvm777-open-all:active {
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: 10px !important;
        width: min(32px, calc(100% - 2px)) !important;
        height: min(66px, calc(100% - 20px)) !important;
        max-width: 32px !important;
        max-height: calc(100% - 20px) !important;
        inline-size: min(32px, calc(100% - 2px)) !important;
        block-size: min(66px, calc(100% - 20px)) !important;
        max-inline-size: 32px !important;
        max-block-size: calc(100% - 20px) !important;
        padding: 5px 2px 3px !important;
        gap: 2px !important;
        transform: translateX(-50%) !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all:hover {
        transform: translateX(-50%) translateY(-1px) !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all:active {
        transform: translateX(-50%) scale(.96) !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
        width: min(18px, calc(100% - 4px)) !important;
        max-width: 18px !important;
        max-height: 18px !important;
        inline-size: min(18px, calc(100% - 4px)) !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::before,
    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus::after {
        height: 1.5px !important;
    }
}


/* ============================================================
   V1.4.2 MOBILE THUMBNAIL + COMPACT OPEN-ALL FIXES
   ============================================================ */

/* Background-backed thumbnail surfaces bypass mobile lazy-load/theme IMG conflicts. */
.mvm777-gallery-modal-v10 .mvm777-modal-thumb .mvm777-modal-thumb-surface,
.mvm777-gallery-modal-v10 .mvm777-modal-thumb .mvm777-modal-thumb-video-frame {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

.mvm777-gallery-modal-v10 .mvm777-modal-thumb .mvm777-modal-thumb-surface {
    background-color: rgba(255,255,255,.08) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

.mvm777-gallery-modal-v10 .mvm777-modal-thumb .mvm777-modal-thumb-video-frame {
    object-fit: cover !important;
    object-position: center center !important;
    background: linear-gradient(145deg,#252525,#070707) !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.mvm777-gallery-modal-v10 .mvm777-modal-thumb .mvm777-modal-thumb-video-frame:not(.is-ready) {
    opacity: .35 !important;
}

.mvm777-gallery-modal-v10 .mvm777-modal-thumb .mvm777-modal-thumb-video-frame.is-ready {
    opacity: 1 !important;
}

/* The badge must remain above both background surfaces and live first-frame videos. */
.mvm777-gallery-modal-v10 .mvm777-modal-thumb-video-badge {
    z-index: 4 !important;
}

/* Compact the view-all pill and halve count-to-plus spacing without moving it from the bottom. */
.mvm777-gallery-v10 .mvm777-open-all,
.mvm777-gallery-v10 .mvm777-open-all:hover,
.mvm777-gallery-v10 .mvm777-open-all:focus,
.mvm777-gallery-v10 .mvm777-open-all:active {
    height: min(88px, calc(100% - 20px)) !important;
    block-size: min(88px, calc(100% - 20px)) !important;
    justify-content: flex-end !important;
    gap: 3px !important;
    padding-top: 7px !important;
    padding-bottom: 5px !important;
}

.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .mvm777-gallery-v10 .mvm777-open-all,
    .mvm777-gallery-v10 .mvm777-open-all:hover,
    .mvm777-gallery-v10 .mvm777-open-all:focus,
    .mvm777-gallery-v10 .mvm777-open-all:active {
        height: min(74px, calc(100% - 20px)) !important;
        block-size: min(74px, calc(100% - 20px)) !important;
        gap: 2px !important;
        padding-top: 5px !important;
        padding-bottom: 4px !important;
    }
}

@media (max-width: 580px) {
    .mvm777-gallery-v10 .mvm777-gallery-accordion {
        --gallery-gap: 5px !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all,
    .mvm777-gallery-v10 .mvm777-open-all:hover,
    .mvm777-gallery-v10 .mvm777-open-all:focus,
    .mvm777-gallery-v10 .mvm777-open-all:active {
        height: min(52px, calc(100% - 20px)) !important;
        block-size: min(52px, calc(100% - 20px)) !important;
        gap: 1px !important;
        padding: 3px 2px 3px !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all .mvm777-open-all-count {
        line-height: .95 !important;
    }

    .mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
        width: min(17px, calc(100% - 4px)) !important;
        inline-size: min(17px, calc(100% - 4px)) !important;
        max-width: 17px !important;
        max-height: 17px !important;
    }

    /* Force thumbnail geometry and paint containment on very small devices. */
    .mvm777-gallery-modal-v10 .mvm777-modal-thumb {
        position: relative !important;
        isolation: isolate !important;
        contain: layout paint !important;
        background: rgba(255,255,255,.1) !important;
    }
}

/* ============================================================
   V1.4.4 SAFE RESPONSIVE SLIDE COUNT + RADIUS SYSTEM
   All selectors stay scoped to the gallery root.
   ============================================================ */

.mvm777-gallery-v10 .mvm777-open-all,
.mvm777-gallery-v10 .mvm777-open-all:hover,
.mvm777-gallery-v10 .mvm777-open-all:focus,
.mvm777-gallery-v10 .mvm777-open-all:active,
.mvm777-gallery-v10 .mvm777-open-all .mvm777-plus {
    border-color: #ffffff4a !important;
}

@media (min-width: 1201px) {
    .mvm777-gallery-v10 .mvm777-gallery-panel,
    .mvm777-gallery-v10 .mvm777-gallery-panel > img,
    .mvm777-gallery-v10 .mvm777-gallery-panel > video,
    .mvm777-gallery-v10 .mvm777-video-poster,
    .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all::after {
        border-radius: 70px !important;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .mvm777-gallery-v10 .mvm777-gallery-panel,
    .mvm777-gallery-v10 .mvm777-gallery-panel > img,
    .mvm777-gallery-v10 .mvm777-gallery-panel > video,
    .mvm777-gallery-v10 .mvm777-video-poster,
    .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all::after {
        border-radius: 50px !important;
    }
}

@media (max-width: 768px) {
    .mvm777-gallery-v10 .mvm777-gallery-panel,
    .mvm777-gallery-v10 .mvm777-gallery-panel > img,
    .mvm777-gallery-v10 .mvm777-gallery-panel > video,
    .mvm777-gallery-v10 .mvm777-video-poster,
    .mvm777-gallery-v10 .mvm777-gallery-panel.has-open-all::after {
        border-radius: 25px !important;
    }
}



/* mvm777-security-hardening | Cooked by @iamiladg */

.mvm777-gallery-v10 img,
.mvm777-gallery-v10 video,
.mvm777-gallery-v10 .mvm777-video-poster,
.mvm777-gallery-v10 .mvm777-modal-thumb,
.mvm777-gallery-modal-v10 img,
.mvm777-gallery-modal-v10 video,
.mvm777-gallery-modal-v10 .mvm777-modal-thumb {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.mvm777-gallery-v10 img::selection,
.mvm777-gallery-v10 video::selection,
.mvm777-gallery-modal-v10 img::selection,
.mvm777-gallery-modal-v10 video::selection {
    background: transparent !important;
}
