/* 页脚容器完全透明 */
#footer {
  background: transparent !important;
}

/* 清除白天模式页脚遮罩层 */
#footer::before {
  background: transparent !important;
}

/* 清除夜间模式页脚遮罩层 */
[data-theme="dark"] #footer::before {
  background: transparent !important;
}
#footer::before {
  background: rgba(0,0,0,0.08) !important;
}
[data-theme="dark"] #footer::before {
  background: rgba(255,255,255,0.06) !important;
}

/*流星特效*/
#universe { 
  display: block;
  position: fixed;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 页脚与头图透明 */
#footer {
  background: transparent !important;
}
#page-header {
  background: transparent !important;
}

/* 白天模式遮罩透明 */
#footer::before {
  background: transparent !important;
}
#page-header::before {
  background: transparent !important;
}

/* 夜间模式遮罩透明 */
[data-theme="dark"] #footer::before {
  background: transparent !important;
}
[data-theme="dark"] #page-header::before {
  background: transparent !important;
}

.loading-img {
    background: url(https://cdn.jsdmirror.com/gh/sxr1023/BlogImage/img/avatar.webp) no-repeat center center;
    background-size: cover;
}

/*rightside*/
#readmode,
#translateLink,
#darkmode,
#hide-aside-btn,
#rightside-config,
#to_comment,
#go-down,
#mobile-toc-button,
#go-up,
.icon-V.hidden{
    background: rgb(70, 218, 205) !important;
}
[data-theme="dark"] #readmode,
[data-theme="dark"] #translateLink,
[data-theme="dark"] #darkmode,
[data-theme="dark"] #hide-aside-btn,
[data-theme="dark"] #rightside-config,
[data-theme="dark"] #to_comment,
[data-theme="dark"] #mobile-toc-button,
[data-theme="dark"] #go-down,
[data-theme="dark"] #go-up,
[data-theme="dark"] .icon-V.hidden {
    background: rgb(14, 107, 137) !important;
}
.search-dialog {
  background: rgba(160, 205, 220, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="dark"] .search-dialog {
  background: rgba(40, 70, 80, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.local-search-box--input, .ais-SearchBox-input {
  background: rgb(155, 218, 210) !important;
}
[data-theme="dark"] .local-search-box--input,
[data-theme="dark"] .ais-SearchBox-input {
  background: rgb(50, 90, 110) !important;
}

/* 返回顶部 */
button#go-up #percent {
    display: none;
    /*font-weight: bold;*/
    font-size: 16px !important;
}

/* 鼠标滑动到按钮上时显示返回顶部图标 */
button#go-up:hover i {
    display: block !important;
}

button#go-up:hover #percent {
    display: none !important;
}
#rightside > div > button,
#rightside > div > a {
    border-radius: 50%;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    justify-content: center;
}

.swiper-slide.history_slide {
    display: flex;
    flex-direction:column !important;
}
.history_slide {
    text-align:left;
    font-size: 16px;
    background: var(--card-bg);
    display: flex;
    flex-direction:column !important;
    align-items: flex-start;
}
#history-baidu > .blog-slider__pagination{
    display:none
}
.history_slide_time{
    color: #858585;
    Font-style: italic;
    font-weight: lighter;
}
.swiper-slide.history_slide.pre,
.swiper-slide.history_slide,
.history_slide.swiper-slide-active {
  background: var(--theme-color-blue) !important;
  border-radius: 10px;
  padding: 5px 5px;
}
/* 日历卡片样式 */
.card-times a, .card-times div {
    color: var(--june-fontcolor);
}

#card-calendar {
    display: flex;
    padding: 18px 10px !important;
}

#calendar-area-left {
    width: 45%;
}

#calendar-area-right {
    width: 55%;
}

#calendar-area-left, #calendar-area-right {
    height: 100%;
    padding: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#calendar-main {
    width: 100%;
    margin-top: 10px;
}

#calendar-week {
    height: 1.2rem;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 700;
    align-items: center;
    display: flex;
}

#calendar-date {
    height: 3.5rem;
    line-height: 1.3;
    font-size: 64px;
    letter-spacing: 3px;
    color: var(--theme-color-blue);
    font-weight: 700;
    align-items: center;
    display: flex;
    position: absolute;
    top: calc(50% - 2.1rem);
}

#calendar-lunar, #calendar-solar {
    height: 1rem;
    font-size: 12px;
    align-items: center;
    display: flex;
    position: absolute;
}

#calendar-solar {
    bottom: 2.1rem;
}

#calendar-lunar {
    bottom: 1rem;
    color: #8e8ea0;
}

