﻿/* 默认未选中 */
.bd-vtype {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12.5px;
    border-radius: 5px;
    font-size: 14px;
    color: #ccc;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    margin: 5px 0px;
    gap: 5px;
}

    /* 悬停 */
    .bd-vtype:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
    }

    /* 选中：一级 */
    .bd-vtype.active {
        color: #00d4a0; /* 截图里的绿色文字 */
        background: rgba(0, 212, 160, 0.15); /* 截图里的浅绿背景 */
        font-weight: 600;
    }

/* 选中：二级（可单独调，避免和一级抢焦点） */
#subTypeBox .bd-vtype.active {
    color: #00d4a0;
    background: rgba(0, 212, 160, 0.15);
    font-weight: 600;
}


/* ========== 超小屏适配（< 380px） ========== */
@media screen and (min-width: 320px) {
    .bd-vtype {
        padding: 8px 8px;
        font-size: 10px;
    }
}
@media screen and (min-width: 360px) {
    .bd-vtype {
        padding: 10px 10px;
        font-size: 10px;
    }
}

@media screen and (min-width: 379px) {
    .bd-vtype {
        padding: 10px 11px;
        font-size: 12px;
    }
}

/* ========== 横屏适配 ========== */
@media screen and (min-width: 393px) {
    .bd-vtype {
        padding: 10px 11px;
        font-size: 13px;
    }
}

/* ========== 横屏适配 ========== */
@media screen and (min-width: 440px) {
    .bd-vtype {
        padding: 10px 13px;
        font-size: 14px;
    }
}