.profile-page { background: #f5f7fa; }
        .profile-header {
            position: relative;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            padding: 40px 20px 60px;
            text-align: center;
            color: white;
            overflow: hidden;
        }
        .profile-header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
            background-size: 20px 20px;
            opacity: 0.3;
        }
        .profile-bg {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
            opacity: 0.5;
        }
        .profile-user-info { position: relative; z-index: 1; }
        .profile-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: white;
            margin: 0 auto 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            position: relative;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .profile-avatar-edit {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 24px;
            height: 24px;
            background: #667eea;
            border-radius: 50%;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid white;
        }
        .profile-name {
            font-size: 20px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        .profile-phone {
            font-size: 14px;
            opacity: 0.9;
            margin-bottom: 10px;
        }
        .profile-wubao {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 14px;
        }
        .profile-wubao-icon { font-size: 20px; }
        .profile-wubao-bar {
            width: 100px;
            height: 6px;
            background: rgba(255,255,255,0.3);
            border-radius: 3px;
            overflow: hidden;
        }
        .profile-wubao-fill {
            height: 100%;
            background: linear-gradient(90deg, #ffd700, #ffed4e);
            border-radius: 3px;
            transition: width 0.3s;
        }
        .profile-login-btn {
            margin-top: 15px;
            padding: 10px 30px;
            background: white;
            color: #667eea;
            border: none;
            border-radius: 20px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        }
        .profile-content {
            padding: 20px;
            margin-top: -30px;
            position: relative;
            z-index: 2;
        }
        .profile-section {
            background: white;
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .profile-section-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #333;
        }
        .profile-today-stats {
            display: flex;
            justify-content: space-around;
        }
        .profile-today-item {
            text-align: center;
        }
        .profile-today-num {
            font-size: 28px;
            font-weight: 700;
            color: #667eea;
        }
        .profile-today-label {
            font-size: 12px;
            color: #999;
            margin-top: 5px;
        }
        .profile-menu-list {
            display: flex;
            flex-direction: column;
        }
        .profile-menu-item {
            display: flex;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid #f5f5f5;
            cursor: pointer;
            transition: all 0.2s;
        }
        .profile-menu-item:last-child { border-bottom: none; }
        .profile-menu-item:active { background: #f9f9f9; }
        .profile-menu-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            background: #f0f0ff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            margin-right: 12px;
        }
        .profile-menu-text {
            flex: 1;
            font-size: 15px;
            color: #333;
        }
        .profile-menu-arrow {
            font-size: 20px;
            color: #ccc;
        }
        .profile-menu-badge {
            background: #ff4757;
            color: white;
            font-size: 12px;
            padding: 2px 8px;
            border-radius: 10px;
            margin-right: 10px;
        }
        .profile-menu-toggle {
            width: 50px;
            height: 28px;
            background: #ddd;
            border-radius: 14px;
            position: relative;
            cursor: pointer;
            transition: all 0.3s;
        }
        .profile-menu-toggle.active {
            background: #667eea;
        }
        .profile-menu-toggle-dot {
            width: 24px;
            height: 24px;
            background: white;
            border-radius: 50%;
            position: absolute;
            top: 2px;
            left: 2px;
            transition: all 0.3s;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
        .profile-menu-toggle.active .profile-menu-toggle-dot {
            left: 24px;
        }
        .profile-logout-btn {
            width: 100%;
            padding: 15px;
            background: white;
            border: 1px solid #ff4757;
            color: #ff4757;
            border-radius: 12px;
            font-size: 16px;
            cursor: pointer;
            margin-top: 10px;
            transition: all 0.2s;
        }
        .profile-logout-btn:hover {
            background: #ff4757;
            color: white;
        }
        .profile-guest {
            text-align: center;
            padding: 20px 0;
        }
        .profile-guest-features {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }
        .profile-guest-item {
            background: white;
            border-radius: 16px;
            padding: 20px 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        .profile-guest-icon {
            font-size: 36px;
            margin-bottom: 10px;
        }
        .profile-guest-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 5px;
        }
        .profile-guest-desc {
            font-size: 12px;
            color: #999;
        }
        .profile-guest-tip {
            font-size: 14px;
            color: #999;
            margin-top: 10px;
        }

/* 听力题样式 */
.audio-player {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
.audio-player:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
.audio-player:active {
  transform: scale(0.98);
}
.audio-icon {
  font-size: 48px;
  margin-bottom: 10px;
  animation: pulse 2s infinite;
}
.audio-text {
  font-size: 16px;
}

/* 连线题样式 */
.match-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
}
.match-words, .match-meanings {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.match-word, .match-meaning {
  padding: 15px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
}
.match-word:hover, .match-meaning:hover {
  border-color: #667eea;
  background: #f0f0ff;
}
.match-word.selected, .match-meaning.selected {
  border-color: #667eea;
  background: #f0f0ff;
}
.match-word.matched, .match-meaning.matched {
  border-color: #28a745;
  background: #d4edda;
}

/* 判断题样式 */
.judge-options {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.judge-option {
  flex: 1;
  max-width: 150px;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 18px;
  font-weight: 600;
}
.judge-option.correct {
  background: #d4edda;
  border: 2px solid #28a745;
  color: #28a745;
}
.judge-option.wrong {
  background: #f8d7da;
  border: 2px solid #dc3545;
  color: #dc3545;
}

/* 倒计时样式 */
.countdown-container {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  background: white;
  padding: 10px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}
.countdown-icon {
  font-size: 20px;
}
.countdown-bar {
  width: 200px;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}
.countdown-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
  border-radius: 4px;
  transition: width 1s linear;
}
.countdown-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  min-width: 50px;
  text-align: center;
}
.countdown-warning {
  animation: pulse 1s infinite;
}
.countdown-danger {
  animation: shake 0.5s infinite;
}

/* 连击系统样式 */
.combo-container {
  position: fixed;
  top: 130px;
  right: 20px;
  z-index: 1500;
  text-align: center;
  transition: all 0.3s;
}
.combo-container.active {
  transform: scale(1.2);
}
.combo-count {
  font-size: 36px;
  font-weight: 700;
  color: #ff6b6b;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.combo-label {
  font-size: 14px;
  color: #999;
}
.combo-multiplier {
  font-size: 18px;
  color: #ffd700;
  font-weight: 600;
}
.combo-animation {
  animation: comboPop 0.5s ease;
}
@keyframes comboPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* 答题反馈动画 */
.feedback-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2500;
  pointer-events: none;
}
.feedback-text {
  font-size: 60px;
  font-weight: 700;
  animation: feedbackPop 0.8s ease;
}
.feedback-correct {
  color: #28a745;
}
.feedback-wrong {
  color: #dc3545;
}
@keyframes feedbackPop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* 时间到提示 */
.timeup-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
}
.timeup-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  animation: slideUp 0.3s ease;
}
.timeup-icon {
  font-size: 80px;
  margin-bottom: 20px;
}
.timeup-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}
.timeup-message {
  font-size: 16px;
  color: #999;
  margin-bottom: 20px;
}

