html {
    font-size: calc(100vw / 24);
}
@media (min-width: 1920px) {
    html { font-size: 80px; }   /* 最大 80px，标题约 38px */
}
@media (max-width: 1008px) {
    html { font-size: 42px; }   /* 最小 42px，标题约 20px */
}
/* ========== 导航栏样式（古风融合） ========== */

.BMap_cpyCtrl {
   display: none;
}
.anchorBL {
   display: none;
}
.yui-toast-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(143, 23, 23, 0);
    top: 0;
    left: 0;
    z-index: 1000;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.yui-toast-mask .yui-toast {
    /* background: rgba(38, 28, 22, 0.85); */
    min-height: 3rem;
    min-width: 3rem;
    border-radius: .5rem;
    margin: 0 auto;
    overflow: hidden;
    color: #F0E0CA;
    font-size: 14px;
    padding: 10px;
    max-height: 90%;
    max-width: 90%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
/* CSS Document - 古风滚动条 */
::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0);
}
::-webkit-scrollbar-thumb {
    background-color: rgba(139, 90, 60, 0.3);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(75, 75, 75, 0.58);
}
::-webkit-scrollbar-thumb {
    background-color: rgba(139, 90, 60, 0.5);
    border-radius: 10px;
    -webkit-box-shadow: inset 1px 1px 0 rgba(48, 48, 48, 0.92);
}
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 5px solid transparent;
}
::-webkit-scrollbar-track {
    box-shadow: 1px 1px 5px rgba(0,0,0,.2) inset;
}
::-webkit-scrollbar-thumb {
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px rgba(139, 90, 60, 0.4) inset;
}
::-webkit-scrollbar-corner {
    background: transparent;
}

