/**
 * 窄屏 / 手机适配（在 BasicStyle.css、index.css 之后加载）
 * 解决 min-width:1006px、固定 1000px 宽导致的横向缩放问题
 */
@media screen and (max-width: 1024px) {
    html {
        -webkit-text-size-adjust: 100%;
    }
    body {
        overflow-x: hidden;
        min-width: 0;
    }

    .header {
        min-width: 0 !important;
        width: 100%;
        box-sizing: border-box;
    }
    .header .top_content {
        width: 100% !important;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    .top_content ul.usered {
        width: auto !important;
        max-width: 100%;
        float: right;
        box-sizing: border-box;
    }
    .top_content .lz {
        float: none;
        clear: both;
        display: block;
        padding-top: 6px;
        line-height: 1.4;
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .top_logo .top_logo_con {
        width: 100% !important;
        max-width: 100%;
        height: min(42vw, 180px);
        min-height: 100px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center center;
        box-sizing: border-box;
    }

    .nav {
        width: 100% !important;
        max-width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }
    .nav ul.clearfix {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 6px;
    }
    .nav ul.clearfix::after {
        display: none;
    }
    .nav ul li {
        float: none !important;
        flex: 1 1 calc(50% - 6px);
        min-width: 140px;
        margin-right: 0 !important;
        margin-top: 0 !important;
        box-sizing: border-box;
    }
    .nav ul li.orange {
        float: none !important;
        flex: 1 1 calc(50% - 6px);
        order: 10;
    }

    .center {
        width: 100% !important;
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    .center_left,
    .center_right {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    .footer_con {
        width: 100% !important;
        max-width: 100%;
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
        line-height: 1.5;
    }

    .page {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 6px;
        padding-right: 6px;
    }

    .index_form #index_box {
        width: 100% !important;
        float: none !important;
        display: block;
    }
    .index_form .at_text {
        width: 100% !important;
        max-width: 100%;
    }
    .index_form .lab {
        float: none;
        width: auto;
        display: block;
        margin-bottom: 4px;
    }
    .basicInfo_currency,
    .basicInfo_content {
        width: 100% !important;
        float: none !important;
    }
    .mybox .tj,
    .mybox .zj,
    .mybox .all {
        width: 100% !important;
    }

    /* 首页等非 .index_form 下的内容区 */
    .c_main,
    .index_box {
        max-width: 100%;
        box-sizing: border-box;
    }

    /* web/index.php 内联大号标题与按钮 */
    .title-banner {
        font-size: 16px !important;
        padding: 12px 10px !important;
        line-height: 1.45;
        box-sizing: border-box;
    }
    .highlight-title {
        font-size: 18px;
    }
    .gold-text {
        font-size: 16px;
    }
    .btn-recharge {
        font-size: 16px;
        padding: 8px 16px;
    }
}

@media screen and (max-width: 480px) {
    .nav ul li,
    .nav ul li.orange {
        flex: 1 1 100%;
        min-width: 0 !important;
    }
}
