html {
  font-size: 20px;
}

body {
  color: #2a2a2a;
  font-size: 14px;
  background: #f5f5f5 no-repeat center bottom;
}

* {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a,
a:hover {
  color: #2a2a2a;
  text-decoration: none;
}

img {
  vertical-align: top;
  border: none;
}

i {
  font-style: normal;
}

.main-container {
  background-color: #F1F6FD;
}

.footer-main {
  text-align: left;
}

.footer-main {
  margin-top: 0;
}

.banner-box {
  width: 100%;
  box-sizing: border-box;
}

.column-box {
  width: 100%;
  box-sizing: border-box;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.column-main {
  width: calc(100% - 32px);
  margin: 0 auto;
}

.map-box {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

.map-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.map-other-box {
  width: 100%;
  padding: 16px;
  box-sizing: border-box;
  background: linear-gradient(180deg, #e3f4ff 0%, #d9f0ff 100%);
  backdrop-filter: blur(8px);
}

.map-search-container {
  margin-bottom: 16px;
  position: relative;
}

.school-weather-container {
  width: 100%;
  box-sizing: border-box;
}

.map-search-box {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  box-sizing: border-box;
  gap: 10px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgb(199, 223, 255);
}

.search-prefix-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.search-input {
  height: 22px;
  opacity: 1;
  color: #000000;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 22px;
  border: none;
  flex: 1;
}

.input-close-icon {
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.search-suffix-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.area-school-list {
  width: 100%;
  max-height: 300px;
  overflow: hidden;
  overflow-y: auto;
  border-radius: 8px;
  border: 2px solid rgb(255, 255, 255);
  background: linear-gradient(180deg,
      rgb(247, 252, 255) 0%,
      rgb(247, 252, 255) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 4px 8px 30px 0 rgba(0, 28, 64, 0.08);
  padding: 16px;
  position: absolute;
  box-sizing: border-box;
  top: 50px;
  left: 0;
}

.area-name {
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  line-height: 24px;
  margin-bottom: 12px;
}

.school-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.school-list:last-child {
  margin-bottom: 0;
}

.school-item {
  height: 32px;
  line-height: 32px;
  border-radius: 8px;
  opacity: 1;
  background: rgb(255, 255, 255);
  padding: 0 12px;
  box-sizing: border-box;
  cursor: pointer;
}

.school-item-active {
  background-color: #cce2ff;
}

.school-name-time {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.school-name {
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  line-height: 26px;
}

.update-time {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: right;
  line-height: 22px;
  flex-shrink: 0;
}

.school-location {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.location-icon {
  display: block;
  width: 16px;
  height: 16px;
}

.location-text {
  color: rgb(56, 56, 56);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 22px;
}

.yujing-box {
  border-radius: 16px;
  background: rgb(255, 255, 255);
  padding: 16px 24px;
  box-sizing: border-box;
}

.yujing-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  overflow-x: auto;
}

.yujing-item-icon {
  display: block;
  width: auto;
  height: 42px;
  flex-shrink: 0;
}

.yujing-0 {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 26px;
}

.title-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.box-title {
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  line-height: 24px;
}

.box-more {
  color: rgb(128, 128, 128);
  font-size: 14px;
  font-weight: 400;
  text-align: right;
  line-height: 22px;
  cursor: pointer;
}

.box-more:hover {
  color: rgb(128, 128, 128);
}

.tianqitishi-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  overflow-x: auto;
}

.tianqitishi-0 {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 26px;
}

.am-pm-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.am-pm-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.am-pm-icon {
  width: 14px;
  height: 14px;
  border: 1px solid #383838;
  border-radius: 50%;
  box-sizing: border-box;
}

.am-pm-icon.am {
  background-color: #d1e1ff;
}

.am-pm-icon.pm {
  background-color: #edd1ff;
}

.am-pm-name {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.zhushiyubao-tbody.am {
  background-color: #d1e1ff;
}

.zhushiyubao-tbody.pm {
  background-color: #edd1ff;
}

.zhushiyubao {
  border-radius: 8px;
  background: rgb(255, 255, 255);
  padding: 14px 16px 16px 16px;
  box-sizing: border-box;
  margin-top: 16px;
}

.zhushiyubao-list {
  border-radius: 8px;
  background: rgb(242, 247, 255);
  overflow: hidden;
}

.zhushiyubao-table-first {
  background-color: #e8f1ff;
  display: flex;
  align-items: center;
  padding: 8px 0;
  box-sizing: border-box;
}

.zhushiyubao-thead {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
  width: 25%;
  box-sizing: border-box;
}

.zhushiyubao-thead-value {
  width: 25%;
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.zhushiyubao-thead-unit {
  color: #808080;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
  font-size: 12px;
}

.zhushiyubao-table-list {
  display: flex;
  max-height: 164px;
  flex-direction: column;
  overflow: hidden;
}

.zhushiyubao-more .zhushiyubao-table-list {
  max-height: none;
}

.zhushiyubao-more-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.arrow {
  display: block;
  width: 16px;
  height: 16px;
}

.zhushiyubao-more .arrow {
  transform: rotate(180deg);
}

.zhushiyubao-tbody {
  padding: 12px 6px;
  box-sizing: border-box;
  border-bottom: 1px solid rgb(228, 235, 245);
  display: flex;
  align-items: center;
}

.zhushiyubao-tbody:last-child {
  border-bottom: none;
}

.zhushiyubao-tbody-value {
  color: #00317a;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  width: 25%;
  box-sizing: border-box;
}

.nva-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.nav-item {
  width: calc(100% / 3 - 10px * 2 / 3);
  line-height: 40px;
  background: rgb(191, 216, 255);
  color: rgb(56, 56, 56);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  height: 40px;
  border-radius: 8px;
  background-color: #bfd8ff;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
}

.title-img {
  display: block;
  width: auto;
  height: 30px;
  margin: 0 auto;
}

.zhuanbao-box {
  width: 100%;
  height: 375px;
  border-radius: 16px;
  background-color: #ffffff;
  padding: 16px 12px;
  box-sizing: border-box;
}

.zhuanbao-overflow {
  width: 100%;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
}

.zhuanbao-img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.tips {
  margin-top: 8px;
  margin-bottom: 16px;
  color: #383838;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  line-height: 22px;
}

.fuwuzhinan-cover {
  display: block;
  width: 100%;
  height: auto;
}

.text-bold {
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  line-height: 26px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.qudaolianjie-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qudaolianjie-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: calc(50% - 8px);
  border-radius: 12px;
  background: #ffffff;
  padding-left: 16px;
  box-sizing: border-box;
  height: 52px;
}

.qudaolianjie-icon {
  display: block;
  width: 32px;
  height: auto;
}

.qudaolianjie-name {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 18px;
}

.QR-code-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.QR-code-item {
  width: 100%;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 12px 12px 8px;
  background-color: #fff;
}

.QR-code-img {
  display: block;
  width: 100%;
  height: auto;
}

.QR-code-name {
  color: #383838;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  line-height: 18px;
}

.live-box {
  position: relative;
  width: 100%;
}

.live-flag-box {
  border-radius: 16px 0 16px 0;
  background: linear-gradient(90deg,
      rgb(65, 254, 200) 0%,
      rgb(160, 254, 101) 54%,
      rgb(232, 255, 29) 100%);
  padding: 8px 16px;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-flag-img {
  display: block;
  width: auto;
  height: 20px;
}

.live-video-box {
  display: block;
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: linear-gradient(90deg,
      rgb(65, 254, 200) 0%,
      rgb(160, 254, 101) 54%,
      rgb(232, 255, 29) 100%);
  padding: 4px;
  box-sizing: border-box;
}

.live-video {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  border-radius: 16px 16px 0 0;
}

.video-cover-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.title-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title-img-icon-box {
  border-radius: 16px 0 16px 0;
  background: linear-gradient(90deg,
      rgb(65, 254, 200) 0%,
      rgb(160, 254, 101) 54%,
      rgb(232, 255, 29) 100%);
  padding: 6px 16px;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-img-icon {
  display: block;
  height: 20px;
  width: auto;
}

.indicator-list {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 20px;
  right: 24px;
}

.indicator-item {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #E5E5E5;
  border-radius: 50%;
}

.indicator-item.active {
  background-color: #6dfe9a;
}

.video-list-box {
  border-radius: 20px;
  box-shadow: 4px 8px 16px 0 #001c4014;
  background: linear-gradient(90deg,
      rgb(65, 254, 200) 0%,
      rgb(160, 254, 101) 54%,
      rgb(232, 255, 29) 100%);
  padding: 4px;
  box-sizing: border-box;
  position: relative;
  margin-bottom: 16px;
}

.video-list {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #fff;
  border-radius: 20px;
  padding-top: 48px;
  padding-bottom: 20px;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

.video-item {
  width: 100%;
}

.video-icon,
.video-icon2 {
  display: none;
  width: 56px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.video-icon {
  display: block;
}

.video-cover-box {
  display: block;
  width: 100%;
  height: 180px;
  box-sizing: border-box;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #ffffff;
  position: relative;
  background-color: #000000;
}

.video-cover {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
  object-position: top center;
}

.video-name {
  color: #383838;
  font-size: 16px;
  text-align: center;
  line-height: 24px;
  margin-top: 8px;
}

.live-intro {
  padding: 14px 16px;
  box-sizing: border-box;
  margin-bottom: 24px;
  border-radius: 0 0 20px 20px;
  background: #ffffff;
  box-shadow: 4px 8px 16px 0 rgba(0, 28, 64, 0.08);
}

.video-cover-a {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: 4px 8px 16px 0 #001c4014;
}

.video-cover-img {
  display: block;
  width: 100%;
  height: auto;
}

.live-intro .intro-title {
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  line-height: 26px;
  margin-bottom: 8px;
}

.live-intro .intro-content {
  color: rgb(0 0 0 / 80%);
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  line-height: 22px;
}

.toggle-container {
  position: absolute;
  top: 16px;
  right: 16px;
}

.toggle-img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  cursor: pointer;
  display: block;
  width: 24px;
  height: 24px;
}

.live-preview-img {
  display: block;
  width: 114px;
  height: auto;
}

/* 横向滚动逐时预报 */
.zhushiyubao {
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf2ff 0%, #f0f5ff 100%);
  padding: 16px;
  box-sizing: border-box;
  margin-top: 16px;
  box-shadow: 0 2px 12px 0 rgba(74, 144, 217, 0.08);
}

.zhushiyubao .box-title {
  color: #00317a;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.zhushiyubao-hscroll {
  display: flex;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: inset 0 1px 4px 0 rgba(0, 49, 122, 0.06);
}

.zhushiyubao-hscroll-labels {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #dce8fb 0%, #e8f0ff 100%);
  border-right: 2px solid #c8d9f2;
  z-index: 3;
}

.zhushiyubao-hscroll-label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 12px;
  color: #2c4a7c;
  font-weight: 600;
  text-align: center;
  padding: 2px 4px;
  box-sizing: border-box;
  border-bottom: 1px solid #d4e2f5;
  line-height: 1.3;
}

.zhushiyubao-hscroll-label:nth-child(1) {
  height: 40px;
}

.zhushiyubao-hscroll-label:nth-child(2) {
  height: 40px;
}

.zhushiyubao-hscroll-label:nth-child(3) {
  height: 100px;
}

.zhushiyubao-hscroll-label:nth-child(4) {
  height: 40px;
}

.zhushiyubao-hscroll-label:nth-child(5) {
  height: 40px;
}

.zhushiyubao-hscroll-label:nth-child(6) {
  height: 48px;
}

.zhushiyubao-hscroll-label:last-child {
  border-bottom: none;
}

.zhushiyubao-hscroll-unit {
  font-size: 10px;
  color: #7a94bf;
  font-weight: 400;
}

.zhushiyubao-hscroll-body {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 49, 122, 0.18) transparent;
}

.zhushiyubao-hscroll-body::-webkit-scrollbar {
  height: 4px;
}

.zhushiyubao-hscroll-body::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, rgba(74, 144, 217, 0.3), rgba(74, 144, 217, 0.15));
  border-radius: 2px;
}

.zhushiyubao-hscroll-body::-webkit-scrollbar-track {
  background: transparent;
}

.zhushiyubao-hscroll-inner {
  position: relative;
  min-height: 308px;
}

.zhushiyubao-hscroll-columns {
  display: flex;
}

.zhushiyubao-hscroll-col {
  flex-shrink: 0;
  width: 72px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #e8eff8;
  transition: background-color 0.2s ease;
}

.zhushiyubao-hscroll-col:last-child {
  border-right: none;
}

.zhushiyubao-hscroll-col:hover {
  background-color: rgba(74, 144, 217, 0.04);
}

.zhushiyubao-hscroll-cell {
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #00317a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eef3fb;
  box-sizing: border-box;
  white-space: pre-wrap;
}

.zhushiyubao-hscroll-cell:last-child {
  border-bottom: none;
}

.zhushiyubao-hscroll-cell-time {
  font-weight: 600;
  color: #2c4a7c;
  font-size: 13px;
  height: 40px;
  letter-spacing: 0.3px;
}

.zhushiyubao-hscroll-cell-rain {
  height: 40px;
  font-size: 13px;
}

.zhushiyubao-hscroll-cell-temp {
  height: 100px;
  position: relative;
  z-index: 1;
}

.zhushiyubao-hscroll-cell-humidity {
  height: 40px;
  font-size: 13px;
  color: #1a5f9e;
}

.zhushiyubao-hscroll-cell-wind {
  height: 40px;
  font-size: 13px;
}

.zhushiyubao-hscroll-cell-winddir {
  height: 48px;
  font-size: 12px;
  color: #2c5a8a;
  line-height: 1.4;
}

/* AM时段 - 清晨蓝色调 */
.zhushiyubao-hscroll-col.am .zhushiyubao-hscroll-cell-time {
  background: linear-gradient(180deg, #c4dbff 0%, #d6e6ff 100%);
  color: #1a3d6e;
  font-weight: 700;
}

/* PM时段 - 午后紫粉色调 */
.zhushiyubao-hscroll-col.pm .zhushiyubao-hscroll-cell-time {
  background: linear-gradient(180deg, #e2cfff 0%, #ecdcff 100%);
  color: #4a2d6e;
  font-weight: 700;
}

.zhushiyubao-hscroll-chart {
  position: absolute;
  top: 80px;
  left: 0;
  height: 100px;
  pointer-events: none;
  z-index: 2;
}

/* 雷达图片 - 数据时间（地图左上角） */
.radar-time-info {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 8px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.radar-time-text {
  color: #383838;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

/* 雷达图片 - 降雨估测开关（地图右上角） */
.radar-toggle-btn {
  position: absolute;
  z-index: 10;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
  padding: 0 8px;
  box-sizing: border-box;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.radar-toggle-on {
  display: block;
  width: 14px;
  height: 14px;
}

.radar-toggle-off {
  display: none;
  width: 14px;
  height: 14px;
}

.radar-toggle-text {
  color: #383838;
  font-size: 12px;
  font-weight: 400;
  line-height: 20px;
  white-space: nowrap;
}

/* 雷达图片 - 图例（地图右下角） */
.radar-legend {
    position: absolute;
    z-index: 10;
    left: 8px;
    top: 188px;
    display: block;
    width: auto;
    height: 24px;
    border-radius: 4px;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
}

/* 雷达图片 - 播放控制栏（map-container与map-other-box之间） */
.radar-play-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  box-sizing: border-box;
  background: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.radar-play-btn-box {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.radar-play-btn {
  display: block;
  width: 28px;
  height: 28px;
}

.radar-pause-btn {
  display: none;
  width: 28px;
  height: 28px;
}

.radar-progress-list {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  min-width: 0;
}

.radar-progress-item {
  flex: 1;
  min-width: 4px;
  height: 16px;
  border-radius: 3px;
  background-color: #d6e3ff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.radar-progress-item.type-2 {
  background-color: #e7b8d0;
}

.radar-progress-item.active {
  background-color: #006fff;
}