@font-face {
    font-family: 'Bold';
    font-display: swap;
    src: url('../font/f3x9k2_medium.woff2') format('woff2'),
         url('../font/f3x9k2_medium.woff') format('woff'),
         url('../font/f3x9k2_medium.ttf') format('truetype');
}
body {
    font-family: 'Bold', sans-serif;
}
  
/* 下面是时间线功能 */
.timeline-loading {
    font-size: 14px;
    color: #666;
    padding: 10px;
    text-align: center;
  }
  
.timeline-wrapper {
    max-width: 800px;
    margin: 1.5rem auto;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    position: relative;
    font-family: "Segoe UI", "Noto Sans SC", sans-serif;
    background: transparent;
  }
  
  .timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #90caf9; /* 时间线竖线浅蓝 */
  }
  
  .timeline-date-block {
    margin-left: 40px;
    margin-bottom: 1rem; /* 紧凑一点 */
    position: relative;
  }
  
  .timeline-date-block::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 8px; /* 垂直居中单行 */
    width: 12px;
    height: 12px;
    background: #42a5f5; /* 时间点蓝 */
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #90caf9;
  }
  
  .timeline-date {
    font-size: 1rem;
    font-weight: 600;
    color: #1565c0; /* 日期深蓝 */
    margin-bottom: 0.3rem;
  }
  
  .timeline-item {
    background: #f9fbff;
    border-left: 3px solid #bbdefb;
    border-radius: 6px;
    padding: 0.3rem 1rem;
    margin: 0.2rem 0;
    position: relative;
    padding-left: 2.5rem; /* 给序号留空间 */
    counter-increment: line;
  
    /* 单行显示，自动截断省略 */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 0.95rem;
    line-height: 1.3rem;
    cursor: default;
  }
  
  .timeline-item:hover {
    background: #e3f2fd;
  }
  
  .timeline-item::before {
    content: counter(line) ".";
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #61996c; /* 编号深蓝，与时间点颜色区分 */
    font-weight: 700;
    font-size: 1rem;
    user-select: none;
  }
  
  .timeline-hidden-tip {
    color: #cc1c1c;
    font-style: italic;
    text-align: center;
    margin: 2rem 1rem;
    padding: 1rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 0 6px rgba(0,0,0,0.05);
    user-select: none;
    font-size: 1rem;
    /* 你也可以加字体等 */
    font-family: "Segoe UI", "Noto Sans SC", sans-serif;
  }
  
/* 这是小点的蓝色按钮的点击ui */
  /* 按钮容器 */
  .timeline-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px auto 16px auto;
    justify-content: center;
  }
  /* 按钮样式 */
  .timeline-btns button {
    padding: 6px 18px;
    border: none;
    background: #8c9dc0;
    color: #fff;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    user-select: none;
  }
  .timeline-btns button.active,
  .timeline-btns button:hover {
    background: #1D4ED8;
  }

/* 顶部大文章头显示 */
  .page-header {
    text-align: center;
    margin: 40px 0 60px;
  }
  .page-header h1 {
    font-size: 3rem;
    color: #0088cc;
    text-shadow: 1px 1px 3px rgba(0, 136, 204, 0.4);
    margin-bottom: 10px;
  }
  .page-header p {
    font-size: 1.2rem;
    color: #555;
    letter-spacing: 1px;
  }

/* 关于界面的蓝色大气泡 */
  .center-bubble {
    max-width: 800px;       /* 宽度调大 */
    margin: 40px auto;
    padding: 32px 40px;     /* 内边距加大 */
    background: linear-gradient(135deg, #a0d8ef 0%, #70b8d4 100%);
    border-radius: 40px;
    box-shadow: 0 12px 25px rgba(112, 184, 212, 0.5);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;        /* 字号稍微调大 */
    line-height: 1.6;
    text-align: center;
    user-select: none;
    position: relative;
  }

  .center-bubble::before {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 20px solid transparent;
    border-top-color: #70b8d4;
    filter: drop-shadow(0 3px 3px rgba(0,0,0,0.1));
  }

  .center-bubble strong {
    display: block;
    font-size: 28px;        /* 标题放大 */
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
  }

/* 小提示气泡整合包界面的 */
/* 统一调整这部分图片样式 */
.simple-bubble + img {
    display: block;
    max-width: 480px; /* 最大宽度，适当缩小 */
    width: 100%;      /* 响应式宽度，保持比例缩放 */
    height: auto;
    margin: 12px auto 24px auto; /* 上12px，下24px，左右居中 */
    border-radius: 8px; /* 圆角，视觉更柔和 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* 轻微阴影，层次感 */
  }
    .tag {
      display: inline-block;
      background-color: #f3f4f6;
      color: #1f2937;
      border-radius: 12px;
      padding: 2px 8px;
      font-size: 11px;
      margin-left: 2px;
    }
    .tag-green {
      background-color: #d1fae5;
      color: #065f46;
    }
    .tag-pink {
      background-color: #fce7f3;
      color: #9d174d;
    }
    .tag-blue {
      background-color: #dbeafe;
      color: #1e40af;
    }

/* 隐藏所有非toc的卡片显示 */
#aside-content {
    /* 隐藏所有卡片 */
    .card-widget {
      display: none !important;
    }
    
    /* 只显示目录卡片 */
    #card-toc {
      display: block !important;
    }
  }

