/* 公共样式 */
html {
    font-size: 16px;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

div,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: '微软雅黑';
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    /* 核心：渐变 */
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.iconfont-jb {
    fill: url(#iconGradient) !important;
}

body {
    font-size: 1rem;
    /* 等价于 16px */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* 框架核心样式 */
.framework_index_box {
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    position: relative;
}

.framework_inner {
    width: 100%;
}

/* 头部 */
.framework_head {
    width: 100%;
    background-color: #ffffff;
    padding: 20px 40px;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.framework_head.active {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    opacity: 1;
}

.framework_head.active {
    animation: slideDown 0.5s ease forwards;
}


@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}


.framework_head_flex {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.framework_head_logo {
    width: 320px;
}

.framework_head_logo .log_mb {
    display: none;
}

.framework_head_nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.framework_head_nav ul {
    width: 100%;
}

.framework_head_nav ul li.nav_item {
    list-style: none;
    font-size: 1rem;
    padding: 0 1.2rem;
    color: #161820;
}

.framework_head_nav ul li.nav_item>a {
    display: block;
    line-height: 60px;
    text-decoration: none;
    padding: 0 5px;
    color: inherit;
    position: relative;
}

.framework_head_nav ul li.active {
    color: #115edc;
    font-weight: bold;
}

.framework_head_nav ul li.active>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #115edc;
}

.framework_head_nav ul li:hover {
    color: #115edc;
    font-weight: bold;
}

.framework_head_nav ul li:hover>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #115edc;
}

.framework_head_contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.framework_head_contact .btn {
    width: 75px;
    padding: 0 0.5rem;
    font-size: 12px;
    line-height: 28px;
    height: 28px;
    border: none;
    border-radius: 0.3rem;
}

.framework_head_contact .btn.btn-login {
    background-color: #ecf4ff;
    color: #3779f7;
    border: 1px solid #bbd5fd;
}

.framework_head_contact .btn.btn-register {
    background: linear-gradient(180deg, #7d6dff, #3779f7);
    margin-left: 10px;
    color: #ffffff;
}

.head_contact_M {
    display: none;
    cursor: pointer;
    font-size: 2rem;
}

.framework_head_menu {
    display: none;
    cursor: pointer;
    font-size: 2.5rem;
}

/* 用户中心 --  */
.framework_head_person {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.9rem;
}

.framework_head_person .person_img {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ededed;
}

.framework_head_person .person_name {
    font-size: 12px;
    color: #80a0d9;
    margin-left: 5px;
}

.framework_head_person .person_center {
    font-size: 12px;
    color: #ffffff;
    margin-left: 5px;
    text-decoration: none;
    padding: 0 1rem;
    height: 30px;
    line-height: 30px;
    border-radius: 0.3rem;
    background: linear-gradient(180deg, #7d6dff, #3779f7);

}



/* 导航栏响应式 */
.framework_head_Mtab {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: left 0.3s ease;
    padding: 20px 16px;
    overflow-y: auto;
}

.framework_head_Mtab.open {
    left: 0;
}

.framework_inner_head .mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.framework_inner_head .mask.active {
    opacity: 1;
    pointer-events: auto;
}

img.hot_icon {
    position: absolute;
    right: 1.3rem;
    top: -0.9rem;
    width: 2rem;
}

.framework_head_Mtab .menu_item {
    margin-bottom: 6px;
    border-radius: 8px;
    overflow: hidden;
}

/* 菜单链接样式 */
.framework_head_Mtab .menu_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    background: #f7f8fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.framework_head_Mtab .menu_item.active .menu_link {
    background: #eef4ff;
    color: #2962ff;
}

.framework_head_Mtab .menu_sub_item.active a {
    color: #2962ff;
}

.framework_head_Mtab .menu_link:hover {
    background: #eef4ff;
    color: #2962ff;
}

.framework_head_Mtab .menu_arrow {
    font-size: 2rem;
    color: #999;
    transition: transform 0.2s;
}

.framework_head_Mtab .arrow_wrap.active .menu_arrow {
    transform: rotate(90deg);
    color: #2962ff;
}

.framework_head_Mtab .menu_sub {
    display: none;
    padding: 8px 12px 8px 24px;
    background: #fff;
}

.framework_head_Mtab .menu_sub_item a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    border-radius: 6px;
}

.framework_head_Mtab .menu_sub_item:hover {
    background: #f5f7ff;
    color: #2962ff;
}

.framework_head_Mtab .menu_sub_sub {
    display: none;
    padding: 6px 12px 6px 20px;
    margin-top: 4px;
}

.framework_head_Mtab .menu_sub_sub a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
}

.framework_head_Mtab .menu_sub_sub a:hover {
    background: #f5f7ff;
    color: #2962ff;
}

/* 展开动画 */
.framework_head_Mtab .menu_sub.show,
.framework_head_Mtab .menu_sub_sub.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 小箭头 */
.framework_head_Mtab .sub_arrow_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.framework_head_Mtab .sub_arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.2s;
}

