/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[3]!./src/app/page.module.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/* 移动端优化的主页样式 */

/* 瀑布流网格布局 */
.page_masonryGrid__ippD2 {
  column-count: 2;
  column-gap: 12px;
  padding: 16px;
  width: 100%;
  margin: 0 auto;
  max-width: 100%;
  margin-top: 10px;
  /* 间距已在 contentArea padding-top 中处理 */
}

/* 固定头部样式 */
.page_stickyHeader__4rOk9 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  z-index: 2000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page_headerTitle__3tMIM {
  font-size: 16px;
  font-weight: 800;
  color: #333;
  letter-spacing: 1.5px;
  font-family: '"PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif';
  padding: 4px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  background: linear-gradient(to right,
      #e1f5fe 0%,
      /* 浅蓝色 */
      #fce4ec 25%,
      /* 粉色 */
      #ffffff 50%,
      /* 白色 */
      #fce4ec 75%,
      /* 粉色 */
      #e1f5fe 100%
      /* 浅蓝色 */
    );
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_headerSearchWrapper__Wub_9 {
  position: absolute;
  right: 16px;
  display: flex;
  align-items: center;
}

/* 标题栏框与滚动条样式 - 改为小红书式隐藏/固定显示 */
.page_titleBoxWithScroll__UFAeX {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  height: 44px;
  /* 设置明确的高度，以便精确控制间距 */
  background: #fff;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.page_titleBoxHidden__gIaTf {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.page_titleBoxVisible__9OyOy {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.page_tagsScrollContainer__OL9Cw {
  display: flex;
  flex-direction: row;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0 16px;
  height: 100%;
  align-items: center;
  line-height: normal;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.page_tagsScrollContainer__OL9Cw::-webkit-scrollbar {
  display: none;
}

.page_tagsScrollContainer__OL9Cw::-webkit-scrollbar-track {
  background: #f1f1f1;
  /* 轨道背景色稍微加深一点 */
  border-radius: 10px;
  margin: 0 12px;
  /* 让滚动条缩进一点，不顶满两头 */
}

.page_tagsScrollContainer__OL9Cw::-webkit-scrollbar-thumb {
  background: #bbbbbb;
  /* 更深的颜色，确保可见 */
  border-radius: 10px;
}

.page_tagsScrollContainer__OL9Cw::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

@media (min-width: 480px) {
  .page_masonryGrid__ippD2 {
    column-gap: 16px;
    padding: 20px;
  }
}

@media (min-width: 640px) {
  .page_masonryGrid__ippD2 {
    column-count: 3;
    max-width: 1200px;
  }
}

@media (min-width: 1024px) {
  .page_masonryGrid__ippD2 {
    column-count: 4;
  }
}

/* 瀑布流项目 */
.page_masonryItem__qNiCB {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 16px;
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
  border: none;
  transform: translateZ(0);
  padding: 0;
  font-size: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.page_masonryItem__qNiCB:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.page_masonryItem__qNiCB:active {
  transform: translateY(-2px) scale(1.01);
  transition-duration: 0.1s;
}

/* 移动端搜索容器 */
.page_searchContainer__P42ME {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  position: absolute;
  top: 50px;
  /* 位于 50px 固定头部下方 */
  left: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  flex-wrap: nowrap;
  overflow: hidden;
  /* 防止内容在隐藏时溢出 */
}

.page_searchVisible__TXYp4 {
  opacity: 1;
  visibility: visible;
  max-height: 80px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page_searchHidden__9w_gD {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  padding: 0 16px;
  border-bottom: none;
}

/* 搜索图标按钮 */
.page_searchIconButton__01hXq {
  background: transparent !important;
  /* 强制覆盖全局按钮样式 */
  color: #000;
  border: none !important;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-shadow: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.page_searchIconButton__01hXq:hover {
  opacity: 0.7;
}

.page_searchIconButton__01hXq:active {
  opacity: 0.5;
}

/* 搜索输入框容器 */
.page_searchInputWrapper__4rt5u {
  flex: 1;
  position: relative;
  max-width: 300px;
  display: flex;
  align-items: center;
}

.page_searchIcon__6lYzk {
  position: absolute;
  left: 12px;
  z-index: 1;
  pointer-events: none;
  color: #999;
}

.page_searchInput__spYJs {
  flex: 1;
  padding: 12px 40px 12px 40px;
  border-radius: 22px;
  border: 1px solid #e5e5e5;
  background: white;
  font-size: 16px;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.page_searchInput__spYJs:focus {
  border-color: #ff385c;
  box-shadow: 0 4px 16px rgba(255, 56, 92, 0.1);
}

.page_searchInput__spYJs::placeholder {
  color: #999;
  font-size: 15px;
}

.page_clearButton__vwH1e {
  position: absolute;
  right: 12px;
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  aspect-ratio: 1 / 1;
  flex: 0 0 20px;
  border-radius: 50%;
  transition: all 0.2s ease;
  color: #666;
}

.page_clearButton__vwH1e:hover {
  background-color: #e5e5e5;
  color: #333;
}

.page_searchButton__vE0yS {
  padding: 12px 20px;
  border-radius: 22px;
  border: none;
  background: linear-gradient(135deg, #ff385c 0%, #ff5a75 100%);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 56, 92, 0.2);
  min-width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.page_searchButton__vE0yS:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 56, 92, 0.3);
}

.page_searchButton__vE0yS:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(255, 56, 92, 0.2);
}

.page_searchButton__vE0yS:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* 加载动画 */
.page_loadingSpinner__enSbi {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: page_spin__W_8_q 0.8s linear infinite;
  display: inline-block;
}

@keyframes page_spin__W_8_q {
  to {
    transform: rotate(360deg);
  }
}

.page_resetButton__udfRK {
  padding: 10px 15px;
  border-radius: 20px;
  border: 1px solid #e0e7ff;
  background: white;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 8px rgba(166, 193, 238, 0.1);
}

.page_resetButton__udfRK:hover {
  background: #f9fafb;
  color: #2563eb;
  box-shadow: 0 4px 12px rgba(166, 193, 238, 0.15);
}

.page_resetButton__udfRK:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.page_masonryItem__qNiCB {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
}

/* 图片包装器样式 - 修复圆角 */
.page_imageWrapper__OufeY {
  position: relative;
  width: 100%;
  overflow: hidden;
  transform: translateZ(0);
  /* 启用GPU加速 */
  border-radius: 8px 8px 0 0;
  margin: -1px -1px 0 -1px;
  /* 修复边缘可能的空隙 */
  width: calc(100% + 2px);
  /* 补偿左右边缘的-1px */
}

/* 图片覆盖层渐变效果 */
.page_imageOverlay__rME_y {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 图片加载动画 */
@keyframes page_imageFadeIn__gwCe2 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.page_image__NPJyO {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
  animation: page_imageFadeIn__gwCe2 0.5s ease forwards;
  will-change: transform;
  /* 提示浏览器这个元素会发生变化，优化性能 */
}

.page_masonryItem__qNiCB:hover .page_image__NPJyO {
  transform: scale(1.05);
}

.page_container__aoG4z {
  padding: 10px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.page_categoryList__37T_A {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page_categoryList__37T_A li {
  font-size: 18px;
  font-weight: bold;
}

.page_categoryList__37T_A a {
  text-decoration: none;
  color: #007bff;
}

.page_categoryList__37T_A a:hover {
  color: #0056b3;
}

.page_header__kVzhN {
  width: 100%;
  height: 0;
  position: relative;
}

.page_avatar__m7D8N {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
  /* 保持图像比例并填满容器 */
  object-position: center;
  /* 确保图像居中 */
  border: 2px solid rgba(255, 255, 255, 0.8);
  /* 添加微妙的白色边框 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* 添加轻微阴影 */
}

.page_navList___6Jon {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.page_navList___6Jon li {
  font-size: 14px;
}

/* 顶部左侧文本样式 */
.page_topLeftText__XElyw {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 24px;
  font-weight: bold;
  color: #222;
  background: linear-gradient(180deg, #5BCEFA 0%, #5BCEFA 20%, #F5A9B8 20%, #F5A9B8 40%, #FFFFFF 40%, #FFFFFF 60%, #F5A9B8 60%, #F5A9B8 80%, #5BCEFA 80%, #5BCEFA 100%);
  padding: 5px 18px;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(246, 180, 255, 0.10);
  letter-spacing: 2px;
  user-select: none;
  cursor: pointer;
}

.page_topLeftText__XElyw:after {
  content: "边缘人";
  position: absolute;
  left: 18px;
  top: 7px;
  color: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

.page_topLeftText__XElyw:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* 边缘人文本点击动画效果 */
@keyframes page_logoPopEffect__m8vFO {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

.page_logoAnimate__h34iy {
  animation: page_logoPopEffect__m8vFO 0.5s ease;
}

/* 个人信息框样式 */
.page_profileBox__c2hLO {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.page_profileBox__c2hLO:hover {
  transform: translateY(-2px);
}

.page_profileText__5XOHc {
  color: #2563eb;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding-left: 2px;
  padding-right: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page_homeIcon__yaIiq {
  color: #ff69b4;
  transition: transform 0.2s ease;
}

.page_profileText__5XOHc:hover .page_homeIcon__yaIiq {
  transform: scale(1.1);
}

.page_profileText__5XOHc:hover {
  color: #d6246f;
}

.page_avatar__m7D8N {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  object-fit: cover;
  /* 保持图像比例并填满容器 */
  object-position: center;
  /* 确保图像居中 */
  border: 2px solid rgba(255, 255, 255, 0.8);
  /* 添加微妙的白色边框 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* 添加轻微阴影 */
}

/* 搜索信息区域 */
.page_searchInfo__BBVf3 {
  text-align: center;
  color: #4b5563;
  background: rgba(224, 231, 255, 0.3);
  padding: 8px 15px;
  margin: 0 auto 10px;
  width: fit-content;
  border-radius: 20px;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(166, 193, 238, 0.1);
}

.page_searchTerm__9JFtl {
  color: #2563eb;
  font-weight: 600;
}

/* 无结果提示区域 */
.page_noResults__DnXgq {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #64748b;
  text-align: center;
}

.page_noResults__DnXgq svg {
  margin-bottom: 10px;
  opacity: 0.6;
}

.page_noResults__DnXgq p {
  margin: 5px 0;
  font-size: 16px;
  font-weight: 500;
}

.page_noResultsTip__27vi5 {
  font-size: 14px !important;
  opacity: 0.8;
  font-weight: normal !important;
}

/* 容器基本样式 */
.page_container__aoG4z {
  padding: 10px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

/* 头部区域 */
.page_header__kVzhN {
  width: 100%;
  height: 0;
  position: relative;
}

/* 标签区域 */
.page_horizontalBar__68HlW {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 18px;
  padding: 0;
  overflow: visible;
}

.page_tags__sNgiG {
  display: flex;
  flex-direction: row;
  gap: 14px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding: 14px 20px;
  margin: 0;
  scrollbar-width: none;
  align-items: center;
  width: auto;
  position: relative;
  z-index: 1;
}

.page_tags__sNgiG::-webkit-scrollbar {
  display: none;
}

.page_tag__lW6GL {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #666;
  padding: 8px 4px;
  /* 稍微增加点击区域和空间，适应固定栏 */
  font-size: 14px;
  line-height: normal;
  font-weight: 400;
  cursor: pointer;
  outline: none;
  margin: 0;
  position: relative;
  border: none !important;
  transition: all 0.2s ease;
  box-shadow: none !important;
  flex-shrink: 0;
}

.page_tag__lW6GL:hover {
  color: #333;
}

.page_activeTag__bsydo {
  color: #333 !important;
  font-weight: 600 !important;
  transform: none !important;
}

.page_activeTag__bsydo::after {
  content: "";
  position: absolute;
  bottom: 0px;
  /* 调整红线位置 */
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background-color: #ff2442;
  border-radius: 2px;
}

/* 头像角落 */
.page_avatarCorner___DpFh {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  transform: translateZ(0);
}

.page_avatarCorner___DpFh:hover {
  transform: scale(1.12);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.35);
}

.page_avatarCircle___Z7ny {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  background: #f3f4f6;
  display: block;
}

/* 媒体容器 */
.page_mediaContainer__v5jkd {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0;
  line-height: 0;
}

.page_video__eMnRz {
  width: 100%;
  height: 220px;
  max-height: 280px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  background: #000;
}

.page_noMedia__pb6f2 {
  color: #94a3b8;
  font-size: 16px;
  height: 180px;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* 帖子信息 */
.page_postInfo__d9_HZ {
  padding: 6px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  background: #fff;
  position: relative;
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  line-height: normal;
  max-height: 105px;
  overflow: hidden;
}

.page_postTitle__uxSIe {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1a202c;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  max-height: 44.8px;
}

.page_postDescription__jrURk {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
  max-height: 39.2px;
}

.page_readMoreOverlay__4Ui_r {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0 8px;
  background: linear-gradient(to right, transparent, white 40%);
  display: flex;
  align-items: center;
  height: 100%;
}

.page_readMoreText__EI7aH {
  font-size: 12px;
  color: #2563eb;
  margin-left: auto;
}

.page_postMeta__aHT1V {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-left: 44px;
}

.page_postAuthor__LbNzV {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.page_postTags__g_FAF {
  display: flex;
  gap: 6px;
}

.page_postTag__xt1fq {
  background: #ebf4ff;
  color: #3b82f6;
  border-radius: 10px;
  padding: 3px 8px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
}

.page_moreTags__IPNEk {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* 图片骨架屏 */
.page_skeleton___FdI7 {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: page_shimmer__qPtWe 1.5s infinite;
  border-radius: 8px 8px 0 0;
  min-height: 180px;
  max-height: 320px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  transition: opacity 0.3s ease;
  margin: -1px -1px 0 -1px;
  width: calc(100% + 2px);
}

@keyframes page_shimmer__qPtWe {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.page_imageLoaded__UHo6n {
  opacity: 1;
}

.page_imageLoading__fWnew {
  opacity: 0;
}

/* 图片修复 */
.page_imageWrapperFix__Gp1Xw {
  position: relative;
  width: 100%;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  transform: translateZ(0);
  background: #fff;
  font-size: 0;
  display: block;
  line-height: 0;
}

.page_imageFix__Yhfpg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin: 0;
  padding: 0;
  max-height: 320px;
}

.page_masonryItem__qNiCB:hover .page_imageFix__Yhfpg {
  transform: scale(1.05);
}

.page_resetButton__udfRK:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* 内容区域 */
.page_contentArea__r4RWt {
  width: 100%;
  padding-top: 95px;
  /* 50px(Header) + 44px(Tags) + 1px(Gap) */
}

/* 移除导致抖动的 transform 动画，改为在标签栏内部移动 */
.page_contentMoveUp__d_KuN {
  transform: none;
}

/* 这里保留原有的CSS样式，但社交指标部分已不再使用 */
/* 如果后续确定不需要，可以完全删除这些样式 */

/* 统一解决图片容器和白边问题 */
.page_mediaContainerFix__WFL6H {
  position: relative;
  width: 100%;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: #fff;
}

.page_imageWrapperFix__Gp1Xw {
  position: relative;
  width: 100%;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  transform: translateZ(0);
  background: #fff;
  font-size: 0;
  /* 消除任何可能的空白 */
  display: block;
  line-height: 0;
}

.page_imageFix__Yhfpg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  margin: 0;
  padding: 0;
  max-height: 320px;
  /* 限制图片最大高度 */
}

.page_masonryItem__qNiCB:hover .page_imageFix__Yhfpg {
  transform: scale(1.05);
}

/* 移动端标签栏样式 */
.page_tagsContainer__pPhOV {
  padding: 8px 16px;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 72px;
  z-index: 9;
}

.page_tagsScroll__ozgE_ {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page_tagsScroll__ozgE_::-webkit-scrollbar {
  display: none;
}

.page_tagItem__7wM73 {
  background: #f5f5f5;
  color: #666;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.page_tagItem__7wM73:hover,
.page_tagItem__7wM73.page_active__q3_T3 {
  background: #ff385c;
  color: white;
  border-color: #ff385c;
}

/* 移动端帖子卡片内容样式 */
.page_postImage__EEVl0 {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page_postContent__tQvym {
  padding: 12px;
  font-size: 14px;
  line-height: 1.4;
}

.page_postTitle__uxSIe {
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.3;
}

.page_postMeta__aHT1V {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.page_userAvatar__EF2Cx {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.page_userName__JJW9p {
  font-weight: 500;
  color: #333;
}

.page_postStats__aE0Mx {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.page_statItem__RMGkH {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  color: #999;
}

/* 移动端加载状态 */
.page_loadingContainer__pshup {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  color: #666;
}

.page_loadingText__wOmqI {
  margin-left: 12px;
  font-size: 14px;
}

/* 移动端空状态 */
.page_emptyState__Zyc7X {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: #666;
}

.page_emptyIcon__dVLpt {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.page_emptyTitle__Qfq1n {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}

.page_emptyDescription__vpYJY {
  font-size: 14px;
  line-height: 1.5;
  max-width: 280px;
}

/* 移动端响应式设计 */
@media (max-width: 480px) {
  .page_masonryGrid__ippD2 {
    column-gap: 8px;
    padding: 12px;
  }

  .page_masonryItem__qNiCB {
    margin-bottom: 12px;
    border-radius: 8px;
  }

  .page_searchContainer__P42ME {
    padding: 8px 12px;
    gap: 6px;
  }

  .page_searchIconButton__01hXq {
    width: 40px;
    height: 40px;
  }

  .page_searchInput__spYJs {
    padding: 10px 36px 10px 36px;
    font-size: 15px;
    border-radius: 20px;
  }

  .page_searchButton__vE0yS {
    padding: 10px 16px;
    font-size: 13px;
    min-width: 70px;
  }

  .page_postContent__tQvym {
    padding: 10px;
  }

  .page_postTitle__uxSIe {
    font-size: 14px;
  }

  .page_tagsContainer__pPhOV {
    padding: 6px 12px;
  }

  .page_tagItem__7wM73 {
    padding: 5px 10px;
    font-size: 12px;
  }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
  .page_masonryGrid__ippD2 {
    column-gap: 6px;
    padding: 8px;
  }

  .page_searchContainer__P42ME {
    padding: 6px 8px;
  }

  .page_searchInputWrapper__4rt5u {
    max-width: 200px;
  }

  .page_searchButton__vE0yS {
    padding: 8px 12px;
    font-size: 12px;
    min-width: 60px;
  }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
  .page_searchContainer__P42ME {
    padding: 6px 16px;
  }

  .page_masonryGrid__ippD2 {
    column-count: 3;
    padding: 12px;
  }

  .page_tagsContainer__pPhOV {
    top: 60px;
    padding: 4px 16px;
  }
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
  .page_masonryItem__qNiCB {
    background: #1a1a1a;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.06);
  }

  .page_searchContainer__P42ME {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page_searchInput__spYJs {
    background: #2a2a2a;
    border-color: #444;
    color: #ffffff;
  }

  .page_searchInput__spYJs::placeholder {
    color: #999;
  }

  .page_tagsContainer__pPhOV {
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .page_tagItem__7wM73 {
    background: #2a2a2a;
    color: #ccc;
  }

  .page_tagItem__7wM73:hover,
  .page_tagItem__7wM73.page_active__q3_T3 {
    background: #ff5a75;
    color: white;
  }

  .page_postTitle__uxSIe {
    color: #ffffff;
  }

  .page_postMeta__aHT1V {
    color: #999;
  }

  .page_userName__JJW9p {
    color: #ccc;
  }
}
