/* ===== 全局变量 酒红暖灰 ===== */
        :root {
            --primary: #9f1239;
            --accent: #e11d48;
            --bg: #fafafa;
            --text: #3f0a1a;
            --shadow-heavy: 0 12px 30px rgba(159, 18, 57, 0.18);
            --shadow-deep: 0 20px 40px rgba(159, 18, 57, 0.25);
            --grid-line: rgba(159, 18, 57, 0.08);
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            font-family: 'Inter', sans-serif;
            font-weight: 400;
            line-height: 1.8;
            background-image: radial-gradient(circle, var(--grid-line) 1px, transparent 1px);
            background-size: 24px 24px;
        }

        h1, h2, h3, h4, .navbar-brand, .display-5 {
            font-weight: 800;
            letter-spacing: -0.02em;
        }

        /* 拟物厚重感：大阴影+高光 */
        .heavy-card {
            background: #ffffff;
            border-radius: 2rem;
            box-shadow: var(--shadow-heavy), inset 0 1px 2px rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(159, 18, 57, 0.08);
            transition: transform 0.25s ease, box-shadow 0.3s ease;
        }
        .heavy-card:hover {
            box-shadow: var(--shadow-deep), inset 0 1px 3px rgba(255, 255, 255, 0.9);
            transform: translateY(-3px);
        }

        /* 渐变文字 */
        .gradient-text {
            background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 90%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 20px rgba(225, 29, 72, 0.2);
        }

        /* 浮动装饰 */
        .floating-orb {
            position: absolute;
            width: 18rem;
            height: 18rem;
            background: radial-gradient(circle at 30% 30%, rgba(225, 29, 72, 0.12), transparent 70%);
            border-radius: 50%;
            filter: blur(40px);
            animation: float 8s ease-in-out infinite alternate;
            z-index: 0;
        }
        @keyframes float {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(20px, -20px) scale(1.1); }
        }

        /* 点阵背景叠加 */
        .dots-bg {
            position: relative;
            background-image: radial-gradient(rgba(159, 18, 57, 0.1) 1px, transparent 1px);
            background-size: 18px 18px;
        }

        /* 时间线横向 */
        .timeline-steps {
            display: flex;
            overflow-x: auto;
            gap: 1.5rem;
            padding-bottom: 1rem;
            scrollbar-width: thin;
            scrollbar-color: var(--accent) #f0e2e8;
        }
        .timeline-steps::-webkit-scrollbar {
            height: 8px;
        }
        .timeline-steps::-webkit-scrollbar-thumb {
            background: var(--accent);
            border-radius: 20px;
        }
        .timeline-step {
            flex: 0 0 240px;
            position: relative;
        }
        .timeline-step::before {
            content: "";
            position: absolute;
            left: -1.2rem;
            top: 1.8rem;
            width: 1.2rem;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), var(--primary));
            opacity: 0.7;
        }
        .timeline-step:first-child::before {
            display: none;
        }

        /* 数据区 等宽字体 */
        .mono-font {
            font-family: 'SFMono-Regular', Consolas, 'Courier New', monospace;
            font-weight: 600;
            letter-spacing: -0.03em;
        }

        /* 标签页切换 */
        .tab-pane {
            padding: 1.8rem 1.2rem;
        }
        .nav-tabs .nav-link.active {
            background-color: var(--primary);
            color: white;
            box-shadow: 0 6px 14px rgba(159, 18, 57, 0.3);
        }
        .nav-tabs .nav-link {
            color: var(--text);
            border-radius: 40px;
            font-weight: 600;
            border: none;
            padding: 0.5rem 1.5rem;
            margin-right: 0.5rem;
            background: #fff;
        }

        /* 滚动显示 */
        .fade-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.7s ease, transform 0.7s ease;
        }
        .fade-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* 图片hover放大 */
        .img-zoom {
            overflow: hidden;
            border-radius: 1.5rem;
        }
        .img-zoom img {
            transition: transform 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.2);
            width: 100%;
            display: block;
        }
        .img-zoom:hover img {
            transform: scale(1.08);
        }

        /* 文字遮罩 */
        .mask-overlay {
            position: relative;
            overflow: hidden;
        }
        .mask-overlay .overlay-text {
            position: absolute;
            inset: 0;
            background: linear-gradient(0deg, rgba(159, 18, 57, 0.6) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.3s;
            display: flex;
            align-items: flex-end;
            padding: 1.5rem;
            font-weight: 700;
            color: white;
            font-size: 1.2rem;
        }
        .mask-overlay:hover .overlay-text {
            opacity: 1;
        }

        /* 导航 */
        .navbar {
            background: rgba(250, 250, 250, 0.85);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(159, 18, 57, 0.1);
            box-shadow: 0 5px 15px rgba(159, 18, 57, 0.08);
        }
        .navbar-brand {
            font-weight: 900;
            font-size: 1.7rem;
            color: var(--primary) !important;
            letter-spacing: -0.02em;
        }
        .nav-link {
            font-weight: 600;
            color: var(--text);
            margin-left: 0.8rem;
        }
        .nav-link:hover {
            color: var(--accent);
        }

        footer {
            background: #1b0a12;
            color: #f2dce5;
        }
        footer a {
            color: #f2dce5;
        }
        .friend-links {
            background: #fff;
            border-radius: 3rem;
            box-shadow: var(--shadow-heavy);
        }

        .parallax-hero {
            background-image: url('{随机图片}');
            background-size: cover;
            background-attachment: fixed;
            background-position: center 30%;
        }
        .hero-overlay {
            background: linear-gradient(to bottom, rgba(250, 250, 250, 0.6), var(--bg));
            backdrop-filter: blur(3px);
        }

        /* 自定义列布局 */
        .section-title {
            font-size: 2.2rem;
            font-weight: 900;
            border-left: 8px solid var(--accent);
            padding-left: 1rem;
            margin-bottom: 2rem;
        }

        @media (max-width: 768px) {
            .timeline-steps {
                flex-wrap: nowrap;
                overflow-x: scroll;
            }
            .navbar-collapse {
                background: rgba(255,255,255,0.97);
                border-radius: 1.5rem;
                padding: 1rem;
                margin-top: 0.5rem;
            }
        }

/* --- 子页面追加 --- */
/* 确保 Bootstrap 组件配色与本站深红/浅米色一致 */
        .card, .card-body, .card-title, .card-text, .card-header, .card-footer {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(159,18,57,0.15);
        }
.form-control, .form-select, .form-label, .input-group-text {
            background: rgba(255,255,255,0.6);
            color: var(--text);
            border-color: rgba(159,18,57,0.2);
        }
.list-group-item, .accordion-item, .accordion-button, .accordion-body {
            background: var(--bg);
            color: var(--text);
            border-color: rgba(159,18,57,0.15);
        }
.modal-content, .modal-header, .modal-body, .dropdown-menu, .dropdown-item {
            background: var(--bg);
            color: var(--text);
        }
.nav-link, .navbar, .navbar-brand {
            background: transparent;
            color: var(--text);
        }
.btn-light, .btn-outline-* {
            background: transparent;
            color: var(--text);
            border-color: rgba(159,18,57,0.3);
        }
/* 保证所有组件文字不出现纯黑 */
        body, .navbar, .navbar-brand, .nav-link, .card, .accordion, .list-group, .form-control {
            color: var(--text);
        }
/* 小标题特色点缀 */
        .about-title-accent {
            border-left: 4px solid var(--accent);
            padding-left: 0.8rem;
        }
.about-num {
            font-family: 'Inter', sans-serif;
            font-weight: 800;
            color: var(--primary);
            opacity: 0.25;
            font-size: 3.5rem;
            line-height: 1;
            margin-right: 1rem;
        }
.about-icon {
            color: var(--accent);
            font-size: 2rem;
            width: 2.5rem;
            text-align: center;
        }
.timeline-steps .timeline-step {
            background: rgba(159,18,57,0.02);
            border-radius: 16px;
            padding: 1.5rem;
            border: 1px solid rgba(159,18,57,0.08);
            transition: box-shadow .2s;
        }
.timeline-steps .timeline-step:hover {
            box-shadow: var(--shadow-heavy);
        }

/* --- 子页面追加 --- */
/* 本页专属微调样式 */
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.8rem;
            margin-top: 2.5rem;
        }
