/* ========================================
   海洋CMS影视模板 - 深海绿洲风格
   ======================================== */

/* CSS变量 */
:root {
  /* 色彩系统 */
  --primary: #0D7377;
  --primary-dark: #14505A;
  --primary-light: #32A59A;
  --accent: #00CEC9;
  --accent-warm: #FDCB6E;
  --bg-dark: #0A1616;
  --bg-card: #112323;
  --bg-card-hover: #1A3535;
  --text-primary: #FFFFFF;
  --text-secondary: #A8D5D5;
  --text-muted: #6B9999;
  --gradient-ocean: linear-gradient(135deg, #0D7377 0%, #14505A 50%, #0A1616 100%);
  --shadow-card: 0 8px 32px rgba(13, 115, 119, 0.15);
  --shadow-glow: 0 0 20px rgba(0, 206, 201, 0.3);

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* 圆角 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* 过渡 */
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* 布局 */
  --header-height: 70px;
  --container-max: 1400px;
  --sidebar-width: 300px;
}

/* 重置与基础 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input {
  font-family: inherit;
  outline: none;
  border: none;
}

/* 工具类 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========================================
   导航栏
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 22, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 115, 119, 0.2);
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-normal);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--text-primary);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__search {
  position: relative;
  display: flex;
  align-items: center;
}

.header__search-input {
  width: 100px;
  padding: var(--space-sm);
  background: transparent;
  border-bottom: 2px solid transparent;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: width var(--transition-normal), border-color var(--transition-normal);
}

.header__search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.header__search-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.header__search-btn:hover {
  background: var(--primary);
}

.header__search-btn:hover svg {
  fill: var(--text-primary);
}

.header__search.active .header__search-input {
  width: 200px;
  padding: var(--space-sm);
  border-bottom-color: var(--accent);
}

.header__menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 22, 0.98);
  backdrop-filter: blur(20px);
  padding: var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  z-index: 999;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(13, 115, 119, 0.2);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--accent);
}

/* ========================================
   Hero轮播
   ======================================== */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 800px;
  margin-top: var(--header-height);
  overflow: hidden;
}

.hero__slides {
  position: relative;
  height: 100%;
}

.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.hero__slide.active {
  opacity: 1;
  visibility: visible;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s linear;
}

.hero__slide.active .hero__slide-bg {
  transform: scale(1);
}

.hero__slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 22, 0.95) 0%,
    rgba(10, 22, 22, 0.7) 40%,
    rgba(10, 22, 22, 0.3) 70%,
    transparent 100%
  );
}

.hero__slide-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: var(--space-2xl) 0;
}

.hero__slide-info {
  max-width: 600px;
}

.hero__slide-tags {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero__slide-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__slide-tag--hot {
  background: #E74C3C;
}

.hero__slide-tag--new {
  background: var(--accent);
  color: var(--bg-dark);
}

.hero__slide-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero__slide-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero__slide-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero__slide-meta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero__slide-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__slide-actions {
  display: flex;
  gap: var(--space-md);
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.hero__btn--primary {
  background: var(--primary);
  color: var(--text-primary);
}

.hero__btn--primary:hover {
  background: var(--accent);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 206, 201, 0.3);
}

.hero__btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.hero__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero__controls {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-md);
}

.hero__control {
  width: 48px;
  height: 48px;
  background: rgba(10, 22, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.hero__control:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero__control svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero__dots {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  display: flex;
  gap: var(--space-sm);
}

.hero__dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero__dot.active {
  width: 24px;
  background: var(--accent);
}

/* ========================================
   分类筛选
   ======================================== */
.categories {
  padding: var(--space-2xl) 0;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
}

.categories__scroll {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding-bottom: var(--space-sm);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.categories__scroll::-webkit-scrollbar {
  display: none;
}

.categories__item {
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-lg);
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.categories__item:hover,
.categories__item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
}

/* ========================================
   内容区域
   ======================================== */
.main {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.section {
  margin-bottom: var(--space-3xl);
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.section__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.section__title svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.section__link {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.section__link:hover {
  color: var(--accent);
}

.section__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* 影视网格 */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-lg);
}

/* 影视卡片 */
.video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.video-card__cover {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.video-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-card__img {
  transform: scale(1.1);
}

.video-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 22, 22, 0.9) 0%,
    rgba(10, 22, 22, 0.4) 40%,
    transparent 100%
  );
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-normal);
}

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

.video-card__play {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  opacity: 0;
  transition: all var(--transition-normal);
}

.video-card:hover .video-card__play {
  transform: scale(1);
  opacity: 1;
}

.video-card__play svg {
  width: 24px;
  height: 24px;
  fill: var(--text-primary);
  margin-left: 4px;
}

