/* ===== 全局 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6C63FF;
  --primary-light: #EEF0FF;
  --success: #2ECC71;
  --warning: #F39C12;
  --danger: #E74C3C;
  --bg: #F7F8FC;
  --card-bg: #FFFFFF;
  --text: #2D3436;
  --text-light: #636E72;
  --border: #DFE6E9;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 4px 20px rgba(108,99,255,0.10);
  --shadow-hover: 0 8px 30px rgba(108,99,255,0.18);
}

body {
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ===== 顶部导航 ===== */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}
.nav-logo { font-size: 1.2rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.nav-tabs { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.nav-tab {
  padding: 8px 16px; border: none; border-radius: 50px; cursor: pointer;
  background: transparent; color: var(--text-light); font-size: 0.9rem;
  transition: all 0.2s;
}
.nav-tab:hover { background: var(--primary-light); color: var(--primary); }
.nav-tab.active { background: var(--primary); color: #fff; font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.streak-badge { font-size: 1rem; font-weight: 700; color: #F39C12; }
.display-toggles { display: flex; gap: 10px; }
.toggle-label { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; cursor: pointer; }
.toggle-label input { accent-color: var(--primary); width: 16px; height: 16px; }

/* ===== 页面 ===== */
.page { display: none; padding: 24px; max-width: 900px; margin: 0 auto; }
.page.active { display: block; }

/* ===== 学习页 ===== */
.module-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 16px;
}
.module-btn {
  padding: 8px 16px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-size: 0.88rem; transition: all 0.2s;
}
.module-btn:hover { border-color: var(--primary); color: var(--primary); }
.module-btn.active {
  background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600;
}

/* 学习计时条 */
.session-bar {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding: 10px 16px;
  background: #fff; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.session-progress {
  flex: 1; height: 8px; background: var(--border); border-radius: 4px; overflow: hidden;
}
.session-progress-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 1s linear; width: 0%; }
.session-time { font-size: 1.1rem; font-weight: 700; color: var(--primary); min-width: 48px; }
.session-label { font-size: 0.8rem; color: var(--text-light); }

/* 卡片区 */
.card-area {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-bottom: 12px;
}
.nav-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--border);
  background: #fff; font-size: 1.8rem; cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  flex-shrink: 0;
}
.nav-arrow:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* 单词卡 */
.card-stack { flex: 1; max-width: 420px; }
.word-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.word-card:hover { box-shadow: var(--shadow-hover); }

.card-image-wrap { position: relative; margin-bottom: 16px; }
.card-image {
  width: 140px; height: 140px; object-fit: cover;
  border-radius: var(--radius-sm); display: block; margin: 0 auto;
}
.card-image-placeholder {
  width: 140px; height: 140px; background: var(--primary-light);
  border-radius: var(--radius-sm); display: none; margin: 0 auto;
  align-items: center; justify-content: center; font-size: 4rem;
}
.card-image.hidden + .card-image-placeholder { display: flex; }
.card-image.error { display: none; }
.card-image.error + .card-image-placeholder { display: flex; }

