:root {
    --primary: #64748b;
    --accent: #94a3b8;
    --bg: #f1f5f9;
    --text: #1e293b;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.01em;
    position: relative;
    overflow-x: hidden;
  }
  /* 顶部细微噪点纹理 */
  body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="120" height="120" filter="url(%23n)" opacity="0.03"/></svg>');
    pointer-events: none;
    z-index: 9999;
    opacity: 0.5;
  }

  /* 滚动进度条 (顶部阅读进度) */
  #scrollProgress {
    position: fixed;
    top: 0; left: 0;
    height: 4px;
    width: 0%;
    background: var(--primary);
    z-index: 2000;
    transition: width 0.1s linear;
  }

  /* 极简无阴影 · 纯描边 */
  .border-soft {
    border: 1px solid var(--accent) !important;
    border-radius: 0 !important;
  }
  .bg-white-50 { background: rgba(255,255,255,0.6); }
  .text-primary-2 { color: var(--primary); }
  .text-accent { color: var(--accent); }
  .font-mono { font-family: 'SF Mono', 'Fira Code', monospace; }
  h1,h2,h3,h4 { font-weight: 800; letter-spacing: -0.02em; }
  h2 { font-size: 2rem; margin-bottom: 1.5rem; }
  .container-custom { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

  /* 导航 */
  .navbar {
    background: rgba(241,245,249,0.7) !important;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--accent);
    padding: 0.8rem 0;
  }
  .navbar-brand {
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text) !important;
    letter-spacing: -0.03em;
  }
  .navbar-brand i { color: var(--primary); margin-right: 6px; }
  .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    margin: 0 1rem;
    font-size: 1rem;
    border-bottom: 2px solid transparent;
  }
  .nav-link:hover { border-bottom-color: var(--primary); }
  .navbar-toggler { border: 1px solid var(--accent); border-radius: 0; }

  /* Hero */
  .hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg);
    position: relative;
    padding: 80px 0;
  }
  .hero-title {
    font-size: calc(2.5rem + 2vw);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(130deg, #1e293b 20%, #64748b 60%, #94a3b8 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
  }
  .hero-sub { font-size: 1.25rem; color: var(--primary); max-width: 600px; }
  .float-deco {
    position: absolute;
    right: 8%;
    top: 18%;
    width: 120px; height: 120px;
    border: 2px solid var(--accent);
    transform: rotate(12deg);
    animation: floaty 6s ease-in-out infinite;
    background: rgba(255,255,255,0.2);
  }
  .float-deco::after {
    content: "🎬";
    position: absolute;
    top: 20px; left: 20px;
    font-size: 3rem;
    opacity: 0.5;
  }
  @keyframes floaty {
    0% { transform: rotate(12deg) translateY(0); }
    50% { transform: rotate(3deg) translateY(-20px); }
    100% { transform: rotate(12deg) translateY(0); }
  }

  /* 三栏卡片网格 */
  .card-grid .card {
    border: 1px solid var(--accent);
    background: rgba(255,255,255,0.4);
    border-radius: 0;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
  }
  .card-grid .card:hover { background: rgba(255,255,255,0.8); }
  .card-img-wrapper {
    background: #dde3ea;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 3rem;
    position: relative;
    transition: opacity 0.3s;
  }
  .card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
  .card-img-wrapper.loaded img { opacity: 1; }
  .card-img-wrapper .placeholder-icon {
    position: absolute; font-size: 3.2rem; color: var(--accent); opacity: 0.7;
  }
  .hover-play {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    color: white;
    font-size: 3.5rem;
  }
  .card:hover .hover-play { opacity: 1; }
  .hover-play i { color: #fff; }

  /* 时间线 */
  .timeline {
    border-left: 2px solid var(--primary);
    margin-left: 12px;
    padding-left: 28px;
    position: relative;
  }
  .timeline-item {
    position: relative;
    margin-bottom: 2rem;
  }
  .timeline-item::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 6px;
    width: 14px; height: 14px;
    background: var(--bg);
    border: 2px solid var(--primary);
    border-radius: 50%;
  }
  .timeline-year { font-family: 'SF Mono', monospace; font-weight: 600; color: var(--primary); }

  /* 对比表格 */
  .table-compare {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid var(--accent);
  }
  .table-compare th, .table-compare td {
    border: 1px solid var(--accent);
    padding: 16px 12px;
    background: rgba(255,255,255,0.3);
  }
  .table-compare th { background: rgba(100,116,139,0.1); font-weight: 700; }

  /* 标签页 */
  .nav-tabs-simple .nav-link {
    background: transparent;
    border: 1px solid var(--accent) !important;
    border-radius: 0 !important;
    margin-right: 8px;
    color: var(--text);
    font-weight: 600;
  }
  .nav-tabs-simple .nav-link.active {
    background: var(--primary) !important;
    color: white;
  }
  .tab-content { border: 1px solid var(--accent); padding: 2rem; background: rgba(255,255,255,0.2); }

  /* CTA */
  .cta-section { border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }

  /* footer */
  footer { border-top: 1px solid var(--accent); }

  /* 友链 */
  .friend-links { border: 1px solid var(--accent); padding: 1.5rem; }

  /* 图片懒加载占位 */
  .lazy-placeholder {
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 2rem;
  }

  /* 响应式调整 */
  @media (max-width: 768px) {
    .hero-section { padding-top: 100px; }
    .float-deco { display: none; }
  }

/* --- 子页面追加 --- */
/* 本页专属样式（仅补充少量细节，不覆盖站点整体风格） */
        .about-hero {
            background: linear-gradient(135deg, rgba(100,116,139,0.15) 0%, rgba(148,163,184,0.1) 100%);
            padding: 4rem 0 2rem;
            border-bottom: 1px solid rgba(100,116,139,0.2);
        }
.about-section {
            padding: 3rem 0;
        }
.about-section:nth-child(even) {
            background: rgba(241,245,249,0.5);
        }
.feature-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 0.5rem;
        }
