/*
Theme Name: LoliTheme
Theme URI: https://galgame.lol
Author: Loli
Author URI: https://galgame.lol
Description: LoliTheme 是一个可爱的、富有创意的 WordPress 主题，专为二次元、个人博客设计。主题以简洁、轻松的风格展示，带有动漫风格的页面元素，适合展示作者文章、作品和个人主页。
Version: 1.0.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lolitheme
Tags: anime, cute, blog, responsive, minimal, creative, fantasy, personal
Theme Screenshot: screenshot.jpg
*/

/*--------------------------------------------------------------
# 确保应用字体
--------------------------------------------------------------*/
/*确保搜索和返回顶部应用字体*/
.search-field {
    font-family: 'FZFWZZAY', sans-serif;
}

.dialog-btn {
    font-family: 'FZFWZZAY', sans-serif;
}


/*--------------------------------------------------------------
# 公告栏整体样式
--------------------------------------------------------------*/
/* 公告栏样式 */
#announcement-bar {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    color: #333; /* 字体颜色 */
    font-size: 14px; /* 字体大小 */
    padding: 4px; /* 字体与矩形边距 */
    height: 25px; /* 高度 25px */
    width: 700px; /* 宽度 500px */
    margin: 0 auto; /* 垂直外边距，水平居中 */
    border-radius: 15px; /* 圆角 */
    overflow: hidden; /* 隐藏超出部分 */
    position: absolute; /* 改为绝对定位，随页面滚动而移动 */
    top: 595px; /* 调整公告栏的垂直位置，使用px控制 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 精确水平居中调整 */
    white-space: nowrap; /* 防止文字换行 */
    text-align: center; /* 水平居中 */
    z-index: 20; /* 确保公告栏在页面其他内容上方 */
    cursor: pointer; /* 显示点击光标 */
    transition: background-color 2s ease, box-shadow 0.3s ease; /* 背景颜色和平滑过渡 */
    
    /* 半透明黑色外发光 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4); /* 水平偏移0，垂直偏移0，模糊半径15px，透明黑色发光 */
}

/* 屏幕宽度小于 1280px 时调整 top */
@media (max-width: 1280px) {
    #announcement-bar {
        top: 190px; /* 调整小屏幕下的 top */
    }
}

/* 公告栏文字样式 */
#announcement-bar p {
    margin: 0; /* 去除段落默认的外边距 */
    line-height: 25px; /* 使文字垂直居中，与公告栏高度一致 */
    display: inline-block; /* 使段落标签根据内容宽度自动适应 */
}

/* 滚动文字的动画效果 */
@keyframes scroll-text {
    0% {
        transform: translateX(100%); /* 从右侧开始 */
    }
    100% {
        transform: translateX(-100%); /* 滚动到左侧 */
    }
}

/* 控制滚动效果 */
.scroll {
    animation: scroll-text 15s linear infinite; /* 滚动动画，持续 15s */
    animation-delay: -3s; /* 提前 2 秒开始滚动 */
}

/* 当鼠标悬停在公告栏时，背景颜色更改为粉色，并加强外发光效果 */
#announcement-bar:hover {
    background-color: rgba(255, 125, 203, 0.7); /* 粉色背景 */
    cursor: pointer; /* 鼠标悬停时显示为手型 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* 增强的黑色发光效果 */
}


/*--------------------------------------------------------------
# 滚动条整体样式
--------------------------------------------------------------*/
/* 禁用横向滚动条 */
body {
    overflow-x: hidden; /* 禁用横向滚动条 */
    overflow-y: scroll; /* 纵向滚动条始终显示 */
}

/* 设置滚动条样式 */
::-webkit-scrollbar {
    width: 6px;  /* 设置垂直滚动条宽度 */
}

/* 设置滚动轨道 */
::-webkit-scrollbar-track {
    background: linear-gradient(to bottom, #ffffff, #add8e6); /* 白色和淡蓝色渐变 */
    border-radius: 10px; /* 圆角效果 */
}

/* 设置滚动条（thumb） */
::-webkit-scrollbar-thumb {
    background-color: #ff69b4; /* 设置滚动条为粉色 */
    border-radius: 10px; /* 圆角效果 */
}

/* 设置滚动条悬停时的效果 */
::-webkit-scrollbar-thumb:hover {
    background-color: #6495ED; /* 悬停时变为浅蓝色 */
}


/*--------------------------------------------------------------
# 导航栏整体样式
--------------------------------------------------------------*/
/* 主导航菜单容器（初始隐藏） */
#site-navigation {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    width: 800px; /* 设置导航宽度 */
    height: 30px; /* 设置高度 */
    position: fixed;
    top: 0; /* 固定在页面顶部 */
    left: 50%; /* 居中显示 */
    transform: translateX(-50%) translateY(-35px); /* 初始位置向上偏移 */
    z-index: 1000; /* 层级 */
    margin: 0;
    padding: 4px 0;
    border-radius: 20px;
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    min-height: 33px;
    margin-top: 20px;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3); /* 外发光效果 */
    
    opacity: 0; /* 初始透明度为 0 */
    visibility: hidden; /* 初始隐藏 */
    transform: translateX(-50%) translateY(-35px); /* 初始位置向上偏移 */
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s; /* 平滑过渡 */
}

/* 显示状态 */
#site-navigation.active {
    opacity: 1; /* 显示透明度 */
    visibility: visible; /* 可见 */
    transform: translateX(-50%) translateY(0); /* 返回到正常位置 */
    transition: opacity 0.5s ease, transform 0.5s ease; /* 显示时的动画 */
}

/* 菜单项列表 */
#primary-menu {
    list-style: none; /* 去掉默认的列表样式 */
    margin: 0;
    padding: 0;
    display: flex; /* 水平排列菜单项 */
    justify-content: center; /* 水平居中对齐 */
    align-items: center; /* 垂直居中对齐 */
}

