@font-face {
  font-family: "MyCustomFont"; /* 自定义字体的名称 */
  /* src: url("https://cdn.jsdelivr.net/gh/whitehair-failure/own-picture-bed/font/%E8%90%9D%E8%8E%89%E4%BD%93.woff2")
      format("woff2"),
    url("https://jsd.cdn.zzko.cn/gh/whitehair-failure/own-picture-bed/font/%E8%90%9D%E8%8E%89%E4%BD%93.woff2")
      format("woff2"),
    url("https://cdn.jsdelivr.net/gh/whitehair-failure/own-picture-bed/font/%E8%90%9D%E8%8E%89%E4%BD%93.woff")
      format("woff"),
    url("https://jsd.cdn.zzko.cn/gh/whitehair-failure/own-picture-bed/font/%E8%90%9D%E8%8E%89%E4%BD%93.woff")
      format("woff"),
    url("https://cdn.jsdelivr.net/gh/whitehair-failure/own-picture-bed/font/%E8%90%9D%E8%8E%89%E4%BD%93.ttf")
      format("truetype"),
      url("https://jsd.cdn.zzko.cn/gh/whitehair-failure/own-picture-bed/font/%E8%90%9D%E8%8E%89%E4%BD%93.ttf")
      format("truetype"); */ /* 字体文件的URL路径 */
  /* url('https://example.com/fonts/MyCustomFont.woff') format('woff');   字体文件的备选路径 */
  font-weight: normal; /* 字体粗细 */
  font-style: normal; /* 字体样式（正常、斜体等） */
  font-display: swap; /* 提高加载体验 */
}

body {
  font-family: "Heiti SC", system-ui, sans-serif !important;
}

#card-newest-comments .aside-list,
.card-announcement .announcement_content {
  font-family: system-ui, sans-serif !important;
}

#recent-posts .recent-post-items .recent-post-item {
  opacity: 0.9 !important;
}

/* #aside-content .card-widget.card-info.text-center {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
} */

/* #aside-left .card-widget.card-info.text-center {
  background: linear-gradient(
    to right,
    rgba(238, 162, 162, 0.9) 0%,
    rgba(187, 193, 191, 0.9) 19%,
    rgba(87, 198, 225, 0.9) 42%,
    rgba(180, 159, 218, 0.9) 79%,
    #7ac5d8 100%
  ) !important;
} */

main#content-inner.layout {
  max-width: 1300px;
}

#aside-left.aside-left {
  order: 1;
  /* width: 24%; */
}

#recent-posts.recent-posts {
  order: 2;
  /* width: 52%; */
}

#aside-content.aside-content {
  order: 3;
  /* width: 24%; */
}

#aside-content .card-widget.card-archives {
  margin-bottom: 0px !important;
}

#aside-left .custom-iframe {
  margin-top: 15px;
}

#aside-pixiv {
  margin-bottom: 20px !important;
}
#aside-pixiv .item-content {
  width: 100%;
}
#aside-pixiv .item-content iframe {
  width: 100%;
  /* max-width: 240px; */
  height: 320px;
  border: 0;
}


/* 文章内容使用系统默认字体 */
#post {
  font-family: system-ui, sans-serif !important;
  font-size: 16px !important;
}

/* 使用 px 判断常规屏幕宽度 */
@media (max-width: 900px) {
  #aside-pixiv {
    /* display: none; */
  }
  #recent-posts .recent-post-items .recent-post-item {
    margin-top: 20px;
  }
}

/* 隐藏移动端 live2d-widget */
@media (max-width: 768px) {
  #live2d-widget {
    display: none !important;
  }
}

@media (max-width: 480px) and (min-height: 721px) {
  #web_bg {
    background-position-x: -185vw;
  }
}
/* 背景模糊效果 */
body.modal-open {
  overflow: hidden; /* 禁止滚动 */
}


#adultModal.modal {
  /* display: none; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px); /* 背景模糊 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.5s forwards; /* 弹窗出现动画 */
}

#adultModal.modal .modal-content {
  max-width: 90vw;
  background: white;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: scaleUp 0.5s forwards; /* 弹窗内容缩放动画 */
}

#adultModal.modal button {
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 4px;
}

#adultModal.modal button:hover {
  background-color: #ddd;
}

#adultModal.modal #confirmAdult {
  background-color: #4CAF50;
  color: white;
}

#adultModal.modal #confirmAdult:hover {
  background-color: rgb(76, 175, 80, .8);
  color: white;
}

#adultModal.modal #cancelAdult {
  background-color: #f44336;
  color: white;
}

#adultModal.modal #cancelAdult:hover {
  background-color: rgb(244, 67, 54, .8);
  color: white;
}

/* 弹窗出现动画 */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 弹窗内容的缩放动画 */
@keyframes scaleUp {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

/* 弹窗消失的动画 */
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* .logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
} */