/* ===== 萌豆英语 - 高级感UI设计 ===== */
/* 设计理念：温暖教育风 + 卡片式布局 + 丰富视觉层次 */

/* ===== 全局基础 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* 主色调 - 温暖橙 */
  --primary: #FF7A45;
  --primary-light: #FFB088;
  --primary-dark: #E85A20;
  
  /* 辅助色 - 清新蓝绿 */
  --secondary: #4ECDC4;
  --secondary-light: #7EDDD6;
  --secondary-dark: #2BA69F;
  
  /* 强调色 */
  --accent-yellow: #FFD93D;
  --accent-pink: #FF6B9D;
  --accent-purple: #9B59B6;
  --accent-green: #6BCB77;
  --accent-blue: #5B9BD5;
  
  /* 背景色 */
  --bg-cream: #FFF9F0;
  --bg-warm: #FFF5EB;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFF8F2;
  
  /* 边框色 */
  --border-light: #FFE8D6;
  --border-medium: #FFD9BF;
  
  /* 文字色 */
  --text-dark: #3D2914;
  --text-primary: #5C4033;
  --text-secondary: #8B7355;
  --text-muted: #B8A089;
  --text-light: #D4C4B0;
  
  /* 圆角 */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(139, 115, 85, 0.08);
  --shadow-md: 0 4px 16px rgba(139, 115, 85, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 115, 85, 0.16);
  --shadow-xl: 0 12px 48px rgba(139, 115, 85, 0.2);
  
  /* 动画 */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-cream);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { 
  min-height: 100dvh; 
  display: flex;
  justify-content: center;
}

#app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-cream);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ===== 顶部导航栏 ===== */
.header {
  display: flex;
  align-items: center;
  padding: 16px 20px 12px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-cream) 85%, transparent 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.kid-header {
  padding: 20px 20px 16px;
  gap: 12px;
}

.header-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.25);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.header-title {
  flex: 1;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.5px;
}

.header-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.header-back:active { 
  background: var(--bg-card-hover); 
  transform: scale(0.95);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, var(--accent-green), #5BBF6A);
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 3px 10px rgba(107, 203, 119, 0.35);
  letter-spacing: 0.3px;
}

.content { 
  flex: 1; 
  padding: 0 20px 24px; 
}

/* ===== 欢迎横幅 ===== */
.welcome-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin-bottom: 20px;
  box-shadow: 0 6px 24px rgba(255, 122, 69, 0.3);
  position: relative;
  overflow: hidden;
}

.welcome-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.welcome-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: 10%;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.welcome-emoji {
  font-size: 32px;
  animation: wave 1.5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-15deg); }
}

.welcome-text {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== 课程卡片 ===== */
.course-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.course-card:active { 
  background: var(--bg-card-hover); 
  transform: translateY(2px);
  box-shadow: var(--shadow-sm);
}

.course-card:active::before {
  opacity: 1;
}

.course-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.course-icon-emoji {
  font-size: 36px;
}

.course-logo-img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-light);
}

.course-cover {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-warm);
  flex-shrink: 0;
}

.course-cover.emoji-cover {
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-info { 
  flex: 1; 
  min-width: 0; 
}

.course-title { 
  font-size: 18px; 
  font-weight: 700; 
  margin-bottom: 8px; 
  color: var(--text-dark); 
  letter-spacing: 0.3px;
}

.course-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.course-desc { 
  font-size: 13px; 
  color: var(--text-secondary); 
  letter-spacing: 0.2px;
}

.course-arrow { 
  font-size: 24px; 
  color: var(--primary); 
  flex-shrink: 0; 
  transition: transform var(--transition-fast);
}

.course-card:active .course-arrow {
  transform: translateX(4px);
}

.kid-arrow {
  color: var(--primary);
  font-size: 20px;
}

/* ===== 课时网格 ===== */
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.lesson-item {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  min-height: 85px;
  box-shadow: var(--shadow-sm);
}

.lesson-item:active { 
  background: var(--bg-card-hover); 
  transform: scale(0.95);
  box-shadow: var(--shadow-sm);
}

.lesson-item.done { 
  border-color: var(--accent-green); 
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.1), rgba(107, 203, 119, 0.05)); 
}

