@font-face {
  font-family: 'icomoon';
  src: url('../fonts/icomoon.eot?7kkyc2');
  src: url('../fonts/icomoon.eot?7kkyc2#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?7kkyc2') format('truetype'),
    url('../fonts/icomoon.woff?7kkyc2') format('woff'),
    url('../fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  background-color: #f7f7f7;
}

span {
  font-family: 'icomoon';
}

/* 导航栏开始 */
.dh {
  height: 80px;
  background-color: #f7f7f7;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 80px;
  width: 270px;
}

.logo .logo1 {
  width: 55px;
  height: 55px;
  margin-left: 0;
  vertical-align: middle;
}

.logo .QuietZone {
  margin-left: 20px;
  width: 130px;
  height: 25px;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.nav-menu ul li {
  margin-right: 15px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.7s ease;
}

.nav-menu ul li a:hover {
  color: white;
  background-color: #0a9ce7;
  border-color: #0A9CE7;
}

.nav-menu ul li a.active {
  color: white;
  background-color: #0a9ce7;
  border-color: #0A9CE7;
}

.user-actions {
  display: flex;
  align-items: center;
  height: 80px;
}

.user-actions a {
  text-decoration: none;
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: 4px;
}

.user-center {
  color: #929292;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.login-btn {
  width: 70px;
  text-align: center;
  background-color: #0a9ce7;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
}

.user-actions span {
  font-size: 16px;
  vertical-align: middle;
  display: inline-block;
  line-height: 40px;
}

/* 移动端导航操作容器 */
.mobile-nav-actions {
  display: none;
  align-items: center;
}

/* 移动端登录按钮 */
.mobile-login {
  margin-right: 20px;
}

.mobile-login .login-btn {
  text-decoration: none;
}

/* 汉堡菜单 */
.hamburger {
  cursor: pointer;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: #333;
}

.hamburger-box {
  position: absolute;
  top: 80px;
  right: 15px;
  width: 200px;
  background-color: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1000;
  display: none;
}

.hamburger-box.active {
  display: block;
}

.hamburger-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hamburger-box ul li {
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

.hamburger-box ul li:last-child {
  border-bottom: none;
}

.hamburger-box ul li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  display: block;
  transition: all 0.3s ease;
}

.hamburger-box ul li:hover {
  background-color: #f0f0f0;
}

.hamburger-box ul li a:hover {
  color: #0a9ce7;
}

/* 导航栏模块结束 */
/* 内容模块 */
.content {
  width: 85%;
  min-height: 800px;
  margin: 100px auto 100px auto;
  /* background-color: pink; */
}

.c-t {
  width: 100%;
  height: 380px;
  display: flex;
  justify-content: space-between;
  /* background-color: red; */
}

.c-t .check {
  width: calc(50% - 10px);
  min-width: 300px;
  height: 100%;
  position: relative;
  background-color: #fff;
  border: 2px solid #B2DBE3;
  border-radius: 20px;
  padding: 15px;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.c-t .check:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(178, 219, 227, 0.3);
}

.c-t .contribution {
  position: relative;
  width: calc(50% - 10px);
  min-width: 300px;
  height: 100%;
  background-color: #fff;
  border: 2px solid #B2DBE3;
  border-radius: 20px;
  padding: 20px;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.c-t .contribution:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(178, 219, 227, 0.3);
}

/* 自定义滚动条样式 */
.c-t .contribution::-webkit-scrollbar {
  width: 8px;
}

.c-t .contribution::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.c-t .contribution::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.c-t .contribution::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.check .btn-ts {
  width: 40px;
  height: 15px;
  position: absolute;
  top: 25px;
  right: 25px;
  background-color: #0a9ce7;
  color: #fff;
  font-size: 10px;
  border-radius: 10px;
  border: none;
  line-height: 15px;
}

.check .message {
  position: absolute;
  list-style: none;
  bottom: 120px;
  width: 310px;
  height: auto;
  margin: 0;
  padding: 10px;
  transition: transform 0.3s ease;
}



.message li {
  width: 310px;
  line-height: 25px;
}

.message li .num-a,
.message li .num-h {
  font-size: 20px;
  color: #0a9ce7;
  vertical-align: bottom;
}

.message li .unit {
  font-size: 14px;
  color: #0a9ce7;
  margin-left: 5px;
  vertical-align: bottom;
}

.status,
.location {
  vertical-align: bottom;
}

.icon-play3 {
  font-family: "icomoon";
  color: #fff;
  font-size: 20px;
  vertical-align: middle;
}

.icon-pause2 {
  font-family: "icomoon";
  color: #fff;
  font-size: 20px;
  vertical-align: middle;
  content: "";
}

.btn-startcheck {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 205px;
  height: 40px;
  position: absolute;
  bottom: 55px;
  background-color: #0a9ce7;
  color: #fff;
  font-size: 16px;
  border-radius: 10px;
}

.btn-startcheck button {
  background-color: #0a9ce7;
  color: #fff;
  border: none;
  margin-left: 5px;
}

.check .input-data {
  position: absolute;
  display: flex;
  justify-content: space-between;
  bottom: 25px;
  width: 200px;
  height: 20px;
  color: #333;
  font-size: 12px;
  line-height: 20px;
}

.input-data .btn-yes {
  width: 40px;
  height: 18px;
  background-color: #0a9ce7;
  color: #fff;
  border-radius: 5px;
  border: none;
  line-height: 18px;
  vertical-align: bottom;
}

.ybp {
  position: absolute;
  top: 25px;
  right: 65px;
  width: 245px;
  height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ybp img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 噪音值数字显示样式 */
.noise-value {
  position: relative;
  z-index: 2;
  font-size: 36px;
  font-weight: bold;
  color: #F5F5F5;
  margin-bottom: 14px;
  margin-left: -40px;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}



.curve {
  position: absolute;
  bottom: 20px;
  right: 35px;
  width: 305px;
  height: 81px;
}

.curve img {
  width: 305px;
  height: 81px;
}

.contribution .history {
  margin: 0 0 25px 0;
}

.contribution .list1 {
  display: flex;
  justify-content: space-around;
  background-color: #EEEEEE;
  width: 660px;
  height: 35px;
  border-radius: 10px;
  line-height: 35px;
  text-align: center;
  margin: 10px auto;
}

.list1 p {
  font-size: 14px;
  color: #333;
}

.contribution .list1 .location {
  display: flex;
  align-items: center;
  width: 110px;
  overflow: hidden;
  white-space: nowrap;
}

.contribution .list1 .location .icon-location2 {
  margin-right: 5px;
  flex-shrink: 0;
}

.location-name {
  font-size: 12px;
  color: #333;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.contribution .list1 .data {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 60px;
}

.data p {
  font-size: 18px;
  color: #333;
  margin: 0;
}

.data span {
  height: 30px;
  font-size: 14px;
  color: #333;
  margin: 0;
}

.contribution .list1 .data-label {
  width: 35px;
  height: 20px;
  font-size: 12px;
  background-color: #02802F;
  border-radius: 5px;
  line-height: 20px;
  text-align: center;
  color: #fff;
  margin: auto 0;
}

.contribution .empty-contribution {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px;
  width: 100%;
  color: #929292;
  font-size: 18px;
}

.contribution .empty-contribution .icon-file-text2 {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}



.c-b {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 330px;
  /* background-color: red; */
  margin-top: 45px;
}

.c-b .standard {
  width: 255px;
  height: 330px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  border: 2px solid #B2DBE3;
  transition: transform 0.3s ease;
}

.c-b .standard:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(178, 219, 227, 0.3);
}

.c-b .standard h5,
.chart h5 {
  color: #333;
  padding: 20px 0 0 0;
}

.standard p {
  font-size: 14px;
  color: #929292;
  margin: 5px 0 10px 0;
}

.standard-box {
  width: 210px;
  height: 230px;
  margin: 0 auto;
}

.standard-box .s-b1,
.standard-box .s-b2,
.standard-box .s-b3,
.standard-box .s-b4,
.standard-box .s-b5,
.standard-box .s-b6,
.standard-box .s-b7,
.standard-box .s-b8 {
  width: 100%;
  height: 55px;
}

.s-b1 p,
.s-b2 p,
.s-b3 p,
.s-b4 p,
.s-b5 p,
.s-b6 p,
.s-b7 p,
.s-b8 p {
  font-size: 14px;
  color: black;
  margin: 5px 0 0 0;
}

.b11,
.b22,
.b33,
.b44,
.b55,
.b66,
.b77,
.b88 {
  width: 100%;
  height: 20px;
  border-radius: 20px;
  text-align: center;
  line-height: 20px;
  color: black;
  font-size: 13px;
}

.b11 {
  background-color: #00A878;
}

.b22 {
  background-color: #6CCB2A;
}

.b33 {
  background-color: #FFE135;
}

.b44 {
  background-color: #FFC107;
}

.b55 {
  background-color: #FF9800;
}

.b66 {
  background-color: #FF5722;
}

.b77 {
  background-color: #E91E63;
}

.b88 {
  background-color: #D32F2F;
}

.chart {
  width: 840px;
  height: 330px;
  background-color: #fff;
  border-radius: 20px;
  text-align: center;
  border: 2px solid #B2DBE3;
  transition: transform 0.3s ease;
}

.chart:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(178, 219, 227, 0.3);
}

.chart .chart-box {
  width: 830px;
  height: 260px;
  margin: 12px auto;
}

/* 曲线波动动画 */
@keyframes wave {

  0%,
  100% {
    transform: translateY(0px);
  }

  25% {
    transform: translateY(-5px);
  }

  50% {
    transform: translateY(3px);
  }

  75% {
    transform: translateY(-3px);
  }
}

/* 动画类 */
.curve.animate img {
  animation: wave 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 5px rgba(10, 156, 231, 0.5));
}

