@charset "utf-8";
 .overview-bar{
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 12px 0;
}

.overview-card{
    position: relative;
    padding: 16px 18px;
    background: linear-gradient(145deg, rgba(0, 120, 60, 0.65), rgba(0, 60, 30, 0.55));
    border: 1px solid rgba(0, 255, 120, 0.35);
    border-radius: 8px;
    box-shadow: inset 0 0 18px rgba(0, 255, 120, 0.15);
    overflow: hidden;
}

.overview-label{
    font-size: 14px;
    color: #9fffcc;
    letter-spacing: 1px;
}

.overview-value{
    margin-top: 6px;
    font-size: 28px;
    color: #ffffff;
    font-weight: bold;
}

.overview-sub{
    margin-top: 4px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: .5px;
}
/*通用样式ͨ*/
body,ul,li,p,h1,h2,h3,h4,h5,h6,dl,dt,dd {
    margin:0;
    padding:0;
}
ul, li{
    list-style: none;
}
a:link,
a:visited,
a:active {
    text-decoration: none;
}
body{
    background: #0a2818;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}

.header{
    position: relative;
    height: 90px;
    padding: 18px 120px 0 120px;
    font-size: 40px;
    color: #00ff88;
    text-align: center;
    background: url(../bg.png) top center no-repeat;
    letter-spacing: 2px;
}
.header-sub-title{
    font-size: 16px;
    color: #8dffb8;
    margin-top: 6px;
    letter-spacing: 1px;
}
.header-toolbar{
    position: absolute;
    right: 40px;
    top: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.toolbar-item{
    font-size: 14px;
    color: #c7ffe0;
    background: rgba(0, 180, 80, 0.2);
    border: 1px solid rgba(0, 255, 120, 0.4);
    border-radius: 4px;
    padding: 6px 12px;
}
.main{
    padding: 0 12px 12px;
    display: flex;
    gap: 10px;
}
.main-left,
.main-middle,
.main-right{
    flex: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.main-left{
    width: 25%;
}
.main-middle{
    width: 50%;
}
.main-right{
    width: 25%;
}

.border-container {
    position: relative;
    padding: 12px 12px 8px 12px;
    border: 1px solid #54f2a8;
    background: rgba(4, 45, 25, 0.55);
    box-shadow: inset 0 0 18px rgba(0, 255, 120, 0.12);
}

.border-container span.border-span {
    display: block;
    position: absolute;
    width:35px;
    height: 35px;
}

.border-container span.top-left {
    top: -4px;
    left:-4px;
    border-top: 3px solid #54f2a8;
    border-left: 3px solid #54f2a8;
}

.border-container span.top-right {
    top:-4px;
    right:-4px;
    border-top: 3px solid #54f2a8;
    border-right: 3px solid #54f2a8;
}

.border-container span.bottom-left {
    bottom: -4px;
    left: -4px;
    border-bottom: 3px solid #54f2a8;
    border-left: 3px solid #54f2a8;
}

.border-container span.bottom-right {
    bottom: -4px;
    right: -4px;
    border-bottom: 3px solid #54f2a8;
    border-right: 3px solid #54f2a8;
}
.name-title{
    font-size: 18px;
    color: #7fffcc;
    padding-left: 4px;
    border-left: 3px solid #00ff88;
    margin-bottom: 8px;
}

.text-block{
    color: #d5ffe8;
    line-height: 1.6;
    font-size: 14px;
    min-height: 120px;
}

#briefingCards{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.brief-card{
    padding: 10px;
    background: rgba(0, 80, 50, 0.45);
    border: 1px solid rgba(0, 255, 120, 0.3);
    border-radius: 6px;
    box-shadow: inset 0 0 12px rgba(0, 255, 120, 0.12);
}

.brief-card-title{
    color: #00ff88;
    font-size: 15px;
    margin-bottom: 6px;
}

.brief-card ul{
    margin: 0;
    padding-left: 18px;
    color: #d1ffe8;
    font-size: 13px;
}

#seasonRadar,
#seasonPollutantPie,
#beijingMap,
#rainEventLine,
#windAqiCurve,
#vehicleTrend,
#goodDayBar,
#districtSeasonCard{
    height: 260px;
}

#sourceContribution,
#dustSourceBar,
#coalAqiScatter{
    height: 280px;
}

#seasonPollutantPie{
    height: 240px;
}

.main-map #beijingMap{
    height: 360px;
}

