﻿/* ===================================
   视频列表页面专用样式
   =================================== */
/* ==================================================
   1. 页面基础与面包屑
   ================================================== */
/* ---------- 面包屑导航 ---------- */
.breadcrumb-stats-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.breadcrumb-section {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
}

@media (min-width: 769px) {
  .breadcrumb-section {
    margin-top: 18px;
  }
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  flex-shrink: 0;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  color: #6C757D;
  margin-left: 4px;
  font-size: 11px;
}

.breadcrumb-link {
  color: #333333;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.breadcrumb-link i {
  font-size: 13px;
  color: #1a56db;
}

.breadcrumb-link:hover {
  background: rgba(26, 86, 219, 0.1);
  color: #1a56db;
  transform: translateY(-1px);
}


/* ==================================================
   2. 视频列表卡片
   ================================================== */
/* ---------- 横版视频卡片 ---------- */
.video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.15);
}

.video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-card:hover::before {
  opacity: 1;
}

/* 缩略图 */
.video-thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.08);
}

/* 播放按钮 */
.video-play-btn {
  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: #1a56db;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.5);
  padding: 0;
  appearance: none;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-play-btn i {
  pointer-events: none;
}

.video-play-btn:hover {
  background: white;
  color: #ff4757;
  transform: translate(-50%, -50%) scale(1.15);
  border-color: white;
}

/* 分类标签 */
.video-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  padding: 5px 12px;
  font-size: 11px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* 底部元数据覆盖层 */
.video-meta-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 4;
  color: white;
  font-size: 12px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.video-meta-overlay .video-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.video-stats i {
  font-size: 11px;
}

.video-card .video-duration {
  display: none;
}

.video-meta-overlay .video-duration-inline {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 信息区域 */
.video-info {
  padding: 16px;
  flex: 1;
  background: white;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  color: #1e293b;
}

.video-title a {
  color: #1e293b;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.video-title a:hover {
  color: #1a56db;
}

.video-desc {
  font-size: 13px;
  color: #6C757D;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ---------- 横版网格布局 ---------- */
.horizontal-videos-section {
  padding: 0 8px;
}

.horizontal-videos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px;
  border-radius: 8px;
}

.horizontal-videos-header h2 {
  font-size: 22px;
  color: #1e293b;
  font-weight: 700;
  position: relative;
  flex: 1;
  min-width: 200px;
}

.horizontal-videos-header h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #1a56db, #93c5fd);
  border-radius: 2px;
}

.video-list {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

@media (min-width: 1200px) {
  .video-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .video-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .video-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .video-list {
    grid-template-columns: 1fr;
  }

  .video-info {
    padding: 12px;
  }

  .video-title {
    font-size: 14px;
  }
}


/* ==================================================
   3. 筛选模块
   ================================================== */
/* ---------- 视频筛选模块 ---------- */
.video-filter-section {
  margin: 16px 0 12px;
  padding: 0 8px;
}

.video-filter-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.video-filter-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #1e293b;
  font-weight: 600;
}

.video-filter-title i {
  color: #1a56db;
}

.video-filter-toggle {
  background: #e6ebf2;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-filter-toggle i {
  color: #1a56db;
  transition: transform 0.3s ease, color 0.3s ease;
}

.video-filter-toggle:hover {
  background: #1a56db;
}

.video-filter-toggle:hover i {
  color: white;
}

.video-filter-content {
  padding: 16px;
  animation: fadeIn 0.3s ease;
}

.filter-row {
  margin-bottom: 12px;
}

.filter-row-content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.filter-row-title {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1e293b;
  font-weight: 600;
  min-width: 80px;
  height: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
  overflow: visible;
  position: relative;
}

.filter-row-title:hover {
  color: #1a56db;
}

.filter-row-title i {
  position: static;
  transform: none;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #1a56db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.filter-tag {
  padding: 6px 12px;
  background: white;
  border: 1px solid #E9ECEF;
  border-radius: 16px;
  font-size: 13px;
  color: #333333;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  white-space: nowrap;
  text-decoration: none;
}

.filter-tag.active {
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: white;
  border-color: transparent;
}

.filter-tag-all {
  font-weight: 600;
}

.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.filter-reset {
  background: #1a56db;
  border: 1px solid #1a56db;
  color: #fff;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.filter-reset:hover {
  background: #0f4bc2;
  border-color: #0f4bc2;
}

.filter-stats {
  font-size: 11px;
  color: #6C757D;
}

/* 折叠状态 */
.video-filter-container.collapsed .video-filter-content {
  display: none;
}


/* ==================================================
   4. 分页与 CTA
   ================================================== */
/* ---------- 分页样式 ---------- */
.video-pagination,
.video-pagination .page-numbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.video-pagination {
  margin: 30px 0;
}

/* 通用分页按钮/链接 */
.video-pagination .page-numbar > *,
.video-pagination .page-numbar .page-num,
.video-pagination .page-numbar .page-num-current,
.video-pagination .page-numbar .page-link,
.video-pagination .page-numbar a,
.video-pagination .page-numbar span:not(.page-numbar),
.pagination-btn,
.video-pagination .page-index,
.video-pagination .page-pre,
.video-pagination .page-next,
.video-pagination .page-last,
.video-pagination .page-num,
.video-pagination .page-num-current,
.video-pagination .page-link {
  box-sizing: border-box;
  min-width: 40px;
  width: auto;
  height: 40px;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: white;
  color: #333333;
  border: 1px solid #E9ECEF;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  padding: 0 12px;
  text-decoration: none;
  vertical-align: middle;
}

/* 当前页/激活态 */
.pagination-btn.active,
.video-pagination .page-numbar .page-num-current,
.video-pagination .page-numbar .page-current,
.video-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: white;
  border-color: #1a56db;
}

.video-pagination .page-num-current,
.video-pagination a.page-num-current,
.video-pagination span.page-num-current {
  background: linear-gradient(135deg, #1a56db, #1e40af) !important;
  color: white !important;
  border-color: #1a56db !important;
}

.pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* PbootCMS 分页适配 */
.video-pagination .page-status,
.video-pagination .page-index,
.video-pagination .page-last {
  display: none !important;
}

.video-pagination .page-item {
  display: inline-block;
  margin: 0 4px;
}

.video-pagination .page-num,
.video-pagination .page-num-current {
  margin: 0;
}

.video-pagination .page-numbar {
  line-height: 0;
}

.video-pagination .page-numbar .page-num-ellipsis,
.video-pagination .page-numbar .page-ellipsis,
.video-pagination .page-numbar .pagination-ellipsis {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: white;
  color: #333333;
  border: 1px solid #E9ECEF;
  line-height: 1;
}

/* 前后翻页字体图标 */
.video-pagination .page-pre,
.video-pagination .page-next {
  font-size: 0 !important;
}

.video-pagination .page-pre::before,
.video-pagination .page-next::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
}

.video-pagination .page-pre::before {
  content: "\f053";
}

.video-pagination .page-next::before {
  content: "\f054";
}


/* ---------- CTA 模块 ---------- */
.video-cta {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  margin: 30px auto;
  max-width: 800px;
}

.cta-button.primary {
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: white;
  padding: 14px 28px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}


