/*侧边卡片的透明度 */
:root {
  --card-bg: rgba(255, 255, 255, 0.8);
}

[data-theme="dark"] {
  --card-bg: rgba(255, 255, 255, 0.2);
}

:root {
    --daliyuer-card-bg: #fff;
    --daliyuer-border: #e3e3e3;
    --font-bg: #fff;
    --font-color: #4c4948;
    --daliyuer-bd-rd: 6px;
}
[data-theme='dark'] {
    --font-bg: #0d0d0d;
    --daliyuer-border: #e3e3e3;
    --font-color: rgba(255, 255, 255, 0.7);
	--daliyuer-card-bg: #1b1c20;
}


/* 自定义底部  start */
#ft {
    max-width: 1200px;
    margin: 0 auto 12px;
    display: flex;
    color: rgb(255 255 255 / 80%) !important;
    text-align: left;
    flex-wrap: wrap;
}

.ft-item-1,
.ft-item-2 {
    display: flex;
    height: 100%;
    padding: 10px 14px;
}

.ft-item-1 {
    flex-direction: column;
    flex: 2;
}

.ft-item-2 {
    flex: 1;
    flex-direction: column;
}

.t-top {
    display: flex;
}

.t-top .t-t-l {
    display: flex;
    flex-direction: column;
    flex: 1.4;
    margin-right: 10px;
}

.t-top .t-t-l .bg-ad {
    width: 85%;
    border-radius: 10px;
    padding: 0 10px;
}

.btn-xz-box {
    margin-top: 10px;
}

.btn-xz {
    display: block;
    background-color: var(--btn-bg);
    color: var(--btn-color);
    text-align: center;
    line-height: 2.4;
    margin: 8px 0;
    cursor: pointer !important;
}

.btn-xz:hover {
    text-decoration: none !important;

}

.btn-xz-box:hover .btn-xz {
    background-color: #6f42c1;
}

.t-top .t-t-r {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ft-links {
    padding: 0 14px;
    list-style: none;
    margin-top: 0 !important;
}

.ft-links li a {
    display: inline-block !important;
    width: 50%;
    cursor: pointer !important;
}

.ft-links li a:hover {
    text-decoration: none !important;
    color: #6f42c1 !important;
}

.ft-item-2 .ft-img-group {
    width: 100%;
}

.ft-t {
    font-size: 0.8rem;
    margin-bottom: 20px;
    line-height: 1;
    font-weight: 600;
}

.t-l-t {
    padding-left: 14px;
}

.ft-item-2 .ft-img-group .img-group-item {
    display: inline-block;
    width: 18.4%;
    margin-right: 14px;
    margin-bottom: 6px;
}

.ft-item-2 .ft-img-group .img-group-item a {
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer !important;
}

.ft-item-2 .ft-img-group .img-group-item a img {
    width: 100%;
    max-height: 80px;
}

@media screen and (max-width: 768px) {

    .ft-item-1 {
        flex-basis: 100% !important;
    }

    .ft-item-2 {
        flex-basis: 100% !important;
    }

    .t-top .t-t-l .bg-ad {
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .t-top {
        flex-wrap: wrap;
    }

    .t-top .t-t-l {
        flex-basis: 100% !important;

    }

    .t-top .t-t-r {
        margin-top: 16px;
        flex-basis: 100% !important;
    }
}
/* 自定义底部  End */

/* ===== 通用毛玻璃基础样式 ===== */
.card-widget {
    background: linear-gradient(-45deg, rgba(225, 235, 255, 0.6), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.6)) !important;
}

/* 个人信息Follow me按钮 */
#aside-content>.card-widget.card-info>#card-info-btn {
    background-color: #1930c2f8;
    border-radius: 8px;
}

/* ===== 动画定义 ===== */
@keyframes Gradient {
    0% {
        background-position: 0% 50%;
    }

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

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

/* ===== 暗夜模式适配 ===== */
[data-theme="dark"] .card-widget {
    background: linear-gradient(-45deg,
                rgba(24, 40, 72, 0.2),
                rgba(35, 37, 58, 0.9),
                rgba(35, 37, 58, 0.9),
                rgba(24, 40, 72, 0.2)) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/*导航栏*/
.nav-fixed>#nav {
    background: linear-gradient(-45deg, rgba(225, 235, 255, 0.6), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.6)) !important;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .nav-fixed>#nav {
        background: linear-gradient(-45deg,
                    rgba(24, 40, 72, 0.2),
                    rgba(35, 37, 58, 0.9),
                    rgba(35, 37, 58, 0.9),
                    rgba(24, 40, 72, 0.2)) !important;
    backdrop-filter: blur(10px);
}

/*文章页面*/
.layout>#post {
    background: linear-gradient(-45deg, rgba(225, 235, 255, 0.6), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.6)) !important;
}

[data-theme=dark] .layout>#post {
    background: linear-gradient(-45deg,
                rgba(24, 40, 72, 0.2),
                rgba(35, 37, 58, 0.9),
                rgba(35, 37, 58, 0.9),
                rgba(24, 40, 72, 0.2)) !important;
}

/*主页文章轮播页面*/
#recent-posts>.recent-post-item {
    background: linear-gradient(-45deg, rgba(225, 235, 255, 0.6), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.6)) !important;
}

[data-theme=dark] #recent-posts>.recent-post-item {
    background: linear-gradient(-45deg,
            rgba(24, 40, 72, 0.2),
            rgba(35, 37, 58, 0.9),
            rgba(35, 37, 58, 0.9),
            rgba(24, 40, 72, 0.2))!important;
}

/*主页文章列表页面卡片*/
#recent-posts>.recent-post-items .recent-post-item {
    background: linear-gradient(-45deg, rgba(225, 235, 255, 0.6), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.9), rgba(225, 235, 255, 0.6)) !important;
}

[data-theme=dark] #recent-posts>.recent-post-items .recent-post-item {
    background: linear-gradient(-45deg,
                rgba(24, 40, 72, 0.2),
                rgba(35, 37, 58, 0.9),
                rgba(35, 37, 58, 0.9),
                rgba(24, 40, 72, 0.2)) !important;
}

/*分类页面*/
.layout>#page {
    background: linear-gradient(-45deg, #c1e2ffdd, #b6e0ffdd, #a9c9ffdd, #b3d4ffdd);
}

[data-theme=dark] .layout>#page {
    background: rgba(93, 175, 239, 0.7) !important;
}

/*归档页面*/
.layout>#archive {
    background: linear-gradient(-45deg, #c1e2ffdd, #b6e0ffdd, #a9c9ffdd, #b3d4ffdd) !important;
}

[data-theme=dark] .layout>#archive {
    background: rgba(93, 175, 239, 0.7) !important;
}

/*分类点进去的页面*/
.layout>#category {
    background: linear-gradient(-45deg, #c1e2ffdd, #b6e0ffdd, #a9c9ffdd, #b3d4ffdd) !important;
}

[data-theme=dark] .layout>#category {
    background: rgba(93, 175, 239, 0.7) !important;
}

/*标签点进去的页面*/
.layout>#tag {
    background: linear-gradient(-45deg, #c1e2ffdd, #b6e0ffdd, #a9c9ffdd, #b3d4ffdd) !important;
}

[data-theme=dark] .layout>#tag {
    background: rgba(93, 175, 239, 0.7) !important;
}

.layout.hide-aside {
    max-width: 1600px;
}

/* 设置黑夜的时候，社交按钮为白色 */
[data-theme=dark] .social-icon i {
    color: rgba(188, 188, 188) !important;
    /* 设置为白色 */
}