/* 能源财经网首页 — 高保真 UI */
:root {
  --home-page-w: 1240px;
  --blue: #1a6fd4;
  --blue-dark: #0d4a8f;
  --blue-nav: #1a73e8;
  --teal-bar: #0c3d5c;
  --green: #00b37a;
  --green-tag: #16c784;
  --up: #16c784;
  --down: #ea3943;
  --text: #333;
  --text-strong: #111;
  --text-muted: #888;
  --bg: #eef1f5;
  --card: #fff;
  --line: #e8ecf0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(15, 35, 60, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
ul, ol { list-style: none; }

body.home-page {
  font-family: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  min-width: var(--home-page-w);
}
body.home-page a { text-decoration: none; color: inherit; }
body.home-page img { display: block; max-width: 100%; }

.home-wrap {
  width: var(--home-page-w);
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ========== 顶栏行情 ========== */
.home-ticker {
  background: var(--teal-bar);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}
.home-ticker-inner {
  width: var(--home-page-w);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.home-ticker-label {
  flex-shrink: 0;
  font-weight: 600;
  color: #7dd3fc;
  padding-right: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.home-ticker-scroll {
  flex: 1;
  overflow: hidden;
}
.home-ticker-track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 45s linear infinite;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.home-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home-ticker-item .name { opacity: 0.9; }
.home-ticker-item .val { font-weight: 600; }
.home-ticker-item.up .chg { color: #69db7c; }
.home-ticker-item.down .chg { color: #ff8787; }
.home-ticker-utils {
  flex-shrink: 0;
  display: flex;
  gap: 16px;
  font-size: 12px;
}
.home-ticker-utils a { color: rgba(255, 255, 255, 0.85); }
.home-ticker-utils a:hover { color: #fff; }
.home-ticker-utils .home-quote-disclaimer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}

/* 行情数据免责提示 */
.home-quote-disclaimer {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-muted);
  text-align: center;
}
.home-panel > .home-quote-disclaimer {
  padding: 8px 16px 12px;
  border-top: 1px solid var(--line);
}
.home-index-box > .home-quote-disclaimer {
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

/* ========== Logo + 广告条 ========== */
.home-top {
  background: var(--card);
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.home-top .home-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
}
.home-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.home-logo img { height: 38px; width: auto; }
.home-promo-ad {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}
.home-promo-ad img {
  width: 900px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* ========== 导航 + 搜索（居中胶囊，悬停/当前项底蓝线） ========== */
.home-nav-bar {
  background: transparent;
  padding: 14px 16px 18px;
  position: sticky;
  top: 0;
  z-index: 200;
}
.home-nav-shell {
  width: var(--home-page-w);
  max-width: 100%;
  margin: 0 auto;
  min-height: 52px;
  padding: 6px 10px 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(15, 35, 60, 0.08);
  border: 1px solid rgba(230, 235, 240, 0.9);
}
.home-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 6px;
  flex: 1;
  min-width: 0;
}
.home-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px 14px;
  font-size: 15px;
  color: #4a5568;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.home-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--blue-nav);
  transform: translateX(-50%);
  transition: width 0.2s ease;
}
.home-nav a:hover,
.home-nav a.is-active {
  color: var(--blue-nav);
  font-weight: 600;
  background: transparent;
}
.home-nav a:hover::after,
.home-nav a.is-active::after {
  width: 22px;
}
.home-nav a.home-nav-nolink,
.home-nav a.home-nav-nolink:hover {
  color: #4a5568;
  font-weight: 400;
  cursor: default;
  pointer-events: none;
}
.home-nav a.home-nav-nolink::after,
.home-nav a.home-nav-nolink:hover::after {
  width: 0;
}
.home-search {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}
.home-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px 0 14px;
  margin: 0;
  min-width: 0;
}
.home-search-field i {
  color: #94a3b8;
  font-size: 14px;
  flex-shrink: 0;
}
.home-search input {
  border: 0;
  outline: none;
  width: 168px;
  font-size: 13px;
  background: transparent;
  color: var(--text);
}
.home-search input::placeholder { color: #9aa5b1; }
.home-search button {
  border: 0;
  background: var(--blue-nav);
  color: #fff;
  padding: 0 22px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 600;
  flex-shrink: 0;
}
.home-search button:hover { background: var(--blue-dark); }
.home-nav-toggle { display: none; }

/* ========== 主体三栏 ========== */
.home-main { padding: 20px 0 32px; }
.home-layout {
  --home-col-gap: 16px;
  /* 左右栏固定约 250px，中间占剩余宽度 */
  --home-side-w: 250px;
  display: grid;
  grid-template-columns: var(--home-side-w) minmax(0, 1fr) var(--home-side-w);
  gap: var(--home-col-gap);
  align-items: start;
}
.home-col-left,
.home-col-center,
.home-col-right {
  min-width: 0;
  max-width: 100%;
}

.home-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.home-panel-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-panel-title::before {
  content: "";
  width: 4px;
  height: 18px;
  background: var(--blue-nav);
  border-radius: 2px;
}
.home-panel-more {
  font-size: 13px;
  color: var(--text-muted);
}
.home-panel-more:hover { color: var(--blue-nav); }

/* 高端访谈（栏目 44） */
.home-panel-expert {
  border-radius: 16px;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 10px rgba(15, 35, 60, 0.05);
}
.home-panel-expert .home-panel-head {
  border-bottom: none;
  padding: 12px 10px 6px;
}
.home-panel-expert .home-panel-title::before {
  display: none;
}
.home-panel-expert .home-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.home-panel-expert .home-panel-more {
  font-size: 12px;
  color: #999;
}
.home-expert-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 10px 14px;
}
.home-expert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  transition: opacity 0.15s;
}
.home-expert-item:hover {
  opacity: 0.88;
}
.home-expert-thumb {
  width: 64px;
  height: 48px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 8px;
  background-color: #d4e4f2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.home-expert-thumb.no-thumbnail {
  background-image: linear-gradient(160deg, #e8f2fa 0%, #b8d4ea 55%, #8fb8d8 100%);
}
.home-expert-thumb.yes-thumbnail {
  background-color: #d4e4f2;
}
.home-expert-text {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #111;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-expert-text strong {
  font-weight: 700;
  color: #111;
}

/* 股票数据 */
.home-rank-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.home-rank-tabs button {
  border: 0;
  background: #f0f2f5;
  color: var(--text-muted);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}
.home-rank-tabs button.is-active {
  background: var(--blue-nav);
  color: #fff;
  font-weight: 600;
}
.home-rank-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  font-size: 12px;
  border-bottom: 1px solid #f5f5f5;
}
.home-rank-row:last-child { border-bottom: 0; }
.home-rank-row:hover { background: #fafbfc; }
.home-rank-no {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #bbb;
}
.home-rank-row:nth-child(1) .home-rank-no { background: #e74c3c; }
.home-rank-row:nth-child(2) .home-rank-no { background: #f39c12; }
.home-rank-row:nth-child(3) .home-rank-no { background: #f1c40f; color: #333; }
.home-rank-name { font-weight: 600; }
.home-rank-chg.up { color: var(--up); font-weight: 600; }
.home-rank-chg.down { color: var(--down); font-weight: 600; }
.home-rank-list[hidden] { display: none; }
.home-rank-loading,
.home-rank-empty { justify-content: center; color: #999; font-size: 13px; }
.home-rank-loading span,
.home-rank-empty span { flex: 1; text-align: center; }

/* 轮播 */
.home-hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.home-hero-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}
.home-hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: block;
}
.home-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px 36px;
  color: #fff;
}
.home-hero-tag {
  align-self: flex-start;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.home-hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-hero-desc {
  font-size: 14px;
  opacity: 0.92;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-hero-meta {
  font-size: 12px;
  opacity: 0.88;
  display: flex;
  gap: 20px;
}
.home-hero-meta i { margin-right: 4px; }
.home-hero-special {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  z-index: 3;
}
.home-hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.home-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}
.home-hero-dot.is-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

/* 焦点聚焦 */
.home-focus-panel {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.home-focus-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 14px;
  min-height: 32px;
}
.home-focus-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-strong);
  flex-shrink: 0;
  margin: 0;
  line-height: 1.2;
}
.home-focus-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-focus-tabs::-webkit-scrollbar {
  display: none;
}
.home-focus-tabs button {
  border: 0;
  background: #f0f2f5;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 11px;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-focus-tabs button.is-active {
  background: var(--blue-nav);
  color: #fff;
  font-weight: 600;
}
.home-focus-panels {
  min-height: 200px;
}
.home-focus-panel-item[hidden] {
  display: none;
}
.home-focus-status {
  text-align: center;
  padding: 8px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  min-height: 16px;
}
.home-focus-list {
  display: flex;
  flex-direction: column;
}
/* 焦点列表内每 5 篇（第 5 篇后为专题）后插入横幅广告 */
.home-focus-ad {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 12px 0 16px;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}
.home-focus-ad img {
  width: 100%;
  height: auto;
  display: block;
}
.home-focus-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.home-focus-row:first-child {
  padding-top: 4px;
}
.home-focus-row:last-child {
  border-bottom: 0;
}
.home-focus-row:hover {
  background: #f8fafc;
}
.home-focus-row:hover .home-focus-row-title {
  color: var(--blue-nav);
}
.home-focus-row.no-thumbnail .home-focus-row-thumb {
  display: none;
}
.home-focus-row-thumb {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #e8eaed;
}
.home-focus-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-focus-row-tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0 0 6px 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-focus-row-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
}
.home-focus-row-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-focus-row-desc:empty {
  display: none;
}
.home-focus-row-tag:empty {
  display: none;
}
.home-focus-row-desc {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-focus-row-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #999;
  margin-top: auto;
}
.home-focus-row-topic em {
  font-style: normal;
  color: var(--blue-nav);
}
.home-focus-row-time {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* 专题推荐（硬编码，插入第 5 篇后） */
.home-focus-special {
  margin: 8px 0 20px;
  padding: 0 0 4px;
  border-bottom: 1px solid #eee;
}
.home-focus-special-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.home-focus-special-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}
.home-focus-special-more {
  font-size: 13px;
  color: #999;
  text-decoration: none;
}
.home-focus-special-more:hover {
  color: var(--blue-nav);
}
.home-focus-special-grid {
  --home-special-gap: 12px;
  --home-special-visible: 3;
  display: flex;
  gap: var(--home-special-gap);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #c5cdd6 transparent;
}
.home-focus-special-grid::-webkit-scrollbar {
  height: 6px;
}
.home-focus-special-grid::-webkit-scrollbar-thumb {
  background: #c5cdd6;
  border-radius: 3px;
}
.home-focus-special-card {
  flex: 0 0 calc(
    (100% - (var(--home-special-visible) - 1) * var(--home-special-gap)) / var(--home-special-visible)
  );
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f6f8;
  transition: box-shadow 0.2s, transform 0.2s;
}
.home-focus-special-card:hover {
  box-shadow: 0 6px 20px rgba(15, 35, 60, 0.1);
  transform: translateY(-2px);
}
.home-focus-special-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.home-focus-special-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-focus-special-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}
.home-focus-special-cover-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 10px 12px;
  width: 100%;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* 最新文章（时间轴） */
.home-panel-flash {
  padding-bottom: 4px;
}
.home-flash-head {
  padding: 14px 16px 10px;
}
.home-flash-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.home-flash-mark {
  color: #5eb3ff;
  font-weight: 700;
  margin-right: 6px;
  letter-spacing: -1px;
}
.home-flash-timeline {
  list-style: none;
  margin: 0;
  padding: 2px 16px 4px 30px;
  position: relative;
}
.home-flash-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 10px;
  width: 1px;
  background: #e6eaef;
}
.home-flash-item {
  position: relative;
  padding: 0 0 18px 14px;
}
.home-flash-item::before {
  content: "";
  position: absolute;
  left: -18px;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #5eb3ff;
  background: #fff;
  box-sizing: border-box;
  z-index: 1;
}
.home-flash-item:last-child {
  padding-bottom: 6px;
}
.home-flash-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.home-flash-item a:hover .home-flash-item-title {
  color: var(--blue-nav);
}
.home-flash-item-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-flash-item-time {
  font-size: 12px;
  color: #999;
}
.home-flash-more {
  display: block;
  margin: 6px 16px 16px;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  color: var(--blue-nav);
  border: 1px solid var(--blue-nav);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.15s;
}
.home-flash-more:hover {
  background: rgba(26, 115, 232, 0.06);
}

/* 侧栏广告（左栏新能源指数上方 / 右栏顶部） */
.home-sidebar-ad {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow);
  background: var(--card);
}
.home-sidebar-ad img {
  width: 100%;
  height: auto;
  display: block;
}

