:root {
      --main: #f472b6;
      --accent: #fbbf24;
      --bg: #fff5f7;
      --text: #4a2530;
      --card-radius: 8px;
      --shadow-sm: 0 2px 8px rgba(244, 114, 182, 0.06);
      --shadow-hover: 0 12px 24px rgba(74, 37, 48, 0.12);
      --font-head: 'Inter', sans-serif;
    }

    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: var(--font-head);
      font-size: 0.92rem;
      line-height: 1.45;
    }

    /* 紧凑高密度 */
    .container-fluid {
      padding-left: 2.2rem;
      padding-right: 2.2rem;
    }

    h1, h2, h3, .navbar-brand {
      font-weight: 800;
      letter-spacing: -0.01em;
      color: var(--text);
    }

    .section-title {
      font-size: 1.2rem;
      font-weight: 800;
      border-left: 5px solid var(--main);
      padding-left: 0.6rem;
      margin: 1.5rem 0 1rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .section-title i {
      color: var(--main);
    }

    /* 导航吸顶+毛玻璃 */
    .navbar-custom {
      background: rgba(255, 245, 247, 0.85) !important;
      backdrop-filter: blur(8px);
      border-bottom: 1px solid rgba(244, 114, 182, 0.2);
      transition: background 0.2s;
      padding-top: 0.4rem;
      padding-bottom: 0.4rem;
    }

    .navbar-custom.scrolled {
      background: rgba(255, 245, 247, 0.95) !important;
      box-shadow: 0 4px 15px rgba(74, 37, 48, 0.05);
    }

    .navbar-brand {
      font-weight: 900;
      font-size: 1.35rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .navbar-brand i {
      color: var(--main);
    }

    .navbar-nav .nav-link {
      font-weight: 600;
      font-size: 0.9rem;
      padding: 0.4rem 0.8rem;
      border-radius: 30px;
      transition: 0.2s;
    }

    .navbar-nav .nav-link:hover {
      background-color: rgba(244, 114, 182, 0.15);
    }

    /* Hero parallax */
    .hero {
      position: relative;
      min-height: 62vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background-image: url('{随机图片}'); /* 占位符，用于Hero背景 */
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      border-radius: 0 0 28px 28px;
      margin-bottom: 1rem;
      isolation: isolate;
    }

    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(74, 37, 48, 0.55);
      z-index: 1;
      border-radius: 0 0 28px 28px;
      backdrop-filter: brightness(0.7);
    }

    .hero-content {
      position: relative;
      z-index: 3;
      text-align: center;
      color: white;
      padding: 2rem 1rem;
    }

    .hero-content h1 {
      font-size: 2.7rem;
      font-weight: 900;
      text-shadow: 0 2px 20px rgba(0,0,0,0.4);
      color: white;
    }

    .hero-content p {
      font-size: 1.1rem;
      opacity: 0.9;
      max-width: 600px;
      margin: 0 auto;
      color: #fef2f7;
    }

    /* 海报卡片 */
    .poster-grid {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 0.8rem;
      padding-bottom: 0.8rem;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
    }

    .poster-card {
      flex: 0 0 140px;
      scroll-snap-align: start;
      background: white;
      border-radius: var(--card-radius);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: transform 0.25s ease, box-shadow 0.25s;
      cursor: pointer;
      border: 1px solid #ffe3ee;
      position: relative;
    }

    .poster-card:hover {
      transform: translateY(-4px) scale(1.02);
      box-shadow: var(--shadow-hover);
    }

    .poster-card img {
      width: 100%;
      height: 190px;
      object-fit: cover;
      display: block;
      background-color: #f3d9e3;
      transition: transform 0.3s;
    }

    .poster-card:hover img {
      transform: scale(1.06);
    }

    .poster-info {
      padding: 0.4rem 0.5rem 0.6rem;
      background: white;
    }

    .poster-title {
      font-weight: 700;
      font-size: 0.85rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-bottom: 0.1rem;
    }

    .poster-meta {
      font-size: 0.72rem;
      color: #8e5a68;
      display: flex;
      justify-content: space-between;
    }

    .badge-hd {
      position: absolute;
      top: 8px;
      right: 8px;
      background: rgba(0,0,0,0.6);
      color: var(--accent);
      font-size: 0.6rem;
      font-weight: 700;
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
      backdrop-filter: blur(2px);
      border: 1px solid var(--accent);
    }

    /* 榜单 数字 */
    .rank-number {
      font-family: 'Courier New', monospace;
      font-weight: 800;
      color: var(--main);
    }

    /* 时间线 */
    .timeline-item {
      border-left: 2px solid var(--main);
      padding-left: 1rem;
      margin-bottom: 1rem;
      position: relative;
    }
    .timeline-item::before {
      content: "●";
      color: var(--accent);
      position: absolute;
      left: -8px;
      top: 0;
      background: var(--bg);
    }

    /* 标签页 */
    .nav-pills .nav-link {
      background: white;
      color: var(--text);
      margin-right: 0.4rem;
      font-weight: 600;
      border: 1px solid #ffdae8;
      font-size: 0.85rem;
    }
    .nav-pills .nav-link.active {
      background-color: var(--main);
      border-color: var(--main);
    }

    /* 侧滑弹窗 */
    .drawer-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.3);
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      z-index: 1090;
    }
    .drawer-panel {
      position: fixed;
      top: 0;
      right: -360px;
      width: 320px;
      max-width: 90vw;
      height: 100%;
      background: #fff;
      z-index: 1100;
      transition: right 0.3s ease;
      box-shadow: -10px 0 30px rgba(0,0,0,0.2);
      padding: 1.2rem;
      overflow-y: auto;
      border-radius: 16px 0 0 16px;
    }
    .drawer-panel.show { right: 0; }
    .drawer-overlay.show { opacity: 1; visibility: visible; }
    .drawer-close {
      position: absolute;
      top: 10px;
      right: 10px;
      background: none;
      border: none;
      font-size: 1.8rem;
      line-height: 1;
      color: var(--text);
    }
    .drawer-poster { width: 100%; border-radius: 8px; margin-bottom: 1rem; }

    footer {
      background: #fdeef4;
      border-top: 1px solid #ffd9e8;
    }
    .footer-link, .friend-link a {
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      margin-right: 0.8rem;
    }
    .friend-link a:hover { color: var(--main); }

    /* 等宽数据 */
    .data-mono { font-family: 'SFMono-Regular', Consolas, monospace; }

    /* 友链区 */
    .friend-links {
      background: white;
      border-radius: 12px;
      padding: 0.8rem 1.2rem;
      border: 1px solid #ffddea;
    }

