/* 全局样式文件 */
/* 导入其他样式文件 */
body,
html {
  padding: 0;
  margin: 0;
}
.mobile-menu {
  display: none !important;
}
.mobile-avatar {
  display: none;
}
.desktop-avatar {
  display: block;
}
.mobile-menu-item {
  margin-bottom: 15px;
}
.mobile-menu-item a {
  color: #fef404;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
}
.mobile-menu-item a:hover {
  color: #fff;
}
.mobile-submenu {
  margin-left: 20px;
  margin-top: 10px;
  display: none;
}
.mobile-submenu.active {
  display: block;
}
.mobile-submenu-item {
  margin-bottom: 10px;
}
.mobile-submenu-item a {
  font-size: 1em;
  font-weight: normal;
}
:root {
  --qh_header_h: 50px;
  --qb_h_r_avatar_h: 45px;
  --qb_h_r_avatar_mt: calc((var(--qh_header_h) - var(--qb_h_r_avatar_h)));
}
.qb_header {
  width: 100%;
  height: var(--qh_header_h);
  display: flex;
  align-content: center;
  justify-content: center;
  grid-template-columns: 20% 60% 20%;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: saturate(100%) blur(4px) opacity 60%;
  position: fixed;
  top: 0;
  z-index: 99;
/* 过渡动画：Y轴平移 + 透明度 */
  transition: transform 0.3s ease-in-out, opacity 0.2s ease;
/* 初始状态：显示（未隐藏） */
  transform: translateY(0);
  opacity: 1;
  backdrop-filter: blur(0.6px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.21, 1);
  overflow: hidden;
}
.qb_header-c {
  width: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qb_header_c_prop_div {
  position: absolute;
  transition: 0.3s;
  display: none;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
}
.qb_header-item {
  padding: 0 10px;
}
.qb_header-item-a {
  text-decoration: none;
  color: #ff0;
}
.qb_header-item-a:hover {
  color: #f5deb3;
}
.qb_h_l {
  width: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.qb_h_l_sign {
  color: #fef404;
  font-weight: bold;
  font-family: sans-serif;
}
.qb_h_r {
  width: 20%;
  display: flex;
  align-item: center;
  flex-wrap: wrap;
}
.qb_h_r_avatar {
  border-radius: 50%;
  height: var(--qb_h_r_avatar_h);
  margin-top: var(--qb_h_r_avatar_mt);
}
body ::-webkit-scrollbar-track {
  background: none !important;
}
@media (max-width: 768px) {
  .qb_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .qb_header-c {
    display: none;
  }
  .qb_h_l {
    width: auto;
    justify-content: flex-start;
  }
  .qb_h_r {
    width: auto;
  }
  .qb_h_l_sign {
    font-size: 0.9em;
    margin-left: 10px !important;
  }
  .mobile-menu {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: saturate(100%) blur(10px);
    z-index: 98;
    padding: 20px;
    display: none !important;
  }
  .mobile-menu.active {
    display: block !important;
  }
  .qb_h_r {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .mobile-avatar {
    display: block;
  }
  .desktop-avatar {
    display: none;
  }
}
.header_collect_btn {
/*background-color: transparent !important;*/
  width: 100% !important;
  margin: 0 !important;
  border-style: none !important;
  border-radius: 0 !important;
  text-align: left !important;
}
.header_collect_btn_light {
  background-color: rgba(0,255,255,0.5) !important;
}
.header_collect_btn:hover {
  background-color: rgba(0,0,0,0.5) !important;
  color: #f5f5f5 !important;
}
.qb_h_l a {
  margin-left: 20px;
}
.qb_h_l_sign {
  margin-left: 20px;
}
.hover_div {
  position: relative;
}
.hover_div a {
  color: #000;
}
.hover_div .ui.button {
  background-color: transparent !important;
  padding: 10px;
  margin: 10px;
  color: #ff0;
  font-weight: bold;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
.ui.buttons.vertical {
  width: 100%;
  border-radius: 8px;
}
.desktop-avatar a {
  color: #000;
}
.qb_h_r_avatar {
  transform: scaleX(-1);
}
.mobile-avatar .qb_h_r_avatar {
  cursor: pointer;
}
html.light-theme .qb_header {
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: saturate(100%) blur(4px) opacity(90%);
}
html.light-theme .qb_h_l_sign {
  color: #333;
}
html.light-theme .hover_div a {
  color: #333;
}
html.light-theme .hover_div .ui.button {
  color: #333;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
html.light-theme .hover_div .ui.button:hover {
  background-color: transparent !important;
}
html.light-theme .desktop-avatar a {
  color: #333;
}
html.light-theme .mobile-menu {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.1);
}
html.light-theme .mobile-menu-item a {
  color: #333;
}
html.light-theme .mobile-menu-item a:hover {
  color: #666;
}
html.light-theme .header_collect_btn {
  background-color: rgba(255,255,255,0.8) !important;
  color: #333 !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
}
html.light-theme .header_collect_btn:hover {
  background-color: rgba(0,0,0,0.1) !important;
  color: #333 !important;
}
html.light-theme .qb_header_c_prop_div {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
html.light-theme .ui.buttons.vertical {
  background: rgba(255,255,255,0.8);
  border-radius: 8px;
}
html.light-theme .qb_header-item-a {
  color: #333;
}
html.light-theme .qb_header-item-a:hover {
  color: #666;
}
html.dark-theme .qb_h_l_sign {
  color: #fef404;
}
html.dark-theme .hover_div a {
  color: #fff;
}
html.dark-theme .hover_div .ui.button {
  color: #ff0;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}
html.dark-theme .hover_div .ui.button:hover {
  background-color: transparent !important;
}
html.dark-theme .desktop-avatar a {
  color: #fff;
}
html.dark-theme .mobile-menu {
  background: rgba(0,0,0,0.9);
  border: 1px solid rgba(255,255,255,0.1);
}
html.dark-theme .mobile-menu-item a {
  color: #fef404;
}
html.dark-theme .mobile-menu-item a:hover {
  color: #fff;
}
html.dark-theme .header_collect_btn {
  background-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
}
html.dark-theme .header_collect_btn:hover {
  background-color: rgba(255,255,255,0.2) !important;
  color: #fff !important;
}
html.dark-theme .qb_header_c_prop_div {
  background: rgba(0,0,0,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
html.dark-theme .ui.buttons.vertical {
  background: rgba(0,0,0,0.8);
  border-radius: 8px;
}
html.dark-theme .qb_header-item-a {
  color: #ff0;
}
html.dark-theme .qb_header-item-a:hover {
  color: #f5deb3;
}
.footer {
/* 液态玻璃效果 */
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 40px;
  margin: 6px;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-top {
  border-bottom: 1px solid #34495e;
  padding-bottom: 30px;
  margin-bottom: 20px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}
.footer-column h4 {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #ff0;
  border-bottom: 2px solid #3498db;
  display: inline-block;
  padding-bottom: 5px;
  font-weight: 600;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 10px;
}
.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-column a:hover {
  color: #ff0;
  transform: translateX(3px);
}
.footer-column .fab {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
  color: #3498db;
}
.footer-bottom {
  margin-top: 20px;
  font-size: 0.9em;
  color: #bdc3c7;
}
.copyright {
  color: #fff;
  text-align: center;
  margin: 10px 0;
  line-height: 1.5;
}
.copyright a {
  color: #ff0;
  text-decoration: none;
  transition: color 0.3s ease;
}
.copyright a:hover {
  color: #fd3;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .footer-links {
    justify-content: center;
    text-align: center;
  }
  .footer-column {
    flex: 100%;
    max-width: 300px;
  }
  .footer-column h4 {
    display: block;
    text-align: center;
  }
  .footer-column .fab {
    margin-right: 5px;
  }
}
html.light-theme .footer {
  background: rgba(248,250,252,0.9);
  color: #1e293b;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.1);
}
html.light-theme .footer-top {
  border-bottom-color: #e2e8f0;
}
html.light-theme .footer-column h4 {
  color: #333;
  border-bottom-color: #94a3b8;
}
html.light-theme .footer-column ul {
  color: #475569;
}
html.light-theme .footer-column li {
  color: #475569;
}
html.light-theme .footer-column a {
  color: #475569;
}
html.light-theme .footer-column a:hover {
  color: #333;
  text-decoration: none;
}
html.light-theme .footer-column .fab {
  color: #64748b;
}
html.light-theme .footer-bottom {
  color: #64748b;
}
html.light-theme .copyright {
  color: #475569;
}
html.light-theme .copyright span {
  color: #475569;
}
html.light-theme .copyright a {
  color: #333;
}
html.light-theme .copyright a:hover {
  color: #64748b;
  text-decoration: underline;
}
html.dark-theme .footer {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  color: #fff;
}
html.dark-theme .footer-top {
  border-bottom-color: #34495e;
}
html.dark-theme .footer-column h4 {
  color: #ff0;
  border-bottom-color: #3498db;
}
html.dark-theme .footer-column ul {
  color: #fff;
}
html.dark-theme .footer-column li {
  color: #fff;
}
html.dark-theme .footer-column a {
  color: #fff;
}
html.dark-theme .footer-column a:hover {
  color: #ff0;
  text-decoration: none;
}
html.dark-theme .footer-column .fab {
  color: #3498db;
}
html.dark-theme .footer-bottom {
  color: #bdc3c7;
}
html.dark-theme .copyright {
  color: #fff;
}
html.dark-theme .copyright span {
  color: #fff;
}
html.dark-theme .copyright a {
  color: #ff0;
}
html.dark-theme .copyright a:hover {
  color: #fd3;
  text-decoration: underline;
}
.about-container {
  max-width: 1080px;
  min-height: 1000px;
  margin: 2rem auto;
  margin-top: 100px;
  padding: 0 1.5rem;
  font-family: 'Segoe UI', Roboto, sans-serif;
}
.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.basic-info {
  text-align: center;
}
.name {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.position {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}
.social-link {
  color: #a0aec0;
  transition: color 0.2s ease;
}
.social-link:hover {
  color: #63b3ed;
}
.section {
  margin-bottom: 2.5rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.25rem;
  border-left: 4px solid #63b3ed;
  padding-left: 0.75rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.slogan {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.bio {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #e2e8f0;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}
.skill-item {
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 500;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}
.contact-list {
  list-style: none;
  padding: 0;
  line-height: 2;
  color: #e2e8f0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.contact-icon {
  width: 20px;
  margin-right: 0.5rem;
  color: #a0aec0;
}
@media (max-width: 768px) {
  .about-container {
    margin: 1rem auto;
    margin-top: 80px;
    padding: 0 1rem;
  }
  .avatar {
    width: 120px;
    height: 120px;
  }
  .name {
    font-size: 1.75rem;
  }
  .skills-list {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
html.light-theme .about-container {
  color: #1e293b;
}
html.light-theme .name {
  color: #333;
  text-shadow: none;
}
html.light-theme .position {
  color: #475569;
  text-shadow: none;
}
html.light-theme .section-title {
  color: #333;
  border-left-color: #94a3b8;
  text-shadow: none;
}
html.light-theme .slogan {
  color: #475569;
  text-shadow: none;
}
html.light-theme .bio {
  color: #475569;
  text-shadow: none;
}
html.light-theme .skill-item {
  background: rgba(0,0,0,0.05);
  color: #333;
  border: 1px solid rgba(0,0,0,0.1);
}
html.light-theme .contact-list {
  color: #475569;
  text-shadow: none;
}
html.light-theme .contact-icon {
  color: #64748b;
}
html.light-theme .social-link {
  color: #64748b;
}
html.light-theme .social-link:hover {
  color: #334155;
}
html.dark-theme .about-container {
  color: #f8fafc;
}
html.dark-theme .name {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
html.dark-theme .position {
  color: #e2e8f0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
html.dark-theme .section-title {
  color: #fff;
  border-left-color: #63b3ed;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
html.dark-theme .slogan {
  color: #e2e8f0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
html.dark-theme .bio {
  color: #e2e8f0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
html.dark-theme .skill-item {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
html.dark-theme .contact-list {
  color: #e2e8f0;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
html.dark-theme .contact-icon {
  color: #a0aec0;
}
html.dark-theme .social-link {
  color: #a0aec0;
}
html.dark-theme .social-link:hover {
  color: #63b3ed;
}
#archives {
  padding-bottom: 100px;
}
.archive-year {
  width: 86%;
  margin: auto;
}
.archive-year-title {
  font-size: 25px;
  padding-top: 30px;
  margin: 20px 10px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.archive-month-title {
  font-size: 20px;
  font-weight: bold;
  margin: 10px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.archive-posts {
/*width: 95%;*/
  display: flex;
  flex-wrap: wrap;
}
.blog_commend {
  aspect-ratio: 16/9;
  width: 33.3333%;
  padding: 0 10px 20px 10px;
}
.blog_commend_inner {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16/9;
}
.blog_commend_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}
.blog_title_div {
  position: absolute;
  top: 0;
  padding: 4px 4px;
  pointer-events: none;
}
.blog_title_value {
  font-size: 20px;
  font-weight: bold;
  padding: 8px;
}
.blog_summary_div {
  position: absolute;
  top: 0;
  padding: 8px 8px;
  margin-top: 2em;
  pointer-events: none;
}
.blog_summary_value {
  font-size: 16px;
  padding: 4px 6px;
  line-height: 24px;
}
.blog_commend_img:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}
.blog_commend_img_mask {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(0,0,0,0.3);
  transition: all 0.2s ease-in-out;
}
.blog_commend_img_mask:hover {
  background-color: rgba(0,0,0,0.5);
  transition: all 0.2s ease-in-out;
}
.blog_commend_a:hover > .blog_commend_img {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}
.blog_tag {
  position: absolute;
  bottom: 0;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 0 8px 8px 0;
/* backdrop-filter: saturate(100%) blur(4px) grayscale(30%);
  backdrop-filter: saturate(200%) blur(3px) opacity(60%);
  background-color: rgba(0, 0, 0, .4); */
  background-color: unset !important;
}
.blog-tag-group {
  margin: 4px 6px;
  display: inline-block;
}
.blog-tag-icon {
  color: #ff4500;
}
.blog-tag-item {
  margin-right: 6px;
}
.blog-category-group {
  margin: 4px 6px;
  display: inline-block;
}
.blog-category-icon {
  color: #9acd32;
}
.blog-category-item {
  margin-right: 6px;
}
.blog_time {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 6px;
  color: #fff;
  font-size: 1.2em;
  border-radius: 8px 0 0 8px;
  backdrop-filter: saturate(100%) blur(4px) grayscale(30%);
}
.blog_time_div {
  display: inline-block;
  float: right;
}
@media (max-width: 768px) {
  #archives {
    padding-bottom: 60px;
  }
  .archive-year {
    padding: 0 auto;
    width: 95%;
  }
  .archive-month {
    padding-left: 0;
  }
  .blog_commend {
    width: 100%;
    aspect-ratio: 16/9;
    padding: 0 0 20px 0;
  }
  .blog_commend_inner {
    aspect-ratio: 16/9;
  }
  .blog_title_value {
    font-size: 18px;
    padding: 6px;
  }
  .blog_summary_value {
    font-size: 14px;
    line-height: 20px;
  }
}
html.light-theme #archives {
  color: #1e293b;
}
html.light-theme .archive-year-title {
  color: #333;
  text-shadow: none;
}
html.light-theme .archive-month-title {
  color: #333;
  text-shadow: none;
}
html.light-theme .blog_title_div {
  color: #fff;
}
html.light-theme .blog_title_a {
  color: #fff;
}
html.light-theme .blog_summary_div {
  color: #fff;
}
html.light-theme .blog_summary_a {
  color: #fff;
}
html.light-theme .blog_tag {
  color: #fff;
  background-color: rgba(0,0,0,0.4);
}
html.light-theme .blog-tag-item a {
  color: #fff;
}
html.light-theme .blog-category-item a {
  color: #fff;
}
html.light-theme .blog_commend_img_mask {
  background-color: rgba(0,0,0,0.3);
}
html.light-theme .blog_commend_img_mask:hover {
  background-color: rgba(0,0,0,0.5);
}
html.dark-theme #archives {
  color: #f8fafc;
}
html.dark-theme .archive-year-title {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
html.dark-theme .archive-month-title {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
html.dark-theme .blog_title_a {
  color: #fff;
}
html.dark-theme .blog_summary_a {
  color: #fff;
}
html.dark-theme .blog_tag {
  color: #fff;
  background-color: rgba(0,0,0,0.4);
}
html.dark-theme .blog-tag-item a {
  color: #fff;
}
html.dark-theme .blog-category-item a {
  color: #fff;
}
html.dark-theme .blog_commend_img_mask {
  background-color: rgba(0,0,0,0.3);
}
html.dark-theme .blog_commend_img_mask:hover {
  background-color: rgba(0,0,0,0.5);
}
#post {
  position: relative;
}
#qb_post {
  display: flex;
  justify-content: center;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: margin 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease-in-out, border-radius 0.25s ease;
  margin: 8px 6px;
}
.post-title {
  text-align: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 10px 0;
  line-height: 1.3;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 0.95em;
  margin-bottom: 30px;
  padding: 15px;
  border-radius: 10px;
  background-color: rgba(0,0,0,0.1);
  backdrop-filter: saturate(100%) blur(4px);
  gap: 15px;
}
.post-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 20px;
  background-color: rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.post-meta-item:hover {
  background-color: rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
.post-meta-item i {
  font-size: 1.1em;
}
.post-cover {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}
.post-cover img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.post-cover img:hover {
  transform: scale(1.02);
}
html.light-theme .post-meta {
  background-color: rgba(0,0,0,0.05);
}
html.light-theme .post-meta-item {
  background-color: rgba(0,0,0,0.05);
}
html.light-theme .post-meta-item:hover {
  background-color: rgba(0,0,0,0.1);
}
html.dark-theme .post-meta {
  background-color: rgba(0,0,0,0.2);
}
html.dark-theme .post-meta-item {
  background-color: rgba(0,0,0,0.2);
}
html.dark-theme .post-meta-item:hover {
  background-color: rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .post-title {
    font-size: 1.8em;
  }
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
  }
  .post-meta-item {
    width: 100%;
    justify-content: flex-start;
    padding: 8px 12px;
  }
  .post-cover img {
    border-radius: 8px;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .post-meta {
    gap: 10px;
  }
  .post-meta-item {
    padding: 4px 8px;
    font-size: 0.9em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .post-meta-item,
  .post-cover img {
    transition: none;
  }
  .post-meta-item:hover {
    transform: none;
  }
}
.copyright-notice {
  margin: 20px 0;
  padding: 15px;
  border-radius: 8px;
/*background-color: rgba(0, 0, 0, 0.3);*/
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.1);
  backdrop-filter: blur(5px);
}
.copyright-notice p {
  margin: 8px 0;
}
.copyright-notice i {
  margin-right: 8px;
}
.copyright-notice a {
  text-decoration: none;
  transition: color 0.3s ease;
}
.copyright-notice a:hover {
  text-decoration: underline;
}
html.light-theme .copyright-notice {
/* background-color: rgba(0, 0, 0, 0.1);*/
  color: #1e293b;
}
html.light-theme .copyright-notice i.copyright {
  color: #e74c3c;
}
html.light-theme .copyright-notice i.linkify {
  color: #3498db;
}
html.light-theme .copyright-notice i.creative {
  color: #2ecc71;
}
html.light-theme .copyright-notice a {
  color: #3498db;
}
html.light-theme .copyright-notice a:hover {
  color: #2980b9;
}
html.dark-theme .copyright-notice {
  background-color: rgba(0,0,0,0.4);
  color: #fff;
  background: linear-gradient(135deg, rgba(250,113,153,0.2), rgba(118,75,162,0.2));
  box-shadow: unset;
}
html.dark-theme .copyright-notice i.copyright {
  color: #ff6b6b;
}
html.dark-theme .copyright-notice i.linkify {
  color: #4ecdc4;
}
html.dark-theme .copyright-notice i.creative {
  color: #45b7d1;
}
html.dark-theme .copyright-notice a {
  color: #ff0;
}
html.dark-theme .copyright-notice a:hover {
  color: #45b7d1;
}
@media (max-width: 768px) {
  .copyright-notice {
    padding: 12px;
    margin: 15px 0;
  }
  .copyright-notice p {
    font-size: 0.9em;
  }
}
html.light-theme #qb_post p {
  color: #000;
}
html.light-theme #qb_post .post-title,
html.light-theme #qb_post .post-meta,
html.light-theme #qb_post .post-meta-item,
html.light-theme #qb_post .post-meta-item * {
  color: #1e293b;
}
html.light-theme #content :not(pre):not(code):not(.token):not(.code-toolbar):not(.toolbar):not(.toolbar-item) {
  color: #1e293b;
}
html.light-theme #content p {
  text-indent: 2em;
}
html.light-theme #content .code-toolbar > .toolbar,
html.light-theme #content .code-toolbar > .toolbar *,
html.light-theme #qb_post div.code-toolbar > .toolbar,
html.light-theme #qb_post div.code-toolbar > .toolbar * {
  color: #fff !important;
  text-shadow: 0 1px rgba(0,0,0,0.5) !important;
  font-weight: 500 !important;
}
html.light-theme #content .copy-to-clipboard-button,
html.light-theme #content .code-toolbar .toolbar-item span,
html.light-theme #qb_post .copy-to-clipboard-button,
html.light-theme #qb_post .code-toolbar .toolbar-item span {
  color: #fff !important;
}
html.dark-theme #qb_post p {
  color: #fff;
}
html.dark-theme #qb_post .post-title,
html.dark-theme #qb_post .post-meta,
html.dark-theme #qb_post .post-meta-item,
html.dark-theme #qb_post .post-meta-item * {
  color: #fff;
}
html.dark-theme #content :not(pre):not(code):not(.token):not(.code-toolbar):not(.toolbar):not(.toolbar-item) {
  color: #fff;
}
html.dark-theme #content p {
  text-indent: 2em;
}
html.dark-theme #content .code-toolbar > .toolbar,
html.dark-theme #content .code-toolbar > .toolbar *,
html.dark-theme #qb_post div.code-toolbar > .toolbar,
html.dark-theme #qb_post div.code-toolbar > .toolbar * {
  color: #fff !important;
  text-shadow: 0 1px rgba(0,0,0,0.5) !important;
  font-weight: 500 !important;
}
html.dark-theme #content .copy-to-clipboard-button,
html.dark-theme #content .code-toolbar .toolbar-item span,
html.dark-theme #qb_post .copy-to-clipboard-button,
html.dark-theme #qb_post .code-toolbar .toolbar-item span {
  color: #fff !important;
}
#qb_post_l {
  width: 65%;
}
#qb_post_l .post_article {
  padding: 10px;
}
#qb_post_l .post_article .post-title {
  text-align: center;
  font-size: 2.2em;
  font-weight: bold;
}
#qb_post_r {
  width: 20%;
  min-height: 100%;
  transition: all 0.5s ease;
}
@media (min-width: 1366px) and (max-width: 1439px) {
  #qb_post {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media (min-width: 1440px) and (max-width: 1919px) {
  #qb_post {
    padding-left: 8%;
    padding-right: 8%;
  }
}
@media (min-width: 1920px) and (max-width: 2559px) {
  #qb_post {
    padding-left: 12%;
    padding-right: 12%;
  }
}
@media (min-width: 2560px) {
  #qb_post {
    padding-left: 15%;
    padding-right: 15%;
  }
}
@media (max-width: 768px) {
  #qb_post {
    flex-direction: column;
    padding: 0px;
  }
  #qb_post h1 {
    font-size: 24px;
    line-height: 1.3;
  }
  #qb_post h2 {
    font-size: 22px;
    line-height: 1.35;
  }
  #qb_post h3 {
    font-size: 20px;
    line-height: 1.4;
  }
  #qb_post h4 {
    font-size: 18px;
    line-height: 1.45;
  }
  #qb_post h5 {
    font-size: 16px;
    line-height: 1.5;
  }
  #qb_post h6 {
    font-size: 14px;
    line-height: 1.5;
  }
  #qb_post p {
    font-size: 16px;
    line-height: 1.7;
    color: #1e293b;
  }
  #qb_post ul,
  #qb_post ol,
  #qb_post li {
    font-size: 16px;
    line-height: 1.7;
    color: #475569;
  }
  #qb_post_l {
    width: 100% !important;
    flex: 1 1 100%;
  }
  #qb_post_l .post_article {
    padding: 0;
  }
  #qb_post_l .post_article .post-title {
    text-align: left;
  }
  #qb_post_r {
    width: 100% !important;
    flex: 1 1 100%;
    position: relative;
    top: auto;
    order: 1;
  }
  .blog_detail_right_box {
    width: 100% !important;
    min-height: unset !important;
  }
  .blog_detail_right_box > div:first-of-type {
    width: 100%;
  }
  .blog_detail_right_box > div:first-of-type > div:not(:first-child) {
    width: 100%;
    margin: 10px 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* 边距和内边距包含在宽度中 */
}
.test-div {
  background-color: #f00;
  height: 100px;
  width: 200px;
}
.category-container {
  display: flex;
  flex-wrap: wrap;
  padding: 0 20%;
  justify-content: center;
  min-height: 250px;
  align-items: flex-start;
}
@media (max-width: 768px) {
  .category-container {
    padding: 0 10%;
    min-height: unset;
    align-items: center;
  }
}
.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem 1rem;
}
@media (max-width: 768px) {
  .category-buttons {
    justify-content: center;
    gap: 0.8rem;
  }
}
.category-button :hover {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: rgba(0,0,0,0.4) !important;
}
.category-button {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: var(--bg-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.category-button:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #ff0;
}
.category-button .category-count {
  margin-left: 0.5rem;
  padding: 0.2rem 0.6rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 1rem;
  font-size: 0.9em;
}
/* 通用样式：玻璃态通用样式类 */
.common_glass {
  -webkit-backdrop-filter: blur(4px) saturate(180%);
  backdrop-filter: blur(4px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.21, 1);
  overflow: hidden;
}
/* 基础样式重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  color: #f8fafc;
  transition: background-color 0.3s ease, color 0.3s ease;
}
/* 读取主题配置 (_config.yml) */
.bg_mask {
  z-index: -1;
  width: max-content;
  background-color: rgba(0,0,0,0);
  height: max-content;
  height: 100vh;
  width: 100vw;
  position: fixed;
  backdrop-filter: blur(0px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 12px 48px rgba(0,0,0,0.15), inset 0 1px 3px rgba(255,255,255,0.3);
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.42, 0, 0.21, 1);
  overflow: hidden;
  position: fixed;
  top: 0;
}
/* 暗色模式 */
html.dark-theme {
  color: #f8fafc;
}
html.dark-theme body {
  color: #f8fafc;
}
/* 主内容区域 */
.content {
  min-height: 800px;
}
/* 美化滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 4px;
}
::-webkit-scrollbar-track {
  border-radius: 4px;
  background: none;
}
::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.4);
}
/* 侧标导航容器 */
.side-navigation {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}
/* 返回顶部按钮 */
.back-to-top {
  position: relative;
  right: 0;
  bottom: 0;
  width: 45px;
  height: 45px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3em;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s, background-color 0.2s;
}
.back-to-top:hover {
  transform: translateY(0) scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
}
.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top i {
  color: #fff;
}
/* 下滑按钮 */
.scroll-down {
  position: relative;
  right: 0;
  bottom: 0;
  width: 45px;
  height: 45px;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3em;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.3s ease-out;
}
.scroll-down:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
}
.scroll-down i {
  color: #fff;
}
/* 主题切换按钮 */
.theme-toggle {
  position: relative;
  right: 0;
  bottom: 0;
  width: 45px;
  height: 45px;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3em;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.theme-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  text-decoration: none;
}
.theme-toggle i {
  color: #fff;
}
/* 链接样式 */
a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}
body.dark-theme a {
  color: #3498db;
}
a:hover {
  color: #2980b9;
  text-decoration: underline;
}
body.dark-theme a:hover {
  color: #2980b9;
}
/* 按钮样式 */
button {
  cursor: pointer;
  transition: all 0.3s ease;
}
body.dark-theme button {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
body.dark-theme button:hover {
  background-color: rgba(255,255,255,0.2);
}
/* 输入框样式 */
input,
textarea,
select {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 2px rgba(52,152,219,0.2);
}
/* 列表样式 */
ul,
ol {
  margin-bottom: 15px;
  padding-left: 20px;
}
li {
  margin-bottom: 5px;
}
body.dark-theme ul,
body.dark-theme ol {
  color: #f8fafc;
}
body.dark-theme li {
  color: #f8fafc;
}
/* 容器样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* 卡片样式 */
.card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px) saturate(100%);
  -webkit-backdrop-filter: blur(10px) saturate(100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.37);
  transition: all 0.3s ease;
}
/* 标题样式 */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 15px;
  color: #fef404;
}
/* 段落样式 */
p {
  margin-bottom: 15px;
  line-height: 1.6;
}
/* 暗色模式段落颜色 */
body.dark-theme p {
  color: #f8fafc;
}
/* 列表样式 */
ul,
ol {
  margin-bottom: 15px;
  padding-left: 20px;
}
li {
  margin-bottom: 5px;
}
/* 移动端适配 */
@media (max-width: 768px) {
  .side-navigation {
    bottom: 15px;
    right: 15px;
    gap: 10px;
  }
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }
  .scroll-down {
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }
  .theme-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }
  .container {
    padding: 0 10px;
  }
  .card {
    padding: 15px;
    margin-bottom: 15px;
  }
}
html.light-theme {
  background-color: #f8fafc;
  color: #1e293b;
}
html.light-theme body {
  background-color: #f8fafc !important;
  color: #1e293b;
}
html.light-theme p {
  color: #1e293b;
}
html.light-theme h1,
html.light-theme h2,
html.light-theme h3,
html.light-theme h4,
html.light-theme h5,
html.light-theme h6 {
  color: #333;
}
html.light-theme ul,
html.light-theme ol {
  color: #475569;
}
html.light-theme li {
  color: #475569;
}
html.light-theme .card {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
html.light-theme input,
html.light-theme textarea,
html.light-theme select {
  background-color: #fff;
  color: #333;
  border: 1px solid #e2e8f0;
}
html.light-theme input:focus,
html.light-theme textarea:focus,
html.light-theme select:focus {
  border-color: #2980b9;
  box-shadow: 0 0 0 2px rgba(41,128,185,0.2);
}
html.light-theme a {
  color: #2980b9;
}
html.light-theme a:hover {
  color: #1f618d;
}
html.light-theme button {
  background-color: #f1f5f9;
  color: #333;
  border: 1px solid #e2e8f0;
}
html.light-theme button:hover {
  background-color: #e2e8f0;
}
html.light-theme ::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
}
html.light-theme ::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.3);
}
html.light-theme #back_to_top,
html.light-theme #scroll_down,
html.light-theme #theme_toggle {
  background-color: rgba(0,0,0,0.4);
}
html.light-theme #back_to_top .fas,
html.light-theme #scroll_down .fas,
html.light-theme #theme_toggle .fas {
  color: #fff;
}
