/*
Theme Name: 星图环境 Xingtu Astro
Theme URI: https://example.com/themes/xingtu-astro
Author: 观星老涂
Author URI: https://example.com/guanxinglaotu
Description: 为南京星图环境科技有限公司定制的中文企业主题,核心识别是「深空星图」:近黑靛蓝(#0a1026)大面积星空底,叠极淡星点噪纹与一条克制的斜向银河带;星金(#e6c56a)做离散星点、直线星座连线与关键标题,冷白(#dfe6f5)写正文,星云紫与信号青仅小面积点缀。首屏是一整幅天球坐标盘(赤经赤纬网格弧 + 度数刻度环 + 中心一座喷淋塔「新星」,喷淋水滴化作下落流星短线);卡片是「星图卡片」(四角小星 + 右上角赤经赤纬标注),数据用「星等标度」,流程做成「观测步骤」,案例写成「观测记录」。哑光不发光,无玻璃拟态、无霓虹青主色、无橙色。演示用虚构主题,零外链,纯 CSS 与内联 SVG。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: xingtu-astro
Tags: business, custom-menu, custom-logo, two-columns, right-sidebar, translation-ready, full-width-template
*/

/* ==================================================
   0. 变量:星空底 / 星金 / 冷白 / 星云紫 / 信号青
================================================== */
:root {
  --space: #0a1026;          /* 近黑靛蓝:主星空底 */
  --space-deep: #060a1a;     /* 更深空:hero / 页脚 / 深区块 */
  --panel: #0f1734;          /* 星图卡片底 */
  --panel-2: #101a3d;        /* 区块交替底(略亮) */
  --panel-3: #0c1430;        /* 面板深格 */

  --star-gold: #e6c56a;      /* 星金:星点 / 星座连线 / 关键标题 */
  --gold-bright: #f4dc94;    /* 亮金:恒星点亮高光 */
  --gold-deep: #b8934a;      /* 暗金:连线次级 / 边饰 */

  --white: #dfe6f5;          /* 冷白:正文(星空底上 ≥7:1) */
  --white-2: #aeb8d4;        /* 冷白次级(≥7:1 副文本) */
  --coord: #9aa6c8;          /* 坐标 / 星等等宽标(≥7:1) */

  --nebula: #6a5bd0;         /* 星云紫:当前项 / 小面积强调 */
  --signal: #4aa0b5;         /* 信号青:链接 hover / 告警(小面积) */

  --ink-line: rgba(122, 142, 224, .22);   /* 1px 靛边 */
  --ink-line-2: rgba(122, 142, 224, .13);  /* 极淡靛线 */
  --grid-arc: rgba(150, 168, 232, .16);    /* 天球网格弧 */

  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "Source Han Sans SC", "Noto Sans SC", "WenQuanYi Micro Hei", sans-serif;
  --mono: "SFMono-Regular", "JetBrains Mono", "Roboto Mono", "DejaVu Sans Mono", "Consolas", "Courier New", monospace;

  --radius: 3px;
  --wrap: 1180px;
  --gap: clamp(16px, 2.4vw, 26px);
}

/* ==================================================
   1. 基础 / 星空底纹 / 银河带
================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.78;
  color: var(--white);
  background-color: var(--space);
  /* 极淡离散星点噪纹(两档密度)+ 一条克制的斜向银河带 */
  background-image:
    radial-gradient(circle 1.1px at 24px 32px, rgba(230, 197, 106, .16) 0 1.1px, transparent 1.8px),
    radial-gradient(circle .9px at 78px 96px, rgba(223, 230, 245, .13) 0 .9px, transparent 1.5px),
    radial-gradient(circle .8px at 132px 40px, rgba(223, 230, 245, .10) 0 .8px, transparent 1.4px),
    linear-gradient(114deg, transparent 40%, rgba(122, 138, 214, .05) 47%, rgba(106, 91, 208, .05) 53%, transparent 62%);
  background-size: 160px 160px, 200px 200px, 240px 240px, 100% 100%;
  background-position: 0 0, 0 0, 0 0, center;
  background-repeat: repeat, repeat, repeat, no-repeat;
  background-attachment: scroll, scroll, scroll, fixed;
  word-break: break-word;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sans);
  font-weight: 800;
  line-height: 1.32;
  color: var(--white);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
