/* ============================================================
   LAYCMS · NOVA 深色科技模板
   布局：深色全幅首屏 + 数据侧栏 + 非对称内容流
   ============================================================ */

:root {
  --nv-bg: #070b12;
  --nv-panel: #0d1420;
  --nv-line: #1c2635;
  --nv-text: #e8edf6;
  --nv-muted: #8b9aaf;
  --nv-lime: #c9ff4d;
  --nv-blue: #5b8cff;
}

body.tpl-nova { background: #f2f4f8; }

/* ---------- 顶部导航：深色横栏 ---------- */
.tpl-nova .site-header {
  background: rgba(7, 11, 18, .96);
  border-bottom: 1px solid var(--nv-line);
  backdrop-filter: blur(14px);
}
.tpl-nova .header-inner { height: 74px; gap: 26px; }
.tpl-nova .logo { margin-right: 6px; }
.tpl-nova .site-header.has-logo .logo {
  padding: 7px 11px; border-radius: 7px; background: #fff;
}
.tpl-nova .logo-img { width: 132px; height: 38px; }
.tpl-nova .logo-text { color: #f2f6ff; }
.tpl-nova .logo-text small { color: #73829a; }
.tpl-nova .logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--nv-lime); color: #0a1018; box-shadow: none;
}
.tpl-nova .main-nav > a { color: #97a5bb; border-radius: 4px; font-weight: 500; }
.tpl-nova .main-nav > a.on,
.tpl-nova .main-nav > a:hover { color: var(--nv-lime); background: transparent; }
.tpl-nova .main-nav > a.on::after {
  content: ""; display: block; height: 2px; margin-top: -2px; background: var(--nv-lime);
}
.tpl-nova .header-user .btn-text { color: #aeb9ca; }
.tpl-nova .header-user .btn-primary {
  background: var(--nv-lime); border-color: var(--nv-lime); color: #0a1018; box-shadow: none;
}
.tpl-nova .header-user .btn-primary:hover { background: #dcff8a; border-color: #dcff8a; }
.tpl-nova .uname { color: #dbe4f0; }
.tpl-nova .user-trigger .layui-icon { color: #8b9aaf; }
.tpl-nova .mobile-nav-toggle .mn-bars i { background: #dbe4f0; }

/* ---------- 首屏 ---------- */
.nv-hero {
  position: relative; overflow: hidden; padding: 72px 0 58px;
  background:
    radial-gradient(900px 420px at 18% 8%, rgba(73, 110, 255, .18), transparent 70%),
    radial-gradient(620px 360px at 82% 88%, rgba(201, 255, 77, .09), transparent 70%),
    var(--nv-bg);
  color: var(--nv-text);
}
.nv-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none;
}

.container.nv-hero-in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(300px, .76fr);
  gap: 64px; align-items: end;
}
.nv-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px; letter-spacing: .16em; color: var(--nv-lime);
}
.nv-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--nv-lime); box-shadow: 0 0 14px var(--nv-lime); }
.nv-copy h1 {
  margin: 22px 0 20px; font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.02; letter-spacing: -.055em; color: #f5f8ff; font-weight: 800;
}
.nv-copy h1 em { font-style: normal; color: var(--nv-lime); }
.nv-copy > p {
  max-width: 570px; font-size: 14.5px; line-height: 1.9; color: var(--nv-muted);
}
.nv-search {
  display: flex; align-items: center; gap: 10px;
  max-width: 620px; height: 56px; margin-top: 30px; padding: 0 7px 0 18px;
  background: #0e1623; border: 1px solid #253146; border-radius: 5px;
}
.nv-search .layui-icon { font-size: 18px; color: var(--nv-lime); }
.nv-search input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0;
  background: transparent; color: #fff; font-size: 14px;
}
.nv-search input::placeholder { color: #637088; }
.nv-search button {
  height: 42px; padding: 0 22px; border: 0; border-radius: 3px; cursor: pointer;
  background: var(--nv-lime); color: #0a1018; font-size: 13.5px; font-weight: 700;
}
.nv-search button:hover { background: #dcff8a; }
.nv-hot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; }
.nv-hot span { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .12em; color: #58667c; }
.nv-hot a { color: #95a4bb; border-bottom: 1px solid #2a3547; padding-bottom: 2px; }
.nv-hot a:hover { color: var(--nv-lime); border-color: var(--nv-lime); }

.nv-telemetry {
  border-left: 1px solid #263145; padding: 2px 0 2px 34px;
}
.nv-tel-head { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #7d8ca3; letter-spacing: .08em; }
.nv-tel-head i { width: 6px; height: 6px; border-radius: 50%; background: #3ee58a; box-shadow: 0 0 10px #3ee58a; }
.nv-tel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; margin: 26px 0 24px; }
.nv-tel-grid div { border-bottom: 1px solid #1c2635; padding-bottom: 12px; }
.nv-tel-grid b { display: block; font-size: 34px; line-height: 1.1; letter-spacing: -.04em; color: #f1f5fc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.nv-tel-grid span { font-size: 11.5px; color: #748299; }
.nv-tel-foot { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11.5px; color: #7d8ca3; }
.nv-tel-foot .layui-icon { color: var(--nv-lime); margin-right: 3px; font-size: 13px; }

/* ---------- 分类横带 ---------- */
.nv-runline { background: #0c131d; border-bottom: 1px solid var(--nv-line); }
.nv-runline .container {
  display: flex; align-items: center; gap: 22px; height: 56px;
  overflow-x: auto; scrollbar-width: none;
}
.nv-runline::-webkit-scrollbar { display: none; }
.nv-runlabel { flex: none; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .13em; color: #5c6a80; }
.nv-runline a {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #9dabc0;
}
.nv-runline a:hover { color: var(--nv-lime); }
.nv-runline a .layui-icon { font-size: 14px; }

/* ---------- 主体 ---------- */
.container.nv-shell {
  display: grid; grid-template-columns: minmax(0, 1fr) 296px;
  gap: 36px; padding-top: 38px; align-items: start;
}
.nv-main { min-width: 0; }
.nv-section { margin-bottom: 46px; }
.nv-head {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center; gap: 12px; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 2px solid #0b1220;
}
.nv-num {
  font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700;
  color: #fff; background: #0b1220; padding: 3px 0; text-align: center;
}
.nv-head h2 { font-size: 22px; letter-spacing: -.03em; }
.nv-head > a { font-size: 12px; color: #58657a; display: inline-flex; align-items: center; gap: 4px; }
.nv-head > a:hover { color: var(--nv-blue); }
.nv-empty { padding: 26px 0; color: #8a93a6; font-size: 13px; }

.nv-feature {
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(280px, .86fr);
  background: #0b1220; border-radius: 6px; overflow: hidden; margin-bottom: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.nv-feature:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(7, 11, 18, .22); color: inherit; }
.nv-feature-art { position: relative; min-height: 300px; background-size: cover; background-position: center; overflow: hidden; }
.nv-feature-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nv-feature-art > span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 90px; font-weight: 800; color: rgba(255,255,255,.22);
}
.nv-feature-art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(11,18,32,.55));
}
.nv-feature-flag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  padding: 4px 8px; background: var(--nv-lime); color: #0a1018;
  font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .12em;
}
.nv-feature-body { padding: 30px 30px 26px; color: #dfe7f3; display: flex; flex-direction: column; }
.nv-feature-meta { display: flex; gap: 14px; font-size: 10.5px; color: #7e8da5; letter-spacing: .04em; }
.nv-feature-body h3 { margin: 12px 0 10px; font-size: 26px; line-height: 1.3; letter-spacing: -.04em; color: #f5f8ff; }
.nv-feature-body p { font-size: 13px; line-height: 1.8; color: #93a1b6; }
.nv-feature-foot { display: flex; align-items: center; gap: 18px; margin-top: auto; padding-top: 22px; font-size: 11.5px; color: #7f8da3; }
.nv-feature-foot strong { font-size: 18px; color: var(--nv-lime); }

.nv-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #dfe3eb; border: 1px solid #dfe3eb; }
.nv-item {
  display: grid; grid-template-columns: 30px 58px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 14px; background: #fff; min-width: 0; transition: background .18s;
}
.nv-item:hover { background: #f7f9fc; color: inherit; }
.nv-item-no { font-family: ui-monospace, monospace; font-size: 10px; color: #a2acbc; }
.nv-item-art { width: 58px; height: 52px; border-radius: 2px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.nv-item-art img { width: 100%; height: 100%; object-fit: cover; }
.nv-item-main { min-width: 0; }
.nv-item-cate { font-size: 9.5px; color: #8893a5; letter-spacing: .04em; }
.nv-item-main h3 {
  font-size: 13.5px; line-height: 1.45; margin: 2px 0 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nv-item-meta { display: flex; gap: 9px; font-size: 9.5px; color: #a0a9b7; }
.nv-item-price { font-family: ui-monospace, monospace; font-size: 11px; font-weight: 700; color: #1d4ed8; }
.nv-item-price:not(:empty) { background: #eef2fb; padding: 3px 6px; border-radius: 2px; }

.nv-market-list { border-top: 1px solid #e2e6ed; }
.nv-market-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) 90px 90px; align-items: center; gap: 16px;
  padding: 15px 4px; border-bottom: 1px solid #e2e6ed;
}
.nv-market-row:hover { background: #fff; color: inherit; }
.nv-market-index { font-family: ui-monospace, monospace; font-size: 10px; color: #a4adbb; }
.nv-market-title h3 { font-size: 15px; line-height: 1.4; }
.nv-market-title span { font-size: 10.5px; color: #929bab; }
.nv-market-sales { font-size: 11px; color: #8f98a8; text-align: right; }
.nv-market-row strong { font-size: 16px; color: #0b1220; text-align: right; }
.nv-demands { margin-top: 22px; background: #fff; border: 1px solid #e2e6ed; padding: 18px 20px; }
.nv-demands-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.nv-demands-head h3 { font-size: 12px; letter-spacing: .05em; color: #4c5769; }
.nv-demands-head a { font-size: 11px; color: #6b7688; }
.nv-demands > a {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px;
  padding: 9px 0; border-top: 1px solid #eef1f5; font-size: 12px;
}
.nv-demands > a span { color: #6d7890; }
.nv-demands > a b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-demands > a em { font-style: normal; color: #1d4ed8; font-family: ui-monospace, monospace; font-size: 11px; }

.nv-services {
  background: #0b1220; border-radius: 6px; padding: 22px 24px 24px; color: #e7eef9;
}
.nv-head-light { border-bottom-color: #283346; }
.nv-head-light h2 { color: #f2f6ff; }
.nv-head-light .nv-num { background: var(--nv-lime); color: #0a1018; }
.nv-head-light > a { color: #8998b0; }
.nv-svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #263145; }
.nv-svc { display: block; background: #0f1826; padding: 18px 16px; min-width: 0; transition: background .18s; }
.nv-svc:hover { background: #131f31; color: inherit; }
.nv-svc-kind { font-size: 9px; color: var(--nv-lime); letter-spacing: .08em; }
.nv-svc h3 { font-size: 14px; line-height: 1.45; color: #eef4fe; margin: 7px 0 8px; min-height: 40px; }
.nv-svc p { font-size: 11px; line-height: 1.7; color: #8493aa; min-height: 38px; }
.nv-svc > div { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid #243044; }
.nv-svc > div b { font-size: 13px; color: var(--nv-lime); }
.nv-svc > div span { font-size: 10px; color: #75849b; }
.nv-svc-cta { background: var(--nv-lime); }
.nv-svc-cta:hover { background: #d8ff7f; color: inherit; }
.nv-svc-cta .nv-svc-kind { color: #31420b; }
.nv-svc-cta h3 { color: #101705; }
.nv-svc-cta p { color: #43551c; }
.nv-svc-cta > div { border-top-color: rgba(16,23,5,.18); }
.nv-svc-cta > div b { color: #101705; }
.nv-svc-cta > div span { color: #43551c; }

.nv-note-list { border-top: 1px solid #e2e6ed; }
.nv-note-list > a {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 14px;
  align-items: center; padding: 13px 4px; border-bottom: 1px solid #e2e6ed;
}
.nv-note-list > a:hover { background: #fff; color: inherit; }
.nv-note-list > a > span { font-family: ui-monospace, monospace; font-size: 10px; color: #a2abba; }
.nv-note-list h3 { font-size: 14.5px; font-weight: 600; }
.nv-note-list em { font-style: normal; font-size: 10.5px; color: #8f99a9; }

/* ---------- 右栏 ---------- */
.nv-rail { position: sticky; top: 94px; display: flex; flex-direction: column; gap: 16px; }
.nv-rank { background: #0b1220; color: #dce5f2; padding: 20px 18px 14px; border-radius: 4px; }
.nv-rail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.nv-rail-head h3 { font-size: 14px; color: inherit; }
.nv-rail-head span { font-family: ui-monospace, monospace; font-size: 9px; color: var(--nv-lime); letter-spacing: .1em; }
.nv-rank ol li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px;
  padding: 8px 0; border-top: 1px solid #202b3c; font-size: 11.5px;
}
.nv-rank ol li > span { font-family: ui-monospace, monospace; color: #5d6d84; font-size: 10px; }
.nv-rank ol li a { color: #b8c4d6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nv-rank ol li a:hover { color: var(--nv-lime); }
.nv-rank ol li em { font-style: normal; color: #718096; }
.nv-notice { background: #fff; border: 1px solid #e2e6ed; padding: 18px; }
.nv-notice .nv-rail-head h3 { color: #101828; }
.nv-notice .nv-rail-head a { font-size: 10px; color: #8893a5; }
.nv-notice > a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 6px;
  padding: 8px 0; border-top: 1px solid #eef1f5; font-size: 11.5px; color: #4f5a6d;
}
.nv-notice > a span { font-family: ui-monospace, monospace; font-size: 9.5px; color: #9aa4b3; }
.nv-vip { background: var(--nv-lime); padding: 22px 20px; border-radius: 4px; color: #0a1018; }
.nv-vip-tag { font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: .14em; opacity: .65; }
.nv-vip h3 { margin: 10px 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: -.04em; }
.nv-vip p { font-size: 11.5px; line-height: 1.7; opacity: .75; }
.nv-vip a { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; font-size: 12px; font-weight: 700; border-bottom: 1px solid #0a1018; }

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .container.nv-hero-in { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
  .nv-copy h1 { font-size: 52px; }
  .nv-tel-grid b { font-size: 28px; }
  .nv-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .container.nv-shell { grid-template-columns: minmax(0, 1fr); }
  .nv-rail { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .nv-vip { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .tpl-nova .site-header { background: #070b12; }
  .tpl-nova .main-nav.open {
    background: #0d1420; border-color: #263145; box-shadow: 0 18px 44px rgba(0,0,0,.35);
  }
  .tpl-nova .main-nav > a { color: #b9c5d7; }
  .tpl-nova .main-nav > a.on { color: var(--nv-lime); background: #141d2b; }
  .nv-hero { padding: 44px 0 38px; }
  .container.nv-hero-in { grid-template-columns: 1fr; gap: 32px; }
  .nv-copy h1 { font-size: 40px; }
  .nv-search { height: 52px; }
  .nv-search button { padding: 0 16px; }
  .nv-telemetry { border-left: 0; border-top: 1px solid #263145; padding: 22px 0 0; }
  .nv-tel-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
  .nv-tel-grid b { font-size: 22px; }
  .nv-tel-grid span { font-size: 10px; }
  .nv-tel-foot { display: none; }
  .nv-feature { grid-template-columns: 1fr; }
  .nv-feature-art { min-height: 210px; }
  .nv-feature-body { padding: 20px; }
  .nv-stack { grid-template-columns: 1fr; }
  .nv-market-row { grid-template-columns: 26px minmax(0, 1fr) 74px; }
  .nv-market-sales { display: none; }
  .nv-note-list > a { grid-template-columns: 28px minmax(0, 1fr); }
  .nv-note-list em { grid-column: 2; }
  .nv-rail { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tpl-nova .header-inner { gap: 8px; padding-left: 10px; padding-right: 10px; }
  .tpl-nova .logo { min-width: 0; gap: 8px; }
  .tpl-nova .logo-text { min-width: 0; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .tpl-nova .logo-mark { width: 34px; height: 34px; flex: none; }
  .tpl-nova .header-user { gap: 3px; flex: none; }
  .tpl-nova .header-user .btn-text { padding-left: 4px; padding-right: 4px; }
  .tpl-nova .header-user .btn-primary { padding-left: 9px; padding-right: 9px; }
  .tpl-nova .mobile-nav-toggle { flex: none; margin-left: 0; }
}
@media (max-width: 560px) {
  .nv-tel-grid { grid-template-columns: 1fr 1fr; }
  .nv-feature-body h3 { font-size: 20px; }
  .nv-svc-grid { grid-template-columns: 1fr; }
  .nv-item { grid-template-columns: 24px 48px minmax(0, 1fr); }
  .nv-item-price { display: none; }
  .nv-head { grid-template-columns: 32px minmax(0, 1fr); }
  .nv-head > a { display: none; }
}
