:root {
  --main-color: #f472b6;
  --accent-color: #fbbf24;
  --bg-color: #fff5f7;
  --text-color: #4a2530;
  --card-radius: 14px;
  --shadow-sm: 0 2px 8px rgba(244, 114, 182, 0.08);
  --shadow-md: 0 4px 16px rgba(244, 114, 182, 0.12);
}
* { box-sizing: border-box; }
body {
  font-family: 'Noto Sans SC', 'Inter', sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6, .font-serif {
  font-family: 'Noto Serif SC', serif;
}
a { text-decoration: none; color: inherit; }
.section-title {
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title i { color: var(--main-color); }
.section-sub { color: rgba(74, 37, 48, 0.7); font-size: 0.9rem; margin-bottom: 1.2rem; }
.pill-btn {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: #fff;
  border: 1px solid rgba(244, 114, 182, 0.3);
  color: var(--text-color);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  white-space: nowrap;
}
.pill-btn:hover, .pill-btn.active {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(244, 114, 182, 0.3);
}
/* Navbar */
.navbar {
  background: rgba(255, 245, 247, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 114, 182, 0.15);
  padding: 10px 0;
}
.navbar-brand {
  font-weight: 900;
  font-size: 1.7rem;
  color: var(--text-color);
  letter-spacing: 1px;
  font-family: 'Noto Serif SC', serif;
}
.navbar-brand i { color: var(--main-color); margin-right: 6px; }
.navbar .nav-link {
  color: var(--text-color);
  font-weight: 500;
  margin: 0 4px;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.navbar .nav-link:hover { color: var(--main-color); background: rgba(244, 114, 182, 0.1); }
.navbar-toggler { border: none; color: var(--main-color); }
/* Hero */
.hero-section {
  padding: 3rem 0 2rem;
  text-align: center;
  background: radial-gradient(circle at 20% 30%, rgba(244, 114, 182, 0.08), transparent 50%);
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-color);
  min-height: 4.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.hero-title .typing-cursor {
  display: inline-block;
  width: 4px;
  background: var(--main-color);
  animation: blink 1s step-end infinite;
  border-radius: 2px;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-desc {
  color: rgba(74, 37, 48, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 1rem auto 1.8rem;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-color);
  color: #4a2530;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
  margin-bottom: 1rem;
}
/* Cards */
.movie-card {
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  width: 180px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.movie-card:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--main-color);
}
.movie-poster {
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: linear-gradient(145deg, #fce7f3, #fff);
  display: block;
}
.movie-info { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.movie-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.movie-meta {
  font-size: 0.78rem;
  color: rgba(74, 37, 48, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
}
.rating {
  color: var(--accent-color);
  font-weight: 800;
  font-size: 0.85rem;
}
.rating i { font-size: 0.7rem; }
/* Scroll row */
.scroll-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px 18px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroll-row::-webkit-scrollbar { height: 6px; }
.scroll-row::-webkit-scrollbar-track { background: rgba(244, 114, 182, 0.05); border-radius: 10px; }
.scroll-row::-webkit-scrollbar-thumb { background: rgba(244, 114, 182, 0.3); border-radius: 10px; }
/* Rank list */
.rank-card {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 1px solid rgba(244, 114, 182, 0.05);
}
.rank-card:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: rgba(244, 114, 182, 0.2); }
.rank-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  margin-right: 14px;
  flex-shrink: 0;
}
.rank-1 { background: linear-gradient(135deg, #ffd700, #ffb800); color: #fff; box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5); }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #a8a8a8); color: #fff; box-shadow: 0 2px 8px rgba(192, 192, 192, 0.4); }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #b87333); color: #fff; box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4); }
.rank-n { background: rgba(244, 114, 182, 0.1); color: var(--main-color); }
.rank-info { flex: 1; display: flex; align-items: center; gap: 12px; overflow: hidden; }
.rank-thumb {
  width: 48px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background: #fce7f3;
  flex-shrink: 0;
}
.rank-name { font-weight: 600; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-tags { font-size: 0.75rem; color: rgba(74, 37, 48, 0.6); }
.rank-score { font-weight: 800; color: var(--accent-color); font-size: 1rem; }
/* Steps */
.steps-wrapper { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin: 20px 0; }
.step-item {
  background: #fff;
  border-radius: 16px;
  padding: 20px 22px;
  flex: 1;
  min-width: 160px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--main-color);
}
.step-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--main-color);
  font-family: 'Noto Serif SC', serif;
}
.step-text { font-weight: 500; margin-top: 6px; }
/* Category section */
.cat-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 2rem; }
/* FAQ */
.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--accent-color);
}
.faq-q { font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.faq-q i { color: var(--main-color); }
.faq-a { color: rgba(74, 37, 48, 0.8); font-size: 0.95rem; padding-left: 28px; }
/* Footer */
.footer {
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.05), rgba(244, 114, 182, 0.1));
  padding: 40px 0 20px;
  margin-top: 50px;
  border-top: 1px solid rgba(244, 114, 182, 0.15);
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; margin-bottom: 20px; }
.footer-links a { font-size: 0.9rem; color: rgba(74, 37, 48, 0.7); transition: color 0.2s; }
.footer-links a:hover { color: var(--main-color); }
/* Modal */
.modal-mask {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(74, 37, 48, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.modal-mask.show { display: flex; opacity: 1; }
.modal-card {
  background: #fff;
  border-radius: 20px;
  max-width: 720px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 50px rgba(74, 37, 48, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s;
  display: flex;
  padding: 24px;
  gap: 20px;
}
.modal-mask.show .modal-card { transform: translateY(0); }
.modal-poster {
  width: 200px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  background: #fce7f3;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(74, 37, 48, 0.08);
  border: none;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-color);
  z-index: 5;
}
.modal-close:hover { background: var(--main-color); color: #fff; transform: rotate(90deg); }
.modal-detail { flex: 1; }
.modal-detail h3 { font-weight: 800; margin-bottom: 10px; font-size: 1.5rem; }
.modal-tag { display: inline-block; background: rgba(244, 114, 182, 0.1); color: var(--main-color); border-radius: 20px; padding: 4px 12px; font-size: 0.8rem; margin-right: 6px; margin-bottom: 6px; font-weight: 500; }
.modal-plot { margin-top: 12px; font-size: 0.95rem; line-height: 1.7; color: rgba(74, 37, 48, 0.85); }
/* reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
/* 数字动画 */
.stat-number { font-weight: 900; color: var(--main-color); font-size: 1.4rem; }
/* 友链 */
.friend-links { text-align: center; padding: 20px 0; border-top: 1px dashed rgba(244, 114, 182, 0.3); margin-top: 30px; }
.friend-links h5 { font-weight: 700; margin-bottom: 12px; font-size: 1.1rem; }
/* responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .movie-card { width: 140px; }
  .movie-poster { height: 190px; }
  .modal-card { flex-direction: column; padding: 16px; }
  .modal-poster { width: 100%; height: 220px; }
}

/* --- 子页面追加 --- */
/* 覆盖Bootstrap组件默认白底黑字，确保视觉统一 */
        .accordion-item, .accordion-button, .list-group-item, .card {
            background: var(--card-bg, #fff0f5);
            color: var(--text-color);
            border-color: rgba(244, 114, 182, 0.25);
        }
.accordion-button:not(.collapsed) {
            background: rgba(244, 114, 182, 0.1);
            color: var(--text-color);
        }
.accordion-button:focus {
            box-shadow: none;
            border-color: rgba(244, 114, 182, 0.4);
        }
/* 关于页独有的小装饰 */
        .about-legend {
            background: linear-gradient(145deg, rgba(255,255,255,0.6), rgba(255,245,247,0.2));
            backdrop-filter: blur(2px);
        }
.stat-highlight {
            color: var(--accent-color);
            font-weight: 700;
        }
.about-quote {
            border-left: 4px solid var(--accent-color);
            padding-left: 1.2rem;
            font-style: italic;
        }

/* --- 子页面追加 --- */
.rank-hero {
            background: linear-gradient(135deg, rgba(244, 114, 182, 0.15), rgba(251, 191, 36, 0.1));
            border-radius: var(--card-radius);
            padding: 3rem 2rem;
            margin-bottom: 2.5rem;
            border: 1px solid rgba(244, 114, 182, 0.15);
        }
.rank-tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 2rem;
        }
.rank-tab {
            padding: 0.5rem 1.25rem;
            border-radius: 50px;
            background: var(--bg-color);
            border: 1px solid rgba(244, 114, 182, 0.25);
            color: var(--text-color);
            font-weight: 500;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
.rank-tab:hover, .rank-tab.active {
            background: var(--main-color);
            color: #fff;
            border-color: var(--main-color);
            box-shadow: var(--shadow-sm);
        }
.rank-section {
            margin-bottom: 3rem;
        }
.rank-section-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }
.rank-section-header .icon-badge {
            width: 42px;
            height: 42px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            background: linear-gradient(135deg, var(--main-color), var(--accent-color));
            color: #fff;
            flex-shrink: 0;
        }
.rank-section-header h2 {
            margin: 0;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-color);
        }
.rank-section-header .update-tag {
            font-size: 0.75rem;
            color: var(--main-color);
            background: rgba(244, 114, 182, 0.1);
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-weight: 500;
        }
.rank-info .title {
            font-weight: 600;
            font-size: 1rem;
            color: var(--text-color);
            margin-bottom: 0.3rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-info .desc {
            font-size: 0.8rem;
            color: rgba(74, 37, 48, 0.6);
            margin-bottom: 0.4rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.rank-info .meta {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: rgba(74, 37, 48, 0.5);
        }
.rank-info .meta .rating {
            color: var(--accent-color);
            font-weight: 600;
        }
.rank-score .score {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--main-color);
        }
.rank-score .label {
            font-size: 0.7rem;
            color: rgba(74, 37, 48, 0.5);
            display: block;
        }
.trend-up { color: #10b981; font-size: 0.7rem; }
.trend-down { color: #ef4444; font-size: 0.7rem; }
.trend-flat { color: #94a3b8; font-size: 0.7rem; }
.rank-footer-note {
            text-align: center;
            padding: 2rem 0 1rem;
            color: rgba(74, 37, 48, 0.5);
            font-size: 0.85rem;
        }
.rank-score .score { font-size: 1.1rem; }
.rank-section-header h2 { font-size: 1.2rem; }
.rank-hero { padding: 2rem 1.5rem; }

/* --- 子页面追加 --- */
/* 本页专属小范围样式 */
    .movie-filter-bar {
      background: rgba(244, 114, 182, 0.06);
      border: 1px solid rgba(244, 114, 182, 0.15);
      border-radius: var(--card-radius);
      padding: 18px 20px;
      margin-bottom: 32px;
    }
.filter-badge {
      display: inline-block;
      padding: 6px 16px;
      margin: 4px 6px 4px 0;
      border-radius: 20px;
      font-size: 0.85rem;
      color: var(--text-color);
      background: rgba(244, 114, 182, 0.08);
      border: 1px solid rgba(244, 114, 182, 0.2);
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
    }
.filter-badge:hover, .filter-badge.active {
      background: var(--main-color);
      color: #fff;
      border-color: var(--main-color);
      box-shadow: 0 4px 12px rgba(244, 114, 182, 0.3);
    }
.page-hero {
      padding: 70px 0 40px;
      text-align: center;
    }
.page-hero .hero-badge {
      margin-bottom: 16px;
    }
.movie-section-title {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--text-color);
      margin-bottom: 8px;
      position: relative;
      display: inline-block;
    }
.movie-section-title::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 40px;
      height: 3px;
      background: var(--accent-color);
      border-radius: 3px;
    }
.movie-section-desc {
      color: rgba(74, 37, 48, 0.6);
      margin-bottom: 28px;
      font-size: 0.95rem;
    }
.load-more-btn {
      display: inline-block;
      padding: 12px 36px;
      background: var(--main-color);
      color: #fff;
      border: none;
      border-radius: 30px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      text-decoration: none;
      box-shadow: 0 4px 16px rgba(244, 114, 182, 0.3);
    }
.load-more-btn:hover {
      background: #e05a9f;
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(244, 114, 182, 0.4);
    }
.empty-tip {
      text-align: center;
      padding: 60px 20px;
      color: rgba(74, 37, 48, 0.5);
    }
.empty-tip i {
      font-size: 3rem;
      margin-bottom: 16px;
      color: rgba(244, 114, 182, 0.3);
    }

/* --- 子页面追加 --- */
/* 本页专属样式 */
    .tv-hero {
      padding: 80px 0 40px;
      background: linear-gradient(135deg, rgba(244, 114, 182, 0.08) 0%, rgba(251, 191, 36, 0.06) 100%);
      border-bottom: 1px solid rgba(244, 114, 182, 0.15);
    }
.tv-hero .hero-title {
      font-size: 2.4rem;
      font-weight: 900;
      color: var(--text-color);
      margin-bottom: 16px;
    }
.tv-hero .hero-desc {
      font-size: 1.1rem;
      color: #8a6570;
      max-width: 720px;
      margin: 0 auto;
    }
.tv-section {
      padding: 50px 0;
    }
.tv-section-alt {
      background: rgba(244, 114, 182, 0.03);
    }
.genre-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin-bottom: 30px;
    }
.genre-tab {
      padding: 8px 20px;
      border-radius: 30px;
      background: #fff;
      border: 1.5px solid rgba(244, 114, 182, 0.25);
      color: var(--text-color);
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }
.genre-tab:hover, .genre-tab.active {
      background: var(--main-color);
      color: #fff;
      border-color: var(--main-color);
    }
.tv-feature-card {
      background: #fff;
      border-radius: var(--card-radius);
      padding: 24px;
      box-shadow: var(--shadow-sm);
      transition: all 0.3s ease;
      height: 100%;
      border: 1px solid rgba(244, 114, 182, 0.1);
    }
.tv-feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
.tv-feature-icon {
      font-size: 2.2rem;
      color: var(--main-color);
      margin-bottom: 14px;
    }
.tv-feature-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--text-color);
      margin-bottom: 10px;
    }
.tv-feature-text {
      font-size: 0.92rem;
      color: #8a6570;
      line-height: 1.7;
    }
.update-badge {
      position: absolute;
      top: 10px;
      right: 10px;
      background: rgba(244, 114, 182, 0.9);
      color: #fff;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      z-index: 2;
    }
.tv-list-card {
      background: #fff;
      border-radius: var(--card-radius);
      padding: 20px;
      box-shadow: var(--shadow-sm);
      border: 1px solid rgba(244, 114, 182, 0.08);
      transition: all 0.3s ease;
    }
.tv-list-card:hover {
      box-shadow: var(--shadow-md);
      transform: translateY(-2px);
    }
.tv-list-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-color);
      margin-bottom: 8px;
    }
