html {
    line-height: 1.5rem;
    width: 100vw;
    overflow-x: auto;
}

body {
    background-color: #25282e;
    color: #111111;
    font-size: 1rem;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
i,
em,
b,
strong {
    font-style: normal;
    font-weight: normal;
    font-size: 100%;
    margin: 0;
}

.icon-number {
    color: #ffffff;            /* 字体颜色白色 */
    background-color: #3d3e3f; /* 蓝色背景，可根据需求更改 */
    border-radius: 50%;        /* 圆形数字 */
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* 阴影美化 */
}

img {
    border: none;
}

fieldset {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    position: relative;
}

fieldset legend {
    margin-left: 2rem;
    color: #e3e3e3;
    padding: 0 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

fieldset legend a{
    margin-left: 2rem;
    color:#f60;
    text-decoration: none;
}

fieldset .more {
    position: absolute;
    right: 2rem;
    top: -1.6rem;
    padding: 0.1rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    background-color: #e3e3e3;
    text-decoration: none;
}

fieldset+fieldset {
    margin-top: 1rem;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.right-box {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
}

.icon-list a {
    margin: 0 0.5rem;
}

.icon-list a img {
    width: 24px;
}

.search-box {
    position: relative;
}

.search-box input {
    border: none;
    height: 30px;
    width: 250px;
    padding: 0 0.5rem;
    border-radius: 8px;
}

.search-box .button {
    position: absolute;
    right: 5px;
    width: 28px;
    color: #111111;
}

.container {
    width: 1150px;
    margin: 0 auto;
    padding: 0;
}

.apps {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    row-gap: 5px;
}

.apps a {
    display: block;
    width: 90%;
    /* height: calc(100% / 1 * 1) !important; */
    text-decoration: none;
}

.apps a img {
    display: block;
    margin: 0 auto;
    width: 90%;
    height:auto;
    border-radius: 12px;
}

.apps a h5 {
    display: block;
    text-align: center;
    color: #fff;
    height: 24px;
    line-height: 24px;
    font-size: 14px;
}

.site .site-list {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 5px 10px;
}

.site a {
    text-decoration: none;
}

.site dl {
    display: grid;
    grid-template-columns: 30px auto;
    /*background-color: #fff;*/
    color:white;
    border-radius: 10px;
    padding: 5px 5px 0 5px;
    margin: 0;
}

.site dl dt {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
    color:white;
    /*background-color: #f9f9f9;*/
}

.site dl dt img {
    display: block;
    width: 100%;
    height: calc(100% / 1 * 1) !important;
}

.site dl dd {
    margin: 0;
}

.site dl dd h3 {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    line-height: 24px;
    /* 只显示一行 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color:white;
    width:80px;
}

.site dl dd span {
    line-height: 1rem;
    padding-top: 8px;
    color: #999;
    color:white;
    font-size: 0.7rem;
    /* 只显示三行 */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


footer {
    background: #f60;
    padding: 2rem 0;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

footer .contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 300;
}

footer .contact img {
    width: 24px;
    margin: 0 0.25rem;
}

footer .contact a {
    color: white;
}

.category {
    display: grid;
    grid-template-columns: 260px calc(100% - 260px);
    gap: 1rem;
}

.category .nav-list {
    background-color: #e3e3e3;
    border-radius: 0.5rem;
    padding: 10px;
    list-style: none;
}

.category .nav-list li+li {
    border-top: 1px solid #25282e;
}

.category .nav-list a {
    text-decoration: none;
    color: #25282e;
    font-weight: 300;
}

.category .nav-list li {
    line-height: 2rem;
    padding: 0.5rem;
}

.category .nav-list li ul {
    padding-left: 1.5rem;
    list-style: circle;
}

.category .nav-list i {
    margin-right: 0.5rem;
}

.category .get-more {
    color: #f60;
    font-weight: 300;
    margin: 2rem 0;
    text-align: center;
    display: none;
}

.category .no-more {
    color: #e3e3e3;
    font-weight: 300;
    margin: 3rem 0;
    text-align: center;
    display: none;
}

.category .site-list {
    grid-template-columns: repeat(2, 1fr);
}

.category .site-list dl {
    grid-template-columns: 80px auto;
    column-gap: 10px;
}

.category .site-list dt {
    width: 100%;
    height: 100%;
}

.category .site-list dt img {
    width: 100%;
    height: calc(100% / 1 * 1) !important;
    text-align: center;
    display: block;
}


@media(max-width: 768px) {
    html {
        font-size: 0.8rem;
    }

    .header {
        flex-direction: column;
        justify-content: center;
    }

    .container {
        width: 100%;
    }

    .apps {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }

    .apps a h5 {
        font-size: 0.8rem;
    }

    .site .site-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 5px 10px;
    }

    .site .site-list dl {
        padding: 0px;
    }

    .category {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }

    .category .nav-list {
        height: 200px;
        overflow-y: scroll;
    }

    .category .site-list {
        grid-template-columns: repeat(1, 1fr);
    }

    .category .site-list dt img {
        width: 100%;
        height: calc(100% / 1 * 1) !important;
        text-align: center;
        display: block;
    }
    /*底部固定分类*/
    /* 仅在手机端显示，PC端隐藏 */
        @media screen and (min-width: 769px) {
            .bottom-banner {
                display: none !important;
            }
        }
        
        .bottom-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            height: 50px;
            width: 100%;
            background: #f0f0f0; /* 不透明背景，浅灰色 */
            display: flex;
            justify-content: space-between;
            padding: 0 0px;
        }
        
        .banner-item {
            display: flex;
            align-items: center;
            text-align: center;
            flex: 1;
            margin: 0 5px; /* 图片之间的间隔 */
        }
        
        .banner-item img {
            width: 15px; /* 小图标的宽度 */
            height: auto;
            margin-right: 0px; /* 图标与文字之间的间隔 */
            border-radius: 12px;
        }
        
        .banner-item span {
            font-size: 18px; /* 放大文字大小 */
            font-weight: bold; /* 加粗文字 */
            color: #333; /* 文字颜色 */
        }

}