:root {
      --main: #eab308;
      --accent: #f59e0b;
      --bg: #18181b;
      --text: #fafafa;
      --border-thick: 3px solid #eab308;
      --border-thin: 1px solid #3f3f46;
      --hard-shadow: 8px 8px 0px 0px rgba(234, 179, 8, 0.3);
      --mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    }
    * { border-radius: 0 !important; }
    body {
      background-color: var(--bg);
      color: var(--text);
      font-family: 'Inter', sans-serif;
      font-weight: 400;
      line-height: 1.75;
      background-image: radial-gradient(circle, #2d2d31 1px, transparent 1px);
      background-size: 24px 24px;
    }
    .navbar {
      border-bottom: var(--border-thick);
      background: #18181bdd;
      backdrop-filter: blur(8px);
      padding: 1rem 0;
      box-shadow: 0 6px 0 rgba(0,0,0,0.2);
      z-index: 999;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.9rem;
      color: var(--main) !important;
      letter-spacing: -0.5px;
      text-transform: uppercase;
      border-right: var(--border-thin);
      padding-right: 1.2rem;
      margin-right: 1rem;
    }
    .nav-link {
      color: #e4e4e7 !important;
      font-weight: 600;
      margin: 0 0.6rem;
      border: 2px solid transparent;
      padding: 0.3rem 0.5rem !important;
      transition: 0.2s;
    }
    .nav-link:hover {
      border-bottom: 2px solid var(--main);
      color: var(--main) !important;
    }
    .navbar-toggler {
      border: 2px solid var(--main);
      background: transparent;
    }
    .navbar-toggler-icon {
      filter: invert(1);
    }
    /* 滚动进度条 */
    #progressBar {
      position: fixed;
      top: 0;
      left: 0;
      height: 5px;
      background: linear-gradient(90deg, var(--main), var(--accent));
      width: 0%;
      z-index: 9999;
      transition: width 0.05s linear;
    }
    /* hero 大图杂志感 */
    .hero {
      border-bottom: var(--border-thick);
      padding: 4rem 0 5rem;
      background: linear-gradient(160deg, #1e1e21 0%, #101012 100%);
      position: relative;
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: url('{随机图片}');
      background-size: cover;
      background-position: center;
      opacity: 0.2;
      mix-blend-mode: luminosity;
    }
    .hero-content {
      position: relative;
      z-index: 2;
    }
    .display-hero {
      font-weight: 900;
      font-size: 3.8rem;
      line-height: 1.1;
      letter-spacing: -1.5px;
      color: #fafafa;
      text-shadow: 6px 6px 0 var(--main);
      border-left: 10px solid var(--main);
      padding-left: 1.8rem;
    }
    .hero-sub {
      font-size: 1.2rem;
      max-width: 600px;
      margin-top: 1.2rem;
      color: #d4d4d8;
      border-left: 4px solid var(--accent);
      padding-left: 1.5rem;
    }
    .btn-hero {
      background: var(--main);
      color: #18181b;
      font-weight: 800;
      border: 3px solid #000;
      box-shadow: 5px 5px 0 0 #fafafa;
      padding: 0.9rem 2.2rem;
      margin-top: 1.8rem;
      margin-right: 1rem;
      position: relative;
      overflow: hidden;
      transition: 0.2s;
    }
    .btn-hero::after {
      content: "";
      position: absolute;
      top: -20%;
      left: -60%;
      width: 40%;
      height: 150%;
      background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
      transform: skewX(-30deg);
      transition: 0.5s;
    }
    .btn-hero:hover::after {
      left: 120%;
    }
    .btn-hero:hover {
      background: var(--accent);
      box-shadow: 7px 7px 0 0 #fafafa;
      color: #000;
    }
    .btn-outline-hero {
      background: transparent;
      border: 3px solid var(--main);
      color: var(--main);
      font-weight: 700;
      padding: 0.9rem 2.2rem;
      box-shadow: 5px 5px 0 0 rgba(234,179,8,0.3);
      transition: 0.2s;
    }
    .btn-outline-hero:hover {
      background: var(--main);
      color: #18181b;
      box-shadow: 5px 5px 0 0 #fafafa;
    }
    /* 通用标题 */
    .section-title {
      font-weight: 900;
      font-size: 2.2rem;
      border-bottom: 4px solid var(--main);
      display: inline-block;
      padding-bottom: 0.3rem;
      text-transform: uppercase;
    }
    /* 表格 */
    .compare-table {
      border: 3px solid var(--main);
      box-shadow: var(--hard-shadow);
    }
    .compare-table th, .compare-table td {
      border: 1px solid #3f3f46;
      padding: 1rem;
      background: #202024;
      font-weight: 500;
    }
    .compare-table th {
      background: #26262b;
      color: var(--main);
      font-weight: 800;
      font-size: 1.2rem;
    }
    .badge-corner {
      background: var(--accent);
      color: #18181b;
      font-weight: 800;
      padding: 0.2rem 0.8rem;
      border: 2px solid #000;
    }
    /* 特色卡片网格 */
    .feature-grid .card-feature {
      background: #202024;
      border: 3px solid #fafafa;
      box-shadow: 8px 8px 0px 0px rgba(234,179,8,0.4);
      padding: 1.6rem 1.3rem;
      transition: 0.15s;
      height: 100%;
    }
    .card-feature:hover {
      transform: translate(-2px, -2px);
      box-shadow: 12px 12px 0px 0px rgba(234,179,8,0.7);
      border-color: var(--main);
    }
    .card-feature i {
      color: var(--main);
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }
    /* 步骤条 */
    .steps-wrapper {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: space-between;
    }
    .step-item {
      flex: 1 1 200px;
      border-top: 4px solid var(--main);
      padding: 1.2rem 0.8rem;
      background: #202024;
      box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
    }
    .step-num {
      font-family: var(--mono);
      font-size: 2.2rem;
      font-weight: 900;
      color: var(--accent);
    }
    /* FAQ */
    .faq-item {
      background: #202024;
      border-left: 8px solid var(--main);
      padding: 1.4rem 1.6rem;
      margin-bottom: 1.2rem;
      box-shadow: 5px 5px 0 #00000033;
    }
    .faq-q {
      font-weight: 800;
      font-size: 1.25rem;
      color: var(--main);
    }
    /* CTA */
    .cta-box {
      border: 4px solid var(--main);
      background: #222226;
      box-shadow: 12px 12px 0 var(--accent);
      padding: 3rem 2rem;
      text-align: center;
    }
    /* footer */
    footer {
      border-top: 4px solid var(--main);
      background: #131316;
      padding: 2rem 0;
    }
    .friend-links a, footer a {
      color: #a1a1aa;
      text-decoration: none;
      border-bottom: 1px dotted var(--accent);
      margin: 0 0.4rem;
    }
    .friend-links a:hover {
      color: var(--main);
    }
    /* 淡入动效 */
    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s, transform 0.5s;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }

