body {
    background-image: url('/static/bg.png'); /* 替换为你的背景图URL */
    background-size: cover; /* 使背景图覆盖整个容器，同时保持宽高比 */
    background-position: center; /* 将背景图居中显示 */
    background-repeat: no-repeat; /* 防止背景图重复 */
    margin: 0; /* 移除默认的margin，确保背景图覆盖整个视口 */
    height: 100vh; /* 可选：确保body高度为视口高度，视需要而定 */

    background-color: #000000;
}
a{
    text-decoration: none;
}

.top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 70px;
    padding-top: 20px;
}
.top-left{
    display: flex;
}
.top-right{
    display: flex;
}
.top-box{
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-logo img{
    width: auto;
    height: 35px;
    margin-left: 10px;
}
.top-title{
    color: #EBD3A5;
    font-weight: bold;
    font-size: 18px;
}
.top-icon{
    padding: 0 5px;
}
.top-icon:hover{
    /*background-color: #EBD3A550;*/
}
.top-icon img{
    width: 26px;
    height: 26px;
}
.top-search{
    display: flex;
    align-items: center;
    border: 1px solid #EBD3A580;
    height: 30px;
    border-radius: 15px;
    padding-left: 5px;
}
.top-search:focus{
    background: none;
}
.top-search-input{
    border: none;
    outline: none;
    flex-grow: 1;
    padding: 5px;
    font-size: 12px;
    height: 30px;
    border-radius: 15px;
    background: none;
    color: #EBD3A5;
}
.top-search-input::placeholder{
    color: #EBD3A580;
}

.top-search-button{
    background: none;
    border: none;
    cursor: pointer;
}
.top-search-button img{
    width: 24px;
    height: 24px;
}


.bg-block{
    background-color: rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    border-radius: 8px;
    padding: 8px;
}

.bg-block-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
.bg-block-top-left{
    display: flex;
}
.bg-block-top-right{
    display: flex;
}
.bg-block-top-box{
    display: flex;
    justify-content: center;
    align-items: center;
}
.bg-block-top-left-icon img{
    width: 20px;
    height: 20px;
}
.bg-block-top-right-icon img{
    width: 15px;
    height: 15px;
}
.bg-block-top-left-title{
    color: #EBD3A5;
    font-size: 16px;
    font-weight: 800;
    margin-left: 5px;
}
.bg-block-top-right-title{
    color: #EBD3A580;
    font-size: 12px;
}
.bg-block-top-right-title:hover{
    color: #EBD3A590;
}
.bg-block-content{
    color:#EBD3A5;
}
.bg-block-content-top{
    border-radius: 10px;
}
.bg-block-content-title{
    font-size: 16px;
    margin-top: 10px;

}
.bg-block-content-desc{
    font-size: 12px;
}
.bg-block-content-links{
    display: flex;
    flex-wrap: wrap;
}
.bg-block-content-link{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20%;
    padding: 10px;
}
.bg-block-content-link img{
    width: 100%;
    height: auto;
}

/*预览大图*/
.preview{
    width: 100%;
    height: 100vh;
    background: #00000080;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;    /* 垂直居中 */
}
.preview-close{
    position: absolute;
    top: 20px;
    right: 20px;
}
.preview-close img{
    width: 30px;
    height: 30px;
}
.preview-pic{
    width: 100%;
}
.preview-pic img{
    width: 100%;
    height: auto;
}

/*加载中*/
.loading{
    width: 100%;
    height: 100vh;
    background: #00000080;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;    /* 垂直居中 */
}
/*弹窗提示*/
.message{
    width: 100%;
    height: 100vh;
    background: #00000080;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center;    /* 垂直居中 */
    color: #EBD3A5;
    text-align: center;
}