.framework_head_Mtab .sub_arrow_wrap.active .sub_arrow {
    transform: rotate(90deg);
    color: #2962ff;
}

/* 子菜单展开 */
.framework_head_nav_sub {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    min-height: 0;
    z-index: 15;
    opacity: 0;
    background: #fff;
    box-shadow: 0 10px 20px #dddddd;
    height: 0;
    visibility: hidden;
    transition: all ease .3s;
}

.framework_head_nav ul li:hover .framework_head_nav_sub {
    min-height: 400px;
    visibility: visible;
    opacity: 1;
}

.framework_head_nav_sub .sub_flex {
    width: 100%;
    height: 100%;
    display: flex;
}

.framework_head_nav_sub .sub_nav_fl {
    width: 34.2rem;
    display: inline-flex;
    justify-content: flex-end;
    background: url(/resource/image/head_back-ai1.png) no-repeat left bottom;
    background-size: 80%;
}

.framework_head_nav_sub .sub_nav_fl .nav_fl .title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.framework_head_nav_sub .sub_nav_fl .nav_fl .title .icon {
    font-size: 1.8rem;
}

.framework_head_nav_sub .sub_nav_fl .nav_fl .dese p {
    margin-bottom: 0.6rem;
    font-size: 12px;
    line-height: 1.8;
    color: #737373;
}

.framework_head_nav_sub .sub_nav_fl .nav_fl {
    max-width: 330px;
    padding: 3.2rem 3.6rem 0 0;
}