.tv-list-desc {
      font-size: 0.9rem;
      color: #8a6570;
      line-height: 1.6;
    }
.tv-list-meta {
      font-size: 0.82rem;
      color: var(--main-color);
      font-weight: 500;
      margin-top: 10px;
    }
.tv-hero { padding: 60px 0 30px; }
.tv-hero .hero-title { font-size: 1.8rem; }

/* --- 子页面追加 --- */
/* 本页专属样式 - 综艺页面 */
        .variety-hero {
            background: linear-gradient(135deg, rgba(244, 114, 182, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
            border-radius: 20px;
            padding: 48px 32px;
            margin-bottom: 40px;
            position: relative;
            overflow: hidden;
        }
.variety-hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(244, 114, 182, 0.2) 0%, transparent 70%);
            border-radius: 50%;
        }
.variety-hero::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -10%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
            border-radius: 50%;
        }
.variety-hero .hero-content {
            position: relative;
            z-index: 1;
        }
.variety-section {
            margin-bottom: 48px;
        }
.variety-card {
            background: #fff;
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-sm);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
.variety-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-md);
        }
.variety-card .card-img-wrap {
            position: relative;
            padding-top: 56.25%;
            overflow: hidden;
        }
.variety-card .card-img-wrap img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
.variety-card:hover .card-img-wrap img {
            transform: scale(1.05);
        }
