/* === 浅色天空主题覆盖（设计图改版） === */
:root {
  --background: #e8f4ff !important;
  --foreground: #1a2b4a !important;
  --card: #ffffff !important;
  --card-foreground: #1a2b4a !important;
  --popover: #ffffff !important;
  --popover-foreground: #1a2b4a !important;
  --primary: #2f7cf6 !important;
  --primary-foreground: #ffffff !important;
  --secondary: #eaf3ff !important;
  --secondary-foreground: #1a2b4a !important;
  --muted: #f0f6ff !important;
  --muted-foreground: #6b7d99 !important;
  --accent: #ff8a3d !important;
  --accent-foreground: #ffffff !important;
  --success: #34c759 !important;
  --success-foreground: #ffffff !important;
  --warning: #ff9500 !important;
  --warning-foreground: #ffffff !important;
  --destructive: #ff3b30 !important;
  --destructive-foreground: #ffffff !important;
  --border: #d6e4f5 !important;
  --input: #d6e4f5 !important;
  --ring: #2f7cf6 !important;
  --gold: #f5a623 !important;
  --ink-light: #6b7d99 !important;
  --bamboo-green: #34c759 !important;
  --paper-light: #f5faff !important;
  --primary-border: #2f7cf6 !important;
  --radius: 16px !important;
  --radius-xl: 20px !important;
}

body {
  background: linear-gradient(180deg, #cfe8ff 0%, #e8f4ff 25%, #f5faff 60%, #f5faff 100%) !important;
  color: #1a2b4a !important;
  min-height: 100vh;
}

/* 纸面渐变 → 天空蓝 */
.bg-paper-gradient {
  background: linear-gradient(180deg, #cfe8ff 0%, #e8f4ff 30%, #f5faff 70%) !important;
}

/* 墨色渐变 → 透明（头部不再用深色块） */
.bg-ink-gradient {
  background: transparent !important;
}

/* 卡片：纯白 + 柔和蓝阴影 */
.card-ink {
  background: #ffffff !important;
  border: 1px solid #e3eefc !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(47, 124, 246, 0.08), 0 1px 3px rgba(47, 124, 246, 0.04) !important;
}

/* 全局字体改现代无衬线 */
.font-serif {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif !important;
}

/* 底部 Tab 栏：白底 */
nav.fixed.bottom-0 {
  background: #ffffff !important;
  border-top: 1px solid #e3eefc !important;
  box-shadow: 0 -2px 12px rgba(47, 124, 246, 0.06) !important;
}

/* 首页 Banner 图 */
.home-banner {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(47, 124, 246, 0.18);
  margin-bottom: 4px;
}

/* 对弈卡片：让整卡有渐变按钮感（AI 蓝 / 好友橙） */
button[data-ai-section-type="card-list"] {
  position: relative;
  overflow: hidden;
}
button[data-ai-section-type="card-list"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 124, 246, 0.15) !important;
}

/* 用户卡片头像边框改蓝 */
.card-ink .w-14.h-14.rounded-full {
  border-color: rgba(47, 124, 246, 0.3) !important;
}

/* 活动时间条：绿色更明快 */
.bg-success {
  background: linear-gradient(135deg, #34c759, #2db84e) !important;
}

/* 输入框、按钮统一圆角 */
input, button, .rounded-md, .rounded-lg {
  border-radius: 12px !important;
}

/* 滚动条隐藏（移动端美观） */
::-webkit-scrollbar { width: 0; height: 0; }

/* 全局文字阴影去掉 */
.text-shadow-ink { text-shadow: none !important; }