.video-card__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  background: rgba(10, 22, 22, 0.8);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.video-card__score {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(253, 203, 110, 0.9);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.video-card__score svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.video-card__info {
  padding: var(--space-md);
}

.video-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.video-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.video-card__tags {
  display: flex;
  gap: var(--space-xs);
}

.video-card__tag {
  padding: 2px var(--space-sm);
  background: rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  color: var(--accent);
}

/* ========================================
   排行榜
   ======================================== */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.rank-list {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.rank-list__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(13, 115, 119, 0.2);
}

.rank-list__title svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-warm);
}

.rank-list__item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(13, 115, 119, 0.1);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.rank-list__item:last-child {
  border-bottom: none;
}

.rank-list__item:hover {
  background: rgba(13, 115, 119, 0.1);
  margin: 0 calc(var(--space-sm) * -1);
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
  border-radius: var(--radius-md);
}

.rank-list__rank {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.rank-list__rank--top {
  background: linear-gradient(135deg, var(--accent-warm), #F39C12);
  color: var(--bg-dark);
}

.rank-list__item:nth-child(2) .rank-list__rank--top {
  background: linear-gradient(135deg, #BDC3C7, #95A5A6);
  color: var(--bg-dark);
}

.rank-list__item:nth-child(3) .rank-list__rank--top {
  background: linear-gradient(135deg, #CD7F32, #8B4513);
  color: var(--text-primary);
}

.rank-list__cover {
  width: 50px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.rank-list__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-list__info {
  flex: 1;
  min-width: 0;
}

.rank-list__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-list__views {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   布局
   ======================================== */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

/* ========================================
   页脚
   ======================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(13, 115, 119, 0.2);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-ocean);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__logo-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer__col-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(13, 115, 119, 0.2);
  text-align: center;
}

.footer__copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__col-title {
    margin-top: var(--space-lg);
  }
}

/* ========================================
   播放页
   ======================================== */
.play-page {
  padding-top: var(--header-height);
  min-height: 100vh;
}

.play-container {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.player-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 15px;
}

.player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player video,
.player iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.player__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-secondary);
}



.player__controls {
  
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}


/* 选集列表 */
.episode-section {
  margin-top: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.episode-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.episode-section__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.episode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: var(--space-sm);
}

.episode-btn {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.episode-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
}

.episode-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

/* 侧边推荐 */
.play-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.play-sidebar__section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
}

.play-sidebar__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(13, 115, 119, 0.2);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.related-item {
  display: flex;
  gap: var(--space-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.related-item:hover {
  opacity: 0.8;
}

.related-item__cover {
  width: 100px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.related-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-item__info {
  flex: 1;
  min-width: 0;
}

.related-item__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-item__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .play-container {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   加载骨架屏
   ======================================== */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-card) 0%,
    var(--bg-card-hover) 50%,
    var(--bg-card) 100%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
}

.skeleton-text {
  height: 1em;
  margin-bottom: var(--space-sm);
}

.skeleton-text--short {
  width: 60%;
}

/* ========================================
   响应式适配
   ======================================== */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .hero {
    height: 60vh;
  }

  .hero__slide-info {
    max-width: 100%;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-md);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .hero {
    height: 50vh;
    min-height: 400px;
  }

  .hero__slide-meta {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .hero__slide-actions {
    flex-direction: column;
  }

  .hero__btn {
    justify-content: center;
  }

  .hero__controls,
  .hero__dots {
    display: none;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .video-card__info {
    padding: var(--space-sm);
  }

  .video-card__title {
    font-size: 0.9rem;
  }

  .video-card__meta {
    font-size: 0.75rem;
  }

  .categories {
    padding: var(--space-lg) 0;
  }

  .section__title {
    font-size: 1.25rem;
  }

  .section {
    margin-bottom: var(--space-2xl);
  }
}

@media (max-width: 480px) {
  .header__logo span {
    display: none;
  }

  .hero__slide-title {
    font-size: 1.5rem;
  }

  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .player__controls {
    flex-wrap: wrap;
  }

  .player__progress {
    order: -1;
    width: 100%;
    margin-bottom: var(--space-sm);
  }

  .player__volume {
    display: none;
  }
}
.player__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  color: var(--text-secondary);
}

.player__placeholder svg {
  width: 64px;
  height: 64px;
  fill: var(--primary);
}

.player__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.player__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.player__btn:hover {
  color: var(--accent);
}

.player__btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.player__progress {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
}

.player__progress-fill {
  height: 100%;
  width: 35%;
  background: var(--accent);
  border-radius: 2px;
}

.player__time {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.player__volume {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
}

.player__volume-fill {
  width: 70%;
  height: 100%;
  background: var(--text-primary);
  border-radius: 2px;
}

.player__title {
  padding: var(--space-lg);
}

.player__title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.player__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.player__meta span {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.player__meta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ========================================
   滚动条
   ======================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* ========================================
   焦点状态
   ======================================== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========================================
   选中状态
   ======================================== */
::selection {
  background: var(--primary);
  color: var(--text-primary);
}

/* ========================================
   播放记录功能
   ======================================== */

/* 播放记录按钮 */
.header__history-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
  position: relative;
}

.header__history-btn:hover {
  background: var(--primary);
}

.header__history-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: fill var(--transition-fast);
}

.header__history-btn:hover svg {
  fill: var(--text-primary);
}

.header__history-btn:hover {
  background: var(--primary);
}

/* 播放记录徽章 */
.history-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 播放记录弹出层 */
.history-panel {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 100%;
  height: 100vh;
  background: var(--bg-card);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  z-index: 2000;
  transition: right var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.history-panel.active {
  right: 0;
}

/* 遮罩层 */
.history-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.history-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 面板头部 */
.history-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  border-bottom: 1px solid rgba(13, 115, 119, 0.2);
}

.history-panel__title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.history-panel__title svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.history-panel__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 115, 119, 0.1);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

.history-panel__close:hover {
  background: rgba(13, 115, 119, 0.3);
}

.history-panel__close svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

/* 面板内容 */
.history-panel__content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-md);
}

/* 记录列表 */
.history-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.history-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: rgba(13, 115, 119, 0.05);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  position: relative;
}

.history-item:hover {
  background: rgba(13, 115, 119, 0.15);
  transform: translateX(4px);
}

.history-item__cover {
  width: 80px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.history-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.history-item__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.history-item__episode {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: var(--space-xs);
}

.history-item__time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.history-item__delete {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 76, 60, 0.1);
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.history-item:hover .history-item__delete {
  opacity: 1;
}

.history-item__delete:hover {
  background: rgba(231, 76, 60, 0.3);
}

.history-item__delete svg {
  width: 14px;
  height: 14px;
  fill: #E74C3C;
}

/* 空状态 */
.history-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  text-align: center;
}

.history-empty svg {
  width: 64px;
  height: 64px;
  fill: var(--text-muted);
  opacity: 0.5;
  margin-bottom: var(--space-md);
}

.history-empty__text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 清除全部按钮 */
.history-panel__footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(13, 115, 119, 0.2);
}

