.photo-modal {
    display: flex;
    width: calc(2790px * 0.3);
    height: calc(1758px * 0.3);
    padding: 50px;
    box-sizing: border-box;
    background: url(assets/bg@desktop.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.photo-modal .close {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    user-select: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-color: red;
    background: url(assets/btn-close.png) no-repeat center center;
    background-size: contain;
}

.photo-modal .photo {
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
}

.photo-modal .head .title {
    min-height: 60px;
    font-family: SourceHanSerifSC-Bold;
    font-size: 24px;
    color: #513724;
    letter-spacing: 0;
    text-align: left;
    font-weight: 700;
    vertical-align: bottom;
}
.photo-modal .content .title::after{
    content: ' ';
    padding: 15px;
    background: url(assets/icon2x.png) no-repeat center center;
    background-size: contain;
    margin: 0 10px;
}
.icon-cloud{
    background: url(assets/icon2x.png) no-repeat center center;
    background-size: contain;
    display: inline-block;
    width: 96px;
    height: 42px;
    transform-origin: left bottom;
    transform: translateX(10px) scale(0.3);
}
.photo-modal .photo{
    position: relative;
    cursor: pointer;
}
.photo-modal .photo>img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    background-color: #F4DBB8;
    border-radius: 15px;
}
.photo-modal .photo span{
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    background: url(assets/btn-plus@3x.png) no-repeat center;
    background-size: contain;
    cursor: pointer;
    border-radius: 50%;
    pointer-events: none;
}
.photo-modal .content {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    padding: 16px;
    box-sizing: border-box;
}

.photo-modal .content .text {
    flex-grow: 1;
    font-family: PingFangSC-Regular;
    font-size: 18px;
    color: #513724;
    letter-spacing: 0;
    text-align: left;
    line-height: 40px;
    font-weight: 400;
    overflow: auto;
    text-indent: 2em;
}

.photo-modal .content .footer {
    display: flex;
    justify-content: space-between;
    transform: translateY(16px);
}

.photo-modal .content .footer button {
    position: relative;
    display: block;
    width: 23%;
    padding: 0;
    margin: 0;
    border: none;
    background-color: transparent;
    height: 50px;
    font-size: 16px;
    background: url(assets/btn-default@sound.png) no-repeat center center;
    background-size: contain;
    cursor: pointer;
}

.photo-modal .content .footer button.active,
.photo-modal .content .footer button:hover {
    background: url(assets/btn-active@sound.png) no-repeat center center;
    background-size: contain;
}

#video-wrapper{
    width:100%;height:100%;display: flex; justify-content: center; align-items: center;
    overflow: hidden;

}
#video-wrapper>div{
    position: relative;
    background: url(assets/bg@desktop.png) round;
    width: calc(2790px * 0.3);
    height: calc(1758px * 0.3);
    padding: 60px;
    box-sizing: border-box;
}
#video-wrapper .close {
        position: absolute;
        right: 0;
        top: 0;
        transform: translateX(100%);
        user-select: none;
        cursor: pointer;
        width: 60px;
        height: 60px;
        background-color: red;
        background: url(assets/btn-close.png) no-repeat center center;
        background-size: contain;
}

@media screen and (max-width: 480px) {
    .photo-modal {
        display: flex;
        flex-direction: column;
        width: calc(1758px * 0.17);
        height: calc(2790px * 0.17);
        padding: 30px;
        box-sizing: border-box;
        background: url(assets/bg@mobile.png) round;
        position: relative;
        transform: translate(-50%,-55%)
    }

    .photo-modal .photo {
        width: 100%;
        height: 30%;
    }

    .photo-modal .photo img {
        object-fit: fill;
    }

    .photo-modal .content {
        height: 50%;
        padding: 10px 0;
        flex-grow: 1;
    }

  

    .photo-modal .content .title {
        height: auto;
        font-size: 18px;
        display: inline-block;
        position: relative;
    }

    .photo-modal .content .text {
        font-size: 16px;
        line-height: 32px;
    }

    .photo-modal .content .footer {
        display: block;
        font-size: 0;
    }

    .photo-modal .content .footer button {
        width: 50%;
        display: inline-block;
        margin-top: 10px;
    }

    .photo-modal .close {
        position: absolute;
        top: auto;
        right: auto;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 120%);
    }

    #video-wrapper>div{
        width: calc(2790px * 0.1);
        height: calc(1758px * 0.1);
        padding: 10px;
    }
    #video-wrapper video{
        border-radius: 10px !important;
    }
    #video-wrapper .close {
        position: absolute;
        top: auto;
        right: auto;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 120%);
    }
}

.layui-layer-content{
    overflow: hidden !important;
}