img { max-width: 100%; height: auto; }
a { color: var(--star-gold); text-decoration-thickness: 1.2px; text-underline-offset: 3px; transition: color .18s ease; }
a:hover { color: var(--signal); }
hr { border: 0; border-top: 1px solid var(--ink-line); margin: 2em 0; }
strong, b { color: #fff; font-weight: 800; }
code, kbd, samp { font-family: var(--mono); background: var(--space-deep); color: var(--star-gold); padding: .06em .38em; border-radius: 2px; font-size: .92em; }

::selection { background: var(--star-gold); color: #17110a; }
:focus-visible { outline: 2px solid var(--star-gold); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 26px; padding-right: 26px; }

/* 等宽数字:坐标 / 星等 / 编号 */
.mono, .desig, .stat-num, .stat-unit, .param-v, .spec-table td,
.rec-v-num, .aside-tel, .brand-sub, .error-code, .card-coord, .rec-no, .mag-scale-num {
  font-family: var(--mono);
}
.stat-num, .param-v, .spec-table td { font-variant-numeric: tabular-nums; }

/* 位号 / 大写英文星座名点缀(SCRUBBER MAJOR) */
.desig {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .16em;
  color: var(--coord);
  text-transform: uppercase;
}

/* 无障碍 */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  overflow: hidden; position: absolute !important;
  word-wrap: normal !important;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--star-gold); color: #17110a;
  padding: 10px 18px; border-radius: 0 0 var(--radius) 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ==================================================
   2. 页头:品牌星徽 + 主导航
================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 26, .86);
  border-bottom: 1px solid var(--ink-line);
  transition: background .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(6, 10, 26, .96);
  border-bottom-color: rgba(230, 197, 106, .28);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 70px;
}
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand-mark { display: inline-flex; width: 42px; height: 42px; flex: 0 0 auto; }
.brand-mark svg { display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 1.12rem; color: var(--white); letter-spacing: .02em; }
.brand-sub { font-size: .64rem; letter-spacing: .24em; color: var(--star-gold); text-transform: uppercase; margin-top: 2px; }

.site-nav { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  width: 44px; height: 40px; padding: 0;
  background: transparent; border: 1px solid var(--ink-line); border-radius: var(--radius);
  cursor: pointer; position: relative;
}
.nav-toggle .bar {
  display: block; width: 20px; height: 2px; margin: 3px auto;
  background: var(--star-gold); transition: transform .22s ease, opacity .22s ease;
}
.primary-menu, .footer-menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 4px; }
.primary-menu li { position: relative; }
.primary-menu a {
  display: block; padding: 9px 14px; text-decoration: none;
  color: var(--white-2); font-weight: 600; font-size: .96rem; border-radius: var(--radius);
  transition: color .18s ease, background .18s ease;
}
.primary-menu a:hover { color: var(--star-gold); background: rgba(122, 142, 224, .08); }
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a { color: var(--gold-bright); }
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
  content: ""; display: block; width: 5px; height: 5px; margin: 3px auto 0;
  background: var(--nebula); border-radius: 50%;
}

/* ==================================================
   3. 按钮:深底金边,hover 如恒星点亮
================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius);
  font-family: var(--sans); font-weight: 700; font-size: .96rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  color: var(--star-gold); background: transparent;
  border: 1px solid var(--gold-deep);
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover {
  color: var(--gold-bright); border-color: var(--star-gold);
  background: rgba(230, 197, 106, .07);
}
.btn--nova {
  color: #17110a; background: var(--star-gold); border-color: var(--star-gold);
  font-weight: 800;
}
.btn--nova:hover {
  color: #17110a; background: var(--gold-bright); border-color: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(244, 220, 148, .5), 0 0 14px rgba(230, 197, 106, .28);
}

/* ==================================================
   4. 通用区块 / 标题
================================================== */
.site-main { display: block; }
.section { padding: clamp(48px, 7vw, 90px) 0; position: relative; }
.section--deep { background: var(--space-deep); border-top: 1px solid var(--ink-line-2); border-bottom: 1px solid var(--ink-line-2); }
.section--alt { background: var(--panel-2); border-top: 1px solid var(--ink-line-2); border-bottom: 1px solid var(--ink-line-2); }