/* 错题本样式 */
.wrongbook-btn {
  position: fixed;
  top: 60px;
  right: 10px;
  z-index: 2000;
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  transition: all 0.3s;
}
.wrongbook-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}
.wrongbook-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ffd700;
  color: #333;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
}

/* 错题本弹窗 */
.wrongbook-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  padding: 20px;
  overflow-y: auto;
}
.wrongbook-content {
  background: white;
  border-radius: 20px;
  max-width: 400px;
  margin: 20px auto;
  padding: 30px;
}
.wrongbook-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}
.wrongbook-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.wrongbook-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  border-left: 4px solid #dc3545;
}
.wrongbook-word {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.wrongbook-phonetic {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}
.wrongbook-meaning {
  font-size: 16px;
  color: #667eea;
  margin-bottom: 10px;
}
.wrongbook-example {
  font-size: 14px;
  color: #666;
  background: white;
  padding: 10px;
  border-radius: 8px;
}
.wrongbook-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.wrongbook-btn-small {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  cursor: pointer;
}

/* 收藏按钮样式 */
.collect-btn {
  position: fixed;
  top: 60px;
  left: 10px;
  z-index: 2000;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #333;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  transition: all 0.3s;
}
.collect-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}
.collect-btn.active {
  background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
  color: white;
}

/* 收藏弹窗 */
.collect-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  z-index: 3000;
  padding: 20px;
  overflow-y: auto;
}
.collect-content {
  background: white;
  border-radius: 20px;
  max-width: 400px;
  margin: 20px auto;
  padding: 30px;
}
.collect-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}
.collect-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.collect-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  border-left: 4px solid #ffd700;
}
.collect-word {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}
.collect-phonetic {
  font-size: 14px;
  color: #999;
  margin-bottom: 5px;
}
.collect-meaning {
  font-size: 16px;
  color: #667eea;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: #999;
}
.empty-icon {
  font-size: 60px;
  margin-bottom: 20px;
}
.empty-text {
  font-size: 16px;
}

