        .jiri-item { transition: all 0.3s ease; }
        .jiri-item:hover { transform: translateY(-2px); }
        .related-tag { transition: all 0.2s; }
        .related-tag:hover { background: var(--color); color: #fff; border-color: var(--color); }
        .gradient-bg { background: linear-gradient(135deg, var(--color) 0%, var(--color-alpha) 100%); }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
        .fade-in { animation: fadeIn 0.6s ease forwards; }
        /* H1链接样式 */
        .h1-link { color: inherit; text-decoration: none; }
        .h1-link:hover { opacity: 0.9; }
        /* 宜事项高亮 */
        .highlight-suitable { background: var(--color); color: #fff; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
        /* 年份Tab */
        .year-tab { cursor: pointer; padding: 10px 28px; border-radius: 8px 8px 0 0; font-weight: 500; color: #666; border-bottom: 2px solid transparent; transition: all 0.2s; background: #f5f5f5; margin-right: 4px; }
        .year-tab:hover { background: #eee; }
        .year-tab.active { color: var(--color); border-bottom-color: var(--color); background: #fff; }
        .year-panel { display: none; }
        .year-panel.active { display: block; animation: fadeIn 0.4s ease; }
        /* 年份Tab移动端自适应 */
        .year-tabs-wrapper { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; white-space: nowrap; }
        .year-tabs-wrapper::-webkit-scrollbar { display: none; }
        @media (max-width: 640px) {
            .year-tab { padding: 8px 14px; font-size: 13px; white-space: nowrap; flex-shrink: 0; }
            .year-tab .text-xs { font-size: 10px; }
        }
        /* 加载更多按钮 */
        .load-more-btn {
            display: block; width: 100%; max-width: 360px; margin: 24px auto 8px;
            padding: 12px 24px; border: 2px solid var(--color); border-radius: 9999px;
            background: #fff; color: var(--color); font-size: 15px; font-weight: 500;
            cursor: pointer; transition: all 0.2s; text-align: center;
        }
        .load-more-btn:hover:not(:disabled) { background: var(--color); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
        .load-more-btn:disabled { opacity: 0.5; cursor: not-allowed; border-color: #ccc; color: #999; }
        .load-more-btn.hidden { display: none; }
        /* 移动端菜单 */
        .mobile-menu-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.5);
            z-index: 40;
        }
        .mobile-menu-overlay.active { display: block; }
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            max-width: 320px;
            height: 100vh;
            background: #fff;
            z-index: 50;
            transition: right 0.3s ease;
            overflow-y: auto;
            box-shadow: -2px 0 8px rgba(0,0,0,0.1);
        }
        .mobile-menu.active { right: 0; }
        .mobile-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 20px;
            background: var(--color);
            color: #fff;
        }
        .mobile-menu-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            padding: 4px;
        }
        .mobile-menu-nav {
            padding: 12px 0;
        }
        .mobile-menu-nav a {
            display: block;
            padding: 14px 20px;
            color: #333;
            text-decoration: none;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.2s;
        }
        .mobile-menu-nav a:hover {
            background: #f8f8f8;
            padding-left: 24px;
        }
        .mobile-menu-nav a.active {
            background: var(--color);
            color: #fff;
            font-weight: 600;
        }
    
        /* 友情链接样式 */
        .friend-links-section {
            max-width: 80rem;
            margin: 0 auto;
            padding: 28px 0;
        }
        .friend-links-section .max-w-7xl {
            padding-top: 6px;
            padding-bottom: 6px;
        }
        .friend-links-title {
            font-size: 15px;
            color: #495057;
            margin-bottom: 16px;
            text-align: center;
            font-weight: 600;
            letter-spacing: 1px;
        }
        .friend-links-list {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px 24px;
        }
        .friend-link {
            color: #495057;
            text-decoration: none;
            font-size: 13px;
            padding: 6px 14px;
            background: #fff;
            border: 1px solid #ced4da;
            border-radius: 6px;
            transition: all 0.2s;
            white-space: nowrap;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .friend-link:hover {
            background: #495057;
            color: #fff;
            border-color: #495057;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        @media (max-width: 768px) {
            .friend-links-list {
                gap: 8px 12px;
            }
            .friend-link {
                font-size: 12px;
                padding: 5px 10px;
            }
        }
        @media (max-width: 480px) {
            .friend-links-list {
                gap: 6px 8px;
            }
            .friend-link {
                font-size: 11px;
                padding: 4px 8px;
            }
        }
    
        /* ===== 底部固定广告（仅移动端 ≤768px 且已开启） ===== */
        .footer-sticky-good {
            display: none !important;
        }

        @media (max-width: 768px) {
            body.has-footer-good .footer-sticky-good {
                display: block !important;
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                z-index: 9999;
                background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
                box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
                padding: 10px 12px;
                text-align: center;
                border-top: 2px solid #ffd700;
                animation: slideUpGood 0.35s ease;
                will-change: transform;
            }
            @keyframes slideUpGood {
                from { transform: translateY(100%); }
                to   { transform: translateY(0); }
            }
            body.has-footer-good .footer-sticky-good a {
                display: block;
                width: 100%;
                max-width: 1200px;
                margin: 0 auto;
                color: #333;
                text-decoration: none;
                font-size: 14px;
                font-weight: 600;
                line-height: 1.6;
                word-wrap: break-word;
                overflow-wrap: break-word;
            }
            body.has-footer-good .footer-sticky-good a:hover {
                color: #d32f2f;
            }

            body.has-footer-good {
                padding-bottom: 60px !important;
            }
        }