/* ============================================================
   今日新闻 · hero 紧凑块 + 独立页面
   2026-10-30
   ============================================================ */

/* ---------- hero 里的新闻块（填右侧空白） ---------- */
.hero-left{
  display:flex;align-items:stretch;gap:18px;min-width:0;
}
.hero-title{flex:0 0 auto;min-width:0}
.hero-news{
  flex:1 1 auto;min-width:0;
  display:flex;flex-direction:column;justify-content:center;gap:6px;
  padding-left:18px;
  border-left:1px solid rgba(255,255,255,.16);
}
.hn-loading{font-size:12px;color:rgba(255,255,255,.6)}
.hn-empty{font-size:12px;color:rgba(255,255,255,.55)}

.hn-list{display:flex;flex-direction:column;gap:3px}
.hn-item{
  display:flex;align-items:center;gap:8px;
  color:rgba(255,255,255,.92);text-decoration:none;
  font-size:12.5px;line-height:1.45;
  padding:2px 6px 2px 0;border-radius:6px;
  transition:background .15s,color .15s;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.hn-item:hover{background:rgba(255,255,255,.12);color:#fff}
.hn-idx{
  flex:0 0 auto;width:15px;height:15px;border-radius:4px;
  background:rgba(255,255,255,.20);color:#fff;
  font-size:9.5px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
}
.hn-item:nth-child(1) .hn-idx{background:rgba(255,255,255,.92);color:#2563EB}
.hn-item:nth-child(2) .hn-idx{background:rgba(255,255,255,.68);color:#2563EB}
.hn-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.hn-more{
  align-self:flex-start;
  margin-top:2px;padding:3px 9px;
  font-size:11px;color:rgba(255,255,255,.82);
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  border-radius:7px;cursor:pointer;
  transition:background .15s,color .15s;
}
.hn-more:hover{background:rgba(255,255,255,.24);color:#fff}

/* ============================================================
   1117J · 独立新闻页：专业门户排版（腾讯网 / 凤凰网风格）
   报头 → 日期栏目条 → 头条大卡 + 双列要闻卡 + 右侧热点榜
   数据源无缩略图 / 无发布时间 → 只用真实归档日期，不做假图假时间
   ============================================================ */

/* ---------- 报头（刊头，不是空卡片） ---------- */
.ns-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:16px;
  margin:2px 0 14px;padding:0 2px;
}
.ns-head-l{display:flex;align-items:center;gap:11px;min-width:0}
.ns-mark{
  flex:0 0 4px;width:4px;height:32px;border-radius:2px;
  background:linear-gradient(180deg,#D93A2B,#F0784C);
}
.ns-head h2{
  margin:0;font-size:20px;font-weight:700;line-height:1.15;
  letter-spacing:-.4px;color:var(--text);
}
.ns-head-sub{
  display:block;margin-top:4px;font-size:10px;line-height:1.2;
  letter-spacing:1.1px;color:var(--text-3);text-transform:uppercase;
}
.ns-head-r{display:flex;align-items:center;gap:10px;padding-bottom:2px;white-space:nowrap}
.ns-date{font-size:11.5px;color:var(--text-3)}
.ns-count{
  font-size:11px;color:var(--text-2);padding:3px 9px;border-radius:6px;
  background:var(--surface-2);border:1px solid var(--line-2);
}

/* ---------- 日期分组栏目条 ---------- */
.news-day{margin-bottom:16px;overflow:hidden}
.news-day .card-h{padding:10px 14px;background:var(--surface-2)}
.ns-day-h .grow{flex:1 1 auto}
.ns-day-h h3{font-weight:700;letter-spacing:-.2px}
.ns-day-dot{
  flex:0 0 7px;width:7px;height:7px;border-radius:50%;
  background:#D93A2B;box-shadow:0 0 0 3px rgba(217,58,43,.12);
}
.news-items{padding:16px}
.ns-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 286px;
  gap:20px;align-items:start;
}
.ns-main{min-width:0}
.ns-side{min-width:0;display:flex;flex-direction:column;gap:14px}

/* ---------- 头条大卡 ---------- */
.news-row{
  display:block;position:relative;min-width:0;
  padding:14px 15px 13px;border:1px solid var(--line-2);border-radius:10px;
  background:var(--surface);text-decoration:none;color:inherit;
  transition:border-color .16s,box-shadow .16s,transform .16s;
}
.news-row:hover{
  border-color:#C9D6EA;box-shadow:0 6px 18px rgba(31,41,55,.07);transform:translateY(-1px);
}
.nr-main{display:block;min-width:0}
.nr-title{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:14.5px;line-height:1.5;font-weight:600;letter-spacing:-.1px;color:#242A35;
}
.news-row:hover .nr-title{color:var(--brand)}
.nr-sum{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin-top:7px;font-size:11.5px;line-height:1.6;color:#8A93A1;
}
.ns-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:10px}
.ns-meta em{font-style:normal}
.nr-cat{
  font-size:10.5px;font-weight:600;line-height:1.4;
  padding:2px 7px;border-radius:4px;background:#EEF2FF;color:#3B5BDB;
}
.cat-fin{background:#FFF3E4;color:#B45309}
.cat-tec{background:#EAF3FF;color:#2563EB}
.cat-int{background:#EFF0FF;color:#4F46E5}
.cat-spo{background:#E9F7EE;color:#16803C}
.cat-liv{background:#EAF6F4;color:#0F766E}
.cat-cul{background:#FDEEF5;color:#B83280}
.cat-top{background:#FEECEA;color:#C0392B}
.nr-src{font-size:10.5px;color:var(--text-3)}
.nr-hot{font-size:10.5px;color:#D93A2B;white-space:nowrap}
.ns-day-t{font-size:10.5px;color:var(--text-3)}
.ns-read{margin-left:auto;font-size:11px;font-weight:600;color:var(--brand)}

.ns-lead{
  margin-bottom:16px;padding:18px 20px 16px;
  border:1px solid #F0D9D5;border-radius:12px;
  background:linear-gradient(135deg,#FFF9F8 0%,#FFFFFF 62%);
}
.ns-lead:hover{border-color:#E9BDB6;box-shadow:0 8px 24px rgba(217,58,43,.10)}
.ns-lead-tag{
  display:inline-block;margin-bottom:10px;padding:2px 8px;border-radius:4px;
  background:#D93A2B;color:#fff;font-size:10.5px;font-weight:700;letter-spacing:1px;
}
.ns-lead .nr-title{
  font-size:20px;line-height:1.45;font-weight:700;letter-spacing:-.3px;color:#1F2430;
}
.ns-lead:hover .nr-title{color:#C0392B}
.ns-lead .nr-sum{margin-top:8px;font-size:12.5px;line-height:1.7;color:var(--text-2)}
.ns-lead .ns-meta{margin-top:13px;padding-top:11px;border-top:1px solid #F3E2DF}
.news-row .ns-meta{padding-top:9px;border-top:1px solid var(--line-2)}

/* ---------- 频道分隔条 ---------- */
.ns-sec{
  display:flex;align-items:center;gap:10px;margin:2px 0 12px;
}
.ns-sec h4{
  margin:0;padding-left:10px;border-left:3px solid #D93A2B;
  font-size:14px;font-weight:700;line-height:1.3;color:var(--text);
}
.ns-sec span{font-size:10.5px;color:var(--text-3)}
.ns-sec::after{content:'';flex:1 1 auto;height:1px;background:var(--line-2)}

/* ---------- 双列要闻网格 ---------- */
.ns-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

/* ---------- 右侧热点榜 ---------- */
.ns-rank{
  border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--surface);
}
.ns-rank h4{
  margin:0;padding:11px 14px;border-bottom:1px solid var(--line-2);
  background:var(--surface-2);font-size:13px;font-weight:700;
  display:flex;align-items:center;justify-content:space-between;
}
.ns-rank h4 span{font-size:10px;font-weight:700;letter-spacing:1px;color:#D93A2B}
.ns-rank ol{list-style:none;margin:0;padding:6px 8px 10px}
.ns-rank li a{
  display:flex;align-items:flex-start;gap:9px;padding:7px 6px;border-radius:6px;
  text-decoration:none;color:var(--text-2);font-size:12px;line-height:1.45;
  transition:background .15s,color .15s;
}
.ns-rank li a:hover{background:var(--surface-2);color:var(--brand)}
.ns-rank i{
  flex:0 0 18px;width:18px;height:18px;border-radius:4px;margin-top:1px;
  background:var(--surface-3);color:var(--text-3);font-style:normal;
  font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center;
}
.ns-rank li:nth-child(1) i{background:#D93A2B;color:#fff}
.ns-rank li:nth-child(2) i{background:#EE7B4E;color:#fff}
.ns-rank li:nth-child(3) i{background:#F0A868;color:#fff}
.ns-rank li span{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ns-rank li em{flex:0 0 auto;font-style:normal;font-size:10px;color:var(--text-3)}

.ns-note{
  border:1px solid var(--line-2);border-radius:11px;
  padding:13px 14px;background:var(--surface-2);
}
.ns-note h4{margin:0 0 6px;font-size:12px;font-weight:700;color:var(--text-2)}
.ns-note p{margin:0;font-size:11px;line-height:1.7;color:var(--text-3)}

/* ---------- 响应式 ---------- */
@media(max-width:1180px){
  .ns-layout{grid-template-columns:minmax(0,1fr) 240px;gap:14px}
}
@media(max-width:900px){
  .hero-left{gap:12px}
  .hero-news{padding-left:12px}
  .hn-item{font-size:11.5px}
  .ns-layout{grid-template-columns:minmax(0,1fr)}
  .ns-side{flex-direction:row;flex-wrap:wrap}
  .ns-rank,.ns-note{flex:1 1 260px}
}
@media(max-width:560px){
  /* 窄屏：新闻移到时钟下方（竖排） */
  .hero-left{flex-direction:column;gap:10px}
  .hero-news{padding-left:0;border-left:none;
    border-top:1px solid rgba(255,255,255,.16);padding-top:10px}
  .ns-head{flex-direction:column;align-items:flex-start;gap:8px}
  .ns-head h2{font-size:18px}
  .ns-head-r{padding-bottom:0}
  .news-items{padding:12px}
  .ns-grid{grid-template-columns:minmax(0,1fr)}
  .ns-side{flex-direction:column}
  .ns-lead{padding:15px 14px}
  .ns-lead .nr-title{font-size:17px}
}

/* ============================================================
   侧边栏「我」区块 —— 登录微信头像
   ============================================================ */
/* 「我」区块现在独占侧边栏底部 */
.side-foot .me{
  display:flex;align-items:center;gap:10px;
  padding:9px 10px;margin-bottom:0;
  border-radius:11px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  transition:background .16s;
}
.side-foot .me:hover{background:rgba(255,255,255,.16)}
.me-av{
  position:relative;flex:0 0 34px;width:34px;height:34px;
  border-radius:50%;overflow:hidden;
  background:rgba(255,255,255,.16);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.me-av img{width:100%;height:100%;object-fit:cover;display:block}
.me-av-ph{
  font-size:15px;font-weight:700;color:rgba(255,255,255,.85);
  line-height:1;
}
.me-info{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
.me-name{
  font-size:12.5px;font-weight:600;color:#fff;line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.me-sub{
  font-size:10.5px;color:rgba(255,255,255,.62);line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}

/* ============================================================
   2026-11-17 N 版：新闻卡「选定态」重做
   旧问题：全局 a:hover{text-decoration:underline} 优先级高于
     .news-row{text-decoration:none}，hover 时整块标题+摘要被加下划线，很丑。
   新表现：渐变光条 + 淡色晕染 + 上浮 + 右上角浮标，全程零下划线。
   ⚠ style.css 卡片豁免清单已同步登记 a.news-row:hover（双保险）。
   ============================================================ */
.news-row{--ns-a:#2563EB;--ns-b:#0E9E9E}
.ns-lead{--ns-a:#D93A2B;--ns-b:#EE7B4E}
.news-row::before{
  content:'';position:absolute;left:-1px;top:15px;bottom:15px;width:3px;
  border-radius:0 3px 3px 0;background:linear-gradient(180deg,var(--ns-a),var(--ns-b));
  opacity:0;transform:scaleY(.35);transform-origin:center;
  transition:opacity .22s,transform .22s;pointer-events:none;
}
.news-row::after{
  content:'↗';position:absolute;right:-9px;top:-9px;
  width:22px;height:22px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,var(--ns-a),var(--ns-b));
  color:#fff;font-size:12px;font-weight:700;line-height:1;
  box-shadow:0 5px 14px rgba(37,99,235,.26);
  opacity:0;transform:translateY(5px) scale(.85);
  transition:opacity .22s,transform .22s;pointer-events:none;z-index:2;
}
.ns-lead::after{box-shadow:0 5px 14px rgba(217,58,43,.26)}
.news-row:hover,.news-row:focus-visible{
  text-decoration:none;outline:none;
  border-color:rgba(37,99,235,.18);
  background:linear-gradient(135deg,#F7FAFF 0%,#FFFFFF 55%,#F3FBFA 100%);
  box-shadow:0 10px 26px rgba(37,99,235,.10);
  transform:translateY(-2px);z-index:3;
}
.news-row:hover::before,.news-row:focus-visible::before{opacity:1;transform:scaleY(1)}
.news-row:hover::after,.news-row:focus-visible::after{opacity:1;transform:translateY(0) scale(1)}
.news-row:hover .nr-title,.news-row:focus-visible .nr-title{color:var(--ns-a)}
.news-row:hover .ns-meta,.news-row:focus-visible .ns-meta{border-top-color:rgba(37,99,235,.14)}
.news-row:focus-visible{outline:2px solid rgba(37,99,235,.38);outline-offset:2px}
/* 头条保留朱红暖调，不被冷色 hover 覆盖 */
.ns-lead:hover,.ns-lead:focus-visible{
  border-color:#E9BDB6;
  background:linear-gradient(135deg,#FFF6F4 0%,#FFFFFF 58%,#FFF9F8 100%);
  box-shadow:0 10px 26px rgba(217,58,43,.11);
}
.ns-lead:hover .nr-title,.ns-lead:focus-visible .nr-title{color:#C0392B}
.ns-lead:hover .ns-meta,.ns-lead:focus-visible .ns-meta{border-top-color:#F3E2DF}
@media (prefers-reduced-motion:reduce){
  .news-row,.news-row::before,.news-row::after{transition:none}
}

/* ============================================================
   2026-11-17 O 版：清掉新闻页冗余计数与「关于本页」说明卡
   用户三张截图：「共 124 条」胶囊 / 「61 条」灰字 / 「关于本页」卡；
   同类冗余计数（频道条「更多报道 · N 条」）一并收掉，页面更干净。
   ⚠ DOM 一律保留：check-news-layout-1117J 依赖 .ns-count 文本与
     .ns-note 节点，_shot_news_1117J 依赖 headCount / noteExists。
     只做视觉隐藏，绝不裸删（1117K / 1117M 同款模式）。
   ============================================================ */
.ns-count,.ns-day-h .desc,.ns-sec span,.ns-note{display:none}