/* 每个菜单项 */
#primary-menu li {
    margin: 0 15px; /* 每个菜单项之间的水平间距 */
    position: relative; /* 为子菜单的定位提供参考 */
}

/* 主菜单项链接的样式 */
#primary-menu li a {
    color: #333; /* 默认字体颜色为黑色 */
    text-decoration: none; /* 去除下划线 */
    font-size: 18px; /* 字体大小 */
    padding: 4px 10px; /* 添加上下4px内边距，确保文字垂直居中 */
    display: block; /* 让整个区域都能点击 */
    transition: color 0.3s ease; /* 添加平滑过渡效果 */
}

/* 菜单项链接鼠标悬停时的样式 */
#primary-menu li a:hover {
    color: #ff69b4; /* 鼠标悬停时字体颜色变为粉色 */
}

/* 子菜单容器的样式 */
#primary-menu li ul {
    display: none; /* 默认隐藏子菜单 */
    position: absolute; /* 定位子菜单 */
    top: 100%; /* 放置在父项下方 */
    left: 0;
    background-color: rgba(255, 255, 255, 0.8); /* 子菜单背景为半透明白色 */
    border-radius: 10px; /* 子菜单圆角 */
    padding: 0; /* 去除默认的内边距 */
    z-index: 10; /* 确保子菜单显示在父菜单之上 */
    list-style: none; /* 去除默认的列表符号 */
    margin-top: 0px; /* 与父菜单项垂直间距为 5px */
}

/* 子菜单项的样式 */
#primary-menu li ul li {
    min-height: 30px; /* 设置子菜单项的最小高度 */
    padding: 4px 10px; /* 添加适当的上下左右内边距，确保文字垂直居中 */
    display: flex; /* 启用 Flexbox，确保内容垂直居中 */
    align-items: center; /* 垂直居中对齐 */
    white-space: nowrap; /* 防止文字换行 */
}

/* 子菜单项链接的样式 */
#primary-menu li ul li a {
    font-size: 14px; /* 子菜单字体比主菜单小 4px */
    color: #333; /* 默认字体颜色为黑色 */
    text-decoration: none; /* 去除下划线 */
    padding: 4px 16px; /* 内边距，确保点击区域适当且文字垂直居中 */
    display: block; /* 让整个区域都能点击 */
    transition: color 0.3s ease; /* 添加平滑过渡效果 */
}

/* 子菜单项链接鼠标悬停时的样式 */
#primary-menu li ul li a:hover {
    color: #ff69b4; /* 鼠标悬停时字体颜色变为粉色 */
}

/* 当父菜单项悬停时，显示子菜单 */
#primary-menu li:hover > ul {
    display: block; /* 显示子菜单 */
}

/* 默认导航栏图标样式 */
.header-icon {
    position: fixed; /* 固定定位 */
    right: 510px; /* 距离右侧的距离 */
    top: 40px; /* 垂直居中 */
    transform: translateY(-50%); /* 垂直居中调整 */
    z-index: 1000; /* 确保图标位于其他元素之上 */
}

.header-icon a {
    text-decoration: none; /* 去除下划线 */
    color: #fff; /* 默认颜色：白色 */
    font-size: 30px; /* 图标大小 */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* 黑色透明外发光 */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* 平滑过渡效果 */
}

.header-icon a:hover {
    color: #ff69b4; /* 悬停时的颜色：粉色 */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.7); /* 悬停时更明显的发光效果 */
}

/* 屏幕宽度小于 1900px 时应用的样式 */
@media (max-width: 1900px) {
    .header-icon {
        right: 50px; /* 调整图标离右侧的距离 */
        top: 85px; /* 调整垂直位置 */
    }
}

/* 只在 single 页面中修改导航栏样式 */
body.single #site-navigation {
    width: 800px !important; /* 确保导航栏宽度 */
    height: 41px !important; /* 固定高度 */
    transform: translateX(-50%) translateY(-35px) !important; /* 初始位置向上偏移 */
    opacity: 0; /* 初始透明度为 0 */
    visibility: hidden; /* 初始隐藏 */
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s !important; /* 平滑过渡 */
}

/* 显示状态：确保在 single 页面加载时也能从上方滑入 */
body.single #site-navigation.active {
    opacity: 1; /* 显示透明度 */
    visibility: visible; /* 可见 */
    transform: translateX(-50%) translateY(0) !important; /* 返回到正常位置 */
    transition: opacity 0.5s ease, transform 0.5s ease !important; /* 显示时的动画 */
}

/* 只在 page 页面中修改导航栏样式 */
body.page #site-navigation {
    width: 800px !important; /* 确保导航栏宽度 */
    height: 41px !important; /* 固定高度 */
    transform: translateX(-50%) translateY(-35px) !important; /* 避免因其它元素影响位置 */
    opacity: 0; /* 初始透明度为 0 */
    visibility: hidden; /* 初始隐藏 */
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s !important; /* 平滑过渡 */
}

/* 显示状态：确保在 page 页面加载时也能从上方滑入 */
body.page #site-navigation.active {
    opacity: 1; /* 显示透明度 */
    visibility: visible; /* 可见 */
    transform: translateX(-50%) translateY(0) !important; /* 返回到正常位置 */
    transition: opacity 0.5s ease, transform 0.5s ease !important; /* 显示时的动画 */
}

/* 只在 single 页面中修改主菜单项 */
body.single #primary-menu li {
    margin: 0 15px !important; /* 调整每个菜单项的间距 */
}

/* 只在 page 页面中修改主菜单项 */
body.page #primary-menu li {
    margin: 0 15px !important; /* 调整每个菜单项的间距 */
}

/* 确保菜单的背景颜色和透明度在单篇页面中不变 */
body.single #site-navigation {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* 确保菜单的背景颜色和透明度在页面中不变 */
body.page #site-navigation {
    background-color: rgba(255, 255, 255, 0.8) !important;
}