body {
    font-size: 100%;
    height: 100%;
    font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;
    background: #F7F0E1;
    background-image: repeating-linear-gradient(45deg, rgba(160, 120, 80, 0.03) 0px, rgba(160, 120, 80, 0.03) 2px, transparent 2px, transparent 8px);
    line-height: 1.15;
    color: #3E2A23;
}
a:hover {
    text-decoration: none;
}
.left {
    float: left;
}
.right {
    float: right;
}
.clear {
    clear: both;
}
.text_right {
    text-align: right;
}
.header {
    width: 100%;
    height: 80px;
    background: linear-gradient(90deg, #7A3E2C, #4A2618);
}
.header_center {
    width: 30%;
    margin: 0px auto;
    color: #FFF2E0;
    text-align: center;
    height: 80px;
    background-image: url("../images/logoBg.png");
    background-size: 100% 100%;
    font-family: "微软雅黑", "Georgia", serif;
}
.header_center h2 {
    margin-top: 16px !important;
    font-size: 22px !important;
}
.color_font {
    color: #EADABC !important;
    font-size: 12px !important;
}
.header_logo {
    margin-left: 1%;
    margin-top: 12px;
}
.header_logo img {
    height: 56px;
}


.li_ul {
    position: absolute;
    background-color: #2C1E16;
    width: 100%;
    display: none;
    z-index: 999;
}
.li_ul li {
    line-height: 40px !important;
}
.li_ul li:hover {
    background-color: #A5532D;
}
.li_ul li a {
    color: #F0E0CA;
    font-size: 13px;
}


.con {
    width: 100%;
    /* background-color: rgba(38, 28, 22, 0.85); */
    padding-top: 20px;
    padding-bottom: 20px;
}
.con1 {
    width: 100%;
    /* background-color: rgba(38, 28, 22, 0.82); */
    box-sizing: border-box;
    overflow: auto;
}
.find_expend {
    display: none;
}
.con1::before {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}
.select_time {
    width: 140px;
    height: 36px;
    margin-bottom: 25px;
    margin-left: 1%;
    padding-left: 20px;
}
.select_time img {
    height: 18px;
    margin-top: 9px;
    filter: sepia(0.5);
}
.select_time input {
    border: none;
    background-color: transparent;
    width: 80px;
    height: 20px;
    top: -5px;
    margin-left: 10px;
    position: relative;
    text-indent: 1em;
    outline: none;
    color: #EADABC;
}
.con_div {
    height: 110px;
    width: 98%;
    margin-left: 1%;
    margin-bottom: 25px;
}
.con_div_text {
    height: 100%;
    background-color: #5A3A2A;
    width: 32%;
    margin-right: 1.3%;
}
.con_div_text01 {
    width: 50%;
    height: 100%;
}
.text01_img {
    width: 40px;
    height: 40px;
    margin-left: 5%;
    margin-top: 35px;
    filter: sepia(0.6);
}
.text01_div {
    margin-top: 15px;
    margin-left: 5%;
    text-align: center;
}
.text01_div p {
    line-height: 35px;
}
.text01_div p:nth-child(1) {
    font-size: 13px;
    color: #D9C6A7;
}
.text01_div p:nth-child(2) {
    font-size: 28px;
    color: #D8A66B;
    font-weight: 600;
}
.red {
    color: #D87B3E !important;
}
.sky {
    color: #C2A15B !important;
}
.org {
    color: #D87B3E !important;
}
.div_any {
    width: 98%;
    margin-left: 1%;
    margin-bottom: 25px;
    height: 610px;
}
.div_any01 {
    width: 23%;
    margin-right: 2%;
}
.div_any02 {
    width: 48%;
    margin-right: 2%;
}
.div_any03 {
    width: 98%;
    margin: 15px auto;
}
.div_any_child {
    width: 100%;
    height: 330px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid #B57B4B;
    box-sizing: border-box;
    position: relative;
    margin-top: 25px;
    background: rgba(38, 28, 22, 0.7);
}
.div_any_child01 {
    width: 48%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid #B57B4B;
    box-sizing: border-box;
    position: relative;
    margin-right: 2%;
    background: rgba(38, 28, 22, 0.7);
}
.div_any_child01_wh {
    width: 98% !important;
}
.div_height01 {
    height: auto !important;
    padding: 5px;
}
.char_table {
    height: 200px;
}
.p_chart {
    height: 288px;
    padding: 5px 10px;
    margin-top: 15px;
}
#map_div {
    width: 96%;
    height: 94%;
}
.div_height {
    height: 685px !important;
}
.div_any_title {
    background: linear-gradient(135deg, #7A3E2C, #4A2618);
    border-radius: 18px;
    position: absolute;
    height: 35px;
    width: 60%;
    top: -15px;
    color: #FFF2E0;
    font-weight: bold;
    font-size: 16px;
    left: 20%;
    line-height: 35px;
    text-align: center;
}
.div_any_title img {
    width: 18px;
    height: 18px;
    position: relative;
    top: 2px;
    margin-right: 5px;
    filter: sepia(0.8);
}
.any_title_width {
    width: 30% !important;
    left: 35% !important;
}
.div_table {
    width: 98%;
    margin-left: 1%;
    margin-bottom: 25px;
    height: 280px;
}
.div_table_box {
    width: 23%;
    margin-right: 2%;
}
.table_p {
    height: 93%;
    margin-top: 7%;
    position: relative;
}
.table_p01 {
    height: auto !important;
    margin-top: 0 !important;
    position: relative;
}
.table_p01 table td {
    padding: 6px 0;
}
.table_p table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    position: absolute;
    text-align: center;
}
.table_p table thead th {
    color: #D8A66B;
    font-size: 14px;
    font-weight: 600;
    padding-top: 5px;
    padding-bottom: 5px;
}
.table_p table tbody {
    color: #EADABC;
    font-size: 13px;
}
.table_p table tbody tr:nth-child(2n+1) {
    background-color: rgba(60, 45, 35, 0.5);
}
.car_left {
    width: 18%;
    height: 100%;
    background-color: rgba(38, 28, 22, 0.7);
}
.car_center {
    height: 100%;
    background-color: rgba(38, 28, 22, 0.7);
    width: 50.5%;
    margin-left: 0.5%;
}
.car_center video {
    width: 49.5%;
    height: 49%;
    box-sizing: border-box;
    border: 1px solid #B57B4B;
    float: left;
}
.magin_top {
    margin-top: 1%;
}
.magin_left {
    margin-left: 1%;
}
.car_right {
    width: 31%;
    height: 100%;
    background: rgba(38, 28, 22, 0.7);
}
.text_center {
    text-align: center;
}
.carNo_input {
    width: 75%;
    height: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-indent: 2em;
    margin-left: 5%;
    border: 1px solid #B57B4B;
    border-radius: 3px;
    background: rgba(0,0,0,0.3);
    color: #EADABC;
}
.find_but {
    height: 25px;
    background-image: url("../img/find.png");
    width: 25px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 8px;
    border: none;
    background-color: transparent;
    filter: sepia(0.6);
}
.find_but1 {
    height: 25px;
    background-image: url("../img/find.png");
    width: 25px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 8px;
    border: 1px solid #D8A66B;
    background-color: transparent;
    filter: sepia(0.6);
}
.set_list {
    padding: 10px 5%;
    color: #D9C6A7;
    font-size: 14px;
}
.list_i {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("../img/nav_1.png");
    top: 3px;
    position: relative;
}
.left_up {
    height: 58%;
}
.left_table {
    height: 98%;
    border-radius: 5px;
    width: 18% !important;
    background-color: rgba(38, 28, 22, 0.7);
    border: 1px solid #B57B4B;
}
.right_table {
    height: 98%;
    border-radius: 5px;
    width: 81.5% !important;
    background-color: rgba(38, 28, 22, 0.7);
    margin-left: 0.5%;
    border: 1px solid #B57B4B;
}
.center_table {
    height: 100%;
    border-radius: 5px;
    width: 100%;
    background-color: rgba(38, 28, 22, 0.7);
    margin: 0 auto;
    border: 1px solid #B57B4B;
}
.bow_shadow {
    border: 1px solid #B57B4B;
    width: 100%;
    box-sizing: border-box;
}
.ztree li a {
    color: #EADABC !important;
}
.left_down {
    height: 40%;
    margin-top: 2%;
}
.tab_a {
    width: 45%;
    height: 30px;
    line-height: 30px;
    color: #F0E0CA;
    background-color: #5A3A2A;
    display: inline-block;
    margin-right: 1%;
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
}
.tab_aActive {
    background-color: #A5532D !important;
    font-weight: 600;
}
.car_content {
    margin-left: 5%;
    font-size: 13px;
    color: #EADABC;
}
.car_content p {
    padding-top: 5px;
    padding-bottom: 5px;
}
.table2_find {
    background-color: rgba(60, 45, 35, 0.5);
    border-left: 4px solid #D8A66B;
    width: 100%;
    padding: 5px 0;
    color: #EADABC;
}
.table2_find input[type=text] {
    background-color: transparent;
    width: 16%;
    height: 24px;
    border-radius: 3px;
    text-indent: 1em;
    border: 1px solid #B57B4B;
    color: #EADABC;
}
.table_find {
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid rgba(181, 123, 75, 0.4);
    font-size: 13px;
}
.more_find {
    cursor: pointer;
    position: relative;
    top: 5px;
}
.table_find .glyphicon {
    margin-right: 5px;
}
.table_find button {
    padding: 4px 10px;
    background: #A5532D;
    border: none;
    color: #FFF2E0;
    border-radius: 3px;
}
.table_find p {
    margin-top: 8px;
}
.table_find label {
    color: #D9C6A7;
    width: 8%;
    display: inline-block;
    text-align: right;
}
.table_find input[type=text], .table_find input[type=date] {
    width: 16%;
    height: 24px;
    border-radius: 3px;
    text-indent: 1em;
    border: 1px solid #D8A66B;
    background-color: rgba(0,0,0,0.3);
    color: #EADABC;
}
.table_find select {
    width: 12%;
    height: 24px;
    border-radius: 3px;
    text-indent: 1em;
    border: 1px solid #D8A66B;
    background-color: rgba(0,0,0,0.3);
    color: #EADABC;
}
.table_find input[type=checkbox] {
    width: 14px;
    height: 14px;
    position: relative;
    top: 3px;
    margin-right: 5px;
    accent-color: #D8A66B;
}
.table_find span {
    color: #C2A15B;
    margin-right: 2%;
}
.find_button {
    width: 5%;
    height: 26px;
    border: none;
    border-radius: 2px;
    background-color: #A5532D;
    color: #FFF2E0;
    font-size: 14px;
}
.table2_style {
    color: #EADABC;
    border: none !important;
    font-size: 13px;
}
.table2_style a {
    margin-right: 10px;
    color: #D8A66B;
}
.table2_style tbody tr:nth-child(2n+1) {
    background-color: rgba(60, 45, 35, 0.5);
    border-left: 4px solid #D8A66B;
}
.table2_style thead tr {
    color: #F0E0CA;
    background-color: #5A3A2A;
}
.table2_style td {
    border: none !important;
}
.table2_style thead th {
    border-bottom: none !important;
}
.table2_style tbody tr:nth-child(2n):hover {
    background-color: rgba(165, 83, 45, 0.4);
}
.table_style {
    color: #EADABC;
    border: 1px solid #B57B4B;
    font-size: 13px;
    background: rgba(38,28,22,0.5);
}
.table_style a {
    margin-right: 10px;
    color: #D8A66B;
}
.table_style td {
    border: none !important;
}
.table_style tbody tr:nth-child(2n+1) {
    background-color: rgba(60, 45, 35, 0.5);
}
.table_style thead tr {
    color: #D8A66B;
}
.table_style thead th {
    border-bottom: none !important;
}
.table_style tbody tr:nth-child(2n):hover {
    background-color: rgba(165, 83, 45, 0.2);
}
.table_div {
    margin-top: 10px;
    color: #EADABC;
}
.table_but {
    text-align: right;
    font-size: 13px;
    padding-bottom: 5px;
    padding-top: 10px;
}
.table_but a {
    margin-right: 15px;
    color: #D8A66B;
}
.table_but a i {
    margin-right: 5px;
}
.table_del {
    color: #D87B3E;
}
.table_edit {
    color: #C2A15B;
}
.span_left {
    padding: 5px;
}
/* 地图界面样式 */
.map_con {
    width: 100%;
    padding: 0;
    /* background-color: rgba(38, 28, 22, 0.85); */
}
.map_left {
    width: 79%;
    height: 100%;
}
.map_right {
    width: 20.5%;
    height: 100%;
    background-color: rgba(38, 28, 22, 0.7);
    border-left: 1px solid #B57B4B;
}
.map_box {
    width: 100%;
    height: 100%;
}
.map_top {
    position: absolute;
    top: 80px;
    left: 0;
    height: 35px;
    width: 79%;
    border-bottom: 1px solid #D8A66B;
    background-color: rgba(247, 240, 225, 0.9);
    z-index: 99;
}
.map_top>ul {
    list-style: none;
    font-size: 14px;
    float: right;
}
.map_top>ul>li {
    display: inline-block;
    line-height: 35px;
    padding: 0 10px;
}
.map_top>ul>li i {
    margin-right: 5px;
}
.map_top>ul>li a {
    color: #3E2A23;
}
.map_top>ul .active, .map_top>ul>li .active {
    color: #A5532D;
}
.map_select {
    position: fixed;
    top: 160px;
    right: 21.5%;
    border: 1px solid #B57B4B;
    width: 120px;
    height: 180px;
    border-radius: 5px;
    background-color: rgba(38, 28, 22, 0.95);
}
.map_select p {
    padding: 8px 15px;
    color: #EADABC;
    font-size: 14px;
}
.map_select p input[type=checkbox] {
    width: 15px;
    height: 15px;
    position: relative;
    top: 3px;
    margin-right: 10px;
    accent-color: #D8A66B;
}
.map_right_top {
    width: 100%;
    height: 35px;
    background: linear-gradient(135deg, #7A3E2C, #4A2618);
}
.map_right_top>ul>li {
    list-style: none;
    display: inline-block;
    line-height: 35px;
    font-size: 14px;
    text-align: center;
    width: 32%;
    color: #FFF2E0;
    cursor: pointer;
}
.map_right_top>ul>li.li_active {
    background-color: #A5532D;
}
.map_chart {
    width: 100%;
    height: 250px;
    box-sizing: border-box;
    position: relative;
    margin-top: 25px;
}
.map_con {
    width: 100%;
}
.map_con_div {
    display: none;
}
.map_work {
    margin-top: 5px;
    border-top: 1px solid #D8A66B;
}
.map_work>ul>li {
    list-style: none;
    display: inline-block;
    width: 32%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px 0;
}
.map_work>ul>li:hover {
    box-shadow: inset 0 0 12px rgba(200, 143, 94, 0.4);
}
.map_work>ul>li .img_div {
    width: 28px;
    height: 24px;
    margin: 0 auto;
}
.img_div01 {
    background: url(../img/map_photo.png) no-repeat;
    background-position: -126px -73px;
}
.img_div02 {
    background: url(../img/map_photo.png) no-repeat;
    background-position: -98px -122px;
}
.img_div_text {
    color: #EADABC;
    margin-top: 8px;
    font-size: 13px;
}
.back_i {
    position: relative;
    top: 2px;
    margin-right: 5px;
}
.map_resList {
    width: 96%;
    margin: 0 auto;
    font-size: 13px;
    display: none;
}
.map_resList>ul>li {
    list-style: none;
    margin-top: 8px;
}
.map_resList>ul>li p {
    padding: 5px 0;
    color: #EADABC;
}
.map_resList>ul>li a {
    margin-right: 6px;
}
.map_resList>ul>li a img {
    width: 16px;
}
.map_resList>ul>li:nth-child(2n+1) {
    background-color: rgba(165, 83, 45, 0.2);
}
/* 统计分析界面样式 */
.static_top {
    width: 140px;
    height: 36px;
    line-height: 36px;
    background: linear-gradient(135deg, #7A3E2C, #4A2618);
    margin-bottom: 25px;
    margin-left: 1%;
    padding-left: 20px;
    border-radius: 1px;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
}
.static_top i {
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    background-image: url("../img/nav_7.png");
    background-repeat: no-repeat;
    margin-right: 6px;
    top: 1px;
}
.static_top span {
    color: #D8A66B;
}
.stiatic_top_con {
    background-color: #5A3A2A;
    width: 96%;
    margin-left: 1%;
    margin-bottom: 25px;
    padding: 10px 1%;
    border-radius: 5px;
    border: 1px solid #B57B4B;
}
.stiatic_top_con table {
    width: 100%;
    border-collapse: collapse;
}
.stiatic_top_con table td {
    color: #EADABC;
    padding: 5px;
    font-size: 13px;
    border: 1px solid rgba(181, 123, 75, 0.5);
}
.stiatic_top_con table .labe_td {
    color: #D8A66B;
    font-size: 14px;
    width: 120px;
    text-align: right;
}
.layui-layer-title {
    background-color: #2C1E16 !important;
    color: #FFF2E0 !important;
    border-bottom: 3px solid #D8A66B !important;
    box-sizing: border-box;
}
.hide {
    display: none !important;
}
.xc_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2C1E16;
    opacity: 0.5;
    z-index: 1000;
}
.popBox {
    position: fixed;
    left: 45%;
    top: 10%;
    background-color: #2C1E16;
    z-index: 1001;
    width: 90%;
    max-height: 84%;
    margin-left: -40%;
    border-radius: 5px;
    font-weight: bold;
    color: #F0E0CA;
    height: 100%;
}
.popBox .ttBox {
    height: 30px;
    line-height: 30px;
    padding: 14px 30px;
    border-bottom: solid 1px #B57B4B;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.popBox .ttBox .tt {
    font-size: 20px;
    display: inline-block;
    height: 30px;
    color: #D8A66B;
}
.popBox .txtBox {
    height: calc(100% - 80px);
    overflow: auto;
    padding: 10px 0;
}
/* 古风地图工具提示 */
.gu-tooltip {
    background: rgba(45,35,28,0.9);
    border: 1px solid #C88F5E;
    color: #F0E0CA;
    font-family: '微软雅黑','楷体';
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    backdrop-filter: blur(2px);
}
.leaflet-popup-content-wrapper {
    border-radius: 6px;
    background: #FDF8F0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.leaflet-popup-tip {
    background: #FDF8F0;
}
.gu-marker-dot {
    position: relative;
    width: 14px;
    height: 14px;
    background: inherit;
    border-radius: 50%;
    animation: none;
}
.gu-marker-dot::before,
.gu-marker-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(200, 143, 94, 0);
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.gu-marker-dot::before {
    animation: ripple-wave 1.8s ease-out infinite;
}
.gu-marker-dot::after {
    animation: ripple-wave 1.8s ease-out infinite 0.6s;
}
@keyframes ripple-wave {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgba(200, 143, 94, 0.8);
    }
    100% {
        width: 300%;
        height: 300%;
        opacity: 0;
        box-shadow: 0 0 0 20px rgba(200, 143, 94, 0);
    }
}
.text01_div {
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
}
#lineChart, #lineChart2, .p_chart {
    width: 100% !important;
    box-sizing: border-box;
}
/* 修复顶部卡片行布局（六卡片均分，不错位） */
.con_div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5%;
    width: 98%;
    margin: 0 auto 25px;
    height: auto;
    background: transparent;
}