.variety-card .card-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: var(--main-color);
            color: #fff;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
        }
.variety-card .card-body {
            padding: 16px;
        }
.variety-card .card-title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.variety-card .card-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 8px;
        }
.variety-card .card-meta .rating {
            color: var(--accent-color);
            font-weight: 600;
            font-size: 14px;
        }
.variety-card .card-meta .type-tag {
            background: rgba(244, 114, 182, 0.1);
            color: var(--main-color);
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 500;
        }
.variety-card .card-desc {
            font-size: 13px;
            color: #888;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 12px;
        }
.variety-card .card-footer {
            padding-top: 12px;
            border-top: 1px solid rgba(244, 114, 182, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
.variety-card .card-footer .episode {
            font-size: 12px;
            color: #999;
        }
.variety-card .card-footer .play-btn {
            background: var(--main-color);
            color: #fff;
            padding: 6px 16px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 500;
            text-decoration: none;
            transition: background 0.3s;
        }
.variety-card .card-footer .play-btn:hover {
            background: var(--accent-color);
        }
.variety-list-item {
            display: flex;
            align-items: center;
            background: #fff;
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-sm);
            padding: 12px;
            margin-bottom: 12px;
            transition: box-shadow 0.3s;
        }
.variety-list-item:hover {
            box-shadow: var(--shadow-md);
        }
.variety-list-item .rank {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 14px;
            margin-right: 12px;
            flex-shrink: 0;
        }
.variety-list-item .rank.rank-1 { background: #fbbf24; color: #fff; }
.variety-list-item .rank.rank-2 { background: #c0c0c0; color: #fff; }
.variety-list-item .rank.rank-3 { background: #cd7f32; color: #fff; }
.variety-list-item .rank.rank-n { background: rgba(244, 114, 182, 0.1); color: var(--main-color); }
.variety-list-item .item-thumb {
            width: 64px;
            height: 48px;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 12px;
            flex-shrink: 0;
        }
.variety-list-item .item-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
.variety-list-item .item-info {
            flex: 1;
            min-width: 0;
        }
.variety-list-item .item-info .item-title {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-color);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-bottom: 4px;
        }
.variety-list-item .item-info .item-sub {
            font-size: 12px;
            color: #999;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.variety-list-item .item-score {
            font-weight: 700;
            color: var(--accent-color);
            font-size: 16px;
            margin-left: 12px;
            flex-shrink: 0;
        }
.feature-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 16px;
        }
.feature-item {
            background: #fff;
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-sm);
            padding: 24px;
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
.feature-item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-md);
        }
