:root {
      --primary: #dc2626;
      --accent: #fb923c;
      --bg-dark: #141013;
      --text-light: #fef2f2;
      --border-thick: 4px solid #1e1b1b;
      --card-bg: #211d1f;
      --shadow-hard: 8px 8px 0 rgba(0,0,0,0.5);
    }
    * { border-radius: 0 !important; font-family: 'Inter', system-ui, -apple-system, sans-serif; }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      letter-spacing: 0.02em;
      overflow-x: hidden;
    }
    /* 全直角 粗边框 */
    .card, .btn, .list-group-item, .navbar, .hero-wrap, .tag-badge {
      border-radius: 0 !important;
      border: 2px solid #000;
    }
    /* 硬阴影 */
    .hard-shadow { box-shadow: var(--shadow-hard); }
    .navbar {
      background: #1a1418;
      border-bottom: var(--border-thick);
      padding: 0.8rem 1.5rem;
      z-index: 1030;
    }
    .navbar-brand {
      font-weight: 900;
      font-size: 1.9rem;
      color: var(--primary) !important;
      letter-spacing: -0.5px;
    }
    .navbar-brand i { color: var(--accent); margin-right: 6px; }
    .nav-link {
      color: var(--text-light) !important;
      font-weight: 600;
      margin: 0 0.5rem;
      font-size: 1.05rem;
    }
    .nav-link:hover { color: var(--accent) !important; }
    .hero-wrap {
      position: relative;
      padding: 5rem 0 6rem;
      background: radial-gradient(circle at 70% 30%, #3b1111, #141013 70%);
      border-bottom: var(--border-thick);
      overflow: hidden;
    }
    .hero-grad-text {
      font-size: 4rem;
      font-weight: 900;
      background: linear-gradient(135deg, var(--primary), var(--accent));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.1;
      margin-bottom: 1.5rem;
    }
    .hero-sub { font-size: 1.2rem; color: #e0caca; max-width: 600px; }
    /* 浮动装饰 */
    .float-deco {
      position: absolute;
      top: 15%;
      right: 8%;
      width: 150px; height: 150px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="%23dc2626" stroke-width="4"/><circle cx="50" cy="50" r="18" fill="%23fb923c"/></svg>') no-repeat center/contain;
      opacity: 0.3;
      animation: floatAnim 4s infinite alternate ease-in-out;
    }
    .float-deco2 {
      position: absolute; left: 5%; bottom: 10%;
      width: 90px; height: 90px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="15" y="15" width="70" height="70" fill="none" stroke="%23fb923c" stroke-width="5"/></svg>') no-repeat center/contain;
      opacity: 0.3;
      animation: floatAnim 3s infinite alternate;
    }
    @keyframes floatAnim {
      0% { transform: translateY(-10px); }
      100% { transform: translateY(25px); }
    }
    /* 区块标题 */
    .section-title {
      font-weight: 800;
      font-size: 2.5rem;
      border-left: 12px solid var(--primary);
      padding-left: 1.2rem;
      margin: 2.5rem 0 1.8rem;
      letter-spacing: -0.02em;
    }
    /* 卡片网格 */
    .poster-card {
      background: var(--card-bg);
      border: 2px solid #2a2426;
      transition: transform 0.15s, box-shadow 0.15s;
      cursor: pointer;
      height: 100%;
      box-shadow: 6px 6px 0 #0c0a0c;
    }
    .poster-card:hover {
      transform: scale(1.03) translateY(-6px);
      box-shadow: 12px 12px 0 rgba(0,0,0,0.7);
      border-color: var(--primary);
    }
    .poster-card img {
      width: 100%;
      aspect-ratio: 2/3;
      object-fit: cover;
      background: #2e2628;
      border-bottom: 2px solid #0f0c0d;
    }
    .card-body {
      padding: 0.9rem;
    }
    .card-title {
      font-weight: 700;
      font-size: 1.1rem;
      margin-bottom: 0.2rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .badge-res {
      background: var(--primary);
      color: white;
      font-size: 0.7rem;
      font-weight: 700;
      padding: 2px 8px;
      margin-left: 6px;
    }
    .meta-info {
      font-size: 0.85rem;
      color: #b9a6a6;
      display: flex;
      justify-content: space-between;
    }
    /* 左栏分类 */
    .side-filter {
      background: #1b1618;
      border: 2px solid #292224;
      padding: 1rem;
      position: sticky;
      top: 90px;
    }
    .filter-link {
      display: block;
      padding: 0.65rem 1rem;
      background: #262022;
      margin-bottom: 0.5rem;
      color: var(--text-light);
      font-weight: 600;
      border-left: 6px solid transparent;
      text-decoration: none;
    }
    .filter-link:hover, .filter-link.active {
      border-left-color: var(--primary);
      background: #312a2d;
      color: var(--accent);
    }
    /* 步骤条 */
    .step-item {
      border-left: 4px solid var(--accent);
      padding-left: 1.5rem;
      padding-bottom: 1.2rem;
      position: relative;
    }
    .step-item::before {
      content: counter(step);
      counter-increment: step;
      position: absolute;
      left: -1rem;
      background: var(--primary);
      width: 30px; height: 30px;
      display: flex; align-items: center; justify-content: center;
      font-weight: 800;
      border: 2px solid black;
    }
    /* 弹窗 */
    .modal-mask {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.75);
      z-index: 2000;
      justify-content: center;
      align-items: center;
      padding: 1rem;
    }
    .modal-card {
      background: #1e191c;
      border: 4px solid #000;
      max-width: 720px;
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      box-shadow: 15px 15px 0 #000;
      position: relative;
    }
    .modal-card img {
      width: 220px;
      object-fit: cover;
      border-right: 3px solid #000;
      max-height: 100%;
    }
    .modal-info { flex: 1; padding: 1.8rem; min-width: 250px; }
    .modal-close {
      position: absolute;
      top: 0; right: 0;
      background: var(--primary);
      color: white;
      font-size: 1.6rem;
      padding: 0 0.8rem;
      border: 2px solid black;
      cursor: pointer;
    }
    /* 动效 */
    .reveal {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.6s, transform 0.6s;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
    .delay-1 { transition-delay: 0.05s; }
    .delay-2 { transition-delay: 0.15s; }
    .delay-3 { transition-delay: 0.25s; }
    /* 按钮流动 */
    .btn-flow {
      background: linear-gradient(120deg, var(--primary), var(--accent), var(--primary));
      background-size: 200% 100%;
      transition: background-position 0.4s;
      border: 2px solid black;
      font-weight: 700;
    }
    .btn-flow:hover {
      background-position: 90% 0;
    }
    footer {
      border-top: 4px solid #221d1f;
      background: #0d0b0c;
      padding: 2rem 0;
    }
    .friend-links a {
      color: var(--accent);
      text-decoration: none;
      margin: 0 0.7rem;
    }
    /* parallax 简单 */
    .hero-wrap {
      background-attachment: fixed;
    }
    @media (max-width: 768px) {
      .hero-grad-text { font-size: 2.5rem; }
      .side-filter { position: static; margin-bottom: 2rem; }
      .modal-card img { width: 100%; border-right: none; border-bottom: 3px solid black; }
    }

/* --- 子页面追加 --- */
/* 关于页面专属的小样式,程序会自动合并进站点CSS */
        .about-hero {
            padding: 4rem 0 2rem;
            border-bottom: var(--border-thick);
            margin-bottom: 3rem;
        }
.about-hero h1 {
            font-size: 2.8rem;
            font-weight: 900;
            letter-spacing: -0.02em;
        }
.about-section {
            margin-bottom: 4rem;
        }
.about-section .section-title {
            margin-bottom: 1.5rem;
            display: inline-block;
        }
.about-text {
            font-size: 1.05rem;
            line-height: 1.8;
            color: rgba(254, 242, 242, 0.88);
        }
.about-text strong {
            color: var(--accent);
            font-weight: 600;
        }
.about-text a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 4px;
        }
.about-text a:hover {
            color: var(--accent);
        }
.feature-card {
            background: var(--card-bg);
            border: var(--border-thick);
            box-shadow: var(--shadow-hard);
            padding: 1.8rem 1.5rem;
            height: 100%;
            transition: transform 0.2s ease;
        }
.feature-card:hover {
            transform: translate(-3px, -3px);
            box-shadow: 12px 12px 0 rgba(0,0,0,0.5);
        }
.feature-card i {
            font-size: 2.2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.feature-card h3 {
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 0.8rem;
            color: var(--text-light);
        }
.feature-card p {
            font-size: 0.92rem;
            color: rgba(254, 242, 242, 0.75);
            line-height: 1.7;
        }
.timeline-item {
            padding-left: 2rem;
            border-left: 3px solid var(--primary);
            margin-bottom: 2rem;
            position: relative;
        }
.timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 6px;
            width: 13px;
            height: 13px;
            background: var(--accent);
            transform: rotate(45deg);
        }
.timeline-item .year {
            font-weight: 800;
            color: var(--accent);
            font-size: 1.1rem;
            margin-bottom: 0.3rem;
        }
.timeline-item .desc {
            color: rgba(254, 242, 242, 0.82);
            font-size: 0.95rem;
            line-height: 1.7;
        }
.note-box {
            background: rgba(220, 38, 38, 0.08);
            border-left: 5px solid var(--primary);
            padding: 1.2rem 1.5rem;
            margin: 2rem 0;
        }
.note-box p {
            margin: 0;
            font-size: 0.95rem;
            color: rgba(254, 242, 242, 0.85);
        }
.note-box i {
            color: var(--accent);
            margin-right: 0.5rem;
        }
.about-hero h1 {
                font-size: 2rem;
            }

/* --- 子页面追加 --- */
/* 本页专属样式：高分榜单页面特有的卡片布局与榜单样式 */
        .rank-badge {
            display: inline-block;
            background: var(--primary);
            color: var(--text-light);
            font-weight: 800;
            font-size: 1.2rem;
            padding: 0.3rem 0.8rem;
            margin-bottom: 1rem;
            border: 3px solid #1e1b1b;
            box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
        }
.rank-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
        }
.rank-item {
            background: var(--card-bg);
            border: 2px solid #1e1b1b;
            border-radius: 0;
            box-shadow: var(--shadow-hard);
            padding: 0.8rem;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            cursor: pointer;
        }
.rank-item:hover {
            transform: translate(-3px, -3px);
            box-shadow: 10px 10px 0 rgba(0,0,0,0.5);
        }
.rank-item img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border: 3px solid #1e1b1b;
        }
