/* 发现导航：热门标签 + 年月快跳 */
.discovery-nav {
  max-width: 640px;
  margin: 0 auto 22px;
  text-align: left;
}

.discovery-nav[hidden] {
  display: none !important;
}

.discovery-block {
  margin-bottom: 14px;
}

.discovery-block[hidden] {
  display: none !important;
}

.discovery-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: none;
}

.hot-tags,
.year-nav,
.month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.hot-tag,
.year-pill,
.month-pill {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--card-border);
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  padding: 5px 11px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  box-shadow: none;
  font-family: inherit;
}

.hot-tag:hover,
.year-pill:hover,
.month-pill:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: rgba(232, 137, 155, 0.28);
}

.hot-tag.is-active,
.year-pill.is-active,
.month-pill.is-active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: rgba(232, 137, 155, 0.4);
  font-weight: 600;
}

.hot-tag-count,
.nav-count {
  font-size: 0.68em;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text-tertiary);
  opacity: 0.9;
}

.hot-tag.is-active .hot-tag-count,
.year-pill.is-active .nav-count,
.month-pill.is-active .nav-count {
  color: var(--primary-dark);
  opacity: 0.75;
}

.month-nav {
  margin-top: 8px;
}

/* 月份标题跳转高亮 */
@keyframes month-flash-pulse {
  0% {
    border-left-color: var(--primary-color);
    color: var(--primary-dark);
    background: var(--primary-soft);
  }
  100% {
    border-left-color: var(--primary-light);
    color: var(--text-primary);
    background: transparent;
  }
}

.month-group.month-flash .month-title {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-right: 8px;
  animation: month-flash-pulse 1.2s ease forwards;
}