.feature-item .icon {
            font-size: 32px;
            color: var(--main-color);
            margin-bottom: 16px;
        }
.feature-item .title {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-color);
            margin-bottom: 8px;
        }
.feature-item .desc {
            font-size: 13px;
            color: #777;
            line-height: 1.6;
        }
.category-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 24px;
        }
.category-pill {
            padding: 6px 20px;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            background: rgba(244, 114, 182, 0.08);
            color: var(--text-color);
            text-decoration: none;
            transition: all 0.3s;
            border: 1px solid transparent;
        }
.category-pill:hover, .category-pill.active {
            background: var(--main-color);
            color: #fff;
            border-color: var(--main-color);
        }

/* --- 子页面追加 --- */
/* 本页专属小样式 */
        .anime-hero {
            background: linear-gradient(135deg, rgba(244, 114, 182, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
            border-radius: var(--card-radius);
            padding: 3rem 2rem;
            margin: 2rem 0 3rem;
            text-align: center;
            border: 1px solid rgba(244, 114, 182, 0.2);
        }
.anime-hero h1 {
            color: var(--main-color);
            font-weight: 800;
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }
.anime-hero p {
            color: var(--text-color);
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.05rem;
            line-height: 1.8;
        }
.anime-section-title {
            color: var(--main-color);
            font-weight: 700;
            font-size: 1.5rem;
            margin: 2.5rem 0 1.5rem;
            padding-left: 1rem;
            border-left: 4px solid var(--accent-color);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
.anime-section-title i {
            color: var(--accent-color);
        }
.anime-card {
            background: var(--bg-color);
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            overflow: hidden;
            border: 1px solid rgba(244, 114, 182, 0.15);
            margin-bottom: 1.5rem;
        }
.anime-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
.anime-card-poster {
            position: relative;
            aspect-ratio: 3/4;
            overflow: hidden;
            background: #f8e5ee;
        }
.anime-card-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
.anime-card:hover .anime-card-poster img {
            transform: scale(1.05);
        }
.anime-card-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--main-color);
            color: #fff;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 3px 10px;
            border-radius: 20px;
            letter-spacing: 0.5px;
        }
.anime-card-body {
            padding: 1rem;
        }
.anime-card-title {
            font-weight: 600;
            color: var(--text-color);
            font-size: 1rem;
            margin-bottom: 0.4rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
.anime-card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            color: #b88a9a;
        }
.anime-card-meta .rating {
            color: var(--accent-color);
            font-weight: 600;
        }
.anime-rank-list {
            background: var(--bg-color);
            border-radius: var(--card-radius);
            padding: 1.5rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(244, 114, 182, 0.1);
            margin-bottom: 2rem;
        }
.anime-rank-item {
            display: flex;
            align-items: center;
            padding: 0.8rem 0;
            border-bottom: 1px dashed rgba(244, 114, 182, 0.2);
            transition: background 0.2s ease;
        }
.anime-rank-item:last-child {
            border-bottom: none;
        }
.anime-rank-item:hover {
            background: rgba(244, 114, 182, 0.05);
            border-radius: 8px;
            padding-left: 0.5rem;
        }
.anime-rank-num {
            font-size: 1.2rem;
            font-weight: 800;
            color: var(--main-color);
            min-width: 35px;
            text-align: center;
        }
.anime-rank-info {
            flex: 1;
            padding: 0 0.8rem;
        }
.anime-rank-name {
            font-weight: 600;
            color: var(--text-color);
            font-size: 0.95rem;
        }
.anime-rank-desc {
            font-size: 0.8rem;
            color: #b88a9a;
        }
.anime-rank-score {
            color: var(--accent-color);
            font-weight: 700;
            font-size: 0.9rem;
        }
.anime-tag {
            display: inline-block;
            background: rgba(244, 114, 182, 0.1);
            color: var(--main-color);
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin: 0 0.4rem 0.8rem 0;
            border: 1px solid rgba(244, 114, 182, 0.2);
            transition: all 0.2s ease;
        }
.anime-tag:hover {
            background: var(--main-color);
            color: #fff;
            text-decoration: none;
        }
.anime-tips {
            background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(244, 114, 182, 0.1));
            border-radius: var(--card-radius);
            padding: 2rem;
            margin: 3rem 0;
            border: 1px solid rgba(251, 191, 36, 0.3);
        }
