/* ==========================================================
   诺亚体育 NUOYA SPORTS — 共享样式表 /assets/site.css
   体系：战术蓝图网格 · 深海甲板底 · 荧光青索引 · 电光橙锚点
   ========================================================== */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --deck: #04121F;
  --panel: #0A2335;
  --panel-deep: #071C2B;
  --line: #12384D;
  --line-soft: rgba(18, 56, 77, .62);
  --white: #EAF7FA;
  --steel: #9BB0BA;
  --cyan: #27F2D2;
  --orange: #FF7A1A;
  --amber: #FFB45C;
  --muted-cyan: #3D6B7A;
  --link: #1F8FA6;

  --display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --grid-unit: 88px;
  --shadow-hard: 5px 5px 0 rgba(4, 18, 31, .85);
  --shadow-line: 5px 5px 0 var(--line);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 160ms;
  --t-mid: 220ms;
  --totop-bottom: clamp(18px, 3vw, 32px);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  background-color: var(--deck);
  background-image:
    linear-gradient(to right, rgba(18, 56, 77, .30) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 56, 77, .30) 1px, transparent 1px);
  background-size: var(--grid-unit) var(--grid-unit);
  background-position: center top;
  color: var(--white);
  font-family: var(--body);
  font-size: clamp(16px, .55vw + 14px, 17px);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1, .nx-h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); letter-spacing: -.02em; }
h2, .nx-h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3, .nx-h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
p { max-width: 68ch; }

::selection { background: var(--cyan); color: var(--deck); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 0;
}
#main-content:focus { outline: none; }
[id] { scroll-margin-top: clamp(96px, 16vh, 148px); }

/* ---------- 4. 布局容器与栅格 ---------- */
.nx-container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nx-grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.nx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-grid--split { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: start; }
@media (max-width: 900px) {
  .nx-grid--2, .nx-grid--3, .nx-grid--split { grid-template-columns: minmax(0, 1fr); }
}

.nx-section { padding-block: clamp(48px, 7vw, 104px); border-top: 1px solid var(--line-soft); }
.nx-section:first-of-type { border-top: 0; }
.nx-section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(10px, 2vw, 24px); margin-bottom: clamp(20px, 3vw, 40px); }
.nx-section__index {
  font-family: var(--mono);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--muted-cyan);
  letter-spacing: -.04em;
}
.nx-section__title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
.nx-section__lead { max-width: 58ch; color: var(--steel); font-size: .95rem; }

/* ---------- 5. 排版零件 ---------- */
.nx-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.nx-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}
.nx-mono, .nx-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}
.nx-bignum {
  font-family: var(--mono);
  font-size: clamp(2.6rem, 7vw, 6rem);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--cyan);
  font-variant-numeric: tabular-nums;
}
.nx-rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(24px, 4vw, 48px); }

.nx-tag {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: var(--panel-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel);
}
.nx-tag--cyan { color: var(--cyan); border-color: rgba(39, 242, 210, .45); }
.nx-tag--orange { color: var(--orange); border-color: rgba(255, 122, 26, .5); }

/* ---------- 6. 按钮 ---------- */
.nx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--shadow-line);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nx-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--line); border-color: var(--cyan); }
.nx-btn:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--line); }
.nx-btn--accent { background: var(--orange); border-color: var(--amber); color: var(--deck); font-weight: 700; }
.nx-btn--accent:hover { border-color: var(--amber); box-shadow: 8px 8px 0 rgba(255, 180, 92, .28); }
.nx-btn--ghost { background: transparent; box-shadow: none; color: var(--cyan); border-color: rgba(39, 242, 210, .45); }
.nx-btn--ghost:hover { background: rgba(39, 242, 210, .08); box-shadow: none; transform: none; }
.nx-btn--quiet { background: transparent; border-color: var(--line); box-shadow: none; color: var(--steel); }
.nx-btn--quiet:hover { color: var(--white); border-color: var(--steel); transform: none; box-shadow: none; }
.nx-btn--sm { padding: 8px 14px; font-size: 11px; }

