:root {
      --primary: #ea580c;
      --accent: #d97706;
      --bg: #fffbf5;
      --text: #1c1917;
      --border: #f0e6da;
      --card-shadow: 0 6px 18px rgba(234, 88, 12, 0.06);
      --radius: 8px;
    }
    * { box-sizing: border-box; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      overflow-x: hidden;
    }
    /* 几何色块背景 */
    .geo-shapes::before, .geo-shapes::after {
      content: '';
      position: absolute;
      z-index: 0;
      border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
      background: rgba(234, 88, 12, 0.03);
    }
    .geo-shapes::before { width: 500px; height: 500px; top: 80px; left: -200px; }
    .geo-shapes::after { width: 400px; height: 400px; bottom: -100px; right: -120px; background: rgba(217, 119, 6, 0.04); transform: rotate(45deg); }
    
    /* 导航 */
    .custom-nav {
      transition: background 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.2s;
      backdrop-filter: blur(0px);
      background: rgba(255, 251, 245, 0.85) !important;
      border-bottom: 1px solid rgba(234, 88, 12, 0.1);
    }
    .custom-nav.scrolled {
      background: rgba(255, 251, 245, 0.94) !important;
      backdrop-filter: blur(12px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.6rem;
      letter-spacing: -0.02em;
      color: var(--primary) !important;
      display: inline-flex;
      align-items: center;
    }
    .navbar-brand i { color: var(--accent); margin-right: 6px; }
    .nav-link-custom {
      font-weight: 600;
      color: var(--text) !important;
      margin: 0 0.4rem;
      border-radius: 30px;
      transition: all 0.15s;
      padding: 0.5rem 1rem !important;
    }
    .nav-link-custom:hover { background: rgba(234, 88, 12, 0.08); color: var(--primary) !important; }
    
    /* 侧栏布局 */
    .sidebar-layout {
      display: flex;
      max-width: 1480px;
      margin: 0 auto;
      padding: 2rem 1.2rem;
      gap: 2rem;
    }
    .sidebar {
      flex: 0 0 220px;
      position: sticky;
      top: 90px;
      height: fit-content;
      border-right: 1px solid var(--border);
      padding-right: 1.2rem;
    }
    .sidebar .side-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 14px;
      border-radius: var(--radius);
      color: var(--text);
      font-weight: 500;
      text-decoration: none;
      transition: background 0.15s;
    }
    .sidebar .side-item i { width: 24px; color: var(--accent); }
    .sidebar .side-item:hover { background: #fff4e5; color: var(--primary); }
    .sidebar .side-heading {
      font-size: 0.8rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #aaa;
      margin: 1.2rem 0 0.5rem 0.6rem;
    }
    
    /* 瀑布流卡片区域 */
    .masonry-grid {
      column-count: 3;
      column-gap: 1.5rem;
      width: 100%;
    }
    .masonry-card {
      break-inside: avoid;
      margin-bottom: 1.5rem;
      background: white;
      border-radius: var(--radius);
      box-shadow: var(--card-shadow);
      overflow: hidden;
      border: 1px solid rgba(234, 88, 12, 0.05);
      transition: transform 0.2s;
    }
    .masonry-card:hover { transform: translateY(-5px); }
    .card-cover {
      position: relative;
      aspect-ratio: 3/4;
      background: #f1eae1;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(28,25,23,0.3);
      font-size: 0.9rem;
    }
    .card-cover img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
    .card-cover .hover-play {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.1);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.25s;
    }
    .masonry-card:hover .hover-play { opacity: 1; }
    .hover-play i {
      background: rgba(255,255,255,0.95);
      border-radius: 50%;
      width: 56px;
      height: 56px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      color: var(--primary);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      padding-left: 5px;
    }
    .masonry-body { padding: 1rem 1.1rem 1.2rem; }
    .masonry-body h5 { font-weight: 700; margin-bottom: 4px; }
    .masonry-meta { color: #9a8f85; font-size: 0.85rem; display: flex; justify-content: space-between; }
    .masonry-meta span i { color: var(--accent); margin-right: 5px; }
    
    /* 通用区块 */
    .section-title {
      font-size: 2.4rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
    }
    .section-sub { color: #6b5e54; max-width: 700px; }
    
    .icon-feature {
      background: white;
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem 1.6rem;
      transition: all 0.2s;
      height: 100%;
    }
    .icon-feature:hover { border-color: var(--primary); box-shadow: 0 12px 25px rgba(234, 88, 12, 0.06); }
    .icon-feature i { font-size: 2.2rem; color: var(--primary); }
    .icon-feature h6 { font-weight: 700; margin-top: 1rem; font-size: 1.1rem; }
    
    /* 手风琴 */
    .accordion-custom .accordion-item { background: transparent; border: 1px solid var(--border); margin-bottom: 10px; border-radius: var(--radius) !important; overflow: hidden; }
    .accordion-custom .accordion-button { background: white; font-weight: 600; color: var(--text); box-shadow: none; }
    .accordion-custom .accordion-button:not(.collapsed) { background: #fff4e9; color: var(--primary); }
    
    /* hero */
    .hero-section {
      position: relative;
      background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('{随机图片}') center/cover no-repeat;
      background-attachment: fixed;
      min-height: 420px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      margin-bottom: 2rem;
    }
    .hero-content h1 {
      font-size: 3.8rem;
      font-weight: 900;
      letter-spacing: -0.02em;
      text-shadow: 0 4px 30px rgba(0,0,0,0.2);
    }
    .hero-content p { font-size: 1.3rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }
    
    /* 页脚 */
    .footer {
      border-top: 1px solid var(--border);
      background: #fff9f0;
      padding: 2.5rem 0 1.5rem;
      margin-top: 3rem;
    }
    .footer .brand { font-weight: 900; font-size: 1.3rem; color: var(--primary); }
    
    /* 等宽数据 */
    .mono-num { font-family: 'SF Mono', 'Fira Code', monospace; font-weight: 600; color: var(--primary); }
    
    @media (max-width: 992px) {
      .sidebar { display: none; }
      .masonry-grid { column-count: 2; }
    }
    @media (max-width: 600px) {
      .masonry-grid { column-count: 1; }
      .hero-content h1 { font-size: 2.4rem; }
    }

/* --- 子页面追加 --- */
.rank-hero { padding: 80px 0 40px; background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(217, 119, 6, 0.05)); border-bottom: 1px solid var(--border); }
.rank-hero h1 { font-size: 2.5rem; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.rank-hero h1 span { color: var(--primary); }
.rank-hero p { color: #6b6560; font-size: 1.05rem; max-width: 720px; }
.rank-tabs { border-bottom: 2px solid var(--border); margin-bottom: 32px; }
.rank-tabs .btn { border: none; background: transparent; color: #6b6560; padding: 12px 24px; font-weight: 600; font-size: 0.95rem; border-radius: 0; position: relative; }
.rank-tabs .btn:hover { color: var(--primary); }
.rank-tabs .btn.active { color: var(--primary); }
.rank-tabs .btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: var(--primary); }
.rank-section { margin-bottom: 48px; }
.rank-card { display: flex; gap: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; box-shadow: var(--card-shadow); transition: transform 0.2s; }
.rank-card:hover { transform: translateY(-2px); }
.rank-number { font-size: 2rem; font-weight: 900; color: var(--primary); min-width: 60px; text-align: center; opacity: 0.8; }
.rank-cover { width: 90px; height: 120px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.rank-cover img { width: 100%; height: 100%; object-fit: cover; }
.rank-info { flex: 1; }
.rank-info h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.rank-info .tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.rank-info .tag { background: rgba(234, 88, 12, 0.1); color: var(--primary); font-size: 0.75rem; font-weight: 600; padding: 2px 10px; border-radius: 20px; }
.rank-info p { color: #6b6560; font-size: 0.9rem; line-height: 1.5; margin-bottom: 8px; }
.rank-meta { display: flex; gap: 20px; color: #8a8078; font-size: 0.85rem; }
.rank-meta i { color: var(--accent); margin-right: 4px; }
.rank-top3 .rank-card { background: linear-gradient(135deg, rgba(234, 88, 12, 0.05), rgba(217, 119, 6, 0.03)); border-color: rgba(234, 88, 12, 0.3); }
.rank-top3 .rank-number { font-size: 2.5rem; }
.rank-note { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 48px; box-shadow: var(--card-shadow); }
.rank-note h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.rank-note h3 i { color: var(--primary); margin-right: 8px; }
.rank-note p { color: #6b6560; font-size: 0.95rem; line-height: 1.7; }
.rank-note ul { padding-left: 20px; color: #6b6560; font-size: 0.95rem; line-height: 1.9; }
.rank-note li { margin-bottom: 4px; }
.rank-note li::marker { color: var(--primary); }
.rank-hero h1 { font-size: 1.8rem; }
.rank-card { flex-wrap: wrap; }
.rank-number { min-width: 40px; font-size: 1.5rem; }
.rank-cover { width: 70px; height: 95px; }
.rank-meta { flex-wrap: wrap; gap: 8px; }
.rank-tabs .btn { padding: 10px 16px; font-size: 0.85rem; }

/* --- 子页面追加 --- */
/* 本页专属样式——动作分类特有 */
    .action-badge {
      background: var(--primary);
      color: #fff;
      font-size: 0.75rem;
      font-weight: 700;
      padding: 2px 10px;
      border-radius: 20px;
      display: inline-block;
      letter-spacing: 0.03em;
    }
.action-tag {
      display: inline-block;
      background: rgba(234, 88, 12, 0.08);
      color: var(--primary);
      border: 1px solid rgba(234, 88, 12, 0.2);
      font-size: 0.75rem;
      font-weight: 500;
      padding: 2px 8px;
      border-radius: 4px;
      margin: 2px 4px 2px 0;
    }
.action-hero {
      background: linear-gradient(135deg, rgba(234, 88, 12, 0.08) 0%, rgba(217, 119, 6, 0.04) 100%);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2.5rem 1.5rem;
      margin-bottom: 2.5rem;
    }
.action-stats {
      font-size: 0.9rem;
      color: var(--text);
      opacity: 0.75;
    }
.action-stats i {
      color: var(--primary);
      margin-right: 4px;
    }

/* --- 子页面追加 --- */
/* 确保 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, .btn-light, .btn-outline-* {
      background-color: var(--bg) !important; /* 使用本站暖白 */
      color: var(--text) !important;
      border-color: var(--border) !important;
    }
/* 调整卡片阴影和圆角 */
    .masonry-card {
      box-shadow: var(--card-shadow);
      border-radius: var(--radius);
      background: var(--bg);
      border: 1px solid var(--border);
      transition: transform .2s ease, box-shadow .2s ease;
    }
/* 面包屑或标签 */
    .romance-tag {
      background: rgba(234, 88, 12, 0.08);
      color: var(--primary);
      padding: 2px 10px;
      border-radius: 30px;
      font-size: 0.8rem;
      font-weight: 500;
    }
/* 自定义小节标题 */
    .section-title span {
      color: var(--primary);
    }
/* 确保导航链接高亮本页 */
    .nav-link-custom.active-page {
      color: var(--primary) !important;
      font-weight: 700;
      border-bottom: 2px solid var(--primary);
    }

/* --- 子页面追加 --- */
/* 奇幻页专属微调：保持与站点风格一致，仅补充卡片悬停效果 */
    .masonry-card {
      transition: transform .2s ease, box-shadow .2s ease;
    }
.fantasy-badge {
      background: var(--primary);
      color: #fff;
      font-size: 0.75rem;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 20px;
      display: inline-block;
      letter-spacing: .3px;
    }
.genre-chip {
      background: rgba(234, 88, 12, 0.08);
      color: var(--primary);
      border: 1px solid rgba(234, 88, 12, 0.2);
      border-radius: 30px;
      padding: 4px 14px;
      font-size: 0.85rem;
      font-weight: 500;
    }
/* 覆盖 bootstrap 默认卡片底色（保险起见） */
    .card, .card-body {
      background: var(--bg) !important;
      color: var(--text) !important;
      border-color: var(--border) !important;
    }

/* --- 子页面追加 --- */
/* 月榜专属样式 */
        .rank-banner {
            background: linear-gradient(135deg, #fff5ee 0%, #fef0e6 100%);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 3rem 2rem;
            margin: 2rem 0 3rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
.rank-banner::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 300px;
            height: 300px;
            background: radial-gradient(circle, rgba(234, 88, 12, 0.08) 0%, transparent 70%);
            border-radius: 50%;
        }
.rank-banner h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 0.75rem;
            position: relative;
            z-index: 1;
        }
.rank-banner p {
            font-size: 1.1rem;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
.rank-tab {
            padding: 0.5rem 1.5rem;
            border: 1px solid var(--border);
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text);
            background: #fff;
            text-decoration: none;
            transition: all 0.3s ease;
        }
.rank-tab:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
.rank-tab.active {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
.rank-number.top1 {
            color: #f59e0b;
            font-size: 2.5rem;
        }
.rank-number.top2 {
            color: #94a3b8;
            font-size: 2.2rem;
        }
.rank-number.top3 {
            color: #d97706;
            font-size: 2rem;
        }
.rank-info .rank-meta {
            font-size: 0.85rem;
            color: #8b7355;
            margin-bottom: 0.5rem;
        }
.rank-info .rank-desc {
            font-size: 0.9rem;
            color: #6b7280;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
.rank-stats {
            text-align: center;
            min-width: 80px;
            padding-left: 1rem;
            border-left: 1px solid var(--border);
        }
.rank-stats .stat-num {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
        }
.rank-stats .stat-label {
            font-size: 0.75rem;
            color: #8b7355;
        }
.monthly-highlight {
            background: linear-gradient(135deg, #fef3e2 0%, #ffe8d6 100%);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 2rem;
            margin: 2.5rem 0;
        }
.monthly-highlight h2 {
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.monthly-highlight .highlight-content {
            display: flex;
            gap: 1.5rem;
            align-items: center;
            flex-wrap: wrap;
        }
.monthly-highlight .highlight-text {
            flex: 1;
            min-width: 280px;
        }
.monthly-highlight .highlight-text p {
            color: #6b7280;
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }
.monthly-highlight .highlight-badge {
            background: var(--primary);
            color: #fff;
            padding: 0.25rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 0.75rem;
        }
.rank-stats {
                border-left: none;
                border-top: 1px solid var(--border);
                padding-left: 0;
                padding-top: 0.75rem;
                width: 100%;
            }
.rank-banner h1 {
                font-size: 1.8rem;
            }
.rank-banner p {
                font-size: 1rem;
            }
.monthly-highlight .highlight-content {
                flex-direction: column;
                text-align: center;
            }

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