/* 下载按钮优化显示气泡 */
.download-link {
    display: inline-block;
    background: linear-gradient(to right, #2e2a2d, #30302e); /* 渐变蓝 */
    color: white;
    padding: 6px 16px;
    border-radius: 999px; /* 更圆润的按钮 */
    font-weight: bold;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }
  .download-link:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #050505, #161616); /* 深一点的渐变 */
  }

  body, html {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  

.post-title {
    display: inline-block;
    padding: 8px 24px;
    background-color: #3a76f0;      /* 优雅蓝色背景 */
    color: #ffffff;                 /* 白色字体 */
    font-size: 1.4rem;              /* 稍微小一点 */
    font-weight: 600;
    border-radius: 16px;            /* 大圆角 */
    box-shadow: 0 4px 10px rgba(58, 118, 240, 0.3);  /* 轻柔阴影 */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    text-align: center;
    cursor: default;
    /* 去除图标动画影响 */
}
  
  .post-title:hover {
    background-color: #335fcc;      /* 深一点的蓝色 */
    box-shadow: 0 6px 14px rgba(51, 95, 204, 0.5);
}
  
  
.snackbar-container{
    border-radius: 12px!important;
    background-color: #000000aa!important;
}
.OwO-body{
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: #ffffff77!important;
}

.snackbar-container .action{
    color:var(--june-theme)!important;
    background-color: transparent!important;
}
.snackbar-container{
    font-family: HYTMR,'Bold'!important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
@media screen and (max-width:640px) {
    .snackbar-container {
        border-radius: 0px !important;
        -webkit-border-radius: 0px !important;
        -moz-border-radius: 0px !important;
        -ms-border-radius: 0px !important;
        -o-border-radius: 0px !important;
    }
}

/* aside公告栏按钮美化 */
.social-button .button--animated {
    background: #3eb8be;
    color: rgb(255, 255, 255);
    display: block;
    margin: 4px 0;
    text-align: center;
    line-height: 2.4;
    transition: 0.3s;
    border-radius: 8px;
  }
  
  .social-button .button--animated:hover {
    background-color: #40c4ae;
  }
  
  .social-button .button--animated:active {
    background-color: #339ea3;
  }

/* 文章页背景 */
.layout_post>#post {
    /* 以下代表透明度为0.7 可以自行修改*/
    background: rgba(255,255,255,.8);
}
 
/* 所有页面背景 */
#aside_content .card-widget, #recent-posts>.recent-post-item, .layout_page>div:first-child:not(.recent-posts), .layout_post>#page, .layout_post>#post, .read-mode .layout_post>#post{
    /* 以下代表透明度为0.7 */
    background: rgba(255,255,255,.8);
}
/*侧边卡片的透明度 */
:root {
  --card-bg: rgba(255, 255, 255, .8);
}
/* 页脚透明 */
#footer {
	/* 以下代表透明度为0.7 */
	background: rgba(255,255,255, .0);
}

/* 修复顶栏字体异常颜色并且和删除半透明白色 */
#page-header, #nav {
    background-color: rgba(0, 0, 0, 0) !important;  /* 完全透明 导航栏阴影 */
    box-shadow: none !important; /* 去掉阴影（如果有） */
    backdrop-filter: none !important; /* 去掉毛玻璃模糊效果（如果有） */
}
#page-header a, #nav a {
    color: #fff !important; /* 或你想要的颜色 */
}

/* hr-----改为换行 */
hr {
    border: none !important;
    height: 5px !important;  /* 用高度做空白行 */
    background: transparent !important;
    margin: 5px 0 !important;
  }
  
  hr::before,
  hr::after {
    content: none !important;
    display: none !important;
  }
  

/* 字符提示框   */
code {
  background-color: rgba(19, 15, 15, 0.722) !important;
  color: #fff !important;
  padding: 0.15em 0.4em !important;
  border-radius: 0.6em !important;
  font-size: 1em !important;
  font-family: Consolas, "Courier New", monospace !important;
  white-space: nowrap !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.4) !important;
  transition: background-color 0.3s ease !important;
}
code:hover {
  background-color: rgba(0, 0, 0, 1) !important;
}


