/* ===== Bottom Nav ===== */
.bottom-nav {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: calc(72px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.8);
  display: flex; align-items: center;
  padding: 0 32px env(safe-area-inset-bottom, 8px);
  z-index: 20;
}
.bottom-nav .nav-item:first-child { margin-right: auto; }
.bottom-nav .nav-item:nth-of-type(2) { margin-right: auto; }
.bottom-nav .nav-item:nth-last-of-type(2) { margin-left: auto; }
.bottom-nav .nav-item:last-child { margin-left: auto; }

.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: none;
  color: var(--slate-400);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.nav-item i { font-size: 22px; transition: all 0.2s; }
.nav-item span { font-size: 10px; font-weight: 600; transition: all 0.2s; }
.nav-item.active { color: var(--primary); }
.nav-item.active i { transform: scale(1.1); }

.nav-ai-wrap {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  bottom: 8px;
  z-index: 2;
}
.nav-ai-btn {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  border: none;
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: white;
  cursor: pointer;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(139,92,246,0.4);
  transition: all 0.2s;
  position: relative;
}
.nav-ai-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  animation: magic-glow 2s ease-in-out infinite;
  pointer-events: none;
}
.nav-ai-btn:hover { transform: scale(1.05); box-shadow: 0 6px 24px rgba(139,92,246,0.5); }
.nav-ai-btn:active { transform: scale(0.95); }

@keyframes magic-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* ===== News Cards ===== */
.news-list { display: flex; flex-direction: column; gap: 12px; }

.news-card {
  display: flex; gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
  width: 100%;
}
.news-card:hover { box-shadow: 0 8px 30px rgba(139,92,246,0.08); transform: translateY(-1px); }
.news-card-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--slate-100);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-img .img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate-300); font-size: 28px;
}
.news-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.news-card-title {
  font-size: 14px; font-weight: 600; color: var(--slate-800);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-summary {
  font-size: 12px; color: var(--slate-400);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}
.news-card-time { font-size: 10px; color: var(--slate-300); margin-top: auto; }

.news-empty {
  padding: 40px 20px; text-align: center; color: var(--slate-300); font-size: 14px;
}

/* ===== Hot Questions Tag Cloud ===== */
.hot-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.hot-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  color: var(--slate-600);
  transition: all 0.2s;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}
.hot-tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(79,70,229,0.2);
}