/* ---------- 7. 头部 ---------- */
.nx-skip {
  position: absolute;
  left: 12px;
  top: 8px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  background: var(--orange);
  color: var(--deck);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-decoration: none;
  border: 1px solid var(--amber);
  transition: transform var(--t-fast) var(--ease);
}
.nx-skip:focus { transform: translateY(0); }

.nx-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(4, 18, 31, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nx-header__strip {
  height: 34px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(10, 35, 53, .95), rgba(4, 18, 31, .6));
  transition: height var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}
.nx-header__strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.nx-strip__label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nx-strip__label--right { color: var(--muted-cyan); }
.nx-header[data-scrolled] .nx-header__strip { height: 0; opacity: 0; }

.nx-header__bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  padding-block: 14px;
  transition: padding var(--t-mid) var(--ease);
}
.nx-header[data-scrolled] .nx-header__bar { padding-block: 9px; }

/* 品牌 */
.nx-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}
.nx-brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cyan);
  background: linear-gradient(155deg, rgba(39, 242, 210, .18), rgba(39, 242, 210, 0) 62%);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  box-shadow: 4px 4px 0 rgba(18, 56, 77, .95);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.nx-brand:hover .nx-brand__mark { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 rgba(39, 242, 210, .35); }
.nx-brand__text { display: block; }
.nx-brand__name {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: .04em;
  white-space: nowrap;
}
.nx-brand__latin {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

/* 导航 */
.nx-nav { min-width: 0; }
.nx-nav__list { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nx-nav__item { min-width: 0; }
.nx-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid transparent;
  color: var(--steel);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.nx-nav__index {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--muted-cyan);
  font-variant-numeric: tabular-nums;
}
.nx-nav__link:hover { color: var(--white); background: rgba(10, 35, 53, .9); border-color: var(--line); }
.nx-nav__link[aria-current="page"] { color: var(--white); background: var(--panel); border-color: var(--line); }
.nx-nav__link[aria-current="page"] .nx-nav__index { color: var(--cyan); }
.nx-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 2px;
  background: var(--orange);
}

.nx-nav__foot { display: none; }
.nx-nav__footlabel {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-cyan);
  margin-bottom: 12px;
}
.nx-nav__footlinks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

/* 右侧工具区 */
.nx-tools { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); flex-shrink: 0; }
.nx-quick { display: flex; align-items: center; }
.nx-quick__link {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: var(--panel-deep);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nx-quick__link + .nx-quick__link { border-left: 0; }
.nx-quick__link:hover { color: var(--cyan); border-color: rgba(39, 242, 210, .5); }

.nx-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  background: var(--orange);
  border: 1px solid var(--amber);
  color: #08161F;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 4px 4px 0 rgba(4, 18, 31, .9);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.nx-cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(255, 180, 92, .35); }
.nx-cta:active { transform: translate(0, 0); box-shadow: 2px 2px 0 rgba(4, 18, 31, .9); }

/* 汉堡按钮 */
.nx-navbtn {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--white);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nx-navbtn:hover { border-color: var(--cyan); color: var(--cyan); }
.nx-navbtn__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}
.nx-navbtn__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: opacity var(--t-fast) var(--ease);
}
.nx-navbtn[aria-expanded="true"] .nx-navbtn__bars { border-color: var(--orange); color: var(--orange); }
.nx-navbtn[aria-expanded="true"] .nx-navbtn__bars::after { opacity: 0; }

