/* 信息弹窗 */
.profile-card {
    position: absolute;
    top: 70px;
    right: -10px;
    width: 200px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 12px;
    grid-template-areas: 
      "avatar"
      "name"
      "points"
      "links";
    z-index: 10000000;
  }

  /* 鼠标悬停时显示 */
  #logged-in:hover .profile-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
  }

  /* Grid 子元素样式 */
  .user-avatar {
    grid-area: avatar;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .user-name {
    grid-area: name;
    text-align: center;
    margin: 0;
    font-size: 1.2em;
    color: #333;
  }

  .user-points {
    grid-area: points;
    text-align: center;
    background: #f5f5f5;
    padding: 8px;
    border-radius: 4px;
    font-size: 1em;
  }

  .menu-links {
    grid-area: links;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    padding-top: 12px;
  }

  .menu-links a {
    color: #666;
    text-decoration: none;
    font-size: 1.3em;
    transition: color 0.2s;
  }

  .menu-links a:hover {
    color: #1a1a1a;
  }

  /* ------------------------------ */

  .banner-archive {
    width: 100%; /* 确保宽度覆盖整个视口 */
    background-color: #040a20; /* 背景颜色 */
    color: #fff; /* 文本颜色 */
    text-align: center; /* 内容居中 */
    padding: 20px 0; /* 上下内边距 */
    margin: 0; /* 移除外边距 */
    box-sizing: border-box; /* 包括内边距和边框 */
    margin-bottom: 40px; /* 底部外边距 */
  }

  .banner-archive .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .banner-archive .archive-avatar {
    margin-bottom: 10px; /* 头像与标题之间的间距 */
  }

  .banner-archive .archive-avatar img {
    border-radius: 50%; /* 圆形头像 */
    width: 100px; /* 头像宽度 */
    height: 100px; /* 头像高度 */
    object-fit: cover; /* 确保图片适应容器 */
    border: 2px solid #fff; /* 白色边框 */
  }

  .banner-archive .archive-title {
    font-size: 24px; /* 标题字体大小 */
    font-weight: bold; /* 标题加粗 */
    margin: 0; /* 去掉默认外边距 */
  }

  .banner-archive p {
    font-size: 14px; /* 描述文字字体大小 */
    margin: 5px 0 0; /* 上下间距 */
    color: #ccc; /* 描述文字颜色 */
  }

  .bg-archive {
    position: relative;
    width: 100%; /* 宽度铺满 */
    height: 200px; /* 设置高度 */
    background-image: url('https://aidenxl.oss-cn-beijing.aliyuncs.com/td/img/d.png'); /* 设置背景图片 */
    background-size: cover; /* 背景图片覆盖 */
    background-position: center; /* 背景图片居中 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; /* 字体颜色 */
  }

  .bg-title {
    font-size: 32px; /* 标题字体大小 */
    font-weight: bold; /* 标题加粗 */
    margin: 0; /* 去掉默认外边距 */
  }

  .bg-subtitle {
    font-size: 16px; /* 副标题字体大小 */
    margin: 10px 0 0; /* 上下间距 */
    color: #ccc; /* 副标题颜色 */
  }

  .tgBtn {
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 26px;
    color: #efefef;
    background-color: #1A202C;
    border-radius: 5px;
    padding: 0px 8px
  }


  .more-btn {
    all: unset;
    margin: 0 5px 40px 0;
    display: inline-block;
    padding: 8px 45px;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-decoration: none;
    /* background-color:#000;; */
    color: #1a1a1a !important;
    cursor: pointer;
    text-decoration: none;
}
.more-btn:hover {
  color: #545454 !important;
}