/* ============================================================
   一品智造 — UI 组件样式 (v3.0)
   白色基底 · 多色系 · 精炼层次
   ============================================================ */

/* --- 导航栏（无边框，阴影区隔） --- */
.app-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-primary);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-base);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
.app-nav.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
/* 导航栏容器 — relative 锚点供标题绝对居中 */
.nav-inner { display: flex; align-items: center; width: 100%; position: relative; }
.nav-back { background: none; border: none; color: inherit; font-size: 20px; padding: var(--sp-sm); cursor: pointer; min-width: 44px; min-height: 44px; }
.nav-title { flex: 1; font-size: 17px; font-weight: 600; text-align: center; letter-spacing: -0.01em; }
.nav-actions { display: flex; gap: var(--sp-sm); margin-left: auto; }
.nav-btn { background: none; border: none; color: inherit; font-size: 20px; padding: var(--sp-sm); cursor: pointer; min-width: 44px; min-height: 44px; position: relative; display: inline-flex; align-items: center; justify-content: center; }
.nav-btn .badge-dot{position:absolute;top:4px;right:2px;margin:0;width:18px;height:18px;font-size:8px;border-color:inherit;pointer-events:none}

/* --- 底部 Tab 栏（无边框，阴影区隔） --- */
.app-tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--tab-height);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: none;
  box-shadow: 0 -1px 0 rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}
.tab-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none; color: var(--text-tertiary);
  font-size: 10px; cursor: pointer; padding: var(--sp-xs) 0;
  min-width: 56px; min-height: 44px;
  position: relative;
  transition: color 0.2s ease;
}
.tab-item i { font-size: 22px; }
.tab-item .tab-img { width: 24px; height: 24px; display: block; margin: 0 auto 1px; object-fit: contain; opacity: 0.55; transition: opacity 0.25s, filter 0.25s; }
.tab-item span { opacity: 0.65; transition: opacity 0.25s; }
.tab-item.active { color: var(--color-primary); position: relative; }
.tab-item.active .tab-img { opacity: 1; filter: brightness(0) saturate(100%) invert(18%) sepia(93%) saturate(6175%) hue-rotate(356deg) brightness(88%) contrast(101%); }
.tab-item.active span { opacity: 1; font-weight: 600; }
.tab-item.active::after { content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%); width: 28px; height: 3px; border-radius: 30px; background: #DA3634; }
.tab-item.active i { animation: tabBounce 0.3s ease; }
@keyframes tabBounce { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* --- 主内容区 — v2.0 优化 --- */
.app-content {
  padding-top: var(--nav-height);
  padding-bottom: var(--tab-height);
  min-height: 100vh;
  background: var(--bg-base);
  position: relative;
  overflow-x: hidden;
}

/* 内容区域内部区块: 使用 section class 的区块自动拉伸 */
.section-base, .section-surface, .section-elevated,
.section-highlight, .section-warm, .section-nature,
.section-gradient, .section-gold, .section-blue, .section-dark {
  width: 100%;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-button);
}
.btn-sm { height: 30px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 15px; }
.w-100 { width: 100%; }
.btn-primary { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); }
.btn-primary:active { background: var(--color-primary-active); }
.btn-outline-primary { color: var(--color-primary); border-color: var(--color-primary); background: transparent; box-shadow: none; }
.btn-outline-primary:hover { background: var(--color-primary); color: #fff; }
.btn-link { background: none; border: none; color: var(--color-primary); padding: 0; box-shadow: none; }

/* --- 卡片（无边框，阴影+底色区隔） --- */
.card-item {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--sp-base);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast);
  cursor: pointer;
}
.card-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.card-item:active { transform: translateY(0); }

/* .card-item:active scale removed — GSAP handles interactive press */

/* --- 暖色强调卡片（红金暖色系） --- */
.feature-card {
  background: linear-gradient(135deg, #FEF0EE, #FFF5F0);
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--sp-xxl) var(--sp-base);
  text-align: center;
  color: var(--text-secondary);
}
.empty-state i { font-size: 56px; color: var(--border-default); margin-bottom: var(--sp-base); }
.empty-state p { margin-bottom: var(--sp-lg); font-size: 15px; }

/* --- 输入框 --- */
.form-input {
  width: 100%; height: 40px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 0 var(--sp-md);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 15%, transparent); }
