/**
 * Funding Styles - 融资页面样式合集
 *
 * 包含以下功能模块:
 * - Cards 样式 (funding-cards.css)
 * - Daily 视图 (funding-daily.css)
 * - Filter 基础 (funding-filter.css)
 * - Filter 增强 (funding-filter-enhanced.css)
 * - Header 增强 (funding-header-enhanced.css)
 * - 内部间距 (funding-internal-spacing.css)
 * - 移动端修复 (funding-mobile-fix.css)
 * - 统一容器 (funding-unified-container.css)
 *
 * 合并日期: 2025-11-20
 */

/* ========================================
   Cards 样式
   ======================================== */

/**
 * AI创投日报 - 卡片翻转效果样式
 * 实现3D翻转动画显示团队信息
 */

/* 卡片容器 - 支持3D翻转 */
.funding-card {
  position: relative;
  width: 100%;
  height: 280px; /* 桌面端固定高度，确保内容正常显示 */
  perspective: 1000px;
  cursor: pointer;
  transition: transform 0.2s ease;
  margin-bottom: 1rem;
  border: none !important;
  background: transparent !important;
}

.funding-card:hover {
  transform: translateY(-2px);
}

/* 卡片内部容器 */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
}

/* 翻转状态 */
.funding-card.flipped .card-inner {
  transform: rotateY(180deg);
}

/* 卡片正面和背面共同样式 */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
  border: none;
  display: flex;
  flex-direction: column;
  overflow: visible; /* 修复桌面端内容消失问题 */
}

/* 卡片正面样式 */
.card-front {
  z-index: 2;
}

/* 卡片背面样式 */
.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* 正面：公司信息区域 */
.funding-company {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.company-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  flex: 1;
  cursor: pointer;
  transition: color 0.3s ease;
}

.company-name:hover {
  color: #fa8c32;
  text-decoration: underline;
}

.company-stage,
.funding-stage {
  background: rgba(250, 140, 50, 0.1);
  color: #fa8c32;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.75rem;
}

/* 正面：融资金额 */
.funding-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: #27ae60;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amount-currency {
  font-size: 1rem;
  opacity: 0.8;
}

/* 正面：公司描述 */
.funding-description {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex: 1;
}

/* 正面：标签和元信息 */
.funding-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* 保持单行布局 */
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f3f4;
}

.funding-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
}

.funding-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
}

.funding-time {
  color: #868e96;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 翻转提示 - 右对齐显示 */
.flip-hint {
  background: rgba(250, 140, 50, 0.1);
  color: #fa8c32;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  opacity: 0.8;
  pointer-events: none;
  white-space: nowrap;
  flex-shrink: 0; /* 防止压缩 */
}

/* 背面：团队信息内容 */
.team-info-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-header {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #fa8c32;
}

.team-header h3 {
  margin: 0;
  color: #fa8c32;
  font-size: 1.1rem;
  font-weight: 600;
}

.team-section {
  flex: 1;
  margin-bottom: 1rem;
}

.team-section h4 {
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.team-section p {
  color: #555;
  line-height: 1.4;
  margin: 0 0 0.5rem 0;
  font-size: 0.85rem;
}

/* 创始人信息 */
.founders-list {
  margin-top: 0.5rem;
}

.founder-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: rgba(250, 140, 50, 0.05);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border-left: 3px solid #fa8c32;
}

.founder-name {
  font-weight: 600;
  color: #2c3e50;
  cursor: pointer;
  transition: color 0.3s ease;
}

.founder-name:hover {
  color: #fa8c32;
  text-decoration: underline;
}

.founder-contact {
  display: flex;
  gap: 0.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: #fa8c32;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.contact-link:hover {
  background: #e07b2a;
  color: white;
}

/* 卡片背面底部区域 */
.card-back-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap; /* 保持单行布局 */
}

/* 公司信息链接 - 左对齐 */
.company-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  background: rgba(39, 174, 96, 0.1);
  color: #27ae60;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.company-link:hover {
  background: rgba(39, 174, 96, 0.2);
  color: #219a52;
  transform: translateY(-1px);
}

