#loading{position:fixed;width:100%;height:100%;background-color:#fff;z-index:999}.boxLoading{width:50px;height:50px;margin:auto;position:absolute;left:0;right:0;top:0;bottom:0}.boxLoading:before{content:'';width:50px;height:5px;background:#000;opacity:.1;position:absolute;top:59px;left:0;border-radius:50%;animation:shadow .5s linear infinite}.boxLoading:after{content:'';width:50px;height:50px;background:#ffe211;animation:animate .5s linear infinite;position:absolute;top:0;left:0;border-radius:3px}@keyframes animate{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scale(1,0.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}100%{transform:translateY(0) rotate(90deg)}}@keyframes shadow{0%,100%{transform:scale(1,1)}50%{transform:scale(1.2,1)}}

/*屏蔽广告和公告*/
.c_ad_block { display: none !important;} 
#sidebar_c3 { display: none !important; } 
#custom-calendar { display: none !important; } 
#cnblogs_ch { display: none !important;} 

/**/

/* 隐藏邮箱链接 */
.account-button.email a {
    display: none !important;
}

/* 隐藏消息通知 */
.account-button-notice {
    display: none !important;
}

/* 隐藏统计数据列表 */
.account-button.stats {
    display: none !important;
}

/**/

/* 隐藏原有按钮 */
.profile-menu a {
    display: none !important;
}

/* 公告容器样式 */
.profile-menu {
    position: relative;
    overflow: hidden !important;
    display: flex !important;
    align-items: center;
    padding: 8px 12px !important;
    min-height: 40px;
    white-space: nowrap;
}


/* 创建公告内容 */
.profile-menu::after {
    content: "🚀 欢迎访问我的博客！这里分享技术心得和学习笔记~ 🎉感谢您对《明日方舟》的关注与支持，《明日方舟》主题曲【反常光谱】开放，限时纪念活动开启。更多活动内容请持续关注《明日方舟》游戏内公告及官方公告。";
    display: inline-block;
    padding-left: 100%; /* 从右侧开始 */
    animation: smoothScroll 20s linear infinite;
    color: #378585; 
    font-weight: bold;
    font-weight: 500;
    font-family: "Microsoft YaHei", sans-serif;
}

/* 引入站酷字体 */
@import url('https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap');

.profile-menu::after {
    /* 其他样式保持不变 */
    font-family: 'Ma Shan Zheng', cursive, sans-serif !important;}


@keyframes smoothScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/**/

/*隐藏左侧部分按钮*/
#cnblog-nav a:nth-child(3),
#cnblog-nav a:nth-child(4) {
    display: none !important;
}
#cnblog-nav a:nth-child(1) {
    display: none !important;
}


/* 用图片替换首页图标 */
#cnblog-nav a:nth-child(2) .fa-home::before {
    content: "" !important;
    background-image: url('https://img.remit.ee/api/file/BQACAgUAAyEGAASHRsPbAAEDTqNo6jBz3VCU66WAi-MSYIzI5QFA_AACBiEAAtUQUVcOBJGIW-WsEzYE.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* 用图片替换联系图标 */
#cnblog-nav a:nth-child(5) .fa-envelope::before {
    content: "" !important;
    background-image: url('https://img.remit.ee/api/file/BQACAgUAAyEGAASHRsPbAAEDT-Jo6l8eGVGmvExHWbhBwrcjoDr1uwACqyIAAtUQUVcYP_cNetn0UjYE.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* 用图片替换订阅图标 */
#cnblog-nav a:nth-child(6) .fa-rss::before {
    content: "" !important;
    background-image: url('https://img.remit.ee/api/file/BQACAgUAAyEGAASHRsPbAAEDT-Ro6l8gdJCXxFrzjSMAAXb627wuLKEAAq0iAALVEFFXVY6jr6F_Jok2BA.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
}

/* 用图片替换管理图标 */
#cnblog-nav a:nth-child(7) .fa-cog::before {
    content: "" !important;
    background-image: url('https://img.remit.ee/api/file/BQACAgUAAyEGAASHRsPbAAEDT-No6l8edA7V4YxGBLeEWRtGCNaIwAACrCIAAtUQUVf9iFp9he3iKzYE.png') !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
}

/**/

/* 隐藏所有原有页脚内容 */
#footer > * {
    display: none !important;
}

/* 添加完整的自定义页脚 */
#footer::before {
    content: "Matsukiri © 2025" !important;
    display: block !important;
    text-align: center !important;
    color: var(--geek-color-9) !important;
    font-size: 13px !important;
    padding: 10px 0 !important;
}

/**/

/* 最佳方案：完全隐藏但保留位置 */
.custom-card-actions a:first-of-type {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 75.6px !important; /* 保持原有宽度 */
    height: 32px !important; /* 保持原有高度 */
}