.form-input.error { border-color: var(--color-error); box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-error) 15%, transparent); }
.form-input::placeholder { color: var(--text-placeholder); }
select.form-input { appearance: auto; }
.form-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: var(--sp-xs); color: var(--text-primary); }
.form-help { font-size: 12px; color: var(--text-tertiary); margin-top: var(--sp-xs); }
.form-error { font-size: 12px; color: var(--color-error); margin-top: var(--sp-xs); }
.form-group { margin-bottom: var(--sp-base); }
textarea.form-input { height: auto; padding: var(--sp-md); resize: vertical; }

/* --- 进度条 --- */
.progress-bar-custom {
  height: 6px; background: var(--border-light); border-radius: 4px; overflow: hidden;
}
.progress-bar-fill {
  height: 100%; background: var(--color-primary); border-radius: 4px;
  transition: width var(--transition-base);
}

/* --- 时间轴 --- */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--border-light);
}
.timeline-item { position: relative; padding-bottom: var(--sp-lg); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -18px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--border-default); border: 2px solid var(--bg-main);
}
.timeline-dot.active { background: var(--color-primary); border-color: var(--color-primary); }
.timeline-dot.done { background: var(--color-success); border-color: var(--color-success); }
.timeline-content { font-size: 13px; }
.timeline-label { font-weight: 600; color: var(--text-primary); }
.timeline-desc { color: var(--text-secondary); font-size: 12px; }

/* --- 标签（多色自适应） --- */
.tag {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
  background: rgba(74,134,254,0.08); color: var(--color-primary);
  border: 1px solid rgba(74,134,254,0.12);
}
.tag-green { background: color-mix(in srgb, var(--color-success) 8%, transparent); color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 15%, transparent); }
.tag-orange { background: color-mix(in srgb, var(--color-warning) 8%, transparent); color: var(--color-warning); border-color: color-mix(in srgb, var(--color-warning) 15%, transparent); }
.tag-purple { background: color-mix(in srgb, var(--color-accent) 8%, transparent); color: var(--color-accent); border-color: color-mix(in srgb, var(--color-accent) 12%, transparent); }

/* --- Toast --- */
.toast-container {
  position: fixed; top: calc(var(--nav-height) + 8px); left: 12px; right: 12px;
  z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
  max-width: 360px;
}
.toast-msg {
  background: var(--text-primary); color: #fff; padding: 10px 20px;
  border-radius: var(--radius-sm); font-size: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 90vw;
  pointer-events: auto;
}
.toast-msg.success { background: var(--color-success); }
.toast-msg.error { background: var(--color-error); }
.toast-msg.info { background: var(--color-primary); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(-8px) scale(0.95); } }

/* --- 文件上传区 --- */
.upload-area {
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--sp-xl);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.upload-area:hover { border-color: var(--color-primary); background: var(--bg-hover); }
.upload-area i { font-size: 32px; color: var(--text-placeholder); margin-bottom: var(--sp-sm); }
.upload-preview { display: flex; align-items: center; gap: var(--sp-sm); margin-top: var(--sp-sm); }
.upload-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.upload-preview .upload-name { font-size: 13px; color: var(--text-secondary); flex: 1; }

/* --- Skeleton 加载 --- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s ease infinite;
  border-radius: var(--radius-sm);
}
@keyframes skeletonShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 120px; margin-bottom: var(--sp-base); }
.skeleton-line { height: 14px; margin-bottom: var(--sp-sm); width: 80%; }
.skeleton-line.short { width: 50%; }

/* --- 响应式 --- */
/* 桌面端内容宽度约束 */
@media (min-width: 768px) {
  .app-content { max-width: 720px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .app-content { max-width: 960px; margin: 0 auto; }
  .product-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-base); }
}

/* 小屏手机优化 */
@media (max-width: 375px) {
  .app-content { padding-left: 8px; padding-right: 8px; }
  .card-item { padding: var(--sp-md); }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: var(--sp-sm); }
  .page-header { padding: var(--sp-base) var(--sp-sm); }
}