.lesson-item.done::after {
  content: '✓';
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 11px;
  color: var(--accent-green);
  font-weight: bold;
}

.lesson-item.current { 
  border-color: var(--primary); 
  background: linear-gradient(135deg, rgba(255, 122, 69, 0.1), rgba(255, 122, 69, 0.05));
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 122, 69, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(255, 122, 69, 0); }
}

.lesson-num { 
  font-size: 11px; 
  color: var(--text-muted); 
  font-weight: 600; 
}

.lesson-emoji { 
  font-size: 30px; 
  line-height: 1; 
}

.lesson-title-sm { 
  font-size: 11px; 
  color: var(--text-secondary); 
  text-align: center; 
  word-break: break-all;
  line-height: 1.3;
}

/* ===== 课时详情 ===== */
.lesson-hero {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

.lesson-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--bg-warm);
  flex-shrink: 0;
}

.lesson-hero-title { 
  font-size: 18px; 
  font-weight: 700; 
  margin-bottom: 6px; 
  color: var(--text-dark);
  letter-spacing: 0.3px;
}

.lesson-hero-sub { 
  font-size: 13px; 
  color: var(--text-secondary);
  letter-spacing: 0.2px;
}

/* ===== 功能入口 ===== */
.action-list { 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
}

.action-item {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.action-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255, 122, 69, 0.05));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.action-item:active { 
  background: var(--bg-card-hover); 
  transform: translateY(2px);
  box-shadow: var(--shadow-sm);
}

.action-item:active::after {
  opacity: 1;
}

.action-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.action-info { 
  flex: 1; 
  position: relative;
  z-index: 1;
}

.action-title { 
  font-size: 17px; 
  font-weight: 700; 
  color: var(--text-dark);
  letter-spacing: 0.3px;
}

.action-desc { 
  font-size: 13px; 
  color: var(--text-secondary); 
  margin-top: 4px;
  letter-spacing: 0.2px;
}

.action-arrow { 
  font-size: 22px; 
  color: var(--primary); 
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
}

.action-item:active .action-arrow {
  transform: translateX(4px);
}