.about-card {
            background: rgba(255,255,255,0.6);
            border: 1px solid rgba(100,116,139,0.15);
            border-radius: 8px;
            padding: 1.5rem;
            height: 100%;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
.about-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 6px 20px rgba(100,116,139,0.15);
        }
.about-card .icon-wrap {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
.about-card h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 0.5rem;
        }
.about-card p {
            font-size: 0.9rem;
            color: #475569;
            margin-bottom: 0;
        }
.badge-soft {
            display: inline-block;
            background: rgba(100,116,139,0.12);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
        }
.about-hero { padding: 3rem 0 1.5rem; }
.about-section { padding: 2rem 0; }

/* --- 子页面追加 --- */
/* 本页专属样式 - 免责声明 */
        .disclaimer-hero {
            background: linear-gradient(135deg, var(--bg) 0%, #e2e8f0 100%);
            padding: 60px 0 40px;
            border-bottom: 1px solid rgba(100, 116, 139, 0.15);
        }
.disclaimer-section {
            background: rgba(255,255,255,0.7);
            border: 1px solid rgba(100, 116, 139, 0.2);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }
.disclaimer-section:hover {
            border-color: var(--accent);
            box-shadow: 0 8px 30px rgba(100, 116, 139, 0.15);
        }
.disclaimer-section h2 {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.5rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
.disclaimer-section h2 i {
            color: var(--accent);
            font-size: 1.3rem;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(100, 116, 139, 0.1);
            border-radius: 8px;
        }
.disclaimer-section p, .disclaimer-section li {
            color: var(--text);
            line-height: 1.8;
            font-size: 0.95rem;
        }
.disclaimer-section ul {
            padding-left: 20px;
        }
.disclaimer-section li {
            margin-bottom: 10px;
            position: relative;
            padding-left: 8px;
        }
.disclaimer-highlight {
            background: rgba(100, 116, 139, 0.08);
            border-left: 4px solid var(--primary);
            padding: 16px 20px;
            border-radius: 0 8px 8px 0;
            margin: 20px 0;
        }
.disclaimer-highlight p {
            margin-bottom: 8px;
            font-style: italic;
        }
.disclaimer-highlight p:last-child {
            margin-bottom: 0;
        }
.last-updated {
            font-size: 0.85rem;
            color: var(--accent);
            font-style: italic;
            margin-top: 20px;
            padding-top: 16px;
            border-top: 1px dashed rgba(100, 116, 139, 0.3);
        }
.disclaimer-section {
                padding: 20px;
            }
.disclaimer-section h2 {
                font-size: 1.2rem;
            }

/* --- 子页面追加 --- */
/* 本页专属少量样式 */
        .guide-card {
            background: var(--bg);
            border: 1px solid rgba(100, 116, 139, 0.15);
            border-radius: 12px;
            padding: 2rem;
            height: 100%;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
.guide-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(100, 116, 139, 0.12);
        }
.step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }
.tip-box {
            background: rgba(100, 116, 139, 0.08);
            border-left: 4px solid var(--primary);
            border-radius: 0 8px 8px 0;
            padding: 1.25rem 1.5rem;
            margin: 1.5rem 0;
        }
.guide-section-title {
            font-size: 1.75rem;
            font-weight: 800;
            color: var(--text);
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.75rem;
        }
.guide-section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
.badge-tag {
            display: inline-block;
            background: rgba(100, 116, 139, 0.12);
            color: var(--text);
            padding: 0.35rem 0.75rem;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin: 0.25rem;
        }
.shortcut-key {
            display: inline-block;
            background: var(--text);
            color: var(--bg);
            padding: 0.2rem 0.6rem;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: 700;
            font-family: 'Inter', monospace;
            margin: 0 0.2rem;
        }

/* --- Bootstrap 组件配色适配(程序自动补,避免白底黑字) --- */
.card-body { background:transparent !important; color:#1e293b !important; }
.accordion-item { background:rgba(0,0,0,.03) !important; color:#1e293b !important; border-color:rgba(0,0,0,.12) !important; }
.accordion-button { background:rgba(0,0,0,.03) !important; color:#1e293b !important; }
.accordion-body { background:transparent !important; color:#1e293b !important; }
.accordion-header { background:transparent !important; }