/* 提前通知浏览器要优化的属性 */
body.single #site-navigation,
body.page #site-navigation {
    will-change: opacity, transform; /* 告知浏览器 opacity 和 transform 将变化 */
}


/*--------------------------------------------------------------
# 网站轮换背景整体样式
--------------------------------------------------------------*/
    /* 背景容器 */
    #background-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1; /* 置于页面内容下方 */
        overflow: hidden;
    }

    /* 每一张背景图片的样式 */
    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        opacity: 0; /* 初始透明 */
        transform: scale(1); /* 初始大小 */
        transition: opacity 3s ease, transform 3s ease; /* 透明度和放大动画 */
    }

    /* 图片显示时的样式 */
    .background-image.show {
        opacity: 1;
        transform: scale(1.1); /* 缩放放大 */
    }


/*--------------------------------------------------------------
# 分页导航整体样式
--------------------------------------------------------------*/
/* 分页导航的底部间距 */
.post-navigation {
    margin-bottom: 40px; /* 为分页导航和社交媒体部分之间添加 40px 的间距 */
}

.post-navigation {
    margin-top: 30px; /* 设置分页和文章内容之间的垂直间距 */
    text-align: center; /* 水平居中 */
}

.post-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.post-navigation li {
    display: inline-block;
    margin: 0 5px;
}

.post-navigation a {
    text-decoration: none;
    color: #fff; /* 默认字体为白色 */
    padding: 8px 20px; /* 内边距调整按钮大小 */
    border-radius: 5px; /* 圆角 */
    font-size: 14px; /* 字体大小 */
    transition: background-color 0.3s, color 0.3s; /* 添加过渡效果 */
    background-color: transparent; /* 默认背景透明 */
}

.post-navigation a:hover {
    background-color: rgba(0, 0, 0, 0.7); /* 悬停时，背景色变为更深的半透明黑色 */
    color: #ff69b4; /* 悬停时文字变为粉色 */
}

.post-navigation .current {
    color: #ff69b4; /* 选中页字体颜色变为粉色 */
}

/* 上一页和下一页的特殊样式 */
.post-navigation .prev, .post-navigation .next {
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    color: #fff; /* 白色字体 */
    border-radius: 8px; /* 圆角矩形 */
    padding: 8px 16px; /* 内边距 */
}

.post-navigation .prev:hover, .post-navigation .next:hover {
    background-color: rgba(0, 0, 0, 0.7); /* 悬停时的背景色变得更深 */
    color: #ff69b4; /* 悬停时的字体颜色变为粉色 */
}


/*--------------------------------------------------------------
# 文章列表整体样式
--------------------------------------------------------------*/
/* 主内容区域容器 */
#main-content {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: center; /* 水平居中 */
    margin: 0;
    padding: 20px;
    background-color: rgba(249, 249, 249, 0);
    min-height: 100vh;
    margin-top: -80px;
}

/* 屏幕宽度小于 1280px 时调整 margin-top */
@media (max-width: 1280px) {
    #main-content {
        margin-top: 230px; /* 调整小屏幕下的 margin-top */
    }
}

/* 文章容器美化 */
article.post {
    position: relative; /* 使得子元素可以绝对定位 */
    width: 800px;
    height: 430px; /* 设置高度为400px */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin-bottom: 28px;
    padding: 0; /* 去除容器的内边距 */
}

/* 黑色矩形容器，显示在特色图片上方，支持自由调整位置 */
.overlay-top {
    position: absolute;  /* 绝对定位 */
    top: 70%;            /* 矩形距顶部的距离，可自由调整 */
    left: 50%;           /* 左侧对齐容器，调整为50%以便水平居中 */
    right: 0;            /* 右侧对齐容器 */
    transform: translateX(-50%); /* 将矩形水平居中 */
    width: 780px;          /* 设置宽度为80%，可根据需要调整 */
    height: 120px;        /* 矩形高度，设置为80px，可自由调整 */
    background-color: rgba(0, 0, 0, 0.6); /* 黑色半透明背景 */
    z-index: 3;          /* 确保矩形在图片之上 */
    border-radius: 13px; /* 圆角效果，数值可调整 */
}

/* 文章特色图片作为容器背景 */
.featured-image {
    width: 100%;         /* 图片宽度为容器的宽度 */
    height: 430px;       /* 图片高度为容器的高度 */
    background-size: cover;  /* 使图片覆盖容器 */
    background-position: center;
    border-radius: 10px; /* 圆角边框 */
    z-index: 2;          /* 确保图片在矩形下方 */
}

/* 链接样式 */
.featured-image-link {
    display: block;
    width: 100%;
    height: 50%;
    position: absolute; /* 脱离文档流，绝对定位 */
    z-index: 2;
}

/* 文章标题样式 */
.entry-title {
    font-size: 28px;
    color: #fff; /* 改为白色字体，适应黑色矩形 */
    margin-bottom: 15px;
    z-index: 10; /* 增加标题的层级 */
    position: relative; /* 使 z-index 生效 */
    top: 285px; /* 垂直偏移，调整标题位置，值可以根据需要修改 */
    left: 24px; /* 水平偏移，调整标题的位置，左对齐时不需要负值 */
    text-align: left; /* 将标题左对齐 */
    font-weight: normal; /* 去除默认粗体 */
}

/* 文章标题链接样式 */
.entry-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.entry-title a:hover {
    color: #ff69b4; /* 悬停时变为粉色 */
}

/* 元信息样式（作者和发布日期） */
.entry-meta {
    font-size: 14px;
    color: #fff; /* 改为白色字体，适应黑色矩形 */
    margin-bottom: 20px;
    z-index: 10; /* 增加元信息的层级 */
    position: relative;
    top: 314px; /* 垂直偏移，调整标题位置，值可以根据需要修改 */
    left: 291px; /* 水平偏移，调整标题的位置，值可以根据需要修改 */
}