/* 智能推荐样式 */
.recommend-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.recommend-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.recommend-item {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.recommend-word {
  font-size: 16px;
  font-weight: 500;
}
.recommend-reason {
  font-size: 12px;
  opacity: 0.9;
}
.recommend-btn {
  background: white;
  color: #667eea;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* 复习提醒样式 */
.review-reminder {
  background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
  color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}
.review-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.review-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}
.review-stat {
  text-align: center;
}
.review-stat-number {
  font-size: 24px;
  font-weight: 700;
}
.review-stat-label {
  font-size: 12px;
  opacity: 0.9;
}
.review-btn {
  background: white;
  color: #ff6b6b;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
}

/* 学习报告样式 */
.report-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.report-title {
  font-size: 18px;
  font-weight: 600;
}
.report-period {
  font-size: 14px;
  color: #999;
}
.report-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.report-stat {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
}
.report-stat-icon {
  font-size: 24px;
  margin-bottom: 5px;
}
.report-stat-value {
  font-size: 20px;
  font-weight: 700;
  color: #667eea;
}
.report-stat-label {
  font-size: 12px;
  color: #999;
}
.report-chart {
  height: 150px;
  background: #f8f9fa;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 15px;
}
.report-chart-bar {
  width: 30px;
  background: linear-gradient(to top, #667eea, #764ba2);
  border-radius: 4px 4px 0 0;
  transition: height 0.5s;
}

/* 成就徽章样式 */
.badge-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 20px;
}
.badge-item {
  aspect-ratio: 1;
  background: white;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s;
}
.badge-item:hover {
  transform: translateY(-5px);
}
.badge-item.locked {
  opacity: 0.5;
  filter: grayscale(1);
}
.badge-icon {
  font-size: 40px;
  margin-bottom: 8px;
}
.badge-name {
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}
.badge-progress {
  font-size: 10px;
  color: #999;
  margin-top: 4px;
}
.badge-new {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ffd700;
  color: #333;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  animation: pulse 2s infinite;
}

/* 通知弹窗 */
.notification-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}
.notification-content {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  max-width: 300px;
  animation: slideUp 0.3s ease;
}
.notification-icon {
  font-size: 60px;
  margin-bottom: 15px;
}
.notification-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}
.notification-message {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

/* 每日任务样式 */
.daily-tasks-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.daily-tasks-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.daily-task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
}
.daily-task-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.daily-task-checkbox {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.daily-task-checkbox.completed {
  background: #28a745;
  border-color: #28a745;
}
.daily-task-text {
  font-size: 14px;
}
.daily-task-reward {
  font-size: 12px;
  opacity: 0.9;
}
.daily-tasks-progress {
  margin-top: 15px;
  text-align: center;
}
.daily-tasks-progress-text {
  font-size: 14px;
  margin-bottom: 8px;
}
.daily-tasks-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.daily-tasks-progress-fill {
  height: 100%;
  background: #ffd700;
  border-radius: 4px;
  transition: width 0.5s;
}
.daily-streak {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
}
.daily-streak-fire {
  font-size: 20px;
}

/* 排行榜样式 */
.ranking-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.ranking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.ranking-title {
  font-size: 18px;
  font-weight: 600;
}
.ranking-tabs {
  display: flex;
  gap: 10px;
}
.ranking-tab {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  background: #f0f0f0;
  color: #666;
}
.ranking-tab.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 12px;
}
.ranking-item.top3 {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
}
.ranking-rank {
  font-size: 20px;
  font-weight: 700;
  width: 30px;
  text-align: center;
}
.ranking-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.ranking-info {
  flex: 1;
}
.ranking-name {
  font-size: 14px;
  font-weight: 500;
}
.ranking-score {
  font-size: 12px;
  color: #999;
}
.ranking-medal {
  font-size: 24px;
}
.my-ranking {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
  font-size: 14px;
  color: #666;
}

/* 单词发音按钮 */
.word-audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  margin-left: 10px;
  transition: all 0.2s;
}
.word-audio-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.word-audio-btn:active {
  transform: scale(0.95);
}
.word-audio-btn.playing {
  animation: pulse 1s infinite;
}

/* 发音动画 */
@keyframes soundWave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.sound-wave {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.3);
  animation: soundWave 1s ease-out infinite;
}