#calendar-main a {
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    font-size: 13px;
    line-height: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#calendar-main a.now {
    background: var(--theme-color-blue);
    color: var(--june-card-bg);
}

#calendar-main .calendar-rh a {
    color: rgba(60,60,67,0.6);
}
[data-theme="dark"] #calendar-main .calendar-rh a {
    color: #8e8ea0;
}

.calendar-r0, .calendar-r1, .calendar-r2, .calendar-r3, .calendar-r4, .calendar-r5, .calendar-rh {
    height: 1.2rem;
    display: flex;
}

.calendar-d0, .calendar-d1, .calendar-d2, .calendar-d3, .calendar-d4, .calendar-d5, .calendar-d6 {
    width: calc(100% / 7);
    display: flex;
    justify-content: center;
    align-items: center;
}

#card-schedule {
    display: flex;
    padding: 18px 10px !important;
}

#schedule-area-right a,
#calendar-area-right a {
    pointer-events: none;
    color: var(--text-highlight-color);
}


#schedule-area-left, #schedule-area-right {
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#schedule-area-left {
    width: 30%;
}

#schedule-area-right {
    width: 70%;
    padding: 0 5px;
}

.schedule-r0, .schedule-r1, .schedule-r2 {
    height: 2rem;
    width: 100%;
    align-items: center;
    display: flex;
}

.schedule-d0 {
    width: 30px;
    margin-right: 5px;
    text-align: center;
    font-size: 12px;
}

.schedule-d1 {
    width: calc(100% - 35px);
    height: 1.5rem;
    align-items: center;
    display: flex;
}

progress::-webkit-progress-bar {
    background: var(--june-secondbg);
    border-radius: 5px;
    overflow: hidden;
}

progress::-webkit-progress-value {
    background: var(--theme-color-blue);
    border-radius: 5px;
}

.aside-span1, .aside-span2 {
    height: 1rem;
    font-size: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    position: absolute;
}

.aside-span1 {
    margin-left: 5px;
}
.aside-span2 {
    right: 20px;
    color: rgba(60,60,67,0.6);
}
[data-theme="dark"] .aside-span2 {
    right: 20px;
    color: #8e8ea0;
}

.aside-span2 a {
    margin: 0 3px;
}

#pBar_month, #pBar_week, #pBar_year {
    width: 100%;
    border-radius: 5px;
    height: 100%;
}

#schedule-date, #schedule-days, #schedule-title {
    display: flex;
    align-items: center;
}

#schedule-title {
    height: 25px;
    line-height: 1;
    font-size: 14px;
    font-weight: 700;
}

#schedule-days {
    height: 55px;
    line-height: 1;
    font-size: 35px;
    font-weight: 900;
    color: var(--theme-color-blue);
}

#schedule-date {
    height: 20px;
    line-height: 1;
    font-size: 12px;
    color: rgba(60,60,67,0.6);
}
[data-theme="dark"] #schedule-date {
    height: 20px;
    line-height: 1;
    font-size: 12px;
    color: #8e8ea0;
}
#pBar_week,
#pBar_month,
#pBar_year {
  background: var(--theme-color-green);
}
body.is-posts #aside-content .card-history {
    display: none;
}
#article-container.post-content :is(h1,h2,h3,h4,h5,h6) {
  -webkit-transition: all 0.2s ease-out;
  -moz-transition: all 0.2s ease-out;
  -o-transition: all 0.2s ease-out;
  -ms-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}

#article-container.post-content h1:before {
    font-size: 20px;
}
#article-container.post-content h2:before {
    font-size: 18px;
}
#article-container.post-content h3:before {
    font-size: 16px;
}
#article-container.post-content h4:before {
    font-size: 14px;
}
#article-container.post-content :is(h5,h6):before {
    font-size: 12px;
}
#article-container.post-content h1:hover:before {
    padding-left: 12px;
}
#article-container.post-content h1:hover {
  padding-left: 40px;
}
#article-container.post-content h2:hover:before {
    padding-left: 8.5px;
}
#article-container.post-content h2:hover {
  padding-left: 35px;
}
#article-container.post-content h3:hover:before {
    padding-left: 6px;
}
#article-container.post-content h3:hover {
  padding-left: 30px;
}
#article-container.post-content h4:hover:before {
    padding-left: 4px;
}
#article-container.post-content h4:hover {
  padding-left: 26px;
}
#article-container.post-content h5:hover:before {
    padding-left: 4px;
}
#article-container.post-content h5:hover {
  padding-left: 24px;
}
#article-container.post-content h6:hover:before {
    padding-left: 4px;
}
#article-container.post-content h6:hover {
  padding-left: 24px;
}

