/* 古风古建筑配色主题 - 檀木朱砂雅韵（字体统一为微软雅黑） */
* {
  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: '微软雅黑', 'Microsoft YaHei', sans-serif;  /* 改为微软雅黑 */
  margin: 0;
  padding: 0;
  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;
}
/* ========== 导航栏样式（古风融合） ========== */
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;
    }
}
.mainbox {
  min-width: 1024px;
  max-width: 1920px;
  padding: 0.125rem 0.125rem 0;
  display: flex;
}
.mainbox .column {
  flex: 3;
}
.mainbox .column:nth-child(2) {
  flex: 5;
  margin: 0 0.125rem 0.1875rem;
  overflow: hidden;
}
.panel {
  position: relative;
  height: 3.875rem;
  border: 1px solid rgba(181, 123, 75, 0.75);
  background: rgba(38, 28, 22, 0.82);
  backdrop-filter: blur(2px);
  padding: 0 0.1875rem 0.5rem;
  margin-bottom: 0.1875rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.panel::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #C88F5E;
  border-left: 2px solid #C88F5E;
}
.panel::after {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #C88F5E;
  border-right: 2px solid #C88F5E;
}
.panel .panel-footer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
.panel .panel-footer::before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #C88F5E;
  border-left: 2px solid #C88F5E;
}
.panel .panel-footer::after {
  position: absolute;
  bottom: 0;
  right: 0;
  content: "";
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #C88F5E;
  border-right: 2px solid #C88F5E;
}
.panel h2 {
  height: 0.6rem;
  line-height: 0.6rem;
  text-align: center;
  color: #F0E0CA;
  font-size: 0.25rem;
  font-weight: 400;
}
.panel h2 a {
  margin: 0 0.1875rem;
  color: #D8A66B;
  text-decoration: underline;
}
.panel .chart {
  height: 3rem;
}
.no {
  background: rgba(45, 35, 28, 0.75);
  padding: 0.1875rem;
  border-radius: 4px;
}
.no .no-hd {
  position: relative;
  border: 1px solid rgba(181, 123, 75, 0.7);
}
.no .no-hd::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 10px;
  border-top: 2px solid #C88F5E;
  border-left: 2px solid #C88F5E;
  top: 0;
  left: 0;
}
.no .no-hd::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 10px;
  border-bottom: 2px solid #C88F5E;
  border-right: 2px solid #C88F5E;
  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: #F2D89E;
  padding: 0.05rem 0;
  font-family: '微软雅黑', 'Microsoft YaHei', sans-serif;  /* 原 electronicFont 改为微软雅黑 */
  font-weight: bold;
  text-shadow: 0 0 4px #B46B3A;
}
.no .no-hd ul li:first-child::after {
  content: "";
  position: absolute;
  height: 50%;
  width: 1px;
  background: rgba(200, 143, 94, 0.5);
  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: #D9C6A7;
  padding-top: 0.125rem;
}
.map {
  position: relative;
  height: 10.125rem;
}
.map .chart {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  height: 10.125rem;
  width: 100%;
}
.map .map1,
.map .map2,
.map .map3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6.475rem;
  height: 6.475rem;
  background: url(../images/map.png) no-repeat;
  background-size: 100% 100%;
  opacity: 0.25;
  filter: sepia(0.7) brightness(0.85) contrast(1.1);
}
.map .map2 {
  width: 8.0375rem;
  height: 8.0375rem;
  background-image: url(../images/lbx.png);
  opacity: 0.45;
  animation: rotate 15s linear infinite;
  z-index: 2;
  filter: sepia(0.55) saturate(1.05) brightness(0.8);
}
.map .map3 {
  width: 7.075rem;
  height: 7.075rem;
  background-image: url(../images/jt.png);
  animation: rotate1 10s linear infinite;
  filter: sepia(0.5) brightness(0.85);
}
@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;
  }
}