/* =========================================================
   黑料网官网 - 共享暗色资讯门户主题
   主色：深黑 #1a1a1a / 亮黄 #ffd60a / 白色文字
   ========================================================= */

:root {
  --bg-dark: #1a1a1a;
  --bg-darker: #111111;
  --bg-card: #232323;
  --bg-elevated: #2c2c2c;
  --bg-input: #1f1f1f;
  --accent: #ffd60a;
  --accent-dark: #e6c109;
  --accent-soft: rgba(255, 214, 10, 0.12);
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #7a7a7a;
  --border: #353535;
  --border-light: #2a2a2a;
  --danger: #ff4d4f;
  --hot: #ff5c5c;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 10px 30px rgba(255, 214, 10, 0.08);
  --container: 1240px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 顶部黄色 Logo 横条 ---------- */
.topbar {
  background: var(--accent);
  color: #0d0d0d;
  font-size: 13px;
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  color: #0d0d0d;
}

.topbar a:hover {
  color: #4a4a4a;
}

.topbar .topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d0d0d;
  display: inline-block;
  margin: 0 2px;
}

/* ---------- 品牌 Logo 区 ---------- */
.brand-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
  padding: 22px 0;
}

.brand-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(255, 214, 10, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--text-primary);
  line-height: 1.1;
}

.logo-text .brand-name span {
  color: var(--accent);
}

.logo-text .brand-slogan {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 2px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 0 4px 0 16px;
  width: 320px;
  transition: border-color 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--accent);
}

.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 14px;
  padding: 10px 0;
}

.search-box input::placeholder {
  color: var(--text-muted);
}

.search-box button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d0d0d;
}

/* ---------- 主导航 ---------- */
.main-nav {
  background: #0d0d0d;
  border-top: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  flex: 1;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  transition: color 0.2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}

.nav-list a.active {
  color: var(--accent);
}

.nav-list svg {
  width: 18px;
  height: 18px;
}

.nav-hot {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--hot);
  font-size: 13px;
  font-weight: 700;
}

.nav-hot .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 92, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 92, 0);
  }
}

/* ---------- 主体三栏布局 ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding: 28px 0;
}

.main-content {
  min-width: 0;
}

.sidebar {
  min-width: 0;
}

/* ---------- 章节标题 ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.section-title::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title .en {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-more {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-more:hover {
  color: var(--accent);
}

.section-more svg {
  width: 14px;
  height: 14px;
}

.section {
  margin-bottom: 40px;
}

/* ---------- Hero 热点轮播 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  height: 420px;
  margin-bottom: 36px;
}

.hero-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #6d28d9 0%, #db2777 55%, #f59e0b 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
}

.hero-main-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  max-width: 90%;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.hero-meta .read {
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero-dots {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  gap: 6px;
}

.hero-dots span {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-dots span.active {
  background: var(--accent);
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-side-item {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hero-side-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-side-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-side-item .hs-text {
  position: relative;
  z-index: 2;
}

.hero-side-item .hs-num {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 2;
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  font-style: italic;
  line-height: 1;
}

.hero-side-item .hs-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hs-1 {
  background: linear-gradient(135deg, #1e3a8a, #2563eb, #06b6d4);
}
.hs-2 {
  background: linear-gradient(135deg, #7c2d12, #ea580c, #facc15);
}
.hs-3 {
  background: linear-gradient(135deg, #4c1d95, #9333ea, #ec4899);
}

/* ---------- 快讯滚动条 ---------- */
.ticker {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker-scroll 32s linear infinite;
  color: var(--text-secondary);
  font-size: 14px;
}

.ticker-content span {
  margin: 0 26px;
}

.ticker-content b {
  color: var(--accent);
  margin-right: 6px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ---------- 今日要闻列表 ---------- */
.headline-list {
  display: flex;
  flex-direction: column;
}

.headline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}

.headline-item:last-child {
  border-bottom: none;
}

