/* ===== 基础重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue: #0052cc;
  --blue-dark: #003d99;
  --blue-light: #3d7eff;
  --orange: #ff6b00;
  --orange-light: #ff8f3c;
  --bg: #f0f4f9;
  --card: #ffffff;
  --text: #1a1a1a;
  --text2: #555;
  --text3: #999;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,.07);
  --shadow-hover: 0 8px 28px rgba(0,0,0,.13);
  --nav-h: 60px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
button { cursor: pointer; border: none; outline: none; }
input, textarea { outline: none; border: none; }
ul { list-style: none; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #eef0f3; }
::-webkit-scrollbar-thumb { background: #c8d0dc; border-radius: 3px; }

/* ===== 通用工具 ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.badge {
  display: inline-block; padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; letter-spacing: .5px;
}
.badge-hot  { background: #fff0e0; color: var(--orange); }
.badge-new  { background: #e8f0ff; color: var(--blue); }
.badge-cat  { background: #f0f5ff; color: #4874e8; }
.tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; background: var(--bg); color: var(--text2);
  border: 1px solid var(--border); transition: all .2s;
}
.tag:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.section-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; margin-bottom: 16px;
}
.section-title::before {
  content: ''; width: 4px; height: 20px;
  background: linear-gradient(to bottom, var(--blue), var(--orange));
  border-radius: 2px;
}
.section-more {
  margin-left: auto; font-size: 13px; color: var(--text3);
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.section-more:hover { color: var(--blue); }
.btn {
  padding: 9px 22px; border-radius: 22px; font-size: 14px; font-weight: 600;
  transition: all .2s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,82,204,.35); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: var(--bg); color: var(--text); }
.btn-ghost:hover { background: var(--border); }
.btn-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); color: var(--text);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.btn-icon:hover { background: var(--border); }

/* ===== 通知横幅 ===== */
#notify-bar {
  background: linear-gradient(90deg, #061023, #0c1f40);
  color: #fff; padding: 9px 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 13px;
}
#notify-bar .nb-left { display: flex; align-items: center; gap: 8px; }
#notify-bar .nb-icon { font-size: 16px; }
#notify-bar .nb-close {
  background: transparent; color: #888; font-size: 18px;
  padding: 0 4px; flex-shrink: 0;
}
#notify-bar .nb-close:hover { color: #fff; }
#notify-bar .btn-notify {
  background: var(--orange); color: #fff; padding: 4px 14px;
  border-radius: 14px; font-size: 12px; font-weight: 600;
  flex-shrink: 0; transition: background .2s;
}
#notify-bar .btn-notify:hover { background: var(--orange-light); }

