:root {
    --文字颜色: #232946;
    --边框颜色: #eeeeee;
    --网站背景: #f9f9fa;
    --帖子背景: #ffffff;
    --半透明背景: rgba(255, 255, 255, 0.7);
    --遮罩背景: rgba(255, 255, 255, 0.2);
    --头部颜色: #fbfbfb;
    --尾部背景: #fbfbfb;
    --主题颜色: #1e9fff;
    --副主题颜色: #ff6951;
}
@media (prefers-color-scheme: dark) {
    :root {
        --文字颜色: #fffffe;
        --网站背景: #222222;
        --边框颜色: #333333;
        --帖子背景: #000000;
        --半透明背景: rgba(0, 0, 0, 0.7);
        --遮罩背景: rgba(0, 0, 0, 0.2);
        --头部颜色: #111111;
        --尾部背景: #111111;
        --主题颜色: #1e9fff;
        --副主题颜色: #ff6951;
    }
}
:focus-visible {
    outline: none;
}
a {
    color: var(--文字颜色);
}
a:hover {
    color: var(--主题颜色);
}
.lay-嫩绿按钮 {
    background-color: #5fb878;
}
.layui-panel {
    background-color: var(--帖子背景);
    border-color: var(--半透明背景);
    box-shadow: var(--边框颜色) 0 0 2px 0;
    color: #9e9e9e;
}
.layui-collapse {
    background: var(--帖子背景);
}
.layui-upload-drag,
.layui-input,
.layui-select,
.layui-textarea,
.layui-elem-quote {
    background-color: transparent;
}
.layui-form-pane .layui-form-label {
    background: rgba(0, 0, 0, 0.02);
}
.layui-nav .layui-this:after,
.layui-nav-bar {
    background-color: var(--主题颜色) !important;
}
.layui-card {
    background-color: var(--帖子背景);
    border-color: var(--半透明背景);
    box-shadow: var(--边框颜色) 0 0 2px 0;
    color: #9e9e9e;
}
.layui-fixbar li {
    font-size: 20px;
    border-radius: 10px;
    margin-bottom: 5px;
}
body {
    color: var(--文字颜色);
    background: var(--网站背景);
    min-height: 100vh;
    padding-bottom: 120px;
    box-sizing: border-box;
    position: relative;
}
.切换主题 {
    margin: 0 15px;
}
.切换主题 .亮色 {
    color: #ffa500;
    font-size: 20px;
    font-weight: bold;
}
.切换主题 .暗色 {
    width: 15px;
    height: 15px;
    border-radius: 100%;
    background: #fbff00;
    position: relative;
}
.切换主题 .暗色:after {
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 100%;
    background: var(--尾部背景);
    position: absolute;
    top: -2px;
    left: 6px;
}
#菜单按钮 {
    display: none;
}
#论坛_头部 {
    height: 60px;
    line-height: 59px;
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
#论坛_头部 h1 {
    font-size: 26px;
}
#论坛_头部,
#论坛_头部 .layui-nav {
    background: var(--头部颜色);
    white-space: nowrap;
}
#论坛_头部 .layui-nav {
    position: initial;
}
#论坛_头部 .layui-nav .layui-nav-child {
    background: var(--头部颜色);
    border-color: var(--边框颜色);
}
#论坛_头部 .layui-nav .layui-nav-child a:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--主题颜色) !important;
}
#论坛_头部 .layui-nav .layui-nav-item a {
    color: var(--文字颜色) !important;
    opacity: 0.8;
}
#论坛_头部 .layui-nav .layui-nav-item a:hover,
#论坛_头部 .layui-nav .layui-this a {
    opacity: 1;
}
#论坛_头部 .layui-container,
#论坛_头部 .导航 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#论坛_搜索 {
    height: 250px;
    padding: 40px 0 0;
    box-sizing: border-box;
    text-align: center;
    background: url("@文件_登录.webp") no-repeat center 80%;
    background-size: cover;
}
#论坛_搜索 h3 {
    font-size: 22px;
    color: #fff;
    text-shadow: 0px 2px 2px #333;
}
#论坛_搜索 .搜索 {
    margin: 15px auto 0;
    width: 50%;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
}
#论坛_搜索 .搜索 input {
    width: calc(100% - 94px);
    height: 38px;
    padding-left: 30px;
    box-sizing: border-box;
    border: none;
    background: none;
    position: relative;
    z-index: 1;
}
#论坛_搜索 .layui-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.5s;
}
#论坛_搜索 .搜索 input:focus ~ .layui-icon {
    color: var(--副主题颜色);
}
#论坛_搜索 .网站信息 {
    position: absolute;
    bottom: 15px;
    right: 15px;
}
#论坛_搜索 .网站信息 em {
    font-style: normal;
    color: #00ff48;
}
#论坛_快捷版块 {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0 3px 1px;
}
#论坛_快捷版块 .layui-panel {
    text-align: center;
    padding: 15px;
    border-radius: 3px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 3px 0;
    transition: all 0.3s;
}
#论坛_快捷版块 .layui-panel:hover {
    transform: translateY(-5px);
    box-shadow: rgba(255, 255, 255, 0.2) 0 0 3px 0;
}
#论坛_快捷版块 .layui-panel .layui-icon {
    font-size: 22px;
    margin-bottom: 15px;
}
#论坛_快捷版块 .layui-panel a {
    color: #fff;
}
#论坛_快捷 {
    padding: 20px 0 10px;
}
#论坛_快捷 .搜索 {
    text-align: center;
    margin-bottom: 15px;
}
#论坛_快捷 .搜索 input {
    text-align: center;
    border-radius: 50px;
    border: #1e9fff 1px solid !important;
}
#论坛_快捷 .layui-btn-container {
    height: 90px;
    overflow-y: auto;
}
#论坛_快捷 a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#论坛_搜索 .layui-container {
    height: 100%;
}
#论坛_搜索 .论坛信息 {
    position: absolute;
    bottom: 15px;
    right: 15px;
}
#论坛_搜索 .论坛信息 em {
    font-style: normal;
    color: #00ff48;
}
#论坛首页列表 {
    margin-bottom: 30px;
}