.anime-hero {
                padding: 2rem 1rem;
            }
.anime-hero h1 {
                font-size: 1.6rem;
            }
.anime-section-title {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
/* 本页专属样式 */
        .disclaimer-hero {
            background: linear-gradient(135deg, rgba(244, 114, 182, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid rgba(244, 114, 182, 0.15);
        }
.disclaimer-content {
            padding: 50px 0 70px;
        }
.disclaimer-card {
            background: #fff;
            border-radius: var(--card-radius);
            padding: 30px 35px;
            box-shadow: var(--shadow-sm);
            border-left: 4px solid var(--main-color);
            margin-bottom: 25px;
        }
.disclaimer-card h3 {
            color: var(--text-color);
            font-weight: 700;
            font-size: 1.25rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.disclaimer-card h3 i {
            color: var(--main-color);
        }
.disclaimer-card p {
            color: #6b4a55;
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 10px;
        }
.disclaimer-card ul {
            padding-left: 20px;
            color: #6b4a55;
            font-size: 0.95rem;
            line-height: 1.8;
        }
.disclaimer-card ul li {
            margin-bottom: 6px;
        }
.disclaimer-highlight {
            background: rgba(244, 114, 182, 0.08);
            border-radius: 10px;
            padding: 20px 25px;
            margin: 20px 0;
            border: 1px dashed rgba(244, 114, 182, 0.4);
        }
.disclaimer-highlight p {
            margin-bottom: 5px;
            color: var(--text-color);
            font-weight: 500;
        }
.back-home-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--main-color);
            color: #fff;
            padding: 12px 28px;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 30px;
        }
.back-home-btn:hover {
            background: var(--accent-color);
            color: var(--text-color);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(244, 114, 182, 0.3);
        }
.disclaimer-card {
                padding: 20px 20px;
            }
.disclaimer-hero {
                padding: 40px 0 30px;
            }

/* --- 子页面追加 --- */
/* 本页专属小样式，仅用于补充排版细节 */
        .privacy-section {
            background: var(--bg-color);
            border-radius: var(--card-radius);
            padding: 2.5rem 2.8rem;
            margin-bottom: 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(244, 114, 182, 0.1);
        }
.privacy-section h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--main-color);
            margin-bottom: 1.2rem;
            padding-bottom: 0.6rem;
            border-bottom: 2px solid rgba(244, 114, 182, 0.2);
            display: inline-block;
        }
