.arch-head {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 34px 32px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.arch-head .crumbs { font-size: 11.5px; color: var(--tx-3); display: flex; gap: 6px; align-items: center; }
.arch-head h1 { font-size: 30px; font-weight: 900; color: var(--tx); display: flex; align-items: center; gap: 12px; }
.arch-head h1 .bar { width: 5px; height: 30px; border-radius: 3px; background: var(--ac); flex-shrink: 0; }
.arch-head .desc { font-size: 13.5px; color: var(--tx-2); line-height: 2; max-width: 720px; }
.arch-head .count-pill {
  font-size: 12px;
  color: var(--tx-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}

.nf-wrap { max-width: 1240px; margin: 0 auto; padding: 22px 26px 46px; }

.nf-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  background: var(--card);
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  margin-top: -22px;
  margin-bottom: 26px;
  contain: layout paint;
}
.nf-hero .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.nf-hero-grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to left, rgba(12, 15, 19, .94) 16%, rgba(12, 15, 19, .55) 55%, rgba(12, 15, 19, .12) 100%);
}
.nf-hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.nf-hero h1 { margin: 0 0 12px; font-size: 46px; font-weight: 900; line-height: 1.2; color: #fff; }
.nf-hero p { font-size: 15px; line-height: 1.9; color: #C7CCD2; max-width: 500px; }
.nf-hero-crumbs {
  position: absolute;
  top: 24px;
  right: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #C7CCD2;
}
.nf-hero-crumbs a { color: #A7ADB4; }
.nf-hero-crumbs a:hover { color: var(--ac); }
.nf-hero-crumbs .cur { color: var(--ac); font-weight: 700; }

.nf-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.nf-chip {
  flex: 1 1 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--tx-2);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-align: center;
}
.nf-chip svg { flex-shrink: 0; }
.nf-chip:hover { border-color: var(--ac); color: var(--ac); }
.nf-chip.on { background: var(--ac); border-color: var(--ac); color: #fff; box-shadow: 0 6px 16px rgba(249, 115, 22, .3); }
.nf-chip.on:hover { color: #fff; }

.nf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 24px; align-items: start; direction: ltr; }
.nf-main, .nf-aside { direction: rtl; min-width: 0; }
.nf-main { display: flex; flex-direction: column; }
.nf-aside { display: flex; flex-direction: column; gap: 18px; }

.nf-h { display: flex; align-items: center; gap: 10px; margin: 34px 0 20px; }
.nf-h .bar { width: 4px; height: 22px; border-radius: 2px; background: var(--ac); flex-shrink: 0; }
.nf-h h2 { font-size: 22px; font-weight: 800; color: var(--tx); }

.nf-feat {
  position: relative;
  height: 362px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--ac);
  background: var(--card);
  margin-bottom: 4px;
  contain: layout paint;
}
.nf-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .7s ease; }
.nf-slide.active { opacity: 1; pointer-events: auto; }
.nf-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.nf-slide .grad {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(13, 14, 16, .96) 6%, rgba(13, 14, 16, .55) 42%, rgba(13, 14, 16, .08) 100%);
}
.nf-slide .badge { position: absolute; top: 14px; right: 14px; z-index: 3; }
.nf-slide .body {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.nf-slide .title { font-size: 24px; font-weight: 900; line-height: 1.55; color: #F6F7F8; text-wrap: balance; }
.nf-slide .title:hover { color: var(--ac); }
.nf-slide .ex { font-size: 13.5px; line-height: 2; color: #C4C9CF; max-width: 88%; }
.nf-slide .meta { display: flex; align-items: center; gap: 16px; font-size: 11.5px; color: #C4C9CF; }
.nf-slide .meta .m { display: flex; align-items: center; gap: 6px; }
.nf-feat-dots { position: absolute; left: 24px; bottom: 22px; z-index: 4; display: flex; gap: 6px; direction: ltr; }
.nf-dot {
  width: 8px;
  height: 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: width .35s, background .35s;
}
.nf-dot.on { width: 22px; background: var(--ac); }

.nf-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nf-card {
  background: var(--card);
  border: 1px solid var(--ac-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s;
}
.nf-card:hover { border-color: var(--ac-soft-h); }
.nf-card-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.nf-card-media img { width: 100%; height: 100%; object-fit: cover; }
.nf-card .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 10.5px;
  padding: 4px 10px;
  border-radius: 7px;
}
.nf-card-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 11px; flex: 1; text-align: right; }
.nf-card-title { font-size: 13.5px; font-weight: 800; line-height: 1.85; color: var(--tx); }
.nf-card-title:hover { color: var(--ac); }
.nf-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 10.5px; color: var(--tx-3); }
.nf-card-meta .m { display: flex; align-items: center; gap: 5px; }
.nf-empty { color: var(--tx-2); }

.nf-center { display: flex; justify-content: center; margin-top: 26px; }
.nf-btn-outline {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 46px;
  padding: 0 30px;
  border-radius: 12px;
  background: transparent;
  border: 1.5px solid var(--ac);
  color: var(--ac);
  font-size: 13px;
  font-weight: 700;
}
.nf-btn-outline:hover { background: var(--ac); color: #fff; }

.nf-video-wrap { position: relative; }
.nf-video-track {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.nf-video-track::-webkit-scrollbar { display: none; }
.nf-video { flex: 0 0 calc((100% - 45px) / 4); min-width: 0; display: flex; flex-direction: column; }
.nf-video-media {
  position: relative;
  display: block;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid var(--ac);
  background: #1A1E22;
}
.nf-video-media img { width: 100%; height: 100%; object-fit: cover; }
.nf-video-media:hover { border-color: var(--ac-h); }
.nf-video .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .8);
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.nf-video .dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(13, 14, 16, .85);
  color: #D6DBE0;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  direction: ltr;
  border: 1px solid rgba(255, 255, 255, .12);
  pointer-events: none;
  z-index: 2;
}
.nf-video-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 8px; }
.nf-video-title { font-size: 12.5px; font-weight: 700; line-height: 1.8; color: var(--tx); }
.nf-video-title:hover { color: var(--ac); }
.nf-video-date { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--tx-3); }
.nf-vnav {
  position: absolute;
  top: 42px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--tx);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5);
  transition: background .2s, color .2s;
}
.nf-vnav:hover { background: var(--ac); border-color: var(--ac); color: #fff; }
.nf-vnav.prev { right: -8px; }
.nf-vnav.next { left: -8px; }

.nf-box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.nf-box.tight { padding: 18px 18px 8px; }
.nf-box-h { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.nf-box-h.between { margin-bottom: 14px; }
.nf-box-h .bar { width: 4px; height: 18px; border-radius: 2px; background: var(--ac); flex-shrink: 0; }
.nf-box-h h3 { font-size: 16px; font-weight: 800; color: var(--tx); }
.nf-box-h .zap {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(249, 115, 22, .14);
  color: var(--ac);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
}

.nf-hot-item { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.nf-hot-item:last-child { border-bottom: 0; }
.nf-hot-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; text-align: right; }
.nf-hot-info a { font-size: 12.5px; font-weight: 700; line-height: 1.75; color: var(--tx); }
.nf-hot-info a:hover { color: var(--ac); }
.nf-hot-date { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--tx-3); }
.nf-hot-thumb { position: relative; width: 66px; height: 52px; border-radius: 8px; flex-shrink: 0; }
.nf-hot-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.nf-hot-thumb .ph { border-radius: 8px; overflow: hidden; font-size: 12px; letter-spacing: 0; }
.nf-hot-rank {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--ac);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 800;
  direction: ltr;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .45);
  z-index: 2;
}