/* --- 子页面追加 --- */
/* 排行榜页面专用：在全局CSS基础上仅补充榜单细节，不破坏整体风格 */
    .rank-hero {
      background: linear-gradient(145deg, rgba(244,114,182,0.06) 0%, rgba(251,191,36,0.04) 100%);
      border-bottom: 1px solid rgba(244,114,182,0.15);
      padding: 3rem 0 2.2rem;
      margin-bottom: 1.8rem;
    }
.rank-hero h1 {
      font-weight: 800;
      letter-spacing: -0.02em;
      color: var(--text);
      font-size: 2.2rem;
    }
.rank-hero p {
      color: var(--text);
      opacity: 0.75;
      max-width: 680px;
      font-size: 1.05rem;
    }
.rank-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
      border-bottom: 1px solid rgba(244,114,182,0.2);
      padding-bottom: 0.7rem;
      margin-bottom: 2rem;
    }
.rank-tabs .tab-item {
      font-weight: 600;
      color: var(--text);
      opacity: 0.6;
      cursor: default;
      border-radius: 30px;
      padding: 0.3rem 1.2rem;
      background: transparent;
      transition: 0.2s;
      font-size: 0.95rem;
    }
.rank-tabs .tab-item.active {
      background: var(--main);
      color: #fff;
      opacity: 1;
      box-shadow: 0 4px 12px rgba(244,114,182,0.25);
    }
.rank-section-title {
      font-weight: 700;
      color: var(--text);
      border-left: 5px solid var(--accent);
      padding-left: 0.9rem;
      margin: 2.5rem 0 1.5rem;
      font-size: 1.6rem;
    }
.rank-section-title i {
      color: var(--main);
      margin-right: 0.5rem;
    }
.list-card {
      background: rgba(255,255,255,0.65);
      backdrop-filter: blur(2px);
      border-radius: var(--card-radius);
      box-shadow: var(--shadow-sm);
      transition: all 0.25s;
      border: 1px solid rgba(244,114,182,0.12);
      padding: 0.8rem 1.2rem;
      margin-bottom: 0.9rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }
.list-card:hover {
      box-shadow: var(--shadow-hover);
      transform: translateY(-2px);
      border-color: rgba(244,114,182,0.35);
    }
