body {
  font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  margin: 40px auto;
  max-width: 800px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  color: #333;
  position: relative;
  /* 移动端触摸优化 */
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #4a4a4a;
}
.value-proposition {
  background: rgba(224, 247, 250, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.value-proposition h2 {
  font-size: 26px;
  margin-bottom: 10px;
  color: #2c3e50;
}
.value-proposition p {
  font-size: 18px;
  margin-bottom: 20px;
}
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}
.cta-button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}
.audio-block {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(220, 230, 240, 0.5);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.audio-block h2 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 10px;
  color: #2c3e50;
}
audio {
  width: 100%;
}

/* 夜间模式样式 */
body.night-mode {
  background-color: #2c3e50; /* 深色背景 */
  color: #ecf0f1; /* 浅色文字 */
}

.value-proposition.night-mode {
  background-color: #34495e; /* 深色背景 */
}

.audio-block.night-mode {
  background: #3b3b3b; /* 深色音频块背景 */
}

.audio-block h2.night-mode {
  color: #ecf0f1; /* 浅色标题 */
}

.cta-button.night-mode {
  background-color: #0056b3; /* 深色背景 */
  color: #ffffff; /* 浅色文字 */
}

.comments-section {
  background: rgba(240, 244, 248, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.comments-section h3 {
  margin-bottom: 10px;
  color: #2c3e50; /* 深色标题 */
}

.comments-section textarea {
  width: 100%;
  height: 80px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

.social-share {
  background: #f0f4f8; /* 背景色 */
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: center;
}

.social-share a {
  display: inline-flex;
  align-items: center;
  margin-right: 10px;
  color: #007bff; /* 链接颜色 */
  text-decoration: none;
  line-height: 1;
}

.social-share a i {
  margin-right: 8px; /* 图标与文本之间的间距 */
  font-size: 1.2em; /* 增大图标尺寸 */
}

.social-share a:hover {
  text-decoration: underline; /* 悬停效果 */
}

#comments-list {
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  box-shadow: 0 0 4px rgba(0,0,0,0.05);
}

#comments-list div {
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  color: #333;
}

#comments-list div:last-child {
  border-bottom: none;
}

.filter-bar {
  background: rgba(224, 247, 250, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.filter-controls {
  display: flex;
  gap: 20px;
  align-items: center;
}

.filter-bar label {
  font-size: 16px;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-bar select,
.filter-bar input[type="text"] {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  background: white;
  transition: border-color 0.2s ease;
}

.filter-bar select:focus,
.filter-bar input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.filter-bar input[type="text"] {
  min-width: 200px;
  flex: 1;
}

/* 筛选结果样式 */
.filter-results {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid rgba(220, 230, 240, 0.5);
  margin-bottom: 20px;
  text-align: center;
}

.filter-results p {
  margin: 0;
  color: #2c3e50;
  font-size: 14px;
  font-weight: 500;
}

.filter-results .no-results {
  color: #666;
  font-style: italic;
  margin-top: 8px;
  font-weight: normal;
}

.filter-results .show-all-hint {
  color: #666;
  font-size: 13px;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0, 123, 255, 0.05);
  border-radius: 6px;
  border-left: 3px solid #007bff;
}

.filter-results i {
  color: #007bff;
  margin-right: 6px;
}

/* 评论区每条评论独立卡片样式 */
.comment-item {
  background: #fff;
  border-radius: 6px;
  margin-bottom: 10px;
  padding: 10px 16px;
  box-shadow: 0 0 4px rgba(0,0,0,0.04);
  font-size: 15px;
  color: #333;
  border: 1px solid #f0f0f0;
}

/* "更多评论"按钮小巧化 */
#more-comments-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 18px;
  font-size: 15px;
  border-radius: 4px;
  background: #e0f7fa;
  color: #007bff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
#more-comments-btn:hover {
  background: #b2ebf2;
  color: #0056b3;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.comments-grid {
  display: grid;
  gap: 20px;
  margin: 20px 0;
}

.comment-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
}