.sec-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 48px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--star-gold); margin: 0 0 12px;
}
.kicker::before {
  content: ""; width: 6px; height: 6px; background: var(--star-gold);
  border-radius: 50%; box-shadow: 0 0 0 3px rgba(230, 197, 106, .15);
}
.sec-title { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0 0 .5em; }
.sec-title .con-badge { vertical-align: middle; margin-left: 12px; }
.sec-lead { color: var(--white-2); font-size: 1.03rem; margin: 0; }

/* 星座徽(区块标题旁 SVG) */
.con-badge { display: inline-block; width: 54px; height: 30px; }
.con-badge svg { display: block; overflow: visible; }

/* ==================================================
   5. 星点分隔线(一串由亮到暗的星点)
================================================== */
.star-divider { margin: 0; padding: 8px 0; line-height: 0; }
.star-divider svg { display: block; width: 100%; height: 26px; }

/* ==================================================
   6. Hero:天球坐标盘 + 喷淋塔新星
================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--space-deep);
  border-bottom: 1px solid var(--ink-line);
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 88px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle 1.2px at 40px 60px, rgba(230, 197, 106, .22) 0 1.2px, transparent 2px),
    radial-gradient(circle 1px at 140px 180px, rgba(223, 230, 245, .16) 0 1px, transparent 1.6px),
    radial-gradient(circle .9px at 260px 90px, rgba(223, 230, 245, .12) 0 .9px, transparent 1.5px),
    radial-gradient(1200px 520px at 78% 30%, rgba(106, 91, 208, .12), transparent 70%);
  background-size: 300px 300px, 340px 340px, 280px 280px, 100% 100%;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 620px; }
.slogan-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px; border: 1px solid var(--ink-line); border-radius: 999px;
  font-size: .8rem; color: var(--white-2); letter-spacing: .03em; margin-bottom: 20px;
}
.slogan-chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--star-gold); box-shadow: 0 0 0 3px rgba(230, 197, 106, .16); }
.hero-title { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.16; margin: 0 0 18px; letter-spacing: .005em; }
.hero-title .line { display: block; }
.hero-title .mark { color: var(--star-gold); }
.hero-lede { font-size: 1.08rem; color: var(--white-2); margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-tags { font-family: var(--mono); font-size: .8rem; color: var(--coord); letter-spacing: .02em; margin: 0; }

.hero-figure { margin: 0; position: relative; }
.hero-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.hero-cap { margin-top: 12px; text-align: center; font-family: var(--mono); font-size: .72rem; color: var(--coord); letter-spacing: .08em; }

/* 天球盘线条 */
.disk-ring { fill: none; stroke: var(--grid-arc); }
.disk-tick { stroke: var(--gold-deep); }
.disk-tick-major { stroke: var(--star-gold); }
.disk-grid { fill: none; stroke: var(--grid-arc); stroke-width: 1; }
.disk-tower { fill: none; stroke: var(--white); stroke-width: 1.7; stroke-linejoin: round; }
.disk-pool { fill: var(--star-gold); opacity: .42; }
.disk-star { fill: var(--star-gold); }
.disk-star-h { fill: none; stroke: var(--star-gold); }
.disk-con { stroke: var(--star-gold); stroke-width: 1; fill: none; opacity: .85; }
.disk-label { fill: var(--coord); font-family: var(--mono); }
.disk-nova { fill: var(--gold-bright); }

/* 中央新星脉动 + 流星短线 */
.nova-core { transform-origin: center; animation: nova-pulse 3.6s ease-in-out infinite; }
.meteor { stroke: var(--gold-bright); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 9 46; stroke-dashoffset: 0; opacity: 0; animation: meteor-fall 2.6s linear infinite; }
.meteor.m2 { animation-delay: .7s; }
.meteor.m3 { animation-delay: 1.35s; }
.meteor.m4 { animation-delay: 1.9s; }

