/* ============================================
   前台样式 - 还原参考站风格
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f2f2f2;
    color: #333;
    line-height: 1.6;
}

.sposp_container {
    max-width: 750px;
    margin: 0 auto;
    padding: 15px;
}

.sposp_body {
    background: #fff;
    border-radius: 8px;
    padding: 20px 15px;
    margin-bottom: 140px; 
    /*悬浮不遮挡*/
}

.sposp_body p {
    margin-bottom: 8px;
    word-break: break-all;
    text-align: left;
}

.sposp_body p:has(img) {
    margin-bottom: 0;
    margin-top: 0;
}

.sposp_body .two-col {
    display: flex;
    flex-wrap: wrap;
}

.sposp_body .two-col p {
    width: 50%;
    margin-bottom: 0;
}

.sposp_body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    margin: 0;
}
/* 底部悬浮按钮 */
#bottom_a {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    cursor: pointer;
    width: 750px;
    max-width: 100%;
}

#bottom_a button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    width: 100%;
    display: block;
}

#bottom_a .mian img {
    width: 750px;
    height: 150px;
    max-width: 90%;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .sposp_body {
        padding: 15px 10px;
    }
    .sposp_body img {
        width: 100% !important;
    }
    #bottom_a .mian img {
        width: 100%;
        height: 120px;
    }
}