/* 底栏开始 */
.last {
  position: relative;
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
  height: 180px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 20px;
  background-color: #0a9ce7;
  border: 3px solid #fff;
}

.last .logo-last {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 160px;
  height: auto;
}

.last .logo-last img {
  width: 100%;
  height: auto;
  display: block;
}



.last ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  min-width: 120px;
  text-align: center;
  margin-left: 50px;
}

.last h5 {
  font-weight: 500;
  color: #fff;
}

.last ul li {
  margin: 0;
}

.last p {
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  padding: 0;
  text-align: right;
  max-width: 50%;
}

.last ul li a {
  text-decoration: none;
  color: white;
  font-size: 14px;
  transition: color 0.3s ease;
}

.last ul li a:hover {
  color: #e0e0e0;
}

/* 底栏结束 */

/* 响应式布局 
/* xl及以上 */
@media (min-width: 1200px) {

  /* 保持盒子之间间距不变，使用flex布局和固定间距 */
  .c-t {
    height: 380px;
    display: flex;
    justify-content: space-between;
  }

  /* 计算盒子宽度：(总宽度 - 间距) / 2，确保间距不变 */
  .c-t .check {
    width: calc(50% - 15px);
    min-width: 300px;
    height: 100%;
  }

  .c-t .contribution {
    width: calc(50% - 15px);
    min-width: 300px;
    height: 100%;
  }

  /* 底部内容区保持固定高度，使用flex布局和固定间距 */
  .c-b {
    height: 330px;
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
  }

  /* 计算盒子宽度：(总宽度 - 2 * 间距) / 3，确保间距不变 */
  .c-b .standard {
    width: calc(25% - 15px);
    min-width: 255px;
    height: 100%;
  }

  .c-b .chart {
    width: calc(50% - 15px);
    min-width: 510px;
    height: 100%;
  }

  /* 调整check内部元素的响应式大小 */
  .check .message {
    width: calc(100% - 220px);
    min-width: 310px;
  }

  .message li {
    width: 100%;
  }

  /* 调整噪音表盘大小 */
  .check .ybp {
    width: 200px;
    height: 200px;
  }

  /* 调整贡献列表的响应式大小 */
  .contribution .list1 {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 调整图表盒子大小 */
  .chart .chart-box {
    width: calc(100% - 40px);
    height: 250px;
  }

  /* 调整标准盒子大小 */
  .standard-box {
    width: 210px;
    height: 230px;
    margin: 0 auto;
  }
}

/* 超大屏 (lg-xl之间) */
@media (max-width: 1199.98px) {

  /* 隐藏部分导航菜单项 */
  .nav-menu ul li:nth-child(5),
  .nav-menu ul li:nth-child(6) {
    display: none;
  }

  /* 保持内容区域宽度不变 */
  .content {
    width: 85%;
    min-height: auto;
    height: auto;
  }

  /* 顶部内容区保持固定高度，使用flex布局和固定间距 */
  .c-t {
    height: 380px;
    display: flex;
    justify-content: space-between;
  }

  /* 计算盒子宽度：(总宽度 - 间距) / 2 */
  .c-t .check {
    width: calc(50% - 20px);
    min-width: 300px;
    height: 100%;
  }

  .c-t .contribution {
    width: calc(50% - 20px);
    min-width: 300px;
    height: 100%;
  }

  /* 底部内容区保持固定高度，使用flex布局和固定间距 */
  .c-b {
    height: 330px;
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
  }

  /* 计算盒子宽度：(总宽度 - 2 * 间距) / 3 */
  .c-b .standard {
    width: calc(25% - 15px);
    min-width: 200px;
    height: 100%;
  }

  .c-b .chart {
    width: calc(50% - 15px);
    min-width: 300px;
    height: 100%;
  }

  /* 调整check内部元素的响应式大小 */
  .check .message {
    width: calc(100% - 220px);
    min-width: 200px;
  }

  .message li {
    width: 100%;
  }

  /* 调整噪音表盘大小 */
  .check .ybp {
    width: 180px;
    height: 180px;
    max-width: 200px;
    max-height: 200px;
  }

  /* 调整贡献列表的响应式大小 */
  .contribution .list1 {
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .contribution .list1 .location {
    width: calc(30% - 10px);
    min-width: 100px;
  }

  .contribution .list1 .data {
    width: calc(15% - 5px);
    min-width: 60px;
  }

  .contribution .list1 .data-label {
    width: calc(10% - 5px);
    min-width: 40px;
  }

  /* 调整图表盒子大小 */
  .chart .chart-box {
    width: calc(100% - 40px);
    height: 250px;
  }

  /* 调整标准盒子大小 */
  .standard-box {
    width: calc(100% - 40px);
    height: 230px;
    margin: 0 auto;
  }
}

/* 大屏 (lg) */
@media (max-width: 991.98px) {

  /* 保留原有大屏样式 */
  .mobile-nav-actions {
    display: flex;
  }

  .hamburger-box {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .user-actions {
    display: none;
  }

  .last {
    flex-wrap: wrap;
    gap: 50px;
    height: auto;
    padding: 20px;
    padding-left: 180px;
  }

  .last ul {
    min-width: 100px;
    margin-left: 0;
  }

  .last p {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 30px;
    text-align: center;
    max-width: 100%;
  }

  /* 添加小屏样式，确保大屏与小屏布局一致 */
  /* logo调整 */
  .logo .logo1 {
    width: 45px;
    height: 45px;
  }

  /* 登录按钮调整 */
  .mobile-login .login-btn {
    width: 55px;
    font-size: 13px;
  }

  /* 底栏logo调整 */
  .last .logo-last {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  /* content模块响应式布局 */
  .content {
    width: 98%;
    margin-top: 100px;
  }

  /* 顶部内容区改为垂直布局 */
  .c-t {
    flex-direction: column;
    height: auto;
  }

  /* 5个盒子的响应式调整 */
  .c-t .contribution {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    padding: 15px;
    overflow-y: auto;
  }

  /* 自定义滚动条 */
  .c-t .contribution::-webkit-scrollbar {
    width: 6px !important;
  }

  .c-t .contribution::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 3px !important;
  }

  .c-t .contribution::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 3px !important;
  }

  .c-t .contribution::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
  }

  /* 标准和图表盒子调整 */
  .c-b .standard,
  .c-b .chart {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
  }

  /* check盒子样式调整 */
  .c-t .check {
    width: 100% !important;
    height: 350px !important;
    max-width: 100% !important;
    padding: 8px !important;
    margin-bottom: 20px !important;
    background-color: #fff !important;
    border: 2px solid #B2DBE3 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  /* 底部内容区改为垂直布局 */
  .c-b {
    flex-direction: column;
    height: auto;
    margin-top: 0;
  }

  /* 标题字体大小调整 */
  .check h5,
  .contribution h5,
  .standard h5,
  .chart h5 {
    font-size: 16px;
  }

  /* check内部元素调整 */
  .check h5 {
    font-size: 16px !important;
    margin: 10px 0 15px 0 !important;
    text-align: center !important;
  }

  .check .btn-ts {
    font-size: 9px;
    width: 35px;
    height: 13px;
    line-height: 13px;
    position: absolute !important;
    top: 20px !important;
    right: 15px !important;
  }

  .check .message {
    width: 65% !important;
    max-width: 65% !important;
    padding: 10px !important;
    height: 120px !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 0 10px 5px !important;
    position: relative !important;
    bottom: auto !important;
  }

  .check .message li {
    font-size: 12px !important;
    line-height: 18px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    margin-bottom: 2px !important;
  }

  /* 开始检测按钮调整 */
  .check .btn-startcheck {
    position: absolute !important;
    bottom: 135px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 180px !important;
    height: 35px !important;
    font-size: 14px !important;
  }

  /* 输入框调整 */
  .check .input-data {
    position: absolute !important;
    bottom: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 11px !important;
    width: 180px !important;
    height: 20px !important;
  }

  /* 噪音表盘调整 */
  .check .ybp {
    width: 120px !important;
    height: 120px !important;
    position: absolute !important;
    top: 50px !important;
    right: 20px !important;
  }

  .check .ybp img {
    width: 100%;
    height: 100%;
  }

  /* 噪音值调整 */
  .check .noise-value {
    font-size: 20px;
    margin-left: -20px;
  }

  /* 曲线图表调整 */
  .check .curve {
    width: 90% !important;
    height: 50px !important;
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .check .curve img {
    width: 100%;
    height: 100%;
  }

  /* list1适应框的大小 */
  .contribution .list1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }

  /* list1内部元素调整 */
  .contribution .list1 .location {
    width: 60px !important;
    min-width: 60px !important;
  }

  .contribution .list1 .data {
    width: 50px !important;
    min-width: 50px !important;
  }

  .contribution .list1 .data-label {
    width: 30px !important;
    min-width: 30px !important;
  }

  /* 文本大小调整 */
  .location-name {
    font-size: 10px !important;
  }

  .data p {
    font-size: 14px !important;
  }

  .data span {
    font-size: 12px !important;
  }

  /* 空贡献样式调整 */
  .contribution .empty-contribution {
    transform: scale(0.9);
    padding: 10px;
  }

  .contribution .empty-contribution p {
    font-size: 14px;
  }

  /* 标准盒子调整 */
  .standard-box {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .standard p {
    font-size: 12px;
  }

  /* 标准子盒子调整 */
  .standard-box .s-b1,
  .standard-box .s-b2,
  .standard-box .s-b3,
  .standard-box .s-b4,
  .standard-box .s-b5,
  .standard-box .s-b6,
  .standard-box .s-b7,
  .standard-box .s-b8 {
    height: 45px;
    width: 80%;
    margin: 0 auto;
  }

  /* 图表盒子调整 */
  .chart .chart-box {
    width: calc(100% - 10px);
    height: 200px;
  }

  /* 确保导航栏和底栏通栏显示 */
  .header {
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  .last {
    width: 100%;
    margin: 0;
    padding: 20px;
    padding-left: 20px;
  }
}

/* 中屏 (md) */
@media (max-width: 767.98px) {
  .logo {
    width: auto;
  }

  .logo .QuietZone {
    display: block;
    width: 100px;
    height: 20px;
  }

  .mobile-login .login-btn {
    width: 60px;
    padding: 6px 12px;
    font-size: 14px;
  }

  .hamburger-box {
    width: 180px;
  }

  .last {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
  }

  .last ul {
    min-width: 100%;
    margin-left: 0;
  }

  .last p {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 30px;
    text-align: center;
    max-width: 100%;
  }


  .logo .logo1 {
    width: 45px;
    height: 45px;
  }

  .mobile-login .login-btn {
    width: 55px;
    font-size: 13px;
  }

  .last .logo-last {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  .content {
    width: 98%;
    margin-top: 100px;
  }

  .c-t {
    flex-direction: column;
    height: auto;
  }

  .c-t .contribution {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    padding: 15px;
    overflow-y: auto;
  }

  .c-t .contribution::-webkit-scrollbar {
    width: 6px !important;
  }

  .c-t .contribution::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 3px !important;
  }

  .c-t .contribution::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 3px !important;
  }

  .c-t .contribution::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
  }

  .c-b .standard,
  .c-b .chart {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
  }

  .c-t .check {
    width: 100% !important;
    height: 350px !important;
    max-width: 100% !important;
    padding: 8px !important;
    margin-bottom: 20px !important;
    background-color: #fff !important;
    border: 2px solid #B2DBE3 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .c-b {
    flex-direction: column;
    height: auto;
    margin-top: 0;
  }

  .check h5,
  .contribution h5,
  .standard h5,
  .chart h5 {
    font-size: 16px;
  }

  .check h5 {
    font-size: 16px !important;
    margin: 10px 0 15px 0 !important;
    text-align: center !important;
  }

  .check .btn-ts {
    font-size: 9px;
    width: 35px;
    height: 13px;
    line-height: 13px;
    position: absolute !important;
    top: 20px !important;
    right: 15px !important;
  }

  .check .message {
    width: 65% !important;
    max-width: 65% !important;
    padding: 10px !important;
    height: 120px !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 0 10px 5px !important;
    position: relative !important;
    bottom: auto !important;
  }

  .check .message li {
    font-size: 12px !important;
    line-height: 18px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    margin-bottom: 2px !important;
  }

  .check .btn-startcheck {
    position: absolute !important;
    bottom: 135px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 180px !important;
    height: 35px !important;
    font-size: 14px !important;
  }

  .check .input-data {
    position: absolute !important;
    bottom: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 11px !important;
    width: 180px !important;
    height: 20px !important;
  }

  .check .ybp {
    width: 120px !important;
    height: 120px !important;
    position: absolute !important;
    top: 50px !important;
    right: 20px !important;
  }

  .check .ybp img {
    width: 100%;
    height: 100%;
  }

  .check .noise-value {
    font-size: 20px;
    margin-left: -20px;
  }

  .check .curve {
    width: 90% !important;
    height: 50px !important;
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  .contribution .list1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }

  .contribution .list1 .location {
    width: 60px !important;
    min-width: 60px !important;
  }

  .contribution .list1 .data {
    width: 50px !important;
    min-width: 50px !important;
  }

  .contribution .list1 .data-label {
    width: 30px !important;
    min-width: 30px !important;
  }

  .location-name {
    font-size: 10px !important;
  }

  .data p {
    font-size: 14px !important;
  }

  .data span {
    font-size: 12px !important;
  }

  .content {
    display: flex;
    flex-direction: column;
  }


  .c-t {
    order: 1;
  }

  .c-b {
    order: 2;
  }

  .c-b .standard:first-child {
    order: 1;
  }

  .c-b .chart {
    order: 2;
    height: 250px !important;
  }

  .c-b .standard:last-child {
    order: 3;
  }

  .chart .chart-box {
    width: 100% !important;
    height: 180px !important;
    margin: 10px auto !important;
    box-sizing: border-box !important;
  }

  .standard-box .s-b1,
  .standard-box .s-b2,
  .standard-box .s-b3,
  .standard-box .s-b4,
  .standard-box .s-b5,
  .standard-box .s-b6,
  .standard-box .s-b7,
  .standard-box .s-b8 {
    height: 45px;
    width: 80%;
  }

  .standard-box {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* 小屏 (sm) */
@media (max-width: 575.98px) {
  .logo .logo1 {
    width: 45px;
    height: 45px;
  }

  .mobile-login .login-btn {
    width: 55px;
    font-size: 13px;
  }

  .last .logo-last {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  /* content模块响应式布局 */
  .content {
    width: 98%;
    margin-top: 100px;
  }

  /* 顶部内容区改为垂直布局 */
  .c-t {
    flex-direction: column;
    height: auto;
  }

  /* 5个盒子的响应式调整 */
  .c-t .contribution {
    width: 100%;
    height: 250px;
    margin-bottom: 20px;
    padding: 15px;
    overflow-y: auto;
  }

  /* 小屏设备自定义滚动条 */
  .c-t .contribution::-webkit-scrollbar {
    width: 6px !important;

  }

  .c-t .contribution::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 3px !important;
  }

  .c-t .contribution::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 3px !important;
  }

  .c-t .contribution::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
  }

  .c-b .standard,
  .c-b .chart {
    width: 100%;
    margin-bottom: 20px;
    padding: 15px;
  }

  .c-t .check {
    width: 100% !important;
    height: 350px !important;
    max-width: 100% !important;
    padding: 8px !important;
    margin-bottom: 20px !important;
    background-color: #fff !important;
    border: 2px solid #B2DBE3 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
  }

  .c-b {
    flex-direction: column;
    height: auto;
    margin-top: 0;
  }

  .check h5,
  .contribution h5,
  .standard h5,
  .chart h5 {
    font-size: 16px;
  }

  .check h5 {
    font-size: 16px !important;
    margin: 10px 0 15px 0 !important;
    text-align: center !important;
  }

  .check .btn-ts {
    font-size: 9px;
    width: 35px;
    height: 13px;
    line-height: 13px;
    position: absolute !important;
    top: 20px !important;
    right: 15px !important;
  }

  .check .message {
    width: 65% !important;
    max-width: 65% !important;
    padding: 10px !important;
    height: 120px !important;
    background-color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 0 0 10px 5px !important;
    position: relative !important;
    bottom: auto !important;
  }

  .check .message li {
    font-size: 12px !important;
    line-height: 18px !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-wrap: break-word !important;
    margin-bottom: 2px !important;
  }

  .check .btn-startcheck {
    position: absolute !important;
    bottom: 135px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 180px !important;
    height: 35px !important;
    font-size: 14px !important;
  }

  .check .input-data {
    position: absolute !important;
    bottom: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 11px !important;
    width: 180px !important;
    height: 20px !important;
  }


  .check .ybp {
    width: 120px !important;
    height: 120px !important;
    position: absolute !important;
    top: 50px !important;
    right: 20px !important;
  }

  .check .ybp img {
    width: 100%;
    height: 100%;
  }

  .check .noise-value {
    font-size: 20px;
    margin-left: -20px;
  }

  /* 曲线图表大小 */
  .check .curve {
    width: 90% !important;
    height: 50px !important;
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* list1适应框的大小 */
  .contribution .list1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
  }

  .contribution .list1 .location {
    width: 60px !important;
    min-width: 60px !important;
  }

  .contribution .list1 .data {
    width: 50px !important;
    min-width: 50px !important;
  }

  .contribution .list1 .data-label {
    width: 30px !important;
    min-width: 30px !important;
  }

  .location-name {
    font-size: 10px !important;
  }

  .data p {
    font-size: 14px !important;
  }

  .data span {
    font-size: 12px !important;
  }

  .check .curve img {
    width: 100%;
    height: 100%;
  }


  .contribution .empty-contribution {
    transform: scale(0.9);
    padding: 10px;
  }

  .contribution .empty-contribution p {
    font-size: 14px;
  }


  .standard-box {
    width: 100%;
    height: 200px;
  }

  .standard p {
    font-size: 12px;
  }

  .standard-box .s-b1,
  .standard-box .s-b2,
  .standard-box .s-b3,
  .standard-box .s-b4,
  .standard-box .s-b5,
  .standard-box .s-b6,
  .standard-box .s-b7,
  .standard-box .s-b8 {
    height: 45px;
    width: 100%;

  }

  .chart .chart-box {
    width: calc(100% - 10px);
    height: 200px;
  }
}