/* --- 子页面追加 --- */
/* 覆盖 Bootstrap 组件白底黑字问题——本页只用栅格，但以防万一 */
        .card, .card-body, .form-control, .list-group-item { background: transparent; color: var(--text); border-color: var(--border-thin); }
/* 关于页特有细节 */
        .about-hero { border-bottom: var(--border-thin); }
.about-section { padding: 4rem 0; }
.brand-highlight { color: var(--accent); }
.story-block { background: rgba(255,255,255,0.02); border-left: 4px solid var(--main); padding: 1.5rem; border-radius: 0 12px 12px 0; }
.feature-grid i { color: var(--main); }
.timeline-item { border-left: 2px solid var(--border-thin); padding-left: 1.5rem; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; background: var(--main); border-radius: 50%; }
.list-check { list-style: none; padding-left: 0; }
.list-check li { padding-left: 1.8rem; position: relative; margin-bottom: 0.6rem; }
.list-check li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; color: var(--main); }
.stats-badge { background: rgba(234,179,8,0.08); border: 1px solid var(--border-thin); border-radius: 30px; padding: 0.3rem 1rem; font-family: var(--mono); font-size: 0.9rem; color: var(--accent); }

/* --- 子页面追加 --- */
/* 本页专属样式——覆盖 Bootstrap 组件为站点配色 */
    .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
      background: rgba(24, 24, 27, 0.9);
      color: var(--text);
      border-color: #3f3f46;
    }
.form-control, .form-select {
      background: rgba(0, 0, 0, 0.35);
      color: var(--text);
      border-color: #3f3f46;
    }
.form-control::placeholder { color: rgba(255, 255, 255, 0.45); }
.nav-link.active {
      color: var(--main) !important;
      font-weight: 700;
    }
.disclaimer-section {
      margin-bottom: 3rem;
    }
.disclaimer-section h2 {
      font-size: 1.75rem;
      font-weight: 800;
      color: var(--main);
      border-left: var(--border-thick);
      padding-left: 1rem;
      margin-bottom: 1.5rem;
    }
.disclaimer-section p, .disclaimer-section li {
      font-size: 1rem;
      line-height: 1.8;
      color: rgba(250, 250, 250, 0.85);
    }
.disclaimer-section ul {
      padding-left: 1.5rem;
    }
.disclaimer-section ul li {
      margin-bottom: 0.5rem;
    }
.notice-box {
      background: rgba(234, 179, 8, 0.08);
      border: 1px solid rgba(234, 179, 8, 0.3);
      border-radius: 12px;
      padding: 1.5rem;
      margin: 1.5rem 0;
    }