/* 文章内容 */
.entry-content {
    font-size: 15px;
    color: #f5f5f5; /* 改为浅灰色字体，适应黑色矩形 */
    line-height: 1.6;
    z-index: 10; /* 增加内容的层级 */
    position: relative;
    top: 238px; /* 垂直偏移，调整标题位置，值可以根据需要修改 */
    left: 5px; /* 水平偏移，调整标题的位置，值可以根据需要修改 */
    text-align: left; /* 确保文章内容左对齐 */
    letter-spacing: 0px; /* 设置文字之间的间距为 0px */
    max-width: 760px; /* 设置文字的最大行宽为 780px */
    margin: 0 auto; /* 水平居中对齐 */
}

/* 分类容器 */
.entry-categories {
    margin-top: 20px;
    font-size: 14px;
    color: #fff; /* 改为白色字体，适应黑色矩形 */
    z-index: 10; /* 增加分类标签容器的层级 */
    position: absolute;  /* 使用绝对定位，使其固定在指定位置 */
    top: -103px; /* 垂直偏移，调整标题位置，值可以根据需要修改 */
    left: -266px; /* 水平偏移，调整标题的位置，值可以根据需要修改 */
    max-width: 130px; /* 限制最大宽度为120px */
    white-space: nowrap; /* 防止分类文本换行 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/* 标签容器 */
.entry-tags {
    margin-top: 20px;
    font-size: 14px;
    color: #fff; /* 改为白色字体，适应黑色矩形 */
    z-index: 10; /* 增加分类标签容器的层级 */
    position: absolute; /* 使用绝对定位，使其固定在指定位置 */
    top: -103px; /* 垂直偏移，调整标题位置，值可以根据需要修改 */
    left: -190px; /* 水平偏移，调整标题的位置，值可以根据需要修改 */
    max-width: 170px; /* 限制最大宽度为120px */
    white-space: nowrap; /* 防止标签文本换行 */
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

/* 分类和标签链接的样式 */
.entry-categories a,
.entry-tags a {
    color: #ff69b4; /* 保持粉色链接 */
    text-decoration: none;
    margin: 0 5px;
}

/* 分类和标签链接悬停时的样式 */
.entry-categories a:hover,
.entry-tags a:hover {
    text-decoration: none;
    color: #fff; /* 悬停时变为白色 */
}

/* 浏览量样式 */
.entry-views {
    font-size: 14px;
    color: #fff; /* 改为白色字体，适应黑色矩形 */
    text-align: left; /* 左对齐 */
    margin-top: 20px; /* 距离上面20px */
    z-index: 10; /* 增加浏览量的层级 */
    position: relative;
    top: 133px; /* 垂直偏移，调整标题位置，值可以根据需要修改 */
    left: 359px; /* 水平偏移调整为0，因文字已左对齐 */
}

/*评论数样式*/
.comments-link {
    display: inline-flex;          /* 使图标和文本水平排列 */
    align-items: center;           /* 垂直居中对齐 */
    color: white;                  /* 设置文本颜色为白色 */
    position: relative;            /* 允许自由定位 */
    font-size: 14px;               /* 设置字体大小，您可以根据需要调整 */
}

/* 调整作者图标与文本之间的间距 */
.entry-meta .author i {
    margin-right: 7px;             /* 设置图标和文本之间的间距为7px */
}

/* 调整日期图标与文本之间的间距 */
.entry-meta .posted-on i {
    margin-right: 7px;             /* 设置图标和文本之间的间距为7px */
}

/* 调整作者和日期之间的水平间距 */
.entry-meta .posted-on {
    margin-left: 12px;             /* 日期相对于作者的左侧间距 */
}

/* 调整作者和日期整体水平位置 */
.entry-meta {
    margin-right: -8px; /* 向左移动（值越大越靠左） */
}

/* 评论数自由定位样式 */
.comments-link {
    top: 133px;                     /* 调整垂直位置 */
    left: 260px;                    /* 调整水平位置 */
    z-index: 10; /* 增加浏览量的层级 */
    position: relative;
}


/*--------------------------------------------------------------
# homecard首页卡片整体样式
--------------------------------------------------------------*/
/* 设置整个容器居中并启用 flex 布局 */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
    position: relative; /* 确保图片容器的相对定位 */
    z-index: 1; /* 设置较低的层级，避免覆盖其它内容 */
    margin-top: 200px; /* 设置与页面顶部的间距为 200px */
    top: 61px; /* 调整整个容器的上边距，可通过修改此值调整容器位置 */
    width: 1200px; /* 固定容器宽度 */
    height: 800px; /* 固定容器高度 */
}

/* 每张图片容器设置为相对定位 */
.image {
    position: relative;
}

/* 设置图片的宽度和高度为原始尺寸 */
.image img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 修改每张图片的定位和边距 */
#image1 {
    top: -163px; /* 调整QQ的上边距 */
    left: 291px; /* 调整QQ的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image1:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image2 {
    top: -63px; /* 调整X的上边距 */
    left: 190px; /* 调整X的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image2:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image3 {
    top: 36px; /* 调整图床的上边距 */
    left: 200px; /* 调整图床的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image3:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image4 {
    top: 36px; /* 调整galgame的上边距 */
    left: 421px; /* 调整galgame的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image4:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image5 {
    top: 36px; /* 调整gmail的上边距 */
    left: -309px; /* 调整gmail的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image5:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image6 {
    top: 36px; /* 调整Loli的上边距 */
    left: -91px; /* 调整Loli的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image6:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image7 {
    top: -114px; /* 调整音乐的上边距 */
    left: -500px; /* 调整音乐的左边距 */
    position: relative; /* 为按钮定位提供依据 */
    transition: transform 0.3s ease; /* 平滑过渡效果 */
}

#image7:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.1倍 */
}