/* ---------- 深色主题：基础元素 ---------- */
[data-theme="dark"] .video-card {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .video-info {
  background: #1f2937;
}

[data-theme="dark"] .video-title a {
  color: #f3f4f6;
}

[data-theme="dark"] .horizontal-videos-header h2 {
  color: #f3f4f6;
}

[data-theme="dark"] .video-cta {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .breadcrumb-link:hover {
  background: rgba(26, 86, 219, 0.2);
}

/* 深色主题 - 分页 */
[data-theme="dark"] .pagination-btn,
[data-theme="dark"] .video-pagination .page-index,
[data-theme="dark"] .video-pagination .page-pre,
[data-theme="dark"] .video-pagination .page-next,
[data-theme="dark"] .video-pagination .page-last,
[data-theme="dark"] .video-pagination .page-num,
[data-theme="dark"] .video-pagination .page-num-current,
[data-theme="dark"] .video-pagination .page-link,
[data-theme="dark"] .video-pagination .page-numbar > *,
[data-theme="dark"] .video-pagination .page-numbar .page-num,
[data-theme="dark"] .video-pagination .page-numbar .page-num-current,
[data-theme="dark"] .video-pagination .page-numbar .page-link,
[data-theme="dark"] .video-pagination .page-numbar a,
[data-theme="dark"] .video-pagination .page-numbar span:not(.page-numbar) {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

[data-theme="dark"] .pagination-btn.active,
[data-theme="dark"] .video-pagination .page-numbar .page-num-current,
[data-theme="dark"] .video-pagination .page-numbar .page-current,
[data-theme="dark"] .video-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: white;
}

[data-theme="dark"] .video-pagination .page-num-current,
[data-theme="dark"] .video-pagination a.page-num-current,
[data-theme="dark"] .video-pagination span.page-num-current {
  background: linear-gradient(135deg, #1a56db, #1e40af) !important;
  color: white !important;
  border-color: #1a56db !important;
}

/* 深色主题 - 筛选模块 */
[data-theme="dark"] .video-filter-container {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .video-filter-header {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .video-filter-title {
  color: #f3f4f6;
}

[data-theme="dark"] .video-filter-toggle {
  background: #374151;
}

[data-theme="dark"] .video-filter-toggle:hover {
  background: #1a56db;
}

[data-theme="dark"] .filter-row-title {
  color: #e5e7eb;
  background: transparent;
}

[data-theme="dark"] .filter-row-title:hover {
  color: #60a5fa;
}

[data-theme="dark"] .filter-row-title i {
  background: transparent;
  color: #60a5fa;
}

[data-theme="dark"] .filter-tag {
  background: #374151;
  border-color: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

[data-theme="dark"] .filter-tag:hover {
  border-color: #1a56db;
  color: #1a56db;
  background: #4b5563;
}

[data-theme="dark"] .filter-tag.active {
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: white;
}

[data-theme="dark"] .filter-reset {
  background: #374151;
  border-color: rgba(255, 255, 255, 0.1);
  color: #d1d5db;
}

[data-theme="dark"] .filter-reset:hover {
  background: #4b5563;
  color: white;
  border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .filter-stats {
  color: #9ca3af;
}

[data-theme="dark"] .filter-stats strong {
  color: #60a5fa;
}

[data-theme="dark"] .filter-actions {
  border-top-color: rgba(255, 255, 255, 0.08);
}


/* ---------- 全局响应式调整 ---------- */
@media (max-width: 768px) {
  .video-filter-container .video-filter-content {
    display: none;
  }

  .video-filter-container:not(.collapsed) .video-filter-content {
    display: block;
  }

  .horizontal-videos-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===================================
   竖版 Shorts 视频卡片样式
   =================================== */
.vertical-videos-section {
  margin: 20px 0 20px;
  padding: 0 8px;
}

.vertical-video-list {
  display: grid;
  gap: 20px;
  margin-bottom: 30px;
}

.vertical-video-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
}

.vertical-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.15);
}

.vertical-video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.vertical-video-card:hover::before {
  opacity: 1;
}

/* 竖版缩略图 */
.vertical-video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  padding-top: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.vertical-video-cover-link,
.vertical-video-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.vertical-video-cover-link,
.vertical-video-play-btn {
  text-decoration: none;
}

.vertical-video-cover {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vertical-video-card:hover .vertical-video-cover {
  transform: scale(1.08);
}

/* 竖版播放按钮 */
.vertical-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a56db;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid rgba(255, 255, 255, 0.5);
  padding: 0;
  appearance: none;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.vertical-video-play-btn i {
  pointer-events: none;
}

.vertical-video-play-btn:hover {
  background: white;
  color: #ff4757;
  transform: translate(-50%, -50%) scale(1.15);
  border-color: white;
}

/* 竖版时长标签 */
.vertical-video-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 12px;
  font-weight: 500;
  z-index: 5;
  backdrop-filter: blur(4px);
}

/* 竖版分类标签 */
.vertical-video-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* 竖版信息覆盖层 */
.vertical-video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  padding: 16px 12px;
  transition: background 0.3s ease;
  z-index: 3;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.vertical-video-card:hover .vertical-video-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
}

.vertical-video-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vertical-video-title a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vertical-video-title a:hover {
  color: #fbbf24;
}

.vertical-video-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.vertical-video-views,
.vertical-video-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.vertical-video-views i,
.vertical-video-date i {
  font-size: 11px;
}


/* ---------- 竖版响应式 ---------- */
@media (min-width: 1200px) {
  .vertical-video-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .vertical-video-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 991px) {
  .vertical-video-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
.vertical-video-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .vertical-video-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .vertical-video-title {
    font-size: 13px;
  }

  .vertical-video-meta {
    font-size: 11px;
    gap: 8px;
  }
}

/* 竖版深色主题 */
[data-theme="dark"] .vertical-video-card {
  background: #1f2937;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .vertical-video-title a {
  color: #f3f4f6;
}

/* ==================================================
   5. 短视频弹窗基础
   ================================================== */
body.short-feed-open {
  overflow: hidden;
}

.short-feed-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(18px);
}

.short-feed-overlay[hidden] {
  display: none;
}

.short-feed-shell {
  position: relative;
  width: min(430px, calc(100vw - 28px));
  height: min(760px, calc(100vh - 34px));
}

.short-feed-swiper,
.short-feed-swiper .swiper-wrapper,
.short-feed-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.short-feed-slide {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.short-feed-video-box {
  position: absolute;
  inset: 0;
  background: #000;
}

.short-feed-video-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.short-feed-video-box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.short-feed-video-box .tcplayer,
.short-feed-video-box .video-js {
  width: 100% !important;
  height: 100% !important;
  position: relative;
  z-index: 1;
}

.short-feed-video-box video,
.short-feed-video-box .tcp-video,
.short-feed-video-box .vjs-tech {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.short-feed-video-box .video-js {
  background: transparent;
}

.short-feed-loading,
.short-feed-error {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}

.short-feed-error {
  background: rgba(185, 28, 28, 0.82);
}

.short-feed-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 120px 68px 30px 24px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.short-feed-title {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.short-feed-desc {
  margin: 0 0 10px;
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.short-feed-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.short-feed-tags span::before {
  content: '#';
}

.short-feed-actions {
  position: absolute;
  right: 14px;
  bottom: 108px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
  text-align: center;
}

.short-feed-action {
  display: grid;
  gap: 4px;
  justify-items: center;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.short-feed-action i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.short-feed-close {
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 10060;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.short-feed-nav {
  position: absolute;
  right: -64px;
  top: 50%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.short-feed-nav-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.short-feed-nav-btn:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 768px) {
  .short-feed-overlay {
    align-items: stretch;
    background: #000;
    backdrop-filter: none;
  }

  .short-feed-shell {
    width: 100vw;
    height: 100vh;
  }

  .short-feed-slide {
    border-radius: 0;
    box-shadow: none;
  }

  .short-feed-close {
    top: 14px;
    left: 14px;
    right: auto;
    background: rgba(0, 0, 0, 0.28);
  }

  .short-feed-nav {
    display: none;
  }

  .short-feed-info {
    padding-right: 72px;
    padding-bottom: max(28px, env(safe-area-inset-bottom));
  }
}

/* ==================================================
   6. 短视频 Swiper 与播放布局
   ================================================== */
/* 详情页同款短视频播放弹层 */
.short-feed-overlay {
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(18px);
}

.short-feed-shell {
  width: auto;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 24px;
}

.short-feed-swiper {
  flex: 0 0 400px;
  width: 400px;
  height: min(711px, calc(100vh - 60px));
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.short-feed-slide {
  border-radius: 20px;
  box-shadow: none;
}

.short-feed-slide .video-card-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
}

.short-feed-slide .video-portrait,
.short-feed-video-box {
  position: absolute;
  inset: 0;
  background: #000;
  overflow: hidden;
}

.short-feed-slide .video-player {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background: #000;
  pointer-events: none;
}

.short-feed-slide .center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 22;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  transform: translate(-50%, -50%);
}

.short-feed-slide .video-sound-toggle {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 22;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}

.short-feed-slide .video-info-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 20px 80px 70px 14px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  pointer-events: none;
}

.short-feed-slide .video-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.short-feed-slide .author-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f59e0b;
  font-size: 1.4rem;
}

.short-feed-slide .video-title-header {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 220px;
}

.short-feed-slide .video-title {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-feed-slide .video-title-toggle {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: auto;
}

.short-feed-slide .video-caption {
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
}

.short-feed-slide .video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.short-feed-slide .video-tag {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
}

.short-feed-slide .video-tag::before {
  content: '#';
}

.short-feed-slide .video-progress-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 18;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  pointer-events: auto;
}

.short-feed-slide .video-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.short-feed-slide .video-time {
  min-width: 70px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  text-align: right;
  white-space: nowrap;
}

.short-feed-slide .fullscreen-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.short-feed-slide .mobile-slide-sidebar {
  position: absolute;
  right: 10px;
  bottom: 90px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.short-feed-slide .m-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  color: #fff;
  background: transparent;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.short-feed-slide .m-action-btn i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}

.short-feed-slide .m-action-btn span {
  color: #fff;
  font-size: 0.6rem;
  font-weight: 500;
}

.short-feed-slide .m-avatar-circle {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.short-feed-slide .m-avatar-circle img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.short-feed-nav {
  right: auto;
  left: 424px;
}

.short-feed-nav-btn {
  background: rgba(0, 0, 0, 0.6);
}

.short-feed-close {
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}

.short-feed-recommend {
  width: 270px;
  max-height: min(711px, calc(100vh - 60px));
  flex-shrink: 0;
  margin-left: 88px;
  overflow-y: auto;
  padding: 0 12px 16px;
  background: #fff;
  border-radius: 20px;
  scrollbar-width: none;
}

.short-feed-recommend::-webkit-scrollbar {
  display: none;
}

.short-feed-recommend-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #1e293b;
  font-weight: 700;
}

.short-feed-rec-item {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid #eef2ff;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.short-feed-rec-item:hover {
  border-color: #1a56db;
  background: #fff;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transform: translateX(-2px);
}

.short-feed-rec-thumb {
  position: relative;
  width: 80px;
  height: 54px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2ff;
}

.short-feed-rec-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.short-feed-rec-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
}

.short-feed-rec-info {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.short-feed-rec-info strong {
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.short-feed-rec-info span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #64748b;
  font-size: 0.65rem;
}

@media (max-width: 768px) {
  .short-feed-shell {
    width: 100vw;
    height: 100vh;
    padding: 0;
  }

  .short-feed-swiper {
    width: 100vw;
    height: 100vh;
    flex-basis: 100vw;
    border-radius: 0;
  }

  .short-feed-slide {
    border-radius: 0;
  }

  .short-feed-recommend {
    display: none;
  }

  .short-feed-slide .video-info-overlay {
    padding: 16px 60px 60px 12px;
  }
}

/* ==================================================
   7. 播放器容器、真实视频画面与控制层
   ================================================== */
.short-feed-overlay:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, 0.88) !important;
  backdrop-filter: blur(18px) !important;
}

.short-feed-overlay .short-feed-shell {
  position: relative;
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 0;
}

.short-feed-overlay .short-feed-swiper {
  width: 400px !important;
  height: min(711px, calc(100vh - 48px)) !important;
  flex: 0 0 400px;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.short-feed-overlay .short-feed-slide,
.short-feed-overlay .video-card-container,
.short-feed-overlay .video-portrait {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
}

.short-feed-overlay .short-feed-video-box {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #050505;
}

.short-feed-overlay .short-feed-video-box .video-js,
.short-feed-overlay .short-feed-video-box .tcplayer {
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

.short-feed-overlay .short-feed-video-box > video,
.short-feed-overlay .short-feed-video-box .vjs-tech {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  background: transparent !important;
}

.short-feed-overlay .short-feed-video-box .vjs-poster {
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-color: transparent !important;
}

.short-feed-overlay .short-feed-video-box .vjs-poster img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.short-feed-overlay .short-feed-video-box .vjs-control-bar,
.short-feed-overlay .short-feed-video-box .vjs-big-play-button {
  display: none !important;
}

.short-feed-overlay .center-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 22;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  background: rgba(0, 0, 0, 0.6);
  transform: translate(-50%, -50%);
}

.short-feed-overlay .video-card-container.playing .center-play-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.short-feed-overlay .video-sound-toggle {
  display: none !important;
  pointer-events: none !important;
}

.short-feed-overlay .video-info-overlay {
  position: absolute !important;
  left: 0;
  right: 0;
  bottom: 0 !important;
  top: auto !important;
  z-index: 20;
  padding: 20px 80px 70px 14px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  pointer-events: none;
}

.short-feed-overlay .author-avatar,
.short-feed-overlay .video-title-toggle,
.short-feed-overlay .mobile-slide-sidebar,
.short-feed-overlay .m-action-btn,
.short-feed-overlay .fullscreen-btn {
  pointer-events: auto;
  cursor: pointer;
}

.short-feed-overlay .video-info-overlay:not(.expanded) {
  padding: 8px 80px 40px 14px;
}

.short-feed-overlay .video-info-overlay:not(.expanded) .video-caption,
.short-feed-overlay .video-info-overlay:not(.expanded) .video-tags {
  display: none;
}

.short-feed-overlay .video-info-overlay.expanded .video-caption {
  display: block;
}

.short-feed-overlay .video-info-overlay.expanded .video-tags {
  display: flex;
}

.short-feed-overlay .video-info-overlay.expanded .video-title-toggle i {
  transform: rotate(180deg);
}

.short-feed-overlay .video-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.short-feed-overlay .author-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  font-size: 1.4rem;
}

.short-feed-overlay .video-title-header {
  min-width: 0;
  max-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.short-feed-overlay .video-title {
  overflow: hidden;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-feed-overlay .video-title-toggle {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: auto;
}

.short-feed-overlay .video-caption {
  max-height: 42px;
  overflow: hidden;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
}

.short-feed-overlay .video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.short-feed-overlay .video-tag {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  text-decoration: none;
}

.short-feed-overlay .video-tag::before {
  content: '#';
}

.short-feed-overlay .video-progress-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 21;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}

.short-feed-overlay .video-progress-bar {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.short-feed-overlay .video-progress-track {
  position: relative;
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  touch-action: none;
}

.short-feed-overlay .video-progress-track .video-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.92);
}

.short-feed-overlay .video-time {
  min-width: 70px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.7rem;
  text-align: right;
}

.short-feed-overlay .fullscreen-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
}

.short-feed-overlay .mobile-slide-sidebar {
  position: absolute;
  right: 10px;
  bottom: 90px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.short-feed-overlay .m-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
}

.short-feed-overlay .m-action-btn i {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.short-feed-overlay .m-action-btn.m-liked i {
  color: #ff4757;
}

.short-feed-overlay .m-action-btn.m-quote-btn i {
  color: #f59e0b;
}

.short-feed-overlay .m-action-btn span {
  color: #fff;
  font-size: 0.6rem;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.short-feed-overlay .m-avatar-circle {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.short-feed-overlay .m-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-feed-overlay .short-feed-nav {
  position: absolute;
  left: 424px;
  right: auto;
  top: 50%;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}

.short-feed-overlay .short-feed-nav-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
}

.short-feed-overlay .short-feed-recommend {
  width: 400px;
  max-height: min(711px, calc(100vh - 48px));
  height: min(711px, calc(100vh - 48px));
  flex: 0 0 400px;
  margin-left: 72px;
  overflow: hidden;
  padding: 0;
  border-radius: 24px;
  background: transparent;
  scrollbar-width: none;
}

/* ==================================================
   10. PC 详情与推荐
   ================================================== */
.short-feed-overlay .short-feed-detail-card {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.short-feed-overlay .short-feed-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 18px 12px;
}

.short-feed-overlay .short-feed-detail-user {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.short-feed-overlay .short-feed-detail-avatar-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
}

.short-feed-overlay .short-feed-detail-user .short-feed-detail-avatar {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

.short-feed-overlay .short-feed-detail-user .short-feed-detail-v-badge {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 18px;
  height: 18px;
  padding: 2px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.short-feed-overlay .short-feed-detail-user strong {
  max-width: 108px;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.short-feed-overlay .short-feed-detail-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.short-feed-overlay .short-feed-detail-pill,
.short-feed-overlay .short-feed-detail-close {
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  border-radius: 999px;
  color: #0b63ff;
  font-size: 0.78rem;
  font-weight: 700;
  background: #eef5ff;
  cursor: pointer;
}

.short-feed-overlay .short-feed-detail-pill {
  padding: 0 10px;
}

.short-feed-overlay .short-feed-detail-pill.primary {
  color: #0b63ff;
  background: #eef5ff;
}

.short-feed-overlay .short-feed-detail-close {
  width: 30px;
  color: #64748b;
  background: #eef2f7;
}

.short-feed-overlay .short-feed-detail-title {
  margin: 2px 18px 10px;
  color: #1f2937;
  font-size: 1.18rem;
  line-height: 1.45;
  font-weight: 800;
}

.short-feed-overlay .short-feed-detail-desc {
  margin: 0 18px 14px;
  color: #4b5563;
  font-size: 0.92rem;
  line-height: 1.55;
}

.short-feed-overlay .short-feed-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 18px 12px;
}

.short-feed-overlay .short-feed-detail-tag {
  padding: 6px 12px;
  border-radius: 999px;
  color: #0b63ff;
  font-size: 0.78rem;
  background: #eef5ff;
  text-decoration: none;
}

.short-feed-overlay .short-feed-detail-date {
  margin: 0 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f5;
  color: #8a94a6;
  font-size: 0.78rem;
}

.short-feed-overlay .short-feed-detail-comments {
  flex: 1;
  overflow-y: auto;
  padding: 16px 22px 78px;
}

.short-feed-overlay .short-feed-detail-comment,
.short-feed-overlay .short-feed-detail-reply {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.short-feed-overlay .short-feed-detail-reply {
  margin-left: 38px;
}

.short-feed-overlay .short-feed-detail-comment-avatar {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #facc15;
  font-size: 0.8rem;
}

.short-feed-overlay .short-feed-detail-comment-avatar.official {
  color: #fff;
  background: #ef4444;
}

.short-feed-overlay .short-feed-detail-comment strong,
.short-feed-overlay .short-feed-detail-reply strong {
  display: block;
  margin-bottom: 3px;
  color: #334155;
  font-size: 0.86rem;
}

.short-feed-overlay .short-feed-detail-comment p,
.short-feed-overlay .short-feed-detail-reply p {
  margin: 0 0 4px;
  color: #1f2937;
  font-size: 0.86rem;
}

.short-feed-overlay .short-feed-detail-comment span,
.short-feed-overlay .short-feed-detail-reply span {
  color: #9aa4b2;
  font-size: 0.74rem;
}

.short-feed-overlay .short-feed-detail-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 16px;
  border-top: 1px solid #edf0f5;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.short-feed-overlay .short-feed-detail-bottom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
  border: 0;
  color: #64748b;
  background: transparent;
  cursor: pointer;
}

.short-feed-overlay .short-feed-detail-bottom i {
  font-size: 1.28rem;
}

.short-feed-overlay .short-feed-detail-bottom [data-detail-cart] {
  width: 30px;
  height: 34px;
}

.short-feed-overlay .short-feed-detail-bottom [data-detail-like],
.short-feed-overlay .short-feed-detail-bottom [data-detail-save],
.short-feed-overlay .short-feed-detail-bottom [data-detail-share] {
  width: 40px;
  height: 34px;
  gap: 3px;
}

.short-feed-overlay .short-feed-detail-bottom [data-detail-cart] i {
  color: #f4b000;
}

.short-feed-overlay .short-feed-detail-bottom span {
  margin-left: 2px;
  font-size: 0.78rem;
}

.short-feed-overlay .short-feed-detail-comment-bar {
  flex: 0 1 176px;
  width: 176px;
  min-width: 150px;
  max-width: 176px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px 0 12px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  background: #f8fafc;
}

.short-feed-overlay .short-feed-detail-input {
  flex: 1;
  height: 100%;
  min-width: 0;
  display: block;
  padding: 0 !important;
  border: 0 !important;
  color: #94a3b8 !important;
  text-align: left;
  background: transparent !important;
  overflow: hidden;
  text-overflow: ellipsis;
  outline: none;
}

.short-feed-overlay .short-feed-detail-submit {
  flex: 0 0 auto !important;
  height: 26px;
  padding: 0 9px !important;
  border-radius: 999px;
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1677ff, #0052d9) !important;
}

@media (min-width: 769px) {
  /* ==================================================
     11. PC 响应式
     ================================================== */
  .short-feed-overlay .short-feed-swiper {
    width: 800px !important;
    flex-basis: 800px !important;
    border-radius: 24px !important;
    background: #fff !important;
  }

  .short-feed-overlay .video-card-container {
    display: flex !important;
    width: 800px !important;
    height: 100% !important;
    background: #fff !important;
  }

  .short-feed-overlay .video-portrait {
    width: 400px !important;
    flex: 0 0 400px !important;
    border-radius: 24px 0 0 24px !important;
  }

  .short-feed-overlay .short-feed-desktop-detail {
    position: relative;
    width: 400px;
    height: 100%;
    flex: 0 0 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 24px 24px 0;
    background: #fff;
    color: #1f2937;
  }

  .short-feed-overlay .video-info-overlay {
    background: transparent !important;
    padding: 0 !important;
    pointer-events: none;
  }

  .short-feed-overlay .video-info-overlay .video-title-row,
  .short-feed-overlay .video-info-overlay .video-caption,
  .short-feed-overlay .video-info-overlay .video-tags,
  .short-feed-overlay .mobile-slide-sidebar {
    display: none !important;
  }

  .short-feed-overlay .video-info-overlay .video-progress-wrap {
    display: flex !important;
    pointer-events: auto;
  }

  .short-feed-overlay .short-feed-detail-head {
    gap: 8px;
    padding: 18px 18px 10px;
  }

  .short-feed-overlay .short-feed-detail-user {
    flex: 1 1 auto;
    min-width: 0;
  }

  .short-feed-overlay .short-feed-detail-user strong {
    max-width: 118px;
  }

  .short-feed-overlay .short-feed-detail-actions {
    flex: 0 0 auto;
    gap: 6px;
    white-space: nowrap;
  }

  .short-feed-overlay .short-feed-detail-pill {
    width: auto;
    min-width: 52px;
    height: 30px;
    padding: 0 9px;
    white-space: nowrap;
    word-break: keep-all;
    writing-mode: horizontal-tb;
    font-size: 0.74rem;
  }

  .short-feed-overlay .short-feed-detail-pill i {
    flex: 0 0 auto;
  }

  .short-feed-overlay .short-feed-nav {
    left: 824px !important;
  }

  .short-feed-overlay .short-feed-recommend {
    width: 270px !important;
    flex: 0 0 270px !important;
    height: auto !important;
    max-height: min(711px, calc(100vh - 48px)) !important;
    margin-left: 88px !important;
    overflow-y: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .short-feed-overlay .short-feed-recommend-header {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .short-feed-overlay .short-feed-desktop-detail {
    display: none !important;
  }
}

.short-feed-overlay .short-feed-recommend-header {
  display: none;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fff;
  font-weight: 700;
}

.short-feed-overlay .short-feed-rec-item {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid #eef2ff;
  border-radius: 14px;
  background: #f8fafc;
  text-align: left;
}

.short-feed-overlay .short-feed-rec-thumb {
  position: relative;
  width: 80px;
  height: 54px;
  flex: 0 0 80px;
  overflow: hidden;
  border-radius: 10px;
}

.short-feed-overlay .short-feed-rec-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-feed-overlay .short-feed-rec-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
}

.short-feed-overlay .short-feed-rec-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.short-feed-overlay .short-feed-rec-info strong {
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.short-feed-overlay .short-feed-rec-info span {
  color: #64748b;
  font-size: 0.65rem;
}

@media (max-width: 768px) {
  .short-feed-overlay .short-feed-shell {
    width: 100vw !important;
    height: 100vh !important;
    max-width: none;
    max-height: none;
  }

  .short-feed-overlay .short-feed-swiper {
    width: 100vw !important;
    height: 100vh !important;
    flex-basis: 100vw;
    border-radius: 0;
  }

  .short-feed-overlay .short-feed-recommend,
  .short-feed-overlay .short-feed-nav {
    display: none !important;
  }
}

.short-feed-panel-mask {
  position: fixed;
  inset: 0;
  z-index: 10070;
  background: rgba(0, 0, 0, 0.18);
}

.short-feed-panel-mask[hidden],
.short-feed-panel[hidden] {
  display: none !important;
}

.short-feed-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10080;
  width: min(320px, calc(100vw - 40px));
  max-height: min(680px, calc(100vh - 60px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.short-feed-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #eef2f7;
  color: #1f2937;
  font-weight: 700;
}

.short-feed-panel-header button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.short-feed-product-card {
  padding: 14px 18px 18px;
  text-align: center;
}

.short-feed-product-card img {
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 14px;
  background: #f8fafc;
}

.short-feed-product-card h3 {
  margin: 12px 0 7px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.4;
}

.short-feed-product-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.short-feed-product-price {
  margin: 10px 0;
  color: #f59e0b;
  font-size: 18px;
  font-weight: 800;
}

.short-feed-buy-btn {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: #2563eb;
  text-decoration: none;
  font-weight: 700;
}

.short-feed-empty {
  padding: 28px 18px;
  color: #64748b;
  text-align: center;
}

.short-feed-comments,
.short-feed-ai-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 14px 18px;
}

.short-feed-comment-item,
.short-feed-ai-msg {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #334155;
  background: #f8fafc;
  font-size: 13px;
  line-height: 1.45;
}

.short-feed-ai-msg.user {
  margin-left: 36px;
  color: #fff;
  background: #2563eb;
}

.short-feed-comment-form,
.short-feed-ai-form {
  display: flex;
  gap: 8px;
  padding: 12px 14px 16px;
  border-top: 1px solid #eef2f7;
}

.short-feed-comment-form input,
.short-feed-ai-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  padding: 9px 12px;
  outline: none;
}

.short-feed-comment-form button,
.short-feed-ai-form button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #fff;
  background: #2563eb;
  cursor: pointer;
}

.short-feed-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 18px;
}

.short-feed-share-grid button {
  display: grid;
  gap: 6px;
  justify-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 8px;
  color: #334155;
  background: #f8fafc;
  cursor: pointer;
}

.short-feed-share-grid i {
  color: #2563eb;
  font-size: 20px;
}

.short-feed-share-link {
  margin: 0 18px 18px;
  padding: 10px 12px;
  overflow: hidden;
  border-radius: 10px;
  color: #64748b;
  background: #f8fafc;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================================================
   12. 操作面板
   ================================================== */
.short-feed-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10080;
  background: rgba(15, 23, 42, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.short-feed-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.short-feed-action-panels .slide-panel,
.short-feed-action-panels .comment-slide-panel,
.short-feed-action-panels .share-popup,
.short-feed-action-panels .ai-chat-modal,
.short-feed-action-panels .short-feed-intro-panel,
.short-feed-action-panels .short-feed-quote-panel {
  position: fixed;
  background: #fff;
  border: 1px solid #eef2ff;
  border-radius: 24px;
  box-shadow: 0 20px 35px -8px rgba(0, 0, 0, 0.2);
  z-index: 10100;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.short-feed-action-panels .slide-panel.active,
.short-feed-action-panels .comment-slide-panel.active,
.short-feed-action-panels .share-popup.active,
.short-feed-action-panels .ai-chat-modal.active,
.short-feed-action-panels .short-feed-intro-panel.active,
.short-feed-action-panels .short-feed-quote-panel.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.short-feed-action-panels .slide-panel {
  left: 50%;
  top: 50%;
  width: 300px;
  max-height: none;
  overflow: hidden;
  padding: 12px;
  border-radius: 16px;
  transform: translate(-50%, -50%);
}

.short-feed-action-panels .product-slide {
  width: 100%;
}

.short-feed-action-panels .product-carousel {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  margin-bottom: 12px;
  padding-bottom: 68%;
  border-radius: 12px;
  background: #f5f5f5;
}

.short-feed-action-panels .carousel-slides {
  position: absolute;
  inset: 0;
}

.short-feed-action-panels .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
}

.short-feed-action-panels .carousel-slide.active {
  opacity: 1;
}

.short-feed-action-panels .product-detail {
  text-align: center;
}

.short-feed-action-panels .product-detail h3 {
  margin: 6px 4px 5px;
  color: #1e293b;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

.short-feed-action-panels .product-detail .product-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 8px 8px;
  color: #64748b;
  font-size: 0.72rem;
  line-height: 1.35;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.short-feed-action-panels .product-price {
  margin-bottom: 10px;
  color: #f59e0b;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.short-feed-action-panels .detail-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  border: none;
  border-radius: 40px;
  padding: 10px 16px;
  color: #fff;
  background: #2563eb;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.short-feed-action-panels .comment-slide-panel {
  left: 50%;
  top: 50%;
  width: 400px;
  max-height: 460px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  transform: translate(-50%, -50%);
}

.short-feed-action-panels .panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #edf2f7;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.short-feed-action-panels .panel-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: #334155;
  background: #f1f5f9;
  cursor: pointer;
  font-size: 0.9rem;
}

.short-feed-action-panels .comment-list-area {
  flex: 1;
  max-height: 320px;
  overflow-y: auto;
  padding: 12px 16px;
}

.short-feed-action-panels .short-feed-comment-item {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #1e293b;
  background: #f8fafc;
  font-size: 0.8rem;
}

.short-feed-action-panels .comment-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #edf2f7;
  background: #fff;
}

.short-feed-action-panels .comment-input-row input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 8px 14px;
  outline: none;
  font-size: 0.85rem;
}

.short-feed-action-panels .comment-input-row button {
  border: none;
  border-radius: 30px;
  padding: 0 18px;
  color: #fff;
  background: #1a56db;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.short-feed-action-panels .share-popup {
  left: 50%;
  top: 50%;
  width: 360px;
  max-width: 90vw;
  padding: 0 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
  transform: translate(-50%, -50%);
}

.short-feed-action-panels .share-popup-header {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  font-weight: 600;
}

.short-feed-action-panels .share-popup-close {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  cursor: pointer;
  font-size: 1rem;
}

.short-feed-action-panels .share-popup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px 12px 8px;
}

.short-feed-action-panels .share-popup-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.short-feed-action-panels .share-popup-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 1.3rem;
}

.short-feed-action-panels .share-popup-item span {
  color: #555;
  font-size: 0.55rem;
}

.short-feed-action-panels .share-popup-item.whatsapp .share-popup-icon { color: #25D366; }
.short-feed-action-panels .share-popup-item.wechat .share-popup-icon { color: #07C160; }
.short-feed-action-panels .share-popup-item.pinterest .share-popup-icon { color: #E60023; }
.short-feed-action-panels .share-popup-item.facebook .share-popup-icon { color: #1877F2; }
.short-feed-action-panels .share-popup-item.linkedin .share-popup-icon { color: #0A66C2; }
.short-feed-action-panels .share-popup-item.email .share-popup-icon { color: #EA4335; }

.short-feed-action-panels .share-popup-link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.short-feed-action-panels .share-popup-link {
  flex: 1;
  overflow-x: auto;
  border-radius: 40px;
  padding: 8px 12px;
  background: #f5f7fa;
  font-size: 0.7rem;
  white-space: nowrap;
  scrollbar-width: none;
}

.short-feed-action-panels .share-popup-copy {
  border: none;
  border-radius: 40px;
  padding: 6px 14px;
  color: #fff;
  background: #1a56db;
  cursor: pointer;
  font-size: 0.7rem;
}

.short-feed-action-panels .ai-chat-modal {
  left: 50%;
  top: 50%;
  width: 450px;
  max-height: 640px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  transform: translate(-50%, -50%);
}

.short-feed-action-panels .ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #fff;
  background: linear-gradient(135deg, #1a56db, #2563eb);
  font-weight: 600;
}

.short-feed-action-panels .ai-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 16px;
  background: #f8fafc;
}

.short-feed-action-panels .ai-chat-message {
  max-width: 85%;
  border-radius: 18px;
  padding: 10px 14px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.short-feed-action-panels .ai-chat-message.bot {
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: #0f172a;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.short-feed-action-panels .ai-chat-message.user {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
  background: #1a56db;
}

.short-feed-action-panels .ai-chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.short-feed-action-panels .ai-chat-quick-btn {
  border: 1px solid #bfdbfe;
  border-radius: 40px;
  padding: 6px 12px;
  color: #1e40af;
  background: #eff6ff;
  cursor: pointer;
  font-size: 0.75rem;
}

.short-feed-action-panels .ai-chat-input-row {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid #eef2ff;
  background: #fff;
}

.short-feed-action-panels .ai-chat-input-row input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 40px;
  padding: 10px 14px;
  outline: none;
  font-size: 0.85rem;
}

.short-feed-action-panels .ai-chat-send {
  border: none;
  border-radius: 40px;
  padding: 0 18px;
  color: #fff;
  background: #1a56db;
  cursor: pointer;
  font-weight: 500;
}

.short-feed-action-panels .short-feed-intro-body .short-feed-detail-tags {
  margin: 8px 0 10px;
}

.short-feed-action-panels .short-feed-intro-body .short-feed-detail-date {
  margin: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

/* Polished static action panels. */
.short-feed-action-panels .slide-panel,
.short-feed-action-panels .comment-slide-panel,
.short-feed-action-panels .share-popup,
.short-feed-action-panels .ai-chat-modal {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.short-feed-action-panels .slide-panel {
  width: 268px;
  padding: 0;
  overflow: hidden;
}

.short-feed-action-panels .panel-header,
.short-feed-action-panels .share-popup-header,
.short-feed-action-panels .ai-chat-header {
  min-height: 54px;
  box-sizing: border-box;
  padding: 14px 18px;
  border-bottom: 1px solid #edf2f7;
  color: #0f172a;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.short-feed-action-panels .ai-chat-header {
  color: #fff;
  border-bottom: 0;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.short-feed-action-panels .panel-close,
.short-feed-action-panels .share-popup-close {
  position: relative;
  z-index: 3;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  color: #64748b;
  background: #f1f5f9;
  font-size: 1rem;
}

.short-feed-action-panels .ai-chat-header .panel-close {
  color: #1e40af;
  background: rgba(255, 255, 255, 0.92);
}

.short-feed-action-panels #shortFeedCartContent {
  padding: 0 12px 12px;
}

.short-feed-action-panels .short-video-product {
  display: block;
}

.short-feed-action-panels .product-carousel {
  margin: 0 0 12px;
  padding-bottom: 72%;
  border-radius: 0;
  background: #fff;
}

.short-feed-action-panels .carousel-slide {
  object-fit: contain;
}

.short-feed-action-panels .product-carousel-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 23, 42, 0.48);
  transform: translateY(-50%);
}

.short-feed-action-panels .product-carousel-nav.prev {
  left: 6px;
}

.short-feed-action-panels .product-carousel-nav.next {
  right: 6px;
}

.short-feed-action-panels .product-detail h3 {
  min-height: 34px;
  margin: 0 8px 6px;
  display: -webkit-box;
  overflow: hidden;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.short-feed-action-panels .product-detail .product-desc {
  margin: 0 8px 6px;
  color: #64748b;
  font-size: 0.72rem;
  -webkit-line-clamp: 1;
}

.short-feed-action-panels .product-price {
  margin-bottom: 8px;
  color: #f59e0b;
  font-size: 1rem;
}

.short-feed-action-panels .detail-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #2563eb;
}

.short-feed-action-panels .short-feed-intro-body {
  padding: 18px;
  background: #f8fafc;
}

.short-feed-action-panels .short-feed-intro-text {
  margin: 0;
  color: #1f2937;
  font-size: 0.92rem;
  line-height: 1.8;
  white-space: pre-wrap;
}

.short-feed-action-panels .short-feed-quote-body {
  gap: 14px;
  padding: 16px;
}

.short-feed-action-panels .short-feed-quote-form {
  display: grid;
  gap: 10px;
}

.short-feed-action-panels .short-feed-quote-form input,
.short-feed-action-panels .short-feed-quote-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  padding: 11px 13px;
  color: #0f172a;
  background: #fff;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.short-feed-action-panels .short-feed-quote-form textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.55;
}

.short-feed-action-panels .short-feed-quote-form input:focus,
.short-feed-action-panels .short-feed-quote-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.short-feed-action-panels .short-feed-quote-form button {
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.short-feed-action-panels .share-popup {
  padding-bottom: 12px;
}

@media (max-width: 768px) {
  .short-feed-action-panels .comment-slide-panel {
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    max-height: 75vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .short-feed-action-panels .comment-slide-panel.active {
    transform: translateY(0);
  }

  .short-feed-action-panels .ai-chat-modal {
    width: 88vw;
    max-width: 450px;
    max-height: 70vh;
  }
}

/* ==================================================
   14. 移动端响应式 - Viewport 与 Swiper
   ================================================== */
@media (max-width: 768px) {
  body.short-feed-open {
    --short-feed-mobile-tab-height: 58px;
  }

  body.short-feed-open {
    overflow: hidden !important;
    overscroll-behavior: none;
  }

  .short-feed-overlay:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    width: 100vw !important;
    height: calc(100vh - var(--short-feed-mobile-tab-height)) !important;
    height: calc(100dvh - var(--short-feed-mobile-tab-height)) !important;
    overflow: hidden !important;
    background: #000 !important;
    backdrop-filter: none !important;
  }

  .short-feed-overlay .short-feed-shell,
  .short-feed-overlay .short-feed-swiper,
  .short-feed-overlay .short-feed-swiper .swiper-wrapper,
  .short-feed-overlay .short-feed-swiper .swiper-slide,
  .short-feed-overlay .short-feed-slide,
  .short-feed-overlay .video-card-container,
  .short-feed-overlay .video-portrait,
  .short-feed-overlay .short-feed-video-box {
    width: 100vw !important;
    height: calc(100vh - var(--short-feed-mobile-tab-height)) !important;
    height: calc(100dvh - var(--short-feed-mobile-tab-height)) !important;
    max-width: none !important;
    max-height: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .short-feed-overlay .short-feed-shell {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .short-feed-overlay .short-feed-recommend,
  .short-feed-overlay .short-feed-nav,
  .short-feed-overlay .video-sound-toggle {
    display: none !important;
  }

  .short-feed-overlay .short-feed-video-box .video-js,
  .short-feed-overlay .short-feed-video-box .tcplayer {
    width: 100% !important;
    height: 100% !important;
    background: #000 !important;
  }

  .short-feed-overlay .short-feed-video-box > video,
  .short-feed-overlay .short-feed-video-box .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
  }

  .short-feed-overlay .video-info-overlay {
    padding: 16px 64px calc(60px + env(safe-area-inset-bottom)) 12px !important;
  }

  .short-feed-overlay .video-info-overlay:not(.expanded) {
    padding: 8px 64px calc(44px + env(safe-area-inset-bottom)) 12px !important;
  }

  .short-feed-overlay .mobile-slide-sidebar {
    right: 10px !important;
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  .short-feed-overlay .video-progress-wrap {
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    padding: 0 12px !important;
  }

  body.short-feed-open .mobile-tabbar {
    display: flex !important;
    z-index: 10080 !important;
    height: var(--short-feed-mobile-tab-height) !important;
    background: rgba(0, 0, 0, 0.75) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }

  body.short-feed-open .mobile-tabbar .tab-item,
  body.short-feed-open .mobile-tabbar .tab-item i,
  body.short-feed-open .mobile-tabbar .tab-item span {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  body.short-feed-open .mobile-tabbar .tab-item.active,
  body.short-feed-open .mobile-tabbar .tab-item.active i,
  body.short-feed-open .mobile-tabbar .tab-item.active span {
    color: #fff !important;
    background: transparent !important;
  }

  body.short-feed-open .mobile-tabbar .tab-item.active::after {
    background: #fff !important;
  }
}

.short-feed-mobile-topbar,
.short-feed-mobile-bottombar {
  display: none;
}

.short-feed-overlay .video-info-overlay .video-publish-date {
  display: none;
}

@media (max-width: 768px) {
  /* Mobile Player & Media */
  body.short-feed-open {
    --short-feed-mobile-top-height: 54px;
    --short-feed-mobile-bottom-height: 58px;
  }

  .short-feed-overlay:not([hidden]) {
    height: 100vh !important;
    height: 100dvh !important;
  }

  .short-feed-overlay .short-feed-shell,
  .short-feed-overlay .short-feed-swiper,
  .short-feed-overlay .short-feed-swiper .swiper-wrapper,
  .short-feed-overlay .short-feed-swiper .swiper-slide,
  .short-feed-overlay .short-feed-slide,
  .short-feed-overlay .video-card-container,
  .short-feed-overlay .video-portrait,
  .short-feed-overlay .short-feed-video-box {
    height: 100vh !important;
    height: 100dvh !important;
  }

  .short-feed-overlay .short-feed-video-box .video-js,
  .short-feed-overlay .short-feed-video-box .tcplayer {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    transition: none !important;
    transform: none !important;
  }

  .short-feed-overlay .short-feed-video-box {
    position: relative !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
    background: #000 !important;
    border-radius: 0 !important;
  }

  .short-feed-overlay .short-feed-video-box > video,
  .short-feed-overlay .short-feed-video-box .vjs-tech,
  .short-feed-overlay .short-feed-video-box .vjs-poster,
  .short-feed-overlay .short-feed-video-box .vjs-poster img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    transition: none !important;
    transform: none !important;
  }

  .short-feed-overlay .short-feed-video-box .video-js,
  .short-feed-overlay .short-feed-video-box .vjs-tech,
  .short-feed-overlay .short-feed-video-box .tcplayer,
  .short-feed-overlay .short-feed-video-box .vjs-poster,
  .short-feed-overlay .short-feed-video-box .vjs-poster img {
    background: transparent !important;
  }

  .short-feed-overlay .short-feed-video-box.is-portrait-video > video,
  .short-feed-overlay .short-feed-video-box.is-portrait-video .vjs-tech,
  .short-feed-overlay .short-feed-video-box.is-portrait-video .vjs-poster img {
    object-position: center top !important;
  }

  .short-feed-overlay .short-feed-video-box.is-portrait-video .vjs-poster {
    background-position: center top !important;
  }

  .short-feed-overlay .short-feed-video-box.is-landscape-video > video,
  .short-feed-overlay .short-feed-video-box.is-landscape-video .vjs-tech,
  .short-feed-overlay .short-feed-video-box.is-landscape-video .vjs-poster img {
    object-position: center center !important;
  }

  .short-feed-overlay .short-feed-video-box.is-landscape-video .vjs-poster {
    background-position: center center !important;
  }

  .short-feed-overlay .short-feed-video-box.is-video-layout-pending > video,
  .short-feed-overlay .short-feed-video-box.is-video-layout-pending .video-js,
  .short-feed-overlay .short-feed-video-box.is-video-layout-pending .vjs-tech,
  .short-feed-overlay .short-feed-video-box.is-video-layout-pending .tcplayer,
  .short-feed-overlay .short-feed-video-box.is-video-layout-pending .vjs-poster {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .short-feed-overlay .short-feed-video-box.is-video-layout-ready > video,
  .short-feed-overlay .short-feed-video-box.is-video-layout-ready .video-js,
  .short-feed-overlay .short-feed-video-box.is-video-layout-ready .vjs-tech,
  .short-feed-overlay .short-feed-video-box.is-video-layout-ready .tcplayer,
  .short-feed-overlay .short-feed-video-box.is-video-layout-ready .vjs-poster {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .short-feed-overlay .short-feed-video-box.is-portrait-video::after {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 58%,
      rgba(0, 0, 0, 0.14) 72%,
      rgba(0, 0, 0, 0.42) 82%,
      rgba(0, 0, 0, 0.76) 91%,
      rgba(0, 0, 0, 0.98) 100%
    );
    z-index: 2;
  }

  /* Mobile Fixed UI */
  .short-feed-overlay .short-feed-close,
  body.short-feed-open .mobile-tabbar {
    display: none !important;
  }

  .short-feed-overlay .short-feed-mobile-topbar,
  .short-feed-overlay .short-feed-mobile-bottombar {
    display: flex;
    position: absolute;
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    z-index: 32;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
  }

  .short-feed-overlay .short-feed-mobile-topbar {
    top: max(8px, env(safe-area-inset-top));
    min-height: var(--short-feed-mobile-top-height);
    padding: 0;
    color: #fff;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .short-feed-overlay .short-feed-mobile-author {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 auto;
    width: fit-content;
    max-width: 58vw;
    gap: 6px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .short-feed-overlay .short-feed-mobile-author img {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.24);
  }

  .short-feed-overlay .short-feed-mobile-author-text {
    min-width: 0;
    max-width: 142px;
    line-height: 1.2;
  }

  .short-feed-overlay .short-feed-mobile-author-text strong,
  .short-feed-overlay .short-feed-mobile-author-text span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .short-feed-overlay .short-feed-mobile-author-text strong {
    color: rgba(255, 255, 255, 0.98);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.01em;
  }

  .short-feed-overlay .short-feed-mobile-author-text span {
    margin-top: 3px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.68);
  }

  .short-feed-overlay .short-feed-mobile-close {
    width: 31px;
    height: 31px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
  }

  .short-feed-overlay .short-feed-mobile-close {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .short-feed-overlay .short-feed-mobile-follow {
    width: 26px;
    height: 26px;
    margin-left: 2px;
    flex: 0 0 26px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: linear-gradient(135deg, rgba(255, 77, 109, 0.82), rgba(255, 122, 69, 0.72));
    box-shadow: 0 6px 16px rgba(255, 77, 109, 0.2);
  }

  .short-feed-overlay .short-feed-mobile-follow.followed {
    background: rgba(255, 255, 255, 0.12);
  }

  .short-feed-overlay .short-feed-mobile-verify {
    display: none !important;
    width: 18px;
    height: 18px;
    margin-left: 0;
    flex: 0 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    box-shadow: 0 5px 14px rgba(37, 99, 235, 0.28);
  }

  .short-feed-overlay .short-feed-mobile-live {
    display: none !important;
    min-width: 36px;
    height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
  }

  .short-feed-overlay .short-feed-mobile-close {
    background: rgba(255, 255, 255, 0.08);
  }

  .short-feed-overlay .short-feed-mobile-bottombar {
    bottom: max(2px, env(safe-area-inset-bottom));
    height: var(--short-feed-mobile-bottom-height);
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .short-feed-overlay .short-feed-mobile-comment {
    min-width: 0;
    flex: 1;
    height: 38px;
    padding: 0 6px 0 12px;
    border: 0;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .short-feed-overlay .short-feed-mobile-comment-input {
    min-width: 0;
    flex: 1;
    height: 100%;
    border: 0;
    outline: 0;
    color: #fff;
    background: transparent;
    font-size: 13px;
  }

  .short-feed-overlay .short-feed-mobile-comment-input::placeholder {
    color: rgba(255, 255, 255, 0.68);
  }

  .short-feed-overlay .short-feed-mobile-comment-submit {
    flex: 0 0 auto;
    height: 28px;
    padding: 0 11px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #1a56db, #38bdf8);
    font-size: 12px;
    font-weight: 600;
  }

  .short-feed-overlay .short-feed-mobile-emoji,
  .short-feed-overlay .short-feed-mobile-action {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px) saturate(1.25);
    -webkit-backdrop-filter: blur(16px) saturate(1.25);
  }

  .short-feed-overlay .short-feed-mobile-action.m-cart-btn {
    color: #ffb000;
  }

  .short-feed-overlay .short-feed-mobile-action.m-like-btn {
    color: rgba(255, 255, 255, 0.9);
  }

  .short-feed-overlay .short-feed-mobile-action.m-like-btn.m-liked {
    color: #ff4d6d;
    background: rgba(255, 77, 109, 0.16);
    border-color: rgba(255, 77, 109, 0.42);
    box-shadow: 0 10px 24px rgba(255, 77, 109, 0.26);
  }

  .short-feed-overlay .short-feed-mobile-action.m-save-btn {
    color: #ff4ed8;
  }

  .short-feed-overlay .video-info-overlay {
    padding: 16px 64px calc(var(--short-feed-mobile-bottom-height) + 58px + env(safe-area-inset-bottom)) 12px !important;
  }

  .short-feed-overlay .video-info-overlay:not(.expanded) {
    padding: 8px 64px calc(var(--short-feed-mobile-bottom-height) + 40px + env(safe-area-inset-bottom)) 12px !important;
  }

  .short-feed-overlay .mobile-slide-sidebar {
    bottom: calc(var(--short-feed-mobile-bottom-height) + 76px + env(safe-area-inset-bottom)) !important;
  }

  .short-feed-overlay .video-progress-wrap {
    bottom: calc(var(--short-feed-mobile-bottom-height) - 8px + env(safe-area-inset-bottom)) !important;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.18s ease, visibility 0.18s ease;
  }

  .short-feed-overlay .video-progress-track {
    position: relative;
    flex: 1;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    touch-action: none;
  }

  .short-feed-overlay .video-progress-track .video-progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.92);
  }

  .short-feed-overlay .video-card-container.playing .video-progress-wrap {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .short-feed-overlay .sound-control-btn i {
    font-size: 13px;
  }

  .short-feed-overlay .sound-control-btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .short-feed-overlay .site-logo-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    overflow: hidden;
    color: #fff;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  }

.short-feed-overlay .site-logo-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .short-feed-overlay .video-title-toggle {
    display: none !important;
  }

  .short-feed-overlay .m-home-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: #fff;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .short-feed-overlay .m-home-btn i {
    width: auto;
    height: auto;
    color: #fff;
    font-size: 21px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.58);
  }

  .short-feed-overlay .video-info-overlay {
    padding: 16px 64px calc(var(--short-feed-mobile-bottom-height) + 29px + env(safe-area-inset-bottom)) 12px !important;
  }

  .short-feed-overlay .video-info-overlay:not(.expanded) {
    padding: 8px 64px calc(var(--short-feed-mobile-bottom-height) + 20px + env(safe-area-inset-bottom)) 12px !important;
  }

  .short-feed-overlay .video-info-overlay .video-title-header {
    width: 60vw;
    max-width: 60vw;
    display: block;
  }

  .short-feed-overlay .video-info-overlay .video-title {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.35;
  }

  .short-feed-overlay .video-info-overlay .video-caption {
    display: none !important;
  }

  .short-feed-overlay .video-info-overlay .video-tags {
    display: flex !important;
    pointer-events: auto;
  }

  .short-feed-overlay .video-info-overlay .video-tag {
    pointer-events: auto;
  }

  .short-feed-overlay .m-action-btn.m-quote-btn i {
    color: #fff;
  }

  .short-feed-overlay .video-info-overlay .video-publish-date {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.54);
    font-size: 10px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  }
}
