body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f2f6fb;
  padding: 20px;
}

h1 {
  text-align: center;
  color: #333;
}

.controls,
.search-card,
.card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 12px;
}

.controls-panel,
.content-panel,
.search-panel {
  max-width: 700px;
  margin: 0 auto 20px;
}

.controls {
  padding: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

input, button {
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

button {
  cursor: pointer;
  background: #4f8cff;
  color: white;
  border: none;
}

button.secondary {
  background: #6c757d;
}

button.tts {
  background: #28a745;
}

.card {
  margin: 15px auto;
  padding: 15px;
}

.sentence {
  font-size: 18px;
  margin-bottom: 10px;
}

.hidden {
  color: #bbb;
}

.answer {
  margin-top: 8px;
  display: none;
}

.input-row {
  margin-top: 8px;
  display: flex;
  gap: 8px;
}

.input-row input {
  flex: 1;
}

/* 搜索区 */
.search-card {
  padding: 16px;
  border-radius: 14px;
}

.search-group {
  margin-bottom: 14px;
}

.search-group > label {
  display: block;
  font-size: 14px;
  color: #555;
  margin-bottom: 6px;
}

.search-group input[type="text"] {
  width: 100%;
  box-sizing: border-box;
}

.tag-filters {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-filters label {
  background: #f6f8fb;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.tag-filters input {
  accent-color: #4f8cff;
}

.result-info {
  margin: 10px auto;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eef3ff;
  font-size: 14px;
}

.result-info.empty {
  background: #fff4f4;
  color: #a33;
}
/********练习反馈样式Start*****************/
.feedback-row {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

.feedback-row button {
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.feedback-ok {
  background: #e6f6ea;
  color: #207a3c;
}

.feedback-wrong {
  background: #fff4e5;
  color: #a65b00;
}

/********练习反馈样式End*****************/

/********反馈统计区样式Start***********************/
.stats-panel {
  max-width: 700px;
  margin: 0 auto 14px;
}

.stats-card {
  background: #f7faff;
  border: 1px solid #e3ebff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: #333;
}

.stats-card strong {
  margin: 0 2px;
}
/*********反馈统计区样式End**********************/
/* ===============================
   🎙 语音选择START - 极简风
   =============================== */

.voice-select {
  font-size: 12px;
  color: #555;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 2px 6px;
  min-width: 120px;

  outline: none;
  cursor: pointer;
}

/* 悬停不抢戏 */
.voice-select:hover {
  border-color: #bbb;
}

/* 聚焦时给一点“被选中”的反馈 */
.voice-select:focus {
  border-color: #888;
  box-shadow: none;
}

/* 移动端友好一点 */
@media (max-width: 600px) {
  .voice-select {
    font-size: 11px;
    min-width: 100px;
  }
}
/* ===============================
   🎙 语音选择END - 极简风
   =============================== */