.con_div_text {
    display: flex;
    flex: 1;
    gap: 1.5%;
    /* background: #5A3A2A; */
    /* border-radius: 8px; */
    padding: 10px 0;
    width: auto;
    margin-right: 0;
    height: auto;
}

.text01_img {
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    display: block;
    float: none;
}

.text01_div {
    margin-top: 0;
    margin-left: 0;
    text-align: center;
    width: 100%;
}

.text01_div p {
    line-height: 1.4;
    margin: 0;
}

.text01_div p:first-child {
    font-size: 13px;
    color: #D9C6A7;
}

.text01_div p:last-child {
    font-size: 24px;
    color: #D8A66B;
    font-weight: 600;
}

/* 响应式：小屏幕时卡片垂直排列 */
@media (max-width: 768px) {
    .con_div {
        flex-direction: column;
        gap: 12px;
    }
    .con_div_text {
        width: 100%;
    }
}/* 确保图表标题不被地图遮挡 */
.div_any_title {
    z-index: 10;  /* 提高层级，显示在地图之上 */
    pointer-events: none; /* 让标题不干扰地图交互（可选） */
}

/* 地图容器自身不产生溢出覆盖 */
#mapContainer {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 5px;  /* 避免紧贴标题 */
    height: 100%;
    width: 100%;
    min-height: 300px;
}