/* --- 版式 --- */
.page-header { padding: var(--sp-xl) var(--sp-base); text-align: center; }
.page-header h1 { font: var(--font-h2); margin-bottom: var(--sp-xs); }
.page-header p { color: var(--text-secondary); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-base); padding: 0 var(--sp-base); }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--sp-sm); padding: 0 var(--sp-base); }
/* 在 tab-panel 内重置 grid-3 的左右 padding 避免双层间距 */
.tab-panel .grid-3, .tab-panel .grid-2 { padding: 0; }
.section-title { font: var(--font-h3); padding: var(--sp-base); margin-bottom: var(--sp-sm); display: flex; align-items: center; }

/* --- 帮助类 --- */
.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.body-text { font-size: 15px; line-height: 1.7; color: var(--text-secondary); max-width: 55ch; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* --- 内容区域内部容器 --- */
.content-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 var(--sp-base);
}

/* --- Toggle Switch (iOS style, for dev mode) --- */
.toggle-switch { position: relative; display: inline-block; width: 48px; height: 28px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: var(--gray-300); border-radius: var(--radius-3xl); transition: all var(--transition-base); }
.toggle-slider::before { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: all var(--transition-base); box-shadow: 0 1px 3px rgba(0,0,0,0.15); }
.toggle-switch input:checked + .toggle-slider { background: var(--color-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* --- Dev mode content section --- */
.dev-section { margin-top: var(--sp-base); }
.dev-section summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: var(--sp-sm) 0; color: var(--color-primary); }

/* ============================================================
   新增 v2.0 组件 — 模板参考增强
   ============================================================ */

/* --- 电商式产品卡 (参考 Guitar E-commerce) --- */
.product-card-new {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--sp-base);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition-fast),
              box-shadow var(--transition-fast);
}
.product-card-new:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.product-card-new:active { transform: translateY(0); }
.product-card-icon {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #fff;
  flex-shrink: 0;
}
.product-card-name {
  font-size: 16px; font-weight: 600; line-height: 24px;
  color: var(--text-primary);
}
.product-card-price {
  font-size: 14px; font-weight: 700;
  color: var(--color-accent);
}
.product-card-moq {
  font-size: 12px; color: var(--gray-400);
}
.product-card-tag {
  display: inline-flex; align-items: center;
  padding: 1px 8px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 500;
  background: var(--gray-100); color: var(--gray-500);
}

/* --- 分类 Chip 筛选 (参考 Guitar E-commerce) --- */
.chip-filter {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 0 var(--sp-base) var(--sp-sm);
  -webkit-overflow-scrolling: touch;
}
.chip-filter::-webkit-scrollbar { display: none; }
.chip-item {
  flex-shrink: 0;
  padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500;
  background: var(--gray-100); color: var(--gray-600);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.chip-item:hover { background: var(--gray-200); }
.chip-item.active {
  background: var(--color-primary); color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--color-primary) 25%, transparent);
  transform: scale(1.02);
}