/* 滚动进度 */
.nx-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber), var(--orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

/* 返回顶部 */
.nx-toTop {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: var(--totop-bottom);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  box-shadow: 4px 4px 0 rgba(4, 18, 31, .9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease),
              visibility var(--t-mid), border-color var(--t-fast) var(--ease);
}
.nx-toTop[data-visible] { opacity: 1; visibility: visible; transform: translateY(0); }
.nx-toTop:hover { border-color: var(--cyan); }
.nx-toTop__text { color: var(--steel); }

/* ---------- 8. 页脚 ---------- */
.nx-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 120px);
  border-top: 2px solid var(--cyan);
  background: linear-gradient(180deg, rgba(10, 35, 53, .96) 0%, rgba(4, 18, 31, 1) 62%);
  color: var(--white);
}
.nx-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 26px);
  opacity: .9;
  pointer-events: none;
}
.nx-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 80px) clamp(28px, 4vw, 48px);
}
.nx-footer__brand { min-width: 0; }
.nx-footer__kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-cyan);
  margin-bottom: 16px;
}
.nx-footer__brandline {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: .01em;
  max-width: 16em;
}
.nx-footer__brandline span { color: var(--cyan); margin-inline: 4px; }
.nx-footer__tagline {
  margin-top: 14px;
  max-width: 40ch;
  color: var(--steel);
  font-size: .92rem;
}
.nx-footer__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.nx-footer__pill {
  padding: 4px 10px;
  border: 1px solid var(--line);
  background: rgba(4, 18, 31, .6);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--steel);
}
.nx-footer__coltitle {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.nx-footer__list { display: grid; gap: 9px; }
.nx-footer__link {
  display: inline-block;
  color: var(--steel);
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nx-footer__link:hover { color: var(--white); border-color: var(--cyan); }
.nx-footer__link[aria-current="page"] { color: var(--white); border-color: var(--orange); }

.nx-contact {
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid var(--line);
  background: rgba(4, 18, 31, .55);
  box-shadow: var(--shadow-line);
}
.nx-contact__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}
.nx-contact__row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  padding-block: 7px;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  max-width: none;
}
.nx-contact__row:first-of-type { border-top: 0; }
.nx-contact__key {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--muted-cyan);
  padding-top: 3px;
}
.nx-contact__val { color: var(--white); word-break: break-word; }
.nx-contact__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--steel);
  font-size: 12.5px;
  line-height: 1.7;
  max-width: none;
}

.nx-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 18px clamp(22px, 3vw, 32px);
  border-top: 1px solid var(--line);
}
.nx-footer__legalnav { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-footer__legal-link {
  padding: 5px 12px;
  border: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.nx-footer__legal-link:hover { color: var(--cyan); border-color: rgba(39, 242, 210, .5); }
.nx-footer__copy {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--muted-cyan);
  max-width: none;
}

/* ---------- 9. 面包屑 ---------- */
.nx-breadcrumb { margin-bottom: clamp(16px, 2.4vw, 28px); }
.nx-breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nx-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--steel);
}
.nx-breadcrumb__item + .nx-breadcrumb__item::before { content: "／"; color: var(--muted-cyan); }
.nx-breadcrumb__item a { color: var(--steel); text-decoration: none; }
.nx-breadcrumb__item a:hover { color: var(--cyan); }
.nx-breadcrumb__item [aria-current="page"] { color: var(--white); }

/* ---------- 10. 面板 / 卡片 / 正文 ---------- */
.nx-panel {
  padding: clamp(18px, 2.6vw, 32px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-line);
}
.nx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-deep) 100%);
  text-decoration: none;
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease),
              box-shadow var(--t-mid) var(--ease);
}
.nx-card:hover { transform: translate(-3px, -3px); border-color: var(--cyan); box-shadow: 7px 7px 0 rgba(39, 242, 210, .18); }
.nx-card__index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--muted-cyan);
}
.nx-card__title { font-family: var(--display); font-weight: 800; font-size: 1.3rem; line-height: 1.3; }
.nx-card__text { color: var(--steel); font-size: .93rem; }
.nx-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}

