        /* 全局样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", "SimSun", sans-serif;
        }
        em { font-style: normal; }
        body {
            display: flex;
            background-color: #f9f9f5;
            color: #5a4a3a;
            line-height: 1.6;
            min-width: 1200px; /* 设置最小宽度防止内容挤压 */
            overflow: auto;
            word-wrap: break-word;
            word-break: break-word;
            white-space: normal;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        /* 左侧导航栏 - 保持不变 */
        .sidebar {
            width: 260px;
            background: linear-gradient(to bottom, #F8F1E0, #F5E8C4);
            height: 100vh;
            position: fixed;
            padding: 20px 0;
            display: flex;
            flex-direction: column;
            box-shadow: 2px 0 15px rgba(0, 0, 0, 0.08);
            z-index: 100;
            border-right: 1px solid rgba(139, 90, 43, 0.1);
        }
        
        .logo-container {
            padding: 0 25px 20px;
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(139, 90, 43, 0.15);
            position: relative;
        }
        
        .logo {
            font-size: 26px;
            font-weight: bold;
            color: #8B5A2B;
            text-align: center;
            letter-spacing: 2px;
            position: relative;
            display: inline-block;
            width: 100%;
        }
        
        .logo::after {
            content: "";
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 50px;
            height: 2px;
            background: #D4B483;
        }
        
        .logo-sub {
            font-size: 12px;
            color: #A68B65;
            text-align: center;
            margin-top: 8px;
            letter-spacing: 1px;
        }
        
        .nav-menu {
            flex-grow: 1;
            overflow-y: auto;
            padding: 0 15px;
            /* 自定义滚动条 - 隐藏但保留功能 */
            scrollbar-width: none; /* Firefox */
            -ms-overflow-style: none; /* IE/Edge */
        }
        
        .nav-menu::-webkit-scrollbar {
            display: none; /* Chrome/Safari/Opera */
        }
        
        .nav-title {
            padding: 12px 15px;
            cursor: pointer;
            color: #5a4a3a;
            display: flex;
            align-items: center;
            border-radius: 6px;
            transition: all 0.3s;
            font-size: 15px;
            font-weight: 500;
            background-color: transparent;
        }
        
        .nav-title:hover {
            background-color: rgba(212, 193, 156, 0.2);
            color: #8B5A2B;
        }
        
        .nav-title.active {
            background-color: rgba(212, 193, 156, 0.3);
            color: #8B5A2B;
        }
        
        .nav-title i {
            margin-right: 10px;
            font-size: 16px;
            width: 20px;
            text-align: center;
            color: #A68B65;
        }
        
        .nav-title .arrow {
            font-size: 12px;
            transition: transform 0.3s;
            color: #A68B65;
            margin-left: auto; /* 使箭头靠右 */
        }
        
        .nav-title.active .arrow {
            transform: rotate(90deg);
        }
        /* 面包屑 */
        .breadcrumb {
            color: #a69b8a;
            font-size: 14px;
            margin-bottom: 15px;
        }
        
        .breadcrumb a {
            color: #8B5A2B;
            transition: all 0.3s;
        }
        
        .breadcrumb a:hover {
            color: #5a4a3a;
            text-decoration: underline;
        }
        
        .breadcrumb span {
            margin: 0 5px;
        }
        
        /* 网站首页特殊样式 */
        .nav-item:first-child .nav-title .arrow {
            display: none; /* 隐藏箭头 */
        }
        
        .nav-item:first-child .nav-title {
            padding-right: 15px; /* 保持与其他项相同的padding */
        }
        
        .nav-item:first-child .nav-title span {
            flex-grow: 1; /* 使文字占据剩余空间 */
        }
        
        .submenu {
            display: none;
            padding-left: 10px;
            margin-top: 5px;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .submenu a {
            display: block;
            padding: 10px 15px 10px 40px;
            color: #7a6a5a;
            margin-bottom: 2px;
            border-radius: 5px;
            transition: all 0.3s;
            font-size: 14px;
            position: relative;
        }
        
        .submenu a::before {
            content: "";
            position: absolute;
            left: 25px;
            top: 50%;
            transform: translateY(-50%);
            width: 6px;
            height: 6px;
            background-color: #D4B483;
            border-radius: 50%;
            opacity: 0;
            transition: all 0.3s;
        }
        
        .submenu a:hover {
            background-color: rgba(212, 193, 156, 0.15);
            color: #8B5A2B;
            padding-left: 45px;
        }
        
        .submenu a:hover::before {
            opacity: 1;
            left: 30px;
        }
        
        .external-links {
            margin-top: 20px;
            padding: 20px 15px 0;
            border-top: 1px solid rgba(139, 90, 43, 0.15);
        }
        
        .external-title {
            font-size: 14px;
            color: #A68B65;
            margin-bottom: 12px;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            padding: 0 10px;
        }
        
        .external-title i {
            margin-right: 8px;
            font-size: 16px;
        }
        
        .external-links-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
        }
        
        .external-links a {
            display: flex;
            align-items: center;
            padding: 8px 10px;
            color: #7a6a5a;
            border-radius: 5px;
            transition: all 0.3s;
            font-size: 13px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .external-links a i {
            margin-right: 8px;
            font-size: 14px;
            color: #A68B65;
            width: 18px;
            text-align: center;
        }
        
        .external-links a:hover {
            background-color: rgba(212, 193, 156, 0.15);
            color: #8B5A2B;
        }
        
        .external-links a:hover i {
            color: #8B5A2B;
        }
        
/* ===== 搜索框样式 ===== */
.search-box {
    padding: 0 15px 0px;
    margin: 10px 0px 10px 10px;
    position: relative;
    display: flex; /* 启用Flex布局让输入框和按钮并排 */
}

/* ===== 输入框样式 ===== */
.search-box input {
    width: 100%;
    padding: 10px 15px 10px 40px; /* 左侧留出图标空间 */
    border: 1px solid rgba(139, 90, 43, 0.2);
    border-radius: 20px 0 0 20px; /* 左侧圆角，右侧直角（与按钮拼接） */
    outline: none;
    background-color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    color: #5a4a3a;
    transition: all 0.3s;
}

/* ===== 搜索图标（伪元素实现） ===== */
.search-box::before {
    content: "";
    position: absolute;
    left: 30px; /* 15px输入框padding + 25px父容器padding */
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23A68B65" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg>');
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

/* ===== 搜索按钮 ===== */
.search-button {
    position: absolute;
    right: 5px;
    background-color: #8B5A2B;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box .search-button {
    padding: 10px 20px;
    border: 1px solid #D4B483;
    border-left: none; /* 去除左侧边框（与输入框无缝拼接） */
    border-radius: 0 20px 20px 0; /* 右侧圆角 */
    background-color: #D4B483;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

/* 按钮悬停效果 */
.search-box .search-button:hover {
    background-color: #C9A367;
    border-color: #C9A367;
}

/* ===== 输入框聚焦状态 ===== */
.search-box input:focus {
    border-color: #D4B483;
    box-shadow: 0 0 0 2px rgba(212, 180, 131, 0.2);
    background-color: white;
}

/* ===== 修复自动填充样式 ===== */
.search-box input:-webkit-autofill,
.search-box input:-webkit-autofill:hover,
.search-box input:-webkit-autofill:focus {
    -webkit-text-fill-color: #5a4a3a;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.7) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* ===== 占位符颜色 ===== */
.search-box input::placeholder {
    color: #A68B65;
}








        
 /* 分页 */
.pagination {
    padding-bottom: 2ex;
    padding-top: 38px;
    font-family: Arial, sans-serif;
}

.pagination ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination ul li {
    margin: 0 3px;
}

/* 普通页码链接样式 */
.pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    line-height: 40px;
    text-align: center;
    border-radius: 20px;
    color: #5a4a3a;
    transition: all 0.3s;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid transparent;
}

/* 数字页码 - 圆形 */
.pagination ul li a[title^="第"] {
    border-radius: 50%;
    width: 40px;
    padding: 0;
}

/* 悬停效果 */
.pagination ul li a:hover {
    background-color: #F5E8C4;
    color: #8B5A2B;
}

/* 当前活动页样式 */
.pagination ul li.active span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #8B5A2B;
    color: white;
    font-weight: bold;
}

/* 禁用状态样式 */
.pagination ul li.page_disabled span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    height: 40px;
    border-radius: 20px;
    color: #ccc;
    cursor: not-allowed;
}

/* 上一页/下一页特殊样式 */
.pagination ul li a[title='上一页'],
.pagination ul li a[title='下一页'] {
    padding: 0 15px;
    border-radius: 20px;
    min-width: auto;
}

/* 首页/尾页特殊样式 */
.pagination ul li a[title='首页'],
.pagination ul li a[title='尾页'] {
    padding: 0 15px;
    border-radius: 20px;
    min-width: auto;
}

/* 页码信息样式 */
.pagination ul li.page_disabled span:contains('/') {
    color: #5a4a3a;
    margin-left: 10px;
    padding: 0 10px;
}








        /* 右下角功能按钮组 */
        .floating-buttons {
            position: fixed;
            right: 10px;
            bottom: 30px;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            z-index: 1000;
        }
        
        .floating-button {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #A78B6F;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 12px;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
            position: relative;
        }
        
        .floating-button:hover {
            background-color: #8B6F54;
            transform: translateY(-3px);
        }
        
        .floating-button i {
            font-size: 18px;
        }
        
        .floating-button .tooltip {
            position: absolute;
            right: 45px;
            background-color: #333;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
        }
        
        .floating-button:hover .tooltip {
            opacity: 1;
        }
        
        /* 收藏按钮激活状态 */
        .floating-button.favorited {
            background-color: #f39c12;
        }
        
        /* 会员按钮激活状态 */
        .floating-button.logged-in {
            background-color: #b56600;
        }
        
        /* 返回顶部按钮 */
        .back-to-top {
            background-color: #7D6B58;
        }
        
        /* 分享弹窗 */
        .share-popup {
            position: fixed;
            right: 80px;
            bottom: 150px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            padding: 15px;
            display: none;
            z-index: 1001;
            transform-origin: right bottom;
            animation: popupFadeIn 0.3s ease-out;
            max-width: calc(100vw - 100px);
            overflow: visible;
        }
        
/* 点赞数样式*/
.like-count {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
}

/* 点赞后状态 */
.floating-button.liked {
    color: #fff;
    background: #C6A300;
}

.floating-button.liked .like-count {
    color: #ffcc00;
    font-weight: bold;
}



        /* 分享弹窗箭头 */
        .share-popup::after {
            content: "";
            position: absolute;
            right: -10px;
            bottom: 20px;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            border-left: 10px solid white;
        }
        
        
        @keyframes popupFadeIn {
            from {
                opacity: 0;
                transform: scale(0.8) translateX(20px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateX(0);
            }
        }
        
        .share-popup-platforms {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 10px;
            overflow: visible;
        }
        
        .share-popup-platform {
            margin: 0;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s;
            min-width: 60px;
            flex-shrink: 0;
        }
        
        .share-popup-platform:hover {
            transform: scale(1.1);
        }
        
        .share-popup-platform i {
            font-size: 24px;
            margin-bottom: 5px;
            display: block;
        }
        
        .share-popup-platform p {
            font-size: 12px;
            color: #555;
            white-space: nowrap;
        }
        
        /* 微信二维码弹窗 */
        .wechat-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        
        .wechat-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            max-width: 300px;
            width: 90%;
            text-align: center;
        }
        
        .wechat-close {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
        }
        
        .wechat-qrcode img {
            width: 200px;
            height: 200px;
            margin: 15px 0;
        }
        
        /* 会员信息弹窗 */
        .member-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            justify-content: center;
            align-items: center;
        }
        
        .member-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            max-width: 300px;
            width: 90%;
            text-align: center;
        }
        
        .member-close {
            position: absolute;
            top: 10px;
            right: 10px;
            font-size: 20px;
            cursor: pointer;
        }
        
        .member-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 15px;
            overflow: hidden;
        }
        
        .member-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .member-name {
            font-weight: bold;
        }
        
        #memberUsername{
            font-size: 18px;
        }
        
        .member-actions {
            display: flex;
            flex-direction: column;
            margin-top: 20px;
            gap: 10px;
        }
        
        .member-button {
            padding: 10px 15px;
            background-color: #3498db;
            color: white;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .member-button:hover {
            background-color: #2980b9;
        }        
        
        /* 语言弹出层样式 */
        .language-popup {
            position: fixed;
            left: 10px;
            right: 10px;
            top: 20px;
            bottom: 80px;
            background-color: white;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
            padding: 8px 0;
            display: none;
            overflow-y: auto;
            z-index: 1002;
            -webkit-overflow-scrolling: touch;
            width: auto;
        }
        
        .language-popup::-webkit-scrollbar {
            width: 4px;
        }
        
        .language-popup::-webkit-scrollbar-thumb {
            background-color: rgba(0,0,0,0.2);
            border-radius: 2px;
        }
        
        .language-option {
            padding: 14px 20px;
            color: #333;
            font-size: 16px;
            cursor: pointer;
            position: relative;
            border-bottom: 1px solid #f0f0f0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: all 0.2s ease;
        }
        
        .language-option:last-child {
            border-bottom: none;
        }
        
        .language-option:hover {
            background-color: #f5f5f5;
        }
        
        .language-option.active {
            color: #A78B6F;
            font-weight: bold;
            background-color: #f9f5f0;
        }
        
        .language-option.active::after {
            content: "✓";
            position: absolute;
            right: 20px;
            color: #A78B6F;
        }
/* 强制居中显示 ，自定义语言切换弹窗效果
.layui-layer-msg {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}*/
        /* 动画效果 */
        @keyframes popupFadeIn {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        /* 桌面端适配 */
        @media (min-width: 768px) {
            .language-popup {
                left: auto;
                right: 60px;
                bottom: 120px;
                top: auto;
                max-height: 400px;
                min-width: 200px;
                width: auto;
            }
        }