#article-container.post-content :is(h1, h2, h3, h4, h5, h6):before,
#article-container.post-content :is(h1, h2, h3, h4, h5, h6):hover:before {
    color: rgb(13, 191, 236);
}
[data-theme="dark"] #article-container.post-content :is(h1, h2, h3, h4, h5, h6):before,
[data-theme="dark"] #article-container.post-content :is(h1, h2, h3, h4, h5, h6):hover:before {
    color: #1e9397
}

/* 最新文章图标 */
.newPost {
    position: absolute;
    top: 0;
    color: rgba(255, 255, 255, 0.92);
    padding: 0 15px;
    background-color: #49b0f5b9;
    border-radius: 0 0 10px 10px;
    right: 40px;
}
@media screen and (max-width:600px){
  .newPost {
    right: 0px;
    padding: 0 12px;
    border-radius: 0 10px 0px 10px;
}
}

hr.custom-hr::before {
    display: none !important;
}
#article-container hr:before {
    display: none !important;
}
#article-container hr {
    border-width: 2px !important;
    border-style: dashed !important;
    border-color: rgb(55, 255, 208) !important;
    border-image: none !important;
}
[data-theme="dark"] #article-container hr {
    border-width: 2px !important;
    border-style: dashed !important;
    border-color: rgb(76, 153, 226) !important;
    border-image: none !important;
}
#page-header #scroll-down .scroll-down-effects {
    display: none;
}
.swiper-wrapper{
    border: solid 1px transparent;
}
#recent-posts > .recent-post-item {
    border: solid 1px transparent !important;
}
b, strong {
    color: #5A86B8;
}
figure.highlight pre .deletion {
    color:rgb(16, 94, 222);
}
figure.highlight pre .addition {
    color: rgb(191, 66, 191);
}
.bber-logo {
    font-size: 1.7rem !important;
    line-height: 22px;
}
#aside-content .card-info #card-info-btn {
    transition: all 0.3s;
}

.icon-V.hidden svg {
    width: 19px !important;
    height: 19px !important;
    display: inline-block;
}
.fancybox__infobar {
  font-family: "HYTMR", sans-serif !important;
}
/* Enter */
.DocSearch-Commands li:nth-child(1) .DocSearch-Label::after {
  content: "选择";
}
.DocSearch-Commands li:nth-child(1) .DocSearch-Label {
  font-size: 0;
}
.DocSearch-Commands li:nth-child(1) .DocSearch-Label::after {
  font-size: 14px;
}

/* 上下箭头 */
.DocSearch-Commands li:nth-child(2) .DocSearch-Label::after {
  content: "上/下个";
}
.DocSearch-Commands li:nth-child(2) .DocSearch-Label {
  font-size: 0;
}
.DocSearch-Commands li:nth-child(2) .DocSearch-Label::after {
  font-size: 14px;
}

/* ESC关闭 */
.DocSearch-Commands li:nth-child(3) .DocSearch-Label::after {
  content: "关闭";
}

.DocSearch-Commands li:nth-child(3) .DocSearch-Label {
  font-size: 0;
}
.DocSearch-Commands li:nth-child(3) .DocSearch-Label::after {
  font-size: 14px;
}
.DocSearch-NoResults-Prefill-List .DocSearch-Help {
  position: relative;
  text-indent: -9999px;
  white-space: nowrap; /* 强制单行展示，杜绝文字折行 */
}
.DocSearch-NoResults-Prefill-List .DocSearch-Help::before {
  content: "你可以尝试搜索：";
  color: var(--docsearch-muted-color);
  position: absolute;
  /* 居中核心代码 */
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  text-indent: 0;
  white-space: nowrap;
}
.DocSearch-StartScreen .DocSearch-Help {
  position: relative;
  text-indent: -9999px;
  white-space: nowrap; /* 强制单行展示，杜绝文字折行 */
}
.DocSearch-StartScreen .DocSearch-Help::before {
  content: "没有最近搜索历史";
  color: var(--docsearch-muted-color);
  position: absolute;
  /* 居中核心代码 */
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  text-indent: 0;
  white-space: nowrap;
}
.DocSearch-Title::before {
    color: var(--text-color) !important;
}
.DocSearch-Input::selection {
    background: transparent !important;
    color: var(--text-color) !important;
}
blockquote {
    background: var(--theme-color-green) !important;
    border-radius: 4px;
}
.docsearch-wrap {
    display: none;
}