.container {
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
  padding: 0 0px;
}

/* 播客头部样式 */
.podcast-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0px 0;
  margin-bottom: 30px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.podcast-cover-wrapper {
  flex-shrink: 0;
}

.podcast-cover {
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.podcast-cover:hover {
  transform: translateY(-5px);
}

.cover-overlay {
  position: absolute;
  top: 5%;
  left: 5%;
  right: 5%;
  bottom: 5%;
  width: 90%;
  height: 90%;
  background: linear-gradient(
    180deg,
    rgba(11, 59, 43, 0) 35%,
    rgba(11, 59, 43, 0) 100%
  );
  opacity: 1;
  transition: opacity 0.3s ease;
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  padding: 10px;
  pointer-events: none;
}

.podcast-cover:hover .cover-overlay {
  opacity: 1;
}

.cover-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #07c161;
  font-size: 24px;
  opacity: 0;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.cover-play-button i {
  margin-left: 5px;
}

.podcast-cover:hover .cover-play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.no-audio-header {
  display: block;
}

.no-audio-header .podcast-cover-wrapper {
  width: 100%;
}

.no-audio-header .podcast-cover {
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  cursor: default;
  background-image: none !important;
  box-shadow: none;
}

.no-audio-header .podcast-cover:hover {
  transform: none;
}

.no-audio-header .podcast-cover-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.no-audio-header .cover-overlay,
.no-audio-header .cover-play-button,
.no-audio-header .cover-wave {
  display: none;
}

.no-audio-header .podcast-info {
  margin-top: 0;
  padding: 18px 24px 0;
}

.cover-wave {
  width: 100%;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(7, 193, 96, 0.2);
  border-radius: 12px;
  padding: 0px 10px;
  box-shadow: 0 8px 18px rgba(11, 59, 43, 0.12);
}

.cover-wave .audio-wave {
  height: 28px;
  gap: 4px;
}

.cover-wave .wave-bar {
  width: 3px;
}

.cover-wave-title {
  margin-top: 6px;
  font-size: 11px;
  color: #0b3b2b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-info {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin-top: -40px;
}

.theme-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
}

.theme-badge a {
  color: white;
  text-decoration: none;
}

.podcast-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 40px 20px 18px 0;
  color: #0b3b2b;
  text-shadow: 0 1px 6px rgba(7, 193, 96, 0.12);
  letter-spacing: 0.01em;
}

.podcast-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: nowrap;
  align-items: center;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  opacity: 0.9;
}

.teacher-meta .teacher-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.teacher-meta .teacher-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(7, 193, 96, 0.2);
}

.teacher-meta .teacher-name {
  font-weight: 600;
}

.teacher-meta .teacher-code {
  font-size: 12px;
  opacity: 0.8;
}

.meta-item i {
  font-size: 18px;
}

.podcast-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
}

.tag-item {
  background: rgb(172 48 220);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  margin-left: 10px;
}

/* 播放器区域样式 */
.player-section {
  margin-bottom: 30px;
}

.player-card {
  background: linear-gradient(
    135deg,
    rgba(7, 193, 96, 0.08) 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(43, 164, 113, 0.08) 100%
  );
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 8px 26px rgba(7, 193, 96, 0.12);
  border: 1px solid rgba(7, 193, 96, 0.12);
  transition: box-shadow 0.3s ease;
}

.player-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.progress-wrapper {
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  margin-bottom: 10px;
  transition: height 0.2s ease;
}

.progress-bar:hover {
  height: 10px;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s ease;
}

.progress-handle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(50%, -50%);
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.progress-bar:hover .progress-handle {
  opacity: 1;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6c757d;
  font-weight: 500;
}

/* 控制按钮样式 */
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.main-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.control-btn {
  background: none;
  border: none;
  color: #495057;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  font-size: 18px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: #f8f9fa;
  color: #343a40;
  transform: scale(1.1);
}

.play-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.play-btn:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a418a 100%);
  color: white;
  transform: scale(1.1);
}

.play-btn .fa-pause {
  display: none;
}

.is-playing .play-btn .fa-play {
  display: none;
}

.is-playing .play-btn .fa-pause {
  display: inline;
}

/* 音量控制 */
.volume-control-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 8px 12px;
  border-radius: 25px;
}

.volume-slider {
  width: 100px;
  height: 4px;
  -webkit-appearance: none;
  background: #dee2e6;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #667eea;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #5a6fd8;
}

/* 播放速度 */
.speed-control-wrapper {
  position: relative;
}

.speed-selector {
  background: #f8f9fa;
  border: none;
  padding: 8px 15px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
}

.speed-selector:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.25);
}

/* 内容区域样式 */
.content-section {
  margin-bottom: 50px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.main-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.section-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.section-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #212529;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 15px;
}

.description-content {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
}

.content-text {
  font-size: 16px;
  line-height: 1.8;
  color: #495057;
}