/* 个人中心样式 */
.profile-page { background: #f5f7fa; }

/* 未登录状态 */
.profile-login-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}
.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.profile-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}
.profile-id {
    font-size: 12px;
    opacity: 0.9;
}
.profile-login-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.profile-login-icon {
    font-size: 60px;
    margin-bottom: 20px;
}
.profile-login-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.profile-login-desc {
    font-size: 14px;
    color: #999;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}
.profile-login-btn {
    width: 200px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 15px;
}
.profile-guest-link {
    font-size: 14px;
    color: #667eea;
    cursor: pointer;
}

/* 已登录状态 */
.profile-logged-section {
    padding: 20px;
}
.profile-user-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}
.profile-level {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.9;
}
.profile-vip-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* 学习数据 */
.profile-stats-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-stat-item {
    text-align: center;
}
.profile-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}
.profile-stat-label {
    font-size: 12px;
    color: #999;
}

/* 成就徽章 */
.profile-badges-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}
.profile-card-more {
    font-size: 12px;
    color: #667eea;
    cursor: pointer;
}
.profile-badges-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.profile-badge-item {
    width: 60px;
    text-align: center;
}
.profile-badge-icon {
    font-size: 30px;
    margin-bottom: 5px;
}
.profile-badge-name {
    font-size: 10px;
    color: #666;
}
.profile-badge-more {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

/* 连续打卡 */
.profile-streak-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-streak-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}
.profile-streak-days {
    color: #ff6b6b;
    font-size: 14px;
}
.profile-streak-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}
.profile-streak-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    transition: width 0.5s;
}
.profile-streak-text {
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* 功能菜单 */
.profile-menu-card {
    background: white;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}
.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-menu-item:hover {
    background: #f8f9fa;
}
.profile-menu-item:last-child {
    border-bottom: none;
}
.profile-menu-icon {
    font-size: 20px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}
.profile-menu-text {
    flex: 1;
    font-size: 14px;
}
.profile-menu-arrow {
    font-size: 14px;
    color: #999;
}

/* 退出登录 */
.profile-logout-btn {
    width: 100%;
    padding: 15px;
    background: white;
    color: #dc3545;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.profile-logout-btn:hover {
    background: #f8f9fa;
}

/* 文创商城样式 */
.creative-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}
.creative-header h2 {
    font-size: 22px;
    margin-bottom: 5px;
}
.creative-header p {
    font-size: 12px;
    opacity: 0.9;
}
.creative-points {
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 5px 15px;
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
}
.creative-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: white;
}
.creative-category-item {
    flex: 1;
    min-width: 70px;
    text-align: center;
    padding: 10px 5px;
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
}
.creative-category-item:hover, .creative-category-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
}
.creative-category-icon {
    font-size: 24px;
    margin-bottom: 5px;
}
.creative-category-name {
    font-size: 12px;
}
.creative-products {
    padding: 15px;
}
.creative-section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.creative-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.creative-product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.creative-product-card:hover {
    transform: translateY(-5px);
}
.creative-product-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}
.creative-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.creative-product-info {
    padding: 12px;
}
.creative-product-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.creative-product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}
.creative-price-current {
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
}
.creative-price-original {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}
.creative-product-points {
    font-size: 11px;
    color: #f39c12;
    margin-top: 3px;
}
.creative-cart-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    z-index: 100;
}
.creative-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ===== 统一页面Header渐变 ===== */
.page-header {
    --g-start: #667eea;
    --g-end: #764ba2;
    background:
        linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.10) 45%, rgba(255,255,255,0.40) 65%, #fff 100%),
        linear-gradient(135deg, var(--g-start), var(--g-end));
    color: white;
    padding: 12px 16px;
    min-height: 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
}
.page-header h2 {
    font-size: 18px;
    display: inline;
    margin: 0;
    font-weight: 700;
}
.page-header p {
    font-size: 12px;
    opacity: 0.9;
    display: inline;
    margin: 0 0 0 8px;
}
.page-header-home    { --g-start: #e53e3e; --g-end: #ed8936; }
.page-header-study   { --g-start: #dd6b20; --g-end: #48bb78; }
.page-header-creative { --g-start: #38a169; --g-end: #319795; }
.page-header-member  { --g-start: #2b6cb0; --g-end: #667eea; }
.page-header-my      { --g-start: #6b46c1; --g-end: #9f7aea; }
.page.report-page { display: none; } .page.report-page.active { display: block; background: #f5f6fa; }
