:root {
    --primary: #0891b2;
    --accent: #0ea5e9;
    --bg: #ecfeff;
    --text: #083344;
    --border-color: rgba(8, 145, 178, 0.25);
    --card-bg: rgba(255, 255, 255, 0.7);
  }

  * { box-sizing: border-box; }

  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.01em;
    margin: 0;
    overflow-x: hidden;
  }

  /* 滚动进度条 */
  #scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 9999;
    transition: width 0.1s ease;
    border-radius: 0 3px 3px 0;
  }

  /* 波浪分割 */
  .wave-divider {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
  }
  .wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  /* 顶部导航 */
  .navbar-custom {
    background: rgba(236, 254, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.8rem 0;
  }
  .navbar-brand {
    font-family: 'Segoe UI', 'Comic Sans MS', 'YouYuan', cursive, sans-serif;
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
  }
  .navbar-brand i {
    color: var(--accent);
    margin-right: 4px;
  }
  .navbar-nav .nav-link {
    color: var(--text);
    font-weight: 500;
    margin: 0 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.95rem;
  }
  .navbar-nav .nav-link:hover {
    background: rgba(8, 145, 178, 0.08);
    color: var(--primary);
  }
  .navbar-toggler {
    border: 1px solid var(--border-color);
    color: var(--primary);
  }

  /* 侧边栏 */
  .sidebar-layout {
    display: flex;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .side-col {
    width: 190px;
    flex-shrink: 0;
    border-right: 1px solid var(--border-color);
    padding: 30px 15px 30px 0;
    position: sticky;
    top: 75px;
    height: calc(100vh - 75px);
    overflow-y: auto;
  }
  .side-col::-webkit-scrollbar { width: 3px; }
  .side-col::-webkit-scrollbar-thumb { background: var(--border-color); }
  .side-col .side-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
  }
  .side-col a {
    display: block;
    padding: 6px 0;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px dashed transparent;
    transition: 0.2s;
  }
  .side-col a:hover {
    color: var(--primary);
    border-bottom-color: var(--border-color);
  }

  .main-col {
    flex: 1;
    padding: 20px 0 20px 25px;
    min-width: 0;
  }

  /* Hero */
  .hero-section {
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
  }
  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 25px;
  }
  .hero-stat-item {
    text-align: center;
    min-width: 100px;
  }
  .hero-stat-item .number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
  }
  .hero-stat-item .label {
    font-size: 0.8rem;
    color: var(--text);
    opacity: 0.7;
    letter-spacing: 1px;
  }
  .hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 15px;
    font-family: 'Segoe UI', 'YouYuan', cursive, sans-serif;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    color: rgba(8, 51, 68, 0.8);
  }

  /* 区块通用 */
  .section-block {
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
  }
  .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    font-family: 'Segoe UI', 'YouYuan', cursive, sans-serif;
  }
  .section-title::after {
    content: '';
    display: block;
    width: 45px;
    height: 2px;
    background: var(--primary);
    margin-top: 5px;
  }

  /* 使用说明编号清单 */
  .steps-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
  }
  .steps-list li {
    counter-increment: step-counter;
    position: relative;
    padding: 18px 15px 18px 70px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
  }
  .steps-list li:last-child { border-bottom: none; }
  .steps-list li::before {
    content: counter(step-counter);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    background: var(--bg);
  }
  .steps-list li:hover { background: rgba(8, 145, 178, 0.04); }
  .steps-list li strong { color: var(--text); }

  /* 特色对比表格 */
  .compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
  }
  .compare-table th,
  .compare-table td {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
  }
  .compare-table th {
    background: rgba(8, 145, 178, 0.08);
    font-weight: 700;
    color: var(--primary);
  }
  .compare-table tr:last-child td { border-bottom: 1px solid var(--border-color); }
  .compare-table .fa-check { color: var(--primary); }
  .compare-table .fa-xmark { color: #b91c1c; opacity: 0.5; }

  /* 瀑布流卡片 */
  .masonry-grid {
    columns: 3 280px;
    column-gap: 20px;
  }
  .masonry-card {
    break-inside: avoid;
    margin-bottom: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
  }
  .masonry-card:hover { transform: translateY(-3px); }
  .masonry-card img {
    width: 100%;
    height: auto;
    display: block;
    background: linear-gradient(135deg, #cffafe 0%, #e0f2fe 100%);
  }
  .masonry-card .card-info {
    padding: 12px 14px;
  }
  .masonry-card .card-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.95rem;
  }
  .masonry-card .card-tag {
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(8, 145, 178, 0.08);
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-right: 5px;
  }

  /* 长文 */
  .longform-text {
    max-width: 780px;
    font-size: 1rem;
    color: rgba(8, 51, 68, 0.9);
  }
  .longform-text p { margin-bottom: 1.2rem; }
  .longform-text h4 {
    font-family: 'Segoe UI', 'YouYuan', cursive, sans-serif;
    color: var(--primary);
    margin: 1.8rem 0 0.8rem;
    font-size: 1.2rem;
  }

  /* FAQ */
  .faq-item {
    border: 1px solid var(--border-color);
    padding: 18px 22px;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
  }
  .faq-item h5 {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 1rem;
  }
  .faq-item p {
    color: rgba(8, 51, 68, 0.8);
    margin: 0;
    font-size: 0.95rem;
  }

  /* CTA */
  .cta-section {
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-title {
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Segoe UI', 'YouYuan', cursive, sans-serif;
  }
  .btn-glossy {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    padding: 14px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.4s;
    text-decoration: none;
    display: inline-block;
  }
  .btn-glossy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
  }
  .btn-glossy:hover::before {
    left: 100%;
  }
  .btn-glossy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.3);
    color: #fff;
  }

  /* 友情链接 */
  .friend-links {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
  }
  .friend-links h6 {
    font-size: 0.8rem;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  .friend-links .links {
    font-size: 0.9rem;
    color: rgba(8, 51, 68, 0.7);
  }

  /* 页脚 */
  .site-footer {
    padding: 30px 0 40px;
    border-top: 1px solid var(--border-color);
    color: rgba(8, 51, 68, 0.6);
    font-size: 0.9rem;
    text-align: center;
  }
  .site-footer a {
    color: var(--primary);
    text-decoration: none;
  }

  /* 图片懒加载渐显 */
  .lazy-img {
    opacity: 0;
    transition: opacity 0.6s ease;
  }
  .lazy-img.loaded {
    opacity: 1;
  }

  /* 响应式 */
  @media (max-width: 991px) {
    .side-col { display: none; }
    .main-col { padding-left: 0; }
    .hero-title { font-size: 2rem; }
  }
  @media (max-width: 768px) {
    .hero-stats { gap: 15px; }
    .hero-stat-item .number { font-size: 2.2rem; }
    .section-block { padding: 35px 0; }
  }

/* --- 子页面追加 --- */
/* 本页专属少量样式 */
        .about-hero {
            padding: 5rem 0 3rem;
            text-align: center;
            position: relative;
        }
.about-hero h1 {
            font-size: 2.5rem;
            font-weight: 900;
            margin-bottom: 1rem;
        }
.about-hero p {
            max-width: 700px;
            margin: 0 auto;
            font-size: 1.1rem;
            opacity: 0.85;
        }
.about-section {
            padding: 3rem 0;
        }
.about-section h2 {
            font-weight: 800;
            margin-bottom: 1.5rem;
            position: relative;
            display: inline-block;
        }
.about-section h2::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
        }
