/* 广告一样式 */
#ad-helper-007tg-ad1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 确保广告在最上层 */
}

/* 弹窗内容样式 */
.ad-helper-007tg-ad1-content {
    position: relative;
    border-radius: 10px;
    width: 100%; /* 使用百分比宽度 */
    max-width: 500px; /* 设置最大宽度 */
    height: auto; /* 高度自动调整 */
    aspect-ratio: 1 / 1; /* 保持宽高比1:1 */
    margin: 30px;
}

/* 背景图片样式 */
.ad-helper-007tg-ad1-bg {
    width: 100%!important;
    height: auto;
    border-radius: 10px;
}

/* 针对不同设备的媒体查询 */
@media (min-width: 768px) {
    .ad-helper-007tg-ad1-content {
        width: 80%; /* 平板设备宽度 */
        height: auto; /* 高度自动调整 */
    }
}

@media (min-width: 1024px) {
    .ad-helper-007tg-ad1-content {
        width: 60%; /* PC设备宽度 */
        height: auto; /* 高度自动调整 */
    }
}

/* 关闭按钮样式 */
.ad-helper-007tg-close {
    position: absolute;
    top: -3px;
    right: 10px;
    font-size: 40px;
    color: #232323;
    cursor: pointer;
    display: block;
    line-height: 40px;
    height: 40px;
}

/* 按钮样式 */
.ad-helper-007tg-ad1-content a img {
    position: absolute;
    cursor: pointer;
    width: 60%;
}

/* 隐藏广告 */
#ad-helper-007tg-ad1.ad_hidden {
    display: none;
}



/* 广告二样式 */
#ad-helper-007tg-ad2 {
    width: 100%;
    display: none;
    cursor: pointer;
}

/* 广告三和广告四样式 */
#ad-helper-007tg-ad3,
#ad-helper-007tg-ad4 {
    z-index: 9999;
}

#ad-helper-007tg-ad3 img,
#ad-helper-007tg-ad4 img {
    width: 100%;
    height: auto;
}

/* 广告五样式 */
#ad-helper-007tg-ad5 {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
}