.comment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.comment-content {
  font-size: 16px;
  line-height: 1.6;
  color: #2c3e50;
  margin-bottom: 12px;
}

.comment-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
  color: #666;
}

.comment-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.comment-time i {
  color: #007bff;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* 夜间模式适配 */
body.night-mode .comment-card {
  background: #34495e;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

body.night-mode .comment-content {
  color: #ecf0f1;
}

body.night-mode .comment-time {
  color: #bdc3c7;
}

body.night-mode .comment-time i {
  color: #3498db;
}

/* 加载指示器 */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(224, 247, 250, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e0f7fa;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-overlay p {
  color: #2c3e50;
  font-size: 16px;
  margin: 0;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4);
}

.back-to-top i {
  font-size: 18px;
}

/* 头部导航优化 */
header {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px 0;
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  border-radius: 15px;
}

header h1 {
  margin-bottom: 15px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  background: rgba(0, 123, 255, 0.1);
  color: #0056b3;
}

/* 音频错误提示 */
.audio-error {
  background: #ffe6e6;
  color: #d63031;
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.audio-error i {
  color: #d63031;
}

/* 推荐区域样式 */
.featured-section {
  margin-bottom: 40px;
}

.featured-section h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 28px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.featured-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  border: 1px solid rgba(220, 230, 240, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  border-color: rgba(0, 123, 255, 0.4);
  background: rgba(255, 255, 255, 0.98);
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #007bff;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.featured-card h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured-card.clickable-audio {
  cursor: pointer;
}

.featured-card.clickable-audio.playing {
  border-left: 4px solid #4CAF50;
  background: rgba(232, 245, 232, 0.9);
  backdrop-filter: blur(15px);
}

/* 推荐卡片中的音频控制区域 */
.featured-card .audio-controls {
  margin-top: 20px;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}

.featured-card .audio-controls audio {
  width: 100%;
  order: 1;
}

/* 详情按钮和统计信息的容器 */
.featured-card .controls-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  order: 2;
}

.featured-card .audio-detail-btn {
  flex: 0 0 auto;
  padding: 10px 20px;
  font-size: 14px;
}

.featured-card .audio-stats-corner {
  flex: 1;
  justify-content: flex-end;
  margin-left: 0;
  gap: 12px;
}

.featured-card .play-count-corner,
.featured-card .comment-count-corner {
  font-size: 0.85em;
  padding: 6px 10px;
}

/* 音频库样式 */
.audio-library h2 {
  text-align: center;
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 26px;
}

.audio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.audio-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 18px;
  flex: 1;
}

.audio-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.tag-type {
  background: #e3f2fd;
  color: #1976d2;
}

.tag-level {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* 音频库中的难度等级样式 - 与今日推荐保持一致 */
.tag-level.easy-level {
  background: #d4edda;
  color: #155724;
}

.tag-level.medium-level {
  background: #fff3cd;
  color: #856404;
}

.tag-level.hard-level {
  background: #f8d7da;
  color: #721c24;
}

.audio-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  min-height: 60px; /* 固定描述区域高度，确保推荐区域对齐 */
  display: flex;
  align-items: flex-start;
}

.audio-meta {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 15px;
  font-size: 14px;
  color: #666;
}

.audio-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.duration i {
  color: #007bff;
}

.benefits i {
  color: #28a745;
}

.plays i {
  color: #ffc107;
}

.difficulty {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: bold;
}

.difficulty.easy {
  background: #d4edda;
  color: #155724;
}

.difficulty.medium {
  background: #fff3cd;
  color: #856404;
}

.difficulty.hard {
  background: #f8d7da;
  color: #721c24;
}

/* CTA按钮组 */
.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button.primary {
  background: #007bff;
  color: white;
}

.cta-button.secondary {
  background: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.cta-button.secondary:hover {
  background: #007bff;
  color: white;
}

/* 新手指南弹窗 */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.guide-steps {
  margin: 30px 0;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.step-number {
  background: #007bff;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.step-content h3 {
  margin: 0 0 10px 0;
  color: #2c3e50;
}

.step-content p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.guide-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.guide-footer p {
  color: #666;
  margin-bottom: 20px;
}

/* 推荐区域移动端优化 */
@media (max-width: 768px) {
  .featured-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 25px;
  }
  
  .featured-card {
    padding: 20px;
  }
  
  .featured-badge {
    top: -8px;
    right: 15px;
    padding: 4px 12px;
    font-size: 11px;
  }
  
  .audio-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .audio-meta {
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .cta-button {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    text-align: center;
  }
  
  .modal-content {
    margin: 5% auto;
    padding: 20px;
    width: 95%;
    max-width: none;
    border-radius: 16px;
  }
  
  .guide-step {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }
  
  .step-number {
    margin: 0 auto 15px auto;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  .step-content h3 {
    font-size: 16px;
  }
  
  .step-content p {
    font-size: 14px;
  }
}

/* 可点击音频块样式 */
.clickable-audio {
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clickable-audio:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.clickable-audio.playing {
  border-left: 4px solid #4CAF50;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
}

/* 音频控制区域统计样式 */
.audio-stats-corner {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: auto;
  z-index: 2;
}

.play-count-corner,
.comment-count-corner {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85em;
  color: #666;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.play-count-corner:hover,
.comment-count-corner:hover {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
  transform: scale(1.05);
}

.play-count-corner i {
  font-size: 0.9em;
  color: #28a745;
}

.comment-count-corner i {
  font-size: 0.9em;
  color: #007bff;
}

/* 音频控制区域 */
.audio-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.audio-controls audio {
  flex: 1;
  height: 40px;
  min-width: 0;
}

.audio-detail-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.audio-detail-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* 音频控制移动端优化 */
@media (max-width: 768px) {
  .audio-stats-corner {
    gap: 6px;
    flex-wrap: wrap;
  }
  
  .play-count-corner,
  .comment-count-corner {
    font-size: 0.75em;
    padding: 5px 10px;
    border-radius: 12px;
    min-height: 28px;
  }
  
  .audio-controls {
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
  }
  
  .audio-controls audio {
    height: 45px;
    border-radius: 8px;
  }
  
  .audio-detail-btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border-radius: 8px;
    min-height: 44px;
  }
  
  /* 推荐卡片中的控制区域 */
  .featured-card .controls-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .featured-card .audio-stats-corner {
    justify-content: center;
    margin-left: 0;
  }
  
  .featured-card .audio-detail-btn {
    order: -1;
  }
}

@media (max-width: 600px) {
  .audio-stats-corner {
    gap: 4px;
  }
  
  .play-count-corner,
  .comment-count-corner {
    font-size: 0.7em;
    padding: 4px 8px;
    min-height: 24px;
  }
  
  .audio-controls {
    gap: 10px;
  }
  
  .audio-controls audio {
    height: 40px;
  }
  
  .audio-detail-btn {
    padding: 10px 14px;
    font-size: 14px;
    min-height: 40px;
  }
}

/* 音频详情页面样式 */
.audio-detail-page {
  max-width: 1000px;
  margin: 20px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  border-radius: 40px;
  border: 1px solid rgba(220, 230, 240, 0.6);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  min-height: calc(100vh - 40px);
  position: relative;
}

.audio-detail-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.audio-detail-header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(220, 230, 240, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.audio-detail-info h1 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 2.2em;
  font-weight: 700;
  text-align: left;
}

.audio-detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.audio-detail-tags .tag {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* 详情页标签样式 - 区分难度等级和其他标签 */
.audio-detail-tags .tag:not(.easy-level):not(.medium-level):not(.hard-level) {
  background: #e3f2fd;
  color: #1976d2;
}

/* 详情页难度等级标签样式 - 与首页保持一致 */
.audio-detail-tags .tag.easy-level {
  background: #d4edda;
  color: #155724;
}

.audio-detail-tags .tag.medium-level {
  background: #fff3cd;
  color: #856404;
}

.audio-detail-tags .tag.hard-level {
  background: #f8d7da;
  color: #721c24;
}

.audio-detail-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.audio-detail-meta {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.audio-detail-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-weight: 500;
}

/* 详情页面图标颜色与首页保持一致 */
.audio-detail-meta .meta-item i.far.fa-clock {
  color: #007bff;
}

.audio-detail-meta .meta-item i.fas.fa-heart {
  color: #28a745;
}

.audio-detail-stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(220, 230, 240, 0.5);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-card i {
  font-size: 2em;
  color: #4CAF50;
  margin-bottom: 10px;
}

.stat-number {
  display: block;
  font-size: 2.5em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
}

.stat-label {
  color: #666;
  font-size: 0.9em;
}

.audio-detail-player {
  margin-bottom: 40px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(220, 230, 240, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.audio-detail-content {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(220, 230, 240, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.audio-detail-content h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detailed-content {
  line-height: 1.7;
  color: #444;
}

.detailed-content h3 {
  color: #2c3e50;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.3em;
}

.detailed-content ul, .detailed-content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.detailed-content li {
  margin-bottom: 8px;
}

.audio-detail-comments {
  padding: 25px;
  margin: 0 15px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(220, 230, 240, 0.5);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.audio-detail-comments h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3em;
}

.comment-form {
  margin-bottom: 25px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.comment-form textarea {
  width: 100%;
  min-height: 80px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.comment-form textarea:focus {
  outline: none;
  border-color: #007bff;
}

.comment-form-actions {
  margin-top: 12px;
  text-align: right;
}

.btn-primary {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary:hover {
  background: #0056b3;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.comment-item {
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #eee;
}

.comment-content {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 8px;
}

.comment-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 11px;
  color: #999;
}

.comment-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

.no-comments {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 8px;
}

.success-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  z-index: 1000;
  animation: slideInRight 0.3s ease;
}

/* 详情页移动端优化 */
@media (max-width: 768px) {
  .audio-detail-page {
    margin: 15px auto;
    padding: 20px;
    border-radius: 24px;
    min-height: calc(100vh - 30px);
  }
  
  .audio-detail-header {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
    border-radius: 16px;
  }
  
  .audio-detail-info h1 {
    font-size: 1.6em;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .audio-detail-tags {
    gap: 8px;
    margin-bottom: 15px;
  }
  
  .audio-detail-tags .tag {
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 12px;
  }
  
  .audio-detail-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }
  
  .audio-detail-meta {
    font-size: 12px;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .audio-detail-stats {
    flex-direction: row;
    gap: 12px;
  }
  
  .stat-card {
    flex: 1;
    padding: 15px 12px;
    border-radius: 12px;
    min-height: 80px;
  }
  
  .stat-number {
    font-size: 1.8em;
    margin-bottom: 4px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .audio-detail-player {
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  
  .audio-detail-player audio {
    height: 50px;
    border-radius: 8px;
  }
  
  .audio-detail-content {
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  
  .audio-detail-content h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
  }
  
  .detailed-content {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .detailed-content h3 {
    font-size: 1.1em;
    margin: 20px 0 10px 0;
  }
  
  .audio-detail-comments {
    padding: 20px;
    margin: 0 10px; /* 移动端也添加左右边距 */
    border-radius: 16px;
  }
  
  .audio-detail-comments h2 {
    font-size: 1.3em;
    margin-bottom: 15px;
  }
  
  .comment-form {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
  }
  
  .comment-form textarea {
    min-height: 100px;
    font-size: 15px;
    padding: 12px;
    border-radius: 8px;
  }
  
  .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 8px;
    min-height: 40px;
  }
  
  .comment-item {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  
  .comment-content {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }
  
  .back-to-home {
    margin: 25px 10px; /* 移动端也添加左右边距 */
    padding: 15px 0;
  }
  
  .back-btn {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 10px;
    min-height: 44px;
  }
}

@media (max-width: 600px) {
  .audio-detail-page {
    margin: 10px auto;
    padding: 15px;
    border-radius: 20px;
  }
  
  .audio-detail-header {
    padding: 15px;
    gap: 15px;
  }
  
  .audio-detail-info h1 {
    font-size: 1.4em;
  }
  
  .audio-detail-stats {
    gap: 8px;
  }
  
  .stat-card {
    padding: 12px 8px;
    min-height: 70px;
  }
  
  .stat-number {
    font-size: 1.6em;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .audio-detail-player,
  .audio-detail-content,
  .audio-detail-comments {
    padding: 15px;
    margin: 0 8px; /* 小屏幕设备添加左右边距 */
  }
  
  .audio-detail-player audio {
    height: 45px;
  }
  
  .comment-form {
    padding: 12px;
  }
  
  .comment-form textarea {
    min-height: 80px;
    font-size: 14px;
  }
  
  .btn-primary {
    padding: 8px 16px;
    font-size: 13px;
    min-height: 36px;
  }
}

/* 返回按钮样式 */
.back-to-home {
  text-align: center;
  margin: 30px 15px;
  padding: 20px 0;
  border-top: 1px solid rgba(220, 230, 240, 0.5);
  border-radius: 0 0 20px 20px;
}

.back-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.back-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.back-btn i {
  font-size: 14px;
}

/* 移动端专用样式 */
@media (max-width: 480px) {
  body {
    margin: 10px auto;
    padding: 0 8px;
  }
  
  /* 超小屏幕优化 */
  .value-proposition {
    padding: 12px;
    border-radius: 12px;
  }
  
  .value-proposition h2 {
    font-size: 18px;
  }
  
  .value-proposition p {
    font-size: 14px;
  }
  
  .audio-block {
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  
  .audio-block h2 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .featured-card {
    padding: 12px;
    border-radius: 12px;
  }
  
  .featured-card h3 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .featured-badge {
    top: -6px;
    right: 10px;
    padding: 3px 8px;
    font-size: 10px;
  }
  
  .tag {
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 8px;
  }
  
  .audio-description {
    font-size: 12px;
    line-height: 1.3;
  }
  
  .audio-meta {
    font-size: 11px;
    gap: 10px;
  }
  
  .filter-bar {
    padding: 10px;
    gap: 8px;
    border-radius: 12px;
  }
  
  .filter-bar label {
    font-size: 12px;
  }
  
  .filter-bar select {
    padding: 6px;
    font-size: 12px;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    font-size: 16px;
    bottom: 15px;
    right: 15px;
  }
  
  /* 音频控制超小屏优化 */
  .audio-controls {
    gap: 8px;
  }
  
  .audio-controls audio {
    height: 35px;
  }
  
  .audio-detail-btn {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 35px;
  }
  
  /* 详情页超小屏优化 */
  .audio-detail-page {
    margin: 8px auto;
    padding: 12px;
    border-radius: 16px;
  }
  
  .audio-detail-header {
    padding: 12px;
    gap: 12px;
    border-radius: 12px;
  }
  
  .audio-detail-info h1 {
    font-size: 1.2em;
    line-height: 1.2;
  }
  
  .audio-detail-tags .tag {
    padding: 4px 8px;
    font-size: 10px;
    border-radius: 8px;
  }
  
  .audio-detail-description {
    font-size: 12px;
  }
  
  .audio-detail-meta {
    font-size: 11px;
    gap: 10px;
  }
  
  .stat-card {
    padding: 10px 6px;
    min-height: 60px;
    border-radius: 10px;
  }
  
  .stat-number {
    font-size: 1.4em;
  }
  
  .stat-label {
    font-size: 9px;
  }
  
  .audio-detail-player,
  .audio-detail-content,
  .audio-detail-comments {
    padding: 12px;
    border-radius: 12px;
  }
  
  .audio-detail-player audio {
    height: 40px;
  }
  
  .audio-detail-content h2,
  .audio-detail-comments h2 {
    font-size: 1.1em;
  }
  
  .detailed-content {
    font-size: 12px;
  }
  
  .detailed-content h3 {
    font-size: 1em;
  }
  
  .comment-form {
    padding: 10px;
    border-radius: 10px;
  }
  
  .comment-form textarea {
    min-height: 70px;
    font-size: 13px;
    padding: 10px;
  }
  
  .btn-primary {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 32px;
  }
  
  .comment-item {
    padding: 10px;
    border-radius: 10px;
  }
  
  .comment-content {
    font-size: 12px;
  }
  
  .back-btn {
    padding: 10px 20px;
    font-size: 13px;
    min-height: 40px;
    border-radius: 8px;
  }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
  .audio-detail-page {
    margin: 10px auto;
    padding: 15px;
  }
  
  .audio-detail-header {
    grid-template-columns: 2fr 1fr;
    gap: 20px;
  }
  
  .audio-detail-stats {
    flex-direction: column;
    gap: 8px;
  }
  
  .stat-card {
    padding: 10px;
    min-height: 60px;
  }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  .audio-block:hover,
  .featured-card:hover,
  .clickable-audio:hover,
  .stat-card:hover {
    transform: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  }
  
  .cta-button:hover,
  .audio-detail-btn:hover,
  .btn-primary:hover,
  .back-btn:hover {
    transform: none;
  }
  
  /* 增加触摸目标大小 */
  .cta-button,
  .audio-detail-btn,
  .btn-primary,
  .back-btn {
    min-height: 44px;
    padding: 12px 20px;
  }
  
  .play-count-corner,
  .comment-count-corner {
    min-height: 32px;
    padding: 6px 12px;
  }
  
  .tag {
    min-height: 28px;
    padding: 6px 12px;
  }
  
  .filter-bar select {
    min-height: 40px;
    padding: 8px 12px;
  }
}

/* 移动端优化 */
@media (max-width: 768px) {
  .filter-bar {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    border-radius: 16px;
  }
  
  .filter-results {
    padding: 12px 15px;
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .filter-bar {
    padding: 12px;
    gap: 12px;
    flex-direction: column;
  }
  
  .filter-controls {
    width: 100%;
    justify-content: space-between;
  }

  .filter-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .filter-bar label {
    font-size: 14px;
    width: 100%;
    justify-content: space-between;
  }
  
  .filter-bar select {
    padding: 8px;
    font-size: 14px;
    flex: 1;
  }
  
  .filter-results {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* 音频进度恢复提示样式 */
.progress-restore-prompt {
  background: rgba(255, 248, 220, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  transition: opacity 0.3s ease;
}

.progress-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #856404;
  font-size: 14px;
}

.progress-info i {
  color: #ffc107;
}

.progress-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-continue,
.btn-restart {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-continue {
  background: #28a745;
  color: white;
}

.btn-continue:hover {
  background: #218838;
  transform: translateY(-1px);
}

.btn-restart {
  background: #6c757d;
  color: white;
}

.btn-restart:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.btn-continue i,
.btn-restart i {
  font-size: 12px;
}



/* 筛选操作按钮 */
.filter-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.filter-btn {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: white;
  color: #2c3e50;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover {
  background: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
}



/* Toast 通知样式 */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-left: 4px solid #007bff;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast-success {
  border-left-color: #28a745;
}

.toast.toast-success i {
  color: #28a745;
}

.toast.toast-error {
  border-left-color: #dc3545;
}

.toast.toast-error i {
  color: #dc3545;
}

.toast.toast-info {
  border-left-color: #17a2b8;
}

.toast.toast-info i {
  color: #17a2b8;
}

.toast span {
  font-size: 14px;
  color: #2c3e50;
}

/* 偏好设置弹窗样式 */
.preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.preferences-modal.show {
  opacity: 1;
  visibility: visible;
}

.preferences-content {
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.preferences-modal.show .preferences-content {
  transform: scale(1);
}

.preferences-header {
  padding: 20px 25px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preferences-header h3 {
  margin: 0;
  color: #2c3e50;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-preferences {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.close-preferences:hover {
  background: #f5f5f5;
  color: #333;
}

.preferences-body {
  padding: 25px;
}

.preference-group {
  margin-bottom: 25px;
}

.preference-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
}

.preference-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  transition: border-color 0.2s ease;
}

.preference-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.1);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 15px;
}

.volume-control input[type="range"] {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  -webkit-appearance: none;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #007bff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.volume-control input[type="range"]::-webkit-slider-thumb:hover {
  background: #0056b3;
}

.volume-display {
  font-weight: 500;
  color: #007bff;
  min-width: 40px;
  text-align: right;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.preferences-footer {
  padding: 20px 25px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: #007bff;
  color: white;
}

.btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.settings-btn {
  border-color: #6c757d;
  color: #6c757d;
}

.settings-btn:hover {
  background: rgba(108, 117, 125, 0.1);
  border-color: #5a6268;
  color: #5a6268;
}

/* 右上角用户状态区域 */
.user-status-corner {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.login-prompt {
  display: flex;
  align-items: center;
  gap: 12px;
}

.login-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.login-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.unlock-hint {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
  margin-left: 8px;
  border: 1px solid rgba(0, 123, 255, 0.2);
}

/* 用户信息显示 */
.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar i {
  font-size: 24px;
  color: #007bff;
}

.user-details {
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-name {
  font-size: 14px;
  font-weight: 500;
  color: #2c3e50;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.user-menu-btn:hover {
  background: #f8f9fa;
  color: #007bff;
}

/* 用户菜单下拉 */
.user-menu {
  position: fixed;
  top: 65px;
  right: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid #e1e8ed;
  min-width: 180px;
  z-index: 1001;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #2c3e50;
}

.menu-item:hover {
  background: #f8f9fa;
}

.menu-item:first-child {
  border-radius: 8px 8px 0 0;
}

.menu-item:last-child {
  border-radius: 0 0 8px 8px;
}

.menu-item.logout {
  color: #dc3545;
  border-top: 1px solid #e1e8ed;
}

.menu-item.logout:hover {
  background: #fff5f5;
}

.menu-divider {
  height: 1px;
  background: #e1e8ed;
  margin: 4px 0;
}

/* 音频锁定状态 */
.locked-audio {
  position: relative;
  opacity: 0.6;
}

.lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  z-index: 10;
}

.lock-content {
  text-align: center;
  padding: 20px;
}

.lock-content i {
  font-size: 32px;
  color: #666;
  margin-bottom: 12px;
}

.lock-content p {
  margin: 0 0 16px 0;
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.unlock-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.unlock-btn:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* 评论作者显示 */
.comment-author {
  font-weight: 500;
  color: #007bff;
  margin-right: 12px;
}

.comment-author i {
  margin-right: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .user-status-corner {
    top: 15px;
    right: 15px;
  }
  
  .unlock-hint {
    display: none;
  }
  
  .user-name {
    max-width: 80px;
  }
  
  .user-menu {
    right: 15px;
    top: 60px;
    min-width: 160px;
  }
}

@media (max-width: 480px) {
  .user-status-corner {
    top: 10px;
    right: 10px;
  }
  
  .login-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .user-menu {
    right: 10px;
    top: 55px;
  }
  
  .lock-content {
    padding: 15px;
  }
  
  .lock-content i {
    font-size: 24px;
  }
  
  .lock-content p {
    font-size: 14px;
  }
}
