/* 中海安大屏移动端自适应与定制覆盖（不依赖 data-v 哈希，永久兼容后续重打包） */
@media (max-width: 900px) {
    html, body, #app {
        width: 100% !important;
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }
    #app .datav {
        height: auto !important;
        min-height: 0 !important;
        background-size: cover !important;
        background-position: center top !important;
        padding-bottom: 16px !important;
    }
    #app .head-img {
        width: 100% !important;
        height: 42px !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
    }
    #app .datav-content {
        flex-direction: column !important;
        padding: 8px 10px !important;
        gap: 12px !important;
    }
    #app .left,
    #app .center,
    #app .right {
        flex: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding-bottom: 0 !important;
    }
    /* 左侧：动态数据 + 全球安全事件（国别） */
    #app .left > .wai-kuang:first-child > div:nth-child(2) {
        height: auto !important;
        padding: 14px 6px !important;
    }
    #app .jiantou {
        width: 20px !important;
        margin: 8px 8px 12px 10px !important;
    }
    #app .first-center {
        width: 64px !important;
    }
    #app .left > .wai-kuang:nth-child(2) {
        flex: none !important;
        height: auto !important;
        margin-top: 12px !important;
    }
    #app .left .rank_item {
        margin: 4px 0 !important;
    }
    /* 中间：世界风险地图 + 实时预警列表 */
    #app .map_center {
        height: 300px !important;
        background-size: contain !important;
        background-position: center center !important;
    }
    #app .map_center > div:first-child {
        height: 255px !important;
    }
    #app .map_center > div:nth-child(2) {
        font-size: 12px !important;
        flex-wrap: wrap !important;
        height: auto !important;
        padding: 4px 0 !important;
    }
    #app .fx_yuan {
        margin-left: 8px !important;
        margin-right: 4px !important;
        width: 10px !important;
        height: 10px !important;
    }
    #app .center > .wai-kuang {
        flex: none !important;
        height: 320px !important;
        margin-top: 12px !important;
        padding: 8px !important;
    }
    #app .center .el-table {
        height: 295px !important;
    }
    /* 右侧：饼图 + 柱状图 + COSI指数排名 */
    #app .right > .wai-kuang:nth-child(1),
    #app .right > .wai-kuang:nth-child(2) {
        height: 240px !important;
        flex: none !important;
        margin-top: 0 !important;
    }
    #app .right > .wai-kuang:nth-child(2) {
        margin-top: 12px !important;
    }
    #bing_con,
    #message_con {
        height: 195px !important;
        width: 100% !important;
    }
    #app .right > .wai-kuang:nth-child(3) {
        flex: none !important;
        height: auto !important;
        margin-top: 12px !important;
    }
    #app .cosi_item {
        margin: 5px 0 !important;
        align-items: center !important;
    }
    /* 国家抽屉与详情弹窗移动端适配 */
    .el-drawer {
        width: 94vw !important;
    }
    .drawer_con {
        margin: 0 4px !important;
        padding: 0 6px 12px !important;
    }
    .drawer_con .xie,
    .drawer_con > div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .drawer_con .el-table {
        width: 100% !important;
        height: 62vh !important;
    }
    .el-dialog {
        width: 94vw !important;
        max-width: 94vw !important;
        margin: 12px auto !important;
    }
    .wai_guang {
        padding: 10px !important;
    }
    .wai_guang > .flex {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .table tr {
        flex-wrap: wrap !important;
    }
    .td_title {
        width: 38% !important;
        font-size: 12px !important;
    }
    .td_desc {
        width: 62% !important;
        flex: none !important;
        font-size: 12px !important;
    }
}