/* 图标背景 */
.video-icon-bg    { background: linear-gradient(135deg, #FF6B35, #FF8F5C); }
.word-icon-bg     { background: linear-gradient(135deg, #4ECDC4, #7EDDD6); }
.sentence-icon-bg { background: linear-gradient(135deg, #6BCB77, #8FD99A); }
.listening-icon-bg { background: linear-gradient(135deg, #9B59B6, #B87DD8); }
.game-icon-bg     { background: linear-gradient(135deg, #FF6B9D, #FF9BBB); }
.match-icon-bg    { background: linear-gradient(135deg, #5B9BD5, #7DB5E5); }
.report-icon-bg   { background: linear-gradient(135deg, #FFD93D, #FFE570); }
.practice-icon-bg { background: linear-gradient(135deg, #FF7A45, #FFB088); }

/* ===== 视频 ===== */
.video-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1a;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
}

.video-wrap video { width: 100%; display: block; }
.video-wrap iframe { width: 100%; display: block; border: none; }

.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2d2d2d, #1a1a1a);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ===== 跟读 ===== */
.record-area {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-lg);
}

.record-word { 
  font-size: 48px; 
  font-weight: 800; 
  color: var(--primary); 
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.record-emoji { 
  font-size: 60px; 
  margin-bottom: 16px;
  line-height: 1;
}

.record-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(255, 122, 69, 0.4);
  transition: all var(--transition-normal);
}

.record-btn:active { 
  transform: scale(0.92);
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.3);
}

.record-btn.recording {
  background: linear-gradient(135deg, #FF5252, var(--accent-pink));
  animation: pulse 1s infinite;
  box-shadow: 0 8px 32px rgba(255, 82, 82, 0.4);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.5); }
  50%      { box-shadow: 0 0 0 20px rgba(255, 82, 82, 0); }
}

/* 录音结果 */
.record-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-warm);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.record-stars {
  font-size: 36px;
  letter-spacing: 6px;
}

.record-message {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.record-message.success { color: var(--accent-green); }
.record-message.fail { color: var(--accent-pink); }

.play-record-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--accent-blue), #7DB5E5);
  border: none;
  border-radius: 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(91, 155, 213, 0.35);
  transition: all var(--transition-fast);
}

.play-record-btn:active {
  transform: scale(0.96);
}

.word-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

.word-nav-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.word-nav-btn:active {
  background: var(--bg-card-hover);
  transform: scale(0.97);
}

.word-nav-btn:disabled { 
  opacity: 0.4; 
  cursor: not-allowed;
}

/* ===== 句子跟读 ===== */
.sentence-display {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.sentence-text { 
  font-size: 24px; 
  font-weight: 700; 
  color: var(--primary); 
  line-height: 1.5; 
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.sentence-meaning { 
  font-size: 15px; 
  color: var(--text-secondary);
  letter-spacing: 0.3px;
}

.sentence-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

.sentence-nav-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sentence-nav-btn:active {
  background: var(--bg-card-hover);
  transform: scale(0.97);
}

.sentence-nav-btn:disabled { 
  opacity: 0.4; 
  cursor: not-allowed;
}

/* ===== 游戏通用 ===== */
.game-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.game-progress {
  flex: 1;
  height: 8px;
  background: var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.game-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent-blue));
  border-radius: 4px;
  transition: width 0.4s;
}

.game-score { 
  font-size: 16px; 
  font-weight: 700; 
  color: var(--primary); 
  white-space: nowrap;
}

.game-tip {
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

/* ===== 听音选图 ===== */
.listening-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-purple), #B87DD8);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(155, 89, 182, 0.4);
  transition: all var(--transition-normal);
}

.listening-play-btn:active { 
  transform: scale(0.92);
}

.listening-play-btn.playing { 
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  box-shadow: 0 6px 24px rgba(255, 122, 69, 0.4);
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.option-card {
  background: var(--bg-card);
  border: 3px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 110px;
  box-shadow: var(--shadow-sm);
}

.option-card:active { 
  transform: scale(0.96);
}

.option-card.selected-correct { 
  border-color: var(--accent-green); 
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.15), rgba(107, 203, 119, 0.05));
  box-shadow: 0 4px 16px rgba(107, 203, 119, 0.3);
}

.option-card.selected-wrong { 
  border-color: #EF4444; 
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
}

.option-card.correct-reveal { 
  border-color: var(--accent-green);
}

.option-img { 
  width: 60px; 
  height: 60px; 
  object-fit: contain; 
}

.option-emoji { 
  font-size: 36px; 
  line-height: 1;
}

.option-word { 
  font-size: 13px; 
  font-weight: 600; 
  text-align: center;
  color: var(--text-primary);
}

/* ===== 词图连线 ===== */
.match-area {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.match-col { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.match-word-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 52px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.match-word-card:active { 
  transform: scale(0.96);
}

.match-word-card.selected { 
  border-color: var(--accent-purple); 
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.05));
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.25);
}

.match-word-card.matched { 
  border-color: var(--accent-green); 
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.15), rgba(107, 203, 119, 0.05));
  opacity: 0.7;
}

.match-word-card.wrong { 
  border-color: #EF4444; 
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
}

.match-img-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  min-height: 80px;
  box-shadow: var(--shadow-sm);
}

.match-img-card:active { 
  transform: scale(0.96);
}

.match-img-card.selected { 
  border-color: var(--accent-blue); 
  background: linear-gradient(135deg, rgba(91, 155, 213, 0.15), rgba(91, 155, 213, 0.05));
  box-shadow: 0 4px 12px rgba(91, 155, 213, 0.25);
}

.match-img-card.matched { 
  border-color: var(--accent-green); 
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.15), rgba(107, 203, 119, 0.05));
  opacity: 0.7;
}

.match-img-card.wrong { 
  border-color: #EF4444; 
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
}

.match-card-img { 
  width: 54px; 
  height: 54px; 
  object-fit: contain; 
}

.match-card-emoji { 
  font-size: 36px; 
  line-height: 1;
}

.speaker-icon { 
  font-size: 12px; 
  opacity: 0.5;
}

.match-word-card.selected .speaker-icon { 
  opacity: 1; 
}

.match-lines-col {
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
}

.match-line-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(107, 203, 119, 0.2), rgba(107, 203, 119, 0.1));
  border: 2px solid var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--accent-green);
  font-weight: bold;
}