.about-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            backdrop-filter: blur(8px);
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(8, 145, 178, 0.15);
        }
.about-card i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.about-card h5 {
            font-weight: 700;
            margin-bottom: 0.75rem;
        }
.about-card p {
            font-size: 0.95rem;
            opacity: 0.85;
            margin-bottom: 0;
        }
.timeline-list {
            list-style: none;
            padding-left: 0;
            position: relative;
        }
.timeline-list::before {
            content: '';
            position: absolute;
            left: 18px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--primary), var(--accent));
            opacity: 0.3;
        }
.timeline-list li {
            position: relative;
            padding-left: 50px;
            margin-bottom: 1.5rem;
        }
.timeline-list li::before {
            content: '';
            position: absolute;
            left: 12px;
            top: 6px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background: var(--primary);
            border: 3px solid var(--bg);
            box-shadow: 0 0 0 2px var(--primary);
        }
.timeline-list li h5 {
            font-weight: 700;
            margin-bottom: 0.25rem;
        }
.timeline-list li p {
            font-size: 0.9rem;
            opacity: 0.8;
            margin-bottom: 0;
        }
.values-list {
            list-style: none;
            padding-left: 0;
        }
.values-list li {
            padding: 0.75rem 0;
            border-bottom: 1px dashed var(--border-color);
            display: flex;
            align-items: flex-start;
            gap: 0.75rem;
        }
.values-list li:last-child {
            border-bottom: none;
        }
.values-list li i {
            color: var(--primary);
            margin-top: 4px;
        }