#image8 {
    top: -64px; /* 调整薰的上边距 */
    left: -919px; /* 调整薰的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image8:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image9 {
    top: -514px; /* 调整硝子的上边距 */
    left: 208px; /* 调整硝子的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image9:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

#image10 {
    top: -514px; /* 调整一言的上边距 */
    left: 219px; /* 调整一言的左边距 */
    transition: transform 0.3s ease; /* 平滑过渡 */
}

#image10:hover {
    transform: scale(1.02); /* 鼠标悬停时图片放大1.02倍 */
}

/* 播放器按钮样式 */
.play-button {
    position: absolute;
    bottom: 75px; /* 按钮距离图片底部75px */
    left: 50%; /* 居中按钮 */
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.85); /* 按钮背景色 */
    border: none;
    padding: 15px; /* 增加按钮内边距 */
    border-radius: 50%; /* 使按钮成为圆形 */
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* 设置按钮的宽度 */
    height: 50px; /* 设置按钮的高度 */
    opacity: 0.85;
    transition: background-color 0.3s ease, opacity 0.3s ease; /* 添加渐变过渡 */
}

.play-button:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 1); /* 鼠标悬停时改变背景色 */
}

.play-button i {
    color: white; /* 图标的颜色 */
    font-size: 24px; /* 图标的大小 */
}

/* 屏幕宽度小于 1280px 时隐藏所有卡片和按钮 */
@media (max-width: 1280px) {
    .image-gallery,
    .image,
    .play-button {
        display: none; /* 隐藏所有图片容器和按钮 */
    }
}


/*--------------------------------------------------------------
# 搜索栏整体样式
--------------------------------------------------------------*/
/* 遮罩层样式 */
.overlay {
    position: fixed; /* 固定定位，覆盖整个页面 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001; /* 确保遮罩层在其他元素上 */
    opacity: 0; /* 初始透明度为 0，隐藏遮罩层 */
    visibility: hidden; /* 初始状态下遮罩层不可见 */
    transition: opacity 0.3s ease, visibility 0s 0.3s; /* 设置渐变过渡效果 */
}

/* 显示遮罩层时的样式 */
.overlay.show {
    opacity: 1; /* 透明度设置为 1，显示遮罩层 */
    visibility: visible; /* 使遮罩层可见 */
    transition: opacity 0.3s ease, visibility 0s 0s; /* 立即显示，并进行渐变过渡 */
}

/* 确保搜索表单不会影响其他元素 */
.search-form-container {
    position: absolute; /* 让搜索表单脱离文档流 */
    top: 10px; /* 根据需要调整顶部间距 */
    right: 250px; /* 根据需要调整右侧间距 */
    z-index: 1002; /* 确保它位于其他元素之上 */
    display: flex; /* 使用 Flexbox 排列按钮和输入框 */
    align-items: center; /* 垂直居中对齐 */
}

/* 搜索框样式 */
.search-field {
    padding: 5px 10px; /* 输入框的内边距 */
    font-size: 16px; /* 字体大小 */
    border: none; /* 去除边框 */
    border-radius: 5px; /* 圆角效果 */
    width: 0; /* 初始时搜索框宽度为 0（隐藏） */
    transition: width 0.3s ease-in-out, opacity 0.3s ease; /* 宽度和透明度的渐变动画 */
    opacity: 0; /* 初始状态下搜索框完全透明 */
    visibility: hidden; /* 初始状态下搜索框不可见 */
    outline: none; /* 去除选中时的边框 */
}

/* 搜索按钮的样式 */
.search-toggle-btn {
    background: transparent; /* 背景透明 */
    border: none; /* 去掉边框 */
    cursor: pointer; /* 鼠标悬停时显示为点击手型 */
    font-size: 24px; /* 图标大小 */
    color: white; /* 设置按钮图标颜色为白色 */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* 黑色透明外发光 */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* 平滑过渡效果 */
    
    /* 定位搜索按钮 */
    position: fixed; /* 固定定位 */
    top: 26px; /* 根据需要调整按钮的上边距 */
    left: 1415px; /* 根据需要调整按钮的左边距 */
    z-index: 1002; /* 确保按钮位于其他元素之上 */
}

/* 屏幕宽度小于 1900px 时应用的样式 */
@media (max-width: 1900px) {
    .search-toggle-btn {
        position: fixed; /* 固定按钮的位置 */
        right: 10px; /* 距右侧 50px */
        top: 71px; /* 微调搜索按钮的上边距 */
        left: auto; /* 确保不会影响按钮的布局 */
    }
}

/* 鼠标悬停时改变按钮图标的颜色和外发光效果 */
.search-toggle-btn:hover {
    color: #ff69b4; /* 鼠标悬停时图标变为粉色 */
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5); /* 鼠标悬停时外发光 */
}

/* 点击时去掉按钮的聚焦样式 */
.search-toggle-btn:focus {
    outline: none; /* 去掉聚焦时的轮廓框 */
}

/* 搜索框显示的样式 */
.search-form .search-field.show {
    width: 350px; /* 设置搜索框的宽度为 350px */
    height: 50px; /* 设置搜索框的高度为 50px */
    opacity: 1; /* 显示搜索框 */
    visibility: visible; /* 使搜索框可见 */
    border: 1px solid #ccc; /* 保留边框，或者根据需求可以修改或去掉 */
    border-radius: 40px; /* 圆角效果 */
    box-shadow: 0 0 10px 2px rgba(255, 105, 180, 0.6); /* 粉色外发光效果 */
    transition: box-shadow 0.3s ease-in-out, width 0.3s ease-in-out, opacity 0.3s ease;
}

/* 固定定位搜索框，使其出现在页面中心 */
.search-form-container .search-field.show {
    position: fixed; /* 固定定位 */
    top: 50%; /* 垂直居中 */
    left: 50%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 使元素完美居中 */
    margin-left: 10px; /* 在按钮和输入框之间加入一定的间距 */
}


