/* 调用字体文件 */
@font-face {
    font-family: HarmonyOS_Sans_SC_Medium;
    font-style: normal;
    font-display: swap;
    src: url("HarmonyOS_Sans_SC_Medium.subset.woff2") format('woff2')
}

/* 全局 */
* {
    margin: 0;
    /* 去除这些元素的外边距 */
    outline: 0;
    /* 去除元素的轮廓线 */
    padding: 0;
    /* 去除这些元素的内边距 */
    vertical-align: baseline;
    /* 设置垂直对齐方式为基线对齐 */
    word-wrap: break-word;
    /* 允许单词在边界处自动换行 */
    text-decoration: none;
    /* 去除文本装饰，如下划线等 */
    box-sizing: border-box;
    /* 设置盒模型为 border-box，即元素的宽度和高度包括边框和内边距 */
    -moz-box-sizing: border-box;
    /* 针对 Firefox 浏览器设置盒模型为 border-box */
    -webkit-box-sizing: border-box;
    /* 针对 WebKit 内核浏览器设置盒模型为 border-box */
    list-style: none;
    /* 去除列表元素的默认样式，如项目符号等 */
    vertical-align: top;

}

:root {
    --color_1: #d94848;
    --color_2: #7b89a6;
    --color_3: #3d3c59;
    --color_4: #29b7cb;
    --color_5: #b0bf3b;
    --color_6: #d3d3d3;
    --color_7: #0eb0c9;
    --color_7_hover: #1491a8;
    --color_8: #f2a057;
    --color_9: #f5f6f7;
    --color_10: #5f6269;
    --color_11: #ffffff;
    --color_12: #f45074;
    --color_13: #000000;
    --color_14: #e9e9e9;
    --color_15: #acacac;
}

/* 强制字体不缩放 */
html,
body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    -moz-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
    font-size: 16px !important;
}

html {
    font-size: 100%;
    overflow-y: scroll;
    /* 针对不同浏览器进行统一的文本大小控制，保证在 Internet Explorer 浏览器中的表现与其他浏览器一致 */
    -ms-text-size-adjust: 100%;
    /* 在 WebKit 内核的浏览器中，当用户点击一个元素时，去除默认的点击高亮颜色 */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    /* 在 WebKit 内核的浏览器中，对图像进行优化对比度的渲染。这可以使图像在缩放时保持更清晰的边缘和更好的视觉效果。*/
    image-rendering: -webkit-optimize-contrast;
    /* 不显示水平滚动条 */
    overflow-x: clip;
    max-width: 100%;
    overscroll-behavior: none;
}

body {
    font-family: HarmonyOS_Sans_SC_Medium, 'Microsoft YaHei' !important;
    background: url(spring.webp);

    padding-top: 78px !important;
    /* 改用 padding-top */
    margin-top: 12px !important;
    /* 调整为较小的值 */
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
    color: #23292e;
}

/* 进度条 */
#nprogress {
    position: fixed !important;
    top: 78px !important;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

#nprogress .bar {
    height: 3px !important;
    background: linear-gradient(90deg, var(--color_8) 0%, var(--color_12) 100%) !important;
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.3);
    transition: width 0.5s ease-in-out;
}

/* 添加加载波纹效果 */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

#nprogress .bar::before {
    content: '';
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    animation: ripple 1s infinite;
}

#nprogress .spinner {
    position: fixed !important;
    display: block !important;
    top: 28px;
    right: 25px;
}

#nprogress .spinner-icon {
    width: 22px;
    height: 22px;
    border: 3px solid var(--color_12);
    border-top-color: var(--color_12);
    animation: nprogress-spinner 1500ms linear infinite;
}

@keyframes nprogress-spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*下拉刷新*/
/* 刷新提示和按钮样式 */
#refresh-tip {
    text-align: center;
    height: 100px;
    line-height: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    z-index: 1000;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #fff;
}

#refresh-tip.show {
    top: 120px;
    opacity: 1;
}

#refresh-tip i {
    line-height: 50px;
    font-size: 40px;
    display: block;
    margin-top: 10px;
}

/* 刷新按钮样式 */
.refresh {

    position: absolute;
    right: 0px;
    top: 52%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color_11);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh:hover {
    background-color: var(--color_14);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.refresh i {
    font-size: 30px;
    color: var(--color_12);
}

header {
    background: url(body.webp);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    height: 78px;
    background-color: var(--color_11);
    box-shadow: 0 4px 8px -2px var(--color_6);
    transition: transform 0.3s ease;
}

.nav-body {
    position: relative;
    display: flex;
    gap: 0px;
}

.nav-logo {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 260px;
    /* 垂直居中 */
}

.logo-img {
    flex: 0 0 62px;
}

.logo-img img {

    margin-top: 4px;
    width: 100%;
    height: auto;
}

.logo-title {
    flex: 1;
    /* 自动填满剩余空间 */
    font-weight: bold;
    margin-left: 5px;
    margin-top: 5px;
}

.school-title {
    margin-top: -2px;
    margin-bottom: -6px;
    color: var(--color_10);
    font-size: 16px !important;
    text-shadow: 0 1px 1px #74759b33,
        0 2px 1px rgba(255, 255, 255, 0.3);
    /* 双层阴影 */
}

.class-title {
    color: var(--color_12);
    font-size: 20px !important;
    text-shadow: 0 2px 3px #f450744d,
        0 1px 1px rgba(255, 255, 255, 0.5);
    /* 同色系阴影+高光 */
}

.nav-list {
    flex: 1;
    /* 自动填满剩余空间 */
    text-align: right;
    margin-top: 12px;
}

.nav-list {
    flex: 1;
    text-align: right;
    margin-top: 12px;
}

/* 点击特效样式 */
.nav-list {
    flex: 1;
    text-align: right;
    margin-top: 12px;
}

div[class^="click-"] {
    position: absolute;
    pointer-events: none;
    user-select: none;
    z-index: 10000;
    white-space: nowrap;
    /* 添加这行确保文字不换行 */
}

div.click-text-effect {
    font-size: 20px !important;
    text-shadow: 2px 2px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        0 2px 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        -2px 0 0 #000;
}

div.click-symbol-effect {
    font-size: 20px !important;
    text-shadow: none;
    transform-origin: center center;
}

/* 全局样式more */
.more-icon {
    position: relative;
    display: inline-block;
    float: right;
    margin-top: 0px;
}

.more-icon a p {
    color: var(--color_15);
    transition: color 0.5s ease;
}

.more-icon a:hover p {
    color: var(--color_12);
}

.more-icon p {
    display: inline-block;
}

.more-icon .more-1 {
    margin-top: 3px;
    font-size: 18px;
    letter-spacing: 3px;

}

.more-icon .more-2 {
    font-size: 18px;
    margin-left: -5px;
    padding-top: 2px;

}

.more-icon .more-3 {
    font-size: 10px;
    position: absolute;
    top: -2px;
    right: 0;

}

/* ---------------------------------- */

/* 弹窗基础样式 */
.custom-layer {
    border-radius: 8px !important;
    overflow: hidden;
}

/* 弹窗标题栏 */
.custom-layer .layui-layer-title {
    background: var(--color_12);
    color: white;
    font-size: 16px;
    height: 50px !important;
    line-height: 50px !important;
    padding-right: 50px;
    border-bottom: none;
}

/* 弹窗内容区域 */
.custom-layer .layui-layer-content {
    padding: 20px 30px !important;
}

#login.layui-layer-content {
    padding: 0px 30px !important;
}

#login.layui-layer-content .layui-tab-title li {
    font-size: 15px !important;
}

/* 关闭按钮 */
.custom-layer .layui-layer-close {
    font-size: 24px !important;
    font-weight: 300;
    width: 30px !important;
    height: 30px !important;
    line-height: 50px !important;
    top: -5px !important;
    right: 0 !important;
    transition: all 0.3s ease;
    position: absolute;
    text-align: center;
    color: #fff;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-layer .layui-layer-close:hover {
    transform: rotate(90deg);
    color: #fff !important;
    opacity: 1 !important;
}

/* 表单元素样式 */
.layui-input-wrap {
    margin-bottom: 5px;
}

.layui-input-wrap .layui-input {
    height: 40px;
    border-radius: 4px;
    padding-left: 40px;
    transition: all 0.3s;
}

.layui-input-wrap .layui-input:focus {
    border-color: var(--color_12);
    box-shadow: 0 0 5px rgba(244, 80, 116, 0.2);
}

.layui-input-prefix {
    height: 40px;
    line-height: 40px;
}

.layui-bg-zhuse {
    background-color: var(--color_12);
}



.layui-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

#resetCalendar {
    background-color: #fff !important;
}

/* 链接样式 */
.text-center a {
    transition: all 0.3s;
    text-decoration: none;
}

.text-center a:hover {
    color: var(--color_12) !important;
}

/* 复选框样式 */
.layui-form-checkbox[lay-skin=primary]:hover i {
    border-color: var(--color_12);
}

.layui-form-checked[lay-skin=primary] i {
    background-color: var(--color_12);
    border-color: var(--color_12);
}

/* ---------------------------------- */

.nav-list .nav-a {
    display: inline-block;
    border-bottom: 1px solid var(--color_11);
    padding: 15px 5px;
    margin-left: 3px;
    font-size: 16px !important;
    transition: all .5s;
    color: var(--color_3);
}

.nav-list .nav-a:hover {
    color: var(--color_12);
}

.nav-list .nav-a::after {
    content: "";
    display: block;
    border-bottom: 2px solid #0eb0c9;
    opacity: 0;
    margin-top: 0;
    transition: all .5s;
}

.nav-list .nav-a:hover::after {
    border-bottom: 2px solid var(--color_12);
    margin-top: 5px;
    opacity: 1;
}

.nav-list .nav-a.active {
    color: var(--color_12);
}

.nav-list .nav-a.active::after {
    content: "";
    display: block;
    border-bottom: 2px solid #0eb0c9;
    border-bottom: 2px solid var(--color_12);
    margin-top: 5px;
    opacity: 1;
}

.btn-login-style {
    display: inline-block;
    background-color: var(--color_12);
    color: var(--color_11);
    padding: 3px 6px;
    height: 26px;
    margin-top: 14px;
    border-radius: 5px;
    padding-right: 6px;
    margin-left: 15px;
    cursor: pointer;
    font-size: 14px;
}

.login-style.custom-layer-content {
    max-width: 1000px;
    /* 限制最大宽度 */
    margin: 0 auto;
    /* 居中显示 */
}

.login-style {
    border-radius: 8px !important;
    max-width: 350px;
}

.layui-input-split i {
    line-height: 42px;
}

.login-style .layui-layer-title {
    position: relative;
    height: 80px !important;
    text-shadow: 2px 0px #ff719a, 1px 1px #ff719a;
    background-image: linear-gradient(135deg, #ff5e7f 30%, #ff967e 100%);
    overflow: hidden;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    line-height: 100px;
    text-align: left;
    width: 100% !important;
    z-index: 2;
    font-size: 18px;
    color: #fff;
    text-indent: 1rem;
}

.login-style .layui-layer-title i {
    line-height: 90px;
    font-size: 46px !important;
    margin-left: -20px;
    margin-right: 5px;
}

.getuser-tag {

    margin-bottom: 5px;
    background-color: #f3f3f3;
    margin-bottom: 20px;
    border-radius: 16px;
    height: 34px;
}

.getuser-tag p {
    padding: 4px 6px;
    display: inline-block;


}

.getuser-tag p.left {
    width: calc(50%);
    float: left;
}

.getuser-tag p.right {
    width: calc(50%);
    float: right;
}

.getuser-tag p span {
    display: inline-block;
    text-align: center;
    padding: 2px 10px;
    color: #fff;
    font-size: 14px;

    border-radius: 10px;
    width: 100%;
}

.getuser-tag p.left span {
    background-color: #b0bf3b;
}

.getuser-tag p.right span {
    color: #676666;
}

.getuser-tags p.left span {
    background: none;
    color: #676666;
}

.getuser-tags p.right span {
    background-color: #b0bf3b;
    color: #fff;
}


.login-style .layui-layer-setwin span {
    z-index: 3;
    display: inline-block;
    width: 30px;
    text-align: center;
    line-height: 30px !important;
    height: 30px;
    color: #fff;
    font-size: 1.3rem !important;
    line-height: 0px;
    transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transition: all 1s;
}

.btn-login-style i {
    vertical-align: -3px;
    font-size: 18px !important;
    margin-right: 2px;
}



.btn-logout-style {
    display: inline-block;
    background-color: var(--color_8);
    color: var(--color_11);
    padding: 3px 5px;
    height: 26px;
    margin-top: 14px;
    border-radius: 5px;
    padding-right: 2px;

    cursor: pointer;
}

.btn-logout-style i {
    animation: none;
    vertical-align: -2px;
    font-size: 18px !important;
    margin-right: 2px;
}

.btn-logout-style:hover i {
    -webkit-animation: tada 1.5s ease infinite;
    animation: tada 1.5s ease infinite;
}

/* ---------------------------------- */





/* ---------------------------------- */
/* 通用样式 */
.main-top {
    height: 80px;
}

.main-top-title {
    position: relative;
    z-index: -10 !important;
}

.main-top-title .main-arrow {
    position: absolute;
    top: -15px;
    left: -5px;
    font-size: 18px;
    display: inline-block;
    cursor: pointer;
}

.main-top-title .main-arrow i {
    font-size: 36px;
    color: #9BDEAC;
}

.main-top-title .main-arrow span {
    vertical-align: -4px;
    color: #9BDEAC;
}

@keyframes titleMove {

    0%,
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }

    60% {
        transform: translateY(0px);
        opacity: 0.7;
    }

    70% {
        transform: translateY(-15px);
        opacity: .9;
    }

    85%,
    100% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

.main-top-title h1 {
    margin-top: 20px;
    font-size: 48px;
    padding-left: 20px;
    color: var(--color_12);
    font-weight: normal;
    animation: titleMove 6s ease-out infinite;
}

.main-top-title h1 span {
    font-size: 40px;
    vertical-align: bottom;
}

.main-top-title .title {
    position: absolute;
    top: -60px;
    right: 20px;
    font-size: 100px;
    color: #00000010;
    font-family: "Arial Black", "Helvetica Neue Bold", "Roboto Bold", system-ui;
    font-weight: bold;
}

.main-body {
    background-color: var(--color_11);
    border: 1px solid var(--color_14);
    box-shadow: 0 0 8px #00000010;
    border-radius: 8px;
    padding: 20px 25px;

}

.main-one {
    margin-top: -47px;
    position: relative;
    z-index: 2;
}

.mian-title {
    margin-bottom: 0px;
}

.mian-title h1 {
    font-size: 20px;
    font-weight: normal;
    color: var(--color_3);
}

.mian-title h1::before {
    content: "";
    border-radius: 8px;
    width: 5px;
    height: 20px;
    background-color: #f45074;
    display: inline-block;
    margin-right: 15px;
    vertical-align: -2px;
    box-shadow: 0 0 5px var(--color_12);

}

.list-page {
    background-color: var(--color_11);
    border: 1px solid var(--color_14);
    box-shadow: 0 0 8px #00000010;
    border-radius: 8px;


    text-align: center;
    margin: 20px 0;
}

.comment-body {
    overflow: hidden;
    margin-top: 25px;
    position: relative;
    background: var(--color_11);
    padding-bottom: 20px;
}


.comment-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    /* 增加遮罩高度 */
    background: #fff;
    pointer-events: none;
    z-index: 1;
    /* 确保遮罩在内容之上 */
}

.comment-title {
    font-size: 20px;
    color: var(--color_3);
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color_14);
    position: relative;
}

.comment-title i {
    font-size: 24px;
    margin-right: 8px;
    vertical-align: -4px;
    color: var(--color_12);
}

.comment-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--color_12);
}

.comment-subtitle {
    font-size: 14px;
    color: var(--color_15);
    margin-left: 10px;
    font-weight: normal;
}

/* ---------------------------------- */


.loading-more,
.no-more {
    color: var(--color_6);
    padding: 15px 0 !important;
    cursor: pointer;
    transition: all .3s ease;
}



.loading-more:hover,
.no-more:hover {
    color: var(--color_12);
}

.loading-more i,
.no-more i {
    font-size: 20px;
    vertical-align: -5px;
    margin-right: 5px;
}

/* ---------------------------------- */
/* News---------------------------------- */


.news-top-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: bold !important;
    color: var(--color_12);
    margin-top: 5px;
    font-size: 18px;
}

.news-top-title i {
    margin-right: 5px;
    font-size: 22px;
    vertical-align: -3px;
    color: var(--color_12);
}

.news-top-title span {
    display: inline-block;
    background-color: var(--color_12);
    color: #fff;
    border-radius: 5px;
    padding: 2px 5px;
    padding-bottom: 1px !important;
    font-size: 14px;
    font-weight: normal;
    vertical-align: 2px;
    margin-right: 6px;
}

.news-top-content {
    font-size: 16px;
    text-indent: 2em;
    color: var(--color_10);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 2px;
}

.news-top {
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to bottom, #f7dae950, #ffffff, #ffffff, #ffffff, #ffffff);
}

.news-icon {
    background-color: var(--color_12);
    position: absolute;
    right: -37px;
    top: 32px;
    text-align: center;
    width: 90px;
    height: 40px;
    line-height: 40px;
    transform: rotate(45deg);
    transform-origin: 100% 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.news-icon .icon-t {
    padding: 5px;
    font-size: 18px !important;
    font-weight: bold;
    color: #fff;
}

.news-top-info p {
    display: inline-block;
    margin-top: 15px;
    color: var(--color_6);
    margin-bottom: -5px;
}

.news-top-info p i {
    font-size: 16px;
    margin-right: 3px;
    vertical-align: -2px;
}

.news-top-info p.click {
    margin-right: 5px;
    margin-left: 5px;


}

.news-top-info p.click i {
    margin-right: 0px;
}

.news-top-info p.more {
    float: right;
    background-color: var(--color_5);
    padding: 5px 10px;
    padding-top: 7px;
    margin-top: 10px;
    color: var(--color_9);
    clip-path: polygon(0 0,
            calc(100% - 8px) 0,
            100% 8px,
            100% 100%,
            8px 100%,
            /* 左下角切角 */
            0 calc(100% - 8px)
            /* 左下角切角 */
        );
    font-size: 16px;


}

.news-top-info p.more a {
    color: var(--color_9);
    font-weight: normal;
}

.news-top-info p.more i {
    vertical-align: -4px;
    font-size: 20px;
    overflow: hidden;
    margin-right: 2px;
}

.news-top-info p.more::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 50px 0;
    border-color: transparent var(--color_12) transparent transparent;
}

.news-list {
    margin-top: 20px;
}

/* News List 样式 */
.news-list-body {
    display: flex;
    gap: 20px;
    margin-top: 8px;
    margin-bottom: 20px;
    border-bottom: 1px dashed var(--color_14);
    padding-bottom: 20px;
}

.news-list-img {
    flex: 0 0 200px;
    box-shadow: 0 2px 8px #0000001a;
    border-radius: 4px;
    border: 1px solid var(--color_14);
    padding: 8px;
    height: 148px;
}

.news-list-img .list-img {
    width: 100%;
    height: 130px;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
}

.news-list-img .list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s ease;
}

.news-list-info {
    flex: 1;
    /* 自动占据剩余空间 */
    min-width: 0;
    /* 防止子元素溢出 */
    width: 100%;
    /* 确保宽度限制生效 */
}

.news-list-body:hover .news-list-img .list-img img {
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
}

.news-list-info .title {
    font-size: 20px;
    margin-top: 5px;
    transition: all .5s ease;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    width: 100%;
    /* 添加宽度限制 */
    display: block;
    /* 确保宽度生效 */

}

.news-list-info a:hover .title {
    color: var(--color_12);
}

.news-list-info .content {
    color: var(--color_15);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    text-indent: 2em;
    line-height: 22px;
    margin-top: 10px;
}

.list-info {
    margin-top: 0 !important;
}

.list-info .click {
    float: right;
}

/* -----------------NEWS内容----------------- */
.news-conter-icon {
    background-color: var(--color_12);
    position: absolute;
    right: -45px;
    top: 18px;
    text-align: center;
    width: 100px;
    height: 60px;
    line-height: 80px;
    transform: rotate(40deg);
    transform-origin: 100% 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.news-conter-icon .icon-t {
    padding: 5px;
    font-size: 20px !important;
    font-weight: bold;
    color: #fff;
}

/* ----------------右侧------------------ */

.margin-left-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px -2px var(--color_6);
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid #e1e1e1;
}

.user-panel-header {
    position: relative;
    height: 110px;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url(name-background.jpg);
    border-bottom: 1px solid var(--color_15);
}

.user-avatar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 91px;
    border-radius: 50%;
    border: 4px solid #fff;
    overflow: hidden;
    box-shadow: 0 0px 8px 0px rgba(0, 0, 0, 0.3);
    z-index: 2;
    background-color: var(--color_11);
}

.user-avatar img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    filter: brightness(1.03) contrast(1.01) saturate(1.1);
    /* 轻微提升亮度和对比度，略微提升饱和度 */
    transition: all 0.3s ease;
}

.user-avatar img:hover {
    filter: brightness(1.05) contrast(1.05) saturate(1.05);
    /* 悬停时稍微提升效果 */
}

.user-panel-body {
    position: relative;
    padding: 60px 15px 15px;
    text-align: center;
    background: url(triangle-mosaic.webp);
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--color_3);
    margin-bottom: 5px;
}

.user-status {
    font-size: 13px;
    color: #4CAF50;
    margin-bottom: 15px;
}

.user-status i {
    font-size: 14px;
    vertical-align: -2px;
    margin-right: 3px;
}

.user-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.action-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s;
    text-decoration: none;
}

.action-btn:first-child {
    background: var(--color_12);
    color: #fff;
}

.action-btn:first-child:hover {
    background: var(--color_7);
}

.logout-btn {
    background: #f5f5f5;
    color: #666;
}

.logout-btn:hover {
    background: #e0e0e0;
}

.action-btn i {
    margin-right: 4px;
    font-size: 16px;
}

.user-stats {
    display: flex;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.stat-item {
    flex: 1;
    text-align: center;
    border-right: 1px solid #eee;
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 18px;
    font-weight: bold;
    color: var(--color_12);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
    display: block;
}



.notices-img {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.notices-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.notices-content {
    flex: 1;
    min-width: 0;
}

/* 公告面板基础样式 */
.notices-panel {
    position: relative;
    padding-bottom: 15px;

}

/* 公告标题栏样式 */
.notices-title {
    padding: 15px 20px;
    padding-top: 20px;
    font-size: 17px;
    margin-bottom: 5px;
    color: var(--color_3);
    position: relative;
    transition: color 0.4s ease;
    background: url(hypnotize.webp);
    background-size: 150px;
    background-repeat: repeat;
    opacity: 0.6;
}

.notices-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--color_14);
}

.notices-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 0;
    height: 2px;
    background: var(--color_12);
    transition: all 0.4s ease;
    z-index: 1;
}

.margin-left-box:hover .notices-title {
    color: var(--color_12);
}

.margin-left-box:hover .notices-title::before {
    width: calc(100% - 40px);
}

.notices-title i {
    margin-right: 8px;
    font-size: 24px;
    vertical-align: -4px;
}

/* 公告列表项样式 */
.notices-left-body {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    padding-right: 5px;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.notices-left-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 0;
    border-bottom: 1px dashed var(--color_14);
}

.notices-left-body:last-child::after {
    display: none;
}

/* 公告图片容器 */
.notices-img {
    flex: 0 0 84px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
}

.notices-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.notices-left-body:hover .notices-img img {
    transform: scale(1.1);
}

/* 公告内容区域 */
.notices-content {
    flex: 1;
    min-width: 0;
}

/* 公告标题样式 */
.notice-item-title {
    font-size: 16px;
    color: var(--color_3);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
    line-height: 1.3;
    margin-bottom: 5px;
    min-height: 21px;
    /* 调整为一行的高度 */
    height: auto;
    /* 允许自动调整高度 */
}

/* 公告描述样式 */
.notices-desc {
    font-size: 14px;
    color: var(--color_15);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 默认显示两行 */
    -webkit-box-orient: vertical;
    line-height: 1.3;
    min-height: 36px;
    /* 调整为两行的高度 */
    height: auto;
    /* 允许自动调整高度 */
}

/* 当标题占用两行时，描述显示一行 */
.notice-item-title[style*="height: 42px"]+.notices-desc {
    -webkit-line-clamp: 1;
    min-height: 18px;
}

/* 添加悬停效果 */
.notices-left-body:hover .notice-item-title {
    color: var(--color_12);
}



/* 书籍列表样式 */
.book-list-body {
    display: flex;
    gap: 12px;
    padding: 12px 15px;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.book-list-body::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 0;
    border-bottom: 1px dashed var(--color_14);
}

.book-list-body:last-child::after {
    display: none;
}

/* 奇数项图片在左边，偶数项图片在右边 */
.book-list-body:nth-child(even) {
    flex-direction: row-reverse;
}