.art-card {
            background: rgba(255,255,255,.06);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--grid-line);
            transition: transform .3s ease, box-shadow .3s ease;
            cursor: pointer;
        }
.art-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--shadow-heavy);
        }
.art-thumb {
            position: relative;
            height: 220px;
            overflow: hidden;
        }
.art-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .5s ease;
        }
.art-card:hover .art-thumb img {
            transform: scale(1.05);
        }
.art-info {
            padding: 1.2rem 1.4rem 1.4rem;
        }
.art-info h3 {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: .4rem;
            letter-spacing: .02em;
        }
.art-info .art-meta {
            font-size: .8rem;
            color: rgba(63,10,26,.65);
            display: flex;
            gap: 1rem;
            margin-bottom: .5rem;
            font-weight: 500;
        }
.art-info .art-desc {
            font-size: .88rem;
            color: rgba(63,10,26,.75);
            line-height: 1.6;
        }
.filter-bar {
            display: flex;
            flex-wrap: wrap;
            gap: .6rem;
            margin: 2rem 0 1rem;
        }
.filter-btn {
            padding: .45rem 1.4rem;
            border-radius: 30px;
            border: 1.5px solid var(--primary);
            background: transparent;
            color: var(--primary);
            font-size: .85rem;
            font-weight: 600;
            transition: all .25s ease;
        }
.filter-btn:hover,
        .filter-btn.active {
            background: var(--primary);
            color: #fff;
            box-shadow: 0 4px 12px rgba(159,18,57,.25);
        }