/* 如果地图父容器有绝对定位问题，确保相对定位 */
.div_any_child {
    position: relative;  /* 已有，确保生效 */
    overflow: visible;   /* 防止裁剪标题 */
}
/* ========== 导航栏样式（古风融合） ========== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 0.25rem;
    background: linear-gradient(90deg, #7A3E2C, #4A2618);
    border-bottom: 1px solid #C99B6B;
    position: relative;
    height: auto;
    min-height: 1.25rem;
}

.nav-container {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: wrap;
}

header h1 {
    font-size: 0.475rem;
    color: #FFF2E0;
    text-align: center;
    line-height: 1rem;
    text-shadow: 0 0 5px #A55A3A;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 0.2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.3rem;
    padding: 0.05rem 0.15rem;
    backdrop-filter: blur(2px);
}

.nav-links a {
    font-size: 0.22rem;
    color: #F0E0CA;
    text-decoration: none;
    padding: 0.08rem 0.18rem;
    border-radius: 0.3rem;
    transition: all 0.3s ease;
    font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a:hover {
    background: #C88F5E;
    color: #2C1E16;
    box-shadow: 0 0 8px rgba(200, 143, 94, 0.6);
    transform: translateY(-1px);
}

.nav-links a.active {
    background: #D8A66B;
    color: #3E2A23;
    pointer-events: none;
    font-weight: bold;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}

header .showTime {
    position: static;
    font-size: 0.22rem;
    color: #EADABC;
    line-height: 1rem;
    margin-left: auto;
    white-space: nowrap;
}

/* 响应式：窄屏幕时导航换行 */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .nav-container {
        justify-content: center;
        margin-bottom: 0.1rem;
    }
    header .showTime {
        text-align: center;
        margin: 0 auto 0.1rem;
    }
}