.rank-number.top-1 {
      color: var(--accent);
      font-size: 2.2rem;
    }
.rank-number.top-2 {
      color: var(--main);
    }
.rank-number.top-3 {
      color: #f59e0b;
    }
.rank-info {
      flex: 1;
    }
.rank-info .title {
      font-weight: 700;
      font-size: 1.2rem;
      color: var(--text);
      margin-bottom: 0.2rem;
    }
.rank-info .meta {
      font-size: 0.9rem;
      color: var(--text);
      opacity: 0.6;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
    }
.badge-accent {
      background: rgba(251,191,36,0.15);
      border-color: rgba(251,191,36,0.3);
      color: #b45309;
    }
.trend-up {
      color: #10b981;
      font-weight: 600;
      font-size: 0.85rem;
    }
.trend-down {
      color: #ef4444;
      font-weight: 600;
      font-size: 0.85rem;
    }
.footer-link {
      color: var(--text);
      opacity: 0.7;
      text-decoration: none;
    }
.footer-link:hover {
      opacity: 1;
      color: var(--main);
    }
/* 防止bootstrap 污染背景 */
    .navbar, .navbar-custom, .navbar-nav, .nav-link {
      background: transparent !important;
    }

/* --- 子页面追加 --- */
/* 保证任何 Bootstrap 组件不会破坏深色/粉色主题 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer,
        .form-control, .form-select, .form-label, .input-group-text,
        .table, .list-group-item, .accordion-item, .accordion-button, .accordion-body,
        .modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item,
        .nav-link, .navbar, .navbar-brand {
            background: transparent;
            color: var(--text);
            border-color: rgba(244, 114, 182, 0.25);
        }
.form-control::placeholder {
            color: rgba(74, 37, 48, 0.5);
        }
/* 确保卡片类有背景色（因为站点卡片可能偏透明） */
        .about-card {
            background: #ffffffdd;
            backdrop-filter: blur(2px);
            border: 1px solid rgba(244, 114, 182, 0.2);
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-sm);
            transition: box-shadow 0.2s;
        }
.about-card:hover {
            box-shadow: var(--shadow-hover);
        }
/* 页面特有微调 */
        .about-hero {
            background: linear-gradient(145deg, #ffe3ec 0%, #fff0f5 100%);
        }
.stat-number {
            font-weight: 800;
            color: var(--main);
            font-size: 2.2rem;
        }
.icon-badge {
            background-color: var(--accent);
            color: #4a2530;
            border-radius: 50px;
            padding: 0.3rem 0.9rem;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
        }

/* --- 子页面追加 --- */
.disclaimer-section {
            padding: 40px 0;
        }
.disclaimer-card {
            background: #fff;
            border-radius: var(--card-radius);
            box-shadow: var(--shadow-sm);
            padding: 32px;
            margin-bottom: 24px;
            transition: box-shadow 0.3s ease;
        }
.disclaimer-card:hover {
            box-shadow: var(--shadow-hover);
        }
.disclaimer-card h2 {
            font-family: var(--font-head);
            font-weight: 800;
            color: var(--main);
            font-size: 1.5rem;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 2px solid rgba(244, 114, 182, 0.15);
        }
.disclaimer-card h3 {
            font-family: var(--font-head);
            font-weight: 700;
            color: var(--text);
            font-size: 1.15rem;
            margin: 20px 0 12px;
        }
.disclaimer-card p, .disclaimer-card li {
            color: var(--text);
            font-size: 0.95rem;
            line-height: 1.8;
            font-weight: 400;
        }
.disclaimer-card ul {
            padding-left: 20px;
            margin-bottom: 16px;
        }
.disclaimer-card ul li {
            margin-bottom: 8px;
        }
.highlight-box {
            background: linear-gradient(135deg, rgba(244, 114, 182, 0.08), rgba(251, 191, 36, 0.08));
            border-left: 4px solid var(--main);
            padding: 20px 24px;
            border-radius: 0 var(--card-radius) var(--card-radius) 0;
            margin: 20px 0;
        }
.highlight-box p {
            margin-bottom: 0;
            font-weight: 500;
        }
.disclaimer-meta {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.85rem;
            color: #8a6a72;
            margin-top: 16px;
        }
.disclaimer-meta i {
            color: var(--main);
        }
.disclaimer-card {
                padding: 24px 20px;
            }