/* 铅笔道情报 · L1 Hub（门户式，内容充实） */
.intel-hub-page {
  padding-bottom: 64px;
}

/* —— 顶部数据带 —— */
.hub-hero-band {
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(232, 200, 32, 0.07) 0%, transparent 42%),
    linear-gradient(135deg, rgba(126, 200, 232, 0.05) 55%, transparent 80%),
    rgba(8, 8, 14, 0.6);
}
.hub-hero-band__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.hub-hero-band__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(232, 200, 32, 0.72);
}
.hub-hero-band__title {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.hub-hero-band__sub {
  margin: 10px 0 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.hub-hero-band__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 10px;
  flex: 1;
  min-width: 280px;
  max-width: 520px;
}
.hub-stat-tile {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hub-stat-tile--gold { border-color: rgba(232, 200, 32, 0.22); }
.hub-stat-tile--stock { border-color: rgba(126, 200, 232, 0.22); }
.hub-stat-tile__k {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.hub-stat-tile__v {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.hub-stat-tile--gold .hub-stat-tile__v { color: #f0d878; }
.hub-stat-tile--stock .hub-stat-tile__v { color: #9ed4f0; }
.hub-hero-band__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hub-hero-tag {
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* —— 主布局：左右双栏信息流 —— */
.hub-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 24px;
  align-items: stretch;
}
.hub-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
  align-items: stretch;
}
@media (min-width: 900px) {
  .hub-main {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

/* —— 产品线信息流区块 —— */
.hub-feed {
  --feed-accent: #e8c820;
  --feed-soft: rgba(232, 200, 32, 0.1);
  --feed-border: rgba(232, 200, 32, 0.28);
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, var(--feed-soft) 0%, rgba(14, 14, 24, 0.98) 28%, rgba(10, 10, 18, 1) 100%);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.hub-feed__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 4px solid var(--feed-accent);
}
.hub-feed__brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.hub-feed__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--feed-accent);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--feed-border);
}
.hub-feed__icon svg { width: 20px; height: 20px; }
.hub-feed__name {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--feed-accent);
  line-height: 1.25;
}
.hub-feed__tagline {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.52);
}
.hub-feed__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.hub-feed__pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--feed-accent);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--feed-border);
}
.hub-feed__more {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  color: var(--feed-accent);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--feed-border);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.hub-feed__more:hover {
  color: #111;
  background: var(--feed-accent);
  border-color: transparent;
}
.hub-feed__more--static {
  cursor: default;
  opacity: 0.72;
}
.hub-feed__more--static:hover {
  color: var(--feed-accent);
  background: rgba(0, 0, 0, 0.22);
  border-color: var(--feed-border);
}
#stock-intel { scroll-margin-top: 72px; }
.hub-feed__list {
  flex: 1;
  padding: 4px 10px 10px;
  min-height: 200px;
}
@media (min-width: 900px) {
  .hub-feed__header {
    flex-direction: column;
    align-items: stretch;
  }
  .hub-feed__more {
    width: auto;
    align-self: flex-start;
  }
}
.hub-feed-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.hub-feed-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}
.hub-feed-item + .hub-feed-item {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.hub-feed-item:hover + .hub-feed-item,
.hub-feed-item + .hub-feed-item:hover {
  border-top-color: transparent;
}
.hub-feed-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.28);
  min-width: 26px;
  padding-top: 3px;
}
.hub-feed-body { flex: 1; min-width: 0; }
.hub-feed-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.45;
  margin-bottom: 5px;
}
.hub-feed-item:hover .hub-feed-title { color: #fff; }
.hub-feed-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
}
.hub-feed-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}
.hub-feed-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--feed-accent);
  background: var(--feed-soft);
  border: 1px solid var(--feed-border);
}
.hub-feed-pill--muted {
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.hub-feed-meta--concept {
  margin-top: 2px;
  margin-bottom: 4px;
}
.hub-feed-summary {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.48);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 6px;
}
.hub-feed-summary-k {
  display: inline-block;
  margin-right: 4px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
}

