.query-container {
  padding-bottom: .7rem;
  position: relative;
}

.loading {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 20;
}

.loading.show {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  border: 0.06rem solid rgba(15, 82, 198, 0.2);
  border-top-color: #0f52c6;
  border-right-color: #4fb2ff;
  animation: spinner-rotate 0.8s linear infinite, spinner-breathe 1.3s ease-in-out infinite;
}

@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner-breathe {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 82, 198, 0.12);
  }

  50% {
    box-shadow: 0 0 0 0.1rem rgba(15, 82, 198, 0.05);
  }
}

.score-tabs {
  display: flex;
  justify-content: center;
  gap: 0.22rem;
  margin: 0.48rem auto 0.32rem;
}

.score-tab {
  min-width: 2rem;
  padding: 0.16rem 0.28rem;
  font-size: 0.24rem;
  color: #1f63c8;
  background: transparent;
  border: 0.02rem solid #1f63c8;
  border-radius: 0.02rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.score-tab:hover {
  box-shadow: 0 0.04rem 0.1rem rgba(31, 99, 200, 0.16);
}

.score-tab.active {
  background: #0f52c6;
  color: #fff;
  border-color: #0f52c6;
}

.score-form-wrap {
  max-width: 10.8rem;
  margin: 0 auto;
  background: #fff;
  border-radius: 0.1rem;
  box-shadow: 0 0.12rem 0.4rem rgba(15, 82, 198, 0.08);
  padding: 0.6rem 0.8rem 0.7rem;
}

.score-form {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: #1f2a3d;
}

.score-form-row {
  display: flex;
  align-items: center;
  gap: 0.24rem;
}

.score-form-row label {
  width: 1.2rem;
  text-align: right;
  font-size: 0.2rem;
  color: #1f2a3d;
}

.score-form-row input {
  flex: 1;
  height: 0.56rem;
  border: 0.01rem solid #d8dce6;
  border-radius: 0.04rem;
  padding: 0 0.16rem;
  font-size: 0.18rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.score-form-row input:focus {
  border-color: #0f52c6;
  box-shadow: 0 0 0 0.03rem rgba(15, 82, 198, 0.12);
}

.score-form-actions {
  display: flex;
  justify-content: center;
  gap: 0.18rem;
  margin-top: 0.2rem;
}

.btn-primary {
  min-width: 2rem;
  height: 0.58rem;
  background: #0f52c6;
  color: #fff;
  border: none;
  border-radius: 0.04rem;
  font-size: 0.22rem;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background: #0c44a8;
  box-shadow: 0 0.08rem 0.2rem rgba(15, 82, 198, 0.2);
}

.btn-outline {
  min-width: 2rem;
  height: 0.58rem;
  background: #fff;
  color: #333;
  border: 0.01rem solid #d8dce6;
  border-radius: 0.04rem;
  font-size: 0.22rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-outline:hover {
  color: #0f52c6;
  border-color: #0f52c6;
  box-shadow: 0 0.08rem 0.2rem rgba(15, 82, 198, 0.12);
}

.score-form-tip {
  margin-top: 0.24rem;
  text-align: center;
  color: #606c80;
  font-size: 0.16rem;
  line-height: 1.6;
}

.query-wrapper {
  padding: .5rem 0;
}

.result-title{
  font-size: 0.28rem;
  font-weight: bold;
  color: #1f2a3d;
  text-align: center;
  margin-bottom: 0.4rem;
}

.result-card {
  width: 6.4rem;
  margin: 0.2rem auto 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
  background: #fff;
  padding: 0.24rem;
}

.result-row {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  font-size: 0.16rem;
  color: #1f2a3d;
}

.result-label {
  min-width: 1.2rem;
  text-align: right;
}

.result-row.required .result-label::before {
  content: '*';
  color: #e64d3d;
  margin-right: 0.04rem;
}

.result-value {
  flex: 1;
  display: inline-block;
  min-height: 0.24rem;
  line-height: 1.6;
  padding: 0.04rem 0;
  background: transparent;
  border: none;
  color: #333;
}

.result-select {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0.24rem;
  padding: 0.04rem 0;
  background: transparent;
  border: none;
}

.result-arrow {
  display: none;
}

@media (max-width: 960px) {
  .result-card {
    width: 100%;
    padding: 0.2rem;
  }

  .result-row {
    flex-direction: column;
    align-items: stretch;
    height: 1rem;
    font-size: .22rem;
  }

  .result-label {
    text-align: left;
    font-weight: bold;
  }

  .result-select {
    width: 100%;
  }

  .score-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .score-tab {
    width: 100%;
    text-align: center;
  }

  .score-form-wrap {
    padding: 0.4rem 0.24rem 0.5rem;
  }

  .score-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .score-form-row label {
    width: 100%;
    text-align: left;
  }

  .score-form-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .score-form-row {
    height: 1rem; 
  }
}


.undis {
  display: none;
}