#recent-posts > .recent-post-item,
#aside-content .card-widget,
div#post,
div#page,
div#archive {
    background: rgba(255, 255, 255, 0.9); /* 轻微透明 */
    backdrop-filter: blur(2px) saturate(120%); /* 轻微毛玻璃 */
}

/* 首页文章卡片 */
#recent-posts > .recent-post-item {
    border-radius: 25px;
}

/* 首页侧栏卡片 */
#aside-content .card-widget {
    border-radius: 18px;
}

/* 文章页、归档页、普通页面 */
div#post,
div#page,
div#archive {
    border-radius: 20px;
}

/* 夜间模式遮罩 */
[data-theme="dark"] #recent-posts > .recent-post-item,
[data-theme="dark"] #aside-content .card-widget,
[data-theme="dark"] div#post,
[data-theme="dark"] div#archive,
[data-theme="dark"] div#page {
    background: rgba(25, 25, 25, 0.85);
    backdrop-filter: blur(2px) saturate(120%);
    border: 1px solid rgb(169, 169, 169);
}

/* 阅读模式 */
.read-mode div#post,
.read-mode #aside-content .card-widget {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(2px) saturate(120%) !important;
}

/* 夜间模式下的阅读模式 */
[data-theme="dark"] .read-mode #aside-content .card-widget,
[data-theme="dark"] .read-mode div#post {
    background: rgba(25, 25, 25, 0.85) !important;
    backdrop-filter: blur(2px) saturate(120%) !important;
    color: #ffffff;
}


/**/
/**/
/**/
/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background-color: rgba(73, 177, 245, 0.2);
    border-radius: 2em;
}

::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    background-image: -webkit-linear-gradient(
            45deg,
            rgb(33, 133, 173) 25%,
            transparent 25%,
            transparent 50%,
            rgb(33, 133, 173) 50%,
            rgb(33, 133, 173) 75%,
            transparent 75%,
            transparent
    );
    border-radius: 2em;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}

::-moz-selection {
    color: #fff;
    background-color: var(--theme-color);
}

/**/
/**/
/**/
/*导航栏居中*/
#nav .menus_items {
    position: absolute !important;
    width: fit-content !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

@font-face {
    font-family: 'ZhuZiAWan2';
    src: url('https://sourcebucket.s3.bitiful.net/fonts/ZhuZiAWan2.woff2');
}
#footer {
    background-color: rgba(0,0,0,0)!important;
}

/* 锚点链接滚动偏移 */
/* 使锚点链接滚动时顶部留出空间，避免被导航栏遮挡 */
[id] {
  scroll-margin-top: 80px;
}