.privacy-section p {
            color: var(--text-color);
            line-height: 1.9;
            margin-bottom: 1rem;
            font-size: 0.95rem;
        }
.privacy-section ul {
            padding-left: 1.4rem;
            color: var(--text-color);
            line-height: 2;
            margin-bottom: 1.2rem;
        }
.privacy-section ul li {
            margin-bottom: 0.4rem;
            position: relative;
            padding-left: 0.5rem;
        }
.privacy-section ul li::before {
            content: "✦";
            color: var(--accent-color);
            margin-right: 0.6rem;
            font-size: 0.8rem;
        }
.privacy-highlight {
            background: linear-gradient(135deg, rgba(244, 114, 182, 0.08), rgba(251, 191, 36, 0.08));
            border-radius: var(--card-radius);
            padding: 1.5rem 2rem;
            margin: 1.5rem 0;
            border-left: 4px solid var(--main-color);
        }
.privacy-highlight p {
            margin-bottom: 0.5rem;
        }
.privacy-date {
            display: inline-block;
            background: var(--main-color);
            color: #fff;
            padding: 0.3rem 1.2rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
        }
.privacy-page-header {
            padding: 3rem 0 2rem;
            text-align: center;
        }
.privacy-page-header .page-badge {
            display: inline-block;
            background: rgba(244, 114, 182, 0.12);
            color: var(--main-color);
            padding: 0.3rem 1.2rem;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }
.privacy-page-header h1 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--text-color);
            margin-bottom: 0.8rem;
        }
.privacy-page-header p {
            color: #a07b88;
            max-width: 600px;
            margin: 0 auto;
        }
.privacy-section {
                padding: 1.5rem 1.2rem;
            }
.privacy-section h2 {
                font-size: 1.3rem;
            }
.privacy-page-header h1 {
                font-size: 1.7rem;
            }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.accordion-body { background:transparent !important; color:#4a2530 !important; }
.accordion-header { background:transparent !important; }