/* ===== 鼓励弹窗 ===== */
.praise-popup {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, var(--accent-pink), var(--primary));
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(255, 107, 157, 0.5);
}

.praise-popup.visible { 
  opacity: 1; 
  transform: translateX(-50%) translateY(0); 
}

/* ===== 错误提示 ===== */
.wrong-popup {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: linear-gradient(135deg, #EF4444, #F97316);
  border-radius: 50px;
  padding: 16px 36px;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.5);
}

.wrong-popup.visible { 
  opacity: 1; 
  transform: translateX(-50%) translateY(0); 
}

/* ===== 遮罩弹窗 ===== */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(61, 41, 20, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px;
}

.modal {
  background: linear-gradient(160deg, #FFF5EB, #FFFFFF);
  border: none;
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.modal-emoji { 
  font-size: 60px; 
  line-height: 1; 
}

.modal-title { 
  font-size: 28px; 
  font-weight: 800;
  color: var(--text-dark);
}

.modal-sub { 
  font-size: 14px; 
  color: var(--text-secondary);
}

.modal-stats { 
  display: flex; 
  gap: 32px; 
  margin: 8px 0; 
}

.stat-item { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 4px; 
}

.stat-val { 
  font-size: 36px; 
  font-weight: 800; 
  color: var(--primary);
}

.stat-key { 
  font-size: 13px; 
  color: var(--text-secondary);
}

.star-row { 
  display: flex; 
  gap: 8px; 
}

.star { 
  font-size: 34px; 
  filter: grayscale(1) opacity(0.35); 
  transition: all 0.3s; 
}

.star.lit { 
  filter: none; 
}

.modal-btns { 
  display: flex; 
  gap: 12px; 
  width: 100%; 
  margin-top: 8px;
}

.modal-btn {
  flex: 1;
  padding: 14px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-align: center;
  color: #fff;
}

.modal-btn:active { 
  transform: scale(0.96); 
}

.modal-btn-primary { 
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.35);
}

.modal-btn-outline { 
  background: var(--bg-card); 
  border: 2px solid var(--border-light);
  color: var(--text-primary);
}

/* ===== 学习报告 ===== */
.report-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-md);
}

.report-title { 
  font-size: 16px; 
  font-weight: 700; 
  margin-bottom: 14px;
  color: var(--text-dark);
}

.report-items { 
  display: flex; 
  flex-direction: column; 
  gap: 12px; 
}

.report-item { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.report-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.report-item-info { 
  flex: 1; 
}

.report-item-name { 
  font-size: 13px; 
  color: var(--text-secondary);
}

.report-item-stars { 
  font-size: 15px; 
  margin-top: 3px;
}

/* ===== 动画 ===== */
@keyframes shake {
  0%   { transform: translateX(0); }
  20%  { transform: translateX(-6px); }
  40%  { transform: translateX(6px); }
  60%  { transform: translateX(-4px); }
  80%  { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

.shake { 
  animation: shake 0.4s ease; 
}

/* ===== 模块导航按钮 ===== */
.module-nav-btn-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed var(--border-light);
  text-align: center;
}

.module-nav-tip {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.module-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: none;
  border-radius: 30px;
  padding: 16px 36px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 122, 69, 0.4);
  transition: all var(--transition-normal);
  letter-spacing: 0.5px;
}

.module-nav-btn:active {
  transform: scale(0.96);
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.3);
}

/* 游戏页底部导航 */
.game-nav-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid var(--border-light);
  text-align: center;
}

.game-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  border: none;
  border-radius: 30px;
  padding: 14px 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(78, 205, 196, 0.35);
  transition: all var(--transition-normal);
}

.game-nav-btn:active {
  transform: scale(0.96);
}

/* ===== 通用辅助 ===== */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.gap-6 { gap: 6px; }
.gap-10 { gap: 10px; }
.flex-1 { flex: 1; }

/* ===== 激活引导页 ===== */
.activation-guide {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-blue) 100%);
  padding: 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ag-logo-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 5px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ag-logo {
  font-size: 80px;
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.ag-title {
  font-size: 34px;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}

.ag-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ag-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px 26px;
  width: 100%;
  max-width: 370px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.ag-card-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 26px;
  letter-spacing: 0.5px;
}

