/* Share 页面样式 - 采用首页设计 */

/* 隐藏滚动条但保持滚动功能 */
body {
  overflow-x: hidden;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

body::-webkit-scrollbar {
  display: none;
}

/* 页面容器 - 类似首页的 scq-home-container */
.share-page-container {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  width: 100%;
  position: relative;
  min-height: 100vh;
  background: var(--scq-bg, transparent);
  transition: background 0.3s ease;
}

/* 顶部导航栏样式统一在 main.css 中定义，使用 .share-header 类名 */
/* 此样式已废弃，统一使用 main.css 中的样式 */

/* 搜索框样式统一在 main.css 中定义，使用 .scq-search-bar 或 .search-bar 类名 */
/* 此样式已废弃，统一使用 main.css 中的样式 */

/* 积分显示样式统一在 main.css 中定义 */
/* 此样式已废弃，统一使用 main.css 中的样式 */

/* 搜索结果样式已统一在 SCQhome.css 中定义，此处样式已废弃 */
/* 所有搜索相关样式请参考 SCQhome.css */

/* 积分上限提示弹窗 */
.points-limit-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.points-limit-modal.show {
  display: flex;
}

.points-limit-content {
  background: var(--scq-card-bg, #fff);
  border-radius: 16px;
  padding: 32px 24px 24px;
  width: 280px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease;
  transition: background 0.3s ease;
}

.dark-mode .points-limit-content {
  background: var(--scq-card-bg, #2a2a2a);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.points-limit-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--scq-text, #333);
  margin-bottom: 24px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.points-limit-btn {
  width: 100%;
  height: 44px;
  background: linear-gradient(135deg, #1677ff 0%, #0d5fd8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.points-limit-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.4);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 页面内容区域 */
.share-page {
  min-height: calc(100vh - 56px);
  background: var(--scq-bg, #f7f8fa);
  padding-top: 0;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  margin-top: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  position: relative;
}

.share-page::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* 分类标签栏 - 采用首页样式 */
.share-tabs-section {
  margin: var(--scq-space-xs, 4px) 0 0 0;
  padding: 0;
}

.share-tabs-header {
  display: flex;
  background: var(--scq-glass, rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--scq-radius-xl, 16px) var(--scq-radius-xl, 16px) 0 0;
  box-shadow: none;
  border-bottom: none;
  overflow: hidden;
  position: sticky;
  top: 60px;
  z-index: 100;
  margin-top: var(--scq-space-md, 8px);
  transition: background 0.3s ease;
}

.share-tab,
.category-tab {
  flex: 1 !important;
  text-align: center !important;
  padding: 3px 0 !important;
  font-size: 12px !important;
  color: var(--scq-muted, #6b7280) !important;
  cursor: pointer !important;
  background: transparent !important;
  border-bottom: none !important;
  font-weight: 400 !important;
  transition: color 0.2s, background 0.2s !important;
  min-width: auto !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.share-tab.active,
.category-tab.active {
  color: var(--scq-primary, #1677ff) !important;
  background: transparent !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  border: none !important;
}

.share-tabs-content {
  background: var(--scq-glass, rgba(255, 255, 255, 0.6));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 0 0 var(--scq-radius-xl, 16px) var(--scq-radius-xl, 16px);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.04);
  padding: var(--scq-space-sm, 6px) 0 var(--scq-space-lg, 12px) 0;
  min-height: 120px;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  transition: background 0.3s ease;
}

/* 内容包装器 */
.share-content-wrapper {
  padding: var(--scq-space-xs, 4px) var(--scq-space-sm, 6px) 0;
}

/* 社区部分 */
.community-section {
  padding: 12px;
  padding-bottom: 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 4px 12px;
}

.section-header:first-child {
  margin-top: var(--scq-space-xs, 4px);
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--scq-text, #333);
  transition: color 0.3s ease;
}

.category-tabs {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-start;
  margin: 18px 0 12px 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 0 8px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  font-size: var(--scq-font-xl, 16px);
  color: var(--scq-muted, #666);
  padding: 8px 28px;
  border-radius: 24px;
  cursor: pointer;
  position: relative;
  background: var(--scq-hover-bg, #f5f7fa);
  font-weight: 500;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
  box-shadow: 0 2px 8px rgba(22,119,255,0.04);
  border: 2px solid transparent;
  white-space: nowrap;
}

.category-tab:active {
  color: var(--scq-primary, #1677ff);
  background: var(--scq-hover-bg, #e6f0ff);
}

.category-tab.active {
  color: #fff;
  background: linear-gradient(90deg, var(--scq-primary, #1677ff) 60%, var(--scq-secondary, #49b1f5) 100%);
  border: 2px solid var(--scq-primary, #1677ff);
  box-shadow: 0 4px 16px rgba(22,119,255,0.10);
  font-weight: 700;
  letter-spacing: 1px;
}

/* 平台列表 - 横向滚动 */
.platform-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 0 0 8px 0;
  padding: 8px 12px;
}

.platform-item {
  background: var(--scq-card-bg, #fff);
  border-radius: 8px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.platform-item:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.platform-item.vacant-platform {
  opacity: 0.6;
  cursor: default;
}

.platform-logo {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: visible;
  margin-bottom: 4px;
  background: var(--scq-card-bg, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background 0.3s ease;
}

.platform-logo img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: 50%;
}

.verified-badge {
  position: absolute;
  right: -5px;
  top: -3px;
  background: linear-gradient(135deg, #1677ff, #4096ff);
  color: #fff;
  font-size: 8px;
  height: 14px;
  line-height: 14px;
  padding: 0 4px;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(22, 119, 255, 0.2);
  z-index: 1;
  min-width: 20px;
  text-align: center;
  font-weight: 500;
}

.vacant-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}

.ranking-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  color: white;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  min-width: 24px;
  height: 20px;
  line-height: 1;
}

.platform-info {
  width: 100%;
  text-align: center;
}

.platform-name {
  font-size: 10px;
  font-weight: 500;
  color: var(--scq-text, #333);
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  margin: 0 auto;
  transition: color 0.3s ease;
}

.platform-desc {
  font-size: 9px;
  color: var(--scq-muted, #999);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 95%;
  margin: 0 auto;
  transition: color 0.3s ease;
}

/* 推荐文章轮播 */
.recommend-carousel {
  position: relative;
  overflow: hidden;
  padding-top: 12px;
  margin: 0 6px 8px;
  background: var(--scq-card-bg, #fff);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease;
}

.carousel-wrapper {
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-item {
  width: 100%;
  flex-shrink: 0;
  position: relative;
}

.wechat-article {
  display: block;
  background-color: var(--scq-card-bg, #fff);
  border-radius: 8px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-decoration: none !important;
  position: relative;
  border: none;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.hot-article-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  background: linear-gradient(135deg, #ff4d4f, #ff7875);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(255, 77, 79, 0.3);
}

.wechat-article-header {
  display: flex;
  align-items: center;
  padding: 6px;
  border-bottom: 1px solid var(--scq-border, #f5f5f5);
  transition: border-color 0.3s ease;
}

.wechat-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: var(--scq-space-md, 8px);
  object-fit: cover;
}

.wechat-info {
  flex: 1;
}

.wechat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--scq-text, #333);
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  transition: color 0.3s ease;
}

.blue-tag {
  background-color: var(--scq-primary, #1677ff);
  color: white;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 2px;
  margin-left: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.wechat-content {
  display: flex;
  padding: 0;
}

.wechat-text {
  flex: 1;
  padding: 6px;
}

.wechat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--scq-text, #000);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

.wechat-time {
  font-size: 10px;
  color: var(--scq-muted, #999);
  margin-top: var(--scq-space-xs, 4px);
  transition: color 0.3s ease;
}

.wechat-image {
  width: 55px;
  height: 55px;
  margin: 6px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.wechat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 社区文章列表 */
.community-feed {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--scq-space-sm, 6px);
}

.community-post {
  background: var(--scq-card-bg, #fff);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, background 0.3s ease;
  margin-bottom: 2px;
  cursor: pointer;
  /* 入场动画初始状态 */
  opacity: 0;
}

.community-post:active {
  transform: scale(0.98);
}

/* 入场动画类 */
.community-post.animate-fadein-up {
  opacity: 1;
  animation: fadeInUp 0.5s;
}

/* 淡入上滑动画 */
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translate3d(0, 20px, 0); 
  }
  to { 
    opacity: 1; 
    transform: translate3d(0, 0, 0); 
  }
}

.community-post-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.community-left-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.post-right-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  position: relative;
}

.community-header {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.community-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: var(--scq-space-sm, 6px);
  border: 1px solid var(--scq-border, #f0f0f0);
  position: relative;
  transition: border-color 0.3s ease;
}

.community-avatar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.community-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-info {
  flex: 1;
  min-width: 0;
  padding-right: 5px;
}

.community-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--scq-text, #333);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 20px;
  max-width: 100%;
  transition: color 0.3s ease;
}

.name-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.quality-badge {
  display: inline-block;
  background: #ff4d4f;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(255, 77, 79, 0.3);
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.post-time-with-icon {
  display: flex;
  align-items: center;
  color: var(--scq-muted, #999);
  font-size: 10px;
  transition: color 0.3s ease;
}

.post-time-with-icon i {
  margin-right: 4px;
  font-size: 9px;
}

.post-content {
  margin-top: 0;
  width: 100%;
}

.news-title {
  font-size: 14px;
  line-height: 1.4;
  color: var(--scq-text, #333);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: color 0.3s ease;
}

.post-content-wrapper {
  margin-top: 0;
}

.post-image-square {
  width: 70px;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  align-self: flex-start;
  margin-top: 0;
}

.post-image-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 积分标识 */
.points-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: linear-gradient(135deg, #ffa940, #ff7a45);
  color: #fff;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 169, 64, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.points-badge i {
  font-size: 10px;
}

.points-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 3px 8px rgba(255, 169, 64, 0.4);
}

.points-badge:active {
  transform: scale(0.95);
}

.points-badge.claimed {
  background: linear-gradient(135deg, #d9d9d9, #bfbfbf);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  cursor: default;
}

.points-badge.claimed:hover {
  transform: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.points-badge.disabled {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  color: #999;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.points-badge.disabled:hover {
  transform: none;
  box-shadow: none;
}

.no-posts, .no-lottery {
  padding: 40px 20px;
  text-align: center;
  color: var(--scq-muted, #999);
  font-size: 14px;
  transition: color 0.3s ease;
}

.loading-more, .load-more-hint, .no-more {
  padding: 20px;
  text-align: center;
  color: var(--scq-muted, #999);
  font-size: var(--scq-font-sm, 11px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.loading-more i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 底部导航栏样式统一在 main.css 中定义，无需覆盖 */

/* 确保内容区域有足够的底部空间，不被导航栏遮挡 */
.community-section {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

/* 抽奖活动部分 */
.lottery-section {
  padding: 12px;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

/* 确保 tab-content 也有足够的底部空间 */
.tab-content {
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
}

.lottery-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 var(--scq-space-sm, 6px);
}

/* ========== 悬浮切换按钮 ========== */
.floating-switch-btn {
  position: fixed;
  right: var(--scq-space-md, 8px);
  top: 75%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--scq-primary, #1677ff);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.floating-switch-btn:active {
  transform: translateY(-50%) scale(0.9);
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.4);
}

.floating-switch-btn.active-moments {
  background: linear-gradient(135deg, #ff6b6b, #ffa940);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.floating-switch-btn.post-mode {
  background: linear-gradient(135deg, #52c41a, #73d13d);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.floating-switch-btn.post-mode:active {
  transform: translateY(-50%) scale(0.9);
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.4);
}

.switch-icon-wrapper {
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switch-icon-wrapper i {
  position: absolute;
  font-size: 20px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5) rotate(-180deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch-icon-wrapper i.active {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 切换动画 */
@keyframes switchRotate {
  0% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(0.5) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

.floating-switch-btn:active .switch-icon-wrapper i.active {
  animation: switchRotate 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== 数字朋友圈样式 ========== */
.moments-content-wrapper {
  padding: var(--scq-space-sm, 6px);
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  min-height: calc(100vh - 56px - 64px);
}

.moments-post-btn {
  width: 100%;
  padding: var(--scq-space-md, 8px) var(--scq-space-lg, 12px);
  background: var(--scq-primary, #1677ff);
  color: #fff;
  border: none;
  border-radius: var(--scq-radius-lg, 12px);
  font-size: var(--scq-font-md, 14px);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--scq-space-xs, 4px);
  margin-bottom: var(--scq-space-md, 8px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.2);
}

.moments-post-btn:active {
  transform: scale(0.98);
  box-shadow: 0 1px 4px rgba(22, 119, 255, 0.3);
}

.moments-feed {
  display: flex;
  flex-direction: column;
  gap: var(--scq-space-lg, 12px);
}

.moment-item {
  /* 无边框设计 */
  background: transparent;
  padding: 0;
}

.moment-row {
  display: flex;
  align-items: flex-start;
  gap: var(--scq-space-md, 8px);
  /* 头像模块更靠近页面左侧 */
  padding-left: var(--scq-space-sm, 6px);
}

/* 左侧：头像区域（靠近页面左侧） */
.moment-avatar-section {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.moment-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--scq-border, rgba(0, 0, 0, 0.1));
}

/* 右侧：内容区域（与头像有间距） */
.moment-content-section {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--scq-space-xs, 4px);
  cursor: pointer;
  transition: background 0.2s ease;
  border-radius: var(--scq-radius-md, 8px);
  padding: var(--scq-space-xs, 4px);
  margin: calc(-1 * var(--scq-space-xs, 4px));
}

.moment-content-section:active {
  background: var(--scq-hover-bg, rgba(0, 0, 0, 0.03));
}

.moment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--scq-space-sm, 6px);
  flex-wrap: wrap;
}

.moment-author-wrapper {
  display: flex;
  align-items: center;
  gap: var(--scq-space-xs, 4px);
  flex-wrap: wrap;
}

.moment-author {
  font-size: var(--scq-font-md, 14px);
  font-weight: 600;
  color: var(--scq-text, #333);
}

.moment-time {
  font-size: var(--scq-font-sm, 11px);
  color: var(--scq-muted, #999);
}

.moment-text {
  font-size: var(--scq-font-md, 14px);
  line-height: 1.5;
  color: var(--scq-text, #333);
  word-break: break-word;
  margin-top: var(--scq-space-xs, 4px);
}

.moment-images-wrapper {
  position: relative;
  margin-top: var(--scq-space-xs, 4px);
}

.moment-images {
  display: grid;
  gap: var(--scq-space-xs, 4px);
}

/* 单张图片：限制最大宽度，保持合适尺寸 */
.moment-images.single-image {
  grid-template-columns: 1fr;
  max-width: 80%;
}

.moment-images.single-image .moment-image-item {
  aspect-ratio: 1;
  max-width: 100%;
}

/* 两张图片：2列布局 */
.moment-images.two-images {
  grid-template-columns: repeat(2, 1fr);
}

/* 三张及以上：3列布局 */
.moment-images.multiple-images {
  grid-template-columns: repeat(3, 1fr);
}

.moment-image-item {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--scq-radius-md, 8px);
  overflow: hidden;
  cursor: pointer;
}

.moment-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 评论人头像（显示在图片右侧） */
.moment-comment-avatars {
  position: absolute;
  right: var(--scq-space-sm, 6px);
  top: var(--scq-space-sm, 6px);
  display: flex;
  flex-direction: row-reverse;
  gap: calc(-1 * var(--scq-space-xs, 4px));
  z-index: 10;
}

.comment-avatar-item {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--scq-card-bg, #fff);
  overflow: hidden;
  background: var(--scq-card-bg, #fff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.comment-avatar-item:hover {
  transform: scale(1.1);
  z-index: 15 !important;
}

.comment-avatar-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 底部操作栏（右下角：评论和打赏） */
.moment-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--scq-space-lg, 12px);
  margin-top: var(--scq-space-sm, 6px);
  padding-top: var(--scq-space-sm, 6px);
}

.moment-action-btn {
  display: flex;
  align-items: center;
  gap: var(--scq-space-xs, 4px);
  padding: var(--scq-space-sm, 6px) var(--scq-space-md, 8px);
  font-size: var(--scq-font-sm, 11px);
  font-weight: 500;
  color: var(--scq-muted, #999);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--scq-radius-lg, 12px);
  background: transparent;
  position: relative;
}

.moment-action-btn i {
  font-size: var(--scq-font-lg, 15px);
  color: var(--scq-muted, #999);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.moment-action-btn span {
  font-size: var(--scq-font-sm, 11px);
  font-weight: 500;
  transition: color 0.3s ease;
}

/* 评论按钮样式 */
.moment-action-btn.comment-action:hover,
.moment-action-btn.comment-action:active {
  background: rgba(22, 119, 255, 0.1);
  transform: translateY(-1px);
}

.moment-action-btn.comment-action:hover i,
.moment-action-btn.comment-action:active i {
  color: var(--scq-primary, #1677ff);
  transform: scale(1.1);
}

.moment-action-btn.comment-action:hover span,
.moment-action-btn.comment-action:active span {
  color: var(--scq-primary, #1677ff);
}

/* 打赏按钮样式 */
.moment-action-btn.reward-action:hover,
.moment-action-btn.reward-action:active {
  background: rgba(255, 169, 64, 0.1);
  transform: translateY(-1px);
}

.moment-action-btn.reward-action:hover i,
.moment-action-btn.reward-action:active i {
  color: #ffa940;
  transform: scale(1.1) rotate(-5deg);
}

.moment-action-btn.reward-action:hover span,
.moment-action-btn.reward-action:active span {
  color: #ffa940;
}

/* 加载状态 */
.moments-loading,
.moments-empty,
.moments-load-more,
.moments-no-more {
  padding: var(--scq-space-lg, 12px);
  text-align: center;
  color: var(--scq-muted, #999);
  font-size: var(--scq-font-sm, 11px);
}

.moments-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--scq-space-sm, 6px);
}

/* ========== 模态框样式 ========== */
.moments-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: var(--scq-space-lg, 12px);
}

.moments-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.moments-modal-content {
  background: var(--scq-card-bg, #fff);
  border-radius: var(--scq-radius-xl, 16px);
  width: 100%;
  max-width: 400px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.moments-modal-overlay.show .moments-modal-content {
  transform: scale(1);
}

.moments-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--scq-space-lg, 12px);
  border-bottom: 1px solid var(--scq-border, #f0f0f0);
}

.moments-modal-header h3 {
  font-size: var(--scq-font-lg, 15px);
  font-weight: 600;
  color: var(--scq-text, #333);
  margin: 0;
}

.moments-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--scq-muted, #999);
  font-size: var(--scq-font-xl, 16px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.moments-modal-close:hover {
  background: var(--scq-hover-bg, rgba(0, 0, 0, 0.05));
}

.moments-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--scq-space-lg, 12px);
}

.moments-post-textarea {
  width: 100%;
  min-height: 120px;
  padding: var(--scq-space-md, 8px);
  border: 1px solid var(--scq-border, #f0f0f0);
  border-radius: var(--scq-radius-md, 8px);
  font-size: var(--scq-font-md, 14px);
  resize: none;
  outline: none;
  font-family: inherit;
}

.moments-image-upload {
  margin-top: var(--scq-space-md, 8px);
}

.moments-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--scq-space-xs, 4px);
  padding: var(--scq-space-sm, 6px) var(--scq-space-md, 8px);
  background: var(--scq-hover-bg, #f5f5f5);
  border-radius: var(--scq-radius-md, 8px);
  cursor: pointer;
  font-size: var(--scq-font-sm, 11px);
  color: var(--scq-text, #333);
  transition: all 0.3s ease;
}

.moments-upload-btn:hover {
  background: var(--scq-border, #e8e8e8);
}

.moments-image-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--scq-space-xs, 4px);
  margin-top: var(--scq-space-md, 8px);
}

.moments-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--scq-radius-md, 8px);
  overflow: hidden;
}

.moments-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moments-remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.moments-modal-footer {
  padding: var(--scq-space-lg, 12px);
  border-top: 1px solid var(--scq-border, #f0f0f0);
}

.moments-submit-btn {
  width: 100%;
  padding: var(--scq-space-md, 8px);
  background: var(--scq-primary, #1677ff);
  color: #fff;
  border: none;
  border-radius: var(--scq-radius-md, 8px);
  font-size: var(--scq-font-md, 14px);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.moments-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.moments-submit-btn:active:not(:disabled) {
  transform: scale(0.98);
}

/* 评论列表 */
.moments-comments-list {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: var(--scq-space-md, 8px);
}

.moments-comment-item {
  display: flex;
  gap: var(--scq-space-sm, 6px);
  padding: var(--scq-space-sm, 6px) 0;
  border-bottom: 1px solid var(--scq-border, #f0f0f0);
}

.moments-comment-item:last-child {
  border-bottom: none;
}

.moments-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.moments-comment-content {
  flex: 1;
  min-width: 0;
}

.moments-comment-author {
  font-size: var(--scq-font-sm, 11px);
  font-weight: 600;
  color: var(--scq-text, #333);
  margin-bottom: var(--scq-space-xs, 4px);
}

.moments-comment-text {
  font-size: var(--scq-font-md, 14px);
  color: var(--scq-text, #333);
  line-height: 1.4;
  margin-bottom: var(--scq-space-xs, 4px);
}

.moments-comment-time {
  font-size: var(--scq-font-sm, 11px);
  color: var(--scq-muted, #999);
}

.moments-comment-input {
  display: flex;
  gap: var(--scq-space-sm, 6px);
  align-items: center;
}

.moments-comment-input input {
  flex: 1;
  padding: var(--scq-space-sm, 6px) var(--scq-space-md, 8px);
  border: 1px solid var(--scq-border, #f0f0f0);
  border-radius: var(--scq-radius-md, 8px);
  font-size: var(--scq-font-md, 14px);
  outline: none;
}

.moments-comment-input button {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--scq-primary, #1677ff);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.moments-comment-input button:active {
  transform: scale(0.95);
}

/* 打赏模态框 */
.moments-reward-modal {
  max-width: 350px;
}

.moments-reward-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--scq-space-sm, 6px);
  margin-bottom: var(--scq-space-md, 8px);
}

.moments-reward-amount-item {
  padding: var(--scq-space-md, 8px);
  border: 1px solid var(--scq-border, #f0f0f0);
  border-radius: var(--scq-radius-md, 8px);
  text-align: center;
  font-size: var(--scq-font-md, 14px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.moments-reward-amount-item.active {
  border-color: var(--scq-primary, #1677ff);
  background: var(--scq-primary, #1677ff);
  color: #fff;
}

.moments-reward-amount-item.custom input {
  width: 100%;
  border: none;
  outline: none;
  text-align: center;
  font-size: var(--scq-font-md, 14px);
  background: transparent;
}

.moments-reward-message {
  width: 100%;
  min-height: 80px;
  padding: var(--scq-space-md, 8px);
  border: 1px solid var(--scq-border, #f0f0f0);
  border-radius: var(--scq-radius-md, 8px);
  font-size: var(--scq-font-md, 14px);
  resize: none;
  outline: none;
  font-family: inherit;
}

/* 图片预览 */
.moments-image-preview-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.moments-image-preview-overlay.show {
  opacity: 1;
  visibility: visible;
}

.moments-image-preview-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.moments-image-preview-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.moments-preview-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--scq-font-lg, 15px);
}

/* 响应式调整 */
@media (max-width: 480px) {
  .platform-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 6px 8px;
  }
  
  .platform-logo {
    width: 36px;
    height: 36px;
  }
  
  .platform-name {
    font-size: 8px;
  }
  
  .platform-desc {
    font-size: 6px;
  }

  .moment-images {
    grid-template-columns: repeat(3, 1fr);
  }

  .moments-image-preview {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== 用户名铭牌样式 ========== */
.username-badge {
  display: inline-block;
  padding: var(--scq-space-xs, 4px) var(--scq-space-sm, 6px);
  border-radius: var(--scq-radius-lg, 12px);
  font-size: var(--scq-font-sm, 11px);
  font-weight: 600;
  color: #fff;
  background: linear-gradient(
    270deg,
    #ff4d4f,
    #ff7a45,
    #ffa940,
    #52c41a,
    #ffa940,
    #ff7a45,
    #ff4d4f
  );
  background-size: 400% 100%;
  box-shadow: var(--scq-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
  animation: badge-flow 8s linear infinite, badge-glow 2s ease-in-out infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  white-space: nowrap;
}

/* 确保铭牌内的文字是白色的 */
.username-badge .username-text {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 特殊样式：SCQ原住民的蓝绿色流光铭牌 */
.username-badge[data-native="true"] {
  background: linear-gradient(
    270deg,
    #13c2c2,
    #1890ff,
    #36cfc9,
    #40a9ff,
    #36cfc9,
    #1890ff,
    #13c2c2
  );
  background-size: 400% 100%;
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3);
  animation: badge-flow 6s linear infinite, badge-glow-native 2s ease-in-out infinite;
}

/* 特殊样式：SCQ巨鲸名人堂的金红流光铭牌 */
.username-badge[data-whale="true"] {
  background: linear-gradient(
    270deg,
    #ffab01,
    #ffd700,
    #ff8c00,
    #e8b923,
    #ff1700,
    #ffab01,
    #ffd700
  );
  background-size: 400% 100%;
  box-shadow: 0 2px 8px rgba(255, 171, 1, 0.3);
  animation: badge-flow 12s linear infinite, badge-glow-whale 3s ease-in-out infinite;
  padding-left: var(--scq-space-xl, 16px);
  border: 1px solid rgba(255, 215, 0, 0.6);
  outline: 1px solid rgba(255, 215, 0, 0.3);
  outline-offset: 1px;
  position: relative;
}

/* 为SCQ巨鲸名人堂铭牌添加精致的边角装饰 */
.username-badge[data-whale="true"]:before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 4px;
  height: 4px;
  border-top: 1px solid rgba(255, 215, 0, 0.8);
  border-left: 1px solid rgba(255, 215, 0, 0.8);
  z-index: 2;
}

/* 右上角装饰 */
.username-badge[data-whale="true"]:after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 4px;
  height: 4px;
  border-top: 1px solid rgba(255, 215, 0, 0.8);
  border-right: 1px solid rgba(255, 215, 0, 0.8);
  z-index: 2;
}

/* 左下角装饰 */
.username-badge[data-whale="true"] .corner-bl {
  content: '';
  position: absolute;
  bottom: -1px;
  left: -1px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.8);
  border-left: 1px solid rgba(255, 215, 0, 0.8);
  z-index: 2;
}

/* 右下角装饰 */
.username-badge[data-whale="true"] .corner-br {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 4px;
  height: 4px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.8);
  border-right: 1px solid rgba(255, 215, 0, 0.8);
  z-index: 2;
}

/* 货币图标 */
.username-badge[data-whale="true"] .whale-icon {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--scq-font-xs, 10px);
  z-index: 3;
}

/* 流光效果 */
.username-badge[data-whale="true"] .shine {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: badge-shine 3s linear infinite;
  z-index: 2;
}

.username-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: badge-shine 3s linear infinite;
}

/* 铭牌动画 */
@keyframes badge-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}

@keyframes badge-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes badge-glow {
  0% {
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
  }
  50% {
    box-shadow: 0 2px 12px rgba(255, 122, 69, 0.4);
  }
  100% {
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
  }
}

/* SCQ原住民特殊发光动画 */
@keyframes badge-glow-native {
  0% {
    box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
  }
  50% {
    box-shadow: 0 2px 12px rgba(54, 207, 201, 0.4);
  }
  100% {
    box-shadow: 0 2px 4px rgba(24, 144, 255, 0.2);
  }
}

/* SCQ巨鲸名人堂特殊发光动画 */
@keyframes badge-glow-whale {
  0% {
    box-shadow: 0 2px 4px rgba(255, 171, 1, 0.2);
  }
  50% {
    box-shadow: 0 2px 12px rgba(255, 100, 0, 0.4);
  }
  100% {
    box-shadow: 0 2px 4px rgba(255, 171, 1, 0.2);
  }
}

/* ========== 侧边抽屉：朋友圈详情 ========== */
.moment-detail-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3000;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.moment-detail-drawer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.moment-detail-drawer.show {
  pointer-events: auto;
}

.moment-detail-drawer.show::before {
  opacity: 1;
}

.moment-detail-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 400px;
  background: var(--scq-card-bg, #fff);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.moment-detail-drawer.show .moment-detail-drawer-content {
  transform: translateX(0);
}

.moment-detail-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--scq-space-lg, 12px);
  border-bottom: 1px solid var(--scq-border, #f0f0f0);
  flex-shrink: 0;
}

.moment-detail-drawer-header h3 {
  font-size: var(--scq-font-lg, 15px);
  font-weight: 600;
  color: var(--scq-text, #333);
  margin: 0;
}

.moment-detail-close {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--scq-muted, #999);
  font-size: var(--scq-font-xl, 16px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.moment-detail-close:hover {
  background: var(--scq-hover-bg, rgba(0, 0, 0, 0.05));
  color: var(--scq-text, #333);
}

.moment-detail-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--scq-space-md, 8px);
  -webkit-overflow-scrolling: touch;
}

.moment-detail-post {
  padding-bottom: var(--scq-space-lg, 12px);
  border-bottom: 1px solid var(--scq-border, #f0f0f0);
  margin-bottom: var(--scq-space-lg, 12px);
}

.moment-detail-header {
  display: flex;
  align-items: center;
  gap: var(--scq-space-md, 8px);
  margin-bottom: var(--scq-space-md, 8px);
}

.moment-detail-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--scq-border, rgba(0, 0, 0, 0.1));
}

.moment-detail-info {
  flex: 1;
  min-width: 0;
}

.moment-detail-author {
  font-size: var(--scq-font-md, 14px);
  font-weight: 600;
  color: var(--scq-text, #333);
  display: flex;
  align-items: center;
  gap: var(--scq-space-xs, 4px);
  flex-wrap: wrap;
}

.moment-detail-time {
  font-size: var(--scq-font-sm, 11px);
  color: var(--scq-muted, #999);
  margin-top: var(--scq-space-xs, 4px);
}

.moment-detail-text {
  font-size: var(--scq-font-md, 14px);
  line-height: 1.6;
  color: var(--scq-text, #333);
  word-break: break-word;
  margin-bottom: var(--scq-space-md, 8px);
}

.moment-detail-images {
  display: flex;
  flex-direction: column;
  gap: var(--scq-space-sm, 6px);
  margin-bottom: var(--scq-space-md, 8px);
}

.moment-detail-images img {
  width: 100%;
  border-radius: var(--scq-radius-md, 8px);
  cursor: pointer;
  object-fit: cover;
}

.moment-detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--scq-space-lg, 12px);
  margin-top: var(--scq-space-md, 8px);
}

.moment-detail-comments {
  padding-top: var(--scq-space-md, 8px);
}

.comments-header {
  margin-bottom: var(--scq-space-md, 8px);
}

.comments-header h4 {
  font-size: var(--scq-font-md, 14px);
  font-weight: 600;
  color: var(--scq-text, #333);
  margin: 0;
}

.comments-loading,
.comments-empty {
  padding: var(--scq-space-lg, 12px);
  text-align: center;
  color: var(--scq-muted, #999);
  font-size: var(--scq-font-sm, 11px);
}

.comments-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--scq-space-sm, 6px);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: var(--scq-space-md, 8px);
}

.comment-item {
  display: flex;
  gap: var(--scq-space-sm, 6px);
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--scq-border, rgba(0, 0, 0, 0.1));
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-author {
  font-size: var(--scq-font-sm, 11px);
  font-weight: 600;
  color: var(--scq-text, #333);
  margin-bottom: var(--scq-space-xs, 4px);
}

.comment-text {
  font-size: var(--scq-font-sm, 11px);
  line-height: 1.5;
  color: var(--scq-text, #333);
  word-break: break-word;
  margin-bottom: var(--scq-space-xs, 4px);
}

.comment-time {
  font-size: var(--scq-font-xs, 10px);
  color: var(--scq-muted, #999);
}



/* 底部导航栏 - 与首页一致 */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55px;
  background: var(--scq-glass, rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: none;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
  transition: background 0.3s ease;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--scq-muted, #999);
  text-decoration: none;
  font-size: 11px;
  padding: 6px 12px;
  transition: all 0.2s ease;
  flex: 1;
  max-width: 80px;
}

.nav-item i {
  font-size: 20px;
  margin-bottom: 2px;
}

.nav-item.active {
  color: var(--scq-primary, #1677ff);
}

.nav-item:active {
  transform: scale(0.95);
}


/* 今日进度提示 */
.daily-limit-info {
  position: absolute;
  top: 36px;
  right: 10px;
  font-size: 10px;
  color: #ff4d4f;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 5px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 10;
}