#论坛_快捷_列表导航 {
    padding-bottom: 10px;
}
#论坛_快捷_列表导航 .layui-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#论坛_快捷_列表导航 .论坛信息 em {
    font-style: normal;
    color: var(--文字颜色);
}
#标签列表 {
    height: 80px;
    overflow-y: auto;
    margin-top: 10px;
}
.标题 {
    font-size: 18px;
    margin: 15px 0;
}

.下一页 {
    text-align: center;
    margin: 20px 0;
}
.下一页 a {
    padding: 0 45px;
}
.layui-breadcrumb a:hover {
    color: var(--主题颜色);
}
.layui-card-header {
    font-size: 16px;
    color: var(--主题颜色);
}
.首页最新列表 li {
    margin: 0 0 5px;
    padding-left: 10px;
    line-height: 28px;
    font-size: 14px;
    position: relative;
    transition: all 0.3s;
}
.首页最新列表 li a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.首页最新列表 li:after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #666;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -2px;
}
.首页最新列表 li:hover {
    padding-left: 15px;
}
.首页最新列表 li:hover:after {
    background: var(--主题颜色);
}
.问题求助 {
    margin-top: 15px;
}
.问题求助 li {
    display: flex;
    align-items: baseline;
    padding: 10px 0 14px;
    border-bottom: 1px dashed var(--边框颜色);
}
.问题求助 li:last-child {
    border: none;
}
.问题求助 li i {
    font-style: normal;
    margin-right: 10px;
}
.问题求助 li .提问 {
    line-height: 1.5;
    flex: auto;
}
.问题求助 li .提问 a {
    display: block;
}
.问题求助 li .提问帖信息 {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 8px;
}
.问题求助 li .提问帖信息 img {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin-right: 6px;
}
.问题求助 li .提问帖信息 span {
    opacity: 0.7;
}
.发帖信息面板 {
    display: flex;
    padding: 15px 20px;
    margin-bottom: 10px;
    overflow: hidden;
}
.发帖信息面板 .头像 img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    object-fit: cover;
}
.发帖信息面板 .内容 {
    flex: auto;
    margin-left: 10px;
}
.发帖信息面板 .内容 .用户信息 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.发帖信息面板 .内容 h4 {
    font-size: 16px;
    line-height: 2;
}
.发帖信息面板 .内容 h4 i {
    font-style: normal;
    vertical-align: middle;
}
.发帖信息面板 .内容 p {
    opacity: 0.9;
    line-height: 24px;
}
.发帖信息面板 .内容 .帖子图片 {
    display: flex;
    margin: 5px 0 15px;
}
.发帖信息面板 .内容 .帖子图片 a {
    display: block;
    width: 25%;
    overflow: hidden;
}
.发帖信息面板 .内容 .帖子图片 img {
    width: 100%;
    display: block;
    transition: all 0.5s;
}
.发帖信息面板 .内容 .帖子图片 img:hover {
    transform: scale(1.1);
}
#发帖信息分页 {
    text-align: right;
}
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background: var(--主题颜色);
}
.layui-laypage a:hover {
    color: var(--主题颜色);
}
.标题 {
    font-size: 18px;
    margin: 15px 0;
}
.论坛图文列表 li {
    display: flex;
    justify-content: space-between;
    padding: 18px 15px;
    min-height: 48px;
    position: relative;
    border-top: #e2e2e261 1px solid;
}
.论坛图文列表 li:first-child {
    border: none;
}
.论坛图文列表 li .头像 {
    width: 48px;
    height: 48px;
    margin-right: 15px;
}
.论坛图文列表 li .头像 img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
    object-fit: cover;
}
.论坛图文列表 li .文本 {
    flex: auto;
}
.论坛图文列表 li .文本 h4 {
    line-height: 24px;
    font-size: 14px;
}
.论坛图文列表 li .信息 div {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.论坛图文列表 li .信息 .发布时间 {
    color: Red;
    margin-right: 10px;
}
.论坛图文列表 li .信息 i {
    margin-left: 15px;
}
.论坛图文列表2 li {
    flex-wrap: wrap;
    border: none;
}
.论坛图文列表2 li .视频列表 {
    border-radius: 5px;
    box-shadow: var(--边框颜色) 0 0 10px 1px;
    overflow: hidden;
}
.论坛图文列表2 .视频封面 {
    position: relative;
    overflow: hidden;
}
.论坛图文列表2 .视频封面 a {
    display: block;
}
.论坛图文列表2 .视频封面 img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}
.论坛图文列表2 .视频封面:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s;
}
.论坛图文列表2 .视频封面:hover:after {
    opacity: 1;
}
.论坛图文列表2 .视频封面:hover img {
    transform: scale(1.2);
    opacity: 0.6;
}
.论坛图文列表2 .视频封面 .layui-icon {
    position: absolute;
    top: 50%;
    font-size: 50px;
    left: 50%;
    transform: translate(-50%, -50%);
    color: White;
    z-index: 1;
    opacity: 0;
    transition: all 0s;
}
.论坛图文列表2 .视频封面:hover .layui-icon {
    opacity: 1;
}
.论坛图文列表2 .文本 {
    padding: 10px;
}
.论坛图文列表2 .文本 h4 {
    height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.论坛图文列表2 .文本 .信息 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#论坛_列表 {
    margin-bottom: 30px;
}
#论坛_尾部 {
    width: 100%;
    height: 120px;
    padding: 15px 0;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.5) 0 0 5px 0;
    text-align: center;
    background: var(--尾部背景);
    position: absolute;
    bottom: 0;
}
#论坛_尾部 ul {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}
#论坛_尾部 ul li a {
    display: inline-block;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
}
.首页版块 {
    margin-top: 15px;
}
.友情链接 a {
    margin: 5px 10px;
}