.nx-prose { max-width: 68ch; color: var(--white); }
.nx-prose > * + * { margin-top: 1em; }
.nx-prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.nx-prose h3 { margin-top: 1.6em; }
.nx-prose p { max-width: none; }
.nx-prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.nx-prose a:hover { color: var(--cyan); }
.nx-prose ul, .nx-prose ol { list-style: disc; padding-left: 1.3em; display: grid; gap: .4em; color: var(--steel); }
.nx-prose ol { list-style: decimal; }
.nx-prose strong { color: var(--white); font-weight: 700; }
.nx-prose blockquote {
  border-left: 3px solid var(--cyan);
  padding: 12px 0 12px 18px;
  color: var(--steel);
  background: rgba(10, 35, 53, .6);
}

/* ---------- 11. 图片容器（供页面阶段放入图片） ---------- */
.nx-media {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 130% at 0% 0%, rgba(39, 242, 210, .16), transparent 55%),
    radial-gradient(120% 130% at 100% 100%, rgba(255, 122, 26, .16), transparent 55%),
    var(--panel);
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-line);
}
.nx-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.06) brightness(.92);
}
.nx-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(39, 242, 210, .18), transparent 46%, rgba(255, 122, 26, .2));
  opacity: .6;
}
.nx-media--wide { aspect-ratio: 21 / 9; }
.nx-media--square { aspect-ratio: 1 / 1; }
.nx-media--tall { aspect-ratio: 3 / 4; }
.nx-media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 6px 12px;
  background: var(--deck);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ---------- 12. 显现动画（需 JS 提供 .nx-js 标记） ---------- */
.nx-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.nx-js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1180px) {
  .nx-quick { display: none; }
}
@media (max-width: 1024px) {
  .nx-header__bar { grid-template-columns: minmax(0, 1fr) auto; padding-block: 12px; }
  .nx-navbtn { display: inline-flex; }
  .nx-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 95;
    display: block;
    max-height: calc(100vh - 100%);
    overflow-y: auto;
    padding: 10px var(--gutter) 24px;
    background: var(--panel);
    border-bottom: 2px solid var(--cyan);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease),
                visibility var(--t-mid) var(--ease);
  }
  .nx-nav[data-open] { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .nx-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nx-nav__link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nx-nav__link:hover { background: rgba(39, 242, 210, .06); border-color: var(--line); }
  .nx-nav__link[aria-current="page"] { background: transparent; border-color: var(--line); }
  .nx-nav__link[aria-current="page"]::after { left: auto; right: 4px; bottom: 50%; width: 22px; height: 2px; margin-bottom: -1px; }
  .nx-nav__foot { display: block; margin-top: 20px; }
  .nx-nav__foot .nx-cta { display: inline-flex; width: 100%; }
  .nx-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-footer__brand { grid-column: 1 / -1; }
  .nx-contact { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nx-footer__top { grid-template-columns: minmax(0, 1fr); }
  .nx-contact, .nx-footer__brand { grid-column: auto; }
}
@media (max-width: 620px) {
  .nx-header__strip { display: none; }
  .nx-brand__mark { width: 36px; height: 36px; font-size: 11.5px; }
  .nx-brand__name { font-size: 18px; }
  .nx-brand__latin { font-size: 9px; letter-spacing: .2em; }
  .nx-tools .nx-cta { display: none; }
  .nx-nav__foot .nx-cta { display: inline-flex; }
  .nx-navbtn__text { display: none; }
  .nx-footer__legal { flex-direction: column; align-items: flex-start; }
  .nx-toTop { padding: 9px 12px; font-size: 10.5px; }
  .nx-section__index { font-size: 2rem; }
}
@media (max-width: 420px) {
  .nx-brand__latin { display: none; }
}

/* ---------- 14. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .nx-js [data-reveal] { opacity: 1; transform: none; }
  .nx-card:hover, .nx-btn:hover, .nx-cta:hover { transform: none; }
}
