* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
li {
    list-style: none;
}
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: url(../img/新图.png) no-repeat center center fixed;
    background-size: cover;
    line-height: 1.15;
}
.main{display: none;}
.show{display: block;}
/* 基础样式，适用于所有屏幕 */
header {
    width: 100%; /* 宽度占满整个容器 */
    padding: 10px; /* 内边距 */
    background-color: #333; /* 背景色 */
    color: white; /* 文字颜色 */
    text-align: center; /* 文字居中 */
}

header h1 {
    font-size: 3vw; /* 字体大小相对于视口宽度 */
    margin: 0; /* 移除默认外边距 */
}

/* 媒体查询，针对大屏幕设备（如桌面） */
@media (min-width: 601px) {
    header h1 {
        font-size: 3vw; /* 在大屏幕上，字体稍微小一些 */
    }
}
header {
    position: relative;
    height: 1rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(240, 245, 250, 0.9));
    background-size: 100% 100%;text-align: center;
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
header h1 {
    font-size: 0.55rem;
    position: relative;
    color: #2c3e50;
    text-align: center;
    line-height: 1rem;letter-spacing:0.05rem ;
    background-image: linear-gradient(to right, #2c5aa0, #4a90e2, #5ba3f5);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;display: inline-block;
    font-weight: 700;
}
.fontcolor{
    color: #fff;
    background-image:-webkit-linear-gradient(left,#0073ff,#00eaff,#01abff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}
header .showTime {
    position: absolute;
    top: 0;
    right: 0.375rem;
    line-height: 0.9375rem;
    font-size: 0.25rem;
    color: rgba(255, 255, 255, 0.7);
}
header .light{
    position: absolute;top: 0;left: 0;width: 100%;
    height: 2rem;
    background: url(../img/board/light.png) no-repeat top center;
    background-size: auto 100%;text-align: center;
}


/* 媒体查询，针对小屏幕设备（如手机） */
@media (max-width: 600px) {
    header h1 {
        font-size: 3vw; /* 在小屏幕上，字体稍微大一些 */
        line-height:1rem;
        margin-top: -10px;
    }
}

.mainbox {
    position: relative;
    min-width: 1024px;
    max-width: 1920px;
    padding: 0.375rem 0.1875rem 0;
    display: flex;z-index: 10;
}
.mainbox .column {
    flex: 3.3;
    margin: 0 0.1875rem;position: relative;overflow: hidden;
}
.mainbox .column:nth-child(2) {
    flex: 5;
    margin: 0 0.1875rem;
    overflow: hidden;
}
.mainbox .column .box{
    position: absolute;width: 100%;z-index: 99;
}
.panel {
    position: relative;
    height: 4.275rem;
    border: 1px solid rgba(100, 150, 200, 0.4);
    background: rgba(240, 240, 240, 0.85);
    padding:0.05rem;
    margin-bottom: 0.375rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 手机端传感器图表允许tooltip溢出 */
@media (max-width: 600px) {
    .panel1 {
        overflow: visible !important;
    }
    .panel1 .chart {
        overflow: visible !important;
    }
}
.panel::before {
    position: absolute;
    top: -2px;
    left: -2px;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid #4a90e2;
    border-left: 3px solid #4a90e2;
}
.panel::after {
    position: absolute;
    top: -2px;
    right: -2px;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid #4a90e2;
    border-right: 3px solid #4a90e2;
}
.panel .panel-footer {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}
.panel .panel-footer::before {
    position: absolute;
    bottom: -2px;
    left: -2px;
    content: "";
    width: 12px;
    height: 12px;
    border-left: 3px solid #4a90e2;
    border-bottom: 3px solid #4a90e2;
}
.panel .panel-footer::after {
    position: absolute;
    bottom: -2px;
    right: -2px;
    content: "";
    width: 12px;
    height: 12px;
    border-bottom: 3px solid #4a90e2;
    border-right: 3px solid #4a90e2;
}
.panel h2 {
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: left;
    color: #2c3e50;
    font-size: 0.275rem;
    padding-left: 0.2rem;
    font-weight: 600;
    background: linear-gradient(to right, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
    position: relative;
    left: -0.05rem;
    width: calc(100% + 0.1rem);
    margin-bottom: 0;
}
.panel h2 span{
    background-image: linear-gradient(to right, #2c5aa0, #4a90e2, #5ba3f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.panel h2 a {
    margin: 0 0.1875rem;
    color: #fff;
    text-decoration: underline;
}
.panel .chart {
    height: 3.4rem;margin:0.3rem 0.2rem 0;
    overflow: visible !important;
    position: relative;
}
.panel .chart2 {
    height: 3.4rem;margin:0.3rem 0.2rem 0;
    overflow: visible !important;
    position: relative;
}
.panel .paicha {
    height: 3.4rem;margin:0.14rem 0.1rem 0;
}
.panel .paicha .li {
    display: flex;color: #2c3e50;font-size:0.2rem;height: 0.5rem;line-height: 0.5rem;padding: 0 0.25rem 0 0.25rem;
cursor: pointer;
}
.panel .paicha .li:nth-child(2n-1){
    background: rgba(74, 144, 226, 0.08);
}
.panel .paicha .hd .li:first-child{
    background: rgba(74, 144, 226, 0.15);color: #2c5aa0;font-weight: 600;
}
.panel .paicha .li div {
    flex: 1;text-align: center;
}
.panel .paicha .li div:first-child {
    flex: 1;text-align: left;
}
.panel .paicha .li div:nth-child(2) {
    flex: 2;text-align: left;
}
.panel .paicha .li div:nth-child(3) {
    flex: 2;text-align: right;
}

.panel .paicha .li.on {
   background: linear-gradient(to right, rgba(74, 144, 226, 0.3), rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.1));
}
.panel .paicha .bd .li div:nth-child(3){
    color: #27ae60;
    font-weight: 600;
}
.no {
    background: rgba(101, 132, 226, 0.1);
    padding: 0.1875rem;
}
.no .no-hd {
    position: relative;
    border: 1px solid rgba(25, 186, 139, 0.17);
}
.no .no-hd::before {
    content: "";
    position: absolute;
    width: 30px;
    height: 10px;
    border-top: 2px solid #02a6b5;
    border-left: 2px solid #02a6b5;
    top: 0;
    left: 0;
}
.no .no-hd::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 10px;
    border-bottom: 2px solid #02a6b5;
    border-right: 2px solid #02a6b5;
    right: 0;
    bottom: 0;
}
.no .no-hd ul {
    display: flex;
}
.no .no-hd ul li {
    position: relative;
    flex: 1;
    text-align: center;
    height: 1rem;
    line-height: 1rem;
    font-size: 0.875rem;
    color: #ffeb7b;
    padding: 0.05rem 0;
    font-family: electronicFont;
    font-weight: bold;
}
.no .no-hd ul li:first-child::after {
    content: "";
    position: absolute;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
    right: 0;
    top: 25%;
}
.no .no-bd ul {
    display: flex;
}
.no .no-bd ul li {
    flex: 1;
    height: 0.5rem;
    line-height: 0.5rem;
    text-align: center;
    font-size: 0.225rem;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 0.125rem;
}
.gpsmapbox{
	height: 4rem;overflow: hidden;margin-top: 4px;
}
.gpsmap{
	height: 3.6rem;
}
/* 已移除地球动画效果
.map {
    position: absolute;
    height: 10.125rem;top: 2.4rem;width: 100%;overflow: hidden;z-index: 2;
}
.map .chart {
    position: absolute;
    left: 0;
    z-index: 5;
    height: 10.125rem;
    width: 100%;
}
.map .map1,
.map .map2,
.map .map3 {
    position: absolute;z-index: 9;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.1125rem;
    height: 7.1125rem;
    background: url(../img/board/earth.png) no-repeat;
    background-size: 100% 100%;
    opacity: 0.9;
}
.map .map2 {
    width: 7.25rem;
    height: 7.25rem;
    background-image: url(../img/board/net.png);
    opacity: 0.6;
    animation: rotate 20s linear infinite;
    z-index: 10;
}
.map .map3 {
    width: 9.425rem;
    height: 9.425rem;
    background-image: url(../img/board/out.png);opacity: 0.8;
    animation: rotate1 30s linear infinite;
    z-index: 11;
}
*/


.top{
    height: 1.625rem;padding: 0.375rem 0.375rem 0.375rem;
}
.panel.icons{
    height: 2.2rem;
    min-height: 2.2rem;
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
}
.panel.icons h2{
    width: 100%;
    flex-shrink: 0;
}
.icons{
    display: flex;
    flex-direction: row;
    padding: 0.2rem 0.5rem 0 0.4rem;
    justify-content: space-between;
    flex: 1;
}
.panel.icons h2 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0.2rem !important;
    z-index: 1 !important;
}

.icons .li{
    display: flex;color: #2c3e50;flex: 1;align-items: center;
}
.icon-svg{
    width: 0.6rem;
    height: 0.6rem;
    margin-right: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-svg img{
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(187deg) brightness(119%) contrast(119%);
}
/* 移除旧的六边形图标样式 */
.icons .li .text .title{
    font-size: 0.21rem;margin: 0.25rem 0 0.05rem;opacity: 0.9;color: #2c3e50;
}
.icons .li .text .num{
    color: #4a90e2;
    font-weight: 600;
}
.icons .li .text .num span{
    font-size: 0.45rem;font-family: "Century Gothic", "Microsoft yahei";
}
.icons .li .text .num i{
    font-style: normal;display: inline-block;margin-left: 4px;font-size: 0.2rem;
}
/* GPS图标样式 */
.icons.GPS .icon-svg img{
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(187deg) brightness(119%) contrast(119%);
}
.icons.GPS .nums{
    display: flex;margin-top:10px;
}
.icons.GPS .num:first-child{
    margin-right: 10px;
}
.icons.GPS .num span{
    font-size:0.33rem!important;
}

.panel0{
	height:4.275rem;
}

.panel1{
	height:4.275rem;
}

.panel3{
	height:4rem;
}

.panel4{
	height: 4rem;
	padding-bottom: 0.3rem;
	overflow: hidden;
}

.panel5{
	height:11.2rem;
}

/* 已移除底部光圈呼吸效果
.bg_quan_box{
    height: 5.5875rem;position: absolute;width: 100%;top: 7.9125rem;z-index: 1;overflow: hidden;
}
.bg_quan{
    height: 5.5875rem;overflow: hidden;
    background: url(../img/board/bg_quan.jpg) no-repeat top center;
    background-size: auto 100%;text-align: center;
    animation: animat 3s linear infinite;
}
*/
.red{
	color: #f00!important;
}
.info .company{
	font-size: 0.35rem;
}
.info .text{
	display: flex;color: #fff;justify-content: space-between;font-size: 0.2rem;opacity: 0.9;margin-top: 0.2rem;
}

.info .text span{
	color: #00dbff;display: inline-block;margin-left:16px;
}

.alerts{
	padding: 0.15rem 0.3rem;
	overflow: auto;
	height: calc(100% - 0.8rem);
}

.alerts .li{
	color: #2c3e50; font-size: 0.18rem;line-height: 1.6;
}

.alerts .li li{
	word-wrap: break-word;
	word-break: break-word;
	white-space: normal;
	overflow-wrap: break-word;
	width: 100% !important;
	display: block !important;
	text-align: justify !important;
	text-justify: inter-word;
	font-size: 0.24rem !important;
	letter-spacing: 0.02rem !important;
	padding-right: 0 !important;
	margin-right: 0 !important;
}

.alerts .li a{
	display: inline !important;
	word-break: keep-all;
	margin: 0 !important;
	padding: 0 !important;
}

.alerts .li div{
	margin-right: 0 !important;
	padding-right: 0 !important;
}
.alerts .li .time{
	color: #4a90e2;
	font-weight: 500;
}

/* 已移除动画关键帧（不再需要）
@keyframes animat {
    0% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.9;
    }
    100% {
        opacity: 0.4;
    }
}
@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes rotate1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}
*/
@media screen and (max-width: 1024px) {
    html {
        font-size: 42px !important;
    }
}
@media screen and (min-width: 1920px) {
    html {
        font-size: 80px !important;
    }
}

.loading-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;color: #fff;position: absolute; z-index: 99;top: 0;left: 50%;margin-left: -35px;
}
.loading-animation p {
	line-height: 40px;opacity: 0.7;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #00dbff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