.ag-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
}

.ag-tab {
  flex: 1;
  padding: 14px 12px;
  text-align: center;
  border-radius: var(--radius-md);
  font-size: 15px;
  background: var(--bg-warm);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-normal);
  font-weight: 600;
}

.ag-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.35);
}

.ag-panel {
  /* 默认显示 */
}

.ag-form-group {
  margin-bottom: 18px;
}

.ag-label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.ag-input {
  width: 100%;
  padding: 16px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 17px;
  box-sizing: border-box;
  transition: all var(--transition-normal);
  background: var(--bg-cream);
}

.ag-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.15);
  background: white;
}

.ag-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 6px 20px rgba(255, 122, 69, 0.35);
  letter-spacing: 0.5px;
}

.ag-btn:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.25);
}

.ag-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ag-message {
  margin-top: 18px;
  text-align: center;
  font-size: 15px;
  min-height: 24px;
}

.ag-tips {
  margin-top: 32px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  max-width: 370px;
  color: rgba(255, 255, 255, 0.98);
  font-size: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ag-tips-title {
  font-weight: 700;
  margin-bottom: 14px;
  color: white;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* ===== 单词收集游戏 ===== */
.word-cards-container {
  position: relative;
  min-height: 420px;
  margin: 12px 0;
}

.word-card {
  position: absolute;
  width: 90px;
  background: linear-gradient(145deg, #FFFFFF, var(--bg-warm));
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 6px 20px rgba(255, 122, 69, 0.25);
  animation: floatCard 2.5s ease-in-out infinite;
}

.word-card:active {
  transform: scale(0.92);
}

.word-card.collected {
  animation: collectCard 0.5s ease-out forwards;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes collectCard {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.8; }
  100% { transform: scale(0); opacity: 0; }
}

.card-emoji {
  font-size: 40px;
  line-height: 1;
}

.card-word {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}

.card-play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  border: 3px solid white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 122, 69, 0.35);
  transition: all var(--transition-fast);
  margin-top: 6px;
}

.card-play-btn:active {
  transform: scale(0.9);
}

.card-play-btn.playing {
  animation: pulse 0.5s ease-in-out infinite;
}

/* 收集篮 */
.collect-basket {
  background: linear-gradient(135deg, var(--bg-warm), #FFE8D6);
  border: 3px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 14px;
}

.basket-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-align: center;
}

.basket-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  min-height: 44px;
  align-items: center;
}

.basket-empty {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
}

.basket-item {
  font-size: 28px;
  animation: popIn 0.3s ease-out;
}

@keyframes popIn {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* 完成卡片 */
.game-complete-card {
  background: linear-gradient(145deg, #FFFFFF, var(--bg-warm));
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  border: 4px solid var(--accent-yellow);
  box-shadow: 0 12px 48px rgba(255, 217, 61, 0.3);
}

.complete-stars {
  font-size: 40px;
  margin-bottom: 18px;
  animation: starBounce 0.5s ease-out;
}

@keyframes starBounce {
  0% { transform: scale(0) rotate(-180deg); }
  70% { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0); }
}

.complete-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.complete-words {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 18px 0;
}

.complete-word {
  font-size: 36px;
  background: white;
  padding: 10px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.complete-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-green);
  margin: 14px 0;
}

.complete-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 18px;
  box-shadow: 0 6px 20px rgba(255, 107, 157, 0.35);
  letter-spacing: 0.5px;
}

/* ===== 单词收集游戏 - 选卡片版 ===== */
.word-collect-play-area {
  text-align: center;
  padding: 18px;
  margin-bottom: 14px;
}

.replay-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--border-light);
  cursor: pointer;
  margin-top: 12px;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.replay-btn:active {
  transform: scale(0.95);
  background: var(--bg-card-hover);
}

.play-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: white;
  padding: 16px 32px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(255, 122, 69, 0.4);
  transition: all var(--transition-normal);
  letter-spacing: 0.5px;
}

.play-sound-btn:active {
  transform: scale(0.95);
}

