.tk-top {
    height: 89px;
    background: #ffffff;
    border-radius:10px 10px 0 0;
    gap: 60px;
    padding: 32px 32px;
}
.tk-toggle-box {
    width: 388px;
    height: 54px;
    background: #F2F1F4;
    border-radius: 113px;
    display: flex;
    align-items: center;
    padding: 25px;
    margin: 0;
}
.tk-top .tk-top-title{
    flex: 1;
    height: 46px;
    line-height: 46px;
    font-weight: bold;
    font-size: 18px;
    color: #000000;
    text-align: center;
    font-style: normal;
    text-transform: none;
    cursor: pointer;
    border-radius: 113px 113px 113px 113px;
    transition: all 0.3s ease;
}
.tk-top .active{
    background: #1A1F28;
    color: #FFFFFF;
    position: relative;
}
.tk-top .active::after{
    display: none;
}

.tk-top-icon{
    display: block;
    float: left;
    width: 32px;
    margin-left: 30px;
}
.tk-top-icon img{
    width: 100%;
}
.tk-top-h2{
    display: inline-block;
    width: 108px;
    font-size: 22px;
    font-weight: bold;
    color: #282828;
    margin-left: 6px;
}
.tk-box{
    background: #ffffff;
    padding: 32px 32px;
    border-radius: 0 0 10px 10px;

}
.tk-list{
    width: 1247px;
    padding: 9px 10px 65px 26px;
    border-radius: 5px;
}
.tk-list-ul-icon{
    width: 18px;
    height: 20px;
    background: url(/images/tk/yq_icon.png) 50% no-repeat;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}
.icon2{
    width: 18px;
    height: 24px;
    background: url(/images/tk/icon_gb.png) 100% no-repeat;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}
.icon3{
    width: 18px;
    height: 24px;
    background: url(/images/tk/icon_zk.png) 100% no-repeat;
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}

.tk-list-li{
    display: block;
    width: 100%;
    min-height: 74px;
    line-height: 74px;
    font-size: 18px;
    font-weight: 400;
    color: #2D2D2D;
    border-bottom: 1PX #f6f7f9 solid;
    cursor:pointer;
    clear: both;

}
.tk-list-li:hover{
    color: #2567B3;
}
.xyd{
    width: 8px;
    height: 8px;
    background: #2565AF;
    border-radius: 50%;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
}
.two{
    padding-left: 39px;background: #fcfcfc;
}
.tk-list-ul-two{
    display: none
}
.className{
    display: block;
}
.classColor{
    color: #2565AF;
}
.go-practice,.continue-go-practice{
    display: block;
    float: right;
    width: 96px;
    height: 32px;
    margin:21px 15px 26px 0px;
    border: 1px solid #D7E9FF;
    background: #F1F7FF;
    border-radius:60px;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    font-weight: 400;
    color: #2567B3;
}
.continue-go-practice{
    margin-right: 21px;
}
.go-practice:hover,.continue-go-practice:hover{
    border: 1px solid #D7E9FF;
    background: #2567B3;
    color: #ffffff;
}
.start-over{
    display: block;
    float: right;
    width: 96px;
    height: 32px;
    margin:21px 15px 26px 0px;
    border: 1px solid #FAD0BD;
    background: #FDECE4;
    border-radius:60px;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    font-weight: 400;
    color: #FF381F;
}
.start-over:hover{
    border: 1px solid #FAD0BD;
    background: #E31303;
    color: #ffffff;
}
.tm-count{
    display: inline-block;
    position: absolute;
    font-weight: 400;
    color: #A09A9A;
    width: 100px;
    text-align: center;
    font-size: 16px;
}
.fl{clear: both;width: 0px;height: 0px;}
.tk-list-ul{clear: both;}


