:root {
  --night: #12182a;
  --phosphor: #5ee0a0;
  --rose: #d45a7a;
  --bone: #f3eee4;
  --tungsten: #c9a46a;
  --ink: #16141c;
  --muted: #6e675c;
  --nav-shadow: 2px 2px 0 #0a0e18;
  --frame: inset 0 0 0 14px #ebe3d4, 0 26px 48px rgba(8, 10, 20, 0.55);
  --pin: 0 7px 0 rgba(154, 122, 64, 0.55);
  --bar: 72px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--bar); }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--night);
  padding-top: var(--bar);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.ng-wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.ng-eye {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.2em; font-size: 11px; font-weight: 800; color: var(--phosphor);
}
.ng-eye i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--phosphor);
  box-shadow: 0 0 16px rgba(94, 224, 160, 0.7);
  animation: ng-pulse 2.6s ease-in-out infinite;
}
.ng-eye.dark { color: var(--rose); }
.ng-eye.dark i { background: var(--rose); box-shadow: 0 0 14px rgba(212, 90, 122, 0.55); }
h1 { font-size: clamp(40px, 6vw, 62px); line-height: 0.95; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 8px 0 10px; }
.ng-lead { font-size: clamp(18px, 2vw, 24px); font-weight: 700; margin: 10px 0 12px; }
.ng-sum, .ng-hint { color: var(--muted); line-height: 1.8; max-width: 38em; }
.ng-cap { margin-top: 14px; font-size: 12px; color: var(--muted); }
.ng-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.ng-chips span {
  padding: 5px 10px; border: 1px solid rgba(18, 24, 42, 0.2);
  font-size: 12px; background: #fff;
}
.ng-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ng-btns a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; font-weight: 800;
  box-shadow: var(--nav-shadow);
}
.ng-btns .a { background: var(--night); color: var(--phosphor); }
.ng-btns .b { background: var(--rose); color: #fff; }
.ng-btns .a:hover, .ng-go:hover { filter: brightness(1.08); }

.ng-bar {
  position: fixed; inset: 0 0 auto; height: var(--bar); z-index: 50;
  background: var(--night);
  border-bottom: 1px solid rgba(94, 224, 160, 0.22);
}
.ng-bar-in {
  width: min(1160px, calc(100% - 32px)); height: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
}
.ng-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.ng-brand small { display: block; font-size: 10px; letter-spacing: 0.16em; color: #8d97a8; font-weight: 600; }
.ng-mark {
  width: 40px; height: 40px; object-fit: contain;
  background: #fff; box-shadow: var(--nav-shadow);
}
.ng-nav { margin-left: auto; display: flex; gap: 22px; }
.ng-nav a { color: #d5dce8; font-size: 14px; font-weight: 700; }
.ng-nav a:hover { color: var(--phosphor); }
.ng-go {
  background: var(--phosphor); color: var(--night); font-weight: 800;
  padding: 8px 14px; box-shadow: var(--nav-shadow);
}
.ng-menu { display: none; color: var(--phosphor); font-weight: 800; margin-left: auto; }

.ng-hero { padding: 28px 0 48px; background: var(--night); }
.ng-ledger {
  display: grid;
  grid-template-columns: 28px minmax(280px, 0.92fr) 1.08fr;
  align-items: stretch;
  background: #2a241c;
  color: var(--ink);
  box-shadow: 12px 12px 0 var(--rose);
}
.ng-holes {
  background: repeating-linear-gradient(#d9d1c4 0 18px, transparent 18px 52px);
  display: flex; flex-direction: column; justify-content: space-evenly; align-items: center;
  padding: 12px 0;
}
.ng-holes i {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--night); box-shadow: inset 0 1px 0 #fff8;
}
.ng-stub {
  background: var(--tungsten);
  color: var(--night);
  padding: 22px 22px 20px;
  border-right: 2px dashed rgba(18, 24, 42, 0.35);
}
.ng-acc { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.ng-acc span { letter-spacing: 0.2em; font-size: 11px; font-weight: 800; }
.ng-acc b { font-size: 28px; line-height: 1; }
.ng-stub .ng-sum { color: #4a3a1a; }
.ng-stub .ng-cap { color: #5c4a28; }
.ng-stub .ng-chips span { background: rgba(255,255,255,0.45); border-color: rgba(18,24,42,0.28); }
.ng-stub h1 { font-size: clamp(32px, 4vw, 48px); }
.ng-stub .ng-btns .a { background: var(--night); color: var(--phosphor); }
.ng-stub .ng-btns .b { background: #fff; color: var(--rose); }
.ng-frame {
  margin: 0;
  width: auto;
  min-width: 0;
  background: #2a241c;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
}
.ng-mat {
  position: relative;
  background: #ebe3d4;
  padding: 14px;
  flex: 1;
}
.ng-mat img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center top;
}
.ng-pin {
  position: absolute; width: 18px; height: 18px;
  background: linear-gradient(135deg, #fff 50%, transparent 50%);
  box-shadow: var(--pin);
}
.ng-pin.tl { left: 8px; top: 8px; }
.ng-pin.tr { right: 8px; top: 8px; transform: scaleX(-1); }
.ng-pin.bl { left: 8px; bottom: 8px; transform: scaleY(-1); }
.ng-pin.br { right: 8px; bottom: 8px; transform: scale(-1); }
.ng-frame figcaption {
  display: flex; align-items: baseline; gap: 10px;
  padding: 10px 6px 12px; color: var(--tungsten);
}
.ng-frame figcaption span { font-weight: 900; color: var(--phosphor); }
.ng-frame figcaption b { color: #fff; }
.ng-frame figcaption small { margin-left: auto; font-size: 12px; color: #9aa3b5; }

.ng-files { padding: 56px 0; background: var(--rose); color: #fff; }
.ng-files .ng-hint { color: #f7d0da; }
.ng-folders {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: end;
}
.ng-folders article {
  background: #f6ecd8;
  color: var(--ink);
  padding: 48px 16px 18px;
  margin-left: -12px;
  clip-path: polygon(18px 0, 42% 0, 48% 22px, 100% 22px, 100% 100%, 0 100%, 0 22px, 12px 22px);
  box-shadow: 8px 0 0 rgba(18, 24, 42, 0.18);
}
.ng-folders article:first-child { margin-left: 0; }
.ng-folders .f2 { background: #fff; z-index: 2; }
.ng-folders .f3 { background: #ead9b8; z-index: 3; padding-bottom: 36px; }
.ng-folders .f4 { background: #f3eee4; z-index: 1; }
.ng-folders header { font-size: 12px; letter-spacing: 0.12em; font-weight: 800; color: var(--rose); margin-bottom: 10px; }
.ng-folders article:hover { transform: translateY(-8px); z-index: 5; }

.ng-throw {
  position: relative;
  padding: 56px 0 64px;
  background: #0c101c;
  color: var(--bone);
  overflow: hidden;
}
.ng-beam {
  position: absolute; left: 18%; top: -40px; width: 64%; height: 220px;
  background: linear-gradient(180deg, rgba(94, 224, 160, 0.22), transparent 70%);
  pointer-events: none;
  animation: ng-beam 4.8s ease-in-out infinite;
}
.ng-throw .ng-hint { color: #9aa3b5; }
.ng-proj {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 22px;
  position: relative;
  z-index: 1;
  align-items: end;
}
.ng-screen figure { margin-top: 16px; background: #000; padding: 8px; box-shadow: 0 0 0 2px var(--phosphor); }
.ng-screen img { width: 100%; height: 240px; object-fit: cover; }
.ng-screen figcaption, .ng-slides figcaption {
  padding: 8px 4px 2px; font-size: 12px; letter-spacing: 0.12em; color: var(--phosphor);
}
.ng-slides { display: flex; flex-direction: column; gap: 10px; }
.ng-slides figure { background: #1a2030; padding: 8px; width: 200px; margin-left: auto; }
.ng-slides img { width: 184px; height: 184px; object-fit: cover; }
.ng-slides figure:hover { outline: 2px solid var(--tungsten); }

.ng-book { padding: 56px 0; background: var(--bone); color: var(--ink); }
.ng-spread {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  min-height: 480px;
  background: #fff;
  box-shadow: 0 18px 0 var(--tungsten);
}
.verso {
  background: #efe6d4;
  padding: 36px 28px;
  border-right: 1px solid #d7ccb8;
}
.verso ol { margin-top: 22px; padding-left: 18px; line-height: 2; }
.recto {
  padding: 22px 26px;
  background-image: repeating-linear-gradient(#fff 0 31px, #e7dfd0 31px 32px);
}
.recto article { padding: 8px 0 10px; border-bottom: none; }
.recto time { display: block; font-size: 12px; font-weight: 800; color: var(--rose); }
.recto p { font-size: 14px; line-height: 1.7; }
.recto article:hover { background: rgba(212, 90, 122, 0.06); }

.ng-faq { padding: 0; background: var(--rose); color: #fff; }
.ng-faq-in { display: grid; grid-template-columns: 0.75fr 1.25fr; min-height: 420px; }
.ng-clip { padding: 48px 36px; position: relative; }
.ng-clip i {
  position: absolute; top: -12px; left: 42%;
  width: 54px; height: 28px; border-radius: 0 0 12px 12px;
  background: #c0c6d0;
  box-shadow: inset 0 2px 0 #fff8, 0 4px 0 #8c939e;
}
.ng-clip p:first-of-type { letter-spacing: 0.22em; font-size: 12px; font-weight: 800; }
.ng-clip p:last-of-type { color: #f7d0da; line-height: 1.7; }
.ng-qa { background: var(--bone); color: var(--ink); padding: 28px 24px; }
.ng-qa details { background: #fff; margin-bottom: 8px; }
.ng-qa summary {
  cursor: pointer; font-weight: 800; list-style: none;
  padding: 14px 16px; display: flex; gap: 12px;
}
.ng-qa summary::-webkit-details-marker { display: none; }
.ng-qa summary b { color: var(--rose); min-width: 28px; }
.ng-qa p { padding: 0 16px 14px 56px; color: #5c5348; line-height: 1.7; }

.ng-gate { display: grid; grid-template-columns: 1fr 1fr; min-height: 280px; }
.ng-half { display: flex; flex-direction: column; justify-content: center; padding: 48px 10%; }
.ng-half p { letter-spacing: 0.2em; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.ng-half h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.ng-half a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; font-weight: 800; width: fit-content;
  box-shadow: var(--nav-shadow);
}
.ng-half.mint { background: var(--phosphor); color: var(--night); }
.ng-half.mint a { background: var(--night); color: var(--phosphor); }
.ng-half.ink { background: var(--night); color: var(--bone); }
.ng-half.ink a { background: var(--phosphor); color: var(--night); }

.ng-end {
  background: var(--bone); color: var(--ink);
  padding: 26px 0; border-top: 8px solid var(--tungsten);
}
.ng-end-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ng-end a { color: var(--rose); font-weight: 700; }
.ng-end small { color: var(--muted); }

@keyframes ng-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes ng-beam {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; }
}
@media (max-width: 900px) {
  .ng-nav { display: none; }
  .ng-nav.open {
    display: flex; flex-direction: column; position: absolute; top: var(--bar); left: 0; right: 0;
    background: var(--night); padding: 16px 20px 20px; gap: 12px;
  }
  .ng-menu { display: block; }
  .ng-ledger, .ng-proj, .ng-spread, .ng-faq-in, .ng-gate, .ng-folders { grid-template-columns: 1fr; }
  .ng-holes { flex-direction: row; padding: 8px; }
  .ng-stub { border-right: 0; border-bottom: 2px dashed rgba(18, 24, 42, 0.35); }
  .ng-folders article { margin-left: 0; }
  .ng-slides { flex-direction: row; flex-wrap: wrap; }
  .ng-slides figure { margin-left: 0; width: auto; }
  .ng-half { min-height: 180px; }
}