.play-sound-btn.playing {
  background: linear-gradient(135deg, var(--accent-green), #34D399);
  box-shadow: 0 8px 28px rgba(107, 203, 119, 0.4);
}

.play-sound-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.playing-indicator {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-green), #34D399);
  color: white;
  padding: 16px 28px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(107, 203, 119, 0.35);
}

.word-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 12px;
}

.word-select-card {
  background: linear-gradient(145deg, #FFFFFF, var(--bg-warm));
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 16px rgba(255, 122, 69, 0.2);
  position: relative;
}

.word-select-card:active {
  transform: scale(0.95);
}

.word-select-card.current {
  border-color: var(--accent-green);
  box-shadow: 0 6px 24px rgba(107, 203, 119, 0.4);
  animation: glowCard 1.5s ease-in-out infinite;
}

@keyframes glowCard {
  0%, 100% { box-shadow: 0 6px 24px rgba(107, 203, 119, 0.4); }
  50% { box-shadow: 0 6px 36px rgba(107, 203, 119, 0.6); }
}

.word-select-card.wrong {
  border-color: #EF4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  animation: shake 0.4s ease-in-out;
}

.word-select-card.collected {
  opacity: 0.5;
  pointer-events: none;
}

.select-feedback {
  margin-top: 14px;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 17px;
  font-weight: 700;
  animation: popIn 0.3s ease-out;
}

.select-feedback.correct {
  background: linear-gradient(135deg, var(--accent-green), #34D399);
  color: white;
  box-shadow: 0 4px 16px rgba(107, 203, 119, 0.35);
}

.select-feedback.wrong {
  background: linear-gradient(135deg, #EF4444, #F87171);
  color: white;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.35);
}

.complete-btn:active {
  transform: scale(0.95);
}

/* ===== 口语100句页面 ===== */
.oral-content {
  padding-bottom: 30px;
}

.oral-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.12), rgba(255, 107, 107, 0.08));
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 159, 67, 0.2);
}

.oral-intro-icon {
  font-size: 28px;
}

.oral-intro-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.oral-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oral-category {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.oral-category-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.oral-category-header:active {
  background: var(--bg-warm);
}

.oral-category-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.oral-category-info {
  flex: 1;
}

.oral-category-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.oral-category-count {
  font-size: 12px;
  color: var(--text-secondary);
}

.oral-category-arrow {
  font-size: 12px;
  color: var(--text-secondary);
  transition: transform 0.3s;
}

.oral-category-content {
  display: none;
  border-top: 1px solid var(--border-light);
}

.oral-sentence {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.2s;
}

.oral-sentence:last-child {
  border-bottom: none;
}

.oral-sentence:active {
  background: var(--bg-warm);
}

.oral-sentence-text {
  flex: 1;
}

.oral-en {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.oral-zh {
  font-size: 13px;
  color: var(--text-secondary);
}

.oral-play-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FFB347);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  transition: all 0.2s;
  box-shadow: 0 3px 10px rgba(255, 122, 69, 0.3);
}

.oral-play-btn:active {
  transform: scale(0.92);
}

.oral-play-btn.playing {
  background: linear-gradient(135deg, var(--accent-green), #34D399);
  box-shadow: 0 3px 10px rgba(107, 203, 119, 0.4);
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ===== 口语页面视频区域 ===== */
.oral-video-section,
.home-video-section {
  margin-bottom: 20px;
}

.oral-video-wrap,
.home-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.oral-video-iframe,
.home-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.oral-brand-section,
.home-brand-section {
  padding: 20px 0;
}

.oral-brand-title,
.home-brand-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.oral-brand-desc,
.home-brand-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.oral-tips-section,
.home-tips-section {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.06));
  border-radius: 16px;
  padding: 18px;
  border: 1px solid rgba(102, 126, 234, 0.15);
}

.oral-tips-title,
.home-tips-title {
  font-size: 15px;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 14px;
}

.oral-tips-list,
.home-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oral-tip-item,
.home-tip-item {
  font-size: 13px;
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  gap: 8px;
}

.oral-tip-item .tip-num,
.home-tip-item .tip-num {
  color: #667eea;
  font-weight: 600;
  flex-shrink: 0;
}

/* ===== 日常口语视频区域 ===== */
.sentence-video-section {
  margin-bottom: 20px;
}

.sentence-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
}

.sentence-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
}
