.wap-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 480px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    /* 修改过渡属性，保留 all 确保所有变化都有过渡 */
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(14px);
    background-color: rgb(255 255 255 / 80%);
    /* 核心：初始状态向左偏移自身宽度（-100%），隐藏在左侧 */
    transform: translateX(-100%);
}

.wap-popup.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* 激活状态位移归 0，实现从左向右推入 */
    transform: translateX(0);
}

.wap-popup-content {
    display: flex;
    align-items: center;
    padding: 12px;
    position: relative;
}
p.wap-ysubtitle {
    -webkit-font-smoothing: antialiased;
}
.wap-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 13px;
    overflow: hidden;
    margin-right: 12px;background: #efefef;
}

.wap-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wap-info {
    flex: 1;
    min-width: 0;padding-right: 35px;
    margin-top: -30px;
}

.wap-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;-webkit-font-smoothing: antialiased;
}

.wap-subtitle {
    font-size: 14px;
    color: #33333378;
    margin: 0;-webkit-font-smoothing: antialiased;
}

.wap-close-btn {
    position: absolute;
    top: -5px;
    right: 0px;
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: #33333378;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-weight: 300;
    border-radius: 50px;
    -webkit-font-smoothing: antialiased;
    box-shadow: 0 0 5px rgb(0 0 0 / 13%);
    font-family: 'Cardo';
    backdrop-filter: blur(14px);
    background-color: rgb(255 255 255 / 90%);
    /* 新增：设置过渡，让旋转动画更平滑 */
    transition: transform 0.5s ease;

}
.wap-close-btn:hover {
    color: #333;
    transform: rotate(360deg);
    /* 可选：悬浮时加深颜色，增强交互反馈 */
}

@media (max-width: 767px) {
    .wap-popup {
        width: -webkit-fill-available; /* 适配webkit内核（iOS/Safari） */
        width: -moz-available; /* 兼容Firefox */
        width: fill-available; /* 标准写法 */
        max-width: calc(100vw - 40px); /* 限制最大宽度，避免超出屏幕（right20px + 左侧留白20px） */
        right: 20px; /* 确认移动端右侧定位 */
    }
}
@media (max-width: 767px) {
.wap-read-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
}}


.wap-read-btn {
    position: absolute;
    bottom: 13px;
    right: 12px;
    background: #000000;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;    -webkit-font-smoothing: antialiased;
}

.wap-read-btn:hover {
    background: #FFC107;
    color: #000000;
}