.ad-mask-wrap {
    position: relative;
    overflow: hidden;
}

.uninf-ad-mask {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    padding: 0;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.94);
    border: 1px dashed #0b95cf;
}

.youfu_family .uninf-ad-mask {
    top: 34px;
}

.uninf-ad-content {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    font-size: 14px;
    line-height: 22px;
    background: #fff;
    overflow: hidden;
}

.uninf-ad-content strong {
    display: block;
    color: #0b95cf;
    font-size: 16px;
}

.uninf-ad-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uninf-ad-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 12px 36px 12px 12px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.94);
}

.uninf-ad-panel > a:only-child {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.uninf-ad-demo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
}

.uninf-ad-demo-link .uninf-ad-demo-logo {
    max-width: 64px;
    max-height: 48px;
}

.uninf-ad-demo-link span {
    text-align: center;
}

.uninf-ad-demo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: #f3f9fc;
}

.uninf-ad-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 1;
    width: 22px;
    height: 22px;
    padding: 0;
    color: #666;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    background: #eee;
    border: 1px solid #ddd;
}

.uninf-ad-close:hover {
    background: #ddd;
}
