/* WXSSC V65.68D - flash-news important events rebuild + remove duplicated VIP bottom */

/* 重点事件：从普通横幅重建为专业事件卡 */
.wx55-important.wx-v6568d-important {
  height: auto !important;
  min-height: 78px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 260px !important;
  gap: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid #e5edf7 !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .055) !important;
}

.wx-v6568d-important-main {
  padding: 14px 18px 13px !important;
  background:
    radial-gradient(circle at 0 0, rgba(37, 99, 235, .075), transparent 260px),
    linear-gradient(180deg, #ffffff, #fbfdff) !important;
}

.wx-v6568d-important-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 10px !important;
}

.wx-v6568d-important-title {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.wx-v6568d-important-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, .10) !important;
  flex: 0 0 auto !important;
}

.wx-v6568d-important-title b {
  font-size: 16px !important;
  line-height: 1.1 !important;
  color: #0f172a !important;
  font-weight: 1000 !important;
  letter-spacing: -.02em !important;
}

.wx-v6568d-important-title span {
  font-size: 12px !important;
  color: #64748b !important;
  font-weight: 850 !important;
  margin-left: 4px !important;
}

.wx-v6568d-important-meta {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 26px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  border: 1px solid #e7eef8 !important;
}

.wx-v6568d-important-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px 12px !important;
}

.wx-v6568d-event {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 9px !important;
  align-items: center !important;
  padding: 9px 10px !important;
  border-radius: 13px !important;
  background: rgba(248, 250, 252, .82) !important;
  border: 1px solid rgba(226, 232, 240, .95) !important;
}

.wx-v6568d-event:hover {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}

.wx-v6568d-event-num {
  width: 34px !important;
  height: 34px !important;
  border-radius: 11px !important;
  display: grid !important;
  place-items: center !important;
  background: #eff6ff !important;
  color: #2563eb !important;
  font-size: 13px !important;
  font-weight: 1000 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
}

.wx-v6568d-event:first-child .wx-v6568d-event-num {
  background: #fff1f2 !important;
  color: #e11d48 !important;
}

.wx-v6568d-event-text {
  min-width: 0 !important;
}

.wx-v6568d-event-text b {
  display: block !important;
  color: #0f172a !important;
  font-size: 13.5px !important;
  line-height: 1.22 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wx-v6568d-event-text span {
  display: block !important;
  margin-top: 2px !important;
  color: #64748b !important;
  font-size: 11.5px !important;
  line-height: 1.15 !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.wx-v6568d-important-vip {
  padding: 16px 18px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  background:
    radial-gradient(circle at 100% 0, rgba(225, 29, 72, .14), transparent 180px),
    linear-gradient(135deg, #fff7ed, #ffe4e6) !important;
  border-left: 1px solid #fee2e2 !important;
}

.wx-v6568d-important-vip small {
  color: #9f1239 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.wx-v6568d-important-vip b {
  color: #be123c !important;
  font-size: 19px !important;
  line-height: 1.1 !important;
  font-weight: 1000 !important;
  letter-spacing: -.02em !important;
}

.wx-v6568d-important-vip a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-start !important;
  height: 30px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: #111827 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

/* 强制隐藏/移除底部 VIP资讯 / 专属报告重复区，避免与 VIP专区重复 */
.wx-v589-vip-front,
.wx-v589-vip-box,
.wx-v589-vip-head,
.wx-v589-vip-list,
#wxV589VipList,
[data-wxssc-vip-content-front],
[data-vip-content-front],
.wx55-main > .wx-v589-vip-front,
.wx55-main + .wx-v589-vip-front {
  display: none !important;
}

/* 若旧脚本插入的是无固定类的标题块，JS 会移除；CSS 兜底缩掉相关容器 */
section:has(.wx-v589-vip-head),
div:has(> .wx-v589-vip-head) {
  display: none !important;
}

@media (max-width: 980px) {
  .wx55-important.wx-v6568d-important {
    grid-template-columns: 1fr !important;
  }

  .wx-v6568d-important-grid {
    grid-template-columns: 1fr !important;
  }

  .wx-v6568d-important-vip {
    border-left: 0 !important;
    border-top: 1px solid #fee2e2 !important;
  }
}