@media (min-width: 1440px) {
    .layui-container {
        width: 1400px;
    }
}
@media (max-width: 1024px) {
    #论坛_头部 .layui-nav .layui-nav-item a {
        padding: 0 8px;
    }
}
@media (max-width: 767px) {
    #论坛_头部 .layui-nav {
        position: fixed;
        width: 100%;
        top: 50px;
        left: 100%;
        text-align: center;
        background: var(--半透明背景);
        backdrop-filter: blur(5px);
        padding: 15px 0;
        z-index: 9;
    }
    .layui-nav .layui-this:after,
    .layui-nav-bar {
        height: 2px;
    }
    #论坛_头部 .layui-nav .layui-nav-item {
        line-height: 35px;
        display: block;
    }
    #菜单按钮 {
        display: block;
        margin-left: 10px;
    }
    #论坛_头部 {
        height: 50px;
        line-height: 50px;
    }
    #论坛_头部 h1 {
        font-size: 18px;
    }
    #论坛_搜索 .搜索 {
        width: 90%;
    }
    .layui-fixbar {
        right: 15px !important;
    }
    #论坛_快捷 .论坛信息 {
        display: none;
    }
    .论坛图文列表 li {
        padding: 15px 0;
    }
    .论坛图文列表2 li {
        display: block;
    }
}
.评论加精 {
    width: 150px;
    height: 60px;
    line-height: 60px;
    border: red 2px solid;
    position: absolute;
    right: 20px;
    top: 40px;
    text-align: center;
    color: red;
    font-size: 22px;
    font-weight: bold;
    transform: rotate(30deg);
    box-shadow: red 0 0 4px inset;
    user-select: none;
    background: rgba(255, 255, 255, 0.3);
}
.帖子空白默认提示 {
    height: 100px;
    line-height: 100px;
    text-align: center;
    color: Black;
    box-shadow: 3px 3px 3px #888888;
    margin-top: 20px;
    border-radius: 10px;
}
.右侧列表空白默认提示 {
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: Black;
    box-shadow: 3px 3px 3px #888888;
    margin-top: 20px;
    border-radius: 5px;
}
.论坛列表简易描述 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.标签搜索区域下边距 {
    margin-bottom: 20px;
}
.隐藏元素 {
    display: none;
}
.帖子主体 a {
    display: inline-block;
}
.帖子主体 img {
    display: block;
    height: auto;
}
/*layui弹窗CSS,后续会翻译成中文*/
.layui-layer {
    background-color: var(--网站背景);
}
.layui-layer-title {
    color: var(--文字颜色);
}
.layui-layer-ico {
    border-radius: 100%;
    background-color: #f9f9fa;
}
.layui-layer-hui {
    background-color: rgba(0, 0, 0, 0.6);
}