/* roulang page: index */
:root {
            --primary: #4A7BA5;
            --primary-dark: #3D6A90;
            --accent: #D4A853;
            --bg: #F7F9FC;
            --card-bg: #FFFFFF;
            --text-primary: #1A2A3A;
            --text-secondary: #5A6A7A;
            --border: #E8EDF2;
            --radius-card: 12px;
            --radius-btn: 8px;
            --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.10);
            --shadow-dock: 0 4px 20px rgba(0, 0, 0, 0.08);
            --max-width: 1200px;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        body {
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
            background-color: var(--bg);
            color: var(--text-primary);
            line-height: 1.6;
            margin: 0;
            padding: 0;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        button {
            cursor: pointer;
            font-family: inherit;
        }
        input {
            font-family: inherit;
        }
        .container-page {
            max-width: var(--max-width);
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        .section-gap {
            padding-top: 5rem;
            padding-bottom: 5rem;
        }
        @media (min-width: 768px) {
            .section-gap {
                padding-top: 6rem;
                padding-bottom: 6rem;
            }
        }
        @media (max-width: 640px) {
            .container-page {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .section-gap {
                padding-top: 3rem;
                padding-bottom: 3rem;
            }
        }

        /* Dock导航 */
        .nav-dock {
            position: fixed;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 100;
            width: calc(100% - 2rem);
            max-width: 900px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 16px;
            box-shadow: var(--shadow-dock);
            padding: 0.75rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: box-shadow 0.3s ease;
        }
        .nav-dock:hover {
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
        }
        .nav-logo {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .nav-logo .logo-dot {
            display: inline-block;
            width: 10px;
            height: 10px;
            background: var(--primary);
            border-radius: 50%;
            margin-right: 2px;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .nav-links a {
            padding: 0.4rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
            position: relative;
        }
        .nav-links a:hover {
            background: rgba(74, 123, 165, 0.08);
            color: var(--primary);
        }
        .nav-links a.active {
            color: var(--primary);
            font-weight: 600;
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 16px;
            height: 3px;
            background: var(--primary);
            border-radius: 4px;
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .nav-actions .search-toggle {
            background: none;
            border: none;
            font-size: 1.1rem;
            color: var(--text-secondary);
            padding: 0.4rem 0.6rem;
            border-radius: 8px;
            transition: all 0.2s ease;
        }
        .nav-actions .search-toggle:hover {
            background: rgba(74, 123, 165, 0.08);
            color: var(--primary);
        }
        .nav-cta {
            background: var(--primary);
            color: #fff;
            padding: 0.45rem 1.2rem;
            border-radius: 8px;
            font-size: 0.85rem;
            font-weight: 600;
            border: none;
            transition: all 0.2s ease;
        }
        .nav-cta:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(74, 123, 165, 0.3);
        }
        .nav-cta:active {
            transform: scale(0.97);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.4rem;
            color: var(--text-primary);
            padding: 0.3rem;
        }
        .mobile-drawer {
            display: none;
            position: fixed;
            top: 70px;
            left: 1rem;
            right: 1rem;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
            padding: 1rem 0;
            z-index: 99;
            max-width: 400px;
            margin: 0 auto;
        }
        .mobile-drawer.open {
            display: block;
        }
        .mobile-drawer a {
            display: block;
            padding: 0.7rem 1.5rem;
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }
        .mobile-drawer a:hover {
            background: rgba(74, 123, 165, 0.06);
            color: var(--primary);
        }
        .mobile-drawer a.active {
            color: var(--primary);
            font-weight: 600;
        }
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .nav-actions .nav-cta {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .nav-dock {
                padding: 0.6rem 1rem;
            }
        }
        @media (min-width: 769px) {
            .mobile-drawer {
                display: none !important;
            }
        }

        /* 搜索面板 */
        .search-panel {
            display: none;
            position: fixed;
            top: 76px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 99;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
            padding: 1.25rem;
            width: calc(100% - 2rem);
            max-width: 520px;
        }
        .search-panel.open {
            display: block;
        }
        .search-panel input {
            width: 100%;
            padding: 0.7rem 1rem;
            border: 2px solid var(--border);
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: all 0.2s ease;
        }
        .search-panel input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74, 123, 165, 0.15);
        }

        /* Hero */
        .hero-section {
            padding-top: 8rem;
            padding-bottom: 4rem;
            min-height: 70vh;
            display: flex;
            align-items: center;
            background: linear-gradient(135deg, #F7F9FC 0%, #EDF1F5 100%);
            position: relative;
            overflow: hidden;
        }
        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background-image: url('/assets/images/backpic/back-1.png');
            background-size: cover;
            background-position: center;
            opacity: 0.07;
            pointer-events: none;
        }
        .hero-content {
            position: relative;
            z-index: 1;
        }
        .hero-title {
            font-size: 2.8rem;
            line-height: 1.2;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--text-primary);
            max-width: 720px;
        }
        .hero-sub {
            font-size: 1.2rem;
            color: var(--text-secondary);
            max-width: 580px;
            margin-top: 1.2rem;
            line-height: 1.7;
        }
        .hero-actions {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }
        .btn-primary {
            background: var(--primary);
            color: #fff;
            padding: 0.8rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(74, 123, 165, 0.3);
        }
        .btn-primary:active {
            transform: scale(0.97);
        }
        .btn-secondary {
            background: transparent;
            color: var(--primary);
            padding: 0.8rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid var(--primary);
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-secondary:hover {
            background: rgba(74, 123, 165, 0.06);
            transform: translateY(-2px);
        }
        .btn-secondary:active {
            transform: scale(0.97);
        }
        .hero-image-wrap {
            position: relative;
            z-index: 1;
        }
        .hero-image-wrap img {
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        }
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            .hero-sub {
                font-size: 1rem;
            }
            .hero-section {
                padding-top: 6rem;
                padding-bottom: 2rem;
                min-height: auto;
            }
            .hero-image-wrap {
                margin-top: 2rem;
            }
        }
        @media (max-width: 640px) {
            .hero-title {
                font-size: 1.7rem;
            }
            .hero-actions {
                flex-direction: column;
                width: 100%;
            }
            .hero-actions .btn-primary,
            .hero-actions .btn-secondary {
                width: 100%;
                justify-content: center;
            }
        }

        /* 通用板块标题 */
        .section-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.75rem;
        }
        .section-subtitle {
            font-size: 1rem;
            color: var(--text-secondary);
            max-width: 600px;
            margin-bottom: 2.5rem;
        }
        @media (max-width: 640px) {
            .section-title {
                font-size: 1.4rem;
            }
        }

        /* 水平滚动分类 */
        .category-scroll-wrap {
            position: relative;
            overflow: hidden;
        }
        .category-scroll {
            display: flex;
            gap: 1.25rem;
            overflow-x: auto;
            scroll-behavior: smooth;
            -ms-overflow-style: none;
            scrollbar-width: none;
            padding-bottom: 0.5rem;
        }
        .category-scroll::-webkit-scrollbar {
            display: none;
        }
        .category-card {
            flex: 0 0 260px;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            padding: 1.5rem;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
            cursor: pointer;
        }
        .category-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary);
        }
        .category-card .cat-icon {
            width: 48px;
            height: 48px;
            background: rgba(74, 123, 165, 0.1);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        .category-card h3 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.4rem;
        }
        .category-card p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.5;
        }
        .scroll-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 40px;
            height: 40px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 50%;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            z-index: 2;
        }
        .scroll-arrow:hover {
            background: var(--primary);
            color: #fff;
            border-color: var(--primary);
        }
        .scroll-arrow.left {
            left: -14px;
        }
        .scroll-arrow.right {
            right: -14px;
        }
        @media (max-width: 640px) {
            .category-card {
                flex: 0 0 200px;
                padding: 1.2rem;
            }
            .scroll-arrow {
                display: none;
            }
        }

        /* 精选条目 */
        .feature-item {
            display: flex;
            gap: 2rem;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            overflow: hidden;
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }
        .feature-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
        .feature-item .feature-img {
            flex: 0 0 40%;
            min-height: 240px;
            background: #E8EDF2;
            overflow: hidden;
        }
        .feature-item .feature-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .feature-item .feature-body {
            flex: 1;
            padding: 2rem 2rem 2rem 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .feature-item .feature-body h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.6rem;
        }
        .feature-item .feature-body p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 1.2rem;
        }
        .feature-item .feature-body .feature-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .feature-item .feature-body .feature-actions .fav {
            background: none;
            border: none;
            font-size: 1.2rem;
            color: var(--accent);
            transition: all 0.2s ease;
            padding: 0.2rem 0.4rem;
        }
        .feature-item .feature-body .feature-actions .fav:hover {
            transform: scale(1.15);
        }
        @media (max-width: 768px) {
            .feature-item {
                flex-direction: column;
            }
            .feature-item .feature-img {
                flex: 0 0 200px;
                min-height: 200px;
            }
            .feature-item .feature-body {
                padding: 1.5rem;
            }
            .feature-item .feature-body h3 {
                font-size: 1.2rem;
            }
        }
        @media (max-width: 640px) {
            .feature-item .feature-img {
                flex: 0 0 160px;
                min-height: 160px;
            }
        }

        /* 资讯列表卡片 */
        .news-card {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        .news-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
        .news-card .news-thumb {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: #E8EDF2;
        }
        .news-card .news-body {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .news-card .news-body h4 {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-card .news-body p {
            font-size: 0.85rem;
            color: var(--text-secondary);
            line-height: 1.6;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 0.8rem;
        }
        .news-card .news-meta {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            flex-wrap: wrap;
            margin-top: auto;
        }
        .news-card .news-meta .tag {
            background: rgba(74, 123, 165, 0.1);
            color: var(--primary);
            font-size: 0.7rem;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-weight: 500;
        }
        .news-card .news-meta .date {
            font-size: 0.75rem;
            color: #9CA3AF;
        }
        .news-empty {
            grid-column: 1 / -1;
            text-align: center;
            padding: 3rem 1rem;
            color: var(--text-secondary);
        }
        .news-empty i {
            font-size: 3rem;
            color: #D1D9E0;
            margin-bottom: 1rem;
            display: block;
        }
        .news-empty p {
            font-size: 1rem;
        }
        @media (max-width: 640px) {
            .news-card .news-thumb {
                height: 140px;
            }
        }

        /* 推荐小卡 */
        .rec-card {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            border: 1px solid var(--border);
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.75rem;
        }
        .rec-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-2px);
        }
        .rec-card .rec-img {
            flex: 0 0 120px;
            height: 80px;
            border-radius: 8px;
            object-fit: cover;
            background: #E8EDF2;
        }
        .rec-card .rec-info {
            flex: 1;
            min-width: 0;
        }
        .rec-card .rec-info h4 {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .rec-card .rec-info .rec-date {
            font-size: 0.75rem;
            color: #9CA3AF;
        }
        @media (max-width: 640px) {
            .rec-card .rec-img {
                flex: 0 0 100px;
                height: 68px;
            }
        }

        /* FAQ */
        .faq-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-card);
            background: var(--card-bg);
            overflow: hidden;
            transition: all 0.2s ease;
            margin-bottom: 0.75rem;
        }
        .faq-item:hover {
            border-color: var(--primary);
        }
        .faq-question {
            padding: 1.2rem 1.5rem;
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
            transition: background 0.2s ease;
        }
        .faq-question:hover {
            background: rgba(74, 123, 165, 0.04);
        }
        .faq-question .q-mark {
            color: var(--accent);
            font-weight: 700;
            margin-right: 0.3rem;
        }
        .faq-question .faq-icon {
            transition: transform 0.3s ease;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        .faq-item.open .faq-question .faq-icon {
            transform: rotate(180deg);
        }
        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease, padding 0.3s ease;
            padding: 0 1.5rem;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.7;
        }
        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 1.5rem 1.2rem;
        }
        .faq-answer .a-mark {
            color: var(--primary);
            font-weight: 600;
            margin-right: 0.3rem;
        }

        /* CTA */
        .cta-section {
            background: linear-gradient(135deg, var(--primary) 0%, #3D6A90 100%);
            color: #fff;
            border-radius: 20px;
            padding: 3.5rem 2.5rem;
            text-align: center;
        }
        .cta-section h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
        }
        .cta-section p {
            font-size: 1.05rem;
            opacity: 0.9;
            max-width: 480px;
            margin: 0 auto 1.8rem;
        }
        .cta-section .cta-btn-group {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }
        .cta-section .btn-cta {
            background: var(--accent);
            color: #fff;
            padding: 0.8rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .cta-section .btn-cta:hover {
            background: #C49A48;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 168, 83, 0.4);
        }
        .cta-section .btn-cta:active {
            transform: scale(0.97);
        }
        .cta-section .btn-outline-cta {
            background: transparent;
            color: #fff;
            padding: 0.8rem 2rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 1rem;
            border: 2px solid rgba(255, 255, 255, 0.6);
            transition: all 0.25s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .cta-section .btn-outline-cta:hover {
            border-color: #fff;
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }
        @media (max-width: 640px) {
            .cta-section {
                padding: 2.5rem 1.5rem;
                border-radius: 16px;
            }
            .cta-section h2 {
                font-size: 1.4rem;
            }
            .cta-section .cta-btn-group {
                flex-direction: column;
            }
            .cta-section .btn-cta,
            .cta-section .btn-outline-cta {
                width: 100%;
                justify-content: center;
            }
        }

        /* 页脚 */
        .site-footer {
            background: #1A2A3A;
            color: rgba(255, 255, 255, 0.85);
            padding: 3.5rem 0 0;
        }
        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 2rem;
        }
        .site-footer h4 {
            font-size: 1rem;
            font-weight: 600;
            color: #fff;
            margin-bottom: 1rem;
        }
        .site-footer p,
        .site-footer a {
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.6);
            line-height: 1.8;
        }
        .site-footer a:hover {
            color: #fff;
        }
        .site-footer .footer-logo {
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.8rem;
        }
        .site-footer .footer-logo .dot {
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
        }
        .site-footer .footer-contact li {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            margin-bottom: 0.4rem;
            font-size: 0.88rem;
            color: rgba(255, 255, 255, 0.6);
        }
        .site-footer .footer-contact li i {
            width: 18px;
            color: var(--accent);
        }
        .site-footer .social-icons {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.5rem;
        }
        .site-footer .social-icons a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.6);
            transition: all 0.2s ease;
        }
        .site-footer .social-icons a:hover {
            background: var(--primary);
            color: #fff;
        }
        .site-footer .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 1.2rem 0;
            margin-top: 2.5rem;
            text-align: center;
            font-size: 0.8rem;
            color: rgba(255, 255, 255, 0.4);
        }
        @media (max-width: 768px) {
            .site-footer .footer-grid {
                grid-template-columns: 1fr 1fr;
                gap: 1.5rem;
            }
        }
        @media (max-width: 640px) {
            .site-footer .footer-grid {
                grid-template-columns: 1fr;
            }
            .site-footer {
                padding: 2.5rem 0 0;
            }
        }

        /* 收藏提示 */
        .bookmark-toast {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%) translateY(80px);
            background: #1A2A3A;
            color: #fff;
            padding: 0.8rem 1.8rem;
            border-radius: 12px;
            font-size: 0.9rem;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 200;
            pointer-events: none;
        }
        .bookmark-toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }

        /* 通用工具 */
        .text-balance {
            text-wrap: balance;
        }
        .line-clamp-2 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .line-clamp-3 {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .transition-base {
            transition: all 0.2s ease;
        }

        /* 搜索遮罩 */
        .search-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.2);
            z-index: 98;
        }
        .search-overlay.open {
            display: block;
        }

        /* 文章页/分类页通用占位 - 首页不用 */