/* 创始人链接样式 */
.founder-link {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted #3498db;
  padding: 1px 2px;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.founder-link:hover {
  background: rgba(52, 152, 219, 0.1);
  color: #2980b9;
  border-bottom: 1px solid #2980b9;
  text-decoration: none;
}

/* 返回按钮 - 右对齐 */
.flip-back-button {
  background: linear-gradient(135deg, #6c757d, #495057);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.flip-back-button:hover {
  background: linear-gradient(135deg, #5a6268, #3d4449);
  transform: translateY(-1px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .funding-card {
    height: 320px !important; /* 移动端固定高度 */
    margin-bottom: 1.5rem;
    /* 优化触摸反馈 */
    -webkit-tap-highlight-color: rgba(250, 140, 50, 0.2);
    touch-action: manipulation;
  }

  .funding-card:active {
    transform: translateY(-1px) scale(0.98);
  }

  .card-front,
  .card-back {
    padding: 1rem;
  }

  .company-name {
    /* 保持与桌面端一致的字体大小 */
    font-size: 1.1rem;
    /* 增加点击区域 */
    padding: 0.25rem 0;
    margin: -0.25rem 0;
  }

  .funding-amount {
    /* 保持与桌面端一致的字体大小 */
    font-size: 1.3rem;
  }

  .funding-company {
    /* 保持与桌面端一致的水平布局 */
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .company-stage,
.funding-stage {
    /* 保持与桌面端一致的右对齐 */
    margin-left: 0.75rem;
  }

  .founder-item {
    /* 保持与桌面端一致的水平布局 */
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .founder-contact {
    /* 保持与桌面端一致的布局 */
    display: flex;
    gap: 0.5rem;
  }

  .founder-name {
    /* 增加点击区域 */
    padding: 0.25rem 0;
    margin: -0.25rem 0;
  }

  .contact-link {
    /* 增大移动端按钮 */
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card-back-footer {
    flex-direction: row; /* 保持水平布局 */
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }

  .company-link {
    /* 保持与桌面端一致的样式 */
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    min-height: 44px;
    flex-shrink: 0;
  }

  .flip-back-button {
    /* 保持与桌面端一致的布局 */
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    min-height: 44px;
    flex-shrink: 0;
  }

  .flip-hint {
    /* 保持与桌面端一致的样式 */
    background: rgba(250, 140, 50, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    opacity: 0.8;
    flex-shrink: 0;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .funding-card {
    height: 350px !important; /* 小屏幕固定高度 */
    margin-bottom: 1rem;
  }

  .card-front,
  .card-back {
    padding: 0.75rem;
  }

  .team-section {
    margin-bottom: 0.75rem;
  }

  .team-section h4 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .team-section p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .contact-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
    min-width: 28px;
    min-height: 28px;
  }

  .founder-item {
    padding: 0.4rem;
    margin-bottom: 0.4rem;
  }

  .founder-name {
    font-size: 0.85rem;
  }

  .flip-hint {
    /* 保持与桌面端一致的样式 */
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .team-header h3 {
    font-size: 1rem;
  }

  .company-link {
    /* 保持与桌面端一致的样式 */
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .flip-back-button {
    /* 保持与桌面端一致的样式 */
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
}

/* 超小屏幕（如iPhone SE）优化 */
@media (max-width: 360px) {
  .funding-card {
    height: 350px !important; /* 超小屏幕固定高度 */
  }

  .card-front,
  .card-back {
    /* 保持适当的内边距 */
    padding: 0.75rem;
  }

  .funding-description {
    font-size: 0.85rem;
    /* 移除行数限制，允许完整显示 */
    overflow: hidden;
    word-break: break-word;
    hyphens: auto;
  }

  .team-section p {
    font-size: 0.75rem;
  }

  .founder-item {
    padding: 0.3rem;
  }

  .contact-link {
    font-size: 0.7rem;
    padding: 0.25rem 0.4rem;
    min-width: 24px;
    min-height: 24px;
  }
}

/* 深色主题支持 */
@media (prefers-color-scheme: dark) {
  .card-front,
  .card-back {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }

  .card-back {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  }

  .company-name {
    color: #e2e8f0;
  }

  .funding-description {
    color: #a0aec0;
  }

  .funding-tag {
    background: #4a5568;
    color: #e2e8f0;
    border-color: #5a6c7d;
  }

  .founder-item {
    background: rgba(250, 140, 50, 0.1);
  }
}

/* 🎯 新增样式支持 */

/* 可点击元素样式 */
.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.clickable:hover {
  color: #fa8c32;
  transform: scale(1.02);
}

/* 公司洞察信息样式 */
.company-insights {
  padding: 1rem;
  background: rgba(250, 140, 50, 0.05);
  border-radius: 8px;
  border-left: 3px solid #fa8c32;
}

.company-insights p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.company-insights strong {
  color: #fa8c32;
  font-weight: 600;
}

/* 联系说明样式 */
.contact-note {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(116, 134, 147, 0.1);
  border-radius: 6px;
  text-align: center;
}

.contact-note small {
  color: #7f8c8d;
  font-style: italic;
}

/* 描述文本优化 - 自适应字体大小显示完整信息 */
.funding-description {
  line-height: 1.3;
  margin-bottom: 1rem;
  /* 根据文本长度自动调整字体大小 - 移除clamp让JS控制 */
  word-break: break-word;
  hyphens: auto;
  /* 移除所有高度和显示限制，确保完整显示 */
}

/* 标签容器优化 */
.funding-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  min-height: 2rem; /* 确保有足够空间显示标签 */
  align-items: flex-start;
}

/* 标签样式优化 */
.funding-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  background: rgba(250, 140, 50, 0.1);
  color: #fa8c32;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(250, 140, 50, 0.2);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.funding-tag:hover {
  background: rgba(250, 140, 50, 0.2);
  border-color: rgba(250, 140, 50, 0.4);
}

/* 卡片内容布局优化 */
.card-front {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.funding-meta {
  margin-top: auto; /* 推到底部 */
  padding-top: 0.75rem;
  border-top: 1px solid #f1f3f4;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .funding-card {
      height: 300px; /* 增加手机端高度以改善内容显示 */
    }

  .company-insights p {
    font-size: 0.85rem;
  }

  .funding-description {
    font-size: 0.9rem;
    /* 移动端也允许完整显示，通过字体大小控制 */
    word-break: break-word;
    hyphens: auto;
    height: auto;
    min-height: 3em;
  }
}
/* 融资卡片头部布局 */
.funding-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.funding-header .funding-company {
  margin: 0;
  flex: 1;
}

.funding-header .funding-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  margin-left: 0.75rem;
}

.funding-header .funding-stage {
  background: rgba(250, 140, 50, 0.1);
  color: #fa8c32;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.funding-header .funding-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: #27ae60;
  white-space: nowrap;
}


/* ========================================
   Daily 视图
   ======================================== */

/**
 * 创投日报样式 - 主页融资信息展示
 * 设计目标：突出时效性，提升可读性，保持品牌一致性
 */

/* 🔥 创投日报容器 */
.funding-daily {
  margin: 0 0 3rem 0;  /* 顶部无间距,与widget紧密相连 */
  padding-top: 0;
}

/* 🎯 标题区域 */
.funding-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.funding-title-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.funding-actions-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.funding-title {
  margin: 0;
  line-height: 1.2;
}

.funding-title-badge {
  display: inline-block;
  background: linear-gradient(135deg, #fa8c32, #ff9f40);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 700;
  box-shadow:
    0 4px 12px rgba(250, 140, 50, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.funding-title-badge:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 20px rgba(250, 140, 50, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.funding-update-time {
  font-size: 0.85rem;
  color: #7f8c8d;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.funding-view-more {
  background: rgba(250, 140, 50, 0.08);
  color: #fa8c32;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.8rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(250, 140, 50, 0.2);
  cursor: pointer;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.funding-view-more::before {
  content: "📊";
  margin-right: 0.4rem;
  font-size: 0.75rem;
}

.funding-view-more:hover {
  background: rgba(250, 140, 50, 0.15);
  border-color: rgba(250, 140, 50, 0.4);
  color: #e07b2a;
  transform: translateX(2px);
}

/* 📰 融资信息展示区域 */
.funding-highlights {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(250, 140, 50, 0.1);
}

/* 🔄 加载状态 */
.funding-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #7f8c8d;
  font-size: 1rem;
  font-weight: 500;
}

.loading-icon {
  font-size: 1.2rem;
  animation: spin 1.5s linear infinite;
}

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

/* 💰 单条融资信息卡片 */
.funding-item {
  background: white;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  border: none !important;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 🔄 3D翻转卡片特殊处理 - 移除冲突样式 */
.funding-item.funding-card {
  overflow: visible; /* 允许3D变换显示 */
  background: transparent; /* 背景由内部card-front/card-back控制 */
  padding: 0; /* 内边距由内部卡片控制 */
}

.funding-item:last-child {
  margin-bottom: 0;
}

.funding-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* 3D翻转卡片不应用hover变换，避免与flip动画冲突 */
.funding-item.funding-card:hover {
  transform: translateY(-2px); /* 保持轻微悬浮效果，但不干扰flip */
}

.funding-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #fa8c32, #ff9f40);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.funding-item:hover::before {
  opacity: 1;
}

/* 3D翻转卡片不显示左侧边框装饰 */
.funding-item.funding-card::before {
  display: none;
}

/* 🏢 公司信息 */
.funding-company {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.company-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.company-stage {
  background: rgba(250, 140, 50, 0.1);
  color: #fa8c32;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 💵 融资金额 */
.funding-amount {
  font-size: 1.3rem;
  font-weight: 800;
  color: #27ae60;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amount-currency {
  font-size: 1rem;
  opacity: 0.8;
}

/* 📝 公司描述 */
.funding-description {
  color: #5a6c7d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

/* 🏷️ 标签和元信息 */
.funding-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f3f4;
}

.funding-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.funding-tag {
  background: #f8f9fa;
  color: #495057;
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
}

.funding-time {
  color: #868e96;
  font-size: 0.8rem;
  font-weight: 500;
}

/* 🌊 加载更多按钮 */
.funding-load-more {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e5e9;
}

.load-more-btn {
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  border: 2px solid rgba(250, 140, 50, 0.2);
  border-radius: 12px;
  padding: 1rem 2rem;
  color: #fa8c32;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  min-width: 200px;
  box-shadow: 0 2px 8px rgba(250, 140, 50, 0.1);
}

.load-more-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #fa8c32, #ff9f40);
  color: white;
  border-color: #fa8c32;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(250, 140, 50, 0.25);
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.load-more-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.load-more-btn:hover:not(:disabled) .load-more-icon {
  transform: scale(1.1);
}

/* 📱 响应式设计 */
@media (max-width: 768px) {
  .funding-daily {
    margin: 1.5rem 0;
  }

  .funding-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }

  .funding-actions-section {
    align-items: center;
  }

  .funding-title-badge {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
  }

  .funding-view-more {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .funding-view-more::before {
    font-size: 0.7rem;
    margin-right: 0.3rem;
  }

  .funding-highlights {
    padding: 1rem;
    border-radius: 12px;
  }

  .funding-item {
    padding: 1rem;
    border: none !important;
  }

  .funding-amount {
    font-size: 1.1rem;
  }

  .funding-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .funding-tags {
    justify-content: flex-start;
  }

  .load-more-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .funding-title-badge {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
  }

  .funding-company {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .company-name {
    font-size: 1rem;
  }

  .funding-amount {
    font-size: 1rem;
  }

  .funding-item {
    padding: 0.75rem;
    border: none !important;
  }
}

/* 🌓 暗色主题支持 */
@media (prefers-color-scheme: dark) {
  .funding-title-badge {
    background: linear-gradient(135deg, #fa8c32, #ff9f40);
    /* 保持亮色，因为它本身就是品牌色 */
  }

  .funding-highlights {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: rgba(250, 140, 50, 0.2);
  }

  .funding-item {
    background: #2d3748;
    border: none !important;
  }

  .company-name {
    color: #e2e8f0;
  }

  .funding-description {
    color: #a0aec0;
  }

  .funding-tag {
    background: #4a5568;
    color: #e2e8f0;
    border-color: #5a6c7d;
  }
}

/* 🎨 高对比度模式 */
@media (prefers-contrast: high) {
  .funding-item {
    border: none !important;
  }

  .funding-view-more {
    border: 2px solid #000;
  }

  .company-stage {
    border: 1px solid #fa8c32;
  }
}

/* ♿ 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
  .funding-title-badge,
  .loading-icon,
  .funding-item,
  .funding-view-more,
  .load-more-btn {
    animation: none;
    transition: none;
  }

  .funding-title-badge:hover,
  .funding-item:hover,
  .funding-view-more:hover,
  .load-more-btn:hover {
    transform: none;
  }
}

/* ========================================
   Filter 基础
   ======================================== */

/**
 * 融资日报筛选栏样式 - 优化版 v2.0
 * 更好的视觉层次和交互体验
 * 优化日期: 2025-10-18
 */

/* 数据可视化图表 - 优化版 */
.funding-charts {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  border: 1px solid rgba(250, 140, 50, 0.1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  width: 100%;
  box-sizing: border-box;
}

.chart-container {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid rgba(250, 140, 50, 0.1);
  width: 100%;
  box-sizing: border-box;
}

.chart-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(250, 140, 50, 0.1);
}

.chart-content {
  min-height: auto; /* 改为auto,根据内容自适应高度 */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chart-bar-label {
  min-width: 90px;
  font-size: 0.9rem;
  color: #555;
  font-weight: 600;
  text-align: left;
}

.chart-bar-track {
  flex: 1;
  height: 32px;
  background: #f5f5f5;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.chart-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color, #FA8C32), var(--secondary-color, #FFBB33));
  border-radius: 16px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12px;
  min-width: 60px; /* 增加最小宽度以容纳文字 */
  box-shadow: 0 2px 4px rgba(250, 140, 50, 0.2);
  position: relative;
}

.chart-bar-value {
  font-size: 0.85rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

/* 快捷筛选预设 */
.filter-presets {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(250, 140, 50, 0.05) 0%, rgba(255, 187, 51, 0.05) 100%);
  border-radius: 8px;
  border: 1px solid rgba(250, 140, 50, 0.1);
}

.presets-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
}

.presets-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 6px 14px;
  border: 1.5px solid rgba(250, 140, 50, 0.3);
  background: #fff;
  border-radius: 16px;
  font-size: 0.8rem;
  color: var(--primary-color, #FA8C32);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.preset-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(250, 140, 50, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.preset-btn:hover {
  background: linear-gradient(135deg, rgba(255, 251, 247, 1) 0%, rgba(255, 243, 224, 1) 100%);
  border-color: var(--primary-color, #FA8C32);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(250, 140, 50, 0.2);
}

.preset-btn:hover::before {
  width: 120%;
  height: 120%;
}

.preset-btn.active {
  background: linear-gradient(135deg, var(--primary-color, #FA8C32) 0%, var(--secondary-color, #FFBB33) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(250, 140, 50, 0.3),
              0 4px 8px rgba(250, 140, 50, 0.15);
  transform: translateY(-1px);
}

.preset-btn.active::before {
  display: none;
}

.funding-filter-bar {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid rgba(250, 140, 50, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 0 20px 0;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

/* 筛选组容器 */
.filter-groups-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 筛选标签左侧视觉指示器 */
.filter-label::before {
  content: '';
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--primary-color, #FA8C32), var(--secondary-color, #FFBB33));
  border-radius: 2px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.filter-btn {
  padding: 7px 14px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #555;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/* 按钮悬停效果 */
.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(250, 140, 50, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.filter-btn:hover::before {
  width: 120%;
  height: 120%;
}

.filter-btn:hover {
  border-color: var(--primary-color, #FA8C32);
  color: var(--primary-color, #FA8C32);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(250, 140, 50, 0.15);
}

/* 激活状态 */
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color, #FA8C32) 0%, var(--secondary-color, #FFBB33) 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(250, 140, 50, 0.3),
              0 4px 8px rgba(250, 140, 50, 0.15);
  transform: translateY(-1px);
  animation: pulse 0.3s ease-out;
}

.filter-btn.active::before {
  display: none;
}

/* 按钮激活脉冲动画 */
@keyframes pulse {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 16px rgba(250, 140, 50, 0.4),
                0 6px 12px rgba(250, 140, 50, 0.2);
  }
  100% {
    transform: translateY(-1px) scale(1);
  }
}

.filter-reset-btn {
  align-self: flex-start;
  padding: 10px 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #666;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.filter-reset-btn::before {
  content: '🔄';
  margin-right: 4px;
  font-size: 0.9rem;
}

.filter-reset-btn:hover {
  background: #f8f8f8;
  border-color: #aaa;
  color: #333;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-reset-btn:active {
  transform: translateY(0);
}

/* 筛选结果提示 */
.filter-result-info {
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(250, 140, 50, 0.08) 0%, rgba(255, 187, 51, 0.08) 100%);
  border-left: 3px solid var(--primary-color, #FA8C32);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInDown 0.3s ease-out;
}

.filter-result-info::before {
  content: '🔍';
  font-size: 1.1rem;
}

.filter-result-info strong {
  color: var(--primary-color, #FA8C32);
  font-weight: 700;
  font-size: 1.05em;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 筛选结果淡入动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.funding-highlights {
  animation: fadeInUp 0.4s ease-out;
}

.funding-card {
  animation: fadeInUp 0.4s ease-out backwards;
}

.funding-card:nth-child(1) { animation-delay: 0.05s; }
.funding-card:nth-child(2) { animation-delay: 0.1s; }
.funding-card:nth-child(3) { animation-delay: 0.15s; }
.funding-card:nth-child(4) { animation-delay: 0.2s; }
.funding-card:nth-child(5) { animation-delay: 0.25s; }
.funding-card:nth-child(6) { animation-delay: 0.3s; }
.funding-card:nth-child(n+7) { animation-delay: 0.35s; }

/* 响应式设计 */
@media (max-width: 1024px) {
  .filter-groups-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .funding-filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-reset-btn {
    width: 100%;
    text-align: center;
  }

  /* 图表在平板端开始堆叠 */
  .funding-charts {
    grid-template-columns: 1fr !important;
    padding: 16px;
  }

  .chart-container {
    padding: 16px;
  }

  .chart-title {
    font-size: 1rem;
  }

  .chart-bar-label {
    min-width: 80px;
    font-size: 0.85rem;
  }

  .chart-bar-track {
    height: 28px;
  }

  .chart-bar-value {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .funding-filter-bar {
    padding: 1rem;
    gap: 14px;
    border-radius: 12px;
  }

  .filter-groups-container {
    gap: 14px;
  }

  .filter-group {
    gap: 6px;
  }

  .filter-label {
    font-size: 0.8rem;
  }

  .filter-options {
    gap: 4px;
  }

  .filter-btn {
    padding: 6px 11px;
    font-size: 0.75rem;
  }

  .filter-reset-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* 图表移动端优化 */
  .funding-charts {
    padding: 1rem;
    gap: 12px;
    border-radius: 12px;
  }

  .chart-container {
    padding: 14px;
  }

  .chart-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .chart-content {
    min-height: auto; /* 自适应高度 */
    gap: 10px;
  }

  .chart-bar {
    gap: 10px;
  }

  .chart-bar-label {
    min-width: 70px;
    font-size: 0.8rem;
  }

  .chart-bar-track {
    height: 26px;
  }

  .chart-bar-fill {
    padding-right: 10px;
    min-width: 35px;
  }

  .chart-bar-value {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .funding-filter-bar {
    padding: 0.75rem;
    gap: 12px;
  }

  .filter-groups-container {
    gap: 12px;
  }

  .filter-label {
    font-size: 0.75rem;
  }

  .filter-options {
    gap: 3px;
  }

  .filter-btn {
    padding: 5px 9px;
    font-size: 0.7rem;
    border-radius: 14px;
  }

  .filter-result-info {
    font-size: 0.8rem;
    padding: 10px 14px;
  }

  /* 图表小屏幕优化 */
  .funding-charts {
    padding: 0.75rem;
    gap: 10px;
  }

  .chart-container {
    padding: 12px;
  }

  .chart-title {
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

  .chart-content {
    min-height: auto; /* 自适应高度 */
    gap: 8px;
  }

  .chart-bar {
    gap: 8px;
  }

  .chart-bar-label {
    min-width: 60px;
    font-size: 0.75rem;
  }

  .chart-bar-track {
    height: 24px;
    border-radius: 12px;
  }

  .chart-bar-fill {
    padding-right: 8px;
    min-width: 30px;
    border-radius: 12px;
  }

  .chart-bar-value {
    font-size: 0.7rem;
  }
}

/* 当前筛选状态条 */
.active-filters-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(250, 140, 50, 0.05);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #666;
  animation: slideInDown 0.3s ease-out;
}

.active-filters-summary::before {
  content: '✓';
  color: var(--primary-color, #FA8C32);
  font-weight: 700;
  font-size: 1.1rem;
}

.filter-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid rgba(250, 140, 50, 0.25);
  border-radius: 12px;
  color: var(--primary-color, #FA8C32);
  font-size: 0.8rem;
  font-weight: 600;
}

.filter-tag-pill::before {
  content: '#';
  opacity: 0.6;
}

/* 热门标签样式 */
.hot-tag {
  position: relative;
  border-color: rgba(250, 140, 50, 0.4);
  background: linear-gradient(135deg, rgba(255, 251, 247, 1) 0%, rgba(255, 243, 224, 1) 100%);
}

.hot-tag:hover {
  border-color: var(--primary-color, #FA8C32);
  background: linear-gradient(135deg, rgba(255, 243, 224, 1) 0%, rgba(255, 235, 204, 1) 100%);
}

.hot-tag-badge {
  font-size: 0.75rem;
  margin-left: 2px;
  display: inline-block;
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

/* 可点击图表条样式 */
.clickable-chart-bar {
  cursor: pointer;
  transition: all 0.2s ease;
}

.clickable-chart-bar:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clickable-chart-bar:hover .chart-bar-fill {
  filter: brightness(1.1);
}

/* 图表条激活状态 */
.chart-bar-active .chart-bar-fill {
  background: linear-gradient(90deg, #FF6B35, #FF8C42) !important;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.chart-bar-active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(255, 107, 53, 0.2);
}

/* 无障碍优化 */
.filter-btn:focus-visible {
  outline: 2px solid var(--primary-color, #FA8C32);
  outline-offset: 2px;
}

.filter-reset-btn:focus-visible {
  outline: 2px solid #666;
  outline-offset: 2px;
}


/* ========================================
   Filter 增强
   ======================================== */

/**
 * 融资日报筛选栏优化版 - 更好的视觉层次和交互体验
 * Version: 2.0
 * Date: 2025-10-18
 */

/* ==================== 表头区域重构 ==================== */

.funding-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

/* 标题和更新时间行 */
.funding-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(250, 140, 50, 0.15);
}

.funding-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.funding-title-badge {
  background: linear-gradient(135deg, var(--primary-color, #FA8C32) 0%, var(--secondary-color, #FFBB33) 100%);
  color: #fff;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(250, 140, 50, 0.25);
}

.funding-update-time {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: rgba(250, 140, 50, 0.08);
  border-radius: 16px;
}

/* ==================== 筛选栏布局重构 ==================== */

.funding-filter-bar {
  background: linear-gradient(135deg, #fff 0%, #fffbf7 100%);
  border: 1px solid rgba(250, 140, 50, 0.12);
  border-radius: 12px;
  padding: 20px;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04),
              0 0 1px rgba(250, 140, 50, 0.15);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

/* 筛选组容器 */
.filter-groups-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* 单个筛选组 */
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* 筛选标签 - 增强设计 */
.filter-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  padding: 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-label::before {
  content: '';
  width: 3px;
  height: 14px;
  background: linear-gradient(180deg, var(--primary-color, #FA8C32), var(--secondary-color, #FFBB33));
  border-radius: 2px;
}

/* 筛选选项 - 紧凑布局 */
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* 筛选按钮 - 增强视觉 */
.filter-btn {
  padding: 7px 14px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #555;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

/* 按钮悬停效果 */
.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(250, 140, 50, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.filter-btn:hover::before {
  width: 120%;
  height: 120%;
}

.filter-btn:hover {
  border-color: var(--primary-color, #FA8C32);
  color: var(--primary-color, #FA8C32);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(250, 140, 50, 0.15);
}

/* 激活状态 */
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary-color, #FA8C32) 0%, var(--secondary-color, #FFBB33) 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(250, 140, 50, 0.3),
              0 4px 8px rgba(250, 140, 50, 0.15);
  transform: translateY(-1px);
}

.filter-btn.active::before {
  display: none;
}

/* 重置按钮 - 右侧固定 */
.filter-reset-btn {
  align-self: flex-start;
  padding: 10px 20px;
  border: 1.5px solid #ddd;
  background: #fff;
  border-radius: 20px;
  font-size: 0.875rem;
  color: #666;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.filter-reset-btn::before {
  content: '🔄';
  margin-right: 4px;
  font-size: 0.9rem;
}

.filter-reset-btn:hover {
  background: #f8f8f8;
  border-color: #aaa;
  color: #333;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filter-reset-btn:active {
  transform: translateY(0);
}

/* ==================== 筛选结果提示 ==================== */

.filter-result-info {
  padding: 12px 18px;
  background: linear-gradient(90deg, rgba(250, 140, 50, 0.08) 0%, rgba(255, 187, 51, 0.08) 100%);
  border-left: 3px solid var(--primary-color, #FA8C32);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInDown 0.3s ease-out;
}

.filter-result-info::before {
  content: '🔍';
  font-size: 1.1rem;
}

.filter-result-info strong {
  color: var(--primary-color, #FA8C32);
  font-weight: 700;
  font-size: 1.05em;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== 当前筛选状态条 ==================== */

.active-filters-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 16px;
  background: rgba(250, 140, 50, 0.05);
  border-radius: 8px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #666;
}

.active-filters-summary::before {
  content: '✓';
  color: var(--primary-color, #FA8C32);
  font-weight: 700;
  font-size: 1.1rem;
}

.filter-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #fff;
  border: 1px solid rgba(250, 140, 50, 0.25);
  border-radius: 12px;
  color: var(--primary-color, #FA8C32);
  font-size: 0.8rem;
  font-weight: 600;
}

.filter-tag-pill::before {
  content: '#';
  opacity: 0.6;
}

/* ==================== 响应式设计 ==================== */

@media (max-width: 1024px) {
  .filter-groups-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .funding-filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-reset-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .funding-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .funding-title-badge {
    font-size: 1.1rem;
    padding: 8px 18px;
  }

  .funding-update-time {
    font-size: 0.75rem;
    padding: 4px 10px;
  }

  .funding-filter-bar {
    padding: 16px;
    gap: 14px;
  }

  .filter-groups-container {
    gap: 14px;
  }

  .filter-label {
    font-size: 0.8rem;
  }

  .filter-options {
    gap: 4px;
  }

  .filter-btn {
    padding: 6px 11px;
    font-size: 0.75rem;
  }

  .filter-reset-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .funding-title-badge {
    font-size: 1rem;
    padding: 7px 16px;
    letter-spacing: 0.5px;
  }

  .funding-filter-bar {
    padding: 12px;
    gap: 12px;
  }

  .filter-groups-container {
    gap: 12px;
  }

  .filter-label {
    font-size: 0.75rem;
  }

  .filter-options {
    gap: 3px;
  }

  .filter-btn {
    padding: 5px 9px;
    font-size: 0.7rem;
    border-radius: 14px;
  }

  .filter-result-info {
    font-size: 0.8rem;
    padding: 10px 14px;
  }
}

/* ==================== 无障碍优化 ==================== */

.filter-btn:focus-visible {
  outline: 2px solid var(--primary-color, #FA8C32);
  outline-offset: 2px;
}

.filter-reset-btn:focus-visible {
  outline: 2px solid #666;
  outline-offset: 2px;
}

/* ==================== 深色模式支持 (可选) ==================== */

@media (prefers-color-scheme: dark) {
  .funding-filter-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2520 100%);
    border-color: rgba(250, 140, 50, 0.25);
  }

  .filter-label {
    color: #e0e0e0;
  }

  .filter-btn {
    background: #2a2a2a;
    border-color: #444;
    color: #ccc;
  }

  .filter-btn:hover {
    background: #333;
    border-color: var(--primary-color, #FA8C32);
    color: var(--primary-color, #FA8C32);
  }

  .filter-reset-btn {
    background: #2a2a2a;
    border-color: #444;
    color: #ccc;
  }

  .filter-reset-btn:hover {
    background: #333;
    border-color: #666;
  }

  .filter-result-info {
    background: linear-gradient(90deg, rgba(250, 140, 50, 0.15) 0%, rgba(255, 187, 51, 0.15) 100%);
    border-left-color: var(--primary-color, #FA8C32);
    color: #ccc;
  }
}


/* ========================================
   Header 增强
   ======================================== */

/**
 * AI创投日报 - 美化表头样式
 * 版本: v1.0
 * 日期: 2025-10-19
 */

/* 表头容器 */
.funding-header-enhanced {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(250, 140, 50, 0.1);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  margin-bottom: 4px;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

/* 装饰性渐变背景 */
.funding-header-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(250, 140, 50, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.funding-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* 左侧标题区域 */
.funding-header-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.funding-main-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
}

.title-text {
  background: linear-gradient(135deg, #FA8C32 0%, #FF6B35 50%, #FFBB33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(90deg, #FF4444, #FF6B6B);
  color: #fff;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(255, 68, 68, 0.3);
  animation: pulse 2s ease-in-out infinite;
  position: relative;
}

.title-badge::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.funding-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 500;
  line-height: 1.6;
}

.funding-weekly-link {
  display: block;
  font-size: 0.9rem;
  color: #888;
  font-weight: 400;
  margin-top: 4px;
}

/* 右侧数据卡片 */
.funding-header-right {
  display: flex;
  gap: 16px;
}

.funding-stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  border: 2px solid rgba(250, 140, 50, 0.15);
  min-width: 140px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.funding-stat-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 12px rgba(250, 140, 50, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(250, 140, 50, 0.3);
}

.stat-label {
  font-size: 0.85rem;
  color: #888;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FA8C32 0%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* 加载动画 */
.loading-dots {
  font-size: 0.9rem;
  color: #999;
  font-weight: 500;
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
  .funding-header-enhanced {
    padding: 20px 24px;
  }

  .funding-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .funding-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .funding-stat-card {
    flex: 1;
    min-width: 0;
  }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
  .funding-header-enhanced {
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }

  .funding-main-title {
    font-size: 1.6rem;
    gap: 8px;
  }

  .title-badge {
    padding: 3px 10px;
    font-size: 0.65rem;
  }

  .funding-subtitle {
    font-size: 0.9rem;
  }

  .funding-header-right {
    gap: 12px;
  }

  .funding-stat-card {
    padding: 12px 16px;
    min-width: 0;
  }

  .stat-label {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

/* 响应式设计 - 小屏手机 */
@media (max-width: 480px) {
  .funding-header-enhanced {
    padding: 0.75rem;
    margin-top: 0.75rem;
  }

  .funding-main-title {
    font-size: 1.4rem;
    flex-wrap: wrap;
    gap: 6px;
  }

  .title-badge {
    padding: 2px 8px;
    font-size: 0.6rem;
    margin-left: -6px;
  }

  .funding-subtitle {
    font-size: 0.85rem;
  }

  .funding-header-right {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .funding-stat-card {
    padding: 10px 14px;
  }

  .stat-value {
    font-size: 1.3rem;
  }
}


/* ========================================
   内部间距
   ======================================== */

/**
 * AI创投日报 - 内部板块间距优化
 * 设计理念:
 * - 控制区 (表头/图表/筛选栏) 无间距,紧密连接形成整体
 * - 控制区与内容区 (融资卡片) 之间保持 1rem (16px) 间距分隔
 */

/* ========== 控制区内部无间距 ========== */

/* 图表区域 - 无顶部间距,与表头紧密连接 */
.funding-charts {
  margin-top: 0 !important;
}

/* 筛选栏 - 无顶部间距,与图表紧密连接 */
.funding-filter-bar {
  margin-top: 0 !important;
}

/* 融资卡片列表 - 与筛选栏保持间距,形成控制区/内容区分隔 */
.funding-highlights {
  margin-top: 1rem !important;
}

/* ========== 移动端保持相同逻辑 ========== */
@media (max-width: 768px) {
  /* 控制区内部无间距 */
  .funding-charts {
    margin-top: 0 !important;
  }

  .funding-filter-bar {
    margin-top: 0 !important;
  }

  /* 内容区保持分隔 */
  .funding-highlights {
    margin-top: 1rem !important;
  }
}

@media (max-width: 480px) {
  /* 控制区内部无间距 */
  .funding-charts {
    margin-top: 0 !important;
  }

  .funding-filter-bar {
    margin-top: 0 !important;
  }

  /* 内容区保持分隔 */
  .funding-highlights {
    margin-top: 1rem !important;
  }
}


/* ========================================
   移动端修复
   ======================================== */

/**
 * AI创投日报移动端修复
 * 确保表头、图表和标签在移动端上下排列
 */

/* 强制整体布局在移动端垂直排列 */
@media (max-width: 768px) {
  /* AI创投日报整体容器 - 移除顶部间距,与widget紧密相连 */
  .funding-daily {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* 最外层容器 - 强制垂直布局（覆盖 funding-daily.css 的 row 设置） */
  .funding-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
    margin-bottom: 1.5rem !important;
  }

  /* 表头区域 - 强制垂直布局 */
  .funding-header-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: 100% !important;
  }

  .funding-header-left {
    width: 100% !important;
  }

  /* 统计卡片区域 - 垂直堆叠 */
  .funding-header-right {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .funding-stat-card {
    display: block !important;
    width: 100% !important;
  }

  /* 图表区域 - 垂直堆叠 */
  .funding-charts {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 16px !important;
    width: 100% !important;
  }

  .chart-container {
    display: block !important;
    width: 100% !important;
  }

  /* 筛选栏 - 垂直布局 */
  .funding-filter-bar {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 16px !important;
    width: 100% !important;
  }

  .filter-groups-container {
    width: 100% !important;
  }

  .filter-group {
    width: 100% !important;
  }

  /* 重置按钮移到下方 */
  .filter-reset-btn {
    width: 100% !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 480px) {
  /* 更紧凑的间距 */
  .funding-header-content {
    gap: 12px !important;
  }

  .funding-header-right {
    gap: 8px !important;
  }

  .funding-charts {
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .funding-filter-bar {
    gap: 10px !important;
    margin-top: 12px !important;
  }
}


/* ========================================
   统一容器
   ======================================== */

/**
 * AI创投日报 - 统一容器样式
 * 将表头、图表、筛选栏、融资卡片融合在一个白色背景板块内
 */

/* 统一背景容器 - 包含所有内容 */
.funding-unified-container {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(250, 140, 50, 0.1);
}

/* 移除各子模块的独立背景和阴影 */
.funding-unified-container .funding-header-enhanced,
.funding-unified-container .funding-charts,
.funding-unified-container .funding-filter-bar,
.funding-unified-container .funding-highlights {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* 恢复内边距 */
.funding-unified-container .funding-header-enhanced {
  padding: 0 0 1rem 0 !important;
}

.funding-unified-container .funding-charts {
  padding: 1rem 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.funding-unified-container .funding-filter-bar {
  padding: 1rem 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.funding-unified-container .funding-highlights {
  padding: 1rem 0 0 0 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* 移除顶部margin */
.funding-unified-container .funding-header-enhanced {
  margin-top: 0 !important;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .funding-unified-container {
    padding: 1rem;
    border-radius: 12px;
  }

  .funding-unified-container .funding-header-enhanced {
    padding: 0 0 0.75rem 0 !important;
  }

  .funding-unified-container .funding-charts {
    padding: 0.75rem 0 !important;
  }

  .funding-unified-container .funding-filter-bar {
    padding: 0.75rem 0 !important;
  }

  .funding-unified-container .funding-highlights {
    padding: 0.75rem 0 0 0 !important;
  }
}

@media (max-width: 480px) {
  .funding-unified-container {
    padding: 0.75rem;
  }

  .funding-unified-container .funding-header-enhanced {
    padding: 0 0 0.5rem 0 !important;
  }

  .funding-unified-container .funding-charts {
    padding: 0.5rem 0 !important;
  }

  .funding-unified-container .funding-filter-bar {
    padding: 0.5rem 0 !important;
  }

  .funding-unified-container .funding-highlights {
    padding: 0.5rem 0 0 0 !important;
  }
}