.history-clear-btn {
  width: 100%;
  padding: var(--space-md);
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: #E74C3C;
  transition: all var(--transition-fast);
}

.history-clear-btn:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: #E74C3C;
}

/* ========================================
   分页组件样式
   ======================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-2xl) 0;
  flex-wrap: wrap;
}

.pagination__info {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-right: var(--space-md);
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-md);
  background: var(--bg-card);
  border: 1px solid rgba(13, 115, 119, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pagination__btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
}

.pagination__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  background: var(--bg-card);
  border: 1px solid rgba(13, 115, 119, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.pagination__num:hover {
  background: rgba(13, 115, 119, 0.2);
  border-color: var(--primary);
  color: var(--text-primary);
}

.pagination__num--active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(13, 115, 119, 0.4);
}

.pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ========================================
   频道页/搜索页头部筛选样式
   ======================================== */
.channel-header {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13, 115, 119, 0.2);
}

.channel-header__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.channel-header__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.channel-header__filter {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.channel-header__filter-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-right: var(--space-sm);
}

.channel-header__filter-item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.channel-header__filter-item:hover {
  background: rgba(13, 115, 119, 0.2);
  border-color: var(--primary);
  color: var(--accent);
}

.channel-header__filter-item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
  font-weight: 500;
}

/* ========================================
   搜索页筛选样式
   ======================================== */
.search-header {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13, 115, 119, 0.2);
  text-align: center;
  margin-top: 26px;
}

.search-header__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.search-header__keyword {
  color: var(--accent);
  font-weight: 700;
}

.search-header__count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.search-header__count strong {
  color: var(--accent);
  font-weight: 600;
}

.search-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.search-filter__label {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-right: var(--space-sm);
}

.search-filter__item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.search-filter__item:hover {
  background: rgba(13, 115, 119, 0.2);
  border-color: var(--primary);
  color: var(--accent);
}

.search-filter__item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
  font-weight: 500;
}

/* ========================================
   级联筛选页样式
   ======================================== */
.cascade-header {
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13, 115, 119, 0.2);
}

.cascade-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.cascade-filter {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.cascade-filter__group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.cascade-filter__label {
  flex-shrink: 0;
  min-width: 80px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: var(--space-sm);
}

.cascade-filter__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cascade-filter__item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.cascade-filter__item:hover {
  background: rgba(13, 115, 119, 0.2);
  border-color: var(--primary);
  color: var(--accent);
}

.cascade-filter__item.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
  font-weight: 500;
}