/* --- KPI 统计卡 (参考 Dashboard Graph) --- */
.kpi-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--sp-md);
  box-shadow: var(--shadow-sm);
}
.kpi-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #fff;
  flex-shrink: 0;
}
.kpi-card-number {
  font-size: 28px; font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.kpi-card-label {
  font-size: 12px; color: var(--gray-500);
  margin-top: 2px;
}

/* --- 横向滚动产品区 (参考 Guitar E-commerce) --- */
.hscroll-container {
  overflow-x: auto;
  display: flex;
  gap: var(--sp-md);
  padding: 0 var(--sp-base);
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.hscroll-container::-webkit-scrollbar { display: none; }
.hscroll-item {
  flex-shrink: 0;
  width: 160px;
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.hscroll-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.hscroll-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #fff;
  margin: 0 auto var(--sp-sm);
}
.hscroll-name { font-size: 13px; font-weight: 600; text-align: center; }
.hscroll-price { font-size: 12px; font-weight: 700; color: var(--color-accent); text-align: center; margin-top: 4px; }

/* --- 方案对比滑动卡 (参考 Social Media) --- */
.version-slider-card {
  min-width: 240px; flex-shrink: 0;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--sp-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.version-slider-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.version-slider-card.selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(74,134,254,0.1), var(--shadow-card);
}
.version-slider-img {
  width: 100%; height: 120px;
  background: rgba(74,134,254,0.06);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--color-primary);
  margin-bottom: var(--sp-sm);
}
.version-slider-img img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.version-slider-name { font-size: 15px; font-weight: 600; margin-top: 8px; }
.version-slider-slogan { font-size: 13px; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }
.version-slider-palette { display: flex; gap: 6px; margin-top: 10px; }
.version-slider-palette span {
  width: 24px; height: 24px; border-radius: var(--radius-sm);
  border: 1px solid rgba(0,0,0,0.06); display: inline-block;
}

/* --- 环形进度指示器 (参考 Dashboard Graph) --- */
.circular-progress {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.circular-progress svg { transform: rotate(-90deg); }
.circular-progress-bg { fill: none; stroke: var(--gray-100); }
.circular-progress-fill {
  fill: none;
  stroke-linecap: round;
  transition: stroke-dashoffset var(--transition-base);
}
.circular-progress-text {
  position: absolute;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-primary);
}

/* --- Pipeline 流水线组件 (从 presentation 提取) --- */
.pipeline{display:flex;flex-direction:column;gap:6px;width:100%;max-width:700px;margin:0 auto}
.pipe-row{display:flex;align-items:center;gap:clamp(4px,0.5vw,10px);justify-content:center}
.pipe-card{flex:1;background:#fff;border:none;border-radius:var(--radius-xl);padding:clamp(8px,1vw,16px);text-align:center;box-shadow:var(--shadow-card);cursor:default;transition:all var(--transition-base);position:relative;max-width:160px}
.pipe-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover)}
.pipe-icon{font-size:clamp(16px,1.4vw,24px);display:block;margin-bottom:4px}
.pipe-title{font-size:clamp(9px,0.65vw,12px);font-weight:600;color:var(--text-primary)}
.pipe-sub{font-size:clamp(7px,0.5vw,9px);color:var(--text-tertiary);margin-top:2px;font-weight:500}
.pipe-arrow{font-size:clamp(10px,0.8vw,14px);color:var(--text-tertiary);flex-shrink:0}
.pipe-divider{width:100%;height:1px;background:var(--border-default);margin:2px 0;position:relative}
.pipe-divider::after{content:'\002B9E';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:0 8px;font-size:10px;color:var(--text-tertiary)}

/* --- 价格气泡标签 --- */
.price-badge {
  position:absolute;top:-6px;right:-6px;
  background:var(--color-accent);color:#fff;
  font-size:10px;font-weight:700;
  padding:2px 8px;border-radius:var(--radius-md);
  line-height:1;z-index:2;
}

/* --- 全局微交互 (v3.0 - 增强) --- */
@keyframes cardFadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.card-enter { animation: cardFadeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* 按钮按下反馈 */
.btn:active { transform: scale(0.96); }
.btn-primary:active { box-shadow: inset 0 2px 4px rgba(0,0,0,0.15); }

/* 输入框聚焦效果增强 */
.form-input:focus { transform: translateY(-1px); }

/* 进度条动画增强 */
.progress-bar-fill { position: relative; overflow: hidden; }
.progress-bar-fill::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s ease infinite;
}
@keyframes progressShine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* 骨架屏加载提升 */
.skeleton { position: relative; overflow: hidden; }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: skeletonSweep 1.5s ease infinite;
}
@keyframes skeletonSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 列表卡片交错动画入口 (由 GSAP 驱动, 这里只保留回退) */
.card-item, .kpi-card, .product-card-new { transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.mk-preview-card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: default;
}
.mk-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.mk-preview-header {
  display: flex; align-items: center; gap: var(--sp-sm);
  padding: var(--sp-base);
}
.mk-preview-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; flex-shrink: 0;
}
.mk-preview-body { padding: var(--sp-base); }
.mk-preview-text {
  font-size: 13px; line-height: 1.8;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mk-preview-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--sp-sm) var(--sp-base);
  background: var(--gray-50);
}

/* ============================================================
   Reduced Motion — 尊重用户系统设置
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .card-item:hover { transform: none !important; }
  .tab-item.active i { animation: none !important; }
  .btn:active { transform: none !important; }
  .chip-filter, .hscroll-container { scroll-behavior: auto !important; }
  .form-input:focus { transform: none !important; }
  .progress-bar-fill::after { animation: none !important; }
  .skeleton::after { animation: none !important; }
  .skeleton { background: var(--gray-100) !important; }
}
