.news-page {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 0 100px;
  background: #ffffff;
  min-height: 100vh;
}
.news-topbar {
  display: flex; align-items: center;
  padding: 10px 12px;
  background: var(--card-bg, #fff);
  position: sticky; top: 0; z-index: 5;
}
.news-topbar h1 { flex:1; text-align:center; margin:0; font-size:17px; font-weight:700; }
.news-back, .news-gear {
  width: 40px; height: 40px;
  display:flex; align-items:center; justify-content:center;
  color: var(--text); text-decoration:none; font-size:17px;
}

.news-hero-banner {
  margin: 12px 14px 8px;
  padding: 18px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b1b3a 0%, #132a55 50%, #1a3a6e 100%);
  color: #fff;
  display: flex; gap: 14px; align-items: center;
  box-shadow: 0 10px 28px rgba(11,27,58,.25);
}
.nhb-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,180,228,.2);
  display:flex; align-items:center; justify-content:center;
  color: #5ec8ff; font-size: 20px; flex-shrink: 0;
}
.nhb-title { font-weight: 800; font-size: 17px; }
.nhb-sub { font-size: 13px; opacity: .75; margin-top: 2px; }

.news-list { padding: 8px 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.news-card-v2 {
  display: block;
  background: var(--card-bg, #fff);
  border-radius: 16px;
  padding: 16px 16px 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  border: 1px solid var(--border, #eef0f3);
}
.news-card-v2.is-featured {
  background: linear-gradient(160deg, #0c1e3d 0%, #16325f 100%);
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(12,30,61,.28);
}
.nc-top { display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.nc-badge {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  background: #e8f0fe; color: #2563eb;
}
.nc-badge.new { background: #dcfce7; color: #15803d; }
.nc-badge.upd { background: #e8f0fe; color: #2563eb; }
.news-card-v2.is-featured .nc-badge.upd,
.news-card-v2.is-featured .nc-badge.new {
  background: rgba(255,255,255,.18); color: #fff;
}
.nc-date { font-size: 12px; color: var(--text-muted, #9aa0a6); }
.news-card-v2.is-featured .nc-date { color: rgba(255,255,255,.65); }
.news-card-v2 h3 {
  margin: 0 0 8px; font-size: 17px; font-weight: 800; line-height: 1.3;
}
.news-card-v2 p {
  margin: 0 0 12px; font-size: 13.5px; line-height: 1.45;
  color: var(--text-muted, #6b7280);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card-v2.is-featured p { color: rgba(255,255,255,.78); }
.nc-more {
  font-size: 13px; font-weight: 600; color: var(--accent, #00b4e4);
  display: inline-flex; align-items: center; gap: 6px;
}
.news-card-v2.is-featured .nc-more { color: #7dd3fc; }
.news-empty { text-align:center; padding: 48px 16px; color: var(--text-muted); }
.news-empty i { font-size: 36px; display:block; margin-bottom: 10px; opacity:.5; }

/* Detail */
.news-detail-v2 { max-width: 640px; margin: 0 auto; padding-bottom: 80px; }
.nd-hero {
  background: radial-gradient(ellipse at 80% 0%, #3b82f6 0%, transparent 45%),
              linear-gradient(160deg, #0a1628 0%, #0f2744 55%, #122a4a 100%);
  color: #fff;
  padding: 16px 18px 28px;
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
}
.nd-hero::after {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(96,165,250,.35);
  pointer-events: none;
}
.nd-hero-top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 18px; position: relative; z-index: 1;
}
.nd-back-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12);
  color: #fff; text-decoration: none;
  padding: 8px 12px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
.nd-date { margin-left: auto; font-size: 12px; opacity: .7; position: relative; z-index: 1; }
.nd-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; letter-spacing: .04em; font-size: 13px;
  color: #7dd3fc; margin-bottom: 12px; position: relative; z-index: 1;
}
.nd-hero h1 {
  margin: 0 0 12px; font-size: 26px; font-weight: 900; line-height: 1.2;
  position: relative; z-index: 1;
}
.nd-lead {
  margin: 0; font-size: 15px; line-height: 1.5; opacity: .88;
  position: relative; z-index: 1;
}
.nd-body {
  background: var(--card-bg, #fff);
  margin: -8px 0 0;
  padding: 22px 18px 28px;
  border-radius: 18px 18px 0 0;
  position: relative;
}
.nd-h {
  margin: 22px 0 10px;
  font-size: 13px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text, #111);
  padding-left: 10px;
  border-left: 3px solid var(--accent, #00b4e4);
}
.nd-h:first-child { margin-top: 0; }
.nd-text {
  font-size: 15px; line-height: 1.65;
  color: var(--text, #1f2937);
  margin-bottom: 12px;
}
.nd-footer {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid var(--border, #eef0f3);
}
.nd-author { display: flex; align-items: center; gap: 12px; }
.nd-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: #e8f4fc; color: var(--accent, #00b4e4);
  display:flex; align-items:center; justify-content:center;
}
.nd-fd { font-size: 12px; color: var(--text-muted); }

/* Popup */
.pulse-news-modal {
  position: fixed; inset: 0; z-index: 99990;
  background: rgba(15,23,42,.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.pulse-news-modal.open { opacity: 1; pointer-events: auto; }
.pnm-box {
  width: 100%; max-width: 380px;
  background: var(--card-bg, #fff);
  border-radius: 20px;
  padding: 20px 18px 16px;
  box-shadow: 0 24px 48px rgba(0,0,0,.22);
  position: relative;
  transform: translateY(12px); transition: transform .2s ease;
}
.pulse-news-modal.open .pnm-box { transform: translateY(0); }
.pnm-close {
  position: absolute; right: 12px; top: 12px;
  width: 32px; height: 32px; border: none; border-radius: 50%;
  background: transparent; color: #9aa0a6; font-size: 16px; cursor: pointer;
}
.pnm-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  background: #e8f0fe; color: #2563eb; margin-bottom: 10px;
}
.pnm-kicker { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.pnm-title { font-size: 18px; font-weight: 800; margin: 0 0 8px; line-height: 1.3; }
.pnm-sum { font-size: 14px; color: var(--text-muted); line-height: 1.45; margin: 0 0 16px; }
.pnm-btn {
  display: block; width: 100%; text-align: center;
  padding: 13px 16px; border-radius: 14px; border: none;
  font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
}
.pnm-btn.primary { background: #3b82f6; color: #fff; margin-bottom: 8px; }
.pnm-btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border, #e5e7eb); }

[data-theme="dark"] .news-page { background: var(--bg); }
[data-theme="dark"] .news-topbar,
[data-theme="dark"] .news-card-v2:not(.is-featured),
[data-theme="dark"] .nd-body,
[data-theme="dark"] .pnm-box { background: var(--card-bg); }