/* Hub 股市栏 · 与列表页一致的映射信息 */
.hub-feed-item--stock .hub-feed-body {
  min-width: 0;
}
.hub-feed-item--stock .hub-feed-arrow {
  align-self: flex-start;
  padding-top: 4px;
}
.hub-stock-mapping {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin: 8px 0;
  padding: 10px 11px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--feed-border, rgba(126, 200, 232, 0.18));
}
.hub-stock-map-row { min-width: 0; }
.hub-stock-map-k {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.36);
  margin-bottom: 2px;
}
.hub-stock-map-v {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 248, 255, 0.88);
  line-height: 1.4;
  word-break: break-word;
}
.hub-stock-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--feed-accent, #7ec8e8);
  margin-bottom: 6px;
}
.hub-stock-tickers {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 6px;
}
.hub-stock-ticker {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}
.hub-feed-arrow {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.2);
  padding-top: 2px;
  flex-shrink: 0;
}
.hub-feed-item:hover .hub-feed-arrow { color: var(--feed-accent); }
.hub-feed-item--locked .hub-feed-title {
  color: rgba(255, 255, 255, 0.55);
}
.hub-feed-empty {
  padding: 32px 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.nav-item--intel { color: var(--intel-opp, #e8c820); }
.nav-item--intel:hover { color: var(--intel-opp, #e8c820); filter: brightness(1.08); }
.nav-item--intel.active { color: var(--intel-opp, #e8c820); }
.nav-item .nav-badge {
  display: inline-block;
  font-size: 10px;
  background: var(--intel-opp, #e8c820);
  color: #111827;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.intel-list-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.15s;
}
.intel-list-back:hover { color: rgba(255, 255, 255, 0.78); }

@media (max-width: 820px) {
  .hub-hero-band__title { font-size: 26px; }
  .hub-hero-band__stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    width: 100%;
  }
}

/* —— 侧栏 + 主内容（可扩展栏目） —— */
.hub-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0 36px;
  align-items: start;
}
.hub-sidebar {
  position: sticky;
  top: 76px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 18, 0.94);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
}
.hub-sidebar__brand {
  display: block;
  line-height: 0;
  margin: 0 0 6px;
}
.hub-sidebar__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 101px;
  min-height: 85px;
  object-fit: contain;
  object-position: left top;
}
.hub-sidebar__eyebrow {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(232, 200, 32, 0.65);
}
.hub-sidebar__title {
  margin: 6px 0 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.hub-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.hub-nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.hub-nav-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.hub-nav-item--opp.is-active {
  border-color: rgba(232, 200, 32, 0.35);
  background: rgba(232, 200, 32, 0.08);
}
.hub-nav-item--stock.is-active {
  border-color: rgba(126, 200, 232, 0.35);
  background: rgba(126, 200, 232, 0.08);
}
.hub-nav-item__name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}
.hub-nav-item--opp.is-active .hub-nav-item__name { color: #f0d878; }
.hub-nav-item--stock.is-active .hub-nav-item__name { color: #9ed4f0; }
.hub-nav-item__desc {
  font-size: 11px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.42);
}
.hub-nav-item__count {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: rgba(255, 255, 255, 0.5);
}
.hub-sidebar__foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hub-sidebar-stat {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.hub-sidebar-stat__k {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 3px;
}
.hub-sidebar-stat__v {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hub-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hub-main__head {
  padding: 2px 2px 0;
}
.hub-main__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}
.hub-main__title--opp { color: #f0d878; }
.hub-main__title--stock { color: #9ed4f0; }
.hub-main__sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.45;
}

.hub-toolbar-wrap {
  padding-top: 0;
}
.hub-toolbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 18, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.hub-toolbar__label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.hub-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
}
.hub-search:focus-within {
  border-color: rgba(232, 200, 32, 0.35);
  box-shadow: 0 0 0 3px rgba(232, 200, 32, 0.08);
}
.hub-search__icon {
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  line-height: 1;
}
.hub-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
}
.hub-search__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.hub-search__clear {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.hub-stock-filters .hub-toolbar__label {
  margin-top: 4px;
}
.hub-stock-filters .hub-toolbar__label:first-child {
  margin-top: 0;
}
.hub-category-row {
  padding-bottom: 0 !important;
}
.hub-stock-filter-row {
  padding-bottom: 0 !important;
}
.hub-category-row .filter-chip {
  font-size: 12px;
  padding: 4px 10px;
}
.hub-list-panel {
  min-width: 0;
  padding: 10px 12px 6px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(232, 200, 32, 0.06) 0%, rgba(14, 14, 24, 0.98) 22%, rgba(10, 10, 18, 1) 100%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}
.hub-list-panel--stock {
  background: linear-gradient(165deg, rgba(126, 200, 232, 0.07) 0%, rgba(14, 14, 24, 0.98) 22%, rgba(10, 10, 18, 1) 100%);
  border-color: rgba(126, 200, 232, 0.14);
}
.hub-list-loading {
  padding: 20px 12px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.hub-list-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}
.hub-list-root {
  min-height: 120px;
}
.hub-list-pagination {
  padding: 10px 0 4px !important;
}
.hub-list-pagination .page-numbers {
  flex-wrap: wrap;
  justify-content: center;
}
.hub-stock-disclaimer {
  margin: 12px 0 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 960px) {
  .hub-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 16px;
  }
  .hub-sidebar {
    position: static;
    padding: 12px;
  }
  .hub-sidebar__nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }
  .hub-nav-item {
    min-width: 168px;
    flex-shrink: 0;
  }
  .hub-sidebar__foot {
    grid-template-columns: repeat(2, 1fr);
  }
  .hub-main__title {
    font-size: 22px;
  }
  .hub-sidebar__logo {
    max-height: 85px;
    min-height: 75px;
  }
}
