/* ============================================
   云卡栈 - 高级感UI系统 v12.0
   终极优化20项（第181-200项）
   总计200项高级感优化 - 里程碑！
   ============================================ */

/* ========== 181. 签到系统 ========== */
.checkin-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 16px;
}

.checkin-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bg-secondary);
  font-size: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.checkin-day.checked {
  background: var(--gradient-primary);
  color: white;
  transform: scale(0.95);
}

.checkin-day.checked::after {
  content: '✓';
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 10px;
}

.checkin-day.today {
  border: 2px solid var(--primary-500);
  font-weight: 600;
}

.checkin-day.future {
  opacity: 0.4;
}

.checkin-reward {
  font-size: 9px;
  margin-top: 2px;
  opacity: 0.8;
}

.checkin-streak {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-radius: 12px;
  margin-bottom: 16px;
}

.checkin-streak-icon {
  font-size: 24px;
}

.checkin-streak-text {
  flex: 1;
}

.checkin-streak-days {
  font-size: 20px;
  font-weight: 700;
  color: #d97706;
}

.checkin-streak-label {
  font-size: 12px;
  color: #92400e;
}

.checkin-btn {
  padding: 8px 20px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkin-btn:hover {
  transform: scale(1.05);
}

.checkin-btn:disabled {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
}

/* ========== 182. 任务系统 ========== */
.task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.task-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.task-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--primary-50);
}

.task-info {
  flex: 1;
}

.task-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.task-desc {
  font-size: 12px;
  color: var(--text-secondary);
}

.task-progress {
  width: 80px;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.task-progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
  transition: width 0.5s ease;
}

.task-reward {
  font-size: 12px;
  color: #d97706;
  font-weight: 600;
}

.task-claim-btn {
  padding: 6px 14px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.task-claim-btn:disabled {
  background: var(--bg-tertiary);
  color: var(--text-tertiary);
  cursor: not-allowed;
}

/* ========== 183. 成就系统 ========== */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.achievement-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
  background: var(--bg-card);
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.achievement-item.unlocked {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.achievement-item.locked {
  opacity: 0.5;
  filter: grayscale(1);
}

.achievement-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.achievement-name {
  font-size: 11px;
  text-align: center;
  font-weight: 500;
}

.achievement-desc {
  font-size: 10px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 2px;
}

.achievement-item.unlocked::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 16px;
  height: 16px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== 184. 排行榜 ========== */
.ranking-list {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}

.ranking-header {
  display: flex;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.ranking-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
}

.ranking-tabs {
  display: flex;
  gap: 8px;
}

.ranking-tab {
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  transition: all 0.2s ease;
}

.ranking-tab.active {
  background: white;
  color: #667eea;
}

.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease;
}

.ranking-item:hover {
  background: var(--bg-secondary);
}

.ranking-item:last-child {
  border-bottom: none;
}

.ranking-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.ranking-item:nth-child(1) .ranking-number {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
}

.ranking-item:nth-child(2) .ranking-number {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: white;
}

.ranking-item:nth-child(3) .ranking-number {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: white;
}

.ranking-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.ranking-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.ranking-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-600);
}

/* ========== 185. 抽奖系统 ========== */
.lottery-wheel {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.lottery-wheel canvas {
  width: 100%;
  height: 100%;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.lottery-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid #ef4444;
  z-index: 10;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.lottery-center-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: 4px solid white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
  transition: all 0.2s ease;
  z-index: 5;
}

.lottery-center-btn:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

.lottery-center-btn:disabled {
  background: var(--bg-tertiary);
  cursor: not-allowed;
}

/* ========== 186. AI智能客服 ========== */
.ai-chat-window {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 360px;
  height: 500px;
  background: var(--bg-card);
  border-radius: 16px;
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 2000;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ai-chat-window.open {
  transform: scale(1);
}

.ai-chat-header {
  padding: 16px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ai-chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.ai-chat-title {
  flex: 1;
}

.ai-chat-name {
  font-size: 14px;
  font-weight: 600;
}

.ai-chat-status {
  font-size: 11px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ai-chat-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-message {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.5;
  animation: messageIn 0.3s ease;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.ai-message.bot {
  align-self: flex-start;
  background: var(--bg-secondary);
  border-bottom-left-radius: 4px;
}

.ai-message.user {
  align-self: flex-end;
  background: var(--gradient-primary);
  color: white;
  border-bottom-right-radius: 4px;
}

.ai-chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--border-light);
}

.ai-chat-input input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.ai-chat-input input:focus {
  border-color: var(--primary-400);
}

.ai-chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ai-chat-send:hover {
  transform: scale(1.1);
}

.ai-chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  z-index: 1999;
  transition: all 0.3s ease;
}

.ai-chat-fab:hover {
  transform: scale(1.1);
}

/* ========== 189. 3D商品展示 ========== */
.product-3d-viewer {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  perspective: 1000px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--bg-secondary);
}

.product-3d-container {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease;
}

.product-3d-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.product-3d-image img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.product-3d-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ========== 190. 关注系统 ========== */
.follow-btn {
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.follow-btn.follow {
  background: var(--gradient-primary);
  color: white;
}

.follow-btn.following {
  background: var(--bg-secondary);
  color: var(--text-secondary);
}

.follow-btn:hover {
  transform: scale(1.05);
}

.follow-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
}

.follow-stat {
  text-align: center;
  cursor: pointer;
}

.follow-stat-number {
  font-size: 18px;
  font-weight: 700;
}

.follow-stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ========== 191. 私信系统 ========== */
.dm-list {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}

.dm-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.2s ease;
}

