.qiyun-gallery {
    --qiyun-gallery-border: #dbe3ec;
    --qiyun-gallery-accent: #0f172a;
    --qiyun-gallery-muted: #64748b;
    --qiyun-gallery-control-bg: rgba(255, 255, 255, .82);
    --qiyun-gallery-radius-main: 8px;
    --qiyun-gallery-radius-thumb: 6px;
    --qiyun-gallery-shadow-control: 0 8px 24px rgba(15, 23, 42, .1), 0 1px 3px rgba(15, 23, 42, .06);
    --qiyun-gallery-thumbs-current: var(--qiyun-gallery-thumbs-pc, 5);
    --qiyun-gallery-thumb-width-current: var(--qiyun-gallery-thumb-width-pc);
    --qiyun-gallery-main-ratio: 1 / 1;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.qiyun-gallery *,
.qiyun-gallery *::before,
.qiyun-gallery *::after {
    box-sizing: border-box;
}

.qiyun-gallery__stage,
.qiyun-gallery__main {
    width: 100%;
}

.qiyun-gallery__stage {
    position: relative;
}

.qiyun-gallery__preloads {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
}

.qiyun-gallery__preload-image {
    position: absolute;
    width: 1px;
    height: 1px;
}

.qiyun-gallery__main {
    position: relative;
    aspect-ratio: var(--qiyun-gallery-main-ratio);
    height: auto;
    overflow: hidden;
    border: 1px solid var(--qiyun-gallery-border);
    border-radius: var(--qiyun-gallery-radius-main);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
    isolation: isolate;
}

.qiyun-gallery__main[role="button"] {
    cursor: zoom-in;
}

.qiyun-gallery .qiyun-gallery__main-image,
.qiyun-gallery .qiyun-gallery__main-video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: var(--qiyun-gallery-main-ratio);
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fff;
}

.qiyun-gallery__main-video {
    background: #000;
}

.qiyun-gallery iframe.qiyun-gallery__main-video,
.qiyun-gallery iframe.qiyun-gallery__grid-video,
.qiyun-gallery-lightbox iframe.qiyun-gallery-lightbox__video {
    border: 0;
}

.qiyun-gallery__main-track {
    --qiyun-gallery-main-slide-shift: -100%;
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition: none;
    will-change: transform;
}

.qiyun-gallery__main-track--start-next {
    transform: translate3d(0, 0, 0);
}

.qiyun-gallery__main-track--end-next {
    transform: translate3d(var(--qiyun-gallery-main-slide-shift), 0, 0);
}

.qiyun-gallery__main-track--start-prev {
    transform: translate3d(var(--qiyun-gallery-main-slide-shift), 0, 0);
}

.qiyun-gallery__main-track--end-prev {
    transform: translate3d(0, 0, 0);
}

.qiyun-gallery__main-item {
    position: absolute;
    inset: 0;
    width: 100%;
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.qiyun-gallery__main-track .qiyun-gallery__main-item {
    position: relative;
    inset: auto;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    transition: none;
    will-change: auto;
}

.qiyun-gallery__main-item--loading::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)) 0 0 / 200% 100%,
        linear-gradient(90deg, #f1f5f9, #e2e8f0, #f1f5f9);
    animation: qiyunGalleryLoading 1.1s linear infinite;
    pointer-events: none;
}

.qiyun-gallery__main-item--active {
    transform: translateX(0);
}

.qiyun-gallery__main-item--enter-next {
    transform: translateX(100%);
}

.qiyun-gallery__main-item--enter-prev {
    transform: translateX(-100%);
}

.qiyun-gallery__main-item--leave-prev {
    transform: translateX(-100%);
}

.qiyun-gallery__main-item--leave-next {
    transform: translateX(100%);
}

.qiyun-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 50%;
    color: #475569;
    background: rgba(255, 255, 255, .46);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.qiyun-gallery__arrow::before,
.qiyun-gallery__arrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    width: 12px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.qiyun-gallery__arrow--prev::before,
.qiyun-gallery__arrow--prev::after {
    left: calc(50% - 4px);
    transform-origin: 1.5px 50%;
}

.qiyun-gallery__arrow--prev::before {
    transform: translateY(-50%) rotate(45deg);
}