.framework_head_nav_sub .sub_nav_fr {
    flex: 1;
    background-color: #f1f2f5;
    background-image: url(/resource/image/head_back-ai.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 60%;

}

.framework_head_nav_sub .sub_nav_fr .sub_nav_flex {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 7.5rem 3.3rem 2rem 4.5rem;
}

.framework_head_nav_sub .sub_nav_fr .sub_nav_flex .sub_nav_item {
    position: relative;
    width: 23rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, #f3f5f8, #ffffff);
    border: 1px solid #ffffff;
    box-shadow: 0 0 10px #cfcfcf;
    border-radius: 10px;
    margin-right: 1rem;
}

.framework_head_nav_sub .sub_nav_fr .sub_nav_flex .sub_nav_item .it-icon {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 4.8rem;
}

.framework_head_nav_sub .sub_nav_fr .sub_nav_flex .sub_nav_item h4 {
    font-size: 1.16rem;
    color: #000000;
    position: relative;
}

.framework_head_nav_sub .sub_nav_fr .sub_nav_flex .sub_nav_item p {
    color: #5d6c84;
    font-size: 0.85rem;
    margin-top: 0.6rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.framework_head_nav_sub .sub_nav_fr .item_clum_flex {
    display: flex;
    flex-wrap: wrap;
    padding: 3.5rem 1rem 2rem 3rem;
}

.framework_head_nav_sub .sub_nav_fr .item_clum_flex .item_list {
    margin-right: 3rem;
}

.framework_head_nav_sub .sub_nav_fr .item_clum_flex .item_list h4 {
    font-size: 1.2rem;
    color: #060606;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-left: 10px;
}

.framework_head_nav_sub .sub_nav_fr .item_clum_flex .item_list p {
    font-size: 0.95rem;
    color: #4b4b4b;
    font-weight: normal;
    margin-bottom: 0.5rem;
    line-height: 1.8rem;
    position: relative;
}

.framework_head_nav_sub .sub_nav_fr .item_clum_flex .item_list p::before {
    content: '.';
}

.framework_head_nav_sub .sub_nav_fr .item_clum_flex .item_list p:hover a {
    color: #2962ff;
}

.sub_nav_xinglian {
    padding: 3.8rem 2rem 2rem 4rem;
    display: flex;
}

.nav_xinglian_list {
    padding: 1rem;
    background: linear-gradient(180deg, #f3f5f8, #fff);
    border-radius: 10px;
    border: 2px solid #ffffff;
    width: 24rem;
    box-shadow: 0 0 10px #e8e9eb;
}

.nav_xinglian_list .title_list {
    position: relative;
}

.nav_xinglian_list .title_list h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.nav_xinglian_list .title_list img.icon-xingl {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 3.75rem;
}

.nav_xinglian_list .xinglian_list_flex {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.nav_xinglian_list .xinglian_list_flex .head-tp img {
    width: 2.85rem;
}

.nav_xinglian_list .xinglian_list_flex .head-tp .icon_img {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.nav_xinglian_list .xinglian_list_flex .item_s {
    width: 50%;
    padding: 0 0.83rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav_xinglian_list .xinglian_list_flex .item_s .head-tp {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav_xinglian_list .xinglian_list_flex .head-tp .title {
    font-size: 0.95rem;
    margin-top: 0.3rem;
    color: #0f5de2;
    margin-bottom: 0;
}

.nav_xinglian_list .xinglian_list_flex .content {
    color: #7f7f7f;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 0.45rem;
}

.nav_xinglian_list .xinglian_list_flex .item_s:first-of-type {
    border-right: 1px solid #efefef;
}

.nav_xinglian_list_2 {
    width: 32rem;
    margin-left: 2rem;
}

.nav_xinglian_list_2 img.icon-lx {
    position: absolute;
    right: -1px;
    bottom: -1.48rem;
    width: 7rem;
}

.nav_xinglian_list_2 .AI_list_int {
    margin-top: 1.45rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.nav_xinglian_list_2 .AI_list_int .items {
    padding: 0.7rem 0.6rem;
    width: 31.5%;
    background: linear-gradient(180deg, #d7e9ff, #fff);
    border-radius: 8px;
    border: 1px solid #ffffff;
    cursor: pointer;
    box-shadow: 0 5px 10px #f5f5f6;
}

.nav_xinglian_list_2 .AI_list_int .items img {
    width: 1.5rem;
    margin-right: 0.5rem;
}

.nav_xinglian_list_2 .AI_list_int .items span {
    color: #0f5de2;
    font-size: 0.9rem;
}

.nav_xinglian_list_2 .AI_list_int .items-more {
    text-align: center;
}



/* 底部 */


.footer_index_box {
    background-color: #f4f7fc;
}

.footer_index_box .footer_index_wrap {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    padding: 0 4rem;
}


.footer_index_box .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid #eee;
    gap: 1.5rem 0;
    margin-bottom: 2rem;
}

.footer_index_box .top-item {
    width: 23%;
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.footer_index_box .top-item .img {
    width: 3.5rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.footer_index_box .top-item .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer_index_box .top-item .text h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 600;
}

.footer_index_box .top-item .text p {
    color: #707070;
    line-height: 1.6;
    font-size: 0.88rem;
    margin-bottom: 0;
}

.footer_index_box .footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.footer_index_box .footer-logo {
    width: 12rem;
}

.footer_index_box .footer-logo img {
    height: 2rem;
    width: auto;
}

.footer_index_box .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    flex: 1;
    justify-content: flex-start;
}

.footer_index_box .nav-item h5 {
    font-size: 0.88rem;
    margin-bottom: 1rem;
    font-weight: 600;
}


.footer_index_box .nav-item li {
    margin-bottom: 0.625rem;
    color: #6a6a6a;
    font-size: 0.88rem;
}

.footer_index_box .nav-item li a:hover {
    color: #2962ff;
}

.footer_index_box .nav-item li::before {
    content: '.';
    margin-right: 0.5rem;
}

.footer_index_box .footer-contact {
    width: 30rem;
}

.footer_index_box .footer-contact h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer_index_box .contact-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    font-size: 0.88rem;
}

.footer_index_box .code-box {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer_index_box .code-item {
    text-align: center;
    font-size: 0.88rem;
    position: relative;
}

.footer_index_box .code-item img {
    width: 5rem;
    height: 5rem;
    margin-bottom: 0.5rem;
    object-fit: cover;
}

.footer_index_box .code-item .poer_img {
    position: absolute;
    bottom: 93%;
    left: 50%;
    width: 10rem;
    object-fit: cover;
    transform: translate(-50%, 0);
    z-index: 10;
    opacity: 0;
    transition: all ease .5s;
    visibility: hidden;
}

.footer_index_box .code-item .poer_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer_index_box .code-item:hover .poer_img {
    opacity: 1;
    visibility: visible;
}

.footer_index_box .footer-copy {
    border-top: 1px solid #eee;
    padding: 1.5rem 0;
    text-align: center;
    color: #666;
    line-height: 1.8;
}

.footer_index_box .footer-copy p {
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.footer_index_box .footer-copy p a:hover {
    color: #2962ff;
}

.footer_index_box .footer-copy p img {
    width: 1rem;
    margin-right: 0.5rem;
}

.footer_index_box .footer-copy p span {
    margin-right: 1.5rem;
}


/* 导航栏响应式 */

@media screen and (max-width: 1400px) {
    .framework_head {
        padding: 0 20px;
    }

    .framework_head_logo {
        width: 200px;
        flex-shrink: 0;
    }
}

@media screen and (max-width: 1200px) {
    .framework_head_nav ul li {
        padding: 0 0.6rem;
    }
}

@media screen and (max-width: 1050px) {
    .footer_index_box .footer-contact {
        width: 100%;
    }

    .framework_head {
        padding: 10px 15px;
        box-shadow: 0 0 10px #ddd;
    }

    .framework_head_menu {
        display: block;
    }

    .framework_head_nav {
        display: none;
    }

}

@media screen and (max-width: 768px) {

    .framework_head_logo .log_pc {
        display: none;
    }

    .framework_head_logo .log_mb {
        display: block;

    }


    .framework_head_logo {
        width: 100px;
    }

    .framework_head_contact {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        right: 8px;
        top: 50px;
        z-index: 10;
        background: #ffffff;
        padding: 10px;
        box-shadow: 0 0 5px #ddd;
        flex-direction: column;
        transition: all ease .5s;
    }

    .framework_head_contact.on {
        opacity: 1;
        visibility: visible;
    }

    .framework_head_contact .btn {
        display: block;
        width: 100%;
        border: none !important;
        color: #fff !important;
        padding: 0 1rem;
        background: linear-gradient(45deg, #7a6eff, #3979f7);
        margin: 4px 0 !important;
    }

    .head_contact_M {
        display: block;
    }

    .framework_head_person .person_name {
        display: none;
    }

    .framework_head_person .person_center {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer_index_box .footer_index_wrap {
        padding: 2rem 1.6rem;
    }

    .footer_index_box .footer-logo img {
        height: 3.5rem;
    }

    .footer_index_box .footer-contact h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .footer_index_box .contact-text p {
        font-size: 1rem;
    }

    .footer_index_box .code-item {
        font-size: 1rem;
    }

    .footer_index_box .code-item img {
        width: 6.5rem;
        height: 6.5rem;
    }

    .footer_index_box .footer-copy p {
        font-size: 1rem;
    }

    .footer_index_box .footer-copy p span {
        margin-right: 1rem;
    }

    .footer_index_box .footer-top {
        display: none !important;
    }

    .footer_index_box .footer-nav {
        display: none !important;
    }

    .footer_index_box .footer-main {
        flex-direction: column;
        margin-bottom: 1rem;
        gap: 1.5rem;
    }

    .footer_index_box .footer-logo,
    .footer_index_box .footer-contact {
        width: 100%;
    }

    .footer_index_box .code-box {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* 弹窗样式 */
.modal-dialog {
    margin-top: 5rem !important;
}

.modal-content {
    border-radius: 0.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: none;
    width: 100%;
}

.modal-content .modal-header {
    border: none;
}

.modal-header .btn-close {
    font-size: 0.9rem;
    outline: none;
}

.modal-content .modal-title_box {
    width: 100%;
    display: flex;
    flex-shrink: 0;
    padding-bottom: 1rem;
    align-items: center;
    border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}

.modal-content .modal-title {
    color: #000000;
    font-size: 1.1rem;
    font-weight: bold;
}

.modal-footer {
    border: none;
}

.scroll-container {
    width: 100%;
    overflow-y: auto;
}


.scroll-container {
    -ms-overflow-style: thin;
    scrollbar-width: thin;
}

.scroll-container::-webkit-scrollbar {
    display: block;
    width: 4px;
}



/* 全局预览样式（不变） */

#globalImagePreview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    user-select: none;
    overflow: hidden;
}

.preview-img-container {
    position: relative;
    margin: 60px 60px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 140px);
}


#previewImage {
    max-width: 90vw;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    transition: transform 0.2s;
}

/* 控制栏整体 */
.preview-controls {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    padding: 10px 18px;
    border-radius: 50px;
    z-index: 100000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    /* 关键：禁止子元素溢出，保证按钮不会被裁剪 */
    overflow: visible;
}

/* 左右切换按钮 */
.preview-switch {
    all: unset;
    /* 一键清除浏览器默认样式 */
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 100000;
}

.preview-switch:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.preview-switch:active {
    transform: translateY(-50%) scale(0.95);
}

.preview-switch.prev {
    left: 16px;
}

.preview-switch.next {
    right: 16px;
}

/* 单个按钮：彻底重置默认样式 */
.preview-controls button {
    all: unset;
    /* 一键清除浏览器默认样式（边框、背景、轮廓等） */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* 悬停效果 */
.preview-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 点击反馈 */
.preview-controls button:active {
    transform: scale(0.95);
}


.preview-index {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    z-index: 100000;
}

@media (max-width: 768px) {
    .preview-controls {
        top: 10px;
        padding: 8px 14px;
        gap: 8px;
    }

    .preview-controls button {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .preview-switch {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .preview-switch.prev {
        left: 5px;
    }

    .preview-switch.next {
        right: 5px;
    }

    #previewImage {
        max-height: calc(100vh - 160px);
    }
}




/* 弹窗遮罩 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

/* 弹窗显示 */
.modal-overlay.show {
    display: flex;
}

/* 弹窗内容 */
.modal-content_video {
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* 视频样式 */
.video-js {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
}

.video-vertical {
    height: 90%;
    aspect-ratio: 9 / 8;
}


/* 编辑新闻 */

.news_views_text div[data-w-type="video"] {
    width: 100%;
}

.news_views_text div[data-w-e-type="video"] {
    width: 100%;
    height: 65vh;
    display: flex;
    margin: 0 auto;
    justify-content: center;
}

.news_views_text div[data-w-e-type="video"] video {
    width: 100%;
    height: 100%;
}


@media (max-width: 768px) {
        .news_views_text div[data-w-e-type="video"]{
             width: 90%;
        height: auto
        }
}