.history-questions-wrap{
    gap: 20px;
}
.history-questions-wrap .history-items{
    width: calc(100% / 3 - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #fff;
    border-radius: 5px;
    position: relative;
    min-height: 121px;
    margin-bottom: 20px;
    cursor: pointer;
}
.history-questions-wrap .history-items:hover{
    transition: all 0.3s ease; 
    transform: translateY(-5px);

}


.history-questions-wrap .history-items .history-img-wrap{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
    
}
.history-questions-wrap .history-items .history-img-wrap .history-img-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    padding: 5px;

}
.history-questions-wrap .history-items .history-img-wrap .history-img-main{
    position: absolute;
    top: 5%;
    z-index: 2;
    right: 7%;
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.history-questions-wrap .history-items .history-img-wrap .history-img-center{
    position: absolute;
    z-index: 3;
    width: 76px;
    height: 79px;
    top: 25%;
    right: 14%;
    object-fit: contain;
}

.history-questions-wrap .history-items .history-title-wrap{
    position: absolute;
    left: 10%;
    top: 10%;
    z-index: 3;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 12px;
    border-radius: 5px;
}



.history-questions-wrap .history-items .history-title-wrap h5{

    font-weight: bold;
    font-size: 16px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.history-questions-wrap .history-items .history-title-wrap span{
    font-weight: 400;
    font-size: 11px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: -10px;

}
.history-questions-wrap .history-items .history-title-wrap button{
    color: #fff;
    border-radius: 4px;
    padding: 5px;
    height: 24px;
    line-height: 14px;
    font-size: 12px;
}



/* //.history-questions-wrap .history-items */
/*history-title-wrap */

/* APP弹窗样式 */
.app-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.app-popup-overlay.show {
    display: flex;
}
.app-popup-content {
    width: 375px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.app-popup-title {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
    text-align: center;
    margin: 0 0 12px 0;
    padding: 0 20px;
}
.app-popup-desc {
    font-size: 10px;
    font-weight: 400;
    color: #FF1E1E;
    text-align: center;
    margin: 0 0 20px 0;
    padding: 0 20px;
}
.app-popup-img {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.app-popup-img img {
    width: 150px;
    height: auto;
}
.app-popup-tip {
    font-size: 12px;
    color: #666666;
    text-align: center;
    margin: 0 0 10px 0;
}
.app-popup-subtitle {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    text-align: center;
    margin: 0;
}

/* 主观题库列表样式 */
.zg-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zg-item {
    background: #ffffff;
    margin-bottom: 12px;
}
.zg-item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: #ffffff;
}
.zg-item-title:hover {
    background: #fafafa;
}
.zg-title-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zg-title-icon {
    width: 32px;
    height: 32px;
    background: url(../images/question_bank/small-tips.png);
    border-radius: 8px;
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
}
.zg-title-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zg-item-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.zg-vip-icon {
    width: 40px;
    height: 15px;
    object-fit: contain;
}
.zg-title-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zg-done-info {
    font-size: 12px;
    color: #999999;
    font-weight: 400;
}
.zg-count {
    font-size: 12px;
    color: #999999;
    font-weight: 400;
}
.zg-arrow {
    width: 16px;
    height: 16px;
    background: url(/images/question_bank/right-arrow.png) no-repeat center;
    background-size: contain;
    transition: transform 0.3s;
    transform: rotate(0deg);
}
.zg-item-title .zg-arrow.open {
    transform: rotate(90deg);
}
.zg-item-content {
    display: none;
    padding: 0;
}
.zg-item-content.show {
    display: block;
}
.zg-sub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 14px 62px;
    cursor: pointer;
    transition: background 0.2s;
}
.zg-sub-item:hover {
    background: #F8F9FA;
}
.zg-sub-item-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zg-sub-arrow {
    width: 16px;
    height: 16px;
    background: url(/images/question_bank/right-arrow.png) no-repeat center;
    background-size: contain;
    transition: transform 0.3s;
    transform: rotate(0deg);
    flex-shrink: 0;
}
.zg-sub-item .zg-sub-arrow.open {
    transform: rotate(90deg);
}
.zg-sub-dot {
    width: 6px;
    height: 6px;
    background: #0065FF;
    border-radius: 50%;
    flex-shrink: 0;
}
.zg-sub-title {
    font-size: 14px;
    color: #333333;
}
.zg-sub-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.zg-sub-item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.zg-sub-score {
    font-size: 12px;
    color: #0065FF;
    font-weight: 500;
}
.zg-sub-done {
    font-size: 12px;
    color: #666666;
}
.zg-sub-avg {
    font-size: 12px;
    color: #FF5E5E;
}
.zg-sub-count {
    font-size: 12px;
    color: #999999;
    min-width: 40px;
    text-align: right;
}
.zg-third-wrap {
    display: none;
    padding: 8px 20px 8px 86px;
    background: #FAFAFA;
}
.zg-third-wrap.show {
    display: block;
}
.zg-third-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 4px;
}
.zg-third-item:hover {
    background: #F0F0F0;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 -8px;
}

 /* AI题库tab切换样式 */
        .ai-tab-wrap {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            margin-top: 20px;
        }
        .ai-tab-item {
            flex: 1;
            height: 60px;
            border-radius: 16px;
            box-shadow: 0px 2px 6px 0px rgba(102,102,102,0.06);
            background: #FFFFFF;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 600;
            color: #333;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
            position: relative;
        }
        .ai-tab-icon {
            position: absolute;
            right: 20px;
            bottom: 0;
            width: 133px;
           
            object-fit: contain;
            object-position: bottom;
            pointer-events: none;
        }
        .ai-tab-item.active {
            background: linear-gradient(90deg, #CAD7FF 0%, #E3EBFF 100%);
            color: #333;
        }
        .ai-tab-item:hover {
            opacity: 0.85;
        }
        .ai-tab-content {
            display: none;
        }
        .ai-tab-content.active {
            display: block;
        }

/* AI面试题库小程序展示 */
.ai-ms-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    padding: 40px 60px; 
}
.ai-ms-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.ai-ms-preview img {
    max-width: 380px;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.ai-ms-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    position: relative;
}
.ai-ms-info-bck {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 460px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}
.ai-ms-info > .ai-ms-title,
.ai-ms-info > .ai-ms-subtitle,
.ai-ms-info > .ai-ms-qrcode,
.ai-ms-info > .ai-ms-qrcode-tip {
    position: relative;
    z-index: 1;
}
.ai-ms-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
    color: #333333;
    margin: 0;
   
}
.ai-ms-subtitle {
    font-weight: bold;
    font-size: 18px;
    color: #333333;
    line-height: 1.5;
    margin: 0;
}
.ai-ms-qrcode {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 279px;
    height: 279px;
    background: #FFFFFF;
    box-shadow: 0px 2px 50px 5px rgba(35, 58, 151, 0.12);
    border-radius: 16px 16px 16px 16px;
    margin-top: 20px;
}
.ai-ms-qrcode-img {
    display: block;
    width: 203px;
    height: 203px;
}
.ai-ms-qrcode-tip {
    margin: 0;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    color: #333333;
    font-style: normal;
    text-transform: none;
}