.qiyun-gallery__arrow--prev::after {
    transform: translateY(-50%) rotate(-45deg);
}

.qiyun-gallery__arrow--next::before,
.qiyun-gallery__arrow--next::after {
    left: calc(50% - 6px);
    transform-origin: calc(100% - 1.5px) 50%;
}

.qiyun-gallery__arrow--next::before {
    transform: translateY(-50%) rotate(45deg);
}

.qiyun-gallery__arrow--next::after {
    transform: translateY(-50%) rotate(-45deg);
}

.qiyun-gallery__arrow:hover {
    color: var(--qiyun-gallery-accent);
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .12), 0 2px 6px rgba(15, 23, 42, .06);
    transform: translateY(-50%) scale(1.035);
}

.qiyun-gallery__arrow--prev { left: 14px; }
.qiyun-gallery__arrow--next { right: 14px; }

.qiyun-gallery__thumbs-wrap {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 14px;
    overflow: hidden;
    border-radius: var(--qiyun-gallery-radius-thumb);
}

.qiyun-gallery__thumbs {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    scrollbar-width: none;
    scroll-behavior: auto;
}

.qiyun-gallery__thumbs::-webkit-scrollbar { display: none; }

.qiyun-gallery__thumb {
    position: relative;
    flex: 0 0 var(--qiyun-gallery-thumb-width-current);
    max-width: var(--qiyun-gallery-thumb-width-current);
    display: block;
    width: var(--qiyun-gallery-thumb-width-current);
    aspect-ratio: var(--qiyun-gallery-main-ratio);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--qiyun-gallery-border);
    border-radius: var(--qiyun-gallery-radius-thumb);
    background: #fff;
    cursor: pointer;
    opacity: .72;
    transition: border-color .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.qiyun-gallery__thumb:hover {
    border-color: #94a3b8;
    opacity: .92;
}

.qiyun-gallery__thumb--active {
    border-color: var(--qiyun-gallery-accent);
    opacity: 1;
    box-shadow: 0 0 0 1px var(--qiyun-gallery-accent), 0 0 0 1px var(--qiyun-gallery-accent) inset;
}

.qiyun-gallery .qiyun-gallery__thumb-image {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: var(--qiyun-gallery-main-ratio);
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fff;
}

.qiyun-gallery__thumb--video { background: #0f172a; }

.qiyun-gallery__video-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.qiyun-gallery__play-mark {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(15, 23, 42, .7);
    box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
    transform: translate(-50%, -50%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background-color .18s ease, transform .18s ease;
}

.qiyun-gallery__thumb:hover .qiyun-gallery__play-mark {
    background: rgba(15, 23, 42, .86);
    transform: translate(-50%, -50%) scale(1.04);
}

.qiyun-gallery__play-mark::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 9px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid #fff;
}

.qiyun-gallery__thumb-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #334155;
    background: rgb(255 255 255 / 50%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .1);
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition: background-color .18s ease, color .18s ease, opacity .18s ease, box-shadow .18s ease, transform .18s ease;
}

.qiyun-gallery__thumb-arrow::before,
.qiyun-gallery__thumb-arrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    width: 9px;
    height: 2.5px;
    border-radius: 999px;
    background: currentColor;
}

.qiyun-gallery__thumb-arrow--prev::before,
.qiyun-gallery__thumb-arrow--prev::after {
    left: calc(50% - 3px);
    transform-origin: 1.25px 50%;
}

.qiyun-gallery__thumb-arrow--prev::before {
    transform: translateY(-50%) rotate(45deg);
}

.qiyun-gallery__thumb-arrow--prev::after {
    transform: translateY(-50%) rotate(-45deg);
}

.qiyun-gallery__thumb-arrow--next::before,
.qiyun-gallery__thumb-arrow--next::after {
    left: calc(50% - 5px);
    transform-origin: calc(100% - 1.25px) 50%;
}

.qiyun-gallery__thumb-arrow--next::before {
    transform: translateY(-50%) rotate(45deg);
}

.qiyun-gallery__thumb-arrow--next::after {
    transform: translateY(-50%) rotate(-45deg);
}

.qiyun-gallery__thumb-arrow:hover {
    color: var(--qiyun-gallery-accent);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 6px 16px rgba(15, 23, 42, .12), 0 1px 3px rgba(15, 23, 42, .06);
    transform: translateY(-50%) scale(1.035);
}

