/* 整站 H5。桌面不生效。 */
@media (min-width: 769px) {
    .h5-cats { display: none; }
}

@media (max-width: 768px) {
    .h5-cats {
        display: flex;
        gap: 0;
        overflow-x: auto;
        background: #1a63b8;
        scrollbar-width: none;
    }

    .h5-cats::-webkit-scrollbar { display: none; }

    .h5-cats a {
        flex: none;
        color: #fff;
        font-size: 13px;
        padding: 8px 14px 10px;
        white-space: nowrap;
    }

    .h5-cats a:active { background: #0d4c96; }
    html, body { overflow-x: hidden; }

    img, video, iframe { max-width: 100%; height: auto; }

    .site-main { padding-bottom: 8px; }

    .footer-main,
    .footer-cols,
    .friend-links,
    .rs-hero-grid,
    .rs-res-grid,
    .rs-news-grid,
    .soft-layout,
    .detail-layout,
    .news-layout,
    .page-layout,
    .member-layout,
    .list-layout {
        display: block;
    }

    .dl { padding-top: 8px; }
    .dl-ad-top { height: 56px; }
    .dl-slide,
    .dl-slide img,
    .dl-slide-empty { height: 168px; min-height: 168px; }
    .dl-box { overflow: hidden; }

    input, select, textarea { font-size: 16px; }

    .site-footer .footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .site-footer .footer-about { grid-column: 1 / -1; }
}
