@font-face {
    font-family: 'ZCOOL KuaiLe';
    src: url(./ZCOOLKuaiLe-Regular.ttf);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", Arial, sans-serif;
}

img {
    border-radius: 10px;
}

.header {
    width: 100%;
    margin: 0 auto;
    background-color: white;
    padding: 0.8rem 0;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.main {
    margin-bottom: 100px;
    margin-top: 81px;
}

.logo img {
    height: 30px;
}

.lang-box img {
    height: 16px;
}

.lang-list {
    display: none;
    position: absolute;
    top: 40px;
    width: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    background-color: white;
}

.lang-list a {
    width: 100%;
    font-size: 0.8rem;
    display: block;
    border-bottom: 1px solid #ddd;
    padding: 0.1rem 0;
}

.lang-list a:last-child {
    border-bottom: none;
}

.lang-list a img {
    width: 26px;
    height: 20px;
    padding-right: 0.2rem;
}


.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 0.8rem;
    z-index: 99;
    background: rgb(243, 244, 246);
}

.menu-box {
    width: 250px;
    position: fixed;
    top: 61px;
    bottom: 0;
    padding: 0.5rem;
    background-color: white;
    overflow-y: scroll;
    z-index: 11;
    display: none;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    overflow: -moz-scrollbars-none;

    &::-webkit-scrollbar {
        display: none;
    }
}

.menu-box li {
    width: 100%;
    font-size: 0.9rem;
    border-bottom: 1px solid #ddd;
}

.menu-box ul li:last-child {
    border-bottom: unset;
}

.menu-box ul li ul {
    list-style: unset;
}

.menu-box ul li ul li {
    font-size: 0.8rem;
}

.menu-box .list-addon {
    float: right;
}

.menu-box .show {
    display: block;
}

.menu-box .hide {
    display: none;
}

body {
    background: rgb(243, 244, 246);
}

.app-box img {
    width: 100%;
}

.app-box .app-item {
    width: 10%;
    overflow: hidden;
}

.app-box .app-item h3 {
    font-size: 0.8rem;
    text-align: center;
    font-size: 0.8rem !important;
    line-height: 1.2rem;
    display: block;
    width: 100%;
    height: 1.2rem;
    overflow: hidden;
    /*font-weight: 300;*/
    margin: 0.2rem 0;
}

.app-box .app-item div {
    margin: 0.2rem;
    border-radius: 10px;
    background-color: white;
    /*border: 1px solid rgb(221, 221, 221);*/
}

.website-box {
    width: 100%;
}

.website-box .item {
    width: 25%;
}

.website-box .media {
    margin: 0.2rem;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;
}

.website-box .media strong {
    /*font-weight: 300;*/
    font-size: 0.9rem;
}

.website-box img {
    width: 100px;
    height: 100px;
}

.media-body strong {
    font-weight: bold !important;
}