.nf-quick-list { display: flex; flex-direction: column; gap: 9px; }
.nf-quick { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.nf-quick:hover { border-color: var(--ac); }
.nf-quick .txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nf-quick .t { font-size: 12.5px; font-weight: 700; color: var(--tx); }
.nf-quick .s { font-size: 10px; color: var(--tx-3); }
.nf-quick .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card-h);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-2);
  flex-shrink: 0;
}
.nf-quick .ic svg { width: 18px; height: 18px; }
.nf-quick:hover .ic { color: var(--ac); border-color: var(--ac); }

.nf-follow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.nf-follow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 13px 4px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
  color: var(--tx-2);
}
.nf-follow-item:hover { border-color: var(--ac); color: var(--ac); }
.nf-follow-item svg { color: var(--tx-2); width: 20px; height: 20px; }
.nf-follow-item:hover svg { color: var(--ac); }
.nf-follow-item .lbl { font-size: 9.5px; color: var(--tx-2); }
.nf-follow-item:hover .lbl { color: var(--ac); }

:root[data-theme="light"] .nf-hero-grad {
  background: linear-gradient(to left, rgba(244, 245, 247, .95) 16%, rgba(244, 245, 247, .6) 55%, rgba(244, 245, 247, .12) 100%);
}
:root[data-theme="light"] .nf-hero h1 { color: #16181B; }
:root[data-theme="light"] .nf-hero p,
:root[data-theme="light"] .nf-hero-crumbs { color: #44505A; }
:root[data-theme="light"] .nf-hero-crumbs a { color: #55606B; }
:root[data-theme="light"] .nf-slide .grad {
  background: linear-gradient(to top, rgba(255, 255, 255, .97) 6%, rgba(255, 255, 255, .6) 42%, rgba(255, 255, 255, .08) 100%);
}
:root[data-theme="light"] .nf-slide .title { color: #16181B; }
:root[data-theme="light"] .nf-slide .ex,
:root[data-theme="light"] .nf-slide .meta { color: #44505A; }

:root[data-theme="light"] .nf-dot {
  background: rgba(22, 24, 27, .3);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .55);
}
:root[data-theme="light"] .nf-dot.on { background: var(--ac); box-shadow: none; }

@media (max-width: 1100px) {
  .nf-layout { grid-template-columns: 1fr; direction: rtl; }
  .nf-grid3 { grid-template-columns: repeat(2, 1fr); }
  .nf-video { flex-basis: calc((100% - 15px) / 2); }
}

@media (max-width: 680px) {
  .arch-head { padding: 26px 16px 6px; }
  .arch-head h1 { font-size: 24px; }
}

@media (max-width: 600px) {
  .nf-wrap { padding: 16px 16px 32px; }
  .nf-hero { height: 260px; margin-top: -16px; }
  .nf-hero-inner { padding: 0 22px; }
  .nf-hero h1 { font-size: 30px; }
  .nf-hero-crumbs { right: 22px; }
  .nf-feat { height: 320px; }
  .nf-slide .body { padding: 20px 22px 26px; }
  .nf-slide .title { font-size: 19px; }
  .nf-feat-dots { left: 22px; }
  .nf-grid3 { grid-template-columns: 1fr; }
  .nf-video { flex-basis: 80%; }
  .nf-follow-grid { grid-template-columns: repeat(2, 1fr); }
}