@keyframes nova-pulse {
  0%, 100% { opacity: .78; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.14); }
}
@keyframes meteor-fall {
  0% { stroke-dashoffset: 30; opacity: 0; }
  16% { opacity: 1; }
  70% { opacity: .5; }
  100% { stroke-dashoffset: -55; opacity: 0; }
}

/* ==================================================
   7. 星等标度数据区 / 统计
================================================== */
.stat-panel { border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--panel-3); padding: clamp(22px, 3vw, 34px); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 34px); }
.stat { display: flex; flex-direction: column; gap: 6px; position: relative; padding-left: 22px; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 9px; height: 9px; background: var(--star-gold); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(230, 197, 106, .12);
}
.stat-value { display: flex; align-items: baseline; gap: 4px; }
.stat-num { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; color: var(--gold-bright); line-height: 1; }
.stat-unit { font-size: 1rem; color: var(--star-gold); }
.stat-label { font-size: .9rem; color: var(--white-2); }

/* 星等图例 */
.mag-legend { display: flex; flex-wrap: wrap; gap: 20px 30px; align-items: flex-end; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--ink-line); }
.mag-item { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 78px; }
.mag-star { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; }
.mag-star .core { fill: var(--star-gold); }
.mag-star .halo { fill: none; stroke: var(--star-gold); opacity: .5; }
.mag-scale-num { font-size: 1.02rem; font-weight: 700; color: var(--gold-bright); }
.mag-item .cap { font-size: .8rem; color: var(--white-2); text-align: center; }

/* ==================================================
   8. 观测步骤(流程)
================================================== */
.obs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.step {
  position: relative; padding: 26px 22px 24px;
  background: var(--panel); border: 1px solid var(--ink-line); border-radius: var(--radius);
}
.step-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--star-gold);
  margin-bottom: 14px;
}
.step-tag .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border: 1px solid var(--gold-deep); border-radius: 50%;
  color: var(--gold-bright); font-weight: 700; font-size: .92rem;
}
.step h3 { font-size: 1.14rem; margin: 0 0 8px; }
.step p { color: var(--white-2); font-size: .95rem; margin: 0; }
.step + .step::before {
  content: ""; position: absolute; left: -1px; top: 50%; width: 0; height: 0;
}

/* ==================================================
   9. 星图卡片(通用):四角小星 + 右上坐标
================================================== */
.star-card {
  position: relative;
  background-color: var(--panel);
  background-image:
    radial-gradient(circle 1.5px at 9px 9px, var(--star-gold) 0 1.5px, transparent 2.4px),
    radial-gradient(circle 1.5px at calc(100% - 9px) 9px, var(--star-gold) 0 1.5px, transparent 2.4px),
    radial-gradient(circle 1.5px at 9px calc(100% - 9px), var(--star-gold) 0 1.5px, transparent 2.4px),
    radial-gradient(circle 1.5px at calc(100% - 9px) calc(100% - 9px), var(--star-gold) 0 1.5px, transparent 2.4px);
  background-repeat: no-repeat;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.card-coord {
  position: absolute; top: 12px; right: 14px;
  font-size: .64rem; letter-spacing: .06em; color: var(--coord);
}

/* 主星设备网格(产品) */
.star-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.star-card.model { display: flex; flex-direction: column; }
.model-desig { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--star-gold); text-transform: uppercase; }
.model-fig { display: flex; justify-content: center; margin: 12px 0 14px; }
.model-fig svg { display: block; overflow: visible; }
.model-name { font-family: var(--mono); font-size: .82rem; color: var(--coord); margin: 0 0 4px; letter-spacing: .04em; }
.star-card.model h3 { font-size: 1.2rem; margin: 0 0 8px; }
.star-card.model h3 a { color: var(--white); text-decoration: none; }
.star-card.model h3 a:hover { color: var(--star-gold); }
.model-desc { color: var(--white-2); font-size: .95rem; margin: 0 0 14px; }
.spec-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips li {
  font-family: var(--mono); font-size: .74rem; color: var(--white);
  border: 1px solid var(--ink-line); border-radius: 999px; padding: 4px 11px;
}
.card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--star-gold); }
.card-link:hover { color: var(--signal); }

