/* =========================================================
   风电导航 WindNav · 前台样式
   ========================================================= */

:root {
  --bg: #f4f7fc;
  --bg-soft: #eef3fb;
  --card: #ffffff;
  --card-hover: #ffffff;
  --text: #16202f;
  --text-sub: #5b6879;
  --text-mute: #8d97a6;
  --border: #e6ebf4;
  --border-strong: #d5deec;
  --primary: #1e6fe8;
  --primary-dark: #1558bd;
  --primary-soft: #eaf2ff;
  --accent: #12a594;
  --accent-soft: #e6f7f4;
  --warn: #e8833a;
  --shadow-sm: 0 1px 2px rgba(19, 42, 84, .05);
  --shadow: 0 4px 16px rgba(19, 42, 84, .07);
  --shadow-lg: 0 12px 36px rgba(19, 42, 84, .12);
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1280px;
  --header-h: 66px;
}

html[data-theme="dark"] {
  --bg: #0e1420;
  --bg-soft: #141c2b;
  --card: #161f30;
  --card-hover: #1b2537;
  --text: #e8eef8;
  --text-sub: #9fadc2;
  --text-mute: #6f7d92;
  --border: #24304a;
  --border-strong: #2f3d5a;
  --primary: #4c92ff;
  --primary-dark: #3b7fe0;
  --primary-soft: #16273f;
  --accent: #2ec4b0;
  --accent-soft: #12312e;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 4px 16px rgba(0, 0, 0, .35);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

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

/* ---------------- 公告条 ---------------- */
.notice-bar {
  background: linear-gradient(90deg, var(--primary-soft), var(--accent-soft));
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-sub);
}
.notice-bar .wrap { display: flex; align-items: center; gap: 10px; height: 38px; }
.notice-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 111, 232, .18); flex: none;
}
.notice-bar span:nth-child(2) { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.notice-bar button {
  background: none; border: 0; font-size: 18px; line-height: 1; color: var(--text-mute);
  cursor: pointer; padding: 0 4px;
}
.notice-bar.hidden { display: none; }

/* ---------------- 头部 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 18px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-size: 19px; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(30, 111, 232, .28);
}
.brand-logo {
  height: 42px; width: auto; max-width: 180px; object-fit: contain;
  flex: none; display: block; border-radius: 0; background: none; box-shadow: none;
}
html[data-theme="dark"] .brand-logo {
  background: #fff; border-radius: 8px; height: 42px; box-sizing: border-box;
  padding: 3px 8px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 17px; letter-spacing: .3px; }
.brand-text i { font-style: normal; font-size: 11px; color: var(--text-mute); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: 8px; flex: 1; overflow: hidden; }
.nav-item {
  padding: 7px 12px; border-radius: 9px; font-size: 14px; color: var(--text-sub);
  white-space: nowrap; transition: .18s;
}
.nav-item:hover { background: var(--bg-soft); color: var(--primary); }
.nav-item.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }

.header-search {
  position: relative; display: flex; align-items: center; flex: none; width: 240px;
  background: var(--bg-soft); border: 1px solid transparent; border-radius: 10px;
  padding: 0 12px; height: 38px; transition: .2s;
}
.header-search:focus-within { background: var(--card); border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.header-search svg { color: var(--text-mute); flex: none; }
.header-search input {
  border: 0; background: transparent; outline: none; width: 100%; height: 100%;
  font-size: 13px; color: var(--text); margin-left: 7px;
}
.header-search input::placeholder { color: var(--text-mute); }

.header-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--text-sub); display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: .18s;
}
.icon-btn:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.nav-toggle { display: none; }

/* ---------------- 主区域 ---------------- */
.page-main { padding: 24px 20px 28px; }

/* ---------------- Hero ---------------- */
.hero {
  border-radius: 20px; padding: 46px 34px 40px; margin-bottom: 24px;
  background:
    radial-gradient(1100px 340px at 12% -30%, rgba(30, 111, 232, .16), transparent 62%),
    radial-gradient(760px 300px at 92% 0%, rgba(18, 165, 148, .14), transparent 60%),
    var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30, 111, 232, .07) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .55;
  mask-image: linear-gradient(180deg, #000, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { font-size: 34px; letter-spacing: .5px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero h1 .hero-logo {
  height: 62px; width: auto; max-width: min(100%, 460px); object-fit: contain; display: block;
}
html[data-theme="dark"] .hero h1 .hero-logo {
  background: #fff; border-radius: 12px; padding: 8px 16px; box-sizing: content-box; height: 46px;
}
.hero h1 em {
  font-style: normal; font-size: 15px; font-weight: 500; color: var(--text-sub);
  letter-spacing: .2px;
}
.hero-sub { color: var(--text-sub); margin: 14px 0 24px; font-size: 13.5px; }
.hero-sub b { color: var(--primary); font-size: 15px; }

.hero-search {
  display: flex; align-items: center; gap: 8px; max-width: 660px; margin: 0 auto;
  background: var(--card); border: 1.5px solid var(--border-strong); border-radius: 14px;
  padding: 6px 6px 6px 16px; box-shadow: var(--shadow); transition: .2s;
}
.hero-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.hero-search svg { color: var(--primary); flex: none; }
.hero-search input {
  flex: 1; border: 0; outline: none; background: transparent; height: 40px;
  font-size: 14.5px; color: var(--text); min-width: 0;
}
.hero-search input::placeholder { color: var(--text-mute); }
.hero-search button {
  flex: none; border: 0; height: 40px; padding: 0 26px; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, var(--primary), #2f86ff); color: #fff;
  font-size: 14px; font-weight: 600; transition: .18s;
}
.hero-search button:hover { filter: brightness(1.06); box-shadow: 0 6px 16px rgba(30, 111, 232, .3); }
.inline-search { margin: 0 0 20px; max-width: 520px; }

.hero-hot { margin-top: 18px; font-size: 12.5px; color: var(--text-mute); display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.hero-hot a {
  padding: 3px 11px; border-radius: 20px; background: var(--bg-soft);
  border: 1px solid var(--border); color: var(--text-sub); transition: .18s;
}
.hero-hot a:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }

/* ---------------- 区块 ---------------- */
.block {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 22px 22px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.block-rec { border-color: #ffd9b8; background: linear-gradient(180deg, #fff9f3, var(--card)); }
html[data-theme="dark"] .block-rec { border-color: #3a2f22; background: linear-gradient(180deg, #1d1a15, var(--card)); }

/* 通栏广告位 */
.ad-banner {
  position: relative; width: 100%; margin: 0 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.ad-banner .ad-tag {
  position: absolute; top: 8px; left: 8px; z-index: 2;
  font-size: 9px; line-height: 1; padding: 2px 4px; border-radius: 3px;
  color: rgba(128,128,128,.55); background: rgba(0,0,0,.03); border: 1px solid rgba(128,128,128,.18);
  pointer-events: none; letter-spacing: .5px;
}
html[data-theme="dark"] .ad-banner .ad-tag { color: rgba(200,200,200,.45); background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.ad-slot { display: block; width: 100%; overflow: hidden; position: relative; }
.ad-banner .ad-slot:only-child { grid-column: 1 / -1; }
.ad-slot img { display: block; width: 100%; height: 75px; object-fit: cover; border-radius: 0; }
/* 自定义 HTML 广告：与图片广告等高、同样无圆角 */
.ad-slot.ad-html { height: 75px; }
/* 头条资讯侧栏广告位：随栏宽自适应，不限高 */
.nw-side-ad { grid-template-columns: 1fr; }
.nw-side-ad .ad-slot img { height: auto; }
.nw-side-ad .ad-slot.ad-html { height: auto; min-height: 75px; }
.ad-html > * { max-width: 100%; }
.ad-html img { border-radius: 0; }
.ad-demo {
  height: 75px; box-sizing: border-box; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 18px; border-radius: 0;
  background: linear-gradient(100deg, #e8f4fd 0%, #e6fbf6 55%, #f2fbef 100%);
  border: 1px dashed #9cc8e8; color: #1d4e6e;
}
html[data-theme="dark"] .ad-demo {
  background: linear-gradient(100deg, #14212e 0%, #12241f 55%, #17251a 100%);
  border-color: #2d4a5e; color: #bcd9ea;
}
.ad-demo-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ad-demo-txt b { font-size: 14.5px; }
.ad-demo-txt span {
  font-size: 12px; opacity: .85;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-demo-btn {
  flex: none; padding: 7px 18px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  color: #fff; background: linear-gradient(120deg, #1e6fe8, #12a594);
}
.ad-demo-btn:hover { opacity: .88; }

.block-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.block-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.block-title h2 { font-size: 17.5px; letter-spacing: .2px; }
.block-title h2 a { color: inherit; }
.block-title p { margin: 2px 0 0; font-size: 12.5px; color: var(--text-mute); }
.block-ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none; font-size: 20px;
  display: flex; align-items: center; justify-content: center; background: var(--bg-soft);
}
.ico-fire { background: #fff0e2; }
.ico-new { background: var(--accent-soft); }
.ico-grid { background: var(--primary-soft); }
html[data-theme="dark"] .ico-fire { background: #33241a; }

.block-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.more { font-size: 13px; color: var(--text-mute); display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.more:hover { color: var(--primary); }
.block-foot { margin-top: 16px; text-align: center; }

/* Tabs */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; background: var(--bg-soft); padding: 4px; border-radius: 11px; }
.tab {
  border: 0; background: transparent; cursor: pointer; padding: 6px 13px; border-radius: 8px;
  font-size: 13px; color: var(--text-sub); transition: .18s; white-space: nowrap;
}
.tab:hover { color: var(--primary); }
.tab.active { background: var(--card); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }

/* ---------------- 分类总览 ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.cat-card {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card);
  transition: .18s;
}
.cat-card:hover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-ico { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 17px; flex: none; }
/* 分类图片图标 */
.cat-ico-img { overflow: hidden; }
.cat-ico-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; }
.cat-inline-img { height: 16px; width: auto; vertical-align: -3px; margin-right: 4px; }
.cat-body { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.cat-body b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cat-body i { font-style: normal; font-size: 11.5px; color: var(--text-mute); }

/* ---------------- 站点卡片 ---------------- */
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 12px; }

.site-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 13px 10px; transition: .2s; position: relative; display: flex; flex-direction: column;
}
.site-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.site-card:hover .site-actions { opacity: 1; }
.site-card.hide { display: none; }

.site-link { display: flex; gap: 10px; align-items: flex-start; }
.site-logo {
  width: 40px; height: 40px; border-radius: 11px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.site-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 17px; font-weight: 700; border-radius: 11px;
}
.site-main { min-width: 0; flex: 1; display: block; }
.site-title {
  font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text);
}
.site-card:hover .site-title { color: var(--primary); }
.site-desc {
  display: block; font-size: 12.3px; color: var(--text-mute); line-height: 1.5; margin-top: 3px;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.site-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; font-size: 11.5px; color: var(--text-mute); }
.site-cat { padding: 1px 7px; border-radius: 5px; background: var(--bg-soft); }
.site-views { display: inline-flex; align-items: center; gap: 3px; }

.badge {
  font-style: normal; font-size: 10.5px; font-weight: 600; padding: 1px 5px;
  border-radius: 4px; flex: none; line-height: 1.5;
}
.badge-top { background: #ffece0; color: #d1651c; }
.badge-rec { background: var(--accent-soft); color: var(--accent); }
html[data-theme="dark"] .badge-top { background: #3a2417; color: #f0a468; }

.site-tags { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; min-height: 0; }
.tag {
  font-size: 11px; padding: 1px 7px; border-radius: 5px; color: var(--text-sub);
  background: var(--bg-soft); transition: .16s;
}
.tag:hover { background: var(--primary-soft); color: var(--primary); }
/* 移动端：放大标签与「更多」的可点击高度，方便手指点按 */
@media (max-width: 720px) {
  .tag { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; }
  .site-tags { gap: 6px; }
  .more { padding: 6px 4px; margin: -6px 0; }
}

.site-actions {
  position: absolute; right: 10px; top: 10px; display: flex; gap: 5px; opacity: 0; transition: .18s;
}
.mini {
  font-size: 11.5px; padding: 3px 9px; border-radius: 7px; background: var(--bg-soft);
  color: var(--text-sub); border: 1px solid var(--border); white-space: nowrap;
}
.mini:hover { color: var(--primary); border-color: var(--primary); }
.mini-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.mini-primary:hover { background: var(--primary-dark); color: #fff; }

.load-more {
  border: 1px dashed var(--border-strong); background: var(--card); color: var(--text-sub);
  padding: 9px 28px; border-radius: 10px; font-size: 13px; cursor: pointer; transition: .18s;
  display: inline-block;
}
.load-more:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.load-more.done { display: none; }

/* ---------------- 分类 / 详情 布局 ---------------- */
.crumb { font-size: 13px; color: var(--text-mute); margin-bottom: 14px; display: flex; gap: 7px; align-items: center; }
.crumb a:hover { color: var(--primary); }

.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 20px; align-items: start; }
.col-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 16px); }

.side-box {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.side-box h3 { font-size: 14px; margin-bottom: 12px; }
.side-box h3 a { color: inherit; }
.side-list { display: flex; flex-direction: column; gap: 2px; }
.side-item {
  display: flex; justify-content: space-between; align-items: center; padding: 6px 9px;
  border-radius: 7px; font-size: 13px; color: var(--text-sub); transition: .16s;
}
.side-item:hover { background: var(--primary-soft); color: var(--primary); }
.side-item i { font-style: normal; font-size: 11.5px; color: var(--text-mute); }
.side-item:hover i { color: var(--primary); }
.side-cta p { font-size: 12.5px; color: var(--text-mute); margin: 0 0 12px; }

.chip-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12.5px; padding: 4px 11px; border-radius: 8px; background: var(--bg-soft);
  color: var(--text-sub); border: 1px solid var(--border); transition: .16s;
}
.chip:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.chip i { font-style: normal; font-size: 11px; color: var(--text-mute); margin-left: 5px; }
.chip-tag { background: var(--card); }

.muted { color: var(--text-mute); font-size: 12.5px; }

/* 详情 */
.site-detail .detail-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.detail-logo {
  width: 72px; height: 72px; border-radius: 18px; overflow: hidden; flex: none;
  box-shadow: var(--shadow);
}
.detail-logo img { width: 100%; height: 100%; object-fit: cover; }
.detail-logo span {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px; font-weight: 700;
}
.detail-info { flex: 1; min-width: 220px; }
.detail-info h1 { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.detail-url { margin-top: 6px; font-size: 13px; }
.detail-url a { color: var(--primary); word-break: break-all; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--text-mute); }
.detail-meta a { color: var(--primary); }
.detail-actions { display: flex; gap: 10px; margin-top: 16px; }

.detail-stats { display: flex; gap: 24px; padding-left: 8px; }
.detail-stats div { text-align: center; }
.detail-stats b { display: block; font-size: 20px; color: var(--primary); }
.detail-stats i { font-style: normal; font-size: 12px; color: var(--text-mute); }

.detail-desc {
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed var(--border);
  font-size: 14px; color: var(--text-sub); line-height: 1.9;
}
.detail-tags { margin-top: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }

.btn-primary, .btn-ghost, .btn-block {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px; border-radius: 10px; font-size: 13.5px; cursor: pointer; border: 1px solid transparent;
  transition: .18s; font-weight: 500;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #2f86ff); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 6px 18px rgba(30, 111, 232, .3); filter: brightness(1.04); }
.btn-ghost { background: var(--card); border-color: var(--border-strong); color: var(--text-sub); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-soft); }
.btn-block { width: 100%; }

.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 12.8px; padding: 6px 0; border-bottom: 1px dashed var(--border); }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--text-mute); flex: none; }
.kv b { font-weight: 600; text-align: right; word-break: break-all; }
.kv b.ok { color: var(--accent); }

/* ---------------- 榜单 ---------------- */
.rank-list { display: flex; flex-direction: column; }
.rank-row {
  display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 10px;
  border-bottom: 1px solid var(--border); transition: .16s;
}
.rank-row:last-child { border-bottom: 0; }
.rank-row:hover { background: var(--bg-soft); }
.rank-no {
  width: 26px; height: 26px; border-radius: 8px; flex: none; display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; color: var(--text-mute); background: var(--bg-soft);
}
.rank-top { color: #fff; background: linear-gradient(135deg, var(--primary), #2f86ff); }
.rank-row:nth-child(1) .rank-top { background: linear-gradient(135deg, #f5a623, #f7c948); }
.rank-row:nth-child(2) .rank-top { background: linear-gradient(135deg, #9aa8bd, #c3cddb); }
.rank-row:nth-child(3) .rank-top { background: linear-gradient(135deg, #d1874f, #e5ab7c); }
.rank-logo {
  width: 34px; height: 34px; border-radius: 10px; flex: none; color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rank-name { font-size: 14px; font-weight: 600; }
.rank-main em { font-style: normal; font-size: 12.2px; color: var(--text-mute); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rank-cat { flex: none; font-size: 12px; }
.rank-cat a { padding: 2px 9px; border-radius: 6px; background: var(--bg-soft); color: var(--text-sub); }
.rank-num { flex: none; width: 62px; text-align: right; font-size: 13.5px; font-weight: 700; color: var(--primary); }

/* ---------------- 表单 ---------------- */
.form { max-width: 620px; }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; }
.form-row label i { color: #e5484d; font-style: normal; }
.form-row input, .form-row select, .form-row textarea {
  border: 1px solid var(--border-strong); background: var(--card); border-radius: 10px;
  padding: 10px 13px; font-size: 13.5px; color: var(--text); outline: none; transition: .18s; width: 100%;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft);
}
.form-actions { display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.form-msg { font-size: 13px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #e5484d; }

.dot-list { display: flex; flex-direction: column; gap: 7px; font-size: 12.8px; color: var(--text-sub); }
.dot-list li { padding-left: 15px; position: relative; }
.dot-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--primary); opacity: .55;
}
.dot-list a { color: var(--primary); }

/* ---------------- 关于 / 地图 / 404 ---------------- */
.about-block { max-width: 860px; }
.about-block h1 { font-size: 23px; margin-bottom: 12px; }
.about-block h2 { font-size: 16px; margin: 26px 0 12px; padding-left: 11px; border-left: 3px solid var(--primary); }
.about-block p { color: var(--text-sub); line-height: 1.95; margin: 0 0 10px; }
.about-block a { color: var(--primary); }

.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sitemap-grid .dot-list { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; }
.sitemap-grid .dot-list li { padding-left: 0; }
.sitemap-grid .dot-list li::before { display: none; }
.sitemap-grid .dot-list a { color: var(--text-sub); font-size: 12.8px; }
.sitemap-grid .dot-list a:hover { color: var(--primary); }

.notfound { text-align: center; padding: 70px 20px; }
.notfound h1 { font-size: 76px; color: var(--primary); letter-spacing: 3px; opacity: .85; }
.notfound p { color: var(--text-mute); margin: 8px 0 24px; }
.notfound .detail-actions { justify-content: center; }

.cta-block { background: linear-gradient(120deg, var(--primary-soft), var(--accent-soft)); border-color: transparent; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta h3 { font-size: 17px; }
.cta p { margin: 4px 0 0; font-size: 13px; color: var(--text-sub); }
.cta .btn-primary { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.cta .btn-primary:hover { color: var(--primary-dark); }

.empty { text-align: center; padding: 46px 20px; color: var(--text-mute); font-size: 13.5px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--card); border-top: 1px solid var(--border); margin-top: 10px; padding: 34px 0 22px;
}
.foot-inner { display: grid; grid-template-columns: repeat(3, 1fr) 1.5fr; gap: 28px; }
.foot-col h4 { font-size: 13.5px; margin-bottom: 12px; }
.foot-col ul { display: flex; flex-direction: column; gap: 8px; }
.foot-col a { font-size: 12.8px; color: var(--text-sub); }
.foot-col a:hover { color: var(--primary); }
.foot-about p { font-size: 12.6px; color: var(--text-mute); line-height: 1.85; margin: 0 0 8px; }
.foot-contact a { color: var(--primary); }
.friend-links {
  margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--border);
  font-size: 12.5px; color: var(--text-mute); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
}
.friend-links a { color: var(--text-sub); }
.friend-links a:hover { color: var(--primary); }
.foot-bottom {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.3px; color: var(--text-mute);
}
.foot-meta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------------- 悬浮操作 ---------------- */
.float-bar {
  position: fixed; right: 22px; bottom: 30px; z-index: 50;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 42px; height: 42px; border-radius: 12px; background: var(--card);
  border: 1px solid var(--border); color: var(--text-sub); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: .18s;
}
.float-btn:hover { color: #fff; background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
#toTop { opacity: 0; pointer-events: none; }
#toTop.show { opacity: 1; pointer-events: auto; }

/* ---------------- 会议会展频道 ---------------- */
/* 头部导航「会议会展」高亮 */
.nav-item.nav-event { color: #0a9c48; font-weight: 700; }
.nav-item.nav-event .nav-event-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #0a9c48;
  display: inline-block; margin-right: 5px; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(10, 156, 72, .14);
}
.nav-item.nav-event:hover { color: #077a38; }
html[data-theme="dark"] .nav-item.nav-event { color: #37c877; }
html[data-theme="dark"] .nav-item.nav-event .nav-event-dot { background: #37c877; box-shadow: 0 0 0 3px rgba(55, 200, 119, .16); }

.ev-hero {
  background: linear-gradient(120deg, #087f40 0%, #12a95a 48%, #4cc07f 100%);
  border-radius: var(--radius); padding: 26px 28px; color: #fff; margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(10, 156, 72, .2);
}
.ev-hero-inner { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.ev-hero-text h1 { font-size: 27px; letter-spacing: .5px; }
.ev-hero-text > p { margin: 6px 0 0; font-size: 13.5px; opacity: .93; }
.ev-stats { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
.ev-stats span { font-size: 12.5px; opacity: .9; }
.ev-stats b { font-size: 20px; margin-right: 5px; font-weight: 800; }
.ev-search {
  display: flex; align-items: center; gap: 8px; min-width: 330px;
  background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 5px 5px 5px 16px;
}
.ev-search input { flex: 1; border: 0; background: none; outline: none; height: 34px; font-size: 13.5px; color: #16202f; }
.ev-search button {
  border: 0; border-radius: 999px; padding: 0 18px; height: 34px; cursor: pointer;
  background: #0a9c48; color: #fff; font-size: 13.5px; font-weight: 600;
}
.ev-search button:hover { background: #077a38; }

.ev-parent { margin-bottom: 12px; }
.ev-filters { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 16px; margin-bottom: 16px; }
.ev-filter-row { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.ev-filter-row:last-of-type { border-bottom: 0; }
.ev-fl { flex: none; width: 40px; font-size: 12.5px; color: var(--text-mute); line-height: 25px; }
.ev-tab { padding: 3px 12px; border-radius: 999px; font-size: 13px; color: var(--text-sub); }
.ev-tab:hover { color: #0a9c48; }
.ev-tab.active { background: #0a9c48; color: #fff; font-weight: 600; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--bg-soft); font-size: 12.5px; color: var(--text-sub); }
.ev-chip i { font-style: normal; font-size: 11px; color: var(--text-mute); }
.ev-chip:hover { color: #0a9c48; }
.ev-chip.active { background: #e8f7ee; color: #077a38; font-weight: 600; }
html[data-theme="dark"] .ev-chip.active { background: #3a1620; color: #ff8fa3; }
.ev-filter-clear { padding-top: 8px; }
.ev-clear { font-size: 12.5px; color: var(--text-mute); }
.ev-clear:hover { color: #0a9c48; }

.ev-layout, .ev-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.ev-result { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-mute); margin-bottom: 10px; }
.ev-kw { color: #0a9c48; }
.ev-list { display: flex; flex-direction: column; gap: 12px; }

.ev-card { display: flex; gap: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: .18s; }
.ev-card:hover { border-color: #b9e4cc; box-shadow: var(--shadow); transform: translateY(-1px); }
.ev-date { flex: none; width: 74px; text-align: center; border-right: 1px dashed var(--border); padding-right: 12px; display: flex; flex-direction: column; justify-content: center; }
.ev-date b { display: block; font-size: 22px; color: #0a9c48; letter-spacing: -.5px; }
.ev-date i { font-style: normal; font-size: 12px; color: var(--text-mute); display: block; }
.ev-date em { font-style: normal; font-size: 12px; color: var(--text-sub); display: block; margin-top: 2px; }
.ev-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.ev-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.45; }
.ev-card:hover .ev-title { color: #0a9c48; }
.ev-loc { font-size: 12.5px; color: var(--text-sub); display: flex; align-items: center; gap: 4px; }
.ev-loc svg { color: #0a9c48; flex: none; }
.ev-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ev-tags i, .ev-status { font-style: normal; font-size: 11.5px; padding: 1px 8px; border-radius: 6px; }
.ev-ind { background: #e8f7ee; color: #077a38; }
.ev-type { background: var(--primary-soft); color: var(--primary); }
.ev-price { background: var(--accent-soft); color: var(--accent); }
.ev-org { font-size: 12px; color: var(--text-mute); }
.ev-act { flex: none; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; }
.ev-status.up { background: #fff1e6; color: #c2410c; }
.ev-status.on { background: #e7f8ef; color: #047857; }
.ev-status.off, .ev-status.top { background: var(--bg-soft); color: var(--text-mute); }
html[data-theme="dark"] .ev-ind { background: #3a1620; color: #ff8fa3; }
html[data-theme="dark"] .ev-status.up { background: #3a2a14; color: #f5b26b; }
html[data-theme="dark"] .ev-status.on { background: #12301f; color: #4ade80; }
.ev-btn { display: inline-flex; align-items: center; justify-content: center; padding: 6px 16px; border-radius: 999px; background: #0a9c48; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; border: 0; }
.ev-btn:hover { background: #077a38; color: #fff; }
.ev-btn-ghost { background: transparent; border: 1px solid var(--border-strong); color: var(--text-sub); }
.ev-btn-ghost:hover { color: #0a9c48; border-color: #b9e4cc; background: transparent; }
.ev-btn-lg { padding: 9px 22px; font-size: 13.5px; }

.ev-side { display: flex; flex-direction: column; gap: 14px; }
.ev-mini-list { display: flex; flex-direction: column; }
.ev-mini { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.ev-mini:last-child { border-bottom: 0; }
.ev-mini-d { flex: none; color: #0a9c48; font-weight: 700; font-size: 12.5px; }
.ev-mini-t { flex: 1; color: var(--text-sub); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ev-mini:hover .ev-mini-t { color: #0a9c48; }
.ev-mini-v { flex: none; font-size: 11.5px; color: var(--text-mute); }
.side-empty { font-size: 12.5px; color: var(--text-mute); margin: 6px 0 0; }
.ev-cta p { font-size: 12.5px; color: var(--text-sub); margin: 6px 0 10px; line-height: 1.7; }
.ev-side .chip-wrap { display: flex; flex-wrap: wrap; gap: 8px; }

.ev-detail-head { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; }
.ev-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ev-detail-title h1 { font-size: 23px; line-height: 1.42; }
.ev-detail-sum { margin: 10px 0 0; font-size: 13.5px; color: var(--text-sub); line-height: 1.85; }
.ev-detail-meta { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; color: var(--text-mute); }
.ev-detail-cover { margin-top: 16px; border-radius: var(--radius-sm); overflow: hidden; }
.ev-detail-cover img { width: 100%; display: block; }
.card-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 14px; }
.card-block h2 { font-size: 16px; margin-bottom: 12px; padding-left: 10px; border-left: 3px solid #0a9c48; line-height: 1.25; }
.ev-info-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.ev-info-row:last-child { border-bottom: 0; }
.ev-info-l { flex: none; width: 76px; color: var(--text-mute); font-size: 13px; }
.ev-info-v { flex: 1; color: var(--text); }
.ev-content h2 { font-size: 16.5px; margin: 18px 0 8px; }
.ev-content h3 { font-size: 14.5px; margin: 16px 0 6px; }
.ev-content p { margin: 8px 0; font-size: 13.5px; color: var(--text-sub); line-height: 1.9; }
.ev-content ul { margin: 8px 0; }
.ev-content li { font-size: 13.5px; color: var(--text-sub); line-height: 1.95; padding-left: 16px; position: relative; }
.ev-content li::before { content: ''; position: absolute; left: 3px; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: #b9e4cc; }
.ev-content blockquote { margin: 10px 0; padding: 8px 14px; border-left: 3px solid #b9e4cc; background: var(--bg-soft, #f7f9fc); color: var(--text-sub); font-size: 13.5px; }
.ev-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; display: block; }
.ev-detail-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
/* 会议会展列表：已结束活动分组分隔条 */
.ev-group-sep { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; color: var(--text-mute); font-size: 12.5px; }
.ev-group-sep::before, .ev-group-sep::after { content: ''; height: 1px; background: var(--border); flex: 1; }
.ev-group-sep span { flex: 0 0 auto; letter-spacing: .04em; }
/* 活动详情：无报名链接时的联系方式卡（替代「咨询报名」按钮） */
.ev-contact-card { width: 100%; border: 1px solid #b9e4cc; background: #fff5f7; border-radius: 10px; padding: 12px 14px; }
.ev-contact-t { font-size: 13px; font-weight: 700; color: #0a9c48; margin-bottom: 8px; }
.ev-contact-row { display: flex; align-items: baseline; gap: 10px; font-size: 13px; padding: 3px 0; line-height: 1.6; }
.ev-contact-row span { color: var(--text-sub); flex: 0 0 62px; font-size: 12.5px; }
.ev-contact-row b { color: var(--text); font-weight: 600; word-break: break-all; }
.ev-contact-row a { color: #0a9c48; text-decoration: none; }
.ev-contact-row a:hover { text-decoration: underline; }
html[data-theme="dark"] .ev-contact-card { background: #2a141b; border-color: #4a1f2c; }
.ev-sticky { position: sticky; top: calc(var(--header-h) + 14px); }
.ev-side-time { font-size: 13.5px; color: var(--text); font-weight: 600; line-height: 1.6; }
.ev-side-loc { font-size: 12.5px; color: var(--text-sub); margin: 6px 0 12px; }

/* ---------------- 头条资讯频道 ---------------- */
/* 头部导航「头条资讯」高亮（蓝色） */
.nav-item.nav-news { color: #1e6fe8; font-weight: 700; }
.nav-item.nav-news .nav-news-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #1e6fe8;
  display: inline-block; margin-right: 5px; vertical-align: middle;
  box-shadow: 0 0 0 3px rgba(30, 111, 232, .14);
}
.nav-item.nav-news:hover { color: #1558bd; }
html[data-theme="dark"] .nav-item.nav-news { color: #6aa6ff; }
html[data-theme="dark"] .nav-item.nav-news .nav-news-dot { background: #6aa6ff; box-shadow: 0 0 0 3px rgba(106, 166, 255, .16); }

.nw-hero {
  background: linear-gradient(120deg, #1e6fe8 0%, #2f86f6 46%, #55a4ff 100%);
  border-radius: var(--radius); padding: 26px 28px; color: #fff; margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(30, 111, 232, .22);
}
.nw-hero-inner { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.nw-hero-text h1 { font-size: 27px; letter-spacing: .5px; }
.nw-hero-text > p { margin: 6px 0 0; font-size: 13.5px; opacity: .94; }
.nw-stats { display: flex; gap: 20px; margin-top: 14px; flex-wrap: wrap; }
.nw-stats span { font-size: 12.5px; opacity: .92; }
.nw-stats b { font-size: 20px; margin-right: 5px; font-weight: 800; }
.nw-search {
  display: flex; align-items: center; gap: 8px; min-width: 330px;
  background: rgba(255, 255, 255, .95); border-radius: 999px; padding: 5px 5px 5px 16px;
}
.nw-search input { flex: 1; border: 0; background: none; outline: none; height: 34px; font-size: 13.5px; color: #16202f; }
.nw-search button {
  border: 0; border-radius: 999px; padding: 0 18px; height: 34px; cursor: pointer;
  background: #1e6fe8; color: #fff; font-size: 13.5px; font-weight: 600;
}
.nw-search button:hover { background: #1558bd; }

/* 栏目导航条 */
.nw-catbar {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 8px 12px; margin-bottom: 16px;
}
.nw-tab {
  padding: 5px 13px; border-radius: 999px; font-size: 13.5px; color: var(--text-sub);
  display: inline-flex; align-items: center; gap: 5px; transition: .16s;
}
.nw-tab i { font-style: normal; font-size: 11px; color: var(--text-mute); }
.nw-tab:hover { color: #1e6fe8; background: var(--primary-soft); }
.nw-tab.active { background: #1e6fe8; color: #fff; font-weight: 600; }
.nw-tab.active i { color: rgba(255, 255, 255, .78); }
.nw-tab-hot { margin-left: auto; color: #dc2626; }
.nw-tab-hot:hover { color: #dc2626; background: #fef2f2; }

/* 头条区 */
/* 列宽与下方 .nw-layout 保持一致：正文 1fr + 侧栏 320px，保证「联系主编」与「热门阅读」左右对齐 */
.nw-headline { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; margin-bottom: 18px; }
.nw-lead {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 16px 12px; transition: .18s;
}
.nw-lead:hover { border-color: #bcd6ff; box-shadow: var(--shadow); }
.nw-lead-link { display: flex; gap: 18px; flex: 1; align-items: stretch; }
.nw-lead-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--border);
}
.nw-lead-more { font-size: 12.5px; color: var(--text-mute); flex: none; }
.nw-lead:hover .nw-lead-more { color: #1e6fe8; }
.nw-lead-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nw-flag {
  align-self: flex-start; font-style: normal; font-size: 11.5px; font-weight: 700;
  color: #fff; background: linear-gradient(120deg, #1e6fe8, #55a4ff);
  padding: 2px 10px; border-radius: 6px; letter-spacing: .5px;
}
.nw-lead-body h2 { font-size: 19px; line-height: 1.45; }
.nw-lead:hover .nw-lead-body h2 { color: #1e6fe8; }
.nw-lead-body > p { margin: 0; font-size: 13px; color: var(--text-sub); line-height: 1.8; }

/* 联系主编（头条区右栏，固定格式） */
.nw-contact {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px 16px; display: flex; flex-direction: column;
}
.nw-contact-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--border);
}
.nw-contact-head b { font-size: 14.5px; position: relative; padding-left: 11px; }
.nw-contact-head b::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 3px; height: 14px;
  border-radius: 2px; background: #1e6fe8;
}
.nw-contact-tag { font-size: 11.5px; color: var(--text-mute); }
.nw-qr {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 9px; padding: 16px; border-radius: 10px; background: var(--bg-soft);
}
.nw-qr img {
  width: 134px; height: 134px; object-fit: contain; display: block;
  background: #fff; border-radius: 8px; padding: 6px; box-shadow: 0 1px 3px rgba(16, 42, 82, .08);
}
.nw-qr-ph {
  width: 134px; height: 134px; border-radius: 8px; border: 1px dashed #b9c7db; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  font-size: 12.5px; color: var(--text-mute); text-align: center;
}
.nw-qr-ph em { font-style: normal; font-size: 11px; color: #aab7c8; }
.nw-qr-tip { font-size: 12px; color: var(--text-mute); }
.nw-contact-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.nw-contact-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 11px;
  border-radius: 8px; background: var(--primary-soft); font-size: 12.5px;
}
.nw-contact-row i { font-style: normal; flex: none; color: #4b7fce; }
.nw-contact-row b { color: var(--primary); font-weight: 700; word-break: break-all; letter-spacing: .2px; }

/* 列表 */
.nw-layout, .nw-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.nw-main-col { min-width: 0; }
.nw-detail-layout .nw-side { position: sticky; top: calc(var(--header-h) + 16px); }
.nw-detail-layout .card-block { margin-bottom: 0; }
.nw-detail-layout .card-block h2 { border-left-color: #1e6fe8; }
.nw-result { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--text-mute); margin-bottom: 10px; }
.nw-result b { color: #1e6fe8; }
.nw-kw { color: #1e6fe8; }
.nw-list { display: flex; flex-direction: column; gap: 12px; }
.nw-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: .18s; }
.nw-item:hover { border-color: #bcd6ff; box-shadow: var(--shadow); }
.nw-item-link { display: flex; gap: 16px; padding: 14px 16px 8px; }
.nw-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.nw-item-body h3 { font-size: 15.5px; line-height: 1.5; }
.nw-item:hover .nw-item-body h3 { color: #1e6fe8; }
.nw-pin { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; background: #dc2626; padding: 1px 6px; border-radius: 5px; margin-right: 6px; vertical-align: 1px; }
.nw-item-body > p { margin: 0; font-size: 13px; color: var(--text-sub); line-height: 1.75; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nw-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 16px 13px; }
.nw-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.nw-tag {
  font-size: 11.5px; padding: 1px 8px; border-radius: 6px;
  background: var(--primary-soft); color: var(--primary);
}
.nw-tag:hover { background: #1e6fe8; color: #fff; }

/* 缩略图 / 占位块 */
.nw-thumb { flex: none; width: 186px; height: 118px; border-radius: 10px; overflow: hidden; display: block; position: relative; background: var(--bg-soft); }
.nw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 头条缩略图：宽度固定，高度随卡片（与「联系主编」栏同高）自动拉伸 */
.nw-thumb-lead { width: 300px; height: auto; min-height: 196px; align-self: stretch; border-radius: 12px; }
.nw-thumb-sm { width: 104px; height: 68px; border-radius: 8px; }
.nw-ph {
  background: linear-gradient(135deg, var(--pc, #1e6fe8) 0%, #102a52 100%);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 10px;
}
.nw-ph i { font-style: normal; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .5px; }
.nw-ph em { font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .7); letter-spacing: .3px; }
.nw-ph::after {
  content: ''; position: absolute; right: -18px; top: -18px; width: 92px; height: 92px;
  border-radius: 50%; background: rgba(255, 255, 255, .1);
}

/* 元信息 */
.nw-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--text-mute); }
.nw-cat { color: #1e6fe8; font-weight: 600; }
.nw-views { color: var(--text-mute); }

/* 侧栏 */
.nw-side { display: flex; flex-direction: column; gap: 14px; }
.nw-rank { display: flex; flex-direction: column; }
.nw-rank-item { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.nw-rank-item:last-child { border-bottom: 0; }
.nw-rank-num {
  flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--bg-soft);
  color: var(--text-mute); font-size: 11.5px; font-weight: 700; line-height: 20px; text-align: center;
}
.nw-rank-num.top { background: linear-gradient(120deg, #1e6fe8, #55a4ff); color: #fff; }
.nw-rank-title { flex: 1; font-size: 13px; color: var(--text-sub); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nw-rank-item:hover .nw-rank-title { color: #1e6fe8; }
.nw-rank-v { flex: none; font-size: 11.5px; color: var(--text-mute); }
.nw-mini-list { display: flex; flex-direction: column; }
.nw-mini { display: flex; flex-direction: column; gap: 2px; padding: 7px 0; border-bottom: 1px dashed var(--border); }
.nw-mini:last-child { border-bottom: 0; }
.nw-mini-t { font-size: 13px; color: var(--text-sub); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nw-mini:hover .nw-mini-t { color: #1e6fe8; }
.nw-mini-m { font-size: 11.5px; color: var(--text-mute); }
.nw-cta .nw-mail {
  margin: 2px 0 0; padding: 9px 12px; border-radius: 8px;
  background: var(--primary-soft); color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: .3px; line-height: 1.6; word-break: break-all;
}

/* 详情页 */
.nw-article {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 32px 22px; margin-bottom: 18px;
}
.nw-article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.nw-status { font-style: normal; font-size: 11.5px; padding: 2px 9px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); }
.nw-status-hl { background: linear-gradient(120deg, #1e6fe8, #55a4ff); color: #fff; }
.nw-status-top { background: #fef2f2; color: #dc2626; }
.nw-article-head h1 { font-size: 25px; line-height: 1.45; }
.nw-article-sum {
  margin: 12px 0 0; padding: 10px 14px; font-size: 13.5px; color: var(--text-sub); line-height: 1.85;
  background: var(--bg-soft); border-left: 3px solid #1e6fe8; border-radius: 0 8px 8px 0;
}
.nw-article-meta {
  display: flex; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-mute);
}
.nw-article-cover { margin: 18px 0 0; border-radius: var(--radius-sm); overflow: hidden; }
.nw-article-cover img { width: 100%; display: block; }
.nw-article-body { margin-top: 18px; }
.nw-article-body p { margin: 12px 0; font-size: 15px; color: var(--text-sub); line-height: 2.05; }
.nw-article-body h3 { font-size: 16px; margin: 22px 0 8px; padding-left: 11px; border-left: 3px solid #1e6fe8; }
.nw-article-body h4 { font-size: 14.5px; margin: 16px 0 6px; }
.nw-article-body ul { margin: 10px 0; }
.nw-article-body li { font-size: 14.5px; color: var(--text-sub); line-height: 2; padding-left: 17px; position: relative; }
.nw-article-body li::before { content: ''; position: absolute; left: 3px; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: #9dc4f8; }
.nw-article-body img { max-width: 100%; border-radius: var(--radius-sm); }
.nw-article-body blockquote {
  margin: 14px 0; padding: 10px 16px; background: var(--bg-soft);
  border-left: 3px solid var(--primary); border-radius: 0 8px 8px 0; font-size: 14px; color: var(--text-sub);
}
.nw-source-link { font-size: 12.5px; color: var(--text-mute); word-break: break-all; margin: 16px 0 0; }
.nw-detail-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.nw-detail-tags b { font-size: 13px; color: var(--text-sub); font-weight: 600; }
.nw-article-note {
  margin-top: 18px; padding: 10px 14px; background: var(--bg-soft); border-radius: 8px;
  font-size: 12px; color: var(--text-mute); line-height: 1.8;
}
.nw-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--border); }
.nw-pn { display: flex; flex-direction: column; gap: 4px; padding: 10px 14px; background: var(--bg-soft); border-radius: 10px; font-size: 13px; }
.nw-pn i { font-style: normal; font-size: 11.5px; color: var(--text-mute); }
.nw-pn span { color: var(--text-sub); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nw-pn:hover span { color: #1e6fe8; }
.nw-pn.disabled { opacity: .6; }
.nw-rel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nw-rel-item { display: flex; gap: 11px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; transition: .16s; }
.nw-rel-item:hover { border-color: #bcd6ff; background: var(--bg-soft); }
.nw-rel-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nw-rel-t { font-size: 13px; color: var(--text); line-height: 1.55; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nw-rel-item:hover .nw-rel-t { color: #1e6fe8; }
.nw-rel-m { font-size: 11.5px; color: var(--text-mute); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .layout-2col { grid-template-columns: 1fr; }
  .col-side { position: static; }
  .ev-layout, .ev-detail-layout { grid-template-columns: 1fr; }
  .ev-sticky { position: static; }
  .nw-layout, .nw-detail-layout, .nw-headline { grid-template-columns: 1fr; }
  .nw-detail-layout .nw-side { position: static; }
  .nw-detail-layout .card-block { margin-bottom: 18px; }
  .foot-inner { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .nav.open {
    display: flex; position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--card);
    border-bottom: 1px solid var(--border); padding: 10px 16px; gap: 2px; box-shadow: var(--shadow);
  }
  .header-search { width: 180px; }
}
@media (max-width: 760px) {
  .hero { padding: 32px 18px 28px; border-radius: 16px; }
  .hero h1 { font-size: 25px; }
  .hero-search { flex-wrap: wrap; padding: 10px; }
  .hero-search input { height: 34px; }
  .hero-search button { width: 100%; height: 38px; }
  .header-search { display: none; }
  .nav-toggle { display: flex; }
  .site-grid { grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); }
  .cat-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .foot-inner { grid-template-columns: 1fr; }
  .rank-cat, .rank-num { display: none; }
  .brand-text i { display: none; }
  .block { padding: 16px 15px 18px; }
  .page-main { padding: 16px 14px 23px; }
  .wrap { padding: 0 14px; }
  .float-bar { right: 12px; bottom: 16px; }
  .ev-hero { padding: 20px 18px; }
  .ev-hero-text h1 { font-size: 22px; }
  .ev-search { min-width: 0; width: 100%; }
  .ev-card { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .ev-date { width: 62px; }
  .ev-date b { font-size: 19px; }
  .ev-act { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .ev-info-l { width: 64px; }
  .ev-detail-title h1 { font-size: 19px; }
  .nw-hero { padding: 20px 18px; }
  .nw-hero-text h1 { font-size: 22px; }
  .nw-search { min-width: 0; width: 100%; }
  .nw-lead { padding: 14px; }
  .nw-lead-link { flex-direction: column; gap: 12px; }
  .nw-thumb-lead, .nw-thumb { width: 100%; height: 168px; }
  .nw-thumb-sm { width: 92px; height: 62px; }
  .nw-item-link { flex-direction: column; gap: 12px; padding: 13px 14px; }
  .nw-item-body h3 { font-size: 15px; }
  .nw-rel { grid-template-columns: 1fr; }
  .nw-prevnext { grid-template-columns: 1fr; }
  .nw-article { padding: 18px 16px 16px; }
  .nw-article-head h1 { font-size: 20px; }
  .nw-article-body p { font-size: 14.5px; }
  .nw-tab-hot { margin-left: 0; }
}


/* =========================================================
   风电板块行情 /stocks
   ========================================================= */
:root {
  --st-up: #d92f2f;
  --st-up-soft: #fdecec;
  --st-down: #0a9c48;
  --st-down-soft: #e8f7ee;
}
html[data-theme="dark"] {
  --st-up: #ff6b6b;
  --st-up-soft: rgba(255, 107, 107, .12);
  --st-down: #37c877;
  --st-down-soft: rgba(55, 200, 119, .12);
}

.st-head { margin: 0 0 16px; }
.st-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 172px;
  border-radius: var(--radius);
  background: linear-gradient(118deg, #0a2f6b 0%, #1554c0 46%, #0f9d8f 100%);
  color: #fff;
  padding: 30px 34px;
  box-shadow: 0 12px 28px rgba(11, 47, 107, .22);
}
.st-hero::after {
  content: ''; position: absolute; left: -60px; top: -80px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 68%);
  pointer-events: none;
}
.st-hero-txt { position: relative; z-index: 1; max-width: 72%; }
.st-hero h1 {
  margin: 0 0 8px; font-size: 28px; color: #fff; letter-spacing: .5px;
  display: flex; align-items: center; gap: 12px;
}
.st-hero-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px; font-size: 24px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.st-hero .page-sub { margin: 0; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.6; }
.st-hero-art {
  position: absolute; right: 0; top: 0; bottom: 0; width: 46%;
  display: flex; align-items: flex-end; justify-content: flex-end;
  pointer-events: none; opacity: .6;
}
.st-hero-art svg { width: 100%; height: 100%; }
.st-blade { animation: stSpin 16s linear infinite; transform-box: fill-box; transform-origin: center; }
.st-blade-slow { animation-duration: 24s; }
@keyframes stSpin { to { transform: rotate(360deg); } }
html[data-theme="dark"] .st-hero {
  background: linear-gradient(118deg, #071f47 0%, #0d3a8a 46%, #0a6e64 100%);
  box-shadow: none;
}
html[data-theme="dark"] .st-hero h1 { color: #f2f6ff; }

.st-overview {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 20px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.st-stat { display: flex; align-items: baseline; gap: 8px; }
.st-stat .st-k { font-size: 12.5px; color: var(--text-sub); }
.st-stat .st-v { font-size: 15px; font-weight: 700; }
.st-stat.st-right { margin-left: auto; }
.st-stat .st-time { font-weight: 600; color: var(--text-sub); font-size: 13px; }
.st-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--bg-soft); color: var(--text-sub); }
.st-badge.st-live { background: var(--st-up-soft); color: var(--st-up); animation: stPulse 2s ease-in-out infinite; }
@keyframes stPulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }
.st-refresh {
  border: 1px solid var(--border-strong); background: var(--card); color: var(--primary);
  border-radius: 8px; padding: 4px 12px; font-size: 13px; cursor: pointer; margin-left: 4px;
}
.st-refresh:hover { background: var(--primary-soft); }

.st-group { margin-bottom: 20px; }
.st-group-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 8px; }
.st-group-head h2 { margin: 0; font-size: 17px; }
.st-group-stat { font-size: 12.5px; color: var(--text-mute); }

.st-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
/* 卡片内的滚动区不重复描边（卡片本身已有边框与投影） */
.st-card .st-scroll { border: 0; box-shadow: none; border-radius: 0; background: transparent; }
.st-table { width: 100%; border-collapse: collapse; min-width: 960px; font-size: 13.5px; }
.st-table thead th {
  position: sticky; top: 0; text-align: right; white-space: nowrap;
  padding: 10px 12px; background: var(--bg-soft); color: var(--text-sub);
  font-size: 12.5px; font-weight: 600; border-bottom: 1px solid var(--border); user-select: none;
}
.st-table thead th:nth-child(1), .st-table thead th:nth-child(2) { text-align: left; }
.st-table thead th:nth-child(3) { text-align: center; }
.st-table thead th.st-sortable { cursor: pointer; }
.st-table thead th.st-sortable:hover { color: var(--primary); }
.st-arrow { font-style: normal; font-size: 10px; margin-left: 2px; opacity: .35; }
.st-arrow.on { opacity: 1; color: var(--primary); }
.st-table tbody td { padding: 9px 12px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.st-table tbody tr:last-child td { border-bottom: 0; }
.st-table tbody tr:hover { background: var(--bg-soft); }
.st-table td.num { font-variant-numeric: tabular-nums; }
.st-table td.st-idx { text-align: left; color: var(--text-mute); width: 34px; }
.st-table td.st-name { text-align: left; }
.st-table td.st-name b { font-size: 13.5px; }
.st-table td.st-code { text-align: center; color: var(--text-mute); font-size: 12.5px; }
.st-table td.st-price b { font-size: 14px; }
.st-table td.st-pct { font-weight: 700; }
.st-loading td { text-align: center; color: var(--text-mute); padding: 22px; }
.st-err { color: var(--warn); }

.st-up { color: var(--st-up); }
.st-down { color: var(--st-down); }
.st-flat { color: var(--text-sub); }

.st-note { margin: 6px 0 15px; font-size: 12.5px; color: var(--text-mute); line-height: 1.7; }

/* 导航「风电行情」彩点（A 股惯例：红涨） */
.nav-item.nav-stocks { color: #d92f2f; font-weight: 700; }
.nav-item.nav-stocks:hover { color: #b31f1f; }
.nav-item.nav-stocks .nav-stocks-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: #d92f2f; margin-right: 6px; vertical-align: 1px;
  box-shadow: 0 0 0 3px rgba(217, 47, 47, .14);
}
html[data-theme="dark"] .nav-item.nav-stocks { color: #ff6b6b; }
html[data-theme="dark"] .nav-item.nav-stocks .nav-stocks-dot { background: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .16); }

@media (max-width: 720px) {
  .st-head { margin: 0 0 12px; }
  .st-hero { padding: 20px 20px; min-height: 0; }
  .st-hero h1 { font-size: 21px; gap: 9px; }
  .st-hero-ico { width: 36px; height: 36px; font-size: 19px; border-radius: 10px; }
  .st-hero-txt { max-width: 100%; }
  .st-hero-art { opacity: .28; width: 58%; }
  .st-overview { padding: 12px 14px; gap: 8px 18px; }
  .st-stat.st-right { margin-left: 0; }
  .st-table { min-width: 860px; font-size: 12.5px; }
  /* 手机端：滚动区加细滚动条提示，并整体负边距让表格更宽好读 */
  .st-scroll { position: relative; }
}
/* 横向可滚动区域的滚动条美化（移动端更易察觉可滑动） */
.st-scroll::-webkit-scrollbar { height: 8px; }
.st-scroll::-webkit-scrollbar-track { background: transparent; }
.st-scroll::-webkit-scrollbar-thumb { background: rgba(128, 138, 157, .38); border-radius: 4px; }
.st-scroll::-webkit-scrollbar-thumb:hover { background: rgba(128, 138, 157, .6); }
html[data-theme="dark"] .st-scroll::-webkit-scrollbar-thumb { background: rgba(200, 210, 225, .3); }
/* ---------------- 板块三卡（指数 / 资金流 / 排行） ---------------- */
.st-cards { display: grid; grid-template-columns: 1.15fr 1.15fr 1fr; gap: 14px; margin-bottom: 18px; }
.st-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 12px 14px; min-width: 0;
  display: flex; flex-direction: column;
}
.st-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.st-card-title { font-size: 13.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.st-card-val { font-size: 12.5px; white-space: nowrap; }
.st-chart { flex: 1 1 auto; min-height: 150px; height: auto; }
.st-chart-loading { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--text-mute); font-size: 12.5px; }
.st-svg { width: 100%; height: 100%; display: block; }

.st-rank-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.st-rank-table thead th { text-align: right; color: var(--text-sub); font-weight: 600; font-size: 11.5px; padding: 4px 6px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.st-rank-table thead th.ta-l { text-align: left; }
.st-rank-table tbody td { padding: 6.5px 6px; text-align: right; border-bottom: 1px solid var(--border); white-space: nowrap; }
.st-rank-table tbody tr:last-child td { border-bottom: 0; }
.st-rank-table tbody tr:hover { background: var(--bg-soft); }
.st-rank-table td.ta-l { text-align: left; }
.st-rank-idx { color: var(--text-mute); width: 30px; }
.st-rank-idx.top1, .st-rank-idx.top2, .st-rank-idx.top3 { font-weight: 700; }
.st-rank-idx.top1 { color: #d92f2f; }
.st-rank-idx.top2 { color: #e07817; }
.st-rank-idx.top3 { color: #b8860b; }
.st-rank-loading { text-align: center; color: var(--text-mute); padding: 18px; }

@media (max-width: 1000px) { .st-cards { grid-template-columns: 1fr 1fr; } .st-cards .st-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .st-cards { grid-template-columns: 1fr; } .st-cards .st-card:last-child { grid-column: auto; } }
