.ad_hengfu{
    text-align: center;
    margin: 2px auto;
    max-width: 1250px;

}

.ad_hengfu img{
    background-size: cover;
    width: 100%;
    height: auto;
}

@media (max-width: 1000px) {
    .ad_hengfu {
        margin-left: 5px;
        margin-right: 5px;
    }
}

.app-abk {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;

}

.app-abk-item {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.1s;
    padding: 2px;
    color: #931f1f;
    font-size: 12px;
}

.app-abk-item img {
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .app-abk {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 768px) {
    .app-abk {
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 480px) {
    .app-abk {
        grid-template-columns: repeat(6, 1fr);
    }
}

.ad_overlay  {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.ad_popup {
    position: relative;
    background: #fff;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    text-align: center;
}

.ad_close-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 25px;
    height: 25px;
    font-size: 14px;
}

.ad_overlay  img {
    width: 100%;
    border-radius: 4px;
}

.ad_hengfu img.loading-placeholder[src$="/images/loading.gif"],
.app-abk-item img.loading-placeholder[src$="/images/loading.gif"],
.ad_overlay img.loading-placeholder[src$="/images/loading.gif"] {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

/**
    右下角未登录提示
*/
.modal{
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 342px;
    height: 130px;
    border-radius: 8px;
    z-index: 5;
}

@media (max-width: 770px) {
    .modal{
        bottom: 64px;
    }
}

.modal .login-guide {
    height: 100%;
    padding: 16px 30px 16px 20px;
    border-radius: 8px;
    background-repeat: no-repeat !important;
    background-size: contain;
    box-shadow: 0 4px 16px #00000029;
}

.modal .login-guide .close-btn {
    position: absolute;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

.pub-regular {
    color: #999999;
}
.el-icon {
    --color: inherit;
    height: 1em;
    width: 1em;
    line-height: 1em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    fill: currentColor;
    color: #e5e7eb;
    font-size: inherit;
}
.ellipsis-2 {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal !important;
    text-overflow: ellipsis;
    word-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
}

.mt-1 {
    margin-top: .25rem;
}
.el-button>span {
    display: inline-flex;
    align-items: center;
}
.modal .login-guide .login-btn, .reg-btn{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1px;
    gap: 10px;
    position: absolute;
    width: 104px;
    height: 30px;
    left: 214px;
    top: 84px;
    background: #FF4F80;
    border-radius: 20px;
    border: none;
    color: #fff;
}

.reg-btn{
    left: 130px;
    background: #5f595b;
    width: 70px;
}

html.dark .el-button {
    --el-button-disabled-text-color: rgba(255, 255, 255, .5);
}