/* ==================================================
   10. 观测记录(案例)
================================================== */
.record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.record-card { display: flex; flex-direction: column; }
.rec-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--ink-line); }
.rec-title { font-size: 1.1rem; margin: 0; }
.rec-no { font-size: .68rem; color: var(--coord); white-space: nowrap; padding-top: 4px; }
.rec-rows { list-style: none; margin: 0 0 14px; padding: 0; }
.rec-row { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--ink-line-2); font-size: .92rem; }
.rec-row:last-child { border-bottom: 0; }
.rec-k { flex: 0 0 66px; color: var(--coord); font-size: .82rem; }
.rec-v { color: var(--white); }
.rec-v-num { color: var(--gold-bright); font-weight: 700; }
.obs-badge {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; color: var(--star-gold);
  border: 1px solid var(--gold-deep); border-radius: 999px; padding: 5px 12px;
}
.obs-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }

/* 演示徽标 */
.demo-badge {
  display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  color: var(--coord); border: 1px dashed var(--ink-line); border-radius: 999px; padding: 3px 10px;
}

/* ==================================================
   11. 参数面板(数据)
================================================== */
.param-panel { border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--panel); padding: 24px 22px; }
.param-panel .desig { display: block; margin-bottom: 14px; }
.param-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--ink-line-2); }
.param-row:last-of-type { border-bottom: 0; }
.param-k { color: var(--white-2); font-size: .95rem; }
.param-v { color: var(--gold-bright); font-weight: 700; }
.param-v .u { color: var(--star-gold); font-weight: 400; font-size: .82em; margin-left: 3px; }
.param-note, .spec-note { font-family: var(--mono); font-size: .74rem; color: var(--coord); margin: 14px 0 0; }

/* ==================================================
   12. 数据分栏 / 关于 / 联系
================================================== */
.data-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--gap); align-items: start; }

.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 52px); align-items: start; }
.about-copy p { color: var(--white-2); }
.about-notes { display: flex; flex-direction: column; gap: var(--gap); }
.note-card { }
.field-label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; color: var(--star-gold); text-transform: uppercase; margin-bottom: 8px; }
.note-card p { color: var(--white-2); margin: 0; font-size: .96rem; }

.contact-wrap { border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--panel-3); padding: clamp(26px, 4vw, 46px); }
.contact-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.contact-inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 12px; }
.contact-inner p { color: var(--white-2); }
.contact-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.contact-fields { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-fields li { display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--ink-line-2); }
.contact-fields li:last-child { border-bottom: 0; }
.ck { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--star-gold); flex: 0 0 46px; }
.contact-fields span:last-child { color: var(--white); }

/* ==================================================
   13. 页面头 / 归档 / 列表 / 文章
================================================== */
.page-header { padding: clamp(34px, 5vw, 60px) 0 clamp(20px, 3vw, 34px); border-bottom: 1px solid var(--ink-line-2); background: var(--space-deep); position: relative; }
.page-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin: 0; }
.archive-desc { color: var(--white-2); margin: 12px 0 0; max-width: 720px; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; font-family: var(--mono); font-size: .82rem; color: var(--coord); }
.entry-meta a { color: var(--coord); }
.entry-meta a:hover { color: var(--signal); }