.qiyun-gallery__thumb-arrow--prev { left: 2px; }
.qiyun-gallery__thumb-arrow--next { right: 2px; }

.qiyun-gallery--thumbs-start .qiyun-gallery__thumb-arrow--prev,
.qiyun-gallery--thumbs-end .qiyun-gallery__thumb-arrow--next {
    opacity: .35;
    cursor: default;
}

.qiyun-gallery__grid {
    display: none;
}

.qiyun-gallery__grid-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: var(--qiyun-gallery-main-ratio);
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--qiyun-gallery-border);
    border-radius: var(--qiyun-gallery-radius-main);
    background: #fff;
    cursor: pointer;
}

.qiyun-gallery__grid-item--featured { grid-column: 1 / -1; }

.qiyun-gallery .qiyun-gallery__grid-image,
.qiyun-gallery .qiyun-gallery__grid-video {
    display: block;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: var(--qiyun-gallery-main-ratio);
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #fff;
}

.qiyun-gallery__thumb:focus-visible,
.qiyun-gallery__arrow:focus-visible,
.qiyun-gallery__thumb-arrow:focus-visible,
.qiyun-gallery__grid-item:focus-visible,
.qiyun-gallery__main:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.qiyun-gallery__live {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.qiyun-gallery-lightbox-open {
    overflow: hidden;
}

.qiyun-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 72px;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 28px;
    background: rgba(9, 9, 11, .94);
}

.qiyun-gallery-lightbox__viewport {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.qiyun-gallery-lightbox__track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.qiyun-gallery-lightbox__item {
    flex: 0 0 100%;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
}

.qiyun-gallery-lightbox__image,
.qiyun-gallery-lightbox__video {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 96px);
    object-fit: contain;
    background: #000;
}

.qiyun-gallery-lightbox__video {
    width: min(100%, 1180px);
    aspect-ratio: 16 / 9;
}

.qiyun-gallery-lightbox__close,
.qiyun-gallery-lightbox__arrow {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    background: rgba(255, 255, 255, .1);
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transition: background-color .18s ease, opacity .18s ease, transform .18s ease;
}

.qiyun-gallery-lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
}

.qiyun-gallery-lightbox__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.qiyun-gallery-lightbox__arrow::before,
.qiyun-gallery-lightbox__arrow::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    width: 13px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
}

.qiyun-gallery-lightbox__arrow--prev::before,
.qiyun-gallery-lightbox__arrow--prev::after {
    left: calc(50% - 4px);
    transform-origin: 1.5px 50%;
}

.qiyun-gallery-lightbox__arrow--prev::before {
    transform: translateY(-50%) rotate(45deg);
}

.qiyun-gallery-lightbox__arrow--prev::after {
    transform: translateY(-50%) rotate(-45deg);
}

.qiyun-gallery-lightbox__arrow--next::before,
.qiyun-gallery-lightbox__arrow--next::after {
    left: calc(50% - 6px);
    transform-origin: calc(100% - 1.5px) 50%;
}

.qiyun-gallery-lightbox__arrow--next::before {
    transform: translateY(-50%) rotate(45deg);
}

.qiyun-gallery-lightbox__arrow--next::after {
    transform: translateY(-50%) rotate(-45deg);
}

.qiyun-gallery-lightbox__arrow--prev {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
}

.qiyun-gallery-lightbox__arrow--next {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
}

.qiyun-gallery-lightbox__close:hover,
.qiyun-gallery-lightbox__arrow:hover {
    background: rgba(255, 255, 255, .18);
    transform: scale(1.04);
}

.qiyun-gallery-lightbox__close:focus-visible,
.qiyun-gallery-lightbox__arrow:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.qiyun-gallery-lightbox__counter {
    grid-column: 1 / -1;
    grid-row: 2;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    opacity: .78;
}

