/* 自定义页面样式 */

/* 主按钮样式增强 */
.main-btn {
  cursor: pointer;
}

.main-btn:hover {
  cursor: pointer;
}

/* 主演链接样式 */
.actor-link {
  text-decoration: none;
  color: #007bff;
  transition: color 0.3s ease;
}

.actor-link:hover {
  color: #0056b3;
  text-decoration: none;
}

/* 分类页面通用样式 */
.category-page {
  margin: 0 auto;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 10px;
}

.page-subtitle {
  color: #666;
  font-size: 1.1rem;
}

/* 无数据和加载状态 */
.no-data,
.loading {
  text-align: center;
  padding: 60px 20px;
}

.no-data-icon {
  font-size: 4rem;
  color: #ddd;
  margin-bottom: 20px;
}

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

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

.no-data h3 {
  color: #666;
  margin-bottom: 10px;
}

.no-data p {
  color: #999;
}

/* 详情页面样式 */
.detail-page {
  margin: 0 auto;
  padding: 20px;
}

/* 面包屑导航 */
.breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}

.breadcrumb .current {
  color: #333;
  font-weight: 500;
}

/* 详情主体 */
.detail-main {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.detail-left {
  flex-shrink: 0;
  width: 300px;
}

.detail-right {
  flex: 1;
}

/* 视频海报 */
.video-poster {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.play-overlay:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay .icon-play {
  color: white;
  font-size: 24px;
  margin-left: 3px;
}

/* 视频标题 */
.video-header {
  margin-bottom: 20px;
}

.video-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.video-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 0;
}

/* 视频信息 */
.video-info {
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  margin-bottom: 8px;
  font-size: 14px;
}

.info-label {
  width: 60px;
  color: #666;
  flex-shrink: 0;
}

.info-value {
  color: #333;
  flex: 1;
}

/* 操作按钮 */
.video-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.play-btn {
  padding: 12px 24px;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.play-btn:hover {
  background-color: #e55a2b;
}

.action-btn {
  padding: 12px 24px;
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn:hover {
  background-color: #e9ecef;
}

.action-btn.active {
  background-color: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

/* 视频描述 */
.video-description {
  margin-bottom: 30px;
}

.description-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.description-title {
  font-weight: 500;
  color: #333;
}

.toggle-description {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
}

.toggle-description:hover {
  text-decoration: underline;
}

.description-content {
  color: #555;
  line-height: 1.6;
  max-height: 120px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.description-content.expanded {
  max-height: none;
}

/* 选集播放 */
.playlist-section {
  margin-bottom: 40px;
}

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

.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.playlist-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.sort-label,
.source-label {
  font-size: 14px;
  color: #666;
}

.toggle-source-btn {
  padding: 6px 12px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.toggle-source-btn:hover {
  background-color: #e9ecef;
}

.source-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.source-select {
  padding: 6px 12px;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background-color: white;
  font-size: 14px;
}

.playlist-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.playlist-item {
  padding: 12px 16px;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 14px;
  color: #333;
}

.playlist-item:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
}

.playlist-item.active {
  background-color: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

/* 相关推荐 */
.recommended-section {
  margin-bottom: 40px;
}

.recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.recommended-item {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

.recommended-item:hover {
  transform: translateY(-2px);
}

.recommended-poster {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.recommended-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.recommended-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.recommended-item:hover .recommended-overlay {
  opacity: 1;
}

.recommended-overlay .icon-play {
  color: white;
  font-size: 32px;
}

.episode-info {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.recommended-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommended-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.rating {
  color: #ff6b35;
}

/* 加载和错误状态 */
.loading,
.error {
  text-align: center;
  padding: 60px 20px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #ff6b35;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

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

.error-icon {
  font-size: 48px;
  color: #dc3545;
  margin-bottom: 20px;
}

.retry-btn {
  padding: 12px 24px;
  background-color: #ff6b35;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s;
}

.retry-btn:hover {
  background-color: #e55a2b;
}

.episode-item:hover {
  border-color: #007bff;
  background-color: #f8f9fa;
}

.episode-number {
  font-weight: bold;
  margin-bottom: 5px;
}

.episode-title {
  color: #666;
  font-size: 0.9rem;
}

/* 播放页面样式 */
.player-page {
  margin: 0 auto;
  padding: 20px;
}

.video-player-container {
  margin-bottom: 30px;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

.video-player {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 比例 */
  position: relative;
}

.video-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 30px;
}

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

.control-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s;
}

.control-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.control-btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.episode-info {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.episode-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

.episode-description {
  color: #666;
  line-height: 1.6;
}

/* 测试API页面样式 */
.test-api-page {
  margin: 0 auto;
  padding: 20px;
}

.test-section {
  margin-bottom: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.test-section h2 {
  color: #333;
  margin-bottom: 15px;
}

.test-section h3 {
  color: #666;
  margin-bottom: 10px;
}

.api-url {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  font-family: monospace;
  margin-bottom: 15px;
  word-break: break-all;
}

.test-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 10px;
}

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

.response-container {
  margin-top: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border-left: 4px solid #007bff;
}

.response-container pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.error-container {
  border-left-color: #dc3545;
  background-color: #f8d7da;
  color: #721c24;
}

.success-container {
  border-left-color: #28a745;
  background-color: #d4edda;
  color: #155724;
}

/* 翻页组件样式 */
.pagination {
  text-align: center;
  margin: 0px 0;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 8px;
}

.pagination-info {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-block;
  padding: 8px 12px;
  background-color: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
  min-width: 40px;
  text-decoration: none;
  text-align: center;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

.pagination-btn:disabled {
  background-color: #f8f9fa;
  color: #999;
  cursor: not-allowed;
  border-color: #e9ecef;
}

.pagination-number.active {
  background-color: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
}

.pagination-jump {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination-input {
  width: 60px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.pagination-input:focus {
  outline: none;
  border-color: #ff6b35;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .video-info {
    flex-direction: column;
    gap: 20px;
  }
  
  .video-poster {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .video-controls {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .control-group {
    justify-content: center;
  }
  
  .episode-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .pagination-controls {
    gap: 15px;
  }

  .pagination-nav {
    gap: 3px;
  }

  .pagination-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 35px;
  }

  .pagination-numbers {
    gap: 3px;
  }

  .pagination-jump {
    gap: 8px;
  }

  .pagination-input {
    width: 50px;
    padding: 6px;
    font-size: 12px;
  }
}

/* 收藏和记录 */
.history-page {
  padding: 20px;
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.page-subtitle {
  color: #666;
  font-size: 1rem;
}

.module-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.module-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.module-actions {
  display: flex;
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-icon {
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.empty-state p {
  margin-bottom: 30px;
}

.history-item {
  position: relative;
}

.module-item-pic {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 4px;
}

.module-item-pic .image-container {
  width: 100%;
  height: 100%;
}

.module-item-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 现代化按钮样式 */
.clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
  position: relative;
  overflow: hidden;
}

.clear-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #ff5252, #e53935);
}

.clear-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

/* 现代化弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
  padding: 24px 24px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.modal-icon {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
  flex-shrink: 0;
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #666;
}

.modal-close:hover {
  background: #e0e0e0;
  color: #333;
}

.modal-body {
  padding: 0 24px 24px;
  text-align: center;
}

.modal-message {
  font-size: 16px;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.5;
}

.modal-warning {
  font-size: 14px;
  color: #ff6b6b !important;
  margin: 0;
  font-weight: 500;
}

.modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-cancel {
  background: #f5f5f5;
  color: #666;
}

.btn-cancel:hover {
  background: #e0e0e0;
  color: #333;
}

.btn-confirm {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 移除不再需要的样式 */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

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

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

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.module-item-info {
  padding: 15px;
}

.module-item-title {
  margin-bottom: 8px;
}

.module-item-title a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.module-item-title a:hover {
  color: #007bff;
}

.module-item-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  z-index: 9999;
  animation: fadeInOut 2s ease-in-out;
}

.module-poster-item-desc {
  font-size: 12px;
  color: #999;
}

.empty-link {
  color: #ff6b35;
  text-decoration: underline;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.empty-link:hover {
  color: #e55a2b;
  text-decoration: none;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }

  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}
/* 侧边栏 */
.inline-block {
  display: inline-block;
  position: relative;
  /* top: 15%; */
  transform: translateY(-10%);
}

/* 类型标签样式 - 灰色背景 */
.module-item-type {
  background-color: #999 !important;
  color: #fff !important;
}
/* default */
/* 搜索推荐框容器样式 */
.search-recommend-box {
  position: relative !important;
  display: block !important;
}

/* 自动补全下拉列表样式 */
.autocomplete-dropdown {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 1000 !important;
  max-height: 70vh !important;
  overflow-y: auto !important;
  margin-top: 4px !important;
  padding-top: 25px !important;
  display: block !important;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f8f9fa;
}

.autocomplete-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.autocomplete-title {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1.3;
}

.autocomplete-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #666;
}

.autocomplete-meta span {
  padding: 2px 6px;
  background: #f0f0f0;
  border-radius: 4px;
}

.df-img {
  flex-shrink: 0;
  width: 40px;
  /* height: 56px; */
  object-fit: cover;
  border-radius: 6px;
  margin-right: 12px;
}

/* 响应式设计 */
@media screen and (min-width: 768px) {
  .autocomplete-title {
    font-size: 16px;
  }

  .autocomplete-meta {
    font-size: 14px;
  }
}

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

.copy-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  z-index: 9999;
  animation: fadeInOut 2s ease-in-out;
}

.favorite-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  z-index: 9999;
  animation: fadeInOut 2s ease-in-out;
}

/* 收藏按钮样式 */
.btn-collect.active {
  background-color: #ff6b6b !important;
  color: white !important;
}

.btn-collect.active:hover {
  background-color: #ff5252 !important;
}