body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f6f6f6;
    color: #000;
    line-height: 1.5;
    box-sizing: border-box;
}

main {
    padding: 10px
}

a {
    text-decoration: none;
    color: #000;
}

img {
    width: 100%;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.loader {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ad_top {
    text-align: center;
    margin: 5px auto;
}

.ad_top>div>div {
    margin: 0 auto;
}

.type-active {
    color: #3377FF !important;
}

.logo div {
    font-size: 18px;
    font-weight: 600;
}

.search button {
    background-color: #fff;
}


#search-input {
    display: none;
}

.footer {
    background-color: #fff;
    color: #fdfdfd;
    padding: 15px 0;
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    font-size: 14px;
    background-color: #fff;
}

.col285 {
    background-color: #4285F4;
}

.footer a {
    color: #fff;
    padding: 10px 5px;
    text-decoration: none;
}

.footer-title-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.column {
    flex-direction: column
}




@media(min-width:768px) {
    header {
        box-shadow: #ccc 0px 2px 2px;
        width: 100%;
        top: 0;
        position: sticky;
        z-index: 100000;
    }

    header .header-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #f6f6f6;
        color: #000;
        padding: 10px 20px;
        /* border-bottom: 1px solid #ccc; */
    }


    .menu-mo,
    .search-mo {
        display: none;
    }

    .close {
        display: none;
    }

    .logo img {
        height: 40px;
        /* 根据实际情况调整 */
    }

    .categories a {
        color: #000;
        font-weight: 600;
        text-decoration: none;
        margin: 0 10px;
    }

    .search input {
        padding: 5px;
        /* border: none; */
        border-radius: 10px;
    }

    .search button {
        padding: 7px 10px;
        border: none;
        background-color: #000;
        color: #fff;
        border-radius: 10px;
        cursor: pointer;
    }

    .column {
        flex-direction: column
    }
    .fs20 {
        font-size: 25px;
    }   
}

/* 媒体查询，适配移动端 */
@media (max-width: 768px) {
    header {
        /* flex-direction: column; */
        width: 100%;
        position: sticky;
        top: 0;
        align-items: center;
        justify-content: space-between;
        box-shadow: #ccc 0px 2px 2px;
        z-index: 100000;
        background-color: #f6f6f6;
    }

    header .header-content {
        /* flex-direction: column; */
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 20px;
        position: relative;

    }

    .menu-mo,
    .search-mo {
        display: block;
    }



    .categories {
        width: 50%;
        height: 100%;
        background-color: #36373c;
        position: fixed;
        z-index: 9999999;
        left: 0;
        top: 0;
        color: #fff;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 300ms ease-in-out;
    }

    .categories span {
        position: absolute;
        right: 20px;
        top: 20px;
        font-size: 20px;
        font-weight: 900;
    }

    .active {
        display: block;
        transform: translateY(0);
        height: 100%;
        padding-top: 30px;
    }

    .categories a {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px 0;
        margin: 5px;
        color: #fff;
        text-decoration: none;

    }

    .search {
        width: 100%;
        margin-top: 10px;
        display: none;
    }

    .search input {
        width: 70%;
    }

    .search button {
        width: 30%;
    }

    #search-input {
        width: 100%;
        height: 100%;
        background-color: #fff;
        position: fixed;
        z-index: 9999999;
        left: 0;
        top: 0;
        color: #fff;
        /* display: flex; */
        /* flex-wrap: nowrap; */
        /* align-items: center; */
        /* transform: translateY(0); */
        /* transition: transform 300ms ease-in-out; */
        display: none;
    }

    .search-box {
        display: flex;
        align-items: center;
        background-color: #3377FF;
        padding: 10px 5px;
    }

    #search-input input {
        /* position: absolute; */
        /* top: 0; */
        width: 100%;
        height: 20px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }
    .fs20 {
        font-size: 18px;
    }   
    .icon {
        width: 3em;
        height: 3em;
        fill: currentColor;
        overflow: hidden;
    }
}