/* 通用缩进和排版优化 */ 
body {
  background-color: #f8f9fa;
  padding-bottom: 90px; 
  font-size: 14px;
}

h5, .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ==== Banner 轮播 ==== */
#mobileBannerCarousel {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
}

#mobileBannerCarousel .carousel-inner {
  width: 100%;
}

#mobileBannerCarousel img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==== MEME 热度卡片 ==== */
.market-heat-section {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 16px 12px;
  margin-bottom: 24px;
}

.market-heat-section .market-card {
  padding: 8px;
  border-right: 1px solid #eee;
  box-sizing: border-box;
}

.market-heat-section .market-card:last-child {
  border-right: none !important;
}


.market-heat-section .label {
  font-size: 0.8rem;
  color: #666;
}

.market-heat-section .token-name {
  font-size: 1rem;
  font-weight: 700;
  margin: 2px 0;
}

.market-heat-section .price {
  font-size: 0.85rem;
  color: #0a0;
}

.market-heat-section .change {
  font-size: 0.85rem;
}


/* 去除 memeList 外边距 */
#memeList {
  margin-bottom: 0 !important;
}

/* ==== 社区卡片样式 ==== */
#communityList .card {
  border-radius: 10px;
  font-size: 12px;
  padding: 8px;
}

#communityList .card img {
  width: 28px;
  height: 28px;
}

.community-desc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ==== 帖子列表样式 ==== */
#postList .list-group-item {
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  margin-bottom: 10px;
}

#postList .list-group-item a {
  text-decoration: none;
}

#postList .list-group-item small {
  font-size: 12px;
  color: #777;
}

#postList .badge {
  font-size: 12px;
  background-color: #f0f0f0;
  color: #333;
}

.post-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* 滚动条隐藏优化 */
::-webkit-scrollbar {
  display: none;
}
.fab-button {
  position: fixed;
  bottom: 45px; /* 增加高度避免遮挡 nav 图标 */
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background-color: #28a745;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: #fff;
  font-size: 28px;
}