/* 主页小按钮气泡 */
.card-tags-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px auto -10px;
    padding: 0 15px;
    max-width: 1000px;
  }
  
  .card-tag {
    background: white;
    color: #333;
    padding: 6px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    user-select: none;
    transition: all 0.3s ease;
  }
  
  .card-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 202, 40, 0.5);
  }
  
  @media (max-width: 768px) {
    .card-tag {
      font-size: 0.85rem;
      padding: 5px 12px;
    }
  }

/* 一种气泡显示文章整合包tcspack界面 */
.simple-bubble {
    background: linear-gradient(135deg, #f9fafb, #e5e7eb); /* 浅灰白渐变 */
    color: #374151; /* 深灰色文字，清晰且柔和 */
    padding: 10px 20px;
    border-radius: 12px;
    max-width: 600px;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 5px 15px rgba(156, 163, 175, 0.3); /* 轻柔阴影 */
    margin: 16px 0;
    user-select: text;
  }
  
  /* 大图标切换跳转来自排行榜切换图标 */
  .region-switcher {
      display: flex;
      justify-content: center;
      margin: 20px 0;
      gap: 15px;
    }
    
    .region-switcher button {
      padding: 10px 22px;
      font-size: 16px;
      font-weight: 500;
      border: 2px solid transparent;
      border-radius: 999px;
      background: linear-gradient(to right, #ffffff, #f5faff);
      color: #0078d7;
      cursor: pointer;
      transition: 
        background 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
      box-shadow: 0 2px 5px rgba(0, 120, 215, 0.08);
    }
    
    .region-switcher button.active,
    .region-switcher button:hover {
      background: linear-gradient(to right, #0078d7, #00a2ff);
      color: white;
      border-color: #00a2ff;
      box-shadow: 0 6px 15px rgba(0, 120, 215, 0.35);
    }
    
#aside-content #card-toc .toc-content .toc-link.active {
    border-left-color: var(--ahzoo-deep-blue);
    background: var(--btn-bg);
    border-radius: 7px;
    box-shadow: 0 8px 12px -3px rgba(73,177,245,0.2);
}

#go-up {
    bottom: 30px !important;
    right: 30px !important;
    width: 30px !important;      /* 圆圈变小 */
    height: 30px !important;
    padding: 0 !important;
    border: none !important;
    background-color: #f0f0f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    transition: background-color 0.3s ease !important;
  }
  
  #go-up:hover {
    background-color: #e0e0e0 !important;
  }
  
  #go-up i {
    font-size: 16px !important;  /* 保持原大小 */
    color: #333 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    line-height: 1 !important;
    display: block !important;
  }
  
  #to_comment {
    bottom: 80px !important;
    right: 30px !important;
    width: 30px !important;      /* 圆圈变小 */
    height: 30px !important;
    background-color: #f0f0f0 !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    z-index: 9999 !important;
  }
  
  #to_comment i {
    font-size: 16px !important;
    color: #333 !important;
    line-height: 1 !important;
    width: 100% !important;
    text-align: center !important;
    font-weight: inherit !important;
    display: block !important;
  }
  
/* 默认隐藏 */
#mobile-toc-button {
    display: none !important;
  }
  
  /* 小屏幕（手机）显示 */
  @media (max-width: 768px) {
    #mobile-toc-button {
      display: flex !important;
      bottom: 120px !important; /* 比评论按钮再高点，避免重叠 */
      right: 30px !important;
      width: 30px !important;
      height: 30px !important;
      background-color: #f0f0f0 !important;
      border-radius: 50% !important;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
      border: none !important;
      padding: 0 !important;
      cursor: pointer !important;
      align-items: center !important;
      justify-content: center !important;
      font-family: "Font Awesome 5 Free" !important;
      font-weight: 900 !important;
      text-decoration: none !important;
      z-index: 9999 !important;
    }
    #mobile-toc-button i {
      font-size: 16px !important;
      color: #333 !important;
      line-height: 1 !important;
      width: 100% !important;
      text-align: center !important;
      font-weight: inherit !important;
      display: block !important;
    }
  }
  
/* 隐藏评论关于 */
.atk-copyright {
    display: none !important;
  }
  
/* 手机端隐藏左右小图标按钮 */
@media (max-width: 767px) {
    .side-btn-container.left,
    .side-btn-container.right {
      display: none !important;
    }
  }

/* 手机隐藏显示top */
@media (max-width: 767px) {
    #top1-bubble-container {
      display: none !important;
    }
  }
    

/* ===== 名人堂章节标题 (H2样式修正) ===== */
.hof-section-title {
    text-align: left;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffa500;
    margin: 20px auto 8px auto;
    max-width: 1200px;
    padding-left: 10px;
    border-left: 5px solid #ffa500;
    line-height: 1.4;
  }
  .hof-section-title span {
    color: #ff69b4;
    font-size: 1.05rem;
    font-weight: 600;
    margin-left: 6px;
  }
  /* 避免 h2 默认的 margin-top 太大 */
  h2.hof-section-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
  }