.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(26px, 4vw, 48px); padding-top: clamp(30px, 4vw, 50px); padding-bottom: clamp(40px, 6vw, 72px); align-items: start; }
.layout-one { padding-top: clamp(30px, 4vw, 50px); padding-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.entries { display: flex; flex-direction: column; gap: var(--gap); }
.entries .entry-card h2 { margin: 0; }

.entry-card { }
.entry-card .entry-meta { margin-top: 0; margin-bottom: 10px; }
.entry-title { font-size: 1.3rem; margin: 0 0 8px; }
.entry-title a { color: var(--white); text-decoration: none; }
.entry-title a:hover { color: var(--star-gold); }
.entry-ex { color: var(--white-2); font-size: .96rem; }
.entry-ex p { margin: 0; }
.more-link { display: inline-block; margin-top: 10px; font-weight: 700; text-decoration: none; color: var(--star-gold); }
.more-link:hover { color: var(--signal); }

.product-thumb { margin: 0 0 20px; border: 1px solid var(--ink-line); border-radius: var(--radius); overflow: hidden; }
.product-thumb img { display: block; width: 100%; }

.entry-content { color: var(--white); }
.entry-content h2 { font-size: 1.5rem; margin: 1.4em 0 .5em; }
.entry-content h3 { font-size: 1.22rem; margin: 1.3em 0 .5em; }
.entry-content a { color: var(--star-gold); }
.entry-content a:hover { color: var(--signal); }
.entry-content blockquote {
  margin: 1.4em 0; padding: 6px 20px; border-left: 2px solid var(--star-gold);
  color: var(--white-2); background: rgba(122, 142, 224, .06);
}
.entry-content img { border-radius: var(--radius); }
.entry-content ul li::marker, .entry-content ol li::marker { color: var(--star-gold); }

.post-tags { margin-top: 24px; font-family: var(--mono); font-size: .84rem; color: var(--coord); }
.post-tags a { color: var(--star-gold); }
.post-nav { margin-top: 30px; display: flex; gap: 16px; flex-wrap: wrap; }
.post-nav a { flex: 1 1 220px; display: block; padding: 16px; border: 1px solid var(--ink-line); border-radius: var(--radius); text-decoration: none; background: var(--panel); }
.post-nav .nav-label { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--star-gold); text-transform: uppercase; margin-bottom: 4px; }
.post-nav .nav-title { color: var(--white); }
.page-links { margin-top: 24px; font-family: var(--mono); font-size: .86rem; color: var(--coord); display: flex; gap: 8px; flex-wrap: wrap; }
.page-links a { color: var(--star-gold); }

.pagination { margin-top: clamp(28px, 4vw, 44px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px;
  border: 1px solid var(--ink-line); border-radius: var(--radius); text-decoration: none;
  font-family: var(--mono); color: var(--white); background: var(--panel);
}
.pagination .page-numbers:hover { border-color: var(--star-gold); color: var(--star-gold); }
.pagination .page-numbers.current { background: var(--star-gold); color: #17110a; border-color: var(--star-gold); font-weight: 700; }

/* ==================================================
   14. 产品单页 / 归档
================================================== */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(26px, 4vw, 46px); padding-top: clamp(30px, 4vw, 50px); padding-bottom: clamp(40px, 6vw, 72px); align-items: start; }
.product-main .entry-content { margin-top: 20px; }
.product-fig-fallback { display: flex; justify-content: center; padding: 20px; border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--panel-3); }
.product-fig-fallback svg { display: block; overflow: visible; }

.aside-panel { border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--panel); padding: 22px; position: sticky; top: 92px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 4px; }
.spec-table caption { text-align: left; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--star-gold); padding-bottom: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 8px; border-bottom: 1px dashed var(--ink-line-2); font-size: .9rem; vertical-align: top; }
.spec-table thead th { color: var(--coord); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--ink-line); }
.spec-table tbody th { color: var(--white-2); font-weight: 600; width: 40%; }
.spec-table tbody td { color: var(--white); }
.spec-table .mag { color: var(--gold-bright); font-weight: 700; }

.aside-cta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ink-line); }
.aside-cta .field-label { margin-bottom: 12px; }
.aside-cta .btn { width: 100%; justify-content: center; }
.aside-tel { display: block; text-align: center; margin-top: 12px; font-size: 1.05rem; color: var(--gold-bright); letter-spacing: .04em; }
.supplier-note { margin: 14px 0 0; font-size: .82rem; color: var(--white-2); }

.related { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--ink-line); }
.related h2 { font-size: 1.15rem; margin: 0 0 12px; }
.related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.related a { color: var(--star-gold); text-decoration: none; }
.related a:hover { color: var(--signal); }

/* ==================================================
   15. 侧栏 / 挂件 / 搜索
================================================== */
.widget-area { display: flex; flex-direction: column; gap: var(--gap); }
.widget { border: 1px solid var(--ink-line); border-radius: var(--radius); background: var(--panel); padding: 20px; }
.widget-title { font-size: 1.02rem; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ink-line); color: var(--white); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px dashed var(--ink-line-2); }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--white-2); text-decoration: none; }
.widget a:hover { color: var(--star-gold); }
.log-list a { color: var(--white); }
.log-list a:hover { color: var(--star-gold); }