.rank-number {
            position: absolute;
            top: 8px;
            left: 8px;
            background: var(--primary);
            color: var(--text-light);
            font-weight: 900;
            font-size: 1.1rem;
            padding: 0.2rem 0.6rem;
            border: 2px solid #1e1b1b;
            z-index: 2;
        }
.score-tag {
            background: var(--accent);
            color: #141013;
            font-weight: 800;
            padding: 0.15rem 0.5rem;
            border: 2px solid #1e1b1b;
            font-size: 0.9rem;
        }
.filter-bar {
            background: var(--card-bg);
            border: 2px solid #1e1b1b;
            padding: 1rem;
            margin-bottom: 1.5rem;
            box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            align-items: center;
        }
.filter-btn {
            background: transparent;
            color: var(--text-light);
            border: 2px solid #1e1b1b;
            padding: 0.4rem 1rem;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.2s ease;
        }
.filter-btn:hover, .filter-btn.active {
            background: var(--primary);
            color: var(--text-light);
            border-color: #1e1b1b;
        }
.top3-item {
            background: linear-gradient(135deg, rgba(220,38,38,0.15) 0%, rgba(251,146,60,0.1) 100%);
            border: 3px solid var(--primary);
        }
.rank-list {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
.rank-item img {
                height: 140px;
            }