.lightbox {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,.9);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 2rem;
        }
.lightbox.show {
            display: flex;
        }
.lightbox img {
            max-width: 90vw;
            max-height: 78vh;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0,0,0,.6);
        }
.lightbox-caption {
            color: #fff;
            margin-top: 1.2rem;
            font-size: 1rem;
            text-align: center;
            max-width: 600px;
        }
.lightbox-close {
            position: absolute;
            top: 20px; right: 30px;
            color: #fff;
            font-size: 2rem;
            cursor: pointer;
            background: none;
            border: none;
            opacity: .8;
            transition: opacity .2s;
        }
.lightbox-close:hover {
            opacity: 1;
        }
.lightbox-prev, .lightbox-next {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: #fff;
            font-size: 2.5rem;
            background: none;
            border: none;
            cursor: pointer;
            opacity: .7;
            transition: opacity .2s;
            padding: 1rem;
        }
.lightbox-prev:hover, .lightbox-next:hover {
            opacity: 1;
        }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.section-intro {
            max-width: 720px;
            margin: 0 auto 1.5rem;
            text-align: center;
            color: rgba(63,10,26,.75);
            font-size: 1.05rem;
            line-height: 1.7;
        }
.quote-block {
            border-left: 3px solid var(--accent);
            padding-left: 1.2rem;
            margin: 2rem 0;
            font-style: italic;
            color: var(--text);
            opacity: .8;
        }

/* --- 子页面追加 --- */
/* 本页专属补充样式 */
        .terms-hero {
            background: linear-gradient(135deg, rgba(159,18,57,0.08) 0%, rgba(225,29,72,0.04) 50%, rgba(159,18,57,0.08) 100%);
            border-bottom: 1px solid var(--grid-line);
            position: relative;
            overflow: hidden;
        }
.terms-hero::before {
            content: '';
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 0;
            background-image: radial-gradient(var(--grid-line) 1px, transparent 1px);
            background-size: 24px 24px;
            opacity: 0.6;
            pointer-events: none;
        }
.terms-container {
            max-width: 860px;
            margin: 0 auto;
        }
.terms-card {
            background: rgba(255,255,255,0.72);
            border: 1px solid var(--grid-line);
            border-radius: 16px;
            padding: 32px 36px;
            box-shadow: var(--shadow-heavy);
            backdrop-filter: blur(8px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 28px;
        }
.terms-card:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-deep);
        }
.terms-card h2 {
            font-size: 1.45rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 16px;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center;
            gap: 10px;
        }
.terms-card h2 i {
            font-size: 1.2rem;
            color: var(--accent);
            width: 28px;
            text-align: center;
        }
.terms-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text);
            margin: 20px 0 10px;
        }
.terms-card p {
            color: var(--text);
            opacity: 0.85;
            line-height: 1.75;
            margin-bottom: 14px;
            font-size: 0.95rem;
        }
.terms-card ul, .terms-card ol {
            color: var(--text);
            opacity: 0.85;
            line-height: 1.75;
            padding-left: 20px;
            margin-bottom: 14px;
        }
.terms-card li {
            margin-bottom: 6px;
        }
.terms-card .highlight-box {
            background: rgba(159,18,57,0.06);
            border-left: 3px solid var(--accent);
            padding: 14px 18px;
            border-radius: 0 10px 10px 0;
            margin: 18px 0;
            font-size: 0.92rem;
        }
.terms-card .highlight-box strong {
            color: var(--primary);
        }
.terms-card .mono-tag {
            font-family: 'SF Mono', 'Fira Code', monospace;
            background: rgba(159,18,57,0.08);
            padding: 2px 8px;
            border-radius: 4px;
            font-size: 0.85rem;
            color: var(--primary);
            white-space: nowrap;
        }
.terms-toc {
            background: linear-gradient(145deg, rgba(159,18,57,0.04), rgba(225,29,72,0.02));
            border: 1px dashed var(--grid-line);
            border-radius: 12px;
            padding: 22px 28px;
            margin-bottom: 32px;
        }
.terms-toc .toc-title {
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
            font-size: 1rem;
            letter-spacing: 0.02em;
        }
.terms-toc .toc-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 6px 16px;
        }
.terms-toc .toc-list li {
            padding: 4px 0;
            font-size: 0.92rem;
        }
.terms-toc .toc-list a {
            color: var(--text);
            text-decoration: none;
            opacity: 0.8;
            transition: all 0.25s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
.terms-toc .toc-list a:hover {
            color: var(--accent);
            opacity: 1;
            transform: translateX(3px);
        }
.terms-toc .toc-list a::before {
            content: '→';
            color: var(--accent);
            font-size: 0.85rem;
        }
.last-updated {
            display: inline-block;
            background: rgba(159,18,57,0.1);
            color: var(--primary);
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            margin-bottom: 18px;
        }
.terms-card {
                padding: 24px 20px;
            }
.terms-toc .toc-list {
                grid-template-columns: 1fr;
            }

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