.website-box .media-body .desc {
    overflow: hidden;
    font-size: 0.7rem;
    font-weight: 100;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.list-box {
    width: 100%;
    border: unset;
}

.list-box .item-box {
    width: 10%;
}

.list-box .item {
    margin: 0.2rem;
    /*border: 1px solid rgb(221, 221, 221);*/
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;

}

.list-box .item-box img {
    width: 100%;
}

.list-box .item-box h3 {
    text-align: center;
    font-size: 0.75rem !important;
    line-height: 1.2rem;
    display: block;
    width: 100%;
    height: 1.2rem;
    overflow: hidden;
    /*font-weight: 300;*/
    margin: 0.2rem 0;
}

.nav-box {
    width: 100%;
}

.nav-box .nav-item {
    width: 20%;
}

.nav-box .nav-item .item {
    margin: 0.2rem;
    /* border: 1px solid rgb(221, 221, 221); */
    border-radius: 10px;
    /* background-color: white; */
    background: url(box-background.svg) no-repeat;
    background-size: cover;
    padding: 0.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.nav-box .nav-item .item a:nth-child(2) {
    flex: 1;
    text-align: left;
}

.nav-box img {
    height: 2.8rem !important;
    width: 2.8rem !important;
}

.nav-box .title {
    text-align: left;
    font-size: 0.9rem !important;
    /* line-height: 2.5rem; */
    font-weight: bold;
    font-family: 'Microsoft YaHei';
    /* margin-left: 0.5rem; */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
}

.nav-box .desc {
    overflow: hidden;
    font-size: 0.68rem;
    /*font-weight: 100;*/
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.nav-box .small-title {
    font-size: 0.8rem;
    font-weight: 200;
    font-family: 'Microsoft YaHei';
    margin-left: 0.5rem;
    padding: 0;
}

.nav-box .view-txt {
    font-size: 0.6rem;
    font-weight: 300;
}

.nav-item .iconfont {
    /*position: absolute; */
    /*top:5px;*/
    /*right:5px;*/
    right: 0.5rem;
    line-height: 2.5rem;
    margin-top: -15px;
}

.crumb-box {
    width: 100%;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 500;
    font-size: 13px;
}

.crumb-box a {
    background: #e6f9fd;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #333;
    border-radius: 7px;
    text-decoration: none;
    padding: 6px 8px;
    font-weight: 500;
    font-size: 13px;
}

.crumb-box .home {
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(30px);
    color: #333;
}

i {
    margin: 0 0.3rem;
}

.crumb-box i:first-child {
    margin-left: unset;
}



.icon-list i {
    /* font-size: 2rem; */
}

fieldset {
    padding: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: white;
    position: relative;
}

fieldset+.container {
    margin-bottom: 0;
    margin-top: 0;
}

fieldset+fieldset {
    margin-top: 0;
}

fieldset legend {
    background-color: white;
    border-radius: 10px;
    border: 1px solid rgb(221, 221, 221);
    font-size: 1.2rem;
    font-weight: 100;
    padding: 0.5rem;
    font-family: 'ZCOOL KuaiLe';
}

fieldset legend i {
    margin-right: 0.5rem;
}

fieldset .more-box {
    position: absolute;
    right: 2rem;
    top: -2.6rem;
    background-color: white;
    padding: 0.3rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'ZCOOL KuaiLe';
    /* border-radius: 10rem; */
    border: 1px solid rgb(221, 221, 221);
}

fieldset .intro,
.tab-body .subcategory-intro {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.05);
    margin-bottom: 0.5rem;
}

.fun-list {
    display: none;
    position: fixed;
    right: 0;
    bottom: 10vh;
    width: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 1.4rem;
}

.title-box {
    background-color: white;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    position: relative;
}

.title-box .title-content {
    width: 100%;
}

.title-box img.attachment {
    width: 400px;
    height: 400px;
    border-radius: 10px;
    margin-right: 1rem;
}

.title-content a#link {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    clear: both;
    width: 35%;
    margin: 0 auto;
    text-align: center;
    height: 3rem;
    line-height: 3rem;
    padding: 0 !important;
}

.title-box legend {
    font-family: unset;
    padding: 0.1rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.title-box {
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
}

.tag-list a {
    margin: 0.2rem;
}

.detail {
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.2rem;
}

.recommend-list {
    width: 100%;
}

.recommend-list .recommend-item {
    width: 50%;
}

.recommend-item .item {
    margin: 0.2rem;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    background-color: white;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 300;
    position: relative;
}

.recommend-item .item .media {
    width: 100%;
}

.recommend-item img {
    width: 100px;
    height: 100px;
}

.recommend-item .setup {
    position: absolute;
    right: 0;
}

.subcategory-list {
    width: 100%;
    height: 2rem;
    overflow-x: auto;
    /* 隐藏滚动条 */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    overflow: -moz-scrollbars-none;
    display: flex;
    white-space: nowrap;
}

.subcategory-list span {
    margin-right: 0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
    float: left;
    height: 2rem;
    line-height: 2rem;
}

.subcategory-list span:last-child {
    margin-right: unset;
}

.subcategory-list span.active {
    color: #0a8;
    font-weight: 400;
}

.ffcategory-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 300;
}

.ffcategory-list .active {
    color: #0a8;
    font-weight: 400;
}

.favorite-box {
    width: 100%;
}

.favorite-box .favorite-item {
    width: 33.33333333%;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

.favorite-box .favorite-item .item {
    border-radius: 10px;
    margin: 0.5rem;
    background-color: white;
    overflow: hidden;
}

.favorite-box:nth-child(-n+3) .favorite-item:nth-child(-n+9) .item {
    padding: 0.2rem;
    border: 2px solid #FFD700;
}

.favorite-box:nth-child(1) .favorite-item:nth-child(-n+3) .item {
    padding: 0.2rem;
    border: 2px solid red;
}

.favorite-box .favorite-item .item img {
    width: 100%;
    height: 300px;
}

.favorite-box .favorite-item .item .title {
    text-align: center;
    font-size: 0.8rem !important;
    font-weight: 400;
    height: 2rem;
    line-height: 2rem;
    margin: 0;
    padding: 0;
}

.favorite-box .favorite-item .item .desc {
    font-size: 0.7rem;
    font-weight: 300;
    line-height: 1.2rem;
    min-height: 3rem;
}

.favorite-item .item .mark {
    z-index: 999;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(229, 231, 235, 0.7);
    border-radius: 10px;
    display: none;
}

.favorite-item .mark .mark-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.favorite-item .mark a:last-child {
    margin-top: 1rem;
}

.flip-item img.img-auto {
    width: 100% !important;
}

.result .button {
    margin: 0.5rem;
    font-size: 0.8rem;
    font-weight: 400;
    width: calc(20% - 1rem);
}

.result .button h4 {
    margin-top: 0.6rem;
    font-size: 0.6rem !important;
    font-weight: 300;
}

.keyword-list {
    width: 100%;
}

.keyword-list a {
    margin: 0.5rem;
    font-size: 0.8rem;
    font-weight: 300;
}

.hot-list {
    width: 100%;
    padding: unset;
    margin: unset;
}

.hot-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    list-style-type: decimal;
}

.search-tab li a {
    padding: 0 !important;
    font-size: 0.8rem;
    font-weight: 400;
}

.search-tab {
    border-radius: 10px;
}

img.adsense {
    width: 100%;
}

fieldset legend {
    margin-top: 0.5rem;
}

.index-article {
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.1rem;
    font-size: 15px;
    margin: 1rem auto;
}

.index-article h2 {
    font-size: 1.05rem !important;
    padding-bottom: 0.5rem;
    color: #3c8fa7;
    border-bottom: 4px solid #3c8fa7;
    border-radius: 1rem;
    font-weight: 700;
}

.index-article a {
    padding: 5px 10px;
    background: #333;
    color: white;
    text-decoration: none;
    border-radius: 8px;
}

.index-article div:last-child {
    margin-top: 2rem;
}

.bottom-all {
    background-color: #ffffff;
    border: 6px solid #fa255e;
    border-radius: 15px;
    min-height: 120px;
    height: auto;
    color: #fa255e;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    padding: 10px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 120px;
}

.bottom-all a {
    background: unset;
    color: #fa255e;
    font-size: 30px;
}

@media (max-width: 992px) {
    .app-box .app-item {
        width: 20%;
    }

    .container {
        padding: unset !important;
    }

    .website-box .item {
        width: 50%;
    }

    .nav-box .nav-item {
        width: 25%;
    }

    .title-box img.attachment {
        width: 200px;
        height: 200px;
        border-radius: 10px;
        margin-right: 1rem;
    }

    .result .button {
        margin: 0.5rem;
        font-size: 0.8rem;
        font-weight: 400;
        width: calc(33.33333333% - 1rem);
    }
}

@media (max-width: 768px) {
    .app-box .app-item {
        width: 20%;
    }

    .header {
        padding: 0.8rem 0.5rem;
    }

    .nav-box .nav-item {
        width: 33.33333333%;
    }

    .title-box {
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.5rem;
    }

    .title-box h1 {
        text-align: center;
    }

    .favorite-box .favorite-item {
        width: 50%;
    }

    .favorite-box .favorite-item .item img {
        width: 100%;
        height: 160px;
    }

    .result .button {
        margin: 0.5rem;
        font-size: 0.8rem;
        font-weight: 400;
        width: calc(50% - 1rem);
    }
}

@media(max-width: 576px) {
    .website-box .item {
        width: 50%;
    }

    .website-box img {
        height: 50px;
        width: 50px
    }

    .list-box .item-box {
        width: 20%;
    }

    .nav-box .nav-item {
        width: 50%;
    }

    fieldset legend {
        background-color: white;
        border-radius: 10px;
        border: 1px solid rgb(221, 221, 221);
        font-size: 1rem;
        font-weight: 100;
        font-family: 'ZCOOL KuaiLe';
    }

    fieldset legend i {
        margin-right: 0.5rem;
    }

    fieldset .more-box {
        position: absolute;
        right: 1rem;
        top: -2rem;
        background-color: white;
        padding: 0 0.5rem;
        font-size: 1rem;
        cursor: pointer;
        /* border-radius: 10rem; */
        border: 1px solid rgb(221, 221, 221);
    }

    .title-box .attachment {
        width: 100px;
        height: 100px;
        border-radius: 10px;
        margin-right: 1rem;
    }

    .title-box a#link {
        display: block;
        font-size: 1.1rem;
        font-weight: 600;
        clear: both;
        width: 35%;
        margin: 0 auto;
        text-align: center;
        height: 3rem;
        line-height: 3rem;
        padding: 0 !important;
    }

    .recommend-list .recommend-item {
        width: 100%;
    }
}

        /* ===== 顶部轮播图（中间全显示，两边永远有图） ===== */
        .container-outer{
            margin:0 auto;
        }
        .banner-wrapper {
            margin-top: 10px;
        }

        .banner-slider {
            position: relative;
            overflow: hidden;
            border-radius: 16px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
            touch-action: pan-y;
        }

        .banner-track {
            display: flex;
            align-items: stretch;
            will-change: transform;
            transition: transform .35s ease;
            padding: 10px 0;
        }

        .banner-slide {
            flex: 0 0 70%;
            margin: 0 10px;
            border-radius: 16px;
            overflow: hidden;
            opacity: .7;
            transition: opacity .25s ease, box-shadow .25s ease;
        }

        .banner-slide img {
            width: 100%;
            display: block;
            border-radius: 16px;
        }

        .banner-slide.active {
            opacity: 1;
            box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.15);
        }

        .banner-dots {
            display: flex;
            justify-content: center;
            gap: 6px;
            margin-top: 6px;
        }

        .banner-dot {
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: #d0d4ff;
            cursor: pointer;
        }

        .banner-dot.active {
            width: 18px;
            background: linear-gradient(90deg, #ff5fa2, #ff9b6a);
        }
                @keyframes live-pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 4px rgba(255, 77, 79, 0.6);
            }
            50% {
                transform: scale(1.5);
                box-shadow: 0 0 10px rgba(255, 77, 79, 0.9);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 4px rgba(255, 77, 79, 0.6);
            }
        }

        @keyframes live-wave {
            0% {
                transform: scale(0.6);
                opacity: 0.6;
            }
            100% {
                transform: scale(1.6);
                opacity: 0;
            }
        }

        @keyframes live-blink {
            0%, 60% {
                opacity: 1;
            }
            80% {
                opacity: 0.4;
            }
            100% {
                opacity: 1;
            }
        }