.news-cate-section{
    margin-top: 20px;
}
.news-cate-demo-img{
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 16px;
    border-radius: 12px;
    object-fit: cover;
}
.news-cate-list{
    display: flex;
    gap: 16px;
}
.news-cate-item{
    flex: 1;
    height: 76px;
    background: #FFFFFF;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 23px;
    cursor: pointer;
    box-shadow: 0px 4px 16px 0px rgba(51,51,51,0.08);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 84px;
}
.news-cate-item:hover{
    transform: translateY(-2px);
    box-shadow: 0px 4px 10px 0px rgba(102,102,102,0.1);
}
.news-cate-icon{
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: none;
}
.news-cate-title{
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
.news-cate-vip{
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: auto;
}

/* ========== 历年考题 / 预测题库 新页面 ========== */
.history-page{
    width: 1247px;
    min-height: 600px;
    padding: 9px 10px 65px 26px;
    border-radius: 5px;
}
.history-header{
    height: 60px;
    background: #ffffff;
    border-radius: 10px 10px 0 0;
    padding: 0 32px;
    display: flex;
    align-items: center;
}
.history-back{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #2D2D2D;
    cursor: pointer;
}
.history-back img{
    display: block;
}
.history-filter{
    background: #ffffff;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 10px 10px;
    gap: 20px;
    border-bottom: 1px solid #F6F7F9;
    margin-bottom: 20px;
}
.history-search{
    position: relative;
    width: 246px;
    height: 44px;
    background: #F4F4F4;
    border-radius: 32px 32px 32px 32px
}
.history-search input{
    width: 100%;
    height: 100%;
    padding: 0 42px 0 16px;
    font-size: 14px;
    color: #2D2D2D;
    outline: none;
    box-sizing: border-box;
}
.history-search input::placeholder{
    color: #B3B7BF;
}
.history-search-icon{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url(/images/question_bank/search.png) 50% no-repeat;
    background-size: contain;
    cursor: pointer;
}
.history-select-group{
    display: flex;
    align-items: center;
    gap: 12px;
}
.history-select-group .history-select-wrap{
    position: relative;
    width: 133px;
    height: 36px;
}
.history-select-group select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0 36px 0 12px;
    border-radius: 8px;
    font-size: 14px;
    color: #777777;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border: 1px solid #EDEDED;
    background: #fff;
}
.history-select-group .history-select-arrow{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    object-fit: contain;
}
.history-list{
    border-radius: 0 0 10px 10px;
    min-height: 300px;
}
.history-item{
    position: relative;
    min-height: 171px;
    padding: 20px 24px;
    background: #FFFFFF;
    border-radius: 12px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: box-shadow .2s, background .2s;
}
.history-item:hover{
    background: #FAFBFF;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.history-item:last-child{
    margin-bottom: 0;
}
.history-item-title{
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 20px;
    color: #333333;
}
.history-item:hover .history-item-title{
    color: #2567B3;
}
.history-item-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.history-item-meta{
    display: flex;
    align-items: center;
    gap: 48px;
    font-size: 14px;
    color: #666666;
}
.history-item-right{
    position: absolute;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.history-item-join{
    font-size: 14px;
    color: #999999;
}
.history-item-btn{
    padding: 0 20px;
    height: 32px;
    line-height: 32px;
    background: #0065FF;
    color: #fff;
    font-size: 14px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    outline: none;
}
.history-empty,
.history-loading{
    padding: 80px 0;
    text-align: center;
    font-size: 14px;
    color: #999999;
}
.history-pagination{
    margin-top: 24px;
    padding: 0 20px;
    text-align: center;
}
.history-pagination .layui-laypage a,
.history-pagination .layui-laypage span{
    border-radius: 6px;
    margin: 0 4px;
}
.history-pagination .layui-laypage-curr .layui-laypage-em{
    background: #2567B3;
}

/* ========== 选择题目弹窗 ========== */
.subject-select-overlay{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.subject-select-modal{
    width: 100%;
    max-width: 540px;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    animation: subjectFadeIn .2s ease-out;
}
@keyframes subjectFadeIn{
    from{ opacity: 0; transform: scale(0.96); }
    to{ opacity: 1; transform: scale(1); }
}
.subject-select-header{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: bold;
    color: #2D2D2D;
}
.subject-select-close{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    cursor: pointer;
}
/* 用两条旋转线绘制关闭 × ，保证在各浏览器下都完美居中、大小一致 */
.subject-select-close::before,
.subject-select-close::after{
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 2px;
    background: #999;
    border-radius: 1px;
}
.subject-select-close::before{
    transform: translate(-50%, -50%) rotate(45deg);
}
.subject-select-close::after{
    transform: translate(-50%, -50%) rotate(-45deg);
}
.subject-select-close:hover::before,
.subject-select-close:hover::after{
    background: #333;
}
.subject-select-body{
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 24px;
}
.subject-select-item{
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #E6E8EB;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.subject-select-item:last-child{
    margin-bottom: 0;
}
.subject-select-item:hover{
    border-color: #2567B3;
    background: #F5F8FF;
}
.subject-select-item input[type="radio"]{
    width: 18px;
    height: 18px;
    margin: 0 12px 0 0;
    flex-shrink: 0;
    cursor: pointer;
}
.subject-select-title{
    flex: 1;
    font-size: 16px;
    color: #2D2D2D;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.subject-select-status{
    font-size: 14px;
    color: #999999;
    margin-left: 12px;
    flex-shrink: 0;
}
.subject-select-footer{
    padding-top: 8px;
}
.subject-select-confirm{
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 23px;
    background: #2567B3;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
}
.subject-select-confirm:hover{
    background: #1d5596;
}

/* 模考大赛通知盒子 */
.mock-notice-box {
    display: flex;
    align-items: center;
    padding: 0 30px 0 16px;
    cursor: pointer;
    height: 42px;
    background: #F5FBFF;
    border-radius: 31px;
    overflow: hidden;
    margin-left: auto;
    max-width: 100%;
}
.mock-notice-icon {
    height: 20px;
    width: auto;
    margin-right: 12px;
    flex-shrink: 0;
}
.mock-notice-scroll {
    flex: 1;
    min-width: 0;
    height: 24px;
    overflow: hidden;
    position: relative;
}
.mock-notice-track {
    width: 100%;
}
.mock-notice-item {
    height: 24px;
    line-height: 24px;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}