/* 今日推荐 */
.home-rec-video {
  display: block;
  position: relative;
  margin: 0 16px 10px;
  border-radius: 8px;
  overflow: hidden;
}
.home-rec-video-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1e3a5f, #1a6fd4);
}
.home-rec-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
}
.home-rec-video-play .fa-play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-nav);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding-left: 3px;
  line-height: 48px;
}
.home-rec-live {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
}
.home-rec-video-title {
  padding: 0 16px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-strong);
}
.home-rec-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.home-rec-item:last-child { border-bottom: 0; }
.home-rec-item:hover { background: #f8fafc; }
.home-rec-item .bolt {
  color: var(--green);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.home-rec-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-strong);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.home-rec-item-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 14px;
}

/* 新能源指数（左侧栏） */
.home-panel-index {
  border-radius: 16px;
  border: 1px solid #e8eaed;
  box-shadow: 0 2px 10px rgba(15, 35, 60, 0.05);
}
.home-panel-index .home-panel-head {
  border-bottom: none;
  padding: 12px 10px 6px;
}
.home-panel-index .home-panel-title::before {
  display: none;
}
.home-panel-index .home-panel-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
}
.home-col-left .home-index-box { padding: 4px 10px 12px; }
.home-col-left .home-index-val { font-size: 22px; }
.home-col-left .home-index-chg { font-size: 12px; }
.home-col-left .home-index-chart { height: 64px; margin-bottom: 10px; }
.home-col-left .home-index-stats { gap: 6px; padding-top: 8px; }
.home-col-left .home-index-stats dd { font-size: 12px; }

