/* AI 快讯时间轴列表页（CSR 空壳 + 前端渲染） */
.ai-nf-page .left {
  width: 910px;
  float: left;
}

.ai-nf-page .right {
  width: 300px;
  float: right;
}

.ai-nf-wrap {
  position: relative;
  width: 100%;
  margin: 0;
  background: #fff;
  color: #4d5b68;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.ai-nf-wrap * {
  box-sizing: border-box;
}

.ai-nf-tabs {
  position: relative;
  height: 42px;
  margin: 0;
  border: 0;
  background: #f3f5f7;
}

.ai-nf-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 3px;
  background: linear-gradient(90deg, #1f63aa 0%, #315aa0 42%, #7c3f70 72%, #c23b3d 100%);
}

.ai-nf-tabs ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-nf-tabs li {
  flex: 1 1 0;
  min-width: 0;
}

.ai-nf-tabs li span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f3f5f7;
  color: #7d8794;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.ai-nf-tabs li + li span {
  border-left: 1px solid #edf0f4;
}

.ai-nf-tabs li.on span {
  z-index: 2;
  background: #fff;
  color: #1f63aa;
  box-shadow: inset 0 -4px 0 #1f63aa;
}

.ai-nf-toolbar {
  display: flex;
  align-items: flex-start;
  gap: 0;
  height: 60px;
  padding: 0 5px;
  border-bottom: 1px solid #dfe8f1;
  color: #5d6875;
  font-size: 14px;
}

.ai-nf-date {
  position: relative;
  margin-top: 23px;
  padding-left: 10px;
  color: #e6362e;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}

.ai-nf-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 2px;
  height: 12px;
  background: #ea6a5e;
}

.ai-nf-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 23px;
  margin-left: 24px;
  color: #ff8a21;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}

.ai-nf-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f39a31;
}

.ai-nf-select-all {
  display: none;
}

.ai-nf-auto-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  margin-left: auto;
  color: #5a6470;
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.ai-nf-auto-refresh input {
  order: -1;
  position: relative;
  width: 39px;
  height: 22px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  background: #cfd7e1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ai-nf-auto-refresh input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(25, 62, 102, 0.24);
  transition: left 0.2s ease;
}

.ai-nf-auto-refresh input:checked {
  background: #1f63aa;
}

.ai-nf-auto-refresh input:checked::before {
  left: 20px;
}

.ai-nf-timeline {
  position: relative;
  min-height: 120px;
  padding: 0 0 0 62px;
}

.ai-nf-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: #d9e9f9;
}

.ai-nf-empty,
.ai-nf-error {
  padding: 24px 0;
  color: #999;
  font-size: 14px;
}

.ai-nf-loading {
  position: absolute;
  top: 102px;
  left: 0;
  right: 0;
  z-index: 10;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 160px;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.82);
  color: #5d6875;
  font-size: 14px;
  font-weight: 700;
}

.ai-nf-loading:not([hidden]) {
  display: flex;
}

.ai-nf-loading-spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 3px solid #d7eafa;
  border-top-color: #1f63aa;
  border-radius: 50%;
  animation: aiNfSpin 0.8s linear infinite;
}

.ai-nf-wrap.is-loading .ai-nf-timeline {
  opacity: 0.35;
  pointer-events: none;
}

.ai-nf-wrap.is-loading .ai-nf-tabs {
  pointer-events: none;
}

.ai-nf-wrap.is-loading .ai-nf-more {
  visibility: hidden;
}

.ai-nf-error {
  color: #c01410;
}

.ai-nf-date-heading {
  color: #222;
  font-size: 22px;
  font-weight: 700;
  line-height: 34px;
}

.ai-nf-date-heading:first-child {
  margin-top: 24px;
}

.ai-nf-item {
  position: relative;
  display: block;
  padding: 21px 0 9px;
  border: 0;
}

.ai-nf-item-check {
  display: none;
}

.ai-nf-axis {
  position: absolute;
  left: -46px;
  top: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.ai-nf-item .ai-nf-axis .dot {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
  border: 0;
  border-radius: 50%;
  background: #d7eafa;
  box-shadow: 0 0 0 1px #c7def4 inset;
}

.ai-nf-item .ai-nf-axis .dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d69ad;
  transform: translate(-50%, -50%);
}

.ai-nf-item-main {
  min-width: 0;
}

.ai-nf-time-bar {
  display: block;
  width: 100%;
  height: 30px;
  margin: 0 0 12px;
  padding: 0 10px;
  border-radius: 0;
  background: #eef2f6;
  color: #7f8a97;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
}

.ai-nf-title {
  display: block;
  margin: 0 8px 7px;
  overflow: visible;
  color: #4b5865;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-overflow: clip;
  white-space: normal;
}

.ai-nf-title a {
  display: inline;
  overflow: visible;
  color: inherit;
  text-decoration: none;
  text-overflow: clip;
  white-space: normal;
}

.ai-nf-title a:hover {
  color: #1f63aa;
}

.ai-nf-summary {
  margin: 0 8px 8px;
  color: #6a7682;
  font-size: 14px;
  line-height: 22px;
}

.ai-nf-tag {
  display: inline-block;
  min-width: 0;
  height: 20px;
  margin-left: 8px;
  padding: 0 7px;
  border: 1px solid #8ec6f1;
  border-radius: 2px;
  background: #fff;
  color: #1c74bd;
  font-size: 12px;
  line-height: 18px;
}

.ai-nf-more {
  padding: 20px 0;
  text-align: center;
}

.ai-nf-more a {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid #d8dee6;
  border-radius: 4px;
  color: #66717e;
  font-size: 14px;
  text-decoration: none;
}

.ai-nf-more a:hover {
  border-color: #1f63aa;
  color: #1f63aa;
}

.ai-nf-item.is-new {
  animation: aiNfFadeIn 0.4s ease;
}

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

@keyframes aiNfSpin {
  to {
    transform: rotate(360deg);
  }
}

.ai-nf-date-heading {
    position: relative;
    display: block;
    padding: 21px 0 9px;
    border: 0;
}