.headline-rank {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headline-item:nth-child(1) .headline-rank,
.headline-item:nth-child(2) .headline-rank,
.headline-item:nth-child(3) .headline-rank {
  background: var(--accent);
  color: #0d0d0d;
}

.headline-text {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.headline-text:hover {
  color: var(--accent);
}

.headline-time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Tab 切换 ---------- */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  border-radius: 4px 4px 0 0;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--accent);
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* ---------- 新闻卡片网格 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.news-thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.news-thumb .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.badge-hot {
  background: var(--hot);
  color: #fff;
}

.badge-new {
  background: var(--accent);
  color: #0d0d0d;
}

.badge-rec {
  background: #3b82f6;
  color: #fff;
}

.badge-exclusive {
  background: #0d0d0d;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.news-thumb .thumb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.22);
}

.news-thumb .thumb-icon svg {
  width: 56px;
  height: 56px;
}

.news-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title:hover {
  color: var(--accent);
}

.news-summary {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.news-meta .meta-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-meta .meta-stat {
  display: flex;
  align-items: center;
  gap: 3px;
}

.news-meta svg {
  width: 13px;
  height: 13px;
}

/* 渐变图色块预设 */
.grad-1 { background: linear-gradient(135deg, #6d28d9, #db2777); }
.grad-2 { background: linear-gradient(135deg, #1e3a8a, #06b6d4); }
.grad-3 { background: linear-gradient(135deg, #7c2d12, #f59e0b); }
.grad-4 { background: linear-gradient(135deg, #065f46, #10b981); }
.grad-5 { background: linear-gradient(135deg, #831843, #ec4899); }
.grad-6 { background: linear-gradient(135deg, #1e40af, #6366f1); }
.grad-7 { background: linear-gradient(135deg, #581c87, #a855f7); }
.grad-8 { background: linear-gradient(135deg, #92400e, #fbbf24); }
.grad-9 { background: linear-gradient(135deg, #134e4a, #14b8a6); }
.grad-10 { background: linear-gradient(135deg, #7f1d1d, #ef4444); }
.grad-11 { background: linear-gradient(135deg, #312e81, #6366f1); }
.grad-12 { background: linear-gradient(135deg, #4a044e, #d946ef); }

/* ---------- 横排新闻条目（列表） ---------- */
.news-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
}

.news-list-item:last-child {
  border-bottom: none;
}

.news-list-thumb {
  height: 130px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.news-list-content {
  display: flex;
  flex-direction: column;
}

.news-list-content .nl-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-content .nl-title:hover {
  color: var(--accent);
}

.news-list-content .nl-summary {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
  flex: 1;
}

.news-list-content .nl-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.news-list-content .nl-meta .source {
  color: var(--accent);
  font-weight: 600;
}

.news-list-content .nl-meta .stat {
  display: flex;
  align-items: center;
  gap: 3px;
}

.news-list-content .nl-meta svg {
  width: 13px;
  height: 13px;
}

/* ---------- 信息流条目（爆料） ---------- */
.feed-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.feed-item:hover {
  border-color: var(--accent);
}

.feed-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.feed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0d0d0d;
  font-size: 15px;
}

.feed-author {
  font-weight: 700;
  font-size: 14px;
}

.feed-time {
  font-size: 12px;
  color: var(--text-muted);
}

.feed-tags {
  display: flex;
  gap: 6px;
  margin-left: auto;
}

.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  letter-spacing: 1px;
}

.tag-exclusive {
  background: var(--accent);
  color: #0d0d0d;
}

.tag-baoliao {
  background: #7c2d12;
  color: #fbbf24;
}

.tag-piyao {
  background: #065f46;
  color: #34d399;
}

.tag-redu {
  background: #7f1d1d;
  color: #fca5a5;
}

.tag-zhengmian {
  background: #1e3a8a;
  color: #93c5fd;
}

.feed-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.feed-content b {
  color: var(--text-primary);
}

.feed-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.feed-media .fm-item {
  height: 110px;
  border-radius: 6px;
}

.feed-source {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

.feed-source .fs-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-source .fs-label svg {
  width: 14px;
  height: 14px;
}

.feed-actions {
  display: flex;
  gap: 22px;
}

.feed-action {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.feed-action:hover {
  color: var(--accent);
}

.feed-action svg {
  width: 15px;
  height: 15px;
}

/* ---------- 侧边栏通用 ---------- */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.widget-title {
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.widget-title .flame {
  color: var(--hot);
}

/* ---------- 热门排行 TOP10 ---------- */
.rank-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-light);
}

.rank-list li:last-child {
  border-bottom: none;
}

.rank-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
}

.rank-list li:nth-child(1) .rank-num {
  background: var(--hot);
  color: #fff;
}
.rank-list li:nth-child(2) .rank-num {
  background: #fb923c;
  color: #fff;
}
.rank-list li:nth-child(3) .rank-num {
  background: #facc15;
  color: #0d0d0d;
}

.rank-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-text:hover {
  color: var(--accent);
}

.rank-heat {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--hot);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ---------- 热搜榜单 ---------- */
.hot-search-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-light);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.hot-search-list li:hover {
  background: var(--accent-soft);
}

.hot-search-list li:last-child {
  border-bottom: none;
}

.hs-rank {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  color: var(--text-muted);
}

.hot-search-list li:nth-child(1) .hs-rank {
  color: var(--hot);
}
.hot-search-list li:nth-child(2) .hs-rank {
  color: #fb923c;
}
.hot-search-list li:nth-child(3) .hs-rank {
  color: var(--accent);
}

.hs-content {
  flex: 1;
  min-width: 0;
}

.hs-topic {
  font-size: 14px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 2px;
}

.hs-topic:hover {
  color: var(--accent);
}

.hs-tag-mini {
  font-size: 10px;
  color: var(--text-muted);
}

.hs-heat-bar {
  width: 60px;
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 4px;
}

.hs-heat-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--hot));
  border-radius: 2px;
}

/* ---------- 专题推荐 ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.topic-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 180px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.topic-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(0, 0, 0, 0.88) 100%);
}

.topic-card .tc-tag {
  position: relative;
  z-index: 2;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.topic-card .tc-title {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px;
}

.topic-card .tc-desc {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* ---------- 明星卡片网格 ---------- */
.stars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.star-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: center;
  padding: 22px 16px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.star-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.star-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: #0d0d0d;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 0 0 2px var(--accent);
}

.star-name {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.star-name:hover {
  color: var(--accent);
}

.star-profession {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.star-latest {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* 明星头像渐变预设 */
.sa-1 { background: linear-gradient(135deg, #ffd60a, #f59e0b); }
.sa-2 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.sa-3 { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.sa-4 { background: linear-gradient(135deg, #10b981, #06b6d4); }
.sa-5 { background: linear-gradient(135deg, #f43f5e, #f59e0b); }
.sa-6 { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.sa-7 { background: linear-gradient(135deg, #facc15, #ef4444); }
.sa-8 { background: linear-gradient(135deg, #a855f7, #ec4899); }

/* ---------- 字母索引 ---------- */
.az-index {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 24px;
}

.az-index a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}

.az-index a:hover,
.az-index a.cur {
  background: var(--accent);
  color: #0d0d0d;
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-card);
  transition: all 0.2s ease;
}

.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination .current {
  background: var(--accent);
  color: #0d0d0d;
  border-color: var(--accent);
  font-weight: 800;
}

.pagination .dots {
  border: none;
  background: none;
}

/* ---------- 页面横幅 ---------- */
.page-banner {
  position: relative;
  height: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  border: 1px solid var(--border);
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.page-banner h1 span {
  color: var(--accent);
}

.page-banner p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 600px;
}

.page-banner .banner-icon {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: rgba(255, 214, 10, 0.12);
}

.page-banner .banner-icon svg {
  width: 140px;
  height: 140px;
}

.banner-ent { background: linear-gradient(120deg, #6d28d9, #db2777, #f59e0b); }
.banner-gossip { background: linear-gradient(120deg, #7c2d12, #ea580c, #facc15); }
.banner-stars { background: linear-gradient(120deg, #1e3a8a, #6366f1, #ec4899); }
.banner-trending { background: linear-gradient(120deg, #7f1d1d, #ef4444, #ffd60a); }
.banner-about { background: linear-gradient(120deg, #065f46, #134e4a, #1e3a8a); }
.banner-contact { background: linear-gradient(120deg, #312e81, #6366f1, #06b6d4); }

/* ---------- 关于我们 ---------- */
.about-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  margin-bottom: 24px;
}

.about-block h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-block h2::before {
  content: "";
  width: 4px;
  height: 22px;
  background: var(--accent);
  border-radius: 2px;
}

.about-block p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 12px;
}

.about-block p:last-child {
  margin-bottom: 0;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.value-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.value-card:hover {
  border-color: var(--accent);
}

.value-card .vc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.value-card .vc-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.value-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.team-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  transition: border-color 0.2s ease;
}

.team-card:hover {
  border-color: var(--accent);
}

.team-card .tc-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #0d0d0d;
  font-size: 20px;
}

.team-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.team-card .tc-role {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 6px;
}

.team-card .tc-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.review-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.review-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.review-step .rs-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-step h5 {
  font-size: 15px;
  margin-bottom: 4px;
}

.review-step p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.disclaimer-box {
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.disclaimer-box h3 {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-box p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.disclaimer-box p:last-child {
  margin-bottom: 0;
}

/* ---------- 联系我们表单 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-label .req {
  color: var(--hot);
  margin-left: 3px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-type {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-type label {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-type label:hover,
.form-type input:checked + span {
  color: var(--accent);
}

.form-type label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.form-type input {
  accent-color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #0d0d0d;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 32px;
  border-radius: var(--radius);
  transition: background 0.2s ease, transform 0.15s ease;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-primary svg {
  width: 16px;
  height: 16px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.cii-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cii-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.cii-content h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.cii-content p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.channels-grid .channel-card {
  margin-bottom: 0;
}

.channel-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.channel-card:hover {
  border-left-color: var(--hot);
}

.channel-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.channel-card h4 svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.channel-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- 本周热榜（trending） ---------- */
.trend-rank {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trend-item {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color 0.2s ease;
}

.trend-item:hover {
  border-color: var(--accent);
}

.trend-item .ti-rank {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  color: var(--bg-elevated);
  line-height: 1;
  text-align: center;
}

.trend-item:nth-child(1) .ti-rank { color: var(--hot); }
.trend-item:nth-child(2) .ti-rank { color: #fb923c; }
.trend-item:nth-child(3) .ti-rank { color: var(--accent); }

.trend-item .ti-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.trend-item .ti-content p {
  font-size: 13px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-item .ti-heat {
  text-align: right;
}

.trend-item .ti-heat .heat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--hot);
}

.trend-item .ti-heat .heat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.trend-item .ti-heat .trend-arrow {
  font-size: 13px;
  margin-top: 4px;
}

.trend-up { color: #ef4444; }
.trend-down { color: #10b981; }
.trend-flat { color: var(--text-muted); }

/* ---------- 数据统计 ---------- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.stat-card .stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-card .stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-darker);
  border-top: 2px solid var(--accent);
  margin-top: 50px;
  padding: 40px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: #0d0d0d;
  border-color: var(--accent);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.footer-links {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.footer-links h5 {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-links .fl-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-links .fl-list a {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links .fl-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.9;
}

.footer-bottom .icp a {
  color: var(--text-muted);
}

.footer-bottom .icp a:hover {
  color: var(--accent);
}

.footer-bottom .disclaimer {
  margin-top: 8px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
  font-size: 12px;
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--text-muted);
}

.breadcrumb svg {
  width: 13px;
  height: 13px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    order: 2;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 14px;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .brand-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .search-box {
    width: 100%;
  }

  .nav-list {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .nav-list a {
    padding: 14px 16px;
    font-size: 15px;
    white-space: nowrap;
  }

  .nav-hot {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-main {
    height: 280px;
  }

  .hero-side {
    flex-direction: row;
    overflow-x: auto;
  }

  .hero-side-item {
    min-width: 220px;
    height: 130px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-list-item {
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }

  .news-list-thumb {
    height: 90px;
  }

  .news-list-content .nl-title {
    font-size: 15px;
  }

  .stars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .stat-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .channels-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .team-grid,
  .value-list {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-banner {
    height: auto;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .page-banner .banner-icon {
    display: none;
  }

  .feed-media {
    grid-template-columns: 1fr 1fr;
  }

  .trend-item {
    grid-template-columns: 40px 1fr;
  }

  .trend-item .ti-heat {
    grid-column: 2;
    text-align: left;
  }

  .trend-item .ti-rank {
    font-size: 28px;
  }

  .section-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .news-grid,
  .stars-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .channels-grid {
    grid-template-columns: 1fr;
  }

  .feed-media {
    grid-template-columns: 1fr;
  }

  .stat-bar {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 20px;
  }
}
