 #intro-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  margin: 60px 0 60px 0;
}
.intro-box {
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 12px 40px 0 #e8eef5;
  padding: 56px 46px 40px 46px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  margin: 30px 0 30px 0;
}
.intro-box h2 {
  font-size: 2.7rem;
  margin-bottom: 28px;
}
.intro-box p {
  font-size: 1.14rem;
  color: #333;
  margin: 0 0 38px 0;
  line-height: 2.0;
}
.intro-box .test-info {
  color: #1977ee;
  font-weight: bold;
  font-size: 1.13rem;
  margin-bottom: 18px;
  display: inline-block;
}
.start-btn {
  background: linear-gradient(90deg, #42b6ff 20%, #38e6d3 100%);
  color: #fff;
  border: none;
  border-radius: 18px;
  font-size: 1.33rem;
  font-weight: bold;
  padding: 21px 60px;
  margin-top: 55px;
  cursor: pointer;
  box-shadow: 0 4px 18px #e5f8fc;
  transition: background 0.22s;
}
.start-btn:hover {
  background: linear-gradient(90deg, #38e6d3 10%, #42b6ff 100%);
  color: #fff;
}

#quiz-screen {
  max-width: 540px;
  margin: 70px auto 30px auto;
  padding: 0 20px;
}
.quiz-timer {
  height: 16px;
  background: #eef5fd;
  border-radius: 8px;
  margin-bottom: 24px;
  overflow: hidden;
}
.timer-bar {
  height: 100%;
  background: linear-gradient(90deg,#00d2fc 0,#39ff14 100%);
  border-radius: 8px;
  width: 100%;
  transition: width 0.25s;
}
.timer-warning {
  background: linear-gradient(90deg,#f77 10%,#ffc53f 100%) !important;
  animation: blinker 0.4s linear infinite alternate;
}
@keyframes blinker {
  100% { opacity: 0.55; }
  0% { opacity: 1; }
}
.question-type {
  font-size: 1.13rem;
  font-weight: 600;
  color: #126bff;
  margin-bottom: 16px;
}
.question-box {
  background: #f8fbfe;
  border-radius: 13px;
  min-height: 60px;
  font-size: 1.32rem;
  padding: 32px 18px 34px 18px;
  margin-bottom: 32px;
  box-shadow: 0 1px 12px #d7e6ff2f;
  transition: opacity 0.18s;
  text-align: center;
  line-height: 2.1;
  position: relative;
}
.rec-button-group {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-bottom: 20px;
}
.btn-mic {
  font-size: 1.13rem;
  border: none;
  border-radius: 14px;
  background: #9edfff;
  color: #12458d;
  font-weight: 600;
  padding: 15px 36px;
  box-shadow: 0 4px 16px #d0f4ff44;
  transition: background 0.18s;
}
.btn-mic:disabled {
  background: #d7dbe6;
  color: #9eb3c9;
}
.param-container {
  margin: 22px 0 18px 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}
.param-btn {
  font-size: 1.07rem;
  border-radius: 9px;
  background: #dde7fa;
  color: #185ca0;
  border: none;
  padding: 8px 18px;
  margin: 0 2px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.18s;
}
.param-btn.current {
  background: #1977ee;
  color: #fff;
}
.param-btn.answered {
  border-bottom: 3px solid #39ff14;
  font-weight: bold;
}
.submit-btn {
  background: linear-gradient(90deg, #42b6ff 20%, #38e6d3 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 1.24rem;
  font-weight: bold;
  padding: 17px 40px;
  margin: 22px 0 0 0;
  box-shadow: 0 4px 18px #e5f8fc;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.submit-btn:disabled {
  background: #e4f1fa;
  color: #b4d8eb;
  cursor: not-allowed;
}
.timer-warn {
  color: #e8002d;
  font-size: 1.18rem;
  font-weight: bold;
  margin-top: 9px;
  animation: blinker 0.3s linear infinite alternate;
}
.popup-msg {
  position: fixed;
  top: 32%;
  left: 0; right: 0;
  margin: auto;
  z-index: 9999;
  width: 340px;
  max-width: 94vw;
  padding: 30px 10px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 44px #98c0ff7a;
  font-size: 1.18rem;
  color: #1566af;
  text-align: center;
  display: none;
  align-items