/* --- 子页面追加 --- */
/* 排行榜专用小样式, 继承全局变量 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(14,165,233,0.05));
            border-bottom: 1px solid var(--border-color);
        }
.rank-hero .hero-title {
            color: var(--text);
        }
.rank-tabs {
            border-bottom: 2px solid var(--border-color);
            gap: 0.25rem 1rem;
            flex-wrap: wrap;
        }
.rank-tabs .tab-btn {
            background: transparent;
            border: none;
            padding: 0.65rem 1.2rem;
            font-weight: 600;
            color: var(--text);
            opacity: 0.7;
            border-radius: 40px 40px 0 0;
            transition: all .2s;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
        }
.rank-tabs .tab-btn.active {
            opacity: 1;
            background: var(--card-bg);
            border-bottom: 3px solid var(--primary);
            color: var(--primary);
        }
.rank-card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            transition: transform .2s, box-shadow .2s;
            backdrop-filter: blur(4px);
        }
.rank-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(8,145,178,0.12);
        }
.rank-number {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
            min-width: 3.2rem;
            text-align: right;
            opacity: 0.8;
        }
.rank-cover {
            width: 64px;
            height: 84px;
            object-fit: cover;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 8px rgba(0,0,0,0.04);
            background: #e2e8f0;
        }
.rank-tag {
            background: rgba(8,145,178,0.12);
            color: var(--primary);
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 0.8rem;
            border-radius: 20px;
            letter-spacing: 0.3px;
        }
.rank-score {
            font-weight: 700;
            color: var(--text);
            background: rgba(14,165,233,0.1);
            padding: 0.1rem 0.7rem;
            border-radius: 30px;
            font-size: 0.9rem;
        }
.list-group-flush {
            background: transparent;
        }
.list-group-item {
            background: transparent;
            border-color: var(--border-color);
            color: var(--text);
            padding: 1rem 0.5rem;
        }
.badge-soft {
            background: rgba(14,165,233,0.08);
            color: var(--primary);
            font-weight: 500;
            padding: 0.3rem 0.8rem;
            border-radius: 30px;
        }
.btn-outline-rank {
            border-color: var(--primary);
            color: var(--primary);
            border-radius: 40px;
            padding: 0.4rem 1.6rem;
            font-weight: 500;
        }
.btn-outline-rank:hover {
            background: var(--primary);
            color: white;
        }
.rank-number { font-size: 1.7rem; min-width: 2.5rem; }
.rank-cover { width: 52px; height: 68px; }

/* --- 子页面追加 --- */
.privacy-content {
            max-width: 900px;
            margin: 0 auto;
        }
.privacy-content h2 {
            margin-top: 2.5rem;
            margin-bottom: 1.2rem;
            font-weight: 700;
        }
.privacy-content h3 {
            margin-top: 1.8rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }
.privacy-content p, .privacy-content li {
            line-height: 1.8;
            color: var(--text);
            opacity: 0.9;
        }
.privacy-content .highlight-box {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
.privacy-content ul, .privacy-content ol {
            padding-left: 1.5rem;
            margin-bottom: 1.2rem;
        }
.privacy-content li {
            margin-bottom: 0.6rem;
        }
.last-updated {
            color: var(--primary);
            font-weight: 500;
            margin-bottom: 2rem;
        }
.contact-privacy {
            background: linear-gradient(135deg, rgba(8,145,178,0.08), rgba(14,165,233,0.08));
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2rem;
            margin-top: 3rem;
        }

/* --- 子页面追加 --- */
/* 确保所有组件背景与文字都适配站点配色 (防止Bootstrap默认白底) */
    .disclaimer-card, .disclaimer-card .card-body {
      background: var(--card-bg);
      color: var(--text);
      border: 1px solid var(--border-color);
      border-radius: 16px;
    }
.disclaimer-card .card-title {
      color: var(--primary);
    }
.disclaimer-card p, .disclaimer-card li {
      color: var(--text);
    }
.longform-text h2 {
      color: var(--primary);
      border-left: 4px solid var(--accent);
      padding-left: 0.75rem;
      margin-top: 2rem;
    }
.longform-text h3 {
      color: var(--text);
      font-weight: 600;
      margin-top: 1.5rem;
    }
.longform-text a {
      color: var(--accent);
    }
.friend-links a {
      color: var(--text);
      margin: 0 0.75rem;
      text-decoration: none;
      border-bottom: 1px dotted var(--primary);
    }
.friend-links a:hover {
      color: var(--accent);
    }
.navbar-nav .nav-link.active {
      color: var(--primary);
      font-weight: 700;
    }
.navbar-toggler:focus {
      box-shadow: none;
    }

/* --- 子页面追加 --- */
.sitemap-group {
      margin-bottom: 2.5rem;
    }
.sitemap-group h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--border-color);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
.sitemap-group h2 i {
      color: var(--accent);
    }
.sitemap-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 0.75rem;
    }
.sitemap-list li a {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 10px;
      color: var(--text);
      text-decoration: none;
      font-weight: 500;
      transition: all 0.25s ease;
    }
.sitemap-list li a:hover {
      background: rgba(8, 145, 178, 0.1);
      border-color: var(--primary);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(8, 145, 178, 0.15);
    }
.sitemap-list li a i {
      color: var(--accent);
      font-size: 0.9rem;
      width: 20px;
      text-align: center;
    }
.sitemap-intro {
      background: var(--card-bg);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      font-size: 1rem;
      line-height: 1.7;
    }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card { background:rgba(0,0,0,.03) !important; color:#083344 !important; border-color:rgba(0,0,0,.12) !important; }
.card-text { color:#083344 !important; }
.table { color:#083344 !important; border-color:rgba(0,0,0,.12) !important; --bs-table-bg:transparent !important; --bs-table-color:#083344 !important; }