.cascade-filter__item--all {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
}

.cascade-filter__submit {
  display: flex;
  justify-content: center;
  margin-top: var(--space-lg);
}

.cascade-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: var(--primary);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.cascade-filter__btn:hover {
  background: var(--primary-light);
  box-shadow: var(--shadow-glow);
}

.cascade-filter__btn svg {
  width: 18px;
  height: 18px;
}

/* 级联筛选结果统计 */
.cascade-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: rgba(13, 115, 119, 0.1);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 115, 119, 0.2);
}

.cascade-result__count {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cascade-result__count strong {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
}

.cascade-result__sort {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.cascade-result__sort-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cascade-result__sort-item {
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.cascade-result__sort-item:hover {
  color: var(--accent);
  background: rgba(13, 115, 119, 0.2);
}

.cascade-result__sort-item.active {
  color: var(--accent);
  background: rgba(13, 115, 119, 0.2);
}

/* 响应式 */
@media (max-width: 480px) {
  .history-panel {
    width: 100%;
    right: -100%;
  }

  .pagination {
    gap: var(--space-xs);
  }

  .pagination__btn,
  .pagination__num {
    min-width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .channel-header,
  .search-header,
  .cascade-header {
    padding: var(--space-lg);
  }

  .channel-header__title {
    font-size: 1.4rem;
  }

  .channel-header__filter,
  .search-filter {
    justify-content: flex-start;
  }

  .cascade-filter__group {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .cascade-filter__label {
    min-width: auto;
  }
}


    /* 详情页专属样式 */
    .detail-page {
      padding-top: var(--header-height);
      min-height: 100vh;
    }

    /* 英雄区域 */
    .detail-hero {
      position: relative;
      min-height: 500px;
      background: var(--gradient-ocean);
      overflow: hidden;
    }

    .detail-hero__bg {
      position: absolute;
      inset: 0;
      opacity: 0.3;
    }

    .detail-hero__bg::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(10, 22, 22, 0.5) 50%,
        var(--bg-dark) 100%
      );
    }

    .detail-hero__content {
      position: relative;
      display: grid;
      grid-template-columns: 300px 1fr;
      gap: var(--space-xl);
      padding: var(--space-2xl) 0;
      z-index: 1;
    }

    .detail-hero__poster {
      position: relative;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    }

    .detail-hero__poster-img {
      width: 100%;
      aspect-ratio: 3 / 4;
      object-fit: cover;
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }

    .detail-hero__poster-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity var(--transition-normal);
    }

    .detail-hero__poster:hover .detail-hero__poster-overlay {
      opacity: 1;
    }

    .detail-hero__play-btn {
      width: 80px;
      height: 80px;
      background: var(--primary);
      border-radius: var(--radius-full);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all var(--transition-fast);
    }

    .detail-hero__play-btn:hover {
      background: var(--accent);
      transform: scale(1.1);
    }

    .detail-hero__play-btn svg {
      width: 32px;
      height: 32px;
      fill: var(--text-primary);
      margin-left: 4px;
    }

    .detail-hero__info {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .detail-hero__tags {
      display: flex;
      gap: var(--space-sm);
      margin-bottom: var(--space-md);
    }

    .detail-hero__tag {
      padding: var(--space-xs) var(--space-md);
      background: var(--primary);
      border-radius: var(--radius-sm);
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text-primary);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .detail-hero__tag--hot {
      background: #E74C3C;
    }

    .detail-hero__tag--new {
      background: var(--accent);
      color: var(--bg-dark);
    }

    .detail-hero__title {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: var(--space-md);
      color: var(--text-primary);
    }

    .detail-hero__original-title {
      font-size: 1rem;
      font-weight: 400;
      color: var(--text-muted);
      margin-bottom: var(--space-md);
    }

    .detail-hero__meta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: var(--space-lg);
      margin-bottom: var(--space-lg);
      color: var(--text-secondary);
      font-size: 0.9rem;
    }

    .detail-hero__meta-item {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
    }

    .detail-hero__meta-item svg {
      width: 18px;
      height: 18px;
      fill: currentColor;
    }

    .detail-hero__score {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-sm) var(--space-md);
      background: rgba(253, 203, 110, 0.15);
      border: 1px solid rgba(253, 203, 110, 0.3);
      border-radius: var(--radius-md);
    }

    .detail-hero__score svg {
      width: 20px;
      height: 20px;
      fill: var(--accent-warm);
    }

    .detail-hero__score-value {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--accent-warm);
    }

    .detail-hero__score-count {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .detail-hero__actions {
      display: flex;
      gap: var(--space-md);
      margin-bottom: var(--space-lg);
    }

    .detail-hero__action {
      display: inline-flex;
      align-items: center;
      gap: var(--space-sm);
      padding: var(--space-md) var(--space-xl);
      border-radius: var(--radius-full);
      font-size: 0.95rem;
      font-weight: 600;
      transition: all var(--transition-fast);
    }

    .detail-hero__action svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .detail-hero__action--primary {
      background: var(--primary);
      color: var(--text-primary);
    }

    .detail-hero__action--primary:hover {
      background: var(--accent);
      color: var(--bg-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(0, 206, 201, 0.3);
    }

    .detail-hero__action--secondary {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: var(--text-primary);
    }

    .detail-hero__action--secondary:hover {
      background: rgba(255, 255, 255, 0.2);
    }

    /* 内容区域 */
    .detail-content {
      padding: var(--space-2xl) 0 var(--space-3xl);
    }

    .detail-grid {
      display: grid;
      grid-template-columns: 1fr 350px;
      gap: var(--space-xl);
      align-items: start;
    }

    .detail-main {
      display: flex;
      flex-direction: column;
      gap: var(--space-xl);
    }

    /* 简介区块 */
    .detail-section {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: var(--space-xl);
    }

    .detail-section__title {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: var(--space-lg);
      padding-bottom: var(--space-md);
      border-bottom: 1px solid rgba(13, 115, 119, 0.2);
    }

    .detail-section__title svg {
      width: 22px;
      height: 22px;
      fill: var(--accent);
    }

    .detail-intro__text {
      font-size: 1rem;
      line-height: 1.9;
      color: var(--text-secondary);
    }

    .detail-intro__tags {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-sm);
      margin-top: var(--space-lg);
    }

    .detail-intro__tag {
      padding: var(--space-xs) var(--space-md);
      background: rgba(13, 115, 119, 0.15);
      border: 1px solid rgba(13, 115, 119, 0.3);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      color: var(--accent);
    }

    /* 演员表 */
    .cast-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: var(--space-lg);
    }

    .cast-item {
      text-align: center;
      cursor: pointer;
      transition: transform var(--transition-fast);
    }

    .cast-item:hover {
      transform: translateY(-4px);
    }

    .cast-item__avatar {
      width: 80px;
      height: 80px;
      margin: 0 auto var(--space-sm);
      border-radius: var(--radius-full);
      overflow: hidden;
      border: 3px solid transparent;
      transition: border-color var(--transition-fast);
    }

    .cast-item:hover .cast-item__avatar {
      border-color: var(--accent);
    }

    .cast-item__avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    }

    .cast-item__name {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .cast-item__role {
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    /* 选集列表 */
    .episode-list {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
      gap: var(--space-md);
    }

    .episode-item {
      aspect-ratio: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(13, 115, 119, 0.1);
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-lg);
      cursor: pointer;
      transition: all var(--transition-fast);
    }
    .episode-item li {
      list-style-type: none;
      float: left;
      width: 60px;
      display: block;
    }
    .episode-item:hover {
      background: var(--primary);
      border-color: var(--primary);
      transform: scale(1.05);
    }

    .episode-item.active {
      background: var(--accent);
      border-color: var(--accent);
    }

    .episode-item__num {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .episode-item.active .episode-item__num {
      color: var(--bg-dark);
    }

    .episode-item__badge {
      font-size: 0.65rem;
      color: var(--accent);
      margin-top: 2px;
    }

    .episode-item.active .episode-item__badge {
      color: var(--bg-dark);
    }

    /* 季选择器 */
    .season-selector {
      display: flex;
      gap: var(--space-md);
      margin-bottom: var(--space-lg);
      overflow-x: auto;
      padding-bottom: var(--space-sm);
    }

    .season-btn {
      flex-shrink: 0;
      padding: var(--space-sm) var(--space-lg);
      background: rgba(13, 115, 119, 0.1);
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-full);
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .season-btn:hover {
      background: rgba(13, 115, 119, 0.2);
      color: var(--text-primary);
    }

    .season-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: var(--text-primary);
    }

    /* 侧边栏 */
    .detail-sidebar {
      display: flex;
      flex-direction: column;
      gap: var(--space-xl);
    }

    .detail-sidebar__section {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: var(--space-lg);
    }

    .detail-sidebar__title {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: var(--space-md);
      padding-bottom: var(--space-md);
      border-bottom: 1px solid rgba(13, 115, 119, 0.2);
    }

    .detail-sidebar__title svg {
      width: 20px;
      height: 20px;
      fill: var(--accent);
    }

    .related-list {
      display: flex;
      flex-direction: column;
      gap: var(--space-md);
    }

    .related-item {
      display: flex;
      gap: var(--space-md);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .related-item:hover {
      opacity: 0.8;
    }

    .related-item__cover {
      width: 100px;
      height: 60px;
      border-radius: var(--radius-md);
      overflow: hidden;
      flex-shrink: 0;
    }

    .related-item__cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .related-item__info {
      flex: 1;
      min-width: 0;
    }

    .related-item__title {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: var(--space-xs);
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .related-item__meta {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    /* 视频信息卡片 */
    .info-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--space-md);
    }

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

    .info-item__label {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .info-item__value {
      font-size: 0.95rem;
      color: var(--text-primary);
      font-weight: 500;
    }

    /* 响应式 */
    @media (max-width: 1024px) {
      .detail-grid {
        grid-template-columns: 1fr;
      }

      .detail-hero__content {
        grid-template-columns: 200px 1fr;
      }
    }

    @media (max-width: 768px) {
      .detail-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .detail-hero__poster {
        max-width: 200px;
        margin: 0 auto;
      }

      .detail-hero__tags {
        justify-content: center;
      }

      .detail-hero__meta {
        justify-content: center;
      }

      .detail-hero__actions {
        justify-content: center;
        flex-wrap: wrap;
      }

      .cast-list {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      }

      .cast-item__avatar {
        width: 60px;
        height: 60px;
      }

      .info-grid {
        grid-template-columns: 1fr;
      }

      .episode-list {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
      }
    }

/* ========================================
   内容页样式 - 从content.html移动
   ======================================== */

/* 二维码弹窗样式 */
.qr-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.qr-modal__content {
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.qr-modal__header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.qr-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.qr-modal__close:hover {
  color: #333;
}

.qr-code {
  margin: 20px 0;
}

.qr-code img {
  max-width: 100%;
  height: auto;
}

.qr-modal__body p {
  margin: 10px 0 0;
  color: #666;
}

/* 移动端隐藏手机播放按钮 */
@media (max-width: 768px) {
  #mobilePlayBtn {
    display: none !important;
  }
}

/* 剧集列表显示/隐藏 */
.detail-section .episode-list {
  display: none !important;
}

.detail-section .episode-list.active {
  display: block !important;
}

/* 使episode-list中的ul li横排显示并自动换行 */
.detail-section .episode-list ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.detail-section .episode-list ul li {
  margin-right: 0;
  white-space: nowrap;
  float: left;
}

.detail-section .episode-list ul li a {
  display: block;
  padding: 8px 12px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: rgba(13, 115, 119, 0.1);
  border: 1px solid rgba(13, 115, 119, 0.2);
  transition: all var(--transition-fast);
}

.detail-section .episode-list ul li a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.detail-section .episode-list ul li a.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.playon{
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}

 /* 分类页专属样式 */
    .category-page {
      padding-top: var(--header-height);
      min-height: 100vh;
      background: var(--bg-dark);
    }

    .category-header {
      position: relative;
      padding: var(--space-2xl) 0;
      background: var(--gradient-ocean);
      border-bottom: 1px solid rgba(13, 115, 119, 0.2);
    }

    .category-header__content {
      display: flex;
      align-items: center;
      gap: var(--space-xl);
    }

    .category-icon {
      width: 80px;
      height: 80px;
      background: rgba(0, 206, 201, 0.2);
      border-radius: var(--radius-xl);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .category-icon svg {
      width: 40px;
      height: 40px;
      fill: var(--accent);
    }

    .category-header__info h1 {
      font-size: 2rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: var(--space-sm);
    }

    .category-header__info p {
      color: var(--text-secondary);
      font-size: 0.95rem;
    }

    .category-header__stats {
      display: flex;
      gap: var(--space-lg);
      margin-top: var(--space-md);
    }

    .stat-item {
      display: flex;
      align-items: center;
      gap: var(--space-xs);
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .stat-item svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    /* 面包屑导航 */
    .breadcrumb {
      padding: var(--space-md) 0;
      background: var(--bg-card);
    }

    .breadcrumb__list {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: 0.9rem;
    }

    .breadcrumb__item {
      color: var(--text-muted);
      transition: color var(--transition-fast);
    }

    .breadcrumb__item:hover {
      color: var(--accent);
    }

    .breadcrumb__separator {
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    .breadcrumb__item--current {
      color: var(--text-secondary);
    }

    /* 筛选栏 */
    .filter-bar {
      padding: var(--space-lg) 0;
      background: var(--bg-card);
      border-bottom: 1px solid rgba(13, 115, 119, 0.1);
      position: sticky;
      top: var(--header-height);
      z-index: 100;
    }

    .filter-bar__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-lg);
      flex-wrap: wrap;
    }

    .filter-group {
      display: flex;
      align-items: center;
      gap: var(--space-md);
    }

    .filter-label {
      font-size: 0.9rem;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .filter-select {
      padding: var(--space-sm) var(--space-md);
      background: rgba(13, 115, 119, 0.1);
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-md);
      color: var(--text-primary);
      font-size: 0.9rem;
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .filter-select:hover,
    .filter-select:focus {
      border-color: var(--accent);
      outline: none;
    }

    .filter-tags {
      display: flex;
      gap: var(--space-sm);
      flex-wrap: wrap;
    }

    .filter-tag {
      padding: var(--space-xs) var(--space-md);
      background: rgba(13, 115, 119, 0.1);
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-full);
      font-size: 0.85rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .filter-tag:hover,
    .filter-tag.active {
      background: var(--primary);
      border-color: var(--primary);
      color: var(--text-primary);
    }

    .sort-group {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      float: right;
      margin-top: 5px;
    }

    .sort-btn {
      padding: var(--space-sm) var(--space-md);
      background: transparent;
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-md);
      font-size: 0.85rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      gap: var(--space-xs);
    }

    .sort-btn:hover {
      border-color: var(--accent);
      color: var(--text-primary);
    }

    .sort-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      color: var(--text-primary);
    }

    .sort-btn svg {
      width: 14px;
      height: 14px;
      fill: currentColor;
    }

    /* 结果信息 */
    .results-info {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: var(--space-lg) 0;
    }

    .results-count {
      font-size: 0.95rem;
      color: var(--text-muted);
    }

    .results-count strong {
      color: var(--accent);
    }

    .view-toggle {
      display: flex;
      gap: var(--space-sm);
    }

    .view-btn {
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(13, 115, 119, 0.1);
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .view-btn svg {
      width: 18px;
      height: 18px;
      fill: var(--text-muted);
    }

    .view-btn:hover,
    .view-btn.active {
      background: var(--primary);
      border-color: var(--primary);
    }

    .view-btn:hover svg,
    .view-btn.active svg {
      fill: var(--text-primary);
    }

    /* 分类内容区 */
    .category-content {
      padding: var(--space-xl) 0 var(--space-3xl);
    }

    /* 分页 */
    .pagination {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: var(--space-sm);
      margin-top: var(--space-2xl);
    }

    .pagination__btn {
      min-width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(13, 115, 119, 0.1);
      border: 1px solid rgba(13, 115, 119, 0.2);
      border-radius: var(--radius-md);
      font-size: 0.9rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
    }

    .pagination__btn:hover:not(:disabled) {
      background: var(--primary);
      border-color: var(--primary);
      color: var(--text-primary);
    }

    .pagination__btn.active {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--bg-dark);
    }

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

    .pagination__btn svg {
      width: 16px;
      height: 16px;
      fill: currentColor;
    }

    .pagination__ellipsis {
      color: var(--text-muted);
      padding: 0 var(--space-sm);
    }

    /* 响应式 */
    @media (max-width: 768px) {
      .category-header__content {
        flex-direction: column;
        text-align: center;
      }

      .category-header__stats {
        justify-content: center;
      }

      .filter-bar__inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .filter-group {
        width: 100%;
        flex-wrap: wrap;
      }

      .results-info {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
      }
    }

    /* 搜索页专属样式 */
    .search-page {
      padding-top: var(--header-height);
      min-height: 100vh;
      background: var(--bg-dark);
    }

    .search-header {
      padding: var(--space-2xl) 0;
      background: var(--gradient-ocean);
      border-bottom: 1px solid rgba(13, 115, 119, 0.2);
    }

    .search-form {
      display: flex;
      gap: var(--space-md);
      max-width: 700px;
      margin: 0 auto;
    }

    .search-input-wrapper {
      flex: 1;
      position: relative;
    }

    .search-input {
      width: 100%;
      padding: var(--space-md) var(--space-lg);
      padding-left: 48px;
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 255, 255, 0.2);
      border-radius: var(--radius-full);
      color: var(--text-primary);
      font-size: 1rem;
      transition: all var(--transition-fast);
    }

    .search-input::placeholder {
      color: var(--text-muted);
    }

    .search-input:focus {
      background: rgba(255, 255, 255, 0.15);
      border-color: var(--accent);
      outline: none;
    }

    .search-input-icon {
      position: absolute;
      left: var(--space-md);
      top: 50%;
      transform: translateY(-50%);
    }

    .search-input-icon svg {
      width: 22px;
      height: 22px;
      fill: var(--text-muted);
    }

    .search-btn {
      padding: var(--space-md) var(--space-xl);
      background: var(--accent);
      border-radius: var(--radius-full);
      color: var(--bg-dark);
      font-size: 1rem;
      font-weight: 600;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      gap: var(--space-sm);
    }

    .search-btn:hover {
      background: var(--text-primary);
      transform: translateY(-2px);
    }

    .search-btn svg {
      width: 20px;
      height: 20px;
      fill: currentColor;
    }

    .search-results-info {
      padding: var(--space-lg) 0;
      border-bottom: 1px solid rgba(13, 115, 119, 0.1);
    }

    .search-results-info__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: var(--space-md);
    }

    .search-results-count {
      font-size: 1rem;
      color: var(--text-secondary);
    }

    .search-results-count strong {
      color: var(--accent);
    }

    .search-keyword {
      color: var(--accent);
    }

    .search-tips {
      font-size: 0.9rem;
      color: var(--text-muted);
    }

    .search-tips a {
      color: var(--accent);
      margin: 0 var(--space-xs);
    }

    .search-tips a:hover {
      text-decoration: underline;
    }

    .search-content {
      padding: var(--space-xl) 0 var(--space-3xl);
    }

    .search-empty {
      text-align: center;
      padding: var(--space-3xl) 0;
    }

    .search-empty__icon {
      width: 120px;
      height: 120px;
      margin: 0 auto var(--space-xl);
      background: rgba(13, 115, 119, 0.1);
      border-radius: var(--radius-full);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .search-empty__icon svg {
      width: 60px;
      height: 60px;
      fill: var(--text-muted);
    }

    .search-empty__title {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: var(--space-sm);
    }

    .search-empty__desc {
      color: var(--text-muted);
      margin-bottom: var(--space-lg);
    }

    .search-suggestions {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: var(--space-sm);
    }

    .search-suggestion {
      padding: var(--space-sm) var(--space-md);
      background: rgba(13, 115, 119, 0.1);
      border-radius: var(--radius-full);
      font-size: 0.9rem;
      color: var(--text-secondary);
      transition: all var(--transition-fast);
    }

    .search-suggestion:hover {
      background: var(--primary);
      color: var(--text-primary);
    }

    /* 搜索历史 */
    .search-history {
      margin-top: var(--space-xl);
      padding: var(--space-lg);
      background: var(--bg-card);
      border-radius: var(--radius-xl);
    }

    .search-history__header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: var(--space-md);
    }

    .search-history__title {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
    }

    .search-history__title svg {
      width: 18px;
      height: 18px;
      fill: var(--text-muted);
    }

    .search-history__clear {
      font-size: 0.85rem;
      color: var(--text-muted);
      cursor: pointer;
      transition: color var(--transition-fast);
    }

    .search-history__clear:hover {
      color: var(--accent);
    }

    .search-history__list {
      display: flex;
      flex-wrap: wrap;
      gap: var(--space-sm);
    }

    .search-history__item {
      padding: var(--space-sm) var(--space-md);
      background: rgba(13, 115, 119, 0.1);
      border-radius: var(--radius-full);
      font-size: 0.9rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all var(--transition-fast);
      display: flex;
      align-items: center;
      gap: var(--space-xs);
    }

    .search-history__item:hover {
      background: var(--primary);
      color: var(--text-primary);
    }

    .search-history__item svg {
      width: 14px;
      height: 14px;
      fill: currentColor;
    }

    .search-history__empty {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    /* 热门搜索 */
    .hot-search {
      margin-top: var(--space-xl);
      padding: var(--space-lg);
      background: var(--bg-card);
      border-radius: var(--radius-xl);
    }

    .hot-search__title {
      display: flex;
      align-items: center;
      gap: var(--space-sm);
      font-size: 1rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: var(--space-lg);
    }

    .hot-search__title svg {
      width: 18px;
      height: 18px;
      fill: var(--accent-warm);
    }

    .hot-search__list {
      display: flex;
      flex-direction: column;
      gap: var(--space-sm);
    }

    .hot-search__item {
      display: flex;
      align-items: center;
      gap: var(--space-md);
      padding: var(--space-sm);
      border-radius: var(--radius-md);
      cursor: pointer;
      transition: background var(--transition-fast);
    }

    .hot-search__item:hover {
      background: rgba(13, 115, 119, 0.1);
    }

    .hot-search__rank {
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--text-muted);
    }

    .hot-search__rank--top {
      background: var(--accent-warm);
      color: var(--bg-dark);
      border-radius: var(--radius-sm);
    }

    .hot-search__info {
      flex: 1;
    }

    .hot-search__name {
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-primary);
      margin-bottom: 2px;
    }

    .hot-search__meta {
      font-size: 0.8rem;
      color: var(--text-muted);
    }

    .hot-search__score {
      font-size: 0.85rem;
      color: var(--accent-warm);
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .search-form {
        flex-direction: column;
      }

      .search-btn {
        justify-content: center;
      }

      .search-results-info__inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }