:root {
    --ui-theme-color: #9caf88;
    --ui-theme-button: #b2bfa3;
    --ui-font-title: #ffffff;
    --ui-font-des: #666666;
    --ui-color-bg: #dce4d2;
    --ui-color-header: #000000;
    --ui-color-bg2: #efefef;
}



html, input, button, select, textarea {
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Microsoft JhengHei", Arial, Verdana, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.sage-5;
    font-weight: bold;
}


body {
    font-family: -apple-system, system-ui, BlinkMacSystemFont, arial, Segoe UI, Roboto, Hiragino Sans GB, STHeiti, Microsoft YaHei, Helvetica Neue, Helvetica, SimSun, Tahoma, sans-serif, Apple Color Emoji;
    font-size: 14px;
    background: var(--ui-color-bg);
}

body, ul, h1, h2, h3, h4, h5, dl, dd, form, p {
    margin: 0;
    padding: 0;
}

.sage-clear {
    clear: both;
}

input {
    outline: none;
}

li {
    list-style: none;
}

a {
    color: var(--ui-font-title);
    text-decoration: none;
}

a:hover {
    color: var(--ui-font-title);
}

img {
    border: none;
}

.sage-mt{
    margin-top: 30px;
}

header,main,footer{
    max-width: 720px;
    margin: auto;
    padding: 0 15px;
}


header .sage-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 75px;
    height: 75px;

}
header .sage-top .sage-logo{
    display: flex;
}
header .sage-top .sage-logo img{
    max-height: 75px;
}
header .sage-top .sage-logo a{
    display: flex;
}


header .sage-top .sage-search{
    border: 2px solid var(--ui-theme-color);
    height: 40px;
    border-radius: 22px;
    text-align: center;
    width: 250px;
    position: relative;
}

header .sage-top .sage-search .sage-shuru{
    color: var(--ui-font-title);
    display: block;
    border: 0;
    background: transparent none repeat 0 0 / auto auto padding-box border-box scroll;
    background: initial;
    background: unset;
    height: 40px;
    outline: 0;
    line-height: 40px;
    padding-left: 20px;
}
header .sage-top .sage-search svg {
    width: 20px;
    fill: var(--ui-theme-color);
    position: absolute;
    top: 11px;
    right: 68px;
}
header .sage-top .sage-search .sage-tijiao{
    position: absolute;
    right: 2px;
    top: 2px;
    width: 60px;
    height: 36px;
    border: 0;
    background: var(--ui-theme-color);
    border-radius: 20px;
    color: var(--ui-color-header);
    font-size: 16px;
    outline: 0;
    cursor: pointer;
}

header .sage-menu {
    display: flex;
    white-space: nowrap;
    width: auto;
    overflow-x: auto;
    gap: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 30px;
}
header .sage-menu::-webkit-scrollbar {
    display: none;
}

header .sage-menu li a{
    width: 80px;
    height: 36px;
    background: var(--ui-font-des);
    flex: 0 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
}


h1{
    display: flex;
    margin: 0 0 20px 0;
    color: var(--ui-font-title);
}


ul.sage-list{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

}
ul.sage-list li{
    width: calc((100% - 30px) / 3);
}
ul.sage-list li a:first-child{
    position: relative;
}
ul.sage-list li a:first-child span{
    position: absolute;
    bottom: 0;
    display: flex;
    height: 30px;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.sage-7) 100%);
    width:calc(100% - 10px);
    padding-right: 10px;
    justify-content: flex-end;
    font-weight: normal;
}
ul.sage-list li img{
    width: 100%;
    aspect-ratio: 71 / 100;
    border-radius: 8px;
}
ul.sage-list li h3{
    font-size: 14px;
    word-wrap: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
ul.sage-list li a:nth-child(2) span{
    font-size: 14px;
    word-wrap: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    display: block;
    color: var(--ui-font-des);

}

footer{
    padding: 20px 0;
}
footer ul {
    flex-wrap: wrap; /* 允许换行 */
    gap: 15px; /* 设置 li 之间的间距 */
    list-style: none; /* 移除默认的列表样式（小圆点） */
    padding: 0; /* 移除默认内边距 */
    margin: 0; /* 移除默认外边距 */
    justify-content: center; /* 水平居中对齐 */
    color: var(--ui-font-title);
}

footer ul li {
    align-items: center; /* 垂直居中对齐 */
    justify-content: center; /* 水平居中对齐 */
    display: inline-block;
}

footer ul li a{
    padding-right: 10px;
}

.sage-footer{
     padding-top: 30px;
    color: var(--ui-font-des);
    text-align: center;
    font-weight: normal;
}

.sage-pages{
    text-align: center;
    padding-top: 30px;
    font-weight: normal;
}
.sage-page_link{
    display: inline-block;
    margin: 0 5px;
}
.sage-page_current{
    background-color: var(--ui-theme-color);
    color: var(--ui-font-title);
    padding: 0 10px;
    border-radius: 5px;
}

#sage-bofang_box{
    height: 60vw;
    max-height: 400px;
    max-width: 720px;
    margin: auto;
}

.sage-tab_box{
    color: var(--ui-font-title);
}

.sage-title{
    padding-top: 20px;
}

.sage-video_list{
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    width: 100%;
    padding: 20px 0;
    gap: 10px;
    font-weight: normal;
}
@media (max-width: 480px){
    .sage-video_list{
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 420px){
    .sage-video_list{
        grid-template-columns: repeat(6, 1fr);
    }
}

@media (max-width: 375px){
    .sage-video_list{
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 320px){
    .sage-video_list{
        grid-template-columns: repeat(4, 1fr);
    }
}


.sage-video_list a{
    display: flex;
    padding: 5px 0;
    justify-content: center;
    background: var(--ui-font-des);
    color: var(--ui-font-title);
    border-radius: 5px;
}
.sage-video_list a.sage-cur{
    background: var(--ui-theme-color);
}

#sage-juqing dl{
    display: flex;
    font-weight: normal;
    color: var(--ui-font-des);
}
.sage-tjuqing{
    font-weight: normal;
    color: var(--ui-font-des);
}

.sage-box h1{
    padding-top: 30px;
}














