/* Tab栏样式 */
.indexmh .tabfg {
    background: var(--tabBgColor);
}
.io-black-mode .indexmh .tabfg {
    background: var(--tabBgColorDark);
}

/* 备用链接美化 */
.spare_link_btn {
    margin-left: -4px;
    padding: 0 6px 0 0;
    background: var(--mainColor);
    cursor: pointer;
    display: inline-block;
    border-radius: 0 6px 6px 0;
    color: #fff;
    height: 37px;
    z-index: 11;
    position: relative;
    width: 24px;
    top: 10px;
}

.spare_link_btn > i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.spare_link_box {
    display: none;
    position: absolute;
    top: 45px;
    background: #fff;
    right: 0;
    transition: .3s;
    padding: 6px 8px;
    border-radius: 6px;
    z-index: 9;
    box-shadow: 0 5px 20px 0px rgb(0 0 0 / 15%);
    color: #444;
    width: 129px;
}

.io-black-mode .spare_link_box {
    background: #000;
    color: #ddd;
}

.spare_link_box::after {
    content: '';
    position: absolute;
    top: -50px;
    right: 0;
    height: 50px;
    width: 100%;
}

.spare_link_btn:hover .spare_link_box,
.spare_link_box:hover {
    display: block;
    transition: .3s;
}

.spare_link_box a {
    margin: 5px 0;
    display: block;
    margin-left: 0!important;
    padding-left: 10px;
    position: relative;
}

.spare_link_box a::before {
    content: '';
    height: 4px;
    width: 4px;
    position: absolute;
    left: 0px;
    background: var(--mainColor);
    border-radius: 100px;
    transform: translateY(-50%);
    top: 50%;
}

a.btn.btn-arrow.qr-img {
    /* margin-left: 10px; */
}

/* 相关标签下移 */
.tags-down .tags_box span.mr-2 {
    display: inline-block;
    margin-bottom: .8rem !important;
}

.tags-down .tags_box .mr-2 > i {
    display: none;
}

.tags-down .tags_box a {
    color: rgba(0, 0, 0, 0.6) !important;
    background: #fff;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.io-black-mode .tags-down .tags_box a {
    background: rgba(138, 138, 138, .15);
    color: #ddd!important;
    border: unset;
}

.tags-down .tags_box a:hover {
    color: var(--mainColor)!important;
}

/* 网址卡片边框 */
.site-card-border .url-card a.card {
    border: 1px solid #f1f1f1;
}

.io-black-mode .site-card-border .url-card a.card {
    border: 1px solid #535353;
}

.io-black-mode .site-card-border .url-card .mini a.togo:hover {
    opacity: .1;
}

/* 首页用户自定义导航四宫格 */
@media (max-width:992px) {
    .custome-four #cust-sites .col-2a {
        -ms-flex: 0 0 50%;
        flex: 0 0 25%;
        max-width: 25%;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .custome-four #cust-sites .row.row-sm {
        margin-left: 10px!important;
        margin-right: 10px!important;
    }

    .custome-four #cust-sites .url-content {
        flex-direction: column;
    }

    .custome-four #cust-sites .url-img {
        margin-right: 0!important;
    }

    .custome-four #cust-sites .url-info {
        max-width: 100%;
        transform: scale(0.9);
        padding-right: 0;
    }

    .custome-four #cust-sites .url-card .mini .card-body {
        padding: 0.4rem 0!important;
    }

    .custome-four #cust-sites .url-body .badge.text-ss {
        display: none;
    }

    .custome-four #cust-sites .url-body a.togo {
        display: none;
    }
}

/* 移动端用户自定义导航单行三个 */
@media (max-width:992px) {
    .custome-three .user-custome .row > div.url-card {
        max-width: 33.3%;
        padding-left: .2rem !important;
        padding-right: .2rem !important;
    }

    .custome-three .user-custome strong {
        display: block;
        transform: scale(.9);
    }

    .custome-three .user-custome .url-card .url-img {
        width: 18px!important;
        height: 18px!important;
    }
}

/* 网址卡片标题非加粗 */
.title-normal .url-body .card-body strong,
.title-normal .user-custome strong {
    font-weight: normal;
}

/* 取消网址阴影 */
.no-shadow .url-card a.card {
    box-shadow: unset;
} 