.qiyun-gallery-layout-pc-thumbs_left {
    display: block;
    padding-left: 98px;
    position: relative;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__stage {
    width: 100%;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow {
    position: absolute;
    top: 50%;
    left: auto;
    right: auto;
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
    margin: 0;
    transform: translateY(-50%);
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow:hover {
    transform: translateY(-50%) scale(1.035);
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow--prev {
    left: 14px;
    right: auto;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow--next {
    right: 14px;
    left: auto;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumbs-wrap {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 84px;
    height: auto;
    max-height: none;
    min-height: 0;
    margin-top: 0;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumbs {
    flex-direction: column;
    gap: 10px;
    height: 100%;
    min-height: 0;
    max-height: 720px;
    overflow-x: hidden;
    overflow-y: auto;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb {
    flex: 0 0 var(--qiyun-gallery-left-thumb-height, auto);
    height: var(--qiyun-gallery-left-thumb-height, auto);
    width: 84px;
    max-width: 84px;
}

.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="1"] { --qiyun-gallery-left-thumb-height: 100%; }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="2"] { --qiyun-gallery-left-thumb-height: calc((100% - 10px) / 2); }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="3"] { --qiyun-gallery-left-thumb-height: calc((100% - 20px) / 3); }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="4"] { --qiyun-gallery-left-thumb-height: calc((100% - 30px) / 4); }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="5"] { --qiyun-gallery-left-thumb-height: calc((100% - 40px) / 5); }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="6"] { --qiyun-gallery-left-thumb-height: calc((100% - 50px) / 6); }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="7"] { --qiyun-gallery-left-thumb-height: calc((100% - 60px) / 7); }
.qiyun-gallery-layout-pc-thumbs_left[data-thumbs-pc="8"] { --qiyun-gallery-left-thumb-height: calc((100% - 70px) / 8); }

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow {
    left: 50%;
    right: auto;
    width: 38px;
    height: 38px;
    transform: translateX(-50%);
    display: flex;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow:hover {
    transform: translateX(-50%) scale(1.035);
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev { top: 3px; }
.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next { top: auto; bottom: 3px; }

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow::before,
.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow::after {
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2.5px;
    transform-origin: 50% 50%;
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev::before {
    transform: translate(-68%, -50%) rotate(-45deg);
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev::after {
    transform: translate(-32%, -50%) rotate(45deg);
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next::before {
    transform: translate(-68%, -50%) rotate(45deg);
}

.qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next::after {
    transform: translate(-32%, -50%) rotate(-45deg);
}

.qiyun-gallery-layout-pc-no_thumbs .qiyun-gallery__thumbs-wrap,
.qiyun-gallery-layout-pc-grid .qiyun-gallery__stage,
.qiyun-gallery-layout-pc-grid .qiyun-gallery__arrow,
.qiyun-gallery-layout-pc-grid .qiyun-gallery__thumbs-wrap { display: none; }

.qiyun-gallery-layout-pc-grid .qiyun-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (max-width: 1024px) {
    .qiyun-gallery {
        --qiyun-gallery-thumbs-current: var(--qiyun-gallery-thumbs-tablet, 4);
        --qiyun-gallery-thumb-width-current: var(--qiyun-gallery-thumb-width-tablet);
        display: block;
    }

    .qiyun-gallery__stage { display: block; }
    .qiyun-gallery__arrow { display: flex; }
    .qiyun-gallery__thumbs-wrap { display: block; margin-top: 12px; height: auto; }
    .qiyun-gallery__grid { display: none; }

    .qiyun-gallery__thumbs {
        flex-direction: row;
        gap: 12px;
        height: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .qiyun-gallery__thumb {
        flex: 0 0 var(--qiyun-gallery-thumb-width-current);
        width: var(--qiyun-gallery-thumb-width-current);
        max-width: var(--qiyun-gallery-thumb-width-current);
        height: auto;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) {
        padding-left: 0;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumbs-wrap {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        max-height: none;
        margin-top: 12px;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb {
        flex: 0 0 var(--qiyun-gallery-thumb-width-current);
        width: var(--qiyun-gallery-thumb-width-current);
        max-width: var(--qiyun-gallery-thumb-width-current);
        height: auto;
    }

    .qiyun-gallery__thumb-arrow,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow {
        left: auto;
        width: 24px;
        height: 38px;
        transform: translateY(-50%);
    }

    .qiyun-gallery__thumb-arrow--prev,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev { left: 4px; top: 50%; bottom: auto; }
    .qiyun-gallery__thumb-arrow--next,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next { right: 4px; top: 50%; bottom: auto; }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__arrow {
        position: absolute;
        top: 50%;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        margin: 0;
        transform: translateY(-50%);
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__arrow:hover {
        transform: translateY(-50%) scale(1.035);
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__arrow--prev {
        left: 14px;
        right: auto;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__arrow--next {
        right: 14px;
        left: auto;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow:hover {
        transform: translateY(-50%) scale(1.035);
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow::before,
    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow::after {
        top: 50%;
        width: 9px;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--prev::before,
    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--prev::after {
        left: calc(50% - 3px);
        transform-origin: 1.25px 50%;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--prev::before {
        transform: translateY(-50%) rotate(45deg);
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--prev::after {
        transform: translateY(-50%) rotate(-45deg);
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--next::before,
    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--next::after {
        left: calc(50% - 5px);
        transform-origin: calc(100% - 1.25px) 50%;
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--next::before {
        transform: translateY(-50%) rotate(45deg);
    }

    .qiyun-gallery-layout-pc-thumbs_left:not(.qiyun-gallery-layout-tablet-thumbs_left) .qiyun-gallery__thumb-arrow--next::after {
        transform: translateY(-50%) rotate(-45deg);
    }

    .qiyun-gallery-layout-tablet-thumbs_left {
        display: block;
        padding-left: 88px;
        position: relative;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__stage {
        width: 100%;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow {
        position: absolute;
        top: 50%;
        left: auto;
        right: auto;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        margin: 0;
        transform: translateY(-50%);
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow:hover {
        transform: translateY(-50%) scale(1.035);
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow--prev {
        left: 12px;
        right: auto;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow--next {
        right: 12px;
        left: auto;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumbs-wrap {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 76px;
        height: auto;
        max-height: none;
        min-height: 0;
        margin-top: 0;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumbs {
        flex-direction: column;
        gap: 10px;
        height: 100%;
        min-height: 0;
        overflow-x: hidden;
        overflow-y: auto;
    }

.qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb {
        flex: 0 0 var(--qiyun-gallery-left-thumb-height, auto);
        height: var(--qiyun-gallery-left-thumb-height, auto);
        width: 76px;
        max-width: 76px;
    }

    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="1"] { --qiyun-gallery-left-thumb-height: 100%; }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="2"] { --qiyun-gallery-left-thumb-height: calc((100% - 10px) / 2); }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="3"] { --qiyun-gallery-left-thumb-height: calc((100% - 20px) / 3); }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="4"] { --qiyun-gallery-left-thumb-height: calc((100% - 30px) / 4); }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="5"] { --qiyun-gallery-left-thumb-height: calc((100% - 40px) / 5); }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="6"] { --qiyun-gallery-left-thumb-height: calc((100% - 50px) / 6); }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="7"] { --qiyun-gallery-left-thumb-height: calc((100% - 60px) / 7); }
    .qiyun-gallery-layout-tablet-thumbs_left[data-thumbs-tablet="8"] { --qiyun-gallery-left-thumb-height: calc((100% - 70px) / 8); }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow {
        left: 50%;
        right: auto;
        width: 38px;
        height: 38px;
        transform: translateX(-50%);
        display: flex;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow:hover {
        transform: translateX(-50%) scale(1.035);
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev { top: 3px; }
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next { top: auto; bottom: 3px; }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow::before,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow::after {
        top: 50%;
        left: 50%;
        width: 10px;
        height: 2.5px;
        transform-origin: 50% 50%;
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev::before {
        transform: translate(-68%, -50%) rotate(-45deg);
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev::after {
        transform: translate(-32%, -50%) rotate(45deg);
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next::before {
        transform: translate(-68%, -50%) rotate(45deg);
    }

    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next::after {
        transform: translate(-32%, -50%) rotate(-45deg);
    }

    .qiyun-gallery-layout-tablet-no_thumbs .qiyun-gallery__thumbs-wrap,
    .qiyun-gallery-layout-tablet-grid .qiyun-gallery__stage,
    .qiyun-gallery-layout-tablet-grid .qiyun-gallery__arrow,
    .qiyun-gallery-layout-tablet-grid .qiyun-gallery__thumbs-wrap { display: none; }

    .qiyun-gallery-layout-tablet-grid .qiyun-gallery__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .qiyun-gallery {
        max-width: none;
        --qiyun-gallery-thumbs-current: var(--qiyun-gallery-thumbs-mobile, 4);
        --qiyun-gallery-thumb-width-current: var(--qiyun-gallery-thumb-width-mobile);
        display: block;
    }

    .qiyun-gallery__stage { display: block; }
    .qiyun-gallery__arrow { display: flex; width: 36px; height: 36px; font-size: 0; line-height: 0; }
    .qiyun-gallery__thumbs-wrap { display: block; height: auto; margin-top: 8px; }
    .qiyun-gallery__grid { display: none; }

    .qiyun-gallery__thumbs {
        flex-direction: row;
        gap: 8px;
        height: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .qiyun-gallery__thumb {
        flex: 0 0 var(--qiyun-gallery-thumb-width-current);
        width: var(--qiyun-gallery-thumb-width-current);
        max-width: var(--qiyun-gallery-thumb-width-current);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__stage,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__stage {
        grid-column: auto;
        grid-row: auto;
    }

    .qiyun-gallery-layout-pc-thumbs_left,
    .qiyun-gallery-layout-tablet-thumbs_left {
        padding-left: 0;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumbs-wrap,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumbs-wrap {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        grid-column: auto;
        grid-row: auto;
        height: auto;
        max-height: none;
        margin-top: 8px;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumbs,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumbs {
        flex-direction: row;
        gap: 8px;
        height: auto;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb {
        flex: 0 0 var(--qiyun-gallery-thumb-width-current);
        width: var(--qiyun-gallery-thumb-width-current);
        max-width: var(--qiyun-gallery-thumb-width-current);
        height: auto;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow {
        position: absolute;
        top: 50%;
        grid-column: auto;
        grid-row: auto;
        align-self: auto;
        margin: 0;
        transform: translateY(-50%);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow:hover,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow:hover {
        transform: translateY(-50%) scale(1.035);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow--prev,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow--prev {
        left: 14px;
        right: auto;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__arrow--next,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__arrow--next {
        right: 14px;
        left: auto;
    }

    .qiyun-gallery__thumb-arrow,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow {
        left: auto;
        width: 38px;
        height: 38px;
        transform: translateY(-50%);
    }

    .qiyun-gallery__thumb-arrow--prev,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev { left: 3px; top: 50%; bottom: auto; }

    .qiyun-gallery__thumb-arrow--next,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next { right: 3px; top: 50%; bottom: auto; }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow:hover,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow:hover {
        transform: translateY(-50%) scale(1.035);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow::before,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow::after,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow::before,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow::after {
        top: 50%;
        width: 9px;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev::before,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev::after,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev::before,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev::after {
        left: calc(50% - 3px);
        transform-origin: 1.25px 50%;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev::before,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev::before {
        transform: translateY(-50%) rotate(45deg);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--prev::after,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--prev::after {
        transform: translateY(-50%) rotate(-45deg);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next::before,
    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next::after,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next::before,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next::after {
        left: calc(50% - 5px);
        transform-origin: calc(100% - 1.25px) 50%;
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next::before,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next::before {
        transform: translateY(-50%) rotate(45deg);
    }

    .qiyun-gallery-layout-pc-thumbs_left .qiyun-gallery__thumb-arrow--next::after,
    .qiyun-gallery-layout-tablet-thumbs_left .qiyun-gallery__thumb-arrow--next::after {
        transform: translateY(-50%) rotate(-45deg);
    }

    .qiyun-gallery-layout-mobile-no_thumbs .qiyun-gallery__thumbs-wrap { display: none; }

    .qiyun-gallery-lightbox {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        gap: 6px;
        padding: 16px 8px;
    }

    .qiyun-gallery-lightbox__close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .qiyun-gallery-lightbox__arrow {
        width: 40px;
        height: 40px;
    }

    .qiyun-gallery-lightbox__image,
    .qiyun-gallery-lightbox__video {
        max-height: calc(100vh - 82px);
    }
}

@keyframes qiyunGalleryMediaIn {
    from { opacity: .2; transform: translateX(-8px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes qiyunGalleryLoading {
    from { background-position: 200% 0, 0 0; }
    to { background-position: -200% 0, 0 0; }
}