.home-index-box { padding: 16px; }
.home-index-code { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.home-index-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.home-index-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.5px;
}
.home-index-val.up { color: var(--up); }
.home-index-val.down { color: var(--down); }
.home-index-chg { font-size: 15px; font-weight: 600; color: var(--text-muted); }
.home-index-chg.up { color: var(--up); }
.home-index-chg.down { color: var(--down); }
.home-index-chart {
  width: 100%;
  height: 80px;
  margin-bottom: 14px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(22, 199, 132, 0.08) 0%, transparent 100%);
}
.home-index-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.home-index-stats div { text-align: center; }
.home-index-stats dt { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.home-index-stats dd { font-size: 14px; font-weight: 700; color: var(--text-strong); }

/* 页脚 */
.home-footer {
  background: #1a2332;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}
.home-footer-inner {
  width: var(--home-page-w);
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 16px 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 28px;
}
.home-footer-brand img { height: 40px; margin-bottom: 12px; filter: brightness(1.1); }
.home-footer-brand p { font-size: 13px; line-height: 1.7; max-width: 280px; }
.home-footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  font-weight: 600;
}
.home-footer-col a {
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
}
.home-footer-col a:hover { color: var(--green); }
.home-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 992px) {
  body.home-page { min-width: 0; }
  /* 窄屏：左+中保持 1:2，右侧通栏 */
  .home-layout {
    --home-side-w: min(250px, 34vw);
    grid-template-columns: var(--home-side-w) minmax(0, 1fr);
  }
  .home-col-right {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .home-col-right .home-panel { margin-bottom: 0; }
}

@media (max-width: 768px) {
  .home-layout { grid-template-columns: 1fr; }
  .home-col-right { grid-template-columns: 1fr; }
  .home-focus-row {
    flex-direction: column;
    gap: 10px;
  }
  .home-focus-row-thumb {
    flex: none;
    width: 100%;
  }
  .home-focus-row.no-thumbnail {
    gap: 0;
  }
  .home-focus-special-grid {
    --home-special-visible: 1;
  }
  .home-footer-inner { grid-template-columns: 1fr; }
  .home-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    background: var(--blue-nav);
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
  }
  .home-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    flex-direction: column;
    padding: 12px;
    box-shadow: var(--shadow);
  }
  html.home-nav-open .home-nav { display: flex; }
  .home-nav-shell {
    flex-wrap: wrap;
    position: relative;
    border-radius: 16px;
    padding: 10px 12px;
  }
  .home-search { width: 100%; }
  .home-search input { width: 100%; flex: 1; }
}
