/* 设置根字体大小(rem基准) */
html {
  font-size: 18px;
}
@media screen and (max-width: 1714.28571429px) {
  html {
    font-size: calc(100vw * 10 / 1200px * 0.7);
  }
}
.center {
  width: 65%;
  max-width: 1200px;
  min-width: 780px;
  margin: 0 auto;
  box-sizing: border-box;
  /* 响应式处理 */
  transition: width 0.3s ease-in-out;
}
@media screen and (max-width: 1200px) {
  .center {
    width: 80%;
    min-width: unset;
  }
}
@media (max-width: 630px) {
  html,
  body {
    min-width: 630px;
    overflow-x: auto;
  }
}
/* 可选：添加CSS层面的限制（与JavaScript中的min/max对应） */
html {
  font-size: clamp(12px, 1.6vw, 20px);
  /* 作为备用方案 */
}
.body {
  width: 100%;
  background-color: #fff;
}
.crumbs-box {
  width: 100%;
  background-color: #d9d9d9;
}
.crumbs {
  height: 2.22222222rem;
  color: #333333;
  font-size: 0.77777778rem;
  line-height: 2.22222222rem;
}
.crumbs i {
  color: #a1a1a1;
  margin-left: 0.55555556rem;
  margin-right: 0.55555556rem;
}
.crumbs a:hover {
  color: #c3272b;
}
.threshold-box {
  width: 100%;
  background-color: #f5f5f5;
  overflow: hidden;
}
.threshold {
  background-color: #fff;
  padding-top: 1.11111111rem;
  padding-right: 15rem;
  padding-bottom: 4.44444444rem;
  padding-left: 1.11111111rem;
  margin-top: 1.94444444rem;
  margin-bottom: 1.94444444rem;
  transition: all 0.7s ease-in-out;
  font-size: 0.77777778rem;
  color: #232323;
}
.threshold .title {
  width: 100%;
  height: 1rem;
}
.threshold .title .line {
  width: 0.33333333rem;
  height: 100%;
  background-color: #ab1018;
  margin-right: 0.55555556rem;
}
.threshold .content {
  margin-top: 1.27777778rem;
}
.threshold .content .item {
  line-height: 1.83333333rem;
}
.threshold .compute .input {
  line-height: 1.88888889rem;
}
.threshold .compute .type {
  height: 1.72222222rem;
  width: 100%;
  margin-top: 0.77777778rem;
  margin-bottom: 0.77777778rem;
  line-height: 1.88888889rem;
}
.threshold .compute .type .ty {
  float: left;
  padding-top: 0rem;
  padding-right: 1.38888889rem;
  padding-bottom: 0rem;
  padding-left: 1.38888889rem;
  background-color: #b8b8b8;
  border-radius: 0.27777778rem;
  color: #ffffff;
  margin-right: 1.88888889rem;
  cursor: pointer;
}
.threshold .compute .type .active {
  background-color: #c9151e;
}
.threshold .compute .cylinder .params .param:first-of-type {
  width: 100%;
}
.threshold .compute .cylinder .params .param:first-of-type .name {
  margin-right: 2.88888889rem;
}
.threshold .compute .cylinder .params .param:first-of-type:hover .val {
  cursor: not-allowed;
  user-select: none;
}
.threshold .compute .cylinder .params .param {
  float: left;
  display: flex;
  line-height: 2.05555556rem;
  margin-right: 0.55555556rem;
  margin-bottom: 0.83333333rem;
}
.threshold .compute .cylinder .params .param .val {
  width: 7.88888889rem;
  height: 2.05555556rem;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  padding-left: 0.55555556rem;
  margin-left: 0.44444444rem;
  border-radius: 2px;
}
.threshold .compute .cylinder .params .calculate {
  clear: both;
  width: 3.33333333rem;
  height: 2.05555556rem;
  border-radius: 2px;
  text-align: center;
  color: #ffffff;
  background-color: #c9151e;
  line-height: 2.05555556rem;
  cursor: pointer;
  user-select: none;
}
.threshold .compute .cylinder .result {
  display: none;
  margin-top: 1.11111111rem;
}
.threshold .compute .cylinder .result td {
  height: 2.05555556rem;
  padding-top: 0rem;
  padding-right: 1.66666667rem;
  padding-bottom: 0rem;
  padding-left: 1.66666667rem;
  border: 1px solid #cccccc;
  text-align: center;
}
.threshold .compute .cylinder:last-of-type {
  display: none;
}
.threshold .title > div {
  float: left;
}
.threshold:hover {
  box-shadow: 0 0 10px 5px rgba(208, 206, 206, 0.342);
  transform: translateY(-3px);
  border-radius: 2px;
}