/*--------------------------------------------------------------
# 搜索页面整体样式
--------------------------------------------------------------*/
/* 搜索页面样式 */
.no-results {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    border-radius: 12px; /* 圆角 */
    padding: 40px 20px; /* 增加上下内边距 */
    text-align: center; /* 内容居中对齐 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.3); /* 添加阴影效果，第一个是常规阴影，第二个是外发光效果 */
    margin-top: -260px; /* 上外边距，避免与其他元素重叠 */
    margin-bottom: 150px; /* 下外边距，避免与其他元素重叠 */
    width: 80%; /* 控制宽度 */
    max-width: 600px; /* 最大宽度 */
    margin-left: auto; /* 左边距自动 */
    margin-right: auto; /* 右边距自动 */
}

/* 标题样式 */
.no-results h2 {
    font-size: 24px; /* 标题字体大小 */
    color: #333; /* 标题文字颜色 */
    margin-bottom: 20px; /* 标题和内容间距 */
}

/* 内容文字样式 */
.no-results p {
    font-size: 16px; /* 内容字体大小 */
    color: #666; /* 内容文字颜色 */
    margin-bottom: 20px; /* 内容和按钮间距 */
}

/* 返回首页按钮样式 */
.search-again {
    display: inline-block; /* 设置为内联块元素 */
    background-color: #fff; /* 白色背景 */
    color: #ff66b2; /* 粉色文字 */
    padding: 10px 20px; /* 内边距，按钮的尺寸 */
    border-radius: 25px; /* 圆角按钮 */
    text-decoration: none; /* 去掉默认链接的下划线 */
    border: 2px solid #ff66b2; /* 粉色边框 */
    font-size: 16px; /* 按钮字体大小 */
    transition: all 0.3s ease; /* 按钮的过渡效果 */
    z-index: 10; /* 确保按钮在最上层 */
    cursor: pointer; /* 确保按钮显示为可点击 */
    position: relative;
}

/* 悬停时按钮样式 */
.search-again:hover {
    background-color: #ff66b2; /* 悬停时背景变为粉色 */
    color: white; /* 悬停时文字变为白色 */
}


/*--------------------------------------------------------------
# 加密文章输入密码整体样式
--------------------------------------------------------------*/
/* 自定义密码保护输入框样式 - 无背景和圆角容器 */
.custom-password-form {
    padding: 30px;
    margin: 20px auto;
    text-align: center;
    width: 80%;
    max-width: 600px;
}

/* 输入框和按钮样式 */
.custom-password-form input[type="password"], .custom-password-form input[type="submit"] {
    padding: 10px;
    font-size: 16px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ff69b4; /* 粉色边框 */
    width: 350px; /* 设置输入框宽度为 350px */
    background-color: transparent; /* 输入框背景透明 */
}

/* 输入框和按钮聚焦时效果 */
.custom-password-form input[type="password"]:focus, .custom-password-form input[type="submit"]:focus {
    outline: none;
    border-color: #ff69b4; /* 聚焦时边框变为粉色 */
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.8); /* 粉色外发光 */
}

/* 提交按钮样式 */
.custom-password-form input[type="submit"] {
    background-color: #ff69b4;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: auto; /* 宽度根据内容自动调整 */
    padding: 10px 20px; /* 内边距控制按钮大小 */
    font-size: 16px;
    border: none;
    display: inline-block; /* 使按钮根据文本调整大小 */
}

.custom-password-form input[type="submit"]:hover {
    background-color: #e94f8b;
}

.custom-password-form p {
    font-size: 18px;
    color: #333;
}

/* 输入框宽度调整为 350px */
.custom-password-form input[type="password"] {
    width: 350px;
    border-radius: 5px;
    box-sizing: border-box;
}

/* 表单提交按钮宽度自动调整 */
.custom-password-form input[type="submit"] {
    background-color: #ff69b4;
    color: white;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: auto; /* 根据内容调整按钮的宽度 */
}

.custom-password-form input[type="submit"]:hover {
    background-color: #e94f8b;
}

.custom-password-form input[type="submit"]:focus {
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.8);
}


/*--------------------------------------------------------------
# 页脚整体样式
--------------------------------------------------------------*/
/* 页脚底部版权信息部分样式 */
.footer-bottom {
    text-align: center; /* 水平居中 */
    padding: 10px 0; /* 上下内边距 */
    background-color: transparent; /* 设置背景颜色为透明 */
    font-size: 14px; /* 设置字体大小 */
    color: #666; /* 设置字体颜色 */
    margin-top: -10px; /* 增加顶部间距，调整版权信息与页脚文字链接的距离 */
}

/* 页脚版权信息部分 */
.footer-copyright {
    margin: 5px 0; /* 调整版权文字的上下间距 */
}

/* 页脚开发者信息 */
.footer-site-credit {
    margin: 5px 0; /* 调整开发者信息的上下间距 */
}

.footer-site-credit a {
    text-decoration: none; /* 移除链接下划线 */
    color: #0073e6; /* 设置链接颜色 */
    transition: color 0.3s ease; /* 添加颜色平滑过渡 */
}

.footer-site-credit a:hover {
    color: #ff69b4; /* 设置链接悬停时的颜色 */
}
    
/* 页脚文字链接部分样式 */
.footer-links {
    margin-top: 13px; /* 添加顶部间距 */
    text-align: center; /* 水平居中 */
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex; /* 使用 inline-flex 让列表项水平排列 */
    justify-content: center; /* 水平居中 */
}

.footer-link-list li {
    margin: 0 12px; /* 给每个链接项设置间距 */
}

.footer-link {
    text-decoration: none; /* 移除链接的下划线 */
    font-size: 14px; /* 设置字体大小 */
    color: #333; /* 默认链接颜色 */
    transition: color 0.3s ease; /* 添加平滑的颜色过渡效果 */
}

.footer-link:hover {
    color: #ff69b4; /* 悬停时改变链接颜色为粉色 */
}

.footer-link:focus,
.footer-link:hover {
    outline: none; /* 移除焦点和悬停时的轮廓 */
}