/* ===== 顶部导航 ===== */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.nav-inner {
  height: var(--nav-h); display: flex; align-items: center; gap: 16px;
}
.nav-logo {
  font-size: 22px; font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-links a {
  padding: 6px 12px; border-radius: 8px; font-size: 14px;
  font-weight: 500; color: var(--text2); transition: all .2s; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: #e8f0ff; }
.nav-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border-radius: 22px; padding: 8px 16px;
  border: 1.5px solid transparent; transition: all .2s; flex: 1; max-width: 260px;
}
.nav-search:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(0,82,204,.1); }
.nav-search svg { flex-shrink: 0; color: var(--text3); }
.nav-search input { background: transparent; font-size: 14px; color: var(--text); width: 100%; min-width: 0; }
.nav-search input::placeholder { color: var(--text3); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
#menu-toggle { display: none; background: transparent; font-size: 22px; color: var(--text); padding: 4px; }

/* 移动端菜单 */
#mobile-menu { display: none; background: #fff; border-top: 1px solid var(--border); padding: 12px 16px; }
#mobile-menu.open { display: block; }
#mobile-menu a { display: block; padding: 10px 12px; border-radius: 8px; font-size: 15px; color: var(--text2); font-weight: 500; }
#mobile-menu a:hover, #mobile-menu a.active { color: var(--blue); background: #e8f0ff; }
.mobile-search { display: flex; align-items: center; gap: 8px; background: var(--bg); border-radius: 22px; padding: 10px 16px; margin-bottom: 10px; }
.mobile-search input { background: transparent; font-size: 14px; color: var(--text); width: 100%; }

/* ===== 快讯滚动条 ===== */
#ticker {
  background: var(--blue); color: #fff; font-size: 13px;
  display: flex; align-items: center; overflow: hidden; height: 36px;
}
#ticker .ticker-label {
  background: var(--orange); color: #fff; padding: 0 14px;
  font-size: 12px; font-weight: 700; height: 100%;
  display: flex; align-items: center; gap: 5px; flex-shrink: 0; white-space: nowrap;
}
#ticker .ticker-track {
  flex: 1; overflow: hidden; position: relative; height: 100%;
}
#ticker .ticker-inner {
  display: flex; align-items: center; height: 100%;
  white-space: nowrap; animation: ticker-scroll 28s linear infinite;
}
#ticker .ticker-inner:hover { animation-play-state: paused; }
#ticker .ticker-item { padding: 0 32px; cursor: pointer; transition: color .2s; }
#ticker .ticker-item:hover { color: #ffd; }
#ticker .ticker-sep { color: rgba(255,255,255,.4); }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== 精选头条区 ===== */
#featured {
  background: #fff; border-bottom: 1px solid var(--border);
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto;
  gap: 0;
  height: 360px;
}
.featured-main {
  position: relative; overflow: hidden; cursor: pointer;
}
.featured-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.featured-main:hover img { transform: scale(1.03); }
.featured-main .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.05) 55%, transparent 100%);
}
.featured-main .featured-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 24px 20px;
}
.featured-main .featured-content .badge { margin-bottom: 8px; }
.featured-main h2 {
  font-size: 22px; font-weight: 800; color: #fff; line-height: 1.35;
  margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.featured-main p {
  font-size: 13px; color: rgba(255,255,255,.72);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.featured-side {
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.featured-side-item {
  flex: 1; position: relative; overflow: hidden; cursor: pointer;
  border-bottom: 1px solid var(--border);
}
.featured-side-item:last-child { border-bottom: none; }
.featured-side-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.featured-side-item:hover img { transform: scale(1.04); }
.featured-side-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 60%);
}
.featured-side-item .fs-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 12px 14px;
}
.featured-side-item h3 {
  font-size: 13px; font-weight: 700; color: #fff; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.featured-side-item .fs-meta { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ===== 主体布局 ===== */
.main-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 20px; padding: 24px 0;
}
.main-content { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.sidebar { display: flex; flex-direction: column; gap: 18px; }

/* ===== 卡片通用 ===== */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card-pad { padding: 18px 20px; }

/* ===== 分类标签栏 ===== */
.cat-bar {
  display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}
.cat-btn {
  padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 500;
  background: var(--bg); color: var(--text2); border: 1.5px solid transparent; transition: all .2s;
}
.cat-btn:hover { color: var(--blue); border-color: var(--blue); background: #e8f0ff; }
.cat-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ===== 新闻卡片网格 ===== */
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
}
.news-card {
  background: #fff; cursor: pointer; transition: background .15s; overflow: hidden;
}
.news-card:hover { background: #f5f8ff; }
.news-card-thumb {
  width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--bg);
}
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.news-card:hover .news-card-thumb img { transform: scale(1.04); }
.news-card-body { padding: 12px 14px 14px; }
.news-card-label { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; }
.news-card-body h3 {
  font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 7px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-body p {
  font-size: 12px; color: var(--text2); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-footer {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--text3);
}
.news-card-footer span { display: flex; align-items: center; gap: 2px; }

/* ===== 热门排行 ===== */
.rank-list { display: flex; flex-direction: column; }
.rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 20px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .15s;
}
.rank-item:last-child { border-bottom: none; }
.rank-item:hover { background: #f5f8ff; }
.rank-num {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.rank-num.top1 { background: var(--orange); color: #fff; }
.rank-num.top2 { background: var(--blue); color: #fff; }
.rank-num.top3 { background: var(--blue-light); color: #fff; }
.rank-num.other { background: var(--bg); color: var(--text3); font-size: 12px; }
.rank-title { flex: 1; font-size: 13px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-heat { font-size: 11px; color: var(--text3); flex-shrink: 0; }
.rank-trend { font-size: 11px; flex-shrink: 0; }
.rank-trend.up { color: var(--orange); }
.rank-trend.down { color: #52c41a; }
.rank-trend.flat { color: var(--text3); }

/* ===== 侧边栏：热搜 ===== */
.hot-search-list { padding: 0 16px 14px; }
.hot-search-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--border); cursor: pointer;
}
.hot-search-item:last-child { border-bottom: none; }
.hs-rank { width: 20px; text-align: center; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.hs-rank.r1 { color: var(--orange); }
.hs-rank.r2 { color: var(--blue); }
.hs-rank.r3 { color: var(--blue-light); }
.hs-rank.rn { color: var(--text3); }
.hs-title { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-title:hover { color: var(--blue); }
.hs-badge { font-size: 10px; padding: 1px 6px; border-radius: 10px; background: #fff0e0; color: var(--orange); font-weight: 600; flex-shrink: 0; }

/* ===== 侧边栏：标签云 ===== */
.tag-cloud { padding: 0 16px 14px; display: flex; flex-wrap: wrap; gap: 7px; }

/* ===== 侧边栏：今日精选 ===== */
.daily-rec { padding: 0 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.daily-item {
  display: flex; gap: 10px; cursor: pointer; padding: 8px;
  border-radius: 8px; transition: background .15s;
}
.daily-item:hover { background: var(--bg); }
.daily-thumb {
  flex-shrink: 0; width: 72px; height: 50px; border-radius: 6px; overflow: hidden; background: var(--bg);
}
.daily-thumb img { width: 100%; height: 100%; object-fit: cover; }
.daily-info h5 {
  font-size: 12px; font-weight: 500; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.daily-info span { font-size: 11px; color: var(--text3); }

/* ===== 评论区 ===== */
#comments { scroll-margin-top: 80px; }
.comment-input-area { padding: 18px 20px; border-bottom: 1px solid var(--border); }
.comment-user-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.avatar.sm { width: 30px; height: 30px; font-size: 12px; }
.comment-input {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px;
  padding: 10px 14px; font-size: 14px; resize: vertical; min-height: 76px;
  font-family: inherit; transition: border-color .2s;
}
.comment-input:focus { border-color: var(--blue); }
.comment-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.comment-list { padding: 14px 20px; display: flex; flex-direction: column; gap: 18px; }
.comment-item { display: flex; gap: 12px; }
.comment-body { flex: 1; min-width: 0; }
.comment-name { font-size: 14px; font-weight: 600; }
.comment-time { font-size: 12px; color: var(--text3); margin-left: 8px; }
.comment-text { font-size: 14px; margin: 5px 0; line-height: 1.6; }
.comment-footer { display: flex; align-items: center; gap: 12px; }
.comment-action {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text3); cursor: pointer; transition: color .2s;
}
.comment-action:hover, .comment-action.liked { color: var(--blue); }
.comment-replies {
  margin-top: 10px; background: var(--bg); border-radius: 8px;
  padding: 10px 12px; display: flex; flex-direction: column; gap: 8px;
}
.reply-item { display: flex; gap: 8px; font-size: 13px; }
.reply-author { font-weight: 600; color: var(--blue); flex-shrink: 0; }

/* ===== 分享栏 ===== */
.share-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 14px 20px; border-top: 1px solid var(--border);
}
.share-bar span { font-size: 13px; color: var(--text2); }
.share-btn {
  padding: 5px 13px; border-radius: 20px; font-size: 12px; font-weight: 500;
  display: flex; align-items: center; gap: 4px; transition: all .2s;
}
.share-weibo  { background: #ff8200; color: #fff; }
.share-wechat { background: #07c160; color: #fff; }
.share-qq     { background: #1e6fff; color: #fff; }
.share-copy   { background: var(--bg); color: var(--text); border: 1px solid var(--border); }
.share-btn:hover { opacity: .85; transform: translateY(-1px); }

/* ===== 全宽推荐网格 ===== */
#recommend {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.rec-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border);
}
.rec-card {
  background: #fff; cursor: pointer; overflow: hidden; transition: background .15s;
}
.rec-card:hover { background: #f5f8ff; }
.rec-thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--bg); }
.rec-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.rec-card:hover .rec-thumb img { transform: scale(1.05); }
.rec-info { padding: 10px 12px 12px; }
.rec-info h4 {
  font-size: 13px; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 6px;
}
.rec-info .rec-meta { font-size: 11px; color: var(--text3); display: flex; gap: 8px; }

/* ===== 注册弹窗 ===== */
#modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  z-index: 1000; align-items: center; justify-content: center;
}
#modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: 90%; max-width: 420px;
  padding: 32px; position: relative; animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(.92) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg); border-radius: 50%; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text2);
}
.modal-close:hover { background: var(--border); }
.modal-logo { text-align: center; margin-bottom: 8px; font-size: 26px; font-weight: 900; }
.modal-logo span {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.modal-subtitle { text-align: center; color: var(--text2); font-size: 14px; margin-bottom: 24px; }
.modal-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 20px; }
.modal-tab {
  flex: 1; text-align: center; padding: 10px; font-size: 15px; font-weight: 600;
  color: var(--text3); cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all .2s;
}
.modal-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--text2); }
.form-input {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 14px; font-family: inherit; transition: border-color .2s;
}
.form-input:focus { border-color: var(--blue); }
.form-row { display: flex; gap: 10px; }
.form-row .form-input { flex: 1; }
.btn-code {
  padding: 11px 14px; background: var(--bg); border-radius: 10px;
  font-size: 13px; color: var(--text2); white-space: nowrap; transition: all .2s;
  border: 1.5px solid var(--border);
}
.btn-code:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.form-agree { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text2); margin-bottom: 16px; }
.form-agree input { margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.form-agree a { color: var(--blue); }
.btn-submit {
  width: 100%; padding: 13px; background: var(--blue); color: #fff;
  border-radius: 12px; font-size: 15px; font-weight: 700; transition: all .2s;
}
.btn-submit:hover { background: var(--blue-dark); box-shadow: 0 4px 14px rgba(0,82,204,.35); }
.modal-divider { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.modal-divider span { font-size: 12px; color: var(--text3); }
.social-login { display: flex; gap: 10px; }
.social-btn {
  flex: 1; padding: 10px; border-radius: 10px; border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.social-btn:hover { border-color: var(--blue); color: var(--blue); }

/* ===== 搜索面板 ===== */
#search-panel {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,.52); backdrop-filter: blur(4px);
}
#search-panel.open { display: block; }
.search-box {
  background: #fff; max-width: 640px; margin: 60px auto 0;
  border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.search-input-row {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.search-main-input {
  flex: 1; font-size: 16px; color: var(--text); background: transparent; font-family: inherit;
}
.search-main-input::placeholder { color: var(--text3); }
.search-close { color: var(--text2); font-size: 20px; background: transparent; }
.search-close:hover { color: var(--blue); }
.search-suggests { padding: 16px 20px; }
.search-suggests h4 { font-size: 13px; color: var(--text3); margin-bottom: 10px; }
.search-hot-list { display: flex; flex-direction: column; gap: 2px; }
.search-hot-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; transition: background .15s;
}
.search-hot-item:hover { background: var(--bg); }
.search-hot-item span { font-size: 13px; }

/* ===== 加载更多 ===== */
.load-more { text-align: center; padding: 18px; }
.btn-load {
  padding: 9px 30px; border-radius: 22px; border: 1.5px solid var(--border);
  font-size: 13px; color: var(--text2); transition: all .2s; background: #fff;
}
.btn-load:hover { border-color: var(--blue); color: var(--blue); }

/* ===== 页脚 ===== */
footer {
  background: #061023; color: rgba(255,255,255,.55); font-size: 13px;
  padding: 32px 0 16px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 24px;
}
.footer-brand .footer-logo {
  font-size: 20px; font-weight: 900;
  background: linear-gradient(135deg, var(--blue-light), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 10px;
}
.footer-brand p { line-height: 1.7; font-size: 13px; color: rgba(255,255,255,.4); }
.footer-col h4 { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul li a:hover { color: var(--blue-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 16px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ===== Toast ===== */
#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: rgba(6,16,35,.92); color: #fff; padding: 10px 20px; border-radius: 24px;
  font-size: 14px; opacity: 0; transition: all .3s; z-index: 9999; pointer-events: none;
  backdrop-filter: blur(6px);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .featured-grid { grid-template-columns: 1fr; height: auto; }
  .featured-main { height: 300px; }
  .featured-side { flex-direction: row; height: 160px; border-left: none; border-top: 1px solid var(--border); }
  .featured-side-item { border-bottom: none; border-right: 1px solid var(--border); }
  .featured-side-item:last-child { border-right: none; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links, .nav-search { display: none; }
  #menu-toggle { display: flex; }
  .news-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .rec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:not(:first-child) { display: none; }
  .nav-actions .btn { display: none; }
  .nav-actions .btn-icon { display: flex; }
  #ticker { display: none; }
}