/* 书籍图片容器 */
.book-img {
    flex: 0 0 100px;
    height: 130px;
    border-radius: 4px;
    overflow: visible;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* 书签基础样式 */
.book-category {
    position: absolute;
    top: -6px;
    background: linear-gradient(185deg, #ff6b6b, #ff8eb4);
    color: #fff;
    padding: 4px 12px 8px;
    font-size: 14px;
    z-index: 2;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
    min-width: 50px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* 奇数项（图片在左）的书签样式 */
.book-list-body:nth-child(odd) .book-category {
    left: -8px;
    top: 1px;
    transform: rotate(-13deg);
    transform-origin: top left;
}

/* 偶数项（图片在右）的书签样式 */
.book-list-body:nth-child(even) .book-category {
    right: -8px;
    top: 1px;
    transform: rotate(13deg);
    transform-origin: top right;
}

/* 书签折角样式 */
.book-category::before {
    content: '';
    position: absolute;
    top: 0;
    width: 10px;
    height: 6px;
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
}

/* 根据奇偶调整折角位置 */
.book-list-body:nth-child(odd) .book-category::before {
    left: 0;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}

.book-list-body:nth-child(even) .book-category::before {
    right: 0;
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

/* 悬停效果 */
.book-list-body:nth-child(odd):hover .book-category {
    transform: translateY(-2px) rotate(-5deg);
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.25);
}

.book-list-body:nth-child(even):hover .book-category {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: -2px 4px 6px rgba(0, 0, 0, 0.25);
}

.book-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.book-list-body:hover .book-img img {
    transform: scale(1.1);
}

/* 书籍内容区域 */
.book-content {
    flex: 1;
    min-width: 0;
}


.book-desc {
    font-size: 14px;
    color: var(--color_15);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3;
    margin-bottom: 3px;
}

.book-info {
    font-size: 15px;
    color: var(--color_12);
    margin-bottom: 3px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

.book-infos {
    color: #ff0374;
    position: relative;
}

.book-infos::after {
    content: '';
    position: absolute;
    left: 70px;
    top: 50%;
    height: 1px;
    width: 58px;
    background: linear-gradient(to right, var(--color_12), transparent);
}

.book-info-list {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.book-info-list span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.book-info-list span:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 更新年级标签的配色方案 */
.book-info-list span:nth-child(1) {
    background: #FF9F9F;
}

.book-info-list span:nth-child(2) {
    background: #7CC6FE;
}

.book-info-list span:nth-child(3) {
    background: #5CCEA5;
}

.book-info-list span:nth-child(4) {
    background: #FFA07A;
}

.book-info-list span:nth-child(5) {
    background: #B39DDB;
}

.book-info-list span:nth-child(6) {
    background: #81C784;
}

/* ---------------------------------- */


/* -------------新闻内容页---------- */

/* 文章内容样式 */
.news-conter {
    padding: 25px 30px;
    padding-top: 50px;
}

.news-conter-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
}

.news-conter-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 99%;
    height: 3px;
    background: linear-gradient(to right, var(--color_12), #ff8eb4);
    border-radius: 3px;
}

.news-conter-title .title {
    font-size: 26px;
    color: var(--color_3);
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-conter-title .time {
    color: var(--color_6);
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

.news-conter-title .time span {
    position: relative;
    padding: 0 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-conter-title .time span i {
    font-size: 16px;

}



.news-conter-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color_3);
    text-align: justify;
    margin-bottom: 30px;

}

.news-conter-text div {
    text-indent: 2em;

}

.news-conter-text div:has(img) {
    text-indent: 0em;

}

.elegance-body h1 {
    padding: 20px 20px;
    text-align: center;
    color: var(--color_12);
    padding-bottom: 0;
}

.elegance-body h1 i {
    margin-top: 5px;
    font-size: 26px
}

.elegance-body img {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.8) !important;
}

.news-conter-text img {

    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-conter-text p {
    margin-bottom: 15px;
}

.viewcontent {
    margin-left: 15px;
}

.hitokoto-box {
    margin-top: 40px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;

    display: flex;
    align-items: center;
    gap: 15px;
}

.hitokoto-box span {
    padding: 2px 5px;
    font-size: 16px;
    color: #fff;

    background-color: var(--color_1);
    border-radius: 8px;
    white-space: nowrap;
}

.hitokoto-content {
    color: var(--color_3);
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
}




/*------------------收费--------------*/
.fee-top .mian-title h1 {
    font-size: 18px;
}

.fee-top-content {
    padding: 0px 25px;
    padding-top: 10px;
    position: relative;
}

.content-text {
    text-indent: 2em;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color_3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 75px;
    /* 约等于3行文字的高度 */
}

.content-text.expanded {
    -webkit-line-clamp: unset;
    max-height: 2000px;
    /* 设置一个足够大的值 */
}

.expand-btn {
    display: block;
    width: 100%;
    padding: 0 10px;
    text-align: center;
    color: var(--color_12);
    background: transparent;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.expand-btn i {
    font-size: 30px;
    margin-top: -5px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-btn.expanded i {
    transform: rotate(180deg);
}

.expand-btn:hover {
    color: var(--color_7);
}

/* 学期标题和余额样式 */
.fee-semester-header {
    margin-bottom: 15px;
    margin-top: 20px;
}

.semester-info {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.semester-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.fee-balance {
    margin-left: auto;
    color: #1E9FFF;
    font-weight: bold;
}

/* 收支记录列表样式 */
.fee-list {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 0;
    margin-bottom: 15px;
}



.fee-item {
    border-top: 1px dashed var(--color_6);
    border-bottom: none;
    display: block;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.fee-item:first-child {
    border-top: none;
}


.fee-item-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
}

/* 序号样式 - 根据收入/支出变色 */
.fee-number {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    margin-right: -7px;
}

.income .fee-number {
    background: #4caf50;
}

.expense .fee-number {
    background: #f44336;
}

.fee-type {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    display: block;
}

.fee-type.income {
    background: #e8f5e9;
    color: #4caf50;
}

.fee-type.expense {
    background: #ffebee;
    color: #f44336;
}

.expense .fee-amount {
    color: #f44336;
}

.income .fee-amount {
    color: #4caf50;
}

.fee-amount {
    font-size: 16px;
    font-weight: bold;
    margin-right: 10px;
}

.fee-date {
    color: #999;
    font-size: 13px;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.fee-date i {
    margin-right: 4px;
    font-size: 16px;
}

.fee-item-detail {
    padding: 0 0px;
}

.fee-title {
    margin-bottom: 5px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.fee-title i {
    font-size: 20px;
    margin-right: 5px;
    vertical-align: -2px;
}

.fee-remark {

    clear: both;
}


.fee-manager,
.fee-remark {
    color: #666;
    font-size: 16px;
    margin-bottom: 5px;
}

.xgpaio {
    color: var(--color_5);
}

.fee-manager i,
.fee-remark i {
    font-size: 20px;
    margin-right: 5px;
    vertical-align: -2px;
}

.fee-images {
    margin-top: 15px;
}

.fee-image {
    margin-bottom: 10px;
    height: 160px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.fee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    cursor: pointer;
}

.fee-image img:hover {
    transform: scale(1.05);
}

.fee-empty {
    text-align: center;
    padding: 20px 0;
    color: #999;
    padding-bottom: 30px;
}

.student-name {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

/* 用户信息卡片样式 */
.user-profile-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.user-avatar-container {
    text-align: center;
    position: relative;
}

.user-photo {
    width: 100%;
    height: 200px;
    /* 2寸照片比例 */
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    border-radius: 4px;
}

.user-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-group-caption {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background-color: #57c3c2;
    color: white;
    padding: 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    border-radius: 0 0 6px 6px;
}


.user-group-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #1E9FFF;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(30, 159, 255, 0.3);
    z-index: 1;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    margin: 12px 0;
    color: #333;
    text-align: center;
}

.user-score-summary {
    margin-top: 15px;
    text-align: left;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}

.user-score-summary .score-item {

    padding: 5px 0;
    border-bottom: 1px dashed #ddd;
}

.user-score-summary .score-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.score-label {
    color: #666;
    font-size: 16px;
}

.score-value {

    color: #FF5722;
    display: inline-block;
    font-size: 16px;
    margin-top: 0px;
}

.score-values {
    color: #6495ed;
    font-size: 14px;
    margin-top: 2px;
    margin-left: 5px;
}

/* 积分详情样式 */
.user-score-details .layui-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #eaeaea;
}

.score-detail-header {
    vertical-align: 3px !important;
    color: #f45074 !important;
    font-size: 16px !important;
    background: url(hypnotize.webp) 0% 0% / 150px repeat;
    border-radius: 8px 8px 0 0;
}

.score-detail-header i {
    margin-right: 8px;
    font-size: 22px;
    margin-top: 10px;
}

.score-detail-school {
    margin-top: 20px;
}

.user-score-details .score-detail-header i {
    margin-top: 2px;
}

.score-detail-item {
    padding: 8px 5px;
    background-color: #f8f8f8;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.score-detail-item:hover {
    background-color: var(--color_12) !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    color: #fff;
}

.score-detail-item:hover .score-item-name,
.score-detail-item:hover .score-item-value,
.score-detail-item:hover .score-detail-breakdown div,
.score-detail-item:hover .score-detail-breakdown div span {
    color: #fff !important;

}

.score-detail-breakdown {
    padding-top: 5px;
    text-align: center;
}

.score-detail-breakdown div {
    color: #888;
    line-height: 20px;
    font-size: 14px;

}

.score-detail-breakdown div span {
    color: #888;
    font-weight: bold;
    margin: 0 3px;
    vertical-align: 0px;
}

.score-item-name {

    color: #666;
    margin-bottom: 3px;
    font-size: 16px;
    text-align: center;
    display: block;

}

.score-item-value {
    display: inline-block;

    color: var(--color_7);
    font-size: 20px !important;
    text-align: center;
    display: block;
}

.today-score-title {
    font-size: 16px;
    color: var(--color_12) !important;
    padding: 10px 5px;
}

.today-score-title::before {
    content: '';
    display: inline-block;
    vertical-align: -3px;
    width: 4px;
    height: 18px;
    background-color: var(--color_12);
    box-shadow: 0 0 3px var(--color_12);
    border-radius: 8px;
    margin-right: 12px;

}

.history-score .score-item-value {
    color: #009688;
}

.no-score-tip {
    color: #999;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin: 10px 0;
}

.score-xiaonei-dui {
    color: #4caf50 !important;
}

.score-xiaonei-cuo {
    color: #d94848 !important;
}

.custom-calendar {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    width: 100%;
    padding: 12px;
    text-align: center;
    background-color: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
}

.calendar-header .prev-month,
.calendar-header .next-month {
    cursor: pointer;
    padding: 0 10px;
    transition: color 0.3s;
}

.calendar-header .prev-month:hover,
.calendar-header .next-month:hover {
    color: #1E9FFF;
}

.calendar-header .current-month {
    font-weight: bold;
    margin: 0 15px;
    font-size: 16px;
}

.calendar-weekdays {
    width: 100%;
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    background-color: #fafafa;
}

.calendar-weekday {
    flex: 1;
    text-align: center;
    padding: 8px 5px;
    font-weight: bold;
    color: #666;
    width: 14.28%;
    /* 添加固定宽度，与日期单元格一致 */
    box-sizing: border-box;
    /* 确保padding不*/
}

.calendar-days {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 5px 0;
    justify-content: space-around;
    /* 均匀分布日期单元格 */
}

.calendar-day {
    width: 14.28%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
    margin: 3px 0;
    /* 修改水平边距为0，避免错位 */
    transition: all 0.2s;
    box-sizing: border-box;
    /* 确保边框和内边距不会影响总宽度 */
}

.layui-table-cell {
    text-align: center;
}

.calendar-day:hover {
    background-color: #f2f2f2;
}

.calendar-day:hover {
    background-color: #5500ff !;
}

.calendar-day.selected {
    background-color: #1E9FFF;
    color: #fff;
}

.calendar-day.today {
    font-weight: bold;
    color: #FF5722;
    border: 1px dashed #FF5722;
}

.calendar-day.other-month {
    color: #ccc;
}

.calendar-day.in-range {
    background-color: #e6f7ff;
}

.calendar-day.range-start,
.calendar-day.range-end {
    background-color: #1E9FFF;
    color: #fff;
    z-index: 1;
}

.calendar-day.has-data:after {
    content: '';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 6px;
    height: 6px;
    background-color: #FF5722;
    border-radius: 50%;
}

.calendar-footer {
    width: 100%;
    padding: 12px;
    text-align: center;
    border-top: 1px solid #e6e6e6;
    background-color: #f8f8f8;
}

.calendar-footer button {
    margin: 0 5px;
    border-radius: 4px;
}

.date-range-picker {
    margin-bottom: 15px;
}

.date-range-picker .layui-inline {
    margin-right: 10px;
}

.stats-table-container {
    overflow-x: auto;
}

.layui-table-cell {
    text-align: center;
}

.date-range-display {
    margin-bottom: 10px;
    font-weight: bold;
}

.project-score {
    color: #1E9FFF;
    font-weight: bold;
}

.total-score {
    color: #FF5722;
    font-weight: bold;
}

.merit-score {
    color: #5FB878;
    font-weight: bold;
}

.remaining-score {
    color: #FFB800;
    font-weight: bold;
}


/* 响应式调整 */
@media screen and (max-width: 768px) {


    .score-item-value {
        font-size: 16px;
    }

    .user-score-summary {
        margin-top: 10px;
    }

    .user-group-badge {
        top: 5px;
        right: 5px;
        padding: 2px 8px;
        font-size: 12px;
    }
}

/* elegance main-body 美化样式 */
.elegance.main-body {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: relative;
}

.elegance .images {
    margin-bottom: 15px;
    flex-grow: 1;
    overflow: hidden;
    /* 确保内容不溢出 */
}

.elegance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #eee;
    width: 100%;
    /* 确保宽度100% */
    position: relative;
    /* 确保定位正确 */
    bottom: 0;
    /* 固定在底部 */
}

.elegance.main-body:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.elegance-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    position: relative;
    padding-left: 22px;
}

.elegance-title:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    height: calc(100% - 5px);
    width: 4px;
    background: var(--color_12);
    border-radius: 2px;
}

.elegance-content {
    color: #666;
    font-size: 16px;
    /* 字体稍微大一点 */
    line-height: 1.3;
    margin-bottom: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 从3行改为2行 */
    -webkit-box-orient: vertical;
}

.elegance-content span {
    color: var(--color_12);
    font-size: 14px;
    /* 日期字体也相应调大 */
    margin-right: 8px;
    font-weight: 500;
}

.elegance .images {
    margin-bottom: 15px;
    flex-grow: 1;
}

.vitality-images {
    height: 120px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.vitality-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vitality-images:hover img {
    transform: scale(1.08);
}

.elegance-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

/* 添加以下样式修复图标与文字的对齐问题 */
.elegance-info p {
    display: flex;
    align-items: center;
    margin: 0;
}

.elegance-info i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    position: relative;
    top: 0px;
    /* 微调图标位置 */
    font-size: 16px;
}

.elegance-info span {
    margin: 0 5px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .elegance.main-body {
        padding: 15px;
    }

    .elegance-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .elegance-content {
        font-size: 14px;
        /* 移动端字体也调整 */
        -webkit-line-clamp: 2;
        margin-bottom: 10px;
    }

    .vitality-images {
        height: 100px;
    }
}

/* 轮播图样式优化 */
.elegance-swiper {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
}

.elegance-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.elegance-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 隐藏分页器 */
.elegance-swiper .swiper-pagination {
    display: none;
}



.vitality-images .elegance-swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .vitality-images {
        height: 100px;
    }
}

.elegance-swiper .swiper-pagination {
    bottom: 8px;
}

.elegance-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.8;
}

.elegance-swiper .swiper-pagination-bullet-active {
    background: var(--color_12);
}

@media screen and (max-width: 768px) {
    .elegance-swiper {
        height: 150px;
    }
}

/* 导航按钮样式 */
.elegance-swiper .swiper-button-next,
.elegance-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    --swiper-navigation-size: 18px;
}

.elegance-swiper .swiper-button-next:hover,
.elegance-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* 分页器样式 */
.elegance-swiper .swiper-pagination {
    bottom: 8px;
}

.elegance-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.8;
}

.elegance-swiper .swiper-pagination-bullet-active {
    background: var(--color_12);
}

@media screen and (max-width: 768px) {
    .elegance-swiper {
        height: 150px;
    }
}

/* 保持原有的多图布局 */
.elegance .images .layui-row {
    display: flex;
    flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
    .elegance-swiper .vitality-images {
        height: 100px;
    }
}

.gallery-img {
    transition: all 1.2s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-img.fade {
    opacity: 0.3;
    transform: scale(1.05);
}


/* 切角标签样式 */
.corner-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    /* 进一步增加宽度 */
    height: 32px;
    /* 增加高度 */
    line-height: 32px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    transform: rotate(45deg) translate(42px, -30px);
    /* 调整位置 */
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 班级风采 - 马卡龙粉红色 */
.corner-ribbon-blue {
    background: linear-gradient(135deg, #FF9A9E, #FF6A88);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 作业展示 - 马卡龙蓝色 */
.corner-ribbon-green {
    background: linear-gradient(135deg, #81D4FA, #29B6F6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 确保主体有相对定位，以便标签能正确定位 */
.elegance.main-body {
    position: relative;
    overflow: hidden;
}

/* 美化elegance-info左侧的图标和文字 */
.elegance-info .image-icon {
    color: #FF9A9E;
    /* 与班级风采标签颜色呼应 */
    margin-right: 0px;
}

.elegance-info .video-icon {
    color: #81D4FA;
    /* 与作业展示标签颜色呼应 */
    margin-right: 3px;
}

.elegance-info .count-text {
    color: #FF9A9E;
    /* 与图片图标颜色一致 */
    font-weight: 500;
    margin-right: 5px;
}

/* 视频计数文字颜色 */
.elegance-info .video-icon+.count-text {
    color: #81D4FA;
    /* 与视频图标颜色一致 */
}

.elegance-info .divider {
    color: #ddd;
    margin: 0 5px;
}

/* 右侧浏览量也美化一下 */
.elegance-info p:last-child {
    color: #9575CD;
    /* 紫色系 */
}

.elegance-info p:last-child i {
    color: #9575CD;
    margin-right: 2px;
    margin-top: 2px;
    font-size: 18px;
}

/* 内容页图片轮播样式 */
.elegance-gallery {
    margin: 20px 0;
}

.gallery-swiper {
    padding: 10px 0;
}

.gallery-swiper .swiper-slide {
    height: 0px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    --swiper-navigation-size: 18px;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        height: 150px;
    }
}

/* 内容页图片轮播容器样式 */
.elegance-body {
    overflow: hidden;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    /* 添加相对定位 */
}

.elegance-gallery {
    margin: 0;
    width: 100%;
    height: auto;
    position: relative;
    /* 添加相对定位 */
}

.gallery-swiper {
    width: 100%;
    height: auto;
    padding-bottom: 30px;
    /* 为导航按钮留出空间 */
    position: relative;
    /* 确保按钮相对于轮播定位 */
}

/* 调整导航按钮位置 */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    top: 50%;
    /* 垂直居中 */
    transform: translateY(-50%);
    /* 精确垂直居中 */
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    /* 增加背景透明度 */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    --swiper-navigation-size: 18px;
    z-index: 10;
    /* 确保按钮在最上层 */
}

.gallery-swiper .swiper-button-next {
    right: 10px;
    /* 右侧按钮位置 */
}

.gallery-swiper .swiper-button-prev {
    left: 10px;
    /* 左侧按钮位置 */
}

.swiper-container {
    overflow: hidden;
    width: 100%;
}

.gallery-swiper .swiper-slide {
    height: 160px;
    /* 调整高度，使其更协调 */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 5px;
    /* 添加边距，防止图片紧贴 */
}

.gallery-swiper .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .gallery-swiper .swiper-slide {
        height: 120px;
    }
}

/* 内容页标签样式 */
.corner-ribbon-content {
    display: inline-block;
    margin-top: 15px;
    margin-left: -20px;
    line-height: 40px;
    padding: 0px 15px;
    padding-top: 18px;
    width: 140px;
    color: white;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 班级风采 - 马卡龙粉红色 */
.corner-ribbon-content.corner-ribbon-blue {
    background: linear-gradient(135deg, #FF9A9E, #FF6A88);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 作业展示 - 马卡龙蓝色 */
.corner-ribbon-content.corner-ribbon-green {
    background: linear-gradient(135deg, #81D4FA, #29B6F6);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 筛选框样式 */
.book-filter-box .layui-form-label {
    width: 60px;
    display: block;
    float: none;
    text-align: left;
    padding: 9px 0;
    line-height: 20px;
}

.book-filter-box .layui-input-block {
    margin-left: 0;
    min-height: auto;
}

.book-filter-box {
    padding: 30px !important;
}

.main-book-list {
    margin-top: 25px;
}

/* 图书列表样式 */
.book-item {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

.book-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.book-inner {
    padding: 15px;
    overflow: hidden;
    position: relative;
}

.book-inner .layui-row {
    display: flex;
    flex-wrap: wrap;
}

.book-imgs {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    height: 140px;
    width: 100%;
}

.book-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.book-imgs:hover img {
    transform: scale(1.05);
}

.book-recommend {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FF5722;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
}

.book-info-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    overflow: hidden;
    min-height: 140px;
}

.book-title {
    font-size: 15px;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    line-height: 1.2;
    height: 36px;
    white-space: normal;
}

.book-title a {
    font-weight: normal;

}

.book-list-body:hover .book-title {
    color: var(--color_12);
}

.book-intro {
    display: none !important;
    /* 隐藏介绍 */
}

.book-grade {
    margin-bottom: 5px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.book-price {
    margin-top: 5px;
    height: 25px;
    display: flex;
    font-size: 14px;

    gap: 5px;
    /* 使用gap来控制多个标签之间的间距 */
    flex-wrap: wrap;
}

.book-price span {
    border: 1px solid #ff6b6b;
    padding: 1px 6px !important;
    /* 统一padding */
    padding-bottom: 0 !important;
    font-size: 14px;
    color: #ff6b6b;
    display: inline-flex !important;
    /* 使用inline-flex确保对齐 */
    align-items: center;
    justify-content: center;
    min-height: 22px;
    /* 固定最小高度 */
    border-radius: 3px;
    /* 可选：添加圆角 */
}

/* 标签样式 */
.grade-tag,
.subject-tag,
.category-tag {
    display: inline-block;
    padding: 3px 5px;
    line-height: 1.2;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

/* Swiper相关样式 */
.grade-swiper {
    width: 100%;
    position: relative;
}

.grade-swiper .swiper-slide {
    width: auto;
    display: flex;
    align-items: center;
    margin-right: 0px !important;
}

.swiper-slide .grade-tag {
    margin-bottom: 0;
}

.grade-tag {
    margin-right: 2px;
    cursor: pointer;
}

/* 添加滑动提示按钮 */
.swipe-more-hint {
    position: absolute;
    right: 0;
    top: -1px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.swipe-more-hint.show {
    opacity: 1;
    pointer-events: auto;
}

.swipe-more-hint i {
    margin-left: 3px;
    animation: swipeHintAnimation 1.5s infinite;
    text-shadow: 0 0 5px #00000050, 0 0 5px #00000050, 0 0 5px #00000050;
}

@keyframes swipeHintAnimation {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(3px);
    }

    100% {
        transform: translateX(0);
    }
}

/* 科目标签样式 */
.subject-tags {
    margin-bottom: 2px;
    overflow: hidden;
    white-space: nowrap !important;
}

.subject-tag {
    margin-right: 2px;
}

/* 基础标签样式 */
.grade-0 {
    display: inline-block;
    padding: 3px 5px;
    line-height: 20px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    background-color: #b0b0b0;
    margin-right: -2px;
    margin-bottom: 5px;
    white-space: nowrap;
}

.book-subject {
    color: #666;
    font-size: 14px;

    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: none;
    background: none;
    position: relative;
}

.book-subject:after {
    display: none;
}

.book-intro {
    color: #999;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 2px;
    height: 50px;
    position: relative;
}

/* 筛选区域样式 */
.filter-header-left {
    display: inline-block;
    width: calc(100% - 80px);
    margin-top: 5px;
}

.filter-header-right {
    width: 75px;
    display: inline-block;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .filter-status-bar {
        top: 68px !important;
    }

    .book-item {
        height: auto;
    }

    .book-item:hover {
        transform: none;
    }

    .book-inner {
        height: auto;
    }

    .book-imgs {
        height: 130px;
        margin-bottom: 10px;
    }

    .book-info-info {
        height: auto;
        min-height: 130px;
        padding-left: 0px;
    }

    .book-intro {
        -webkit-line-clamp: 2;
        height: 32px;
    }

    .book-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-toggle-btn {
        margin-bottom: 5px;
    }

    .main-book-list {
        margin-top: 5px;
    }

    .filter-header-left {
        width: 100%;
        margin-bottom: 10px;
    }

    .book-filter-header {
        flex-direction: column;
    }

    .filter-header-right {
        width: 100%;
    }

    .filter-toggle-btn {
        width: 100%;
    }

    .book-header {
        padding: 15px;
    }

    .book-cover {
        height: 200px;
        margin-bottom: 15px;
    }

    .book-detail-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .book-meta {
        margin-bottom: 8px;
    }

    .meta-label {
        width: 70px;
    }

    .book-content-body {
        padding: 15px;
    }

    .book-meta-simple {
        margin-bottom: 10px;
    }

    .meta-label-simple {
        display: block;
        margin-bottom: 5px;
    }
}

/* 筛选区域自定义样式 */
.filter-item {
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.filter-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.filter-content {
    overflow: hidden;
}

.filter-content .layui-form-checkbox {
    margin-bottom: 5px;
    margin-top: 5px;
}

.filter-bar-content .filter-item {
    display: block;
    margin-right: 15px;
    margin-bottom: 10px;
    vertical-align: middle;
}

/* 隐藏原始的推荐复选框 */
.filter-content .layui-form-checkbox[lay-skin="primary"] {
    display: none;
}

/* 隐藏原始的推荐标题 */
.filter-item:has(input[name="recommend"]) .filter-title {
    display: none;
}

/* 推荐按钮样式 */
.recommend-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    line-height: 38px;
    padding: 0 18px;
    background-color: #f2f2f2;
    color: #666;
    white-space: nowrap;
    text-align: center;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    cursor: pointer !important;
    margin-right: 10px;
    transition: all .3s;
    position: relative;
    z-index: 1050;
    pointer-events: auto !important;
}

.recommend-btn.active {
    background-color: var(--color_1);
    color: #fff;
}

.recommend-btn i {
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    font-size: 22px;
    position: relative;
    top: -1px;
}

/* 筛选按钮区域样式 */
.filter-buttons {
    margin-top: 15px;
    padding-left: 0;
    text-align: left;
    position: relative;
    z-index: 1050;
    pointer-events: auto !important;
}

/* 确保重置按钮样式与提交按钮一致 */
.layui-btn-primary {
    border: 1px solid #e6e6e6;
    background-color: #fff;
    color: #666;
}

.layui-btn-primary:hover {
    border-color: var(--color_1);
    color: var(--color_1);
}

.layui-btn-chongzhi {
    color: #aaa !important;
    background-color: #eee !important;
}

.layui-btn-chongzhi:hover {
    border-color: #ddd;
}

/* 确保重置按钮可点击 */
.book-filter-box .layui-btn {
    position: relative;
    z-index: 1050;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* 筛选状态条样式 */
.filter-status-bar {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 99;
    background: #fff;
    display: none;
    justify-content: center;
    padding: 10px 0;
}

.filter-status-bar.show {
    display: flex;
}

.filter-status-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 15px;
}

.filter-status-content {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
}

.filter-status-text span {
    color: var(--color_1);
    font-weight: bold;
}

/* 内联筛选按钮样式 */
.filter-toggle-inline {
    white-space: nowrap;
    cursor: pointer !important;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    background-color: var(--color_1);
    padding: 2px 5px;
}

.filter-toggle-inline i {
    margin-right: 5px;
}

/* 筛选按钮样式 */
.filter-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color_1);
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.filter-toggle-btn:hover {
    background: var(--color_2);
}

.filter-toggle-btn i {
    margin-right: 5px;
    font-size: 16px;
}

/* 筛选标签样式 */
.filter-tag {
    display: inline-flex;
    align-items: center;
    background: #f2f2f2;
    color: #666;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 5px;
    white-space: nowrap;
}

/* 清除全部按钮样式 */
.filter-tag.clear-all {
    background: #f8f8f8;
    color: #999;
    text-decoration: none;
}

.filter-tag.clear-all:hover {
    background: #f0f0f0;
    color: #666;
}

/* 筛选头部布局优化 */
.book-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.filter-header-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% - 80px);
}

.filter-header-right {
    width: 75px;
    display: flex;
    justify-content: flex-end;
}

/* 筛选分类样式 */
.filter-category {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    white-space: nowrap;
    margin-bottom: 5px;
}

.filter-category-label {
    font-weight: bold;
    margin-right: 5px;
}

.filter-category-values {
    color: var(--color_1);
}

/* 分隔符样式 */
.filter-separator {
    margin: 0 10px;
    color: #ddd;
    display: inline-block;
}

/* 筛选悬浮层动画样式 */
.book-filter-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    overflow-y: auto;
    transition: background 0.3s ease;
}

.book-filter-bar.show {
    display: flex;
}

.book-filter-bar.show-animate {
    background: rgba(0, 0, 0, 0.5);
}

/* 确保筛选悬浮层内容样式正确 */
.book-filter-bar .filter-bar-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    padding-top: 10px;
}

.book-filter-bar.show-animate .filter-bar-content {
    transform: translateY(0);
    opacity: 1;
}

.book-filter-bar .book-filter-box {
    display: block !important;
    padding: 20px;
    border-radius: 8px;
}

/* 添加关闭按钮样式 */
.filter-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer !important;
    z-index: 9999;
    transition: all 0.3s;
    pointer-events: auto !important;
    border: none;
    outline: none;
}

.filter-close-btn:hover {
    background: #e0e0e0;
}

.filter-close-btn i {
    font-size: 18px;
    color: #666;
}

/* 书籍详情页样式 */
.book-detail {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

.book-detail-top {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.book-detail-top:hover .book-images img {
    transform: scale(1.2);
    transition: all 0.5s;
}

.book-images {
    width: 210px;
    height: 230px;
    border-radius: 8px;
    overflow: hidden;
    padding: 5px;
    border: 1px solid #f0f0f0;
    display: inline-block;
}

.book-content-info {
    display: inline-block;
    width: calc(100% - 320px);
    padding: 5px 20px;
}

.book-content-meta {
    display: inline-block;
    width: 90px;
    margin-top: 40px;
}

.book-content-meta .shengyu {
    font-size: 14px;
    padding-left: 5px;
    margin-bottom: 15px;
    color: #acacac;
}

.book-content-meta .shengyu span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 16px;
    color: #d9484850;
}

.book-content-meta .shengyu span b {
    font-weight: normal;
    font-size: 14px;
    vertical-align: 1px;
    margin-left: 2px;
    color: #acacac;
}


.meat-info-button {
    margin-left: 7px;
    font-size: 22px;
    background-image: linear-gradient(-240deg, #00c6ff 0%, #0072ff 51%, #00c6ff 100%);
    width: 80px;
    height: 120px;
    padding: 36px 0;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    text-shadow: 0px 0px 5px #0072ff;
}

.meat-info-button:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}



.meat-info-button-2 {
    background-image: linear-gradient(to right, #232526 0%, #414345 51%, #232526 100%);
    margin-left: 7px;
    font-size: 22px;
    width: 80px;
    height: 120px;
    padding: 32px 0;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.meat-info-button-1 {
    background-image: linear-gradient(120deg, #bdc3c7 0%, #2c3e50 51%, #bdc3c7 100%);
    margin-left: 7px;
    font-size: 22px;
    width: 80px;
    height: 120px;
    padding: 32px 0;
    padding-top: 25px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}

.btn-grad:hover {
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}







.meat-info-button p {
    font-size: 22px;
    line-height: 24px;
}



.book-content-info .title {
    font-size: 16px;
    color: #888;
    position: relative;
    padding-left: 15px;
    padding-top: 8px;
    margin-bottom: 10px;
    vertical-align: bottom;
    color: var(--color_12);
    ;
}

.book-content-info .title span {
    font-size: 24px;
    margin-top: -7px;
    color: #5f6269;
    display: inline-block;
}

.book-content-info .title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 18px;
    position: absolute;
    border-radius: 20px;
    left: 0px;
    top: 10px;
    background: var(--color_12);
    margin-right: 15px;
}

.book-content-info .info {
    color: #888;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 6px;
    padding-top: 5px;
}

.book-content-info .info span {
    font-size: 16px;
    font-weight: bold;
    margin-right: 2px;
    color: var(--color_8);
}

.book-content-info .infos span {
    color: var(--color_4);
    font-weight: normal;
}

.book-content-info .button a {

    display: inline-block;
    margin-top: 20px;
    background-image: linear-gradient(to right, #EB3349 0%, #F45C43 51%, #EB3349 100%);
    padding: 10px 15px;
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;

}

.book-content-info .info-title {
    font-size: 17px;
    color: var(--color_3);
}

.book-content-info .info-title i {
    font-size: 20px;
    margin-top: 1px;
    margin-right: 5px;

}


.book-content-info .button a:hover {
    background-position: right center;
    color: #fff;
    text-decoration: none;
}

.book-images img {
    width: 100%;
    border-radius: 8px;
    height: 100%;
    transition: all 1s;
    object-fit: cover;
}

.book-header {
    padding: 25px;
}

/* 书籍封面样式 */
.book-cover {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    height: 280px;
}

.book-cover:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.book-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.book-cover:hover img {
    transform: scale(1.05);
}

.book-cover .book-recommend {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FF5722;
    color: white;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* 书籍信息样式 */
.book-info {
    padding: 0 10px;
    margin-left: 30px;
}

.book-detail-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.3;
    border-left: 4px solid var(--color_1);
    padding-left: 10px;
}

.book-meta {

    margin-bottom: 12px;

}

.meta-label {
    width: 80px;
    color: #666;
    font-weight: bold;
    flex-shrink: 0;
}

.meta-content {
    flex: 1;
    color: #333;
}

.intro-text {
    line-height: 1.6;
    color: #555;
    max-height: 80px;
    overflow-y: auto;
    padding-right: 5px;
}

/* 自定义滚动条 */
.intro-text::-webkit-scrollbar {
    width: 4px;
}

.intro-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.intro-text::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.intro-text::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* 下载区域样式 */
.book-download {
    margin-top: 15px;
    margin-bottom: 15px;
    width: 100%;
    display: block;
    border-top: 1px solid #f0f0f0;
}

.download-title {

    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 18px;
    padding-top: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.download-title i {
    margin-right: 10px;
    font-size: 26px !important;
    margin-left: 0px;
    color: var(--color_1);
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.download-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 4px !important;
    background-image: linear-gradient(to left bottom, #20adbf, #24b0c1, #27b2c2, #2bb5c4, #2eb8c5);
    box-shadow: 0 0 6px #20adbf50;
    padding-left: 15px !important;
    margin-right: -5px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.download-btn i {
    font-size: 24px;
    line-height: 36px;
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.download-btn:hover::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }

    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* 购买按钮样式 */
.book-purchase {
    margin-top: 20px;
}

.purchase-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 2px 10px !important;
    font-size: 14px !important;
    height: 30px !important;
    line-height: 26px !important;
    border-radius: 6px !important;
    background-image: linear-gradient(to left bottom, #e23143, #e33749, #e33c50, #e44256, #e4475c);
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 6px #e2314350;
}

.purchase-btn i {
    font-size: 18px;
    margin-top: 3px;
}

/* 书籍内容区域样式 */
.book-content-body {
    padding: 20px;
}

.book-content-bodys {
    padding: 0px;
}

.content-body-title {
    font-size: 18px;

    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.content-body-title i {
    margin-right: 8px;
    color: var(--color_1);
}

.content-body {
    line-height: 1.8;
    color: #444;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

/* 一言区域样式 */
.hitokoto-box {
    background-color: #eeeeee;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
    position: relative;
}

.hitokoto-box span {
    position: absolute;
    top: -10px;
    left: 20px;
    background-color: var(--color_1);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.hitokoto-content {
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-top: 5px;
}

/* 标签样式美化 */
.grade-tags,
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* 年级标签颜色 */
.grade-1 {
    background-color: #FF5A87;
}

.grade-2 {
    background-color: #FF8C42;
}

.grade-3 {
    background-color: #FFCA3A;
}

.grade-4 {
    background-color: #8AC926;
}

.grade-5 {
    background-color: #1982C4;
}

.grade-6 {
    background-color: #6A4C93;
}

.grade-7 {
    background-color: #00B4D8;
}

.grade-8 {
    background-color: #F15BB5;
}

.grade-9 {
    background-color: #9B5DE5;
}

/* 科目标签颜色 */
.subject-1 {
    background-color: #ff6b6b;
}

.subject-2 {
    background-color: #4ecdc4;
}

.subject-3 {
    background-color: #45b7d8;
}

.subject-4,
.subject-5,
.subject-6,
.subject-7,
.subject-8,
.subject-9 {
    background-color: #a178df;
}

/* 类型标签颜色 */
.category-1 {
    background-color: #3AAFA9;
}

.category-2 {
    background-color: #5CB85C;
}

/* 简化的书籍元数据样式 */
.book-meta-simple {
    margin-bottom: 15px;
    position: relative;
    display: block;
    width: 100%;
}

.meta-label-simple {
    font-weight: bold;
    color: #666;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 5px;
}

.book-meta-simple .intro-text {
    margin-top: 5px;
    display: block;
}

.home-section {
    width: 100% !important;
    display: inline-block;
}

.main-tilte-home {
    height: auto !important;
    position: relative;
    margin-bottom: -15px;
    margin-top: 15px;
}

.main-tilte-home h1 {
    margin-top: 0 !important;
    padding-left: 30px !important;
    font-size: 40px !important;
}

.main-tilte-home h1 span {
    font-size: 36px !important;
}

.main-tilte-homes {
    margin-bottom: -20px;
}

.main-tilte-home .more-icon {
    position: absolute;
    right: 10px;
    top: 4px;
}

.main-tilte-homes .more-icon {
    top: 12px;
}

.main-title-icon {
    position: absolute;
    top: 15px;
    left: -2px;
    animation: titleMove 6s ease-out infinite;
    z-index: -1;
}

.main-title-icon i {
    font-size: 28px;
    color: #f45074;
}


.motivate-title {
    margin-top: 10px;
    color: var(--color_12);
    font-size: 20px;
    font-weight: bold;
}

.motivate-title i {
    font-size: 26px;
    margin-right: 5px;
    vertical-align: -3px;
}

.date-range-display {
    background-color: var(--color_4);
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    color: #ffffff;
    font-weight: normal;
    margin-top: 15px;
    margin-bottom: 20px !important;
}

.motivate-main {
    margin: 0 -1px;
}

.main-tilte-home .main-top-title h1 {
    margin-top: 20px;
    font-size: 32px !important;
    padding-left: 20px;
    color: var(--color_12);
    font-weight: normal;
    animation: titleMove 6s ease-out infinite;
}

.main-tilte-home .main-top-title h1 span {
    font-size: 26px !important;
    vertical-align: bottom;
}

/* 加载更多按钮样式 */
.load-more {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: var(--color_1);
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: var(--color_2);
}

.load-more-btn i {
    margin-right: 8px;
    font-size: 20px;
}

.load-more-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.load-more-btn.loading i {
    animation: rotating 1s linear infinite;
}

@keyframes rotating {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

footer {
    width: 100%;
    background-color: #fff;
    -webkit-box-shadow: 4px 0 2px #00000018, 4px 0 3px #0000001a inset;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    color: var(--shense);
    font-size: 14px;

}

.access-main {
    margin: 50px 30px;
}

.access-denied-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.access-denied-icon {
    font-size: 60px;
    color: #ff4d4f;
    margin-bottom: 10px;
}

.access-denied-title {
    font-size: 22px;
    color: #333;

}

.access-denied-message {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    margin-top: 15px;
}

.countdown {
    font-size: 20px;
    color: #1890ff;
    font-weight: bold;
    vertical-align: -2px;
    margin: 0 5px;
}

.return-btn {
    margin-top: 20px;
}

.motivate-item {
    text-align: center;
}

.motivate-check {
    margin-top: 20px;
}

.tijiaoan {
    margin-left: 0 !important;
}

.list-name-main .layui-card {
    border: 1px solid #1dacbd50;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 6px #1dacbd10;
    transition: all 1s ease;
}

.list-name-main .layui-card:hover {
    box-shadow: 0 0 6px #1dacbd80;
    transition: all .5s ease;
}

#yesterdayBtn {
    border-radius: 3px;
}

.name-main-ll .list-name-body .layui-card-header {
    background-color: #1dacbd20;
    color: #1dacbd;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #1dacbd50;
}

/* 截图开始 */
.html2canvas-style {
    background-color: #18171c;
    width: 760px;
    position: fixed;
    top: -9999999999999px;
    z-index: 99999;
    padding: 15px;
}

.html2canvas-style-body {
    background-color: #38393e;
    border-radius: 18px;
    padding: 0 10px;
    padding-bottom: 10px;
}

.html2canvas-img {
    width: 50px;
    height: 50px;
    display: inline-block;

}

.html2canvas-img img {
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.html2canvas-content {
    display: inline-block;
    margin-left: 10px;
    color: #fff;
    padding: 20px 15px;
}

.html2canvas-content-url {
    position: absolute;
    right: 35px;
    top: 0px;
    color: #8d8e93;
    font-size: 10px;
}

.html2canvas-content-time {
    background-color: #4e4e56;
    padding: 5px 15px;
    color: #909092;
    border-radius: 20px;
    font-size: 14px;
}


.wish-main {
    margin-top: 10px !important;
}

.wish-body {
    width: 100%;
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;

}

.wish-body .wish-img {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.wish-title {
    position: absolute;
    top: 35px;
    left: 0px;
    text-align: center;
    width: 100%;
    z-index: 1;
    color: var(--color_7);
    font-size: 28px;
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;


}

.wish-title span {
    display: inline-block;
}

.wish-help {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
    text-shadow:
        -1px -1px 0 #8AC92650,
        1px -1px 0 #8AC92650,
        -1px 1px 0 #8AC92650,
        1px 1px 0 #8AC92650;
}

.wish-title span:nth-child(1) {
    color: var(--color_4);
}

.wish-title span:nth-child(2) {
    color: var(--color_5);
}

.wish-title span:nth-child(3) {
    color: var(--color_8);
}

.wish-title span:nth-child(4) {
    display: block;
    margin-top: 35px;
    font-size: 18px;
    animation: bx-fade-down-with-delay 6s infinite;
}

@keyframes bx-fade-down-with-delay {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }

    5% {
        opacity: 1;
        transform: translateY(0);
    }

    95% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

.text-center {
    text-align: center !important;
}

.text-hide {
    white-space: nowrap !important;
    /* 文本不换行 */
    overflow: hidden !important;
    /* 溢出内容隐藏 */
    text-overflow: ellipsis !important;
    /* 溢出部分用省略号表示 */
}

.wish-my {
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -65px;
    width: 130px;
    height: 50px;
    text-align: center;
    border-radius: 8px;
    z-index: 2;
    background-color: var(--color_1);
    line-height: 50px;
    color: #fff;
    transition: all .5s;
    cursor: pointer;
    background: #ed213a;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #ed213a, #93291e);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #ed213a, #93291e);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.wish-my:hover {

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.infolr-body {
    margin-top: 20px;
    padding: 0 20px !important;
    padding-top: 5px !important;
    height: 350px !important;
    margin-bottom: -20px;
}

.infolr-bodyimg {

    padding: 0 20px !important;
    padding-top: 20px !important;

}

.infolr-body .layui-tab {
    padding-top: 5px !important;
}

.infolr-body .layui-tab-brief {
    margin: 0;
}

.infolr-body .infop {
    margin-top: 8px;
    font-size: 12px;
    color: var(--color_1);
    text-align: center;
}

.infolr-body-img {
    padding: 20px !important;
}

.infolr-body .infop span {
    vertical-align: -3px;
    margin-right: 3px;
    font-size: 14px;
}

.infolr-body .layui-tab-content {
    padding: 0;
    margin: 0;
}

.pagination-container .layui-laypage-default {
    margin: 0;

}

/* 捐赠功能样式 */
.wish-my.disabled {
    background-color: #999;
    cursor: not-allowed;
}

.donation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.donation-form {
    background-color: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    width: 80%;
    max-width: 300px;
}

.donation-form .layui-form-item {
    margin-bottom: 5px !important;
}

.donation-form h3 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--color_12);
}

.donation-form .layui-input {
    line-height: 30px !important;
    height: 30px !important;
}

.donation-form .score-btn {
    font-size: 18px;
    line-height: normal;
}

.donation-form .score-input-group {
    margin-top: 10px;
    margin-bottom: 10px;
}

.donation-form .score-btn.max {
    font-size: 14px;
    line-height: normal;
}

.score-input-group {
    display: flex;
    align-items: center;
}

.donation-score {
    width: 80px !important;
    text-align: center;
    margin: 0 5px;
}

.score-btn {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    cursor: pointer;
    border-radius: 4px;
}

.score-btn.max {
    width: 40px;
    margin-left: 5px;
}



.no-data {
    text-align: center;
    padding: 20px 0;
    color: #999;
}

.layui-tab-title {
    border-bottom-color: var(--color_12);
}

.layui-tab-brief>.layui-tab-title .layui-this {
    color: var(--color_12);
}

.layui-tab-brief>.layui-tab-more li.layui-this:after,
.layui-tab-brief>.layui-tab-title .layui-this:after {
    border-bottom-color: var(--color_12);
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #666;
    height: 100vh !important;
}

.loading-indicator i {
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.retry-button {
    text-align: center;
    padding: 20px;
}

.layui-layer-transparent {
    border-radius: 8px !important;
    overflow: hidden;
}

.layui-layer-transparent .layui-layer-content {
    opacity: .5;
    padding: 20px;
    max-width: 300px;
}

.wish-icon {
    text-align: center;
    padding-top: 15px;
}

.wish-icon a {
    display: inline-block;
    width: calc(50% - 10px);
    text-align: center;
    box-shadow: inset 0px 1px 0px 0px #d9fbbe;
    background: linear-gradient(to bottom, #b8e356 5%, #a5cc52 100%);
    background-color: #b8e356;
    border-radius: 6px;
    line-height: 45px;
    font-size: 16px;
    text-shadow: 0px 1px 0px #86ae47;
    border: 1px solid #83c41a;
    color: #fff;
    margin-left: 5px;
}

.wish-icon a.shop {
    box-shadow: inset 0px 1px 0px 0px #fff6af;
    background: linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    background-color: #ffec64;
    text-shadow: 0px 1px 0px #810e05;
    border: 1px solid #ffaa22;
    margin-left: 0;
    margin-right: 5px;
}

.wish-icon a i {
    font-size: 20px;
    line-height: 45px;
    margin-right: 5px;
}

.wish-icon a:hover {
    opacity: .8;
}

.movtivate-task {
    margin-top: 40px;
}

.movtivate-task .title {
    font-size: 20px;
    position: relative;
    padding-left: 20px;
    margin-bottom: 20px;
    margin-top: 5px;
}

.task-list-title {
    font-size: 16px;
    margin-top: 10px;
    padding: 0 10px;
}

.movtivate-task .title p span {
    font-size: 16px;
    vertical-align: bottom;
    color: #45b7d8;
}

.movtivate-task .title::before {
    content: '';

    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: #ff6b6b;
    position: absolute;
    top: 3px;
    left: 0;
}

.movtivate-task .task-list-img {
    position: relative;
}

.movtivate-task .task-list-img .task-list-img-tap {
    position: absolute;
    top: -55px;
    right: 5px;
    background-color: #ff6b6b;
    color: white;
    padding: 15px 12px;
    border-radius: 50%;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: bubble-shake 1.5s infinite;
    /* 椭圆形气泡样式 */
    min-width: 80px;
    text-align: center;
}

/* 添加气泡尖角 */
.movtivate-task .task-list-img .task-list-img-tap:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 17px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 20px solid #ff6b6b;
    transform-origin: center top;
    transform: rotate(30deg);
}

.movtivate-task .task-list-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.task-title {
    font-size: 18px;
    font-weight: normal;
}

.task-title::after {
    width: 220px;
}

.task-title i {
    vertical-align: -3px;
}

.task-title span {
    font-size: 14px;
    vertical-align: bottom;
    color: #1E9FFF;
    margin-left: 2px;
}

/* 气泡晃动动画 - 模拟晃脑袋效果 */
@keyframes bubble-shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(5deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.view-instruction-btn {
    text-indent: 0;
}

.view-instruction-btn .info-icons {
    display: inline-block;
    text-indent: 0;
    background-color: #29b7cb;
    padding: 2px 10px;
    color: #fff;
    font-size: 14px !important;
    margin:5px auto 20px auto;
    cursor: pointer;

}

.view-instruction-btn i {
    vertical-align: -2px;
    font-size: 17px;
    margin-right: 5px;
}

.instruction-content {
    background-color: #29b7cb20;
    margin-bottom: 5px;
    padding: 2px 8px;
    text-indent: 0;
    font-size: 14px;
    color: #0a91a2;
    font-weight: normal;
}

.loading-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.3s ease-out;
}

.loading-text {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    background: rgba(230, 230, 230, 0.9);
}

/* 增强版光晕效果 */
.loading-text::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    /* 起始位置更靠左，让光晕从更远的地方开始 */
    width: 300%;
    /* 更宽的光晕 */
    height: 200%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            /* 更高的透明度，让光晕更亮 */
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(20deg);
    /* 调整角度，让光晕更水平 */
    animation: shine 1.5s infinite linear;
    /* 加快动画速度 */
}

@keyframes shine {
    0% {
        transform: rotate(20deg) translate(-100%, -100%);
    }

    100% {
        transform: rotate(20deg) translate(100%, 100%);
    }
}

/* 淡出效果 */
.fade-out {
    opacity: 0;
}

.mypoints-button-icon {
    width: 100%;
    margin-top: 15px;
    display: inline-block;

    border: 1px solid var(--color_14);
    box-shadow: 0 0 8px #00000010;
    border-radius: 8px;
    padding: 5px;
    text-shadow: 0 0 4px #000000;
    text-align: center;
    color: white;
    border-radius: 10px;
    font-size: 18px !important;
    cursor: pointer;

    /* 更宽的渐变范围，使过渡更平滑 */
    background: linear-gradient(45deg,
            #7b4397 0%,
            #dc2430 25%,
            #7b4397 50%,
            #dc2430 75%,
            #7b4397 100%);
    background-size: 800% 800%;
    /* 增大背景尺寸 */

    /* 动画 */
    animation: gradientShift 5s ease infinite;
    /* 延长动画时间，使过渡更平滑 */
}

@keyframes gradientShift {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.mypoints-button-icon p {
    border: 2px dashed #fff;
    width: 100%;
    border-radius: 8px;
    line-height: 48px;
}

.layui-table-main {
    min-height: 200px !important;
}

/*幻灯片*/
.main-body-huandeng {
    background-color: var(--color_11);
    border: 1px solid var(--color_14);
    box-shadow: 0 0 8px #00000010;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 15px;
}

.huandengpid {
    padding: 8px;
}

.main-body-huandeng img {
    width: 100%;
    height: 262px;
    border-radius: 8px;
    object-fit: cover;
}

.main-body-huandeng h1 {
    font-size: 18px;
    color: var(--color_12);
}

.main-body-huandeng h1::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--color_12);
    box-shadow: 0 0px 5px var(--color_12);
    border-radius: 8px;
    margin-right: 10px;
    vertical-align: -3px;
}

.main-body-huandeng ul li {
    line-height: 30px;
    border-bottom: 1px dashed var(--color_14);
}

.main-body-huandeng ul li span {
    background-color: var(--color_14);
    color: #44617e;
    font-size: 14px;
    padding: 0px 5px;
    border-radius: 4px;
    margin-right: 5px;
}

.gonggaolist-home .content {
    line-height: 20px;
    overflow: hidden;
    /* 隐藏超出内容 */
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
    display: -webkit-box;
    /* 弹性盒子模型（Webkit内核） */
    -webkit-box-orient: vertical;
    /* 垂直排列 */
    -webkit-line-clamp: 3;
    /* 限制最多显示3行 */
    word-wrap: break-word;
    /* 允许长单词换行 */
    color: #8d8e93;
    text-indent: 2em;
    margin-top: 10px;
    margin-bottom: 7px;
}

.gonggaolist-home .infoo {
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--color_14);
    padding-bottom: 5px;
}

.gonggaolist-home .infoo a {
    float: right;
    max-width: calc(100% - 90px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #e44256;
}

.gonggaolist-home .infoo a i {
    vertical-align: -1px;
    margin-right: 5px;
    font-size: 16px;
}

.gonggaolist-home .infoo span {
    width: 80px;
    background-color: #f4f4f4;
    padding: 1px 5px;
    border-radius: 5px;
    color: #aaa;
    font-size: 12px;
}