/* ============================================
   信号位按钮 — PC 端一行排完
   ============================================ */

/* 默认：PC 一行，不换行 */
.vs-live-btns {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px 14px !important;
    padding: 20px 16px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.vs-live-btns a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 10px 20px !important;
    border-radius: 26px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    color: #4f7cff !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(79, 124, 255, 0.35) !important;
    box-shadow: 0 2px 8px rgba(79, 124, 255, 0.08) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 42px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;   /* 关键：不压缩，不换行 */
}

/* 悬停扫光 */
.vs-live-btns a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 150% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent) !important;
    transform: skewX(-25deg) !important;
    transition: left 0.7s ease !important;
    pointer-events: none !important;
}

.vs-live-btns a:hover::before {
    left: 150% !important;
}

.vs-live-btns a:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, #4f7cff, #a29bfe) !important;
    border-color: #4f7cff !important;
    box-shadow:
        0 8px 24px rgba(79, 124, 255, 0.35),
        0 2px 8px rgba(79, 124, 255, 0.15) !important;
    transform: translateY(-3px) scale(1.02) !important;
}

.vs-live-btns a:active {
    transform: scale(0.96) !important;
}

/* 第 1 个主按钮：蓝紫渐变 */
.vs-live-btns a:first-child {
    color: #ffffff !important;
    background: linear-gradient(135deg, #4f7cff, #6c5ce7) !important;
    border-color: #4f7cff !important;
    box-shadow: 0 4px 16px rgba(79, 124, 255, 0.3) !important;
}

.vs-live-btns a:first-child:hover {
    background: linear-gradient(135deg, #6c5ce7, #4f7cff) !important;
}

/* ============================================
   平板 (≤768px)：自动换行，居中
   ============================================ */
@media screen and (max-width: 768px) {
    .vs-live-btns {
        flex-wrap: wrap !important;
        gap: 8px 10px !important;
        padding: 14px 12px !important;
    }

    .vs-live-btns a {
        padding: 8px 16px !important;
        font-size: 12px !important;
        min-height: 36px !important;
    }
}

/* ============================================
   手机 (≤480px)：两列网格
   ============================================ */
@media screen and (max-width: 480px) {
    .vs-live-btns {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        padding: 12px 10px !important;
    }

    .vs-live-btns a {
        width: 100% !important;
        padding: 10px 6px !important;
        font-size: 12px !important;
        border-radius: 12px !important;
        min-height: 40px !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }

    .vs-live-btns a::before {
        display: none !important;
    }
}