/* roulang page: category1 */
:root {
            --primary: #4A7BA5;
            --primary-dark: #3D6A90;
            --accent: #D4A853;
            --bg: #F7F9FC;
            --card-bg: #FFFFFF;
            --text-primary: #1A2A3A;
            --text-secondary: #5A6A7A;
            --border: #E8EDF2;
            --radius-card: 12px;
            --radius-btn: 8px;
            --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.10);
            --shadow-dock: 0 4px 20px rgba(0, 0, 0, 0.08);
            --max-width: 1200px;
        }
        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }
        body {
            margin: 0;
            font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
            background-color: var(--bg);
            color: var(--text-primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }
        img {
            max-width: 100%;
            height: auto;
            display: block;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: color 0.2s ease;
        }
        button {
            cursor: pointer;
            font-family: inherit;
        }
        input {
            font-family: inherit;
        }
        .container-page {
            max-width: var(--max-width);
            margin: 0 auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }
        /* Floating Dock 导航 */
        .nav-dock {
            position: fixed;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 900px;
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 16px;
            box-shadow: var(--shadow-dock);
            padding: 0.75rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 1000;
            transition: box-shadow 0.3s ease;
        }
        .nav-dock:hover {
            box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10);
        }
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            font-size: 1.125rem;
            color: var(--text-primary);
        }
        .nav-logo .logo-dot {
            width: 10px;
            height: 10px;
            background: var(--primary);
            border-radius: 50%;
            display: inline-block;
            flex-shrink: 0;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 1.25rem;
        }
        .nav-links a {
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-secondary);
            padding: 0.25rem 0.5rem;
            border-radius: 6px;
            transition: color 0.2s, background 0.2s;
            position: relative;
        }
        .nav-links a:hover {
            color: var(--primary);
            background: rgba(74, 123, 165, 0.06);
        }
        .nav-links a.active {
            color: var(--primary);
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        .search-toggle {
            background: none;
            border: none;
            font-size: 1.15rem;
            color: var(--text-secondary);
            padding: 0.4rem 0.6rem;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
        }
        .search-toggle:hover {
            background: rgba(74, 123, 165, 0.08);
            color: var(--primary);
        }
        .nav-cta {
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: 0.875rem;
            padding: 0.5rem 1.25rem;
            border-radius: var(--radius-btn);
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            white-space: nowrap;
        }
        .nav-cta:hover {
            background: var(--primary-dark);
            box-shadow: 0 4px 12px rgba(74, 123, 165, 0.30);
            transform: translateY(-1px);
        }
        .nav-cta:active {
            transform: scale(0.97);
        }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.3rem;
            color: var(--text-primary);
            padding: 0.4rem;
            border-radius: 8px;
            transition: background 0.2s;
        }
        .hamburger:hover {
            background: rgba(0, 0, 0, 0.05);
        }
        .mobile-drawer {
            display: none;
            position: fixed;
            top: 72px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 2rem);
            max-width: 400px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
            padding: 1.25rem 1.5rem;
            z-index: 999;
            flex-direction: column;
            gap: 0.75rem;
        }
        .mobile-drawer.open {
            display: flex;
        }
        .mobile-drawer a {
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-secondary);
            padding: 0.6rem 0.75rem;
            border-radius: 8px;
            transition: background 0.2s, color 0.2s;
        }
        .mobile-drawer a:hover {
            background: rgba(74, 123, 165, 0.06);
            color: var(--primary);
        }
        .mobile-drawer a.active {
            color: var(--primary);
            background: rgba(74, 123, 165, 0.08);
        }
        .search-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.30);
            z-index: 998;
            backdrop-filter: blur(2px);
        }
        .search-overlay.open {
            display: block;
        }
        .search-panel {
            display: none;
            position: fixed;
            top: 80px;
            left: 50%;
            transform: translateX(-50%);
            width: calc(100% - 2rem);
            max-width: 520px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
            padding: 1.25rem 1.5rem;
            z-index: 999;
        }
        .search-panel.open {
            display: block;
        }
        .search-panel input[type="text"] {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1.5px solid var(--border);
            border-radius: var(--radius-btn);
            font-size: 1rem;
            outline: none;
            transition: border-color 0.2s, box-shadow 0.2s;
        }
        .search-panel input[type="text"]:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(74, 123, 165, 0.15);
        }
        /* 页脚 */
        .site-footer {
            background: #1A2A3A;
            color: #fff;
            padding: 3rem 0 1.5rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        @media (min-width: 640px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (min-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1.5fr 1fr 1fr 1fr;
            }
        }
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 0.75rem;
        }
        .footer-logo .dot {
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
            display: inline-block;
            flex-shrink: 0;
        }
        .site-footer p {
            font-size: 0.875rem;
            opacity: 0.75;
            line-height: 1.7;
        }
        .site-footer h4 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: #fff;
        }
        .site-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .site-footer ul li {
            margin-bottom: 0.4rem;
        }
        .site-footer ul li a {
            font-size: 0.875rem;
            opacity: 0.7;
            transition: opacity 0.2s;
        }
        .site-footer ul li a:hover {
            opacity: 1;
        }
        .footer-contact li {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            opacity: 0.7;
        }
        .social-icons {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.25rem;
        }
        .social-icons a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            font-size: 1.1rem;
            transition: background 0.2s, transform 0.2s;
        }
        .social-icons a:hover {
            background: rgba(255, 255, 255, 0.18);
            transform: translateY(-2px);
        }
        .footer-bottom {
            margin-top: 2rem;
            padding-top: 1.25rem;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            text-align: center;
            font-size: 0.75rem;
            opacity: 0.5;
        }
        /* 页面通用 */
        .page-hero {
            padding: 7rem 0 3rem;
            background: linear-gradient(135deg, #F7F9FC 0%, #EDF1F5 100%);
            position: relative;
            overflow: hidden;
        }
        .page-hero::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('/assets/images/backpic/back-2.png') center/cover no-repeat;
            opacity: 0.06;
            pointer-events: none;
        }
        .section-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }
        @media (min-width: 768px) {
            .section-title {
                font-size: 2rem;
            }
        }
        .section-sub {
            font-size: 1rem;
            color: var(--text-secondary);
            max-width: 640px;
        }
        .card-item {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            padding: 1.5rem;
            transition: box-shadow 0.25s, transform 0.25s;
            border: 1px solid var(--border);
        }
        .card-item:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
        .badge-accent {
            display: inline-block;
            background: rgba(212, 168, 83, 0.12);
            color: #B8943E;
            font-size: 0.75rem;
            font-weight: 600;
            padding: 0.2rem 0.7rem;
            border-radius: 20px;
            letter-spacing: 0.3px;
        }
        .btn-primary {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            background: var(--primary);
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.75rem 1.75rem;
            border-radius: var(--radius-btn);
            transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
            border: none;
        }
        .btn-primary:hover {
            background: var(--primary-dark);
            box-shadow: 0 6px 18px rgba(74, 123, 165, 0.30);
            transform: translateY(-2px);
        }
        .btn-primary:active {
            transform: scale(0.97);
        }
        .btn-outline {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            border: 2px solid var(--primary);
            color: var(--primary);
            font-weight: 600;
            font-size: 0.95rem;
            padding: 0.7rem 1.7rem;
            border-radius: var(--radius-btn);
            background: transparent;
            transition: background 0.2s, color 0.2s, transform 0.15s;
        }
        .btn-outline:hover {
            background: var(--primary);
            color: #fff;
            transform: translateY(-2px);
        }
        .btn-outline:active {
            transform: scale(0.97);
        }
        .faq-item {
            border: 1px solid var(--border);
            border-radius: var(--radius-card);
            background: var(--card-bg);
            overflow: hidden;
            transition: box-shadow 0.2s;
        }
        .faq-item:hover {
            box-shadow: var(--shadow-card);
        }
        .faq-question {
            padding: 1.15rem 1.5rem;
            font-weight: 600;
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: background 0.2s;
            user-select: none;
        }
        .faq-question:hover {
            background: rgba(74, 123, 165, 0.04);
        }
        .faq-question .q-mark {
            color: var(--accent);
            font-weight: 700;
            margin-right: 0.5rem;
            flex-shrink: 0;
        }
        .faq-question .icon-toggle {
            transition: transform 0.3s;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        .faq-question.open .icon-toggle {
            transform: rotate(180deg);
        }
        .faq-answer {
            padding: 0 1.5rem 1.15rem;
            font-size: 0.95rem;
            color: var(--text-secondary);
            line-height: 1.7;
            display: none;
        }
        .faq-answer.open {
            display: block;
        }
        .faq-answer .a-mark {
            color: var(--primary);
            font-weight: 600;
            margin-right: 0.4rem;
        }
        .step-number {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: var(--primary);
            color: #fff;
            font-weight: 700;
            font-size: 1.1rem;
            flex-shrink: 0;
        }
        /* 响应式 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            .hamburger {
                display: block;
            }
            .nav-cta {
                display: none;
            }
            .nav-dock {
                padding: 0.65rem 1rem;
                max-width: calc(100% - 1.5rem);
            }
            .page-hero {
                padding: 6rem 0 2.5rem;
            }
            .section-title {
                font-size: 1.5rem;
            }
            .card-item {
                padding: 1.25rem;
            }
        }
        @media (max-width: 480px) {
            .nav-dock {
                top: 8px;
                border-radius: 12px;
                padding: 0.5rem 0.9rem;
            }
            .nav-logo {
                font-size: 1rem;
            }
            .nav-logo .logo-dot {
                width: 8px;
                height: 8px;
            }
            .container-page {
                padding-left: 1rem;
                padding-right: 1rem;
            }
            .page-hero h1 {
                font-size: 1.75rem !important;
            }
            .btn-primary,
            .btn-outline {
                font-size: 0.85rem;
                padding: 0.6rem 1.2rem;
            }
        }
        /* 滚动条美化 */
        .horizontal-scroll::-webkit-scrollbar {
            height: 6px;
        }
        .horizontal-scroll::-webkit-scrollbar-track {
            background: transparent;
        }
        .horizontal-scroll::-webkit-scrollbar-thumb {
            background: var(--border);
            border-radius: 10px;
        }
        .horizontal-scroll::-webkit-scrollbar-thumb:hover {
            background: #ccc;
        }
        .focus-ring:focus-visible {
            outline: 2px solid var(--primary);
            outline-offset: 3px;
            border-radius: 4px;
        }

/* roulang page: article */
:root {
            --primary: #4A7BA5;
            --primary-dark: #3D6A90;
            --accent: #D4A853;
            --bg: #F7F9FC;
            --card-bg: #FFFFFF;
            --text-primary: #1A2A3A;
            --text-secondary: #5A6A7A;
            --border: #E8EDF2;
            --radius-card: 12px;
            --radius-btn: 8px;
            --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
            --shadow-hover: 0 8px 24px rgba(0,0,0,0.10);
            --shadow-dock: 0 4px 20px rgba(0,0,0,0.08);
            --max-width: 1200px;
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: 'PingFang SC','Microsoft YaHei','Noto Sans SC',sans-serif;
            background: var(--bg);
            color: var(--text-primary);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            padding-top: 80px;
        }
        a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
        img { max-width: 100%; height: auto; display: block; }
        button { cursor: pointer; font-family: inherit; }
        input, textarea { font-family: inherit; }

        .container-page {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        /* ── Dock 导航 ── */
        .nav-dock {
            position: fixed;
            top: 12px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1000;
            background: rgba(255,255,255,0.90);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 16px;
            box-shadow: var(--shadow-dock);
            max-width: 900px;
            width: calc(100% - 2rem);
            padding: 0.75rem 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: box-shadow 0.3s ease;
        }
        .nav-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text-primary);
        }
        .nav-logo .logo-dot {
            width: 10px;
            height: 10px;
            background: var(--primary);
            border-radius: 50%;
            display: inline-block;
        }
        .nav-links {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .nav-links a {
            padding: 0.5rem 1rem;
            border-radius: var(--radius-btn);
            font-size: 0.9rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
            position: relative;
        }
        .nav-links a:hover {
            color: var(--primary);
            background: rgba(74,123,165,0.06);
        }
        .nav-links a.active {
            color: var(--primary);
            font-weight: 600;
        }
        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: var(--primary);
            border-radius: 2px;
        }
        .nav-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        .search-toggle {
            background: none;
            border: none;
            font-size: 1.1rem;
            color: var(--text-secondary);
            padding: 0.4rem 0.6rem;
            border-radius: var(--radius-btn);
            transition: all 0.2s ease;
        }
        .search-toggle:hover { color: var(--primary); background: rgba(74,123,165,0.06); }
        .nav-cta {
            background: var(--primary);
            color: #fff !important;
            padding: 0.5rem 1.25rem;
            border-radius: var(--radius-btn);
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(74,123,165,0.3); }
        .nav-cta:active { transform: scale(0.97); }
        .hamburger {
            display: none;
            background: none;
            border: none;
            font-size: 1.3rem;
            color: var(--text-primary);
            padding: 0.3rem 0.5rem;
            border-radius: var(--radius-btn);
        }
        .hamburger:hover { background: rgba(0,0,0,0.04); }

        /* 移动端抽屉 */
        .mobile-drawer {
            display: none;
            position: fixed;
            top: 76px;
            left: 1rem;
            right: 1rem;
            z-index: 999;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-hover);
            padding: 1rem;
            flex-direction: column;
            gap: 0.25rem;
        }
        .mobile-drawer.open { display: flex; }
        .mobile-drawer a {
            padding: 0.75rem 1rem;
            border-radius: var(--radius-btn);
            font-size: 1rem;
            font-weight: 500;
            color: var(--text-secondary);
            transition: all 0.2s ease;
        }
        .mobile-drawer a:hover { background: rgba(74,123,165,0.06); color: var(--primary); }
        .mobile-drawer a.active { color: var(--primary); font-weight: 600; background: rgba(74,123,165,0.08); }

        /* 搜索面板 */
        .search-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.3);
            z-index: 998;
        }
        .search-overlay.open { display: block; }
        .search-panel {
            display: none;
            position: fixed;
            top: 90px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 999;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-hover);
            padding: 1.25rem;
            width: calc(100% - 2rem);
            max-width: 480px;
        }
        .search-panel.open { display: block; }
        .search-panel input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid var(--border);
            border-radius: var(--radius-btn);
            font-size: 1rem;
            outline: none;
            transition: border-color 0.3s ease;
        }
        .search-panel input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(74,123,165,0.15); }

        /* ── 面包屑 ── */
        .breadcrumb {
            padding: 1.5rem 0 0.5rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        .breadcrumb a { color: var(--primary); }
        .breadcrumb a:hover { text-decoration: underline; }
        .breadcrumb .sep { margin: 0 0.4rem; color: #b0b8c4; }

        /* ── 文章主体 ── */
        .article-wrapper {
            max-width: 720px;
            margin: 0 auto;
            padding: 1.5rem 0 3rem;
        }
        .article-title {
            font-size: 2.2rem;
            font-weight: 700;
            line-height: 1.3;
            color: var(--text-primary);
            margin-bottom: 1rem;
            letter-spacing: -0.01em;
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.75rem 1.2rem;
            font-size: 0.85rem;
            color: var(--text-secondary);
            padding-bottom: 1.25rem;
            border-bottom: 1px solid var(--border);
            margin-bottom: 1.5rem;
        }
        .article-meta .meta-item { display: flex; align-items: center; gap: 0.3rem; }
        .article-meta .meta-item i { font-size: 0.75rem; }
        .article-meta .dot-sep { color: #ccd2dc; font-size: 0.6rem; }
        .article-meta .category-tag {
            background: rgba(74,123,165,0.10);
            color: var(--primary);
            padding: 0.2rem 0.7rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 500;
        }
        .article-meta .fav-btn {
            background: none;
            border: none;
            font-size: 1.1rem;
            color: #c0c8d4;
            padding: 0.2rem 0.4rem;
            border-radius: 6px;
            transition: all 0.2s ease;
            margin-left: auto;
        }
        .article-meta .fav-btn:hover { color: var(--accent); transform: scale(1.15); }
        .article-meta .fav-btn.liked { color: var(--accent); }

        /* 正文阅读区 */
        .article-content {
            font-size: 1.05rem;
            line-height: 1.85;
            color: var(--text-primary);
        }
        .article-content p {
            margin-bottom: 1.25rem;
        }
        .article-content h2 {
            font-size: 1.5rem;
            font-weight: 600;
            margin: 2rem 0 0.75rem;
            color: var(--text-primary);
        }
        .article-content h3 {
            font-size: 1.2rem;
            font-weight: 600;
            margin: 1.5rem 0 0.5rem;
            color: var(--text-primary);
        }
        .article-content img {
            border-radius: var(--radius-card);
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            margin: 1.5rem auto;
        }
        .article-content blockquote {
            border-left: 4px solid var(--primary);
            background: rgba(74,123,165,0.04);
            padding: 1rem 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
            color: var(--text-secondary);
            font-style: normal;
        }
        .article-content ul, .article-content ol {
            margin: 1rem 0 1.25rem 1.5rem;
        }
        .article-content li {
            margin-bottom: 0.4rem;
        }
        .article-content a {
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .article-content a:hover { color: var(--primary-dark); }

        /* 文章底部导航 */
        .article-footer-nav {
            margin-top: 2.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        .back-home-link {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--primary);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.2s ease;
        }
        .back-home-link:hover { color: var(--primary-dark); gap: 0.6rem; }
        .back-home-link i { font-size: 0.8rem; }

        /* ── 相关推荐 ── */
        .related-section {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 2.5rem 1.5rem 3rem;
        }
        .related-section h2 {
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }
        .related-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        .related-card {
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
        }
        .related-card:hover {
            box-shadow: var(--shadow-hover);
            transform: translateY(-3px);
        }
        .related-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }
        .related-card .card-body {
            padding: 1rem 1.1rem 1.2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        .related-card .card-body h4 {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.4rem;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .related-card .card-body .meta {
            font-size: 0.8rem;
            color: var(--text-secondary);
            margin-top: auto;
        }

        /* ── 内容未找到 ── */
        .not-found-box {
            text-align: center;
            padding: 4rem 2rem;
            background: var(--card-bg);
            border-radius: var(--radius-card);
            box-shadow: var(--shadow-card);
        }
        .not-found-box i {
            font-size: 3rem;
            color: #ccd2dc;
            margin-bottom: 1rem;
        }
        .not-found-box h2 {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }
        .not-found-box p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
        }
        .not-found-box .btn-home {
            display: inline-block;
            background: var(--primary);
            color: #fff;
            padding: 0.7rem 2rem;
            border-radius: var(--radius-btn);
            font-weight: 500;
            transition: all 0.2s ease;
        }
        .not-found-box .btn-home:hover { background: var(--primary-dark); transform: translateY(-1px); }

        /* ── 页脚 ── */
        .site-footer {
            background: #1A2A3A;
            color: #e8ecf0;
            padding: 3rem 0 1.5rem;
            margin-top: 2rem;
        }
        .site-footer .footer-grid {
            display: grid;
            grid-template-columns: 1.5fr 1fr 1fr 1fr;
            gap: 2rem;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 1.5rem;
        }
        .site-footer .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 0.75rem;
        }
        .site-footer .footer-logo .dot {
            width: 10px;
            height: 10px;
            background: var(--accent);
            border-radius: 50%;
            display: inline-block;
        }
        .site-footer p {
            font-size: 0.85rem;
            line-height: 1.6;
            opacity: 0.75;
            max-width: 320px;
        }
        .site-footer h4 {
            color: #fff;
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
        }
        .site-footer ul { list-style: none; }
        .site-footer ul li { margin-bottom: 0.35rem; }
        .site-footer ul li a {
            font-size: 0.85rem;
            opacity: 0.7;
            transition: all 0.2s ease;
        }
        .site-footer ul li a:hover { opacity: 1; color: var(--accent); }
        .site-footer .footer-contact li {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.85rem;
            opacity: 0.75;
        }
        .site-footer .social-icons {
            display: flex;
            gap: 0.75rem;
            margin-top: 0.25rem;
        }
        .site-footer .social-icons a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            color: #fff;
            opacity: 0.6;
            transition: all 0.2s ease;
        }
        .site-footer .social-icons a:hover { opacity: 1; background: rgba(255,255,255,0.15); transform: translateY(-2px); }
        .site-footer .footer-bottom {
            max-width: var(--max-width);
            margin: 2rem auto 0;
            padding: 1.25rem 1.5rem 0;
            border-top: 1px solid rgba(255,255,255,0.08);
            font-size: 0.75rem;
            opacity: 0.5;
            text-align: center;
        }

        /* ── 响应式 ── */
        @media (max-width: 1024px) {
            .site-footer .footer-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (max-width: 768px) {
            body { padding-top: 72px; }
            .nav-dock { padding: 0.5rem 1rem; border-radius: 14px; top: 10px; }
            .nav-links { display: none; }
            .hamburger { display: block; }
            .nav-cta { display: none; }
            .article-title { font-size: 1.6rem; }
            .article-content { font-size: 1rem; }
            .article-wrapper { padding: 1rem 1rem 2rem; }
            .related-grid { grid-template-columns: 1fr; }
            .related-section { padding: 1.5rem 1rem 2rem; }
            .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
            .article-meta { gap: 0.5rem; font-size: 0.8rem; }
            .article-meta .fav-btn { margin-left: 0; }
            .breadcrumb { padding: 1rem 1rem 0.25rem; font-size: 0.8rem; }
        }
        @media (max-width: 520px) {
            .nav-dock { width: calc(100% - 1rem); padding: 0.4rem 0.75rem; }
            .article-title { font-size: 1.35rem; }
            .related-card img { height: 140px; }
        }

        /* ── 工具 ── */
        .text-balance { text-wrap: balance; }
        .transition-base { transition: all 0.2s ease; }