.dm-item:hover {
  background: var(--bg-secondary);
}

.dm-item:last-child {
  border-bottom: none;
}

.dm-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.dm-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  background: #ef4444;
  color: white;
  border-radius: 9px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--bg-card);
}

.dm-info {
  flex: 1;
  min-width: 0;
}

.dm-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 2px;
}

.dm-last-message {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dm-time {
  font-size: 11px;
  color: var(--text-tertiary);
  flex-shrink: 0;
}

/* ========== 192. 短视频 ========== */
.short-video-feed {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  background: #000;
}

.short-video-item {
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.short-video-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.short-video-actions {
  position: absolute;
  right: 12px;
  bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.short-video-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: white;
  cursor: pointer;
}

.short-video-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  backdrop-filter: blur(10px);
}

.short-video-action-count {
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.short-video-info {
  position: absolute;
  left: 12px;
  bottom: 100px;
  right: 70px;
  color: white;
}

.short-video-author {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.short-video-desc {
  font-size: 14px;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* ========== 193. 直播间 ========== */
.live-room {
  position: relative;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 80vh;
}

.live-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ef4444;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: livePulse 1s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-viewers {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.live-comments {
  position: absolute;
  bottom: 80px;
  left: 12px;
  right: 60px;
  max-height: 200px;
  overflow: hidden;
}

.live-comment {
  background: rgba(0,0,0,0.5);
  color: white;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 6px;
  display: inline-block;
  backdrop-filter: blur(10px);
  animation: commentIn 0.3s ease;
}

@keyframes commentIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.live-comment-author {
  color: #fbbf24;
  font-weight: 600;
  margin-right: 6px;
}

.live-input {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 60px;
  display: flex;
  gap: 8px;
}

.live-input input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  color: white;
  font-size: 14px;
  outline: none;
  backdrop-filter: blur(10px);
}

.live-input input::placeholder {
  color: rgba(255,255,255,0.5);
}

.live-gift-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: none;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

/* ========== 194. 生物识别 ========== */
.biometric-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.biometric-btn:hover {
  border-color: var(--primary-400);
  background: var(--primary-50);
}

.biometric-icon {
  font-size: 24px;
}

.biometric-scanning {
  animation: biometricScan 1.5s ease infinite;
}

@keyframes biometricScan {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

/* ========== 195. 双因素认证 ========== */
.twofa-input {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.twofa-digit {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s ease;
}

.twofa-digit:focus {
  border-color: var(--primary-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.twofa-digit.filled {
  background: var(--primary-50);
  border-color: var(--primary-400);
}

/* ========== 196. 登录设备管理 ========== */
.device-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 8px;
}

.device-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.device-info {
  flex: 1;
}

.device-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.device-detail {
  font-size: 12px;
  color: var(--text-secondary);
}

.device-current {
  font-size: 11px;
  background: var(--success);
  color: white;
  padding: 2px 8px;
  border-radius: 8px;
}

.device-remove-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.device-remove-btn:hover {
  background: var(--danger);
  color: white;
}

/* ========== 198. 思维导图 ========== */
.mind-map {
  position: relative;
  width: 100%;
  min-height: 400px;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: auto;
}

.mind-map-node {
  position: absolute;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.mind-map-node:hover {
  border-color: var(--primary-400);
  transform: scale(1.05);
  z-index: 10;
}

.mind-map-node.root {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
}

.mind-map-node.level-1 {
  background: var(--primary-100);
  color: var(--primary-700);
}

.mind-map-node.level-2 {
  background: var(--bg-secondary);
}

.mind-map-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mind-map-line {
  stroke: var(--primary-300);
  stroke-width: 2;
  fill: none;
}

/* ========== 199. 看板视图 ========== */
.kanban-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.kanban-column {
  min-width: 280px;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 12px;
  flex-shrink: 0;
}

.kanban-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px;
}

.kanban-column-title {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kanban-column-count {
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.kanban-card {
  background: var(--bg-card);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  cursor: grab;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.kanban-card:active {
  cursor: grabbing;
}

.kanban-card-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.kanban-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}

.kanban-card-tag {
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
}

/* ========== 200. 动态广场 ========== */
.feed-item {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feed-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.feed-author {
  flex: 1;
}

.feed-author-name {
  font-size: 14px;
  font-weight: 600;
}

.feed-author-time {
  font-size: 12px;
  color: var(--text-secondary);
}

.feed-content {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.feed-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.feed-image {
  aspect-ratio: 1;
  background: var(--bg-secondary);
  object-fit: cover;
  width: 100%;
}

.feed-actions {
  display: flex;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.feed-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.feed-action:hover {
  color: var(--primary-500);
}

.feed-action.liked {
  color: #ef4444;
}

/* 响应式 */
@media (max-width: 768px) {
  .achievement-grid { grid-template-columns: repeat(3, 1fr); }
  .ai-chat-window { width: calc(100vw - 24px); right: 12px; }
  .checkin-calendar { gap: 4px; }
  .checkin-day { font-size: 10px; }
}
