.test-mask {
  padding: 0;
  align-items: stretch;
  background: var(--bg);
}
.test-panel {
  width: 100%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
.test-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 10px;
  background: var(--bg);
  position: sticky; top: 0;
}
.back-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 22px; line-height: 1;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 3px;
}
.progress-wrap { flex: 1; display: flex; align-items: center; gap: 10px; }
.progress-bar {
  flex: 1; height: 6px;
  background: #ece7df;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--pink-deep), var(--primary));
  border-radius: 999px;
  transition: width .3s ease;
}
.progress-text { font-size: 12px; color: var(--ink-soft); min-width: 42px; text-align: right; }

.test-body {
  flex: 1;
  padding: 30px 22px 40px;
  display: flex;
  flex-direction: column;
}
.q-title {
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  min-height: 80px;
}
.q-options {
  display: flex; flex-direction: column; gap: 12px;
}
.opt-btn {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: all .15s ease;
}
.opt-btn:active {
  background: var(--pink);
  border-color: var(--pink-deep);
  transform: scale(0.99);
}