.card-body { margin-bottom: 16px; }
.card-en { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.card-zh {
  font-size: 1.4rem; color: var(--text); margin-bottom: 4px;
  transition: opacity 0.2s;
}
.card-zh.hidden-chinese, .card-pinyin.hidden-pinyin { opacity: 0; pointer-events: none; }
.card-pinyin { font-size: 1rem; color: var(--text-light); letter-spacing: 2px; }

/* sentence 卡样式 */
.word-card.sentence-card .card-en { font-size: 1.4rem; }
.word-card.sentence-card .card-zh { font-size: 1.1rem; }

/* TTS 按钮 */
.card-actions { display: flex; gap: 10px; justify-content: center; margin-bottom: 16px; }
.tts-btn {
  padding: 10px 20px; border-radius: 50px; border: none; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
}
.zh-tts { background: #FFF3E0; color: #E65100; }
.zh-tts:hover { background: #E65100; color: #fff; }
.en-tts { background: var(--primary-light); color: var(--primary); }
.en-tts:hover { background: var(--primary); color: #fff; }
.tts-btn:active { transform: scale(0.95); }

/* 录音区 */
.record-area { display: flex; align-items: center; gap: 16px; justify-content: center; }
.record-btn-wrap { flex-shrink: 0; }
.record-secondary { display: flex; flex-direction: column; gap: 6px; min-width: 96px; }
.record-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 14px 28px; border-radius: 50px; border: 3px solid var(--primary);
  background: var(--primary-light); cursor: pointer; transition: all 0.2s;
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.record-btn:hover { background: var(--primary); }
.record-btn:hover .record-icon, .record-btn:hover .record-hint { color: #fff; }
.record-icon { font-size: 1.6rem; }
.record-hint { font-size: 0.78rem; color: var(--text-light); }

.record-btn.recording {
  background: var(--danger); border-color: var(--danger);
  animation: pulse 1s infinite;
}
.record-btn.recording .record-icon, .record-btn.recording .record-hint { color: #fff; }
.record-btn.cancel-mode { background: #FFE0E0; border-color: var(--danger); }

.record-cancel-hint {
  font-size: 0.8rem; color: var(--danger); font-weight: 600;
  text-align: center; margin-top: 4px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.4); }
  50% { box-shadow: 0 0 0 10px rgba(231,76,60,0); }
}

.record-timer {
  width: 100%; height: 6px; background: var(--border);
  border-radius: 3px; overflow: hidden; margin-top: 8px;
}
.record-timer-bar {
  height: 100%; background: var(--danger); border-radius: 3px;
  transition: width 0.1s linear; width: 0%;
}

.playback-btn {
  padding: 10px 20px; border-radius: 50px; border: 2px solid var(--success);
  background: #F0FFF4; color: var(--success); cursor: pointer; font-weight: 600;
  transition: all 0.2s;
}
.playback-btn:hover { background: var(--success); color: #fff; }

/* 评测结果 */
.assessment-result {
  margin-top: 16px; padding: 16px;
  background: var(--primary-light); border-radius: var(--radius-sm);
  text-align: center;
}
.phoneme-row {
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.phoneme-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.phoneme-symbol {
  font-size: 1rem; font-weight: 700; color: var(--text);
  padding: 6px 10px; border-radius: 8px; min-width: 36px; text-align: center;
}
.phoneme-symbol.good { background: #D5F5E3; color: #1E8449; }
.phoneme-symbol.ok { background: #FEF9E7; color: #B7950B; }
.phoneme-symbol.bad { background: #FADBD8; color: #922B21; }
.phoneme-mark { font-size: 0.75rem; }
.assessment-feedback {
  font-size: 1rem; color: var(--text); line-height: 1.5;
  font-weight: 500;
}

/* 卡片计数 / 圆点 */
.card-counter { text-align: center; color: var(--text-light); font-size: 0.9rem; margin-bottom: 8px; }
.card-dots { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.card-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border);
  cursor: pointer; transition: all 0.2s;
}
.card-dot.active { background: var(--primary); transform: scale(1.3); }
.card-dot.done { background: var(--success); }

/* ===== 测评页 ===== */
.quiz-header { margin-bottom: 20px; }
.quiz-title { font-size: 1.4rem; margin-bottom: 12px; }
.quiz-type-tabs { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.quiz-type-btn {
  padding: 8px 18px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; transition: all 0.2s; font-size: 0.9rem;
}
.quiz-type-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.quiz-score-bar { font-size: 0.9rem; color: var(--text-light); }
.quiz-score-bar strong { color: var(--text); }

.quiz-area { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin-bottom: 20px; }
.quiz-stimulus { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 16px; }
.quiz-stimulus img { width: 180px; height: 180px; object-fit: cover; border-radius: var(--radius-sm); }
.quiz-stimulus .zh-display { font-size: 2rem; font-weight: 700; }
.quiz-stimulus .py-display { font-size: 1.1rem; color: var(--text-light); letter-spacing: 2px; }

.quiz-hint-row { text-align: center; margin-bottom: 16px; }
.hint-btn {
  padding: 8px 20px; border-radius: 50px; border: 2px solid var(--warning);
  background: #FFFBF0; color: var(--warning); cursor: pointer; font-size: 0.9rem;
  font-weight: 600; transition: all 0.2s;
}
.hint-btn:hover { background: var(--warning); color: #fff; }

.quiz-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.quiz-option {
  padding: 16px; border-radius: var(--radius-sm); border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-size: 1.1rem; font-weight: 600;
  text-align: center; transition: all 0.2s;
}
.quiz-option:hover { border-color: var(--primary); background: var(--primary-light); }
.quiz-option.correct { border-color: var(--success); background: #D5F5E3; color: #1E8449; }
.quiz-option.wrong { border-color: var(--danger); background: #FADBD8; color: #922B21; }
.quiz-option.disabled { pointer-events: none; opacity: 0.6; }

.quiz-nav { text-align: center; }
.quiz-next-btn {
  padding: 14px 40px; border-radius: 50px; border: none;
  background: var(--primary); color: #fff; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.quiz-next-btn:hover { background: #5a52d5; transform: translateY(-1px); }

/* 发音练习 */
.quiz-pron-card { text-align: center; margin-bottom: 20px; }
.quiz-pron-image { width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 12px; }
.quiz-pron-en { font-size: 1.8rem; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.quiz-pron-zh { font-size: 1.1rem; color: var(--text-light); }

/* ===== 复习页 ===== */
.review-header { margin-bottom: 20px; }
.review-header h2 { margin-bottom: 12px; }
.review-summary { display: flex; gap: 20px; }
.review-stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-light); }

.review-filter { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.filter-btn {
  padding: 7px 16px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-size: 0.85rem; transition: all 0.2s;
}
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.review-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.review-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.review-item-image { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.review-item-info { flex: 1; }
.review-item-en { font-size: 1.1rem; font-weight: 700; }
.review-item-zh { font-size: 0.85rem; color: var(--text-light); }
.review-item-status {
  font-size: 0.78rem; padding: 4px 10px; border-radius: 50px; font-weight: 600;
}
.status-pending { background: #FEF9E7; color: #B7950B; }
.status-reviewing { background: #EBF5FB; color: #1A5276; }
.status-mastered { background: #D5F5E3; color: #1E8449; }
.review-item-next { font-size: 0.78rem; color: var(--text-light); }

.review-start { text-align: center; padding: 20px; }
.start-review-btn {
  padding: 16px 48px; border-radius: 50px; border: none;
  background: var(--primary); color: #fff; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s; box-shadow: var(--shadow);
}
.start-review-btn:hover { background: #5a52d5; transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ===== 拼音页 ===== */
.pinyin-header { margin-bottom: 20px; }
.pinyin-header h2 { margin-bottom: 12px; }
.pinyin-tabs { display: flex; gap: 8px; }
.pinyin-tab {
  padding: 8px 20px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; transition: all 0.2s; font-size: 0.9rem;
}
.pinyin-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.pinyin-content { }
.tone-cards { display: flex; gap: 16px; flex-wrap: wrap; }
.tone-card {
  flex: 1; min-width: 160px; padding: 20px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow); background: #fff;
}
.tone-symbol { font-size: 3rem; font-weight: 800; margin-bottom: 8px; }
.tone-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.tone-desc { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }
.tone-tts-btn {
  padding: 8px 18px; border-radius: 50px; border: none;
  background: var(--primary-light); color: var(--primary); cursor: pointer;
  font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
}
.tone-tts-btn:hover { background: var(--primary); color: #fff; }

.initial-grid, .final-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px;
}
.initial-card, .final-card {
  padding: 16px 12px; border-radius: var(--radius-sm); background: #fff;
  box-shadow: var(--shadow); text-align: center; cursor: pointer; transition: all 0.2s;
}
.initial-card:hover, .final-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.initial-symbol, .final-symbol { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.initial-example, .final-example { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

.pinyin-practice-area { }
.pinyin-practice-card {
  background: #fff; border-radius: var(--radius); padding: 32px; text-align: center;
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.pinyin-practice-target { font-size: 3rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.pinyin-practice-zh { font-size: 1.3rem; color: var(--text-light); }

/* ===== 自定义页 ===== */
.custom-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.add-word-btn {
  padding: 10px 24px; border-radius: 50px; border: none;
  background: var(--primary); color: #fff; cursor: pointer; font-weight: 700; font-size: 0.95rem;
  transition: all 0.2s;
}
.add-word-btn:hover { background: #5a52d5; }

.add-word-form {
  background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 6px; color: var(--text);
}
.form-group input {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); font-size: 1rem; transition: border 0.2s;
}
.form-group input:focus { border-color: var(--primary); outline: none; }
.auto-tag {
  font-size: 0.75rem; background: var(--success); color: #fff;
  padding: 2px 8px; border-radius: 50px; margin-left: 6px;
}
.image-search-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.search-image-btn {
  padding: 9px 20px; border-radius: 50px; border: 2px solid var(--primary);
  background: var(--primary-light); color: var(--primary); cursor: pointer;
  font-weight: 600; transition: all 0.2s;
}
.search-image-btn:hover { background: var(--primary); color: #fff; }
.search-status { font-size: 0.85rem; color: var(--text-light); }
.image-candidates { display: flex; gap: 10px; flex-wrap: wrap; }
.image-candidate {
  width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm);
  cursor: pointer; border: 3px solid transparent; transition: all 0.2s;
}
.image-candidate:hover, .image-candidate.selected { border-color: var(--primary); }

.form-actions { display: flex; gap: 10px; justify-content: flex-end; }
.save-word-btn {
  padding: 11px 32px; border-radius: 50px; border: none;
  background: var(--primary); color: #fff; cursor: pointer; font-weight: 700;
  transition: all 0.2s;
}
.save-word-btn:hover { background: #5a52d5; }
.cancel-btn {
  padding: 11px 24px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; font-size: 0.95rem; transition: all 0.2s;
}
.cancel-btn:hover { border-color: var(--danger); color: var(--danger); }

.custom-list { display: flex; flex-direction: column; gap: 10px; }
.custom-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.custom-item-image { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.custom-item-info { flex: 1; }
.custom-item-en { font-size: 1.1rem; font-weight: 700; }
.custom-item-zh { font-size: 0.9rem; color: var(--text-light); }
.custom-item-pinyin { font-size: 0.8rem; color: var(--text-light); }
.custom-delete-btn {
  padding: 6px 14px; border-radius: 50px; border: 2px solid var(--border);
  background: #fff; cursor: pointer; color: var(--danger); font-size: 0.85rem;
  transition: all 0.2s;
}
.custom-delete-btn:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

/* ===== 看板页 ===== */
.dashboard-header { margin-bottom: 20px; }
.dashboard-header h2 { margin-bottom: 4px; }
.dashboard-greeting { font-size: 0.95rem; color: var(--text-light); }

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dash-card {
  background: #fff; border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
}
.dash-card h3 { font-size: 1rem; margin-bottom: 14px; color: var(--text); }
.today-card, .trend-card { grid-column: 1 / -1; }

.today-stats { display: flex; gap: 20px; justify-content: space-around; }
.today-stat { text-align: center; }
.big-num {
  display: block; font-size: 2.8rem; font-weight: 900; color: var(--primary); line-height: 1;
  margin-bottom: 6px;
}
.big-num.streak { color: #F39C12; }
.today-stat span:last-child { font-size: 0.85rem; color: var(--text-light); }

.overall-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.overall-bar { flex: 1; height: 10px; background: var(--border); border-radius: 5px; overflow: hidden; }
.overall-fill { height: 100%; background: var(--primary); border-radius: 5px; transition: width 0.5s; }
#overallText { font-size: 0.85rem; color: var(--text-light); white-space: nowrap; }

.module-progress-list { display: flex; flex-direction: column; gap: 6px; }
.module-progress-row { display: flex; align-items: center; gap: 8px; }
.module-progress-name { width: 80px; font-size: 0.8rem; color: var(--text-light); }
.module-progress-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.module-progress-fill { height: 100%; border-radius: 3px; }
.module-progress-pct { width: 36px; font-size: 0.78rem; color: var(--text-light); text-align: right; }

.strength-section { margin-bottom: 12px; }
.strength-label {
  font-size: 0.78rem; font-weight: 700; padding: 3px 10px; border-radius: 50px;
  display: inline-block; margin-bottom: 6px;
}
.strength-label.best { background: #D5F5E3; color: #1E8449; }
.strength-label.weak { background: #FADBD8; color: #922B21; }
.strength-label.phoneme { background: var(--primary-light); color: var(--primary); }
.strength-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.strength-tag {
  padding: 4px 12px; border-radius: 50px; background: var(--bg); font-size: 0.82rem;
}

.error-stats { margin-bottom: 12px; }
.error-stat-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.error-stat-row:last-child { border-bottom: none; }

/* ===== 历史记录按钮和面板 ===== */
.history-btn {
  padding: 8px 16px; border-radius: 50px; border: 2px solid #6C63FF;
  background: #EEF0FF; color: #6C63FF; cursor: pointer; font-size: 0.82rem;
  font-weight: 600; transition: all 0.2s;
}
.history-btn:hover { background: #6C63FF; color: #fff; }

.history-panel {
  margin-top: 14px; padding: 16px; background: #F7F8FC;
  border-radius: var(--radius-sm); border: 1px solid var(--border);
}
.history-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; font-size: 0.9rem; font-weight: 700; color: var(--text);
}
.history-close-btn {
  border: none; background: none; cursor: pointer; font-size: 1rem;
  color: var(--text-light); padding: 2px 6px; border-radius: 4px;
}
.history-close-btn:hover { background: var(--border); }

.history-list { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.history-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: #fff; border-radius: 8px; font-size: 0.85rem;
}
.history-idx { font-weight: 700; min-width: 36px; color: var(--primary); }
.history-date { flex: 1; color: var(--text-light); }
.history-score { font-weight: 700; min-width: 44px; text-align: right; }
.history-play-btn {
  padding: 4px 10px; border-radius: 50px; border: 1px solid var(--success);
  background: #F0FFF4; color: var(--success); cursor: pointer; font-size: 0.78rem;
}
.history-play-btn:hover { background: var(--success); color: #fff; }

/* ===== 工具类 ===== */
.hidden { display: none !important; }
