/* version: 202611122038 */
/* ===== 首页 Hero v0.7 覆盖样式（2026-11-12 站主审定） ===== */
/* 只覆盖 Hero 和 evalSection，不动其他板块 */

/* Hero 白底紧凑 */
.hero-v2 {
  background: linear-gradient(135deg, #E8F1F9 0%, #F4F8FC 55%, #fff 100%) !important;
  border-bottom: 1px solid #d9d9d4;
  padding: 36px 0 32px !important;
  position: relative;
  overflow: hidden;
}
.hero-v2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #185FA5, #1D9E75);
  z-index: 1;
}
.hero-v2 .hero-dots,
.hero-v2 .hero-dot { display: none !important; }
.hero-v2 .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-v2 .hero-inner { grid-template-columns: 1fr; gap: 24px; }
}

.hero-v2 .hero-main { min-width: 0; }
.hero-v2 .hero-kicker {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6B6B66;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-v2 .hero-kicker .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #E6F5EF;
  color: #1D9E75;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.hero-v2 .hero-kicker .live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1D9E75;
  animation: v2pulse 1.8s infinite;
}
@keyframes v2pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero-v2 h1 {
  font-size: 40px !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
  line-height: 1.12 !important;
  color: #1A1A18 !important;
  margin: 0 0 10px !important;
}
@media (max-width: 760px) {
  .hero-v2 h1 { font-size: 26px !important; }
}
.hero-v2 h1 .hero-highlight {
  color: #185FA5 !important;
  background: none !important;
  -webkit-text-fill-color: #185FA5 !important;
}
.hero-v2 .hero-desc {
  font-size: 15px !important;
  color: #3A3A38 !important;
  max-width: 56ch !important;
  line-height: 1.65 !important;
  margin: 0 0 14px !important;
}
.hero-v2 .hero-desc b { color: #1A1A18; }

.hero-v2 .hero-honest {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 5px 12px !important;
  background: #F2F4F7 !important;
  border: 1px solid #d9d9d4 !important;
  border-radius: 8px !important;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace !important;
  font-size: 12px !important;
  color: #3A3A38 !important;
  margin: 0 0 16px !important;
}
.hero-v2 .hero-honest b { color: #185FA5 !important; font-weight: 600; }

.hero-v2 .hero-weekly {
  font-family: ui-monospace, monospace !important;
  font-size: 12px !important;
  color: #6B6B66 !important;
  margin: 0 0 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.hero-v2 .hero-weekly .hb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1D9E75;
  display: inline-block;
  animation: v2pulse 1.8s infinite;
}

.hero-v2 .hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-v2 .btn-primary-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: #185FA5;
  color: #fff;
  text-decoration: none;
  border: 1px solid #185FA5;
}
.hero-v2 .btn-primary-v2:hover { background: #0A2540; text-decoration: none; }
.hero-v2 .btn-ghost-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: #fff;
  color: #3A3A38;
  text-decoration: none;
  border: 1px solid #d9d9d4;
}
.hero-v2 .btn-ghost-v2:hover { border-color: #185FA5; color: #185FA5; text-decoration: none; }

/* 右侧评分卡：白底 + 深色边框 */
.hero-v2 .hero-visual { min-width: 0; }
.rating-card-v2 {
  background: linear-gradient(160deg, #fff 0%, #F4F8FC 100%);
  border: 2px solid #0A2540;
  border-radius: 12px;
  padding: 20px;
}
.rating-card-v2 .rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.rating-card-v2 .rc-head span {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6B6B66;
}
.rating-card-v2 .rc-head a {
  font-size: 12px;
  color: #185FA5;
  font-weight: 500;
  text-decoration: none;
}
.rating-card-v2 .rc-score {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -.04em;
  color: #0A2540;
  line-height: 1;
  font-family: ui-monospace, monospace;
}
.rating-card-v2 .rc-score small {
  font-size: 18px;
  color: #6B6B66;
  font-weight: 400;
}
.rating-card-v2 .rc-grade {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  padding: 3px 12px;
  background: #E6F5EF;
  color: #1D9E75;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
}
.rating-card-v2 .rc-tool {
  margin-top: 10px;
  font-size: 13px;
  color: #3A3A38;
}
.rating-card-v2 .rc-tool b { color: #1A1A18; }
.rating-card-v2 .rc-note {
  margin-top: 8px;
  font-size: 11.5px;
  color: #6B6B66;
  line-height: 1.5;
  padding-top: 8px;
  border-top: 1px solid #d9d9d4;
}
.rating-card-v2 .rc-disclaimer {
  margin-top: 8px;
  font-size: 10.5px;
  color: #6B6B66;
  font-family: ui-monospace, monospace;
}

/* evalSection 焦点 + mini 榜 */
.focus-grid-v2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .focus-grid-v2 { grid-template-columns: 1fr; }
}
.focus-card-v2 {
  background: #fff;
  border: 1px solid #d9d9d4;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
}
.focus-card-v2 .fc-media {
  flex: 0 0 140px;
  background: #E8F1F9;
  display: grid;
  place-items: center;
  font-size: 40px;
  border-right: 1px solid #d9d9d4;
}
.focus-card-v2 .fc-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.focus-card-v2 .fc-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: #6B6B66;
}
.focus-card-v2 .fc-meta .type {
  padding: 2px 8px;
  background: #E8F1F9;
  color: #185FA5;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
}
.focus-card-v2 h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: #1A1A18;
  margin: 0;
}
.focus-card-v2 p {
  font-size: 13px;
  color: #3A3A38;
  line-height: 1.55;
  flex: 1;
  margin: 0;
}
.focus-card-v2 .fc-cta { display: flex; gap: 8px; margin-top: 2px; }
.focus-card-v2 .fc-cta a {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.focus-card-v2 .fc-cta .primary { background: #185FA5; color: #fff; }
.focus-card-v2 .fc-cta .primary:hover { background: #0A2540; }
.focus-card-v2 .fc-cta .ghost { border: 1px solid #d9d9d4; color: #3A3A38; }
.focus-card-v2 .fc-cta .ghost:hover { border-color: #185FA5; color: #185FA5; }

.mini-board-v2 {
  background: #fff;
  border: 1px solid #d9d9d4;
  border-radius: 12px;
  padding: 16px;
}
.mini-board-v2 h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #1A1A18;
}
.mini-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #d9d9d4;
  font-size: 13px;
}
.mini-row:last-child { border-bottom: none; }
.mini-row .n {
  font-family: ui-monospace, monospace;
  font-weight: 600;
  color: #1A1A18;
  width: 36px;
}
.mini-row .name { flex: 1; color: #3A3A38; }
.mini-row .grade {
  font-size: 11px;
  padding: 1px 6px;
  background: #E6F5EF;
  color: #1D9E75;
  border-radius: 999px;
  font-weight: 600;
}
.mini-foot {
  margin-top: 8px;
  font-size: 12px;
  color: #6B6B66;
}
.mini-foot a { color: #185FA5; text-decoration: none; }

/* 隐藏原 stats-bar 搜索条（搜索已在顶栏？原站搜索在 stats-bar，先保留） */
/* 保留 stats-bar，不动 */

/* 响应式 */
@media (max-width: 600px) {
  .hero-v2 { padding: 24px 0 20px !important; }
  .hero-v2 h1 { font-size: 22px !important; }
  .hero-v2 .hero-inner { padding: 0 16px; }
  .focus-card-v2 .fc-media { flex: 0 0 80px; font-size: 28px; }
}
/* ===== 最新文章：紧凑分类列表（2026-11-12） ===== */
.ha-tabs { display: none; }
.ha-tab {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d9d9d4;
  background: #fff;
  color: #3A3A38;
  cursor: pointer;
  transition: all .12s;
}
.ha-tab:hover { border-color: #185FA5; color: #185FA5; }
.ha-tab.active {
  background: #185FA5;
  color: #fff;
  border-color: #185FA5;
}
.ha-tab .ha-tab-n {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  opacity: .75;
}
.ha-list { display: flex; flex-direction: column; gap: 0; }
.ha-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0eb; text-decoration: none; color: inherit; transition: background .1s; }
.ha-row:hover { background: #fafafa; }
.ha-type { padding: 2px 6px; background: #E8F1F9; color: #185FA5; font-size: 10px; font-weight: 600; border-radius: 4px; text-align: center; white-space: nowrap; }
.ha-title {
  font-size: 14px;
  font-weight: 500;
  color: #1A1A18;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.ha-row:hover 
.ha-date {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  color: #6B6B66;
  white-space: nowrap;
}
.ha-more {
  text-align: center;
  padding: 14px 0 4px;
}
.ha-more a {
  font-size: 13px;
  color: #185FA5;
  font-weight: 500;
}
@media (max-width: 640px) {
  .ha-row { grid-template-columns: 64px 1fr; }
  .ha-date { display: none; }
  .ha-tab { padding: 5px 10px; font-size: 12px; }
}
/* ===== Hero 搜索条（原 stats-bar 上移） ===== */
.hero-searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-searchbar .hero-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d9d9d4;
  border-radius: 8px;
  overflow: hidden;
  flex: 0 1 320px;
}
.hero-searchbar .hero-search input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: transparent;
  font-size: 13px;
  outline: none;
  color: #1A1A18;
  min-width: 0;
}
.hero-searchbar .hero-search input:focus { background: #fff; }
.hero-searchbar .hero-search button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  background: #185FA5;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.hero-searchbar .hero-search button:hover { background: #0A2540; }
.hero-searchbar .hero-search button svg { width: 14px; height: 14px; }
.hero-searchbar .btn-free {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #1D9E75;
  background: #E6F5EF;
  color: #1D9E75;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.hero-searchbar .btn-free:hover { background: #d4ede3; }
.hero-searchbar .hot-words {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6B6B66;
  flex-wrap: wrap;
}
.hero-searchbar .hw-label { font-family: ui-monospace, monospace; letter-spacing: .04em; }
.hero-searchbar .hw-word {
  padding: 3px 10px;
  border: 1px solid #d9d9d4;
  border-radius: 999px;
  font-size: 12px;
  color: #3A3A38;
  background: #fff;
  text-decoration: none;
  cursor: pointer;
}
.hero-searchbar .hw-word:hover { border-color: #185FA5; color: #185FA5; }

/* 搜索建议浮层（原有 searchSuggestions） */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d9d9d4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 30;
  display: none;
  overflow: hidden;
}
.suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
}
.suggest-item:hover { background: #F2F4F7; }

/* ===== 改版首页新增样式（2026-11-12 去重合并：仅保留一份生效定义） ===== */

/* 横向实测卡（固定 5 条，无滚动） */
.eval-scroll-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.eval-scroll-container::-webkit-scrollbar { display: none; }
.ecard {
  flex: 0 0 calc(20% - 12px); /* 5 等分 */
  min-width: 180px;
  background: #fff;
  border: 1px solid #d9d9d4;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .15s, box-shadow .15s;
  text-decoration: none;
  color: inherit;
}
.ecard:hover { border-color: #185FA5; box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.ecard .top { display: flex; align-items: center; justify-content: space-between; }
.ecard .grade { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ecard .grade.S { background: #E6F5EF; color: #1D9E75; }
.ecard .grade.A { background: #E8F1F9; color: #185FA5; }
.ecard .cat { font-size: 11px; color: #6B6B66; font-family: ui-monospace, monospace; }
.ecard .name-row { display: flex; align-items: baseline; gap: 8px; }
.ecard .score { font-family: ui-monospace, monospace; font-size: 22px; font-weight: 600; color: #0A2540; letter-spacing: -.03em; white-space: nowrap; }
.ecard .name { font-size: 15px; font-weight: 600; color: #1A1A18; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ecard .sum { font-size: 12px; color: #3A3A38; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.ecard .foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: #6B6B66; font-family: ui-monospace, monospace; }
.ecard .foot-link { font-size: 12px; color: #185FA5; font-weight: 500; font-family: sans-serif; }

/* 四栏精选（2026-11-13 站主定调：四栏横排展示不开，改为两栏两行） */
.four-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 640px) { .four-cols { grid-template-columns: 1fr; } }
.col-card { background: #fff; border: 1px solid #d9d9d4; border-radius: 12px; padding: 16px; }
.col-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.col-card h3 .dot { width: 6px; height: 6px; border-radius: 50%; background: #185FA5; display: inline-block; }
.col-card.tut h3 .dot { background: #1D9E75; }
.col-card.news h3 .dot { background: #D85A30; }
.col-card.share h3 .dot { background: #8B5CF6; }
.col-list { display: flex; flex-direction: column; gap: 0; }
.col-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f0f0eb; text-decoration: none; color: inherit; font-size: 13px; }
.col-row:last-child { border-bottom: none; }
.col-row:hover .col-title { color: #185FA5; }
.col-tag { flex: 0 0 auto; padding: 2px 6px; background: #E8F1F9; color: #185FA5; font-size: 10px; font-weight: 600; border-radius: 4px; white-space: nowrap; }
.col-tag.tut { background: #E6F5EF; color: #1D9E75; }
.col-tag.news { background: #FBEDE7; color: #D85A30; }
.col-tag.share { background: #F3EEFF; color: #8B5CF6; }
.col-tag.guide { background: #FFF3E0; color: #B45309; }
.col-title { flex: 1; color: #1A1A18; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .1s; }
.col-date { flex: 0 0 auto; font-family: ui-monospace, monospace; font-size: 11px; color: #6B6B66; white-space: nowrap; }
.col-more { margin-top: 10px; text-align: center; }
.col-more a { font-size: 13px; color: #185FA5; font-weight: 500; text-decoration: none; }
.col-more a:hover { text-decoration: underline; }

/* 区块标题下划线 */
.section-title { position: relative; padding-bottom: 8px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2.5px; background: #185FA5; border-radius: 2px; }

/* ===== featured-card 紧凑化 ===== */
.featured-card {
  padding: 14px 16px !important;
  gap: 6px !important;
}
.featured-card .name {
  font-size: 14px !important;
  margin-bottom: 0 !important;
}
.featured-card .desc {
  font-size: 12px !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0 !important;
}
.featured-card .go-link {
  font-size: 12px !important;
  padding: 4px 10px !important;
  margin-top: 4px !important;
}
/* featured-grid 更紧凑间距 */
.featured-grid {
  gap: 12px !important;
}
/* ===== 文章分类速览 四栏专题区（2026-11-12 二次改造，复用 .four-cols） ===== */
/* 视觉降级：与上方「精选内容」拉开层次（浅底、细边、更紧凑，定位"速览"） */
#homeArticlesGrid .col-card { padding: 14px; background: #FAFAF7; border-color: #E8E8E2; }
#homeArticlesGrid .col-card h3 { font-size: 14px; margin-bottom: 8px; }
#homeArticlesGrid .col-row { padding: 8px 0; }
#homeArticlesGrid .col-title { font-size: 12.5px; color: #3A3A36; }
#homeArticlesGrid .col-more { margin-top: 8px; }
#homeArticlesGrid .col-more a { font-size: 12px; }
#homeArticlesGrid .topic-count { font-size: 10.5px; }
#homeArticlesGrid .col-card.guide h3 .dot  { background: #B45309; }
#homeArticlesGrid .col-card.share h3 .dot  { background: #8B5CF6; }
#homeArticlesGrid .col-card.review h3 .dot { background: #185FA5; }
#homeArticlesGrid .col-card.latest h3 .dot { background: #1D9E75; }
.col-tag.review { background: #E8F1F9; color: #185FA5; }
.col-tag.latest { background: #EEF0F4; color: #4B5563; }
.topic-count { margin-left: auto; font-size: 11px; font-weight: 500; color: #6B6B66; font-family: ui-monospace, monospace; }

/* ===== 移动端速览区折叠 + 排行榜完整入口 ===== */
.cols-expand { margin-top: 12px; text-align: center; }
.cols-expand button { padding: 8px 20px; border: 1px solid #d9d9d4; background: #fff; border-radius: 999px; color: #185FA5; font-size: 13px; cursor: pointer; }
.cols-expand button:hover { border-color: #185FA5; }
@media (max-width: 640px) {
  #homeArticlesGrid.is-collapsed .col-card:nth-child(n+3) { display: none; }
}
.rank-more { margin-top: 16px; text-align: center; }
.rank-more a { font-size: 13px; color: #185FA5; font-weight: 500; text-decoration: none; }
.rank-more a:hover { text-decoration: underline; }

/* ===== 头部恢复深蓝主调（2026-11-13 站主定调：原来的蓝色 #185FA5） ===== */
.hero-v2 {
  background: linear-gradient(160deg, #1E6BB8 0%, #185FA5 45%, #11477E 100%) !important;
  border-bottom: none !important;
}
.hero-v2::before { background: linear-gradient(180deg, #9CD6FF, rgba(255,255,255,0)) !important; }
.hero-v2 h1 { color: #fff !important; }
.hero-v2 h1 .hero-highlight { color: #9CD6FF !important; -webkit-text-fill-color: #9CD6FF !important; }
.hero-v2 .hero-desc { color: rgba(255,255,255,.88) !important; }
.hero-v2 .hero-desc b { color: #fff !important; }
.hero-v2 .hero-kicker { color: rgba(255,255,255,.72) !important; }
.hero-v2 .hero-kicker .live { background: rgba(255,255,255,.14) !important; color: #DFF0FF !important; }
.hero-v2 .hero-kicker .live::before { background: #9CD6FF !important; }
.hero-v2 .hero-honest {
  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.28) !important;
  color: rgba(255,255,255,.92) !important;
}
.hero-v2 .hero-honest b { color: #BFE0FF !important; }
.hero-v2 .hero-weekly { color: rgba(255,255,255,.78) !important; }
.hero-v2 .hero-weekly .hb-dot { background: #9CD6FF !important; }
.hero-v2 .btn-primary-v2 { background: #fff !important; color: #185FA5 !important; border-color: #fff !important; }
.hero-v2 .btn-primary-v2:hover { background: #E8F1F9 !important; }
.hero-v2 .btn-ghost-v2 {
  background: transparent !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
}
.hero-v2 .btn-ghost-v2:hover { border-color: #fff !important; color: #fff !important; background: rgba(255,255,255,.08) !important; }