.map-legend{
    position: absolute;
    right: 16px;
    top: 52px;
    background: rgba(0, 40, 25, 0.7);
    border: 1px solid rgba(0, 255, 120, 0.35);
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    color: #c8ffe8;
}
.map-legend li{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.legend-color{
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.map-stage-tabs{
    position: absolute;
    left: 20px;
    top: 52px;
    display: flex;
    gap: 8px;
}
.map-stage-tabs button{
    padding: 4px 10px;
    font-size: 12px;
    color: #c9ffdd;
    background: rgba(0, 120, 60, 0.35);
    border: 1px solid rgba(0, 255, 120, 0.4);
    border-radius: 4px;
    cursor: pointer;
}
.map-stage-tabs button.active{
    background: rgba(0, 200, 100, 0.6);
    color: #001810;
}

.half-board{
    display: flex;
    margin: -12px -12px -4px;
}
.half-board li{
    flex: 1;
    padding: 12px;
    border-right: 1px solid rgba(0, 255, 120, 0.1);
}
.half-board li:last-child{
    border-right: none;
}
.half-board .name-title{
    margin-bottom: 6px;
}
.half-board #windAqiCurve,
.half-board #vehicleTrend{
    height: 200px;
}

.table-wrapper{
    max-height: 260px;
    overflow: auto;
}
.table-wrapper table{
    width: 100%;
    border-collapse: collapse;
    color: #cfffea;
    font-size: 12px;
}
.table-wrapper thead{
    background: rgba(0, 150, 80, 0.25);
}
.table-wrapper th,
.table-wrapper td{
    padding: 6px 8px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 255, 120, 0.08);
}
.table-wrapper tbody tr:nth-child(2n){
    background: rgba(0, 40, 25, 0.55);
}
.table-wrapper tbody tr:hover{
    background: rgba(0, 120, 70, 0.35);
    color: #ffffff;
}

.table-wrapper tbody tr.active{
    background: rgba(0, 200, 120, 0.35);
    box-shadow: inset 0 0 12px rgba(0, 255, 120, 0.35);
    color: #ffffff;
}

.mini-chart{
    height: 160px;
    margin-top: 10px;
}

.full-width-section{
    padding: 0 12px 12px;
}

.source-grid{
    display: flex;
    gap: 12px;
    margin: -12px -12px -8px;
    padding: 12px;
}

.source-item{
    flex: 1;
    min-width: 0;
}

.source-item-title{
    font-size: 14px;
    color: #7fffcc;
    text-align: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 255, 120, 0.2);
}
@import url("https://fonts.googleapis.com/css?family=Raleway");
* {
  box-sizing: border-box;
}

.copyright {
  position: absolute;
  bottom: 0;
}
.copyright a {
  text-decoration: none;
  color: #16a085;
}

.copyright a:hover {
  text-decoration: underline;
}
.button{
    padding: 6px 16px;
    font-size: 14px;
    color: #00ff88;
    border: 1px solid rgba(0, 255, 120, 0.45);
    background: rgba(0, 100, 60, 0.35);
    border-radius: 4px;
    cursor: pointer;
}
.button:hover{
    background: rgba(0, 180, 100, 0.55);
}

#districtDailyTrend{
    height: 260px;
}

.district-card-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 8px 0;
}

.season-card{
    padding: 12px;
    background: rgba(0, 80, 50, 0.35);
    border: 1px solid rgba(0, 255, 120, 0.25);
    border-radius: 6px;
    text-align: center;
}

.season-card-title{
    color: #7fffcc;
    font-size: 14px;
    margin-bottom: 8px;
}

.season-card-aqi{
    font-size: 32px;
    color: #ffffff;
    font-weight: bold;
    margin: 8px 0;
}

.season-card-level{
    font-size: 13px;
    color: #b8ffe0;
    padding: 4px 10px;
    background: rgba(0, 180, 100, 0.2);
    border-radius: 4px;
    display: inline-block;
}

.district-selector{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 8px 0;
}

.district-btn{
    padding: 8px 6px;
    font-size: 12px;
    color: #c7ffe0;
    background: rgba(0, 100, 60, 0.35);
    border: 1px solid rgba(0, 255, 120, 0.35);
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.district-btn:hover{
    background: rgba(0, 140, 80, 0.55);
    border-color: rgba(0, 255, 120, 0.6);
    color: #ffffff;
}

.district-btn.active{
    background: rgba(0, 200, 100, 0.7);
    border-color: #00ff88;
    color: #001810;
    font-weight: bold;
}