.notice-box i {
      color: var(--main);
      margin-right: 0.5rem;
    }
.last-updated {
      font-family: var(--mono);
      font-size: 0.85rem;
      color: rgba(250, 250, 250, 0.5);
      text-align: right;
      margin-top: 2rem;
      border-top: var(--border-thin);
      padding-top: 1rem;
    }

/* --- 子页面追加 --- */
/* 排行榜专属样式 */
        .rank-hero {
            background: linear-gradient(135deg, rgba(234,179,8,0.15) 0%, transparent 50%, rgba(234,179,8,0.08) 100%);
            border-bottom: 1px solid #3f3f46;
            padding: 80px 0 60px;
            position: relative;
            overflow: hidden;
        }
.rank-hero::before {
            content: 'TOP';
            position: absolute;
            right: -20px;
            top: -30px;
            font-family: var(--mono);
            font-size: 180px;
            font-weight: 900;
            color: rgba(234,179,8,0.06);
            letter-spacing: -10px;
            line-height: 1;
            pointer-events: none;
        }
.rank-badge {
            display: inline-block;
            background: var(--main);
            color: var(--bg);
            font-family: var(--mono);
            font-size: 0.8rem;
            font-weight: 700;
            padding: 4px 14px;
            border-radius: 2px;
            letter-spacing: 2px;
            margin-bottom: 16px;
            text-transform: uppercase;
        }
.rank-title {
            font-size: 2.8rem;
            font-weight: 900;
            color: var(--text);
            margin-bottom: 12px;
            letter-spacing: -1px;
        }
.rank-title span {
            color: var(--main);
        }
.rank-subtitle {
            color: #a1a1aa;
            font-size: 1.1rem;
            max-width: 600px;
            line-height: 1.7;
        }
.rank-filter-bar {
            background: rgba(234,179,8,0.08);
            border: var(--border-thin);
            border-left: 3px solid var(--main);
            padding: 14px 24px;
            margin-bottom: 40px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 20px;
        }
.rank-filter-bar .filter-label {
            font-family: var(--mono);
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--main);
            letter-spacing: 1px;
            text-transform: uppercase;
        }
.rank-filter-bar .filter-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
.filter-tag {
            padding: 4px 16px;
            font-size: 0.85rem;
            color: #a1a1aa;
            border: 1px solid #3f3f46;
            background: transparent;
            cursor: pointer;
            transition: all 0.3s;
            font-family: var(--mono);
        }
.filter-tag:hover, .filter-tag.active {
            background: var(--main);
            color: var(--bg);
            border-color: var(--main);
            font-weight: 700;
        }
.rank-table-wrap {
            background: rgba(255,255,255,0.02);
            border: var(--border-thin);
            margin-bottom: 50px;
            overflow-x: auto;
        }
.rank-table {
            width: 100%;
            border-collapse: collapse;
        }
.rank-table thead th {
            background: rgba(234,179,8,0.1);
            border-bottom: 2px solid var(--main);
            padding: 16px 20px;
            font-family: var(--mono);
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--main);
            text-transform: uppercase;
            letter-spacing: 1px;
            text-align: left;
            white-space: nowrap;
        }
.rank-table tbody td {
            padding: 18px 20px;
            border-bottom: 1px solid #27272a;
            vertical-align: middle;
            color: var(--text);
        }
.rank-table tbody tr:last-child td {
            border-bottom: none;
        }
.rank-table tbody tr:hover {
            background: rgba(234,179,8,0.04);
        }
.rank-num {
            font-family: var(--mono);
            font-size: 1.4rem;
            font-weight: 900;
            color: #3f3f46;
            width: 60px;
        }
.rank-table tbody tr:nth-child(1) .rank-num,
        .rank-table tbody tr:nth-child(2) .rank-num,
        .rank-table tbody tr:nth-child(3) .rank-num {
            color: var(--main);
        }
.rank-num .fa-crown {
            font-size: 0.8rem;
            margin-right: 4px;
            color: var(--main);
        }
.rank-comic {
            display: flex;
            align-items: center;
            gap: 16px;
            min-width: 280px;
        }
.rank-comic-cover {
            width: 56px;
            height: 76px;
            object-fit: cover;
            border: 2px solid #3f3f46;
            flex-shrink: 0;
            transition: border-color 0.3s;
        }
.rank-table tbody tr:hover .rank-comic-cover {
            border-color: var(--main);
        }
.rank-comic-info {
            flex: 1;
        }
.rank-comic-name {
            font-weight: 700;
            font-size: 1.05rem;
            color: var(--text);
            margin-bottom: 4px;
            transition: color 0.3s;
        }
.rank-table tbody tr:hover .rank-comic-name {
            color: var(--main);
        }
