/* 首页信息流 — 与航海统一的海青视觉（布局不变） */

.feed-shell { display: flex; flex-direction: column; }

.feed-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}
.feed-tabs { display: flex; gap: 4px; }
.feed-tabs a {
  height: 32px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink2);
  transition: background .15s ease, color .15s ease;
}
.feed-tabs a:hover { color: var(--primary-hover); background: var(--primary-bg); }
.feed-tabs a.on {
  color: #fff;
  background: linear-gradient(135deg, #0d9488, #0891b2);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(13, 148, 136, .25);
}

.feed-filters-wrap {
  position: relative;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-top: 1px solid var(--line);
  border-radius: 0 0 18px 18px;
  box-shadow: var(--shadow);
}
.feed-filters-wrap::before,
.feed-filters-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 28px;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.feed-filters-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 20%, rgba(255,255,255,0));
  border-radius: 0 0 0 18px;
}
.feed-filters-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #fff 20%, rgba(255,255,255,0));
  border-radius: 0 0 18px 0;
}
.feed-filters-wrap.can-left::before,
.feed-filters-wrap.can-right::after { opacity: 1; }
.feed-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 8px 14px 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.feed-filters::-webkit-scrollbar { display: none; }
.feed-filters a {
  flex-shrink: 0;
  height: 28px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink2);
  background: var(--bg);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.feed-filters a.on {
  color: var(--primary-hover);
  background: var(--primary-bg);
  font-weight: 600;
}

.feed-list {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feed-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid #f1f5f9;
  color: inherit;
  transition: background .15s ease;
}
.feed-item:last-child { border-bottom: 0; }
.feed-item:hover { background: #f8fffd; color: inherit; }

.feed-av, img.feed-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-bg);
  color: var(--primary-hover);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
}

.feed-body { flex: 1; min-width: 0; }
.feed-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-bottom: 4px;
  font-size: 12px;
  color: var(--ink3);
}
.feed-name { color: var(--ink2); font-weight: 500; }
.feed-vip {
  color: var(--primary);
  font-weight: 600;
}
.feed-body h2 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.01em;
}
.feed-item:hover h2 { color: var(--primary-hover); }
.feed-body p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.feed-vip-tip {
  color: #6b7280 !important;
}
.feed-ft {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--ink3);
}

.side-hot {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-hot li {
  border-bottom: 1px solid #f1f5f9;
}
.side-hot li:last-child { border-bottom: 0; }
.side-hot a {
  display: block;
  padding: 9px 0;
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.side-hot a:hover { color: var(--primary); }

.side-vip .btn-block { width: 100%; }

@media (max-width: 640px) {
  .feed-toolbar { padding: 10px 12px; }
  .feed-item { padding: 14px 12px; }
  .feed-body h2 { font-size: 15px; }
  .feed-av, img.feed-av { width: 34px; height: 34px; }
}