.search-form { display: flex; gap: 8px; }
.search-field-wrap { flex: 1 1 auto; }
.search-field {
  width: 100%; padding: 10px 12px; font-size: .95rem;
  background: var(--space-deep); color: var(--white);
  border: 1px solid var(--ink-line); border-radius: var(--radius);
}
.search-field::placeholder { color: var(--coord); }
.search-field:focus { outline: none; border-color: var(--star-gold); }
.search-submit { white-space: nowrap; }

/* ==================================================
   16. 空状态 / 404
================================================== */
.empty-note { text-align: center; max-width: 560px; margin: 0 auto; padding: clamp(30px, 5vw, 56px) 20px; }
.empty-note svg { margin: 0 auto 18px; display: block; }
.empty-title { font-size: 1.5rem; margin: 0 0 10px; }
.empty-desc { color: var(--white-2); margin: 0 0 20px; }
.empty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 22px; }
.empty-note .search-form { max-width: 400px; margin: 0 auto; }
.sec-404 { padding: clamp(50px, 8vw, 100px) 0; }
.error-code { display: block; font-size: .82rem; letter-spacing: .2em; color: var(--signal); margin-bottom: 12px; }

/* ==================================================
   17. 页脚
================================================== */
.site-footer { background: var(--space-deep); border-top: 1px solid var(--ink-line); margin-top: 0; position: relative; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(26px, 4vw, 52px); padding-top: clamp(40px, 5vw, 62px); padding-bottom: 34px; }
.footer-col { }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand svg { display: block; flex: 0 0 auto; }
.footer-title { font-size: 1.06rem; margin: 0 0 14px; color: var(--white); }
.footer-about p { color: var(--white-2); font-size: .95rem; }
.footer-slogan { color: var(--star-gold); font-family: var(--mono); font-size: .86rem; letter-spacing: .04em; }
.footer-menu li { padding: 6px 0; }
.footer-menu a { color: var(--white-2); text-decoration: none; }
.footer-menu a:hover { color: var(--star-gold); }
.footer-contact { font-style: normal; display: flex; flex-direction: column; gap: 10px; color: var(--white-2); font-size: .95rem; }
.footer-contact span { display: block; }
.footer-supplier { max-width: 100%; color: var(--white-2); font-size: .88rem; padding: 20px 0; border-top: 1px solid var(--ink-line-2); margin: 0; }
.footer-legal { padding: 18px 0 30px; border-top: 1px solid var(--ink-line-2); color: var(--coord); font-size: .82rem; }
.footer-legal p { margin: 0 0 6px; }

/* ==================================================
   18. reveal 入场(仅 html.js 隐藏)
================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.delay-1 { transition-delay: .1s; }
.js .reveal.delay-2 { transition-delay: .2s; }
.js .reveal.delay-3 { transition-delay: .3s; }

/* ==================================================
   19. 响应式:≤980 / ≤768 汉堡
================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; margin: 0 auto; order: -1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .obs-steps { grid-template-columns: 1fr; }
  .star-grid, .record-grid { grid-template-columns: 1fr; }
  .data-layout, .about-grid, .contact-inner, .product-layout, .layout-side { grid-template-columns: 1fr; }
  .aside-panel { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .site-nav { position: static; }
  .nav-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--space-deep); border-bottom: 1px solid var(--ink-line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-header.nav-open .nav-panel { max-height: 78vh; overflow-y: auto; }
  .site-header.nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .site-header.nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  .primary-menu { flex-direction: column; align-items: stretch; padding: 10px 26px 20px; gap: 0; }
  .primary-menu a { padding: 13px 6px; border-bottom: 1px solid var(--ink-line-2); }
  .primary-menu .current-menu-item > a::after,
  .primary-menu .current_page_item > a::after { margin: 6px 0 0; }
}

@media (max-width: 560px) {
  .stat-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions .btn, .empty-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ==================================================
   20. 尊重「减少动态效果」
================================================== */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .nova-core, .meteor { animation: none !important; }
  .meteor { opacity: .85; stroke-dashoffset: 0; }
  .nova-core { opacity: 1; transform: none; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, a, .site-header, .nav-panel { transition: none !important; }
}