.rank-comic-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
.rank-comic-tag {
            font-size: 0.7rem;
            font-family: var(--mono);
            padding: 2px 8px;
            border: 1px solid #3f3f46;
            color: #a1a1aa;
            border-radius: 2px;
        }
.rank-comic-tag.hot {
            border-color: var(--main);
            color: var(--main);
        }
.rank-stats {
            font-family: var(--mono);
            font-size: 0.85rem;
            color: #a1a1aa;
            white-space: nowrap;
        }
.rank-stats .stat-value {
            color: var(--main);
            font-weight: 700;
            font-size: 1rem;
        }
.rank-trend {
            font-family: var(--mono);
            font-size: 0.8rem;
            white-space: nowrap;
        }
.trend-up { color: #22c55e; }
.trend-down { color: #ef4444; }
.trend-flat { color: #a1a1aa; }
.rank-action-btn {
            padding: 6px 16px;
            font-size: 0.85rem;
            font-family: var(--mono);
            border: 1px solid var(--main);
            color: var(--main);
            background: transparent;
            transition: all 0.3s;
            white-space: nowrap;
        }
.rank-action-btn:hover {
            background: var(--main);
            color: var(--bg);
        }
.rank-note {
            background: rgba(234,179,8,0.05);
            border-left: 3px solid var(--main);
            padding: 16px 24px;
            margin-bottom: 60px;
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }
.rank-note i {
            color: var(--main);
            font-size: 1.2rem;
            margin-top: 2px;
        }
.rank-note p {
            color: #a1a1aa;
            font-size: 0.9rem;
            line-height: 1.6;
            margin: 0;
        }
.rank-note strong {
            color: var(--text);
        }
.rank-section-title {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--text);
            margin: 50px 0 30px;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--main);
            display: inline-block;
            letter-spacing: -0.5px;
        }
.rank-section-title span {
            color: var(--main);
        }
.rank-cards-row {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-bottom: 50px;
        }
.rank-card {
            background: rgba(255,255,255,0.03);
            border: var(--border-thin);
            padding: 24px;
            transition: all 0.3s;
            position: relative;
        }
.rank-card:hover {
            border-color: var(--main);
            transform: translateY(-4px);
            box-shadow: var(--hard-shadow);
        }
.rank-card .card-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 14px;
        }
.rank-card .card-rank {
            font-family: var(--mono);
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--main);
            background: rgba(234,179,8,0.1);
            padding: 4px 12px;
            border: 1px solid rgba(234,179,8,0.3);
        }
.rank-card .card-genre {
            font-family: var(--mono);
            font-size: 0.75rem;
            color: #a1a1aa;
        }
.rank-card .card-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 8px;
        }
.rank-card .card-desc {
            font-size: 0.9rem;
            color: #a1a1aa;
            line-height: 1.6;
            margin-bottom: 16px;
        }
.rank-card .card-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-family: var(--mono);
            font-size: 0.8rem;
            color: #a1a1aa;
        }
.rank-card .card-meta .value {
            color: var(--main);
            font-weight: 700;
        }
.rank-card .card-btn {
            display: inline-block;
            padding: 8px 20px;
            font-size: 0.85rem;
            font-family: var(--mono);
            border: 1px solid var(--main);
            color: var(--main);
            background: transparent;
            transition: all 0.3s;
            text-decoration: none;
            margin-top: 16px;
        }
.rank-card .card-btn:hover {
            background: var(--main);
            color: var(--bg);
        }
.trending-strip {
            background: rgba(234,179,8,0.03);
            border: 1px solid rgba(234,179,8,0.2);
            padding: 20px 24px;
            margin-bottom: 60px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 16px;
        }
.trending-strip .strip-label {
            font-family: var(--mono);
            font-size: 0.8rem;
            font-weight: 700;
            color: var(--main);
            text-transform: uppercase;
            letter-spacing: 2px;
            white-space: nowrap;
        }
.trending-strip .strip-item {
            font-size: 0.9rem;
            color: var(--text);
            padding: 4px 12px;
            border: 1px solid #3f3f46;
            transition: all 0.3s;
            white-space: nowrap;
        }
.trending-strip .strip-item:hover {
            border-color: var(--main);
            color: var(--main);
            cursor: pointer;
        }
.trending-strip .strip-item .fa-fire {
            color: var(--main);
            margin-right: 4px;
            font-size: 0.8rem;
        }
.rank-title { font-size: 2rem; }
.rank-hero { padding: 50px 0 40px; }
.rank-table thead th, .rank-table tbody td { padding: 12px 14px; }
.rank-comic { min-width: 200px; }
.rank-comic-cover { width: 44px; height: 60px; }
.rank-stats { display: none; }
.rank-filter-bar { padding: 12px 16px; gap: 12px; }

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