/* 答题页样式 */

.quiz-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) 0;
}

/* === 进度条 === */
.progress-bar-wrapper {
  margin-bottom: var(--space-2xl);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.progress-text {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.progress-track {
  width: 100%;
  height: 2px;
  background: var(--ink-lighter);
  border-radius: 1px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--ink-dark);
  border-radius: 1px;
  transition: width 0.4s ease;
  width: 0%;
}

/* === 题目区域 === */
.question-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-lg) 0;
}

.question-number {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.question-text {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--ink-dark);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-xl);
}

/* === 选项卡片 === */
.options-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.option-card {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--text-primary);
  line-height: 1.6;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  min-height: 48px;
}

.option-card:active {
  transform: scale(0.985);
  background: var(--rice-paper-dark);
}

.option-card.selected {
  border-color: var(--ink-dark);
  background: #f8f5f0;
  box-shadow: var(--shadow-sm);
}

.option-card .option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ink-lighter);
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-right: var(--space-md);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.option-card.selected .option-letter {
  background: var(--ink-dark);
  color: var(--rice-paper);
  border-color: var(--ink-dark);
}

.option-card .option-text {
  flex: 1;
}

/* === 已选不可逆提示 === */
.option-card.answered {
  cursor: default;
  pointer-events: none;
}

/* === 水墨选择涟漪 === */
.option-card .ink-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.06);
  transform: scale(0);
  animation: inkSpread 0.6s ease-out;
  pointer-events: none;
}

/* === 桌面端悬停 === */
@media (hover: hover) {
  .option-card:hover:not(.answered) {
    border-color: var(--ink-light);
    background: #fdfbf7;
  }
}