/* 返回顶部按钮的基本样式 */
.back-to-top {
    position: fixed;
    bottom: 50px;
    right: 400px;
    z-index: 1000;
    opacity: 1;
}

/* 媒体查询：当屏幕宽度小于1900px时，改变right */
@media (max-width: 1900px) {
    .back-to-top {
        right: 20px;  /* 根据需要调整 */
    }
}

/* 按钮图标样式 */
.back-to-top img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

/* 鼠标悬停时按钮放大 */
.back-to-top:hover img {
    transform: scale(1.2);
}

/* 弹出对话框样式 */
.dialog-box {
    display: none;  /* 默认不显示 */
    position: fixed;  /* 固定位置，使对话框脱离文档流 */
    bottom: 110px;  /* 与页面底部的距离 */
    right: 250px;  /* 与页面右侧的距离 */
    width: 150px;  /* 固定宽度 */
    height: 88px;  /* 固定高度 */
    background-color: rgba(255, 255, 255, 0.6);  /* 半透明白色背景 */
    border-radius: 20px;  /* 圆角矩形 */
    padding: 10px;  /* 内部填充 */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);  /* 阴影效果 */
    z-index: 999;  /* 确保对话框显示在其他元素上方 */
    opacity: 0;  /* 初始透明度为 0，默认不可见 */
    transition: opacity 0.3s ease-in-out;  /* 渐显动画 */
}

/* 媒体查询：当屏幕宽度小于1900px时，改变right */
@media (max-width: 1900px) {
    .dialog-box {
        right: 50px;  /* 根据需要调整 */
    }
}

/* 显示对话框时的样式 */
.dialog-box.show {
    opacity: 1;
}

/* 对话框文字区域样式 */
.dialog-message {
    font-size: 14px;
    margin-bottom: 10px;
    padding: 4px;
    text-align: center;
}

/* 按钮样式 */
.dialog-buttons {
    display: flex;
    justify-content: space-around;
}

