/* ========== 全局重置 & 基础 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.page {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  padding-bottom: 70px;
  /* 给底部 TabBar 留空间 */
}
/* ========== 公共头部 ========== */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.app-header .back {
  font-size: 20px;
  cursor: pointer;
  color: #333;
  min-width: 40px;
}
.app-header .back.hidden {
  visibility: hidden;
  pointer-events: none;
}
.app-header .title {
  font-size: 18px;
  font-weight: 500;
  color: #222;
  flex: 1;
  text-align: center;
}
.app-header .right-actions {
  min-width: 40px;
  text-align: right;
}
.app-header .right-actions i {
  font-size: 18px;
  color: #555;
  cursor: pointer;
  margin-left: 12px;
}
.app-header .right-actions i:first-child {
  margin-left: 0;
}
/* ========== 公共底部 TabBar ========== */
.weui-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #f7f7f7;
  border-top: 1px solid #ddd;
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}
.weui-tabbar__item {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  color: #999;
  text-decoration: none;
}
.weui-tabbar__item i {
  font-size: 22px;
  display: block;
  margin-bottom: 2px;
}
.weui-tabbar__item .weui-tabbar__label {
  font-size: 11px;
  color: #999;
}
.weui-tabbar__item.weui-bar__item_on i,
.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label {
  color: #07c160;
}
/* ========== 首页特有 ========== */
.grid-custom {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}
.grid-custom .grid-item {
  width: 20%;
  text-align: center;
  padding: 8px 0;
  font-size: 12px;
  color: #333;
}
.grid-custom .grid-item i {
  font-size: 24px;
  display: block;
  margin-bottom: 4px;
  color: #07c160;
}
.weui-media-box__thumb {
  width: 100px;
  height: 70px;
  object-fit: cover;
}
.weui-media-box__info {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}
.weui-search-bar {
  background: #f5f5f5;
}
/* ========== 列表页特有 ========== */
.weui-navbar__item.weui-bar__item_on {
  color: #07c160;
  border-bottom-color: #07c160;
}
.list-item {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
}
.list-item:active {
  background: #f9f9f9;
}
.list-item h4 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 6px 0;
  color: #333;
}
.list-item p {
  font-size: 13px;
  color: #888;
  margin: 0 0 4px 0;
}
.list-item .meta {
  font-size: 12px;
  color: #aaa;
}
.load-more {
  display: block;
  text-align: center;
  padding: 16px;
  color: #07c160;
  font-size: 15px;
  cursor: pointer;
  border-top: 1px solid #eee;
}
.load-more:active {
  background: #f0f0f0;
}
/* ========== 详情页特有 ========== */
.detail-title {
  padding: 20px 16px 10px;
  font-size: 20px;
  font-weight: 600;
  color: #222;
}
.detail-meta {
  padding: 0 16px 16px;
  font-size: 13px;
  color: #999;
  border-bottom: 1px solid #f0f0f0;
}
.detail-meta span {
  margin-right: 16px;
}
.detail-content {
  padding: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.detail-content p {
  margin-bottom: 16px;
}
.detail-content img {
  max-width: 100%;
  border-radius: 6px;
  margin: 10px 0;
}
/* 底部操作栏（详情页用，覆盖公共底部） */
.action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  max-width: 480px;
  margin: 0 auto;
  z-index: 999;
}
.action-bar .action-item {
  text-align: center;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  padding: 4px 12px;
}
.action-bar .action-item i {
  font-size: 22px;
  display: block;
  margin-bottom: 2px;
}
.action-bar .action-item.active i {
  color: #07c160;
}
.action-bar .action-item.active span {
  color: #07c160;
}
/* 详情页不加载公共底部，但需要底部操作栏，所以覆盖 padding */
.page.detail-page {
  padding-bottom: 70px;
}
/* ========== 会员中心特有 ========== */
.user-header {
  background: linear-gradient(135deg, #07c160, #06ad56);
  padding: 30px 20px 20px;
  color: #fff;
  text-align: center;
}
.user-header .avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #fff;
  object-fit: cover;
}
.user-header .name {
  font-size: 20px;
  font-weight: 500;
  margin-top: 10px;
}
.user-header .bio {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}
.stat-row {
  display: flex;
  justify-content: space-around;
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.stat-row .stat-item {
  text-align: center;
}
.stat-row .stat-item .num {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
.stat-row .stat-item .label {
  font-size: 13px;
  color: #999;
}
.menu-list {
  margin-top: 10px;
}
.menu-list .weui-cell {
  cursor: pointer;
}
.menu-list .weui-cell:active {
  background: #f5f5f5;
}
.menu-list .weui-cell i {
  font-size: 20px;
  width: 28px;
  text-align: center;
  color: #07c160;
  margin-right: 8px;
}
/* ========== 工具类 ========== */
.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.weui-pull-to-refresh {
  margin-top: 0;
}
/*# sourceMappingURL=style.css.map */