#popup{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0f1f4399;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #popup .popup_main,
  #popup .popup_main2,
  #popup .popup_main3,
  #popup .popup_main4{
    width: 500px;
    height: auto;
    background-color: #fff;
    border-radius: 10px;
  }
  #popup .popup_main2,
  #popup .popup_main3,
  #popup .popup_main4{
    border-radius: 6px;
  }
  #popup .popup_main4{
border-radius: 12px;
}
   #popup .popup_main2 {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
   }
  #popup .popup_main .popup_bg{
  }
  #popup .popup_main .popup_bg,
  #popup .popup_main2 .popup_bg,
  #popup .popup_main3 .popup_bg,
  #popup .popup_main4 .popup_bg{
    
    background-repeat: no-repeat;
    /*height: 120px;*/
    background-position: center;
    margin-top: 18px;
    display: flex;
    padding: 0 20px;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
  }
  #popup .popup_main3 .popup_bg{
    flex-direction: row-reverse;
    align-items: center;
  }
  #popup .popup_main2 .popup_bg{
    background-size: cover;
    margin-top: 0;
    /* border-radius: 10px; */
  }
  #popup .popup_main3{
    background-size: cover;
    margin-top: 0;

    /* border-radius: 10px; */
  }
  #popup .popup_main5 {
      position: relative;
          cursor: pointer;
  }
      /* ==================== 核心：四个角的折线 ==================== */
    /* 定义基础样式，四个角共用 */
    #popup .popup_main5 .corner {
        position: absolute;
        width: 30px;
        height: 30px;
        pointer-events: none; /* 防止遮挡鼠标点击 */
    }
    
    /* 左上角 */
    #popup .popup_main5 .corner-tl {
        top: 5px; left: 5px;
        border-top: 3px solid #0055ff;
        border-left: 3px solid #0055ff;
        border-top-left-radius: 12px;
    }
    
    /* 右上角 */
    #popup .popup_main5 .corner-tr {
        top: 5px; right: 5px;
        border-top: 3px solid #0055ff;
        border-right: 3px solid #0055ff;
        border-top-right-radius: 12px;
    }
    
    /* 左下角 */
    #popup .popup_main5 .corner-bl {
        bottom: 5px; left: 5px;
        border-bottom: 3px solid #0055ff;
        border-left: 3px solid #0055ff;
        border-bottom-left-radius: 12px;
    }
    
    /* 右下角 */
    #popup .popup_main5 .corner-br {
        bottom: 5px; right: 5px;
        border-bottom: 3px solid #0055ff;
        border-right: 3px solid #0055ff;
        border-bottom-right-radius: 12px;
    }
  #popup .popup_main44 .popup_bg{
    background-size: cover;
    margin-top: 0;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
    position: relative;
  }
  #popup .popup_main5 .popup_bg {
      margin-top: 0;
    flex-direction: row-reverse;
    align-items: center;
  }
  #popup .popup_main44 .popup_bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 关键点：设置顶部边框 */
  border-top: 8px solid transparent; 
  /* 渐变效果：从浅蓝到深蓝 */
  border-image: linear-gradient(to right, #4facfe 0%, #0066ff 100%) 1;
  /* 关键点：匹配父元素的圆角，让线条跟着弯曲 */
  border-radius: 12px 12px 0 0; 
  pointer-events: none; /* 防止遮挡鼠标点击事件 */
  z-index: 1;
}
  #popup .popup_main2 .popup_bg{
    flex-direction: row-reverse;
  }
  #popup .popup_main .popup_bg img,
  #popup .popup_main2 .popup_bg img,
  #popup .popup_main3 .popup_bg img,
  #popup .popup_main4 .popup_bg img{
    width: 20px;
    height: 20px;
  }
  #popup .popup_main2 .popup_bg img{
    margin-top: 20px;
  }
  #popup .popup_main .propup_title{
    text-align: center;
    margin-top: 10px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    /* width: 460px; */
    margin: 0 auto;
  }    
  #popup .popup_main2 .propup_title,
  #popup .popup_main3 .propup_title{
    width: 100%;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
  }
  #popup .stack-container {
        position: relative;
        width: 500px; /* 主卡片宽度 */
        padding: 40px;
        margin: -40px; /* 抵消padding对居中的影响 */
   }
    /* ==================== 第一层：浅蓝灰卡片 (向左歪) ==================== */
   #popup .stack-container .card-back-1 {
        position: absolute;
        border-radius: 16px;
        z-index: 1;
        transform: rotate(-4deg);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        top: 57px;
        left: 37px;
        width: 506px;
        height: 549px;
        background: #A4C2F0;
    }

    /* ==================== 第二层：深蓝灰卡片 (向右歪) ==================== */
   #popup .stack-container .card-back-2 {
        position: absolute;
        top: 57px;
        left: 37px;
        width: 506px;
        height: 549px;
        background: #A4C2F0;
        border-radius: 16px;
        z-index: 2;
        transform: rotate(4deg);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
 #popup .popup_main3 {
     position: relative;
         /* 重点：加重主卡片的阴影，把底卡压住 */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3;
 }
  #popup .popup_main3 .propup_title{
    padding: 20px 0 20px;
    width: 90%;
    justify-content: normal
    cursor: pointer;
  }
  #popup .popup_main4 .propup_title{
    padding: 20px 0 20px 0px;
    width: 90%;
    justify-content: normal;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
  }
  #popup .popup_main .propup_content,
  #popup .popup_main2 .propup_content,
  #popup .popup_main4 .propup_content{
    width: 460px;
    margin: 20px auto 20px auto;
    height: 400px;
    overflow-x: auto;
  }
  #popup .popup_main .propup_content {
      height: 400px;
      overflow-y:auto ;
  }
  #popup .popup_main3 .propup_content{
    width: 90%;
    background-color: #fff;
    border: 1px solid #F2F6FB;
    margin: 0 auto;
    color: #606882;
    padding: 20px 10px;
    margin-bottom: 20px;
    margin-top: 0px;
        height: 400px;
    overflow-y: auto;
  }
  #popup .popup_main .propup_btn,
  #popup .popup_main2 .propup_btn,
  #popup .popup_main3 .propup_btn,
  #popup .popup_main4 .propup_btn{
    margin-bottom: 26px;
    display: flex;
    padding: 0 20px;
    justify-content: flex-end;
    gap: 10px;
  }
  #popup .popup_main2 .propup_btn {
    justify-content: flex-start;
  }
  #popup .popup_main3 .propup_btn {
     justify-content: center;
     padding-bottom: 20px;
  }
  #popup .popup_main .propup_btn a,
  #popup .popup_main2 .propup_btn a,
  #popup .popup_main3 .propup_btn a,
  #popup .popup_main4 .propup_btn a{
    padding: 10px 20px;
    background-color: #4589FD;
    text-align: center;
    color: #fff;
    border-radius: 10px;
  }
    #popup .popup_main .propup_btn button,
  #popup .popup_main2 .propup_btn button,
  #popup .popup_main3 .propup_btn button,
  #popup .popup_main4 .propup_btn button{
    padding: 10px 20px;
    background-color: #ccc;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
  }
  @media (max-width: 768px) {
    #popup .popup_main,
    #popup .popup_main2,
    #popup .popup_main3,
    #popup .popup_main4{
      width: 95vw;
      font-size: 3vw;
    }
    #popup .popup_main .propup_content,
    #popup .popup_main2 .propup_content,
    #popup .popup_main4 .propup_content{
      width: auto;
      padding: 0 3vw;
      
    }
    #popup .popup_main .propup_title{
      width: auto;
      cursor: pointer;
    }
  }