.dialog-btn {
    background-color: #ff69b4;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 按钮悬停时的效果 */
.dialog-btn:hover {
    background-color: #d75b92;
}


/*--------------------------------------------------------------
# 评论表情容器整体样式
--------------------------------------------------------------*/
/* 表情按钮容器 */
.emoji-container {
    position: relative; /* 设置父容器为相对定位，确保表情选择器相对于它定位 */
    height: 50px; /* 根据需要调整父容器高度，确保它容纳按钮和表情选择器 */
}

/* 表情按钮样式 */
.emoji-btn {
    position: absolute; /* 设置按钮为相对定位，确保它的位置可以调整 */
    top: -213px; /* 按钮紧贴父容器顶部 */
    left: 36%; /* 水平居中按钮 */
    transform: translateX(-50%); /* 精确居中 */
    background: none;
    border: none;
    font-size: 19px;
    cursor: pointer;
    color: #ff69b4; 
    font-family: 'FZFWZZAY', sans-serif;
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

/* 鼠标悬停时，按钮弹动效果 */
.emoji-btn:hover {
    transform: translateX(-50%) scale(1.2);
}

/* 表情选择器样式 */
.emoji-picker {
    position: absolute; /* 相对于父容器定位 */
    top: -180px;
    left: 36%; 
    transform: translateX(-50%); /* 精确居中 */
    display: none; /* 默认隐藏 */
    opacity: 0; /* 初始透明度为 0 */
    background-color: rgba(255, 255, 255, 0.8); 
    border: none;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.2s ease-in-out;
    max-width: 695px; /* 设置最大宽度 */
    width: 100%; /* 宽度为 100%，但不超过最大宽度 */
}

/* 表情选择器中的表情 */
.emoji-picker .emoji {
    font-size: 24px; /* 设置表情大小 */
    margin: 5px; /* 设置表情之间的间距 */
    cursor: pointer; /* 鼠标悬停时显示指针 */
    transition: transform 0.2s ease; /* 给表情添加放大缩小的动画过渡 */
}

/* 表情按钮样式 （未登录）*/
.emoji-btn.logged-out-btn {
    position: absolute; /* 设置按钮为相对定位，确保它的位置可以调整 */
    top: -316px; /* 按钮紧贴父容器顶部 */
    left: 36%; /* 水平居中按钮 */
    transform: translateX(-50%); /* 精确居中 */
    background: none;
    border: none;
    font-size: 19px;
    cursor: pointer;
    color: #ff69b4; 
    font-family: 'FZFWZZAY', sans-serif;
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

/* 鼠标悬停时，按钮弹动效果 （未登录）*/
.emoji-btn.logged-out-btn:hover {
    transform: translateX(-50%) scale(1.2);
}

/* 表情选择器样式 （未登录）*/
.emoji-picker.logged-out-picker {
    position: absolute; /* 相对于父容器定位 */
    top: -285px; /* 将表情选择器放置在按钮下方，并有 5px 间距 */
    left: 36%; /* 水平居中 */
    transform: translateX(-50%); /* 精确居中 */
    display: none; /* 默认隐藏 */
    opacity: 0; /* 初始透明度为 0 */
    background-color: rgba(255, 255, 255, 0.8); 
    border: none;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.2s ease-in-out;
    max-width: 695px; /* 设置最大宽度 */
    width: 100%; /* 宽度为 100%，但不超过最大宽度 */
}


/*--------------------------------------------------------------
# 关于loli整体样式
--------------------------------------------------------------*/
/* 页面容器 */
.about-author-container {
    display: flex; /* 使用 flexbox 布局 */
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0;
    background-color: transparent;
    width: 100%; /* 设置页面容器宽度为 1000px */
    margin: 80px 10px; /* 居中显示 */
}

/* 左侧部分 */
.left-section {
    width: 300px; /* 左侧宽度 */
    text-align: center;
    background-color: transparent;
    border-radius: 10px;
    margin-right: 15px; /* 右侧间距 */
    position: relative; /* 确保头像和名字的位置不受影响 */
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中 */
}

/* 个人头像和名字的矩形背景 */
.avatar-name-container {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px; /* 增加与签名的间距 */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* 外发光效果 */
}

/* 头像 */
.author-avatar {
    position: relative;
    margin-bottom: 0px;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    margin-left: auto;  /* 自动水平居中 */
    margin-right: auto; /* 自动水平居中 */
}

/* 头像图片 */
.author-avatar img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.avatar-second {
    opacity: 0;
}

.author-avatar:hover .avatar-first {
    transform: rotate(360deg);
    opacity: 0;
}

.author-avatar:hover .avatar-second {
    transform: rotate(360deg);
    opacity: 1;
}

/* 个人名字 */
.author-name {
    font-size: 22px;
    color: #ff69b4;
    margin-bottom: 10px;
}

/* 个人签名容器 */
.author-signature-container {
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* 外发光效果 */
    position: relative; /* 设置父容器为相对定位 */
    top: -5px;
}

/* 个人签名 */
.author-signature {
    font-size: 18px;
    font-style: italic;
    color: #999;
    text-align: center; /* 居中显示签名 */
    margin: -10px 0; /* 调整上下边距 */
}

/* 标签图标 */
.signature-icon {
    font-size: 16px; /* 设置标签图标大小 */
    color: #999; /* 设置图标颜色 */
    position: absolute; /* 使图标脱离文档流 */
    top: 10px; /* 图标距离容器顶部的距离 */
    left: 10px; /* 图标距离容器左侧的距离 */
    z-index: 1; /* 确保图标位于签名文字上方 */
}

/* 右侧部分 */
.right-section {
    width: 850px; /* 右侧宽度，剩余部分 */
    background-color: rgba(255, 255, 255, 0.8); /* 半透明背景 */
    border-radius: 10px;
    padding: 20px;
    position: relative; /* 确保右侧部分的元素不受影响 */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* 外发光效果 */
    margin-right: 20px;
}

/* 个人介绍标题 */
.author-description-title {
    font-size: 23px; /* 设置标题的字体大小 */
    color: #333; /* 设置标题的颜色 */
    margin-bottom: -10px; /* 增加标题与内容的间距 */
    font-weight: bold; /* 使标题加粗 */
}

/* 个人介绍 */
.author-description-container {
    margin-bottom: 30px;
}

.author-description {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
}

/* 喜欢的事物 */
.author-likes {
    margin-bottom: 30px;
}

.author-likes h2 {
    font-size: 23px;
    color: #333;
    margin-bottom: -4px;
}

.author-likes ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.author-likes li {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

/* 个人项目 */
.author-projects h2 {
    font-size: 23px;
    color: #333;
    margin-bottom: -5px;
}

.author-projects ul {
    list-style-type: none;
    padding: 0;
    text-align: left;
}

.author-projects li {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

/* 作者联系图标容器 */
.author-contact-icons {
    display: flex;
    justify-content: center; /* 居中显示 */
    gap: 20px; /* 图标之间的间距 */
    margin-top: 0px; /* 与作者名字的间距 */
}

/* 单个图标 */
.contact-icon {
    font-size: 28px; /* 设置图标大小 */
    color: #555; /* 图标颜色 */
    transition: color 0.3s ease; /* 动画效果 */
}

/* 图标悬停效果 */
.contact-icon:hover {
    color: #ff6eb5; /* 悬停时的颜色（粉色） */
}

/* 特定图标颜色 */
.qq-icon:hover {
    color: #4e82f6; /* QQ图标悬停时的颜色 */
}

.wechat-icon:hover {
    color: #0edb8d; /* 微信图标悬停时的颜色 */
}

.email-icon:hover {
    color: #e14d3c; /* 邮箱图标悬停时的颜色 */
}

/* 分割线带剪刀图标 */
.divider-with-scissors {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0; /* 上下边距 */
    position: relative;
    width: 100%;
}

.divider-with-scissors::before,
.divider-with-scissors::after {
    content: "";
    flex-grow: 1;
    height: 2px;  /* 加宽分割线的高度为2px */
    background: repeating-linear-gradient(
        to right,
        #ccc, #ccc 5px, /* 灰色，长度为 5px */
        transparent 5px, transparent 10px /* 透明的间隙，宽度为 5px */
    );
}

.scissors-icon {
    font-size: 20px;  /* 将图标大小改为 20px */
    color: #ff69b4; /* 剪刀图标颜色 */
    margin: 0 10px; /* 图标两侧的间距 */
}

/* 设置默认链接颜色为淡蓝色 */
ul li a {
    text-decoration: none; /* 去除下划线 */
    color: #87CEFA; 
}

/* 鼠标悬停时改变颜色 */
ul li a:hover {
    color: #ff69b4; 
}


/*--------------------------------------------------------------
# 评论区图片、表情原图预览与查看样式
--------------------------------------------------------------*/
/* 评论图片样式 */
.comment-img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* 鼠标悬停时显示为指针 */
    border-radius: 6px; /* 添加圆角 */
    position: relative; /* 设置相对定位，使得 z-index 生效 */
    z-index: 999; /* 默认 z-index 设置为 999，确保图片处于放大后的下方 */
}

/* 放大效果 */
.comment-img:hover {
    transform: scale(3); /* 放大至3倍 */
    z-index: 1000; /* 放大时设置一个较高的 z-index，确保覆盖其他元素 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* 添加阴影效果 */
}

/* 预览框样式（点击显示原图时使用） */
#image-preview {
    position: fixed; /* 使用固定定位，使得预览框显示在视窗内 */
    top: 50%; /* 使预览框垂直居中 */
    left: 50%; /* 使预览框水平居中 */
    transform: translate(-50%, -50%); /* 通过平移调整，确保居中 */
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#image-preview img {
    max-width: 90vw; /* 限制预览图宽度为视窗的90% */
    max-height: 90vh; /* 限制预览图高度为视窗的90% */
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}