/* 侧边栏样式 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #212529;
}

.wave-visual-card {
  text-align: center;
}

.wave-container {
  margin: 20px 0;
  padding: 30px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
}

.audio-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 60px;
}

.wave-bar {
  width: 4px;
  height: 20px;
  background: #667eea;
  border-radius: 2px;
  animation: sound-wave 1.5s infinite ease-in-out;
  animation-play-state: paused;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.is-playing .wave-bar {
  animation-play-state: running;
}

.wave-bar:nth-child(1) {
  height: 15px;
  animation-delay: 0.1s;
}
.wave-bar:nth-child(2) {
  height: 30px;
  animation-delay: 0.2s;
}
.wave-bar:nth-child(3) {
  height: 20px;
  animation-delay: 0.3s;
}
.wave-bar:nth-child(4) {
  height: 35px;
  animation-delay: 0.4s;
}
.wave-bar:nth-child(5) {
  height: 25px;
  animation-delay: 0.5s;
}
.wave-bar:nth-child(6) {
  height: 40px;
  animation-delay: 0.6s;
}
.wave-bar:nth-child(7) {
  height: 18px;
  animation-delay: 0.7s;
}
.wave-bar:nth-child(8) {
  height: 32px;
  animation-delay: 0.8s;
}
.wave-bar:nth-child(9) {
  height: 22px;
  animation-delay: 0.9s;
}

@keyframes sound-wave {
  0%,
  100% {
    transform: scaleY(0.6);
  }
  50% {
    transform: scaleY(1.2);
  }
}

.playing-info {
  margin-top: 15px;
}

.playing-title {
  font-size: 14px;
  font-weight: 500;
  color: #6c757d;
  line-height: 1.4;
}

/* 粘性播放器 */
.sticky-player {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: bottom 0.3s ease;
  z-index: 1000;
}

.sticky-player.visible {
  bottom: 0;
}

.sticky-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.sticky-cover {
  width: 50px;
  height: 50px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
}

.sticky-info {
  flex: 0 0 200px;
  min-width: 0;
}

.tag-title {
  font-size: 20px;
}

.sticky-title {
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-controls {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 10px;
}

.sticky-play-btn {
  background: none;
  border: none;
  color: #495057;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  font-size: 16px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sticky-play-btn:hover {
  background: #f8f9fa;
  color: #343a40;
}

.sticky-play-btn .fa-pause {
  display: none;
}

.sticky-player.is-playing .fa-play {
  display: none;
}

.sticky-player.is-playing .fa-pause {
  display: inline;
}

.sticky-progress {
  flex: 1;
  max-width: 400px;
}

.sticky-progress-bar {
  width: 60%;
  height: 4px;
  background: #dee2e6;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.sticky-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
  width: 0%;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sidebar {
    order: -1;
  }

  .wave-visual-card {
    display: block;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .podcast-cover {
    width: 200px;
    height: 200px;
  }

  .no-audio-header .podcast-cover {
    width: 100%;
    height: auto;
  }

  .podcast-title {
    font-size: 24px;
  }

  .controls {
    flex-direction: column;
    gap: 15px;
  }

  .secondary-controls {
    width: 100%;
    justify-content: space-around;
  }

  .player-card {
    padding: 20px;
  }

  .section-card {
    padding: 25px;
  }

  .sticky-content {
    gap: 10px;
  }

  .sticky-info {
    flex: 0 0 150px;
  }

  .sticky-progress {
    max-width: 250px;
  }
}

@media (max-width: 576px) {
  .podcast-header {
    padding: 0px 0;
  }

  .podcast-cover {
    width: 160px;
    height: 160px;
  }

  .no-audio-header .podcast-cover {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .podcast-title {
    font-size: 24px;
    padding: 0px 40px 20px 40px;
    color: #333;
  }

  .podcast-meta {
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
    color: #333;
    margin-left: 40px;
    gap: 20px;
  }

  .main-controls {
    gap: 5px;
  }

  .control-btn {
    padding: 10px;
    font-size: 16px;
  }

  .play-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .volume-slider {
    width: 80px;
  }

  .sticky-content {
    flex-wrap: wrap;
    padding: 0 10px;
  }

  .sticky-info {
    flex: 1;
    min-width: 120px;
  }

  .sticky-progress {
    flex: 1;
    min-width: 150px;
    order: 3;
    width: 100%;
    max-width: none;
    margin-top: 5px;
  }

  .wave-visual-card {
    padding: 18px 20px;
    text-align: left;
    box-shadow: 0 10px 25px rgba(7, 193, 96, 0.12);
    border: 1px solid rgba(7, 193, 96, 0.12);
  }

  .wave-container {
    margin: 10px 0 8px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(
      135deg,
      rgba(7, 193, 96, 0.12),
      rgba(255, 255, 255, 0.95)
    );
  }

  .audio-wave {
    height: 46px;
    gap: 4px;
  }

  .wave-bar {
    width: 3px;
  }

  .playing-title {
    font-size: 13px;
  }
}
.summary-content-markdown-content {
  font-size: 15px;
  text-align: justify;
  color: #666;
}

.viewpoint-content-markdown-content {
  font-size: 15px;
  text-align: justify;
  color: #666;
}

/* =========================================================
   WeChat-inspired polish (podcast page)
   ========================================================= */
.podcast-header {
  background: #fff;
  color: #effff6;
}

.theme-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.podcast-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  margin: 40px 20px 18px 0;
  color: #0b3b2b;
  text-shadow: 0 1px 6px rgba(7, 193, 96, 0.12);
  letter-spacing: 0.01em;
}

.podcast-meta {
  color: rgba(11, 59, 43, 0.8);
  gap: 20px;
}

.meta-item i {
  color: #0b3b2b;
}

.tag-item {
  background: rgba(7, 193, 96, 0.14);
  border: 1px solid rgba(7, 193, 96, 0.25);
  color: #0b5c3c;
}

.progress-fill {
  background: linear-gradient(90deg, #07c160 0%, #2ba471 100%);
}

.play-btn {
  background: linear-gradient(135deg, #07c160 0%, #2ba471 100%);
  box-shadow: 0 6px 18px rgba(7, 193, 96, 0.35);
}

.play-btn:hover {
  background: linear-gradient(135deg, #08b45c 0%, #239966 100%);
}

.volume-slider::-webkit-slider-thumb {
  background: #07c160;
}

.wave-bar {
  background: #07c160;
  box-shadow: 0 0 10px rgba(7, 193, 96, 0.3);
}

.section-title {
  color: #0b5c3c;
}

.sidebar-title {
  color: #0b5c3c;
}
