@charset "utf-8";
/* CSS Document */
*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box}
*,body{padding:0px;	margin:0px;color: #222;font-family: "微软雅黑";}
html, body {
    width: 100%;
    height: 100%;
}


/* 数字字体 */
@font-face {
    font-family: electronicFont;
    src: url(font/DS-DIGIT.TTF);
}

/* 背景动画 */
.canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 头部样式 */
.head {
    height: 80px;
    background: url(images/head_bg.png) no-repeat center;
    background-size: cover;
    border-bottom: 1px solid rgba(25,186,139,.17);
    position: relative;
    z-index: 10;
    text-align: center;
}

.head h1 {
    color: #fff;
    text-align: center;
    font-size: 36px;
    line-height: 80px;
    display: inline-block;
}

.weather {
    position: absolute;
    top: 0;
    right: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#showTime {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-family: electronicFont;
}

.title-text {
    position: absolute;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 36px;
    line-height: 80px;
    z-index: 10;
}

/* 主体布局 */
.mainbox {
    padding: 10px 10px 0 10px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.mainbox > ul {
    display: flex;
    justify-content: space-between;
    height: calc(100vh - 30px);
    overflow: hidden;
}

.mainbox > ul > li {
    position: relative;
    flex: 1;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 图表容器 */
.boxall {
    position: relative;
    padding: 0;
    flex: 1;
    margin-bottom: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(25,186,139,.17);
}

.boxall:last-child {
    margin-bottom: 0;
}

/* 图表标题 */
.alltitle {
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    color: #fff;
    text-align: center;
    background: rgba(101,132,226,.1);
}

/* 图表区域 */
.allnav {
    position: relative;
    min-height: 200px;
    padding: 15px;
    overflow: hidden;
    height: 250px;
}

/* 图表容器内部 */
.boxall .chartbox {
    width: 100%;
    height: 100%;
    padding: 5px;
    overflow: hidden;
}

/* 确保图表本身填充容器 */
#echart1, #echart2, #echart3, #echart4, #echart5, #echart6, #map_1 {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px;
    overflow: hidden;
}

/* 特别为词云图设置样式 */
#echart3 {
    width: 100% !important;
    height: 300px !important;
    position: relative !important;
    visibility: visible !important;
    background: rgba(255,255,255,.04);
    overflow: hidden;
}

.boxall:has(#echart3) {
    height: 350px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.boxall:has(#echart3) .allnav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
}

/* 左右两侧面板 */
.mainbox > ul > li:first-child,
.mainbox > ul > li:last-child {
    flex: 0 0 25%;
}

/* 中间面板 */
.mainbox > ul > li:nth-child(2) {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

.mainbox > ul > li:nth-child(2) .boxall {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mainbox > ul > li:nth-child(2) .allnav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 装饰边框 */
.boxall:before,
.boxall:after,
.boxfoot:before,
.boxfoot:after {
    position: absolute;
    width: 10px;
    height: 10px;
    content: "";
}

.boxall:before {
    border-left: 2px solid #02a6b5;
    border-top: 2px solid #02a6b5;
    left: 0;
    top: 0;
}

.boxall:after {
    border-right: 2px solid #02a6b5;
    border-top: 2px solid #02a6b5;
    right: 0;
    top: 0;
}

.boxfoot:before {
    border-left: 2px solid #02a6b5;
    border-bottom: 2px solid #02a6b5;
    left: 0;
    bottom: 0;
}

.boxfoot:after {
    border-right: 2px solid #02a6b5;
    border-bottom: 2px solid #02a6b5;
    right: 0;
    bottom: 0;
}

/* 数字统计区 */
.bar {
    background: rgba(101,132,226,.1);
    padding: 15px;
    margin-bottom: 15px;
}

.barbox {
    border: 1px solid rgba(25,186,139,.17);
    position: relative;
    height: 60px;
}

.barbox ul {
    display: flex;
    height: 100%;
}

.barbox li {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffeb7b;
    font-size: 36px;
    font-family: electronicFont;
    font-weight: bold;
}

.barbox li:first-child {
    border-right: 1px solid rgba(255,255,255,.2);
}

.barbox2 {
    margin-top: 10px;
}

.barbox2 ul {
    display: flex;
}

.barbox2 li {
    flex: 1;
    text-align: center;
    font-size: 16px;
    color: rgba(255,255,255,.7);
}

/* 地图容器 */
.map {
    position: relative;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.map1, .map2, .map3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map1 img, .map2 img, .map3 img {
    max-width: 80%;
    max-height: 80%;
}

.map1 {
    z-index: 2;
    animation: rotate1 15s infinite linear;
}

.map2 {
    z-index: 3;
    opacity: 0.2;
    animation: rotate2 10s infinite linear;
}

.map3 {
    z-index: 1;
}

.map4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
}

/* 旋转动画 */
@keyframes rotate1 {
    from {transform: rotate(0deg);}
    to {transform: rotate(359deg);}
}

@keyframes rotate2 {
    from {transform: rotate(0deg);}
    to {transform: rotate(-359deg);}
}

/* 主容器样式 */
.mainbox {
    padding: 10px 10px 0 10px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.mainbox > ul {
    display: flex;
    justify-content: space-between;
    height: calc(100vh - 30px);
    overflow: hidden;
}

.download-btn {
    background: rgba(25,186,139,.17);
    border: 1px solid #02a6b5;
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 36px;
}

.download-btn:hover {
    background: rgba(25,186,139,.3);
    transform: translateY(-2px);
}

.download-btn i {
    font-size: 16px;
}

/* 平台选择框样式 - 头部 */
.weather .platform-filter {
    margin-right: 15px;
    display: inline-block;
}

.weather .platform-filter select {
    background-color: rgba(24, 55, 107, 0.8);
    border: 1px solid rgba(25, 186, 139, 0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    height: 36px;
}

.weather .platform-filter select:hover {
    background-color: rgba(25, 186, 139, 0.2);
}

.weather .platform-filter select option {
    background-color: rgb(24, 55, 107);
    color: #fff;
}