@charset "UTF-8";
.community-container[data-v-58425c7e] {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.875rem;
  font-family: Arial, sans-serif;
}
.top-nav[data-v-58425c7e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 73.5%;
  /* 与 .content-grid 一致 */
  height: 2.875rem;
  background: #20293A;
  border-radius: 0.5rem;
  padding: 0 1.25rem;
}
.nav-items[data-v-58425c7e] {
  display: flex;
  gap: 1.25rem;
}
.nav-item[data-v-58425c7e] {
  color: #fff;
  cursor: pointer;
  padding: 0.625rem;
  text-align: center;
}
.nav-item[data-v-58425c7e]:hover {
  font-weight: bold;
  color: #3B3559;
  background: #FFFFFF;
  border-radius: 0.5rem;
}
.nav-item.active[data-v-58425c7e] {
  font-weight: bold;
  color: #3B3559;
  background: #FFFFFF;
  border-radius: 0.5rem;
}
.nav-right[data-v-58425c7e] {
  display: flex;
  gap: 0.625rem;
  align-items: center;
}
.search-bar[data-v-58425c7e] {
  display: flex;
  align-items: center;
  width: 13.8125rem;
  height: 2rem;
  border-radius: 7.3125rem;
  border: 0.0625rem solid #374353;
  background: #20293A;
  padding: 0 0.625rem;
}
.search-icon[data-v-58425c7e] {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}
.search-input[data-v-58425c7e] {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
}
.search-input[data-v-58425c7e]::-moz-placeholder {
  color: #aaa;
}
.search-input[data-v-58425c7e]::placeholder {
  color: #aaa;
}
.icon-toggle[data-v-58425c7e] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.125rem;
  height: 2rem;
  background: #111723;
  box-shadow: inset 0 0.25rem 0.625rem 0 rgba(0, 0, 0, 0.3);
  border-radius: 9.625rem;
  position: relative;
}
.toggle-icon[data-v-58425c7e] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toggle-icon.active[data-v-58425c7e] {
  opacity: 1;
  transform: scale(1.2);
}
.content-wrapper[data-v-58425c7e] {
  display: flex;
  gap: 0.625rem;
  position: relative;
}
.content-grid[data-v-58425c7e] {
  display: grid;
  grid-template-columns: repeat(2, 44rem);
  gap: 0.625rem;
  width: 80%;
  /* 保持百分比宽度 */
}

/* 针对 2880px 到 4320px 屏幕 */

/* 针对 4320px 到 5760px 屏幕 */
@media (min-width: 4320px) and (max-width: 5760px) {
.content-grid[data-v-58425c7e] {
    display: grid;
    margin-left: -6.25rem;
    gap: 0.625rem;
    width: 80%;
    /* 保持百分比宽度 */
    grid-template-columns: repeat(2, 50.25rem);
}
}

/* 针对大于 5760px 的超大屏幕 */
@media (min-width: 5760px) {
.content-grid[data-v-58425c7e] {
    margin-left: -18.75rem;
    grid-template-columns: repeat(2, 62.75rem);
}
}
.content-grid-wrapper[data-v-58425c7e] {
  position: relative;
  /* 为 sticky 定位提供上下文 */
  width: 100%;
  max-width: 90rem;
  /* 最大宽度 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* 网格与分页器之间的间距 */
  min-height: 100vh;
  /* 确保容器高度足够 */
}

/* 加载遮罩层 - 使用视口单位 */

/* 加载遮罩层 - 覆盖父容器 */
.loading-overlay[data-v-58425c7e] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* 相对于父容器 */
  height: 100%;
  /* 相对于父容器 */
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  border-radius: 0.5rem;
  /* 如果父容器有圆角 */
}
.content-card[data-v-58425c7e] {
  width: 100%;
  /* 使用 100% 宽度，适应父容器 */
  height: auto;
  /* 移除固定高度，让高度自适应内容 */
  min-height: 18.75rem;
  /* 设置最小高度以保持美观 */
  background: #20293A;
  border-radius: 1.25rem;
  border: 0.0625rem solid #374353;
  padding: 1.25rem;
  color: #fff;
  cursor: pointer;
  box-sizing: border-box;
  /* 确保 padding 不增加总尺寸 */
}
.content-card h4[data-v-58425c7e] {
  min-height: 1.25rem;
  max-height: 1.25rem;
}
.content-card p[data-v-58425c7e] {
  margin-top: 0.375rem;
  min-height: 1.25rem;
  max-height: 1.25rem;
}
.content-image[data-v-58425c7e] {
  width: 100%;
  height: 18.75rem;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0.625rem;
}
.content-text[data-v-58425c7e] {
  font-size: 0.875rem;
  margin: 0.625rem 0;
  height: 1.875rem;
}
.user-info[data-v-58425c7e] {
  display: flex;
  align-items: center;
  cursor: pointer;
  /* 鼠标悬停时变成手型 */
  margin-top: 0.625rem;
  gap: 0.625rem;
}
.user-avatar[data-v-58425c7e] {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}
.user-details[data-v-58425c7e] {
  display: flex;
  flex-direction: column;
}
.user-name[data-v-58425c7e] {
  font-weight: bold;
}
.update-time[data-v-58425c7e] {
  font-size: 0.75rem;
  color: #aaa;
}
.card-footer[data-v-58425c7e] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  margin-top: 2.75rem;
}
.stats[data-v-58425c7e] {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #aaa;
  cursor: pointer;
  /* 鼠标悬停时变成手型 */
}
.right-stats[data-v-58425c7e] {
  position: absolute;
  /* 使用绝对定位 */
  bottom: 0.625rem;
  /* 距离底部 10px */
  right: 0.625rem;
  /* 距离右侧 10px */
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #aaa;
  width: 12.5rem;
  margin-top: 1.4375rem;
  justify-content: flex-end;
  /* 右对齐 */
}
.stat-icon[data-v-58425c7e] {
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  margin-right: 0.3125rem;
}
.posts[data-v-58425c7e] {
  width: 100%;
  /* 占满父容器 */
  max-height: 37.5rem;
  /* 设置最大高度，防止过长 */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #374353 #20293A;
  padding-left: 0.5rem;
  box-sizing: border-box;
}
.posts[data-v-58425c7e]::-webkit-scrollbar {
  width: 0.5rem;
}
.posts[data-v-58425c7e]::-webkit-scrollbar-track {
  background: #20293A;
  border-radius: 0.625rem;
}
.posts[data-v-58425c7e]::-webkit-scrollbar-thumb {
  background: #374353;
  border-radius: 0.625rem;
}
.posts[data-v-58425c7e]::-webkit-scrollbar-thumb:hover {
  background: #4a5a6e;
}
.post-item[data-v-58425c7e] {
  position: relative;
  /* 父容器设置为相对定位，作为绝对定位的参考 */
  display: flex;
  gap: 0.625rem;
  width: 100%;
  /* 使用 100% 宽度，适应父容器 */
  height: auto;
  /* 高度自适应 */
  min-height: 7.5rem;
  /* 确保内容可显示 */
  background: #20293A;
  border-radius: 1.25rem;
  border: 0.0625rem solid #374353;
  margin-bottom: 0.625rem;
  padding: 0.625rem;
  box-sizing: border-box;
}
.post-item h4[data-v-58425c7e] {
  width: 100%;
  /* 使用 100% 宽度，适应父容器 */
  white-space: nowrap;
  /* 不允许文本换行 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 使用省略号表示超出文本 */
}
.right-panel[data-v-58425c7e] {
  width: calc(100% - 70% - 11.875rem);
  /* 100% - .content-grid 的宽度 - gap */
  min-width: 24.375rem;
  /* 减小最小宽度，适应小屏幕 */
  height: 62.125rem;
  background: #20293A;
  border-radius: 1.25rem;
  border: 0.0625rem solid #374353;
  padding: 1.25rem;
  color: #fff;
  margin-top: -3.5rem;
  display: flex;
  flex-direction: column;
}
.publish-options[data-v-58425c7e] {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.user-profile[data-v-58425c7e] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}
.profile-avatar[data-v-58425c7e] {
  width: 4.375rem;
  height: 4.375rem;
  border-radius: 50%;
}
.username[data-v-58425c7e] {
  font-size: 1.125rem;
  font-weight: bold;
}
.bio[data-v-58425c7e] {
  font-size: 0.875rem;
  color: #aaa;
  text-align: center;
}
.stats-row[data-v-58425c7e] {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  justify-content: center;
}
.stat-item[data-v-58425c7e] {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.stat-item[data-v-58425c7e]:hover {
  opacity: 0.8;
}
.stat-value[data-v-58425c7e] {
  font-weight: bold;
}
.stat-label[data-v-58425c7e] {
  color: #aaa;
}
.publish-title[data-v-58425c7e] {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}
.publish-tabs[data-v-58425c7e] {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}
.tab[data-v-58425c7e] {
  font-size: 0.875rem;
  color: #aaa;
  cursor: pointer;
  padding: 0.625rem;
}
.tab[data-v-58425c7e]:hover {
  padding: 0.625rem;
  background: #FFFFFF;
  border-radius: 0.5rem;
  color: #3B3559;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tab.active[data-v-58425c7e] {
  padding: 0.625rem;
  background: #FFFFFF;
  border-radius: 0.5rem;
  color: #3B3559;
  display: flex;
  align-items: center;
  justify-content: center;
}
.publish-btn[data-v-58425c7e] {
  width: 5rem;
  height: 2.25rem;
  background: #AD2935;
  border-radius: 0.5rem;
  color: #fff;
  border: none;
  cursor: pointer;
  margin-left: auto;
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
  font-size: 0.875rem;
  /* 确保字体大小合适 */
  padding: 0;
  /* 移除默认内边距 */
}
.image-time-container[data-v-58425c7e] {
  display: flex;
  flex-direction: column;
  /* 确保图片和时间上下排列 */
  gap: 0.5rem;
  /* 图片与时间之间的间距 */
}
.post-image[data-v-58425c7e] {
  width: 8.75rem;
  height: 5.875rem;
  border-radius: 0.5rem;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 0.625rem;
}
.post-content[data-v-58425c7e] {
  flex: 1;
  width: 10.625rem;
}
.post-content p[data-v-58425c7e] {
  width: 100%;
  /* 使用 100% 宽度，适应父容器 */
  font-size: 0.875rem;
  margin: 0.625rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  /* 超长文本显示省略号 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* 限制为两行 */
  -webkit-box-orient: vertical;
  word-break: break-all;
  /* 防止长单词破坏布局 */
}
.post-content h4[data-v-58425c7e] {
  -webkit-line-clamp: 1;
  /* 限制为两行 */
  text-overflow: ellipsis;
  /* 超长文本显示省略号 */
  width: 100%;
  /* 使用 100% 宽度，适应父容器 */
}
.post-item h4[data-v-58425c7e] {
  font-size: 1rem;
  margin: 0;
}
.post-item p[data-v-58425c7e] {
  font-size: 0.875rem;
  color: #aaa;
  margin: 0.625rem 0;
}
.post-time[data-v-58425c7e] {
  font-size: 0.75rem;
  color: #aaa;
  /* margin-left: -130px; */
  /* margin-top: 30px !important; */
  /* margin-bottom: -40px !important; */
}
.post-stats[data-v-58425c7e] {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: #aaa;
}

/* 分页控件样式 */
.pagination-wrapper[data-v-58425c7e] {
  display: flex;
  justify-content: center;
  /* 水平居中 */
  padding: 0 0.625rem;
  /* 防止边缘贴合 */
  width: 100%;
  /* 占满父容器宽度 */
  max-width: 90rem;
  /* 与 .content-grid-wrapper 一致 */
  box-sizing: border-box;
  /* 确保 padding 不增加宽度 */
  margin-left: 37.5rem;
}

/* 加载和错误样式 */
.loading[data-v-58425c7e],
.error[data-v-58425c7e],
.empty[data-v-58425c7e] {
  display: flex;
  gap: 0.625rem;
  height: 8.5rem;
  background: #20293A;
  border-radius: 1.25rem;
  border: 0.0625rem solid #374353;
  margin-bottom: 0.625rem;
  padding: 0.625rem;
}

/* 弹窗样式 */
.custom-dialog[data-v-58425c7e] .el-dialog {
  width: 49.875rem;
  height: 34.4375rem;
  background: #111723;
  border-radius: 1.25rem;
  border: 0.0625rem solid #374353;
  margin-top: 15vh !important;
}
.custom-dialog[data-v-58425c7e] .el-dialog__header {
  display: none;
}
.custom-dialog[data-v-58425c7e] .el-dialog__body {
  padding: 0;
}
.modal-header[data-v-58425c7e] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 3.75rem;
  background: #111723;
  border-radius: 1.25rem 1.25rem 0 0;
  border: 0.0625rem solid #374353;
  padding: 0 1.25rem;
}
.modal-title[data-v-58425c7e] {
  font-size: 1.125rem;
  font-weight: bold;
  color: #fff;
}
.modal-logo[data-v-58425c7e] {
  width: 5.625rem;
  height: 1.75rem;
}
.modal-close[data-v-58425c7e] {
  font-size: 1.5rem;
  font-family: Arial, sans-serif;
  color: #fff;
  cursor: pointer;
  line-height: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1.875rem;
}
.modal-close[data-v-58425c7e]:hover {
  color: #AD2935;
}
.modal-content[data-v-58425c7e] {
  padding: 1.25rem;
  max-height: 30.6875rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #374353 #111723;
}
.modal-content[data-v-58425c7e]::-webkit-scrollbar {
  width: 0.5rem;
}
.modal-content[data-v-58425c7e]::-webkit-scrollbar-track {
  background: #111723;
  border-radius: 0.625rem;
}
.modal-content[data-v-58425c7e]::-webkit-scrollbar-thumb {
  background: #374353;
  border-radius: 0.625rem;
}
.modal-content[data-v-58425c7e]::-webkit-scrollbar-thumb:hover {
  background: #4a5a6e;
}
.modal-item[data-v-58425c7e] {
  display: flex;
  align-items: center;
  gap: 0.9375rem;
  padding: 0.625rem 0;
  border-bottom: 0.0625rem solid #374353;
}
.modal-avatar[data-v-58425c7e] {
  width: 3.125rem;
  height: 3.125rem;
  border-radius: 50%;
}
.modal-user-info[data-v-58425c7e] {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
}
.modal-username[data-v-58425c7e] {
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}
.modal-stats[data-v-58425c7e] {
  font-size: 0.875rem;
  color: #aaa;
}
.modal-action-btn[data-v-58425c7e] {
  width: 6rem;
  height: 2.25rem;
  background: #AD2935;
  border-radius: 0.5rem;
  color: #fff;
  border: none;
  cursor: pointer;
}
.modal-action-btn.unfollow[data-v-58425c7e] {
  background: #374353;
}
.modal-action-btn[data-v-58425c7e]:hover {
  opacity: 0.8;
}
.post-meta[data-v-58425c7e] {
  display: flex;
  justify-content: space-between;
  /* 左右对齐 */
  align-items: center;
  /* 垂直居中 */
}
