/*
Theme Name: 品速环保 Pinsu Pixel
Theme URI: https://example.com/pinsu-pixel/
Author: 老G
Author URI: https://example.com/
Description: 为洛阳品速环保设备有限公司(虚构演示)定制的 8-bit 像素复古游戏风企业主题。CMYK 撞色(品红 #e6007e × 青 #00b3b3),浅米灰掌机壳底色,阶梯式 box-shadow 像素描边卡片,红白机菜单按钮,血条式数据面板,关卡地图工艺流程,像素喷淋塔水滴动画。全站零外链、纯 CSS/SVG 自包含,禁止圆角、柔和阴影与渐变。
Version: 1.0.0
Requires at least: 5.9
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: pinsu-pixel
Tags: custom-logo, custom-menu, featured-images, translation-ready, two-columns
*/

/* ==== 1. 变量与重置 ==== */
:root {
  --bg: #ececdf;
  --bg-2: #dfdfcd;
  --paper: #f7f7ec;
  --ink: #2b2b40;
  --ink-soft: #55556e;
  --magenta: #e6007e;
  --magenta-dark: #a3005a;
  --cyan: #00b3b3;
  --cyan-dark: #007d7d;
  --cyan-lite: #7fe7e7;
  --shadow: #c9c9b4;
  --font-main: "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Consolas, "Courier New", monospace;
  --pxb: 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink);
}
* , *::before, *::after { box-sizing: border-box; border-radius: 0 !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--magenta); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
h1, h2, h3, h4 { line-height: 1.3; letter-spacing: .08em; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 4px solid var(--cyan); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.px-num { font-family: var(--font-mono); letter-spacing: .04em; }

/* ==== 2. 无障碍 ==== */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  overflow: hidden; word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed !important; top: 8px; left: 8px; z-index: 999;
  width: auto; height: auto; clip: auto; clip-path: none;
  background: var(--ink); color: #fff; padding: 12px 18px; font-weight: 700;
}

/* ==== 3. 像素部件:按钮 / 芯片 / 分隔线 / 卡片 ==== */
.px-btn {
  display: inline-block;
  background: var(--magenta);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .12em;
  padding: 13px 24px 13px 38px;
  margin: 4px 12px 12px 4px;
  border: 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
  box-shadow: var(--pxb), 8px 8px 0 0 var(--ink);
  font-family: inherit;
}
.px-btn::before {
  content: "►";
  position: absolute; left: 14px; top: 50%;
  margin-top: -.75em; line-height: 1.5;
  font-size: 13px; visibility: hidden;
}
.px-btn:hover { text-decoration: none; background: var(--magenta-dark); }
.px-btn:hover::before { visibility: visible; }
.px-btn:active { transform: translate(2px, 2px); box-shadow: var(--pxb); }
.px-btn--cyan { background: var(--cyan); }
.px-btn--cyan:hover { background: var(--cyan-dark); }
.px-btn--ghost { background: var(--paper); color: var(--ink); }
.px-btn--ghost::before { color: var(--magenta); }
.px-btn--ghost:hover { background: var(--bg-2); }
.px-btn--ink { background: var(--ink); }
.px-btn--ink:hover { background: #1c1c2c; }

.px-chip {
  display: inline-block;
  background: var(--ink); color: #fff;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  padding: 4px 12px; margin: 0 8px 8px 0;
  text-transform: uppercase;
}
.px-chip--magenta { background: var(--magenta); }
.px-chip--cyan { background: var(--cyan); }
.px-chip--paper { background: var(--paper); color: var(--ink); box-shadow: 0 0 0 2px var(--ink); }

.px-divider {
  height: 8px; border: 0; margin: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px),
    repeating-linear-gradient(90deg, transparent 0 8px, var(--ink) 8px 16px);
  background-size: 16px 4px, 16px 4px;
  background-position: 0 0, 0 4px;
  background-repeat: repeat-x, repeat-x;
  opacity: .35;
}

.px-card {
  background: var(--paper);
  box-shadow: var(--pxb), 10px 12px 0 0 var(--shadow);
  padding: 26px 26px 20px;
  margin: 4px;
  position: relative;
}
.px-card--flat { box-shadow: var(--pxb); }
.px-card--ink { background: var(--ink); color: #f1f1e6; }
.px-card--ink a { color: var(--cyan-lite); }

/* ==== 4. 站头与导航 ==== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--bg);
  border-bottom: 4px solid var(--ink);
}
.site-header.is-scrolled { background: var(--paper); box-shadow: 0 6px 0 0 var(--shadow); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.site-header.is-scrolled .header-bar { padding-top: 8px; padding-bottom: 8px; }
.brand-link { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-link:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; background: var(--ink); padding: 4px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name {
  font-weight: 900; font-size: 20px; letter-spacing: .1em;
  text-shadow: 2px 2px 0 var(--cyan-lite);
  display: inline-flex; align-items: center; gap: 6px;
}
.brand-name::after {
  content: ""; width: 9px; height: 17px; background: var(--magenta);
  animation: px-blink 1s steps(2, start) infinite;
}
.brand-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .22em; color: var(--ink-soft); text-transform: uppercase; }
.custom-logo-link { display: inline-block; }
.custom-logo { image-rendering: pixelated; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; flex-wrap: wrap; }
.nav-list a {
  display: block; padding: 10px 13px;
  color: var(--ink); font-weight: 700; font-size: 15px; letter-spacing: .06em;
}
.nav-list a::before { content: "►"; color: var(--magenta); font-size: 11px; margin-right: 6px; visibility: hidden; }
.nav-list a:hover { background: var(--ink); color: #fff; text-decoration: none; }
.nav-list a:hover::before { visibility: visible; color: var(--cyan-lite); }
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { background: var(--magenta); color: #fff; }

.nav-toggle {
  display: none;
  background: var(--paper); border: 0; cursor: pointer;
  width: 52px; height: 48px; padding: 0; margin: 4px 8px 8px 4px;
  box-shadow: var(--pxb), 6px 6px 0 0 var(--ink);
}
.nav-toggle:active { transform: translate(2px, 2px); box-shadow: var(--pxb); }
.nav-toggle-box { display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 100%; height: 100%; position: relative; }
.nav-toggle .bar { display: block; width: 24px; height: 4px; background: var(--ink); }
body.nav-open .nav-toggle .bar { display: none; }
body.nav-open .nav-toggle-box::after {
  content: ""; position: absolute; left: 50%; top: 50%; margin: -2px 0 0 -2px;
  width: 4px; height: 4px; background: var(--magenta);
  box-shadow: -8px -8px 0 var(--magenta), -4px -4px 0 var(--magenta),
    4px 4px 0 var(--magenta), 8px 8px 0 var(--magenta),
    8px -8px 0 var(--magenta), 4px -4px 0 var(--magenta),
    -4px 4px 0 var(--magenta), -8px 8px 0 var(--magenta);
}

/* ==== 5. Hero 与像素喷淋塔 ==== */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-kicker { margin-bottom: 18px; }
.hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  letter-spacing: .1em; margin-bottom: 20px; line-height: 1.25;
}
.hero-title .t-ink { color: var(--ink); text-shadow: 4px 4px 0 var(--cyan-lite); display: inline-block; }
.hero-title .t-hot { color: var(--magenta); text-shadow: 4px 4px 0 var(--ink); display: inline-block; }
.hero-sub { font-size: 17px; max-width: 34em; color: var(--ink-soft); margin-bottom: 26px; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; }
.hero-tip { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--ink-soft); margin-top: 10px; }
.hero-tip .blink { display: inline-block; width: 8px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: px-blink 1s steps(2, start) infinite; }

.px-screen {
  background: var(--ink);
  box-shadow: var(--pxb), 12px 14px 0 0 var(--shadow);
  margin: 4px; padding: 18px 18px 0;
  position: relative;
}
.px-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0, 0, 0, .18) 3px 4px);
}
.screen-head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; color: var(--cyan-lite); padding-bottom: 10px; }
.screen-head .dot { display: inline-block; width: 8px; height: 8px; background: var(--magenta); margin-right: 8px; animation: px-blink 1.2s steps(2, start) infinite; }
.tower-svg { width: 100%; height: auto; shape-rendering: crispEdges; }
.tower-svg .drop { animation: px-fall 1.1s steps(6) infinite; }
.tower-svg .drop.d2 { animation-delay: .3s; }
.tower-svg .drop.d3 { animation-delay: .6s; }
.tower-svg .drop.d4 { animation-delay: .15s; }
.tower-svg .puff { animation: px-rise 2.2s steps(8) infinite; }
.tower-svg .puff.p2 { animation-delay: .7s; }
.tower-svg .puff.p3 { animation-delay: 1.4s; }
.tower-svg .fan-blades { animation: px-spin 1.6s steps(4) infinite; transform-box: fill-box; transform-origin: center; }
.screen-foot { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: #8f8fa8; padding: 10px 0 12px; }

/* ==== 6. 像素滚动字幕 ==== */
.marquee {
  background: var(--ink); color: #fff;
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
  overflow: hidden; position: relative;
}
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: px-marquee 26s linear infinite; }
.marquee-seg { display: inline-flex; gap: 44px; padding: 12px 22px; font-family: var(--font-mono); font-size: 14px; letter-spacing: .16em; }
.marquee-seg .m-hot { color: var(--magenta); }
.marquee-seg .m-cyan { color: var(--cyan-lite); }

/* ==== 7. 区块通用 ==== */
.section { padding: 78px 0; }
.section--tint { background: var(--bg-2); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.sec-head { margin-bottom: 40px; max-width: 720px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title { font-size: clamp(26px, 3.4vw, 40px); color: var(--magenta); text-shadow: 2px 2px 0 var(--ink); }
.sec-title--cyan { color: var(--cyan); }
.sec-desc { color: var(--ink-soft); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

/* ==== 8. 数据面板 / 血条 ==== */
.stat-card { text-align: left; }
.stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--ink-soft); text-transform: uppercase; margin-bottom: 8px; }
.stat-value { font-family: var(--font-mono); font-size: 38px; font-weight: 800; line-height: 1.1; color: var(--ink); text-shadow: 2px 2px 0 var(--cyan-lite); margin-bottom: 10px; }
.stat-value .unit { font-size: 16px; color: var(--ink-soft); text-shadow: none; margin-left: 4px; }
.hp { background: #fff; box-shadow: var(--pxb); height: 24px; padding: 4px; margin: 6px 4px 12px; }
.hp-fill {
  height: 100%; width: 0;
  background-image: repeating-linear-gradient(90deg, var(--magenta) 0 10px, #fff 10px 13px);
}
.hp--cyan .hp-fill { background-image: repeating-linear-gradient(90deg, var(--cyan) 0 10px, #fff 10px 13px); }
.hp-caption { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); display: flex; justify-content: space-between; }

/* ==== 9. 装备卡(产品) ==== */
.p-card { display: flex; flex-direction: column; padding: 0; overflow: visible; }
.p-thumb { background: var(--ink); padding: 22px; display: grid; place-items: center; min-height: 170px; }
.p-thumb img { image-rendering: pixelated; max-height: 190px; width: auto; }
.p-thumb svg { width: 96px; height: 96px; shape-rendering: crispEdges; }
.p-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.p-title { font-size: 21px; margin-bottom: 8px; }
.p-title a { color: var(--ink); }
.p-title a:hover { color: var(--magenta); text-decoration: none; }
.p-desc { color: var(--ink-soft); font-size: 15px; flex: 1; }
.p-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--cyan-dark); margin-bottom: 12px; }
.p-more { font-weight: 800; letter-spacing: .1em; font-size: 14px; color: var(--magenta); }
.p-more::before { content: "► "; font-size: 11px; }

/* ==== 10. 关卡地图(工艺流程) ==== */
.level-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; margin-top: 16px; }
.level-track::before {
  content: ""; position: absolute; top: 44px; left: 10%; right: 10%; height: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 10px, transparent 10px 20px);
}
.level-node { text-align: center; position: relative; }
.level-dot {
  width: 88px; height: 88px; margin: 4px auto 18px;
  background: var(--paper);
  box-shadow: var(--pxb), 6px 6px 0 0 var(--shadow);
  display: grid; place-items: center; position: relative; z-index: 1;
}
.level-dot svg { width: 44px; height: 44px; shape-rendering: crispEdges; }
.level-node--boss .level-dot { background: var(--magenta); }
.level-lv { position: absolute; top: -6px; left: 50%; transform: translateX(-58px); z-index: 2; }
.level-name { font-size: 18px; margin-bottom: 6px; }
.level-desc { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ==== 11. 通关记录(案例) ==== */
.rec-card { padding: 0; }
.rec-head { background: var(--ink); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rec-stage { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--cyan-lite); }
.rec-clear { background: var(--magenta); color: #fff; font-family: var(--font-mono); font-size: 11px; font-weight: 800; letter-spacing: .2em; padding: 3px 10px; }
.rec-body { padding: 20px 22px 22px; }
.rec-title { font-size: 19px; margin-bottom: 14px; }
.rec-list { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.rec-list li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 2px solid var(--bg-2); }
.rec-list li:last-child { border-bottom: 0; }
.rec-list .k { color: var(--ink-soft); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; flex: none; }
.rec-list .v { text-align: right; font-weight: 700; }
.rec-list .v.boss { color: var(--magenta); }

/* ==== 12. 成就徽章 / 材质说明 ==== */
.achv-card { text-align: center; padding: 26px 18px 22px; }
.achv-card svg { width: 56px; height: 56px; margin: 0 auto 14px; shape-rendering: crispEdges; }
.achv-name { font-size: 16px; margin-bottom: 4px; }
.achv-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); letter-spacing: .1em; margin: 0; }
.material-card { display: grid; grid-template-columns: 96px 1fr; gap: 26px; align-items: center; padding: 34px 36px; }
.material-card svg { width: 96px; height: 96px; shape-rendering: crispEdges; }
.material-title { font-size: 20px; color: var(--cyan-dark); margin-bottom: 8px; }
.material-text { margin: 0; font-size: 16px; }

/* ==== 13. 版本更新(新闻) ==== */
.news-card { display: flex; flex-direction: column; }
.news-date { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--cyan-dark); margin-bottom: 8px; }
.news-title { font-size: 18px; margin-bottom: 10px; }
.news-title a { color: var(--ink); }
.news-title a:hover { color: var(--magenta); text-decoration: none; }
.news-excerpt { font-size: 14px; color: var(--ink-soft); flex: 1; }

/* ==== 14. 组队入口 CTA ==== */
.cta-band { background: var(--ink); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); color: #fff; padding: 70px 0; }
.cta-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-title { font-size: clamp(26px, 3.6vw, 42px); color: #fff; text-shadow: 3px 3px 0 var(--magenta); }
.cta-desc { color: #b9b9cf; }
.cta-phone { font-family: var(--font-mono); font-size: clamp(22px, 3vw, 34px); font-weight: 800; color: var(--cyan-lite); text-shadow: 2px 2px 0 var(--magenta-dark); margin-bottom: 14px; display: block; }
.cta-side { text-align: left; }
.cta-side p { color: #b9b9cf; font-size: 14px; }

/* ==== 15. 页脚 ==== */
.site-footer { background: var(--ink); color: #cfcfe0; border-top: 4px solid var(--magenta); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 56px 24px 30px; }
.footer-title { color: #fff; font-size: 16px; letter-spacing: .16em; margin-bottom: 14px; text-shadow: 2px 2px 0 var(--magenta-dark); }
.footer-about { font-size: 14px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 6px; }
.footer-menu a { color: #cfcfe0; font-size: 14px; }
.footer-menu a::before { content: "► "; color: var(--cyan); font-size: 10px; }
.footer-menu a:hover { color: #fff; }
.footer-contact { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-contact li { margin-bottom: 8px; }
.footer-contact .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; color: var(--cyan-lite); display: block; }
.footer-supply { padding: 0 24px 26px; }
.footer-supply-inner { border: 2px solid var(--cyan-dark); padding: 14px 18px; font-size: 13px; color: #b9e9e9; font-family: var(--font-mono); letter-spacing: .04em; }
.footer-bottom { border-top: 2px solid #44445c; padding: 18px 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 12px; color: #8f8fa8; font-family: var(--font-mono); letter-spacing: .06em; }

/* ==== 16. 内页通用 ==== */
.page-hero { padding: 58px 0 46px; border-bottom: 4px solid var(--ink); background-image: repeating-linear-gradient(90deg, var(--bg-2) 0 8px, transparent 8px 64px); }
.page-hero-title { font-size: clamp(28px, 4vw, 44px); color: var(--ink); text-shadow: 3px 3px 0 var(--cyan-lite); margin-bottom: 8px; }
.page-hero-desc { color: var(--ink-soft); max-width: 46em; margin: 0; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; padding: 56px 0 72px; align-items: start; }
.layout--full { grid-template-columns: 1fr; }
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 26px; color: var(--magenta); text-shadow: 2px 2px 0 var(--ink); margin-top: 1.6em; }
.entry-content h3 { font-size: 20px; color: var(--cyan-dark); margin-top: 1.4em; }
.entry-content blockquote { margin: 1.4em 0; padding: 16px 22px; background: var(--paper); border-left: 8px solid var(--magenta); box-shadow: 4px 4px 0 0 var(--shadow); }
.entry-content code { font-family: var(--font-mono); background: var(--bg-2); padding: 2px 6px; font-size: 14px; }
.entry-content img { box-shadow: var(--pxb); margin: 4px; }
.entry-content table, .spec-table { width: 100%; border-collapse: collapse; border: 4px solid var(--ink); margin: 1.2em 0; background: var(--paper); }
.entry-content th, .spec-table th { background: var(--ink); color: #fff; text-align: left; padding: 10px 14px; font-size: 14px; letter-spacing: .1em; }
.entry-content td, .spec-table td { padding: 10px 14px; border-top: 2px solid var(--bg-2); font-size: 14px; }
.spec-table tr:nth-child(even) td { background: #efefe2; }
.entry-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); margin-bottom: 18px; }
.entry-meta a { color: var(--cyan-dark); }
.post-card { margin-bottom: 34px; }
.post-card .news-title { font-size: 22px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.post-nav a { font-weight: 700; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-block; min-width: 44px; text-align: center;
  padding: 9px 12px; background: var(--paper); color: var(--ink);
  font-family: var(--font-mono); font-weight: 800;
  box-shadow: var(--pxb), 5px 5px 0 0 var(--ink);
  margin: 4px 9px 9px 4px;
}
.pagination .page-numbers.current { background: var(--magenta); color: #fff; }
.pagination .page-numbers:hover { text-decoration: none; background: var(--bg-2); }
.pagination .page-numbers.current:hover { background: var(--magenta); }

/* 侧栏与部件 */
.widget { margin-bottom: 36px; padding: 22px 22px 18px; }
.widget-title { font-size: 15px; letter-spacing: .18em; color: var(--cyan-dark); margin-bottom: 14px; text-transform: uppercase; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 2px solid var(--bg-2); font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }
.widget a { color: var(--ink); }
.widget a:hover { color: var(--magenta); }

/* 表单 */
.search-form { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.search-form .search-field {
  flex: 1; min-width: 180px; border: 0; background: #fff; color: var(--ink);
  padding: 12px 14px; font-family: var(--font-mono); font-size: 14px;
  box-shadow: var(--pxb); margin: 4px;
}
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
  border: 0; background: #fff; color: var(--ink); padding: 12px 14px;
  font-family: var(--font-mono); font-size: 14px; box-shadow: var(--pxb); margin: 4px;
  max-width: 100%;
}

/* WP 核心兜底类 */
.alignleft { float: left; margin: 4px 24px 16px 4px; }
.alignright { float: right; margin: 4px 4px 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--ink-soft); font-family: var(--font-mono); padding: 6px 2px; }
.sticky .news-title::after { content: " ★"; color: var(--magenta); }
.bypostauthor { outline: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ==== 17. 装备单页(产品) ==== */
.product-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; padding: 56px 0 72px; align-items: start; }
.product-figure { background: var(--ink); box-shadow: var(--pxb), 10px 12px 0 0 var(--shadow); margin: 4px; padding: 30px; display: grid; place-items: center; }
.product-figure img { image-rendering: pixelated; }
.product-figure svg { width: 180px; height: 180px; shape-rendering: crispEdges; }
.product-content { margin-top: 30px; }
.inquiry-card { margin-top: 30px; }
.inquiry-card .cta-phone { color: var(--magenta); text-shadow: 2px 2px 0 var(--cyan-lite); }
.supply-note { font-size: 13px; font-family: var(--font-mono); color: var(--cyan-dark); border: 2px solid var(--cyan); padding: 12px 14px; margin-top: 18px; letter-spacing: .02em; }

/* ==== 18. 404 / 搜索 ==== */
.big-404 { font-family: var(--font-mono); font-size: clamp(80px, 18vw, 180px); font-weight: 800; color: var(--magenta); text-shadow: 6px 6px 0 var(--ink), 12px 12px 0 var(--cyan-lite); line-height: 1; margin: 0 0 24px; letter-spacing: .1em; }
.error-page { padding: 90px 0; text-align: center; }
.error-page .search-form { max-width: 480px; margin: 30px auto 0; }
.miss-card { text-align: center; padding: 50px 26px; }
.miss-card .big { font-family: var(--font-mono); font-size: 34px; font-weight: 800; color: var(--magenta); text-shadow: 3px 3px 0 var(--ink); margin-bottom: 10px; }

/* ==== 19. 入场动画(仅 html.js 隐藏) ==== */
html.js .reveal { opacity: 0; }
html.js .reveal.is-in { animation: px-in .45s steps(5) forwards; }
@keyframes px-in {
  0% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes px-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes px-fall { 0% { transform: translateY(0); opacity: 1; } 90% { transform: translateY(26px); opacity: 1; } 100% { transform: translateY(28px); opacity: 0; } }
@keyframes px-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }
@keyframes px-spin { to { transform: rotate(360deg); } }
@keyframes px-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==== 20. 响应式 ==== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  body.nav-open .main-nav {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 4px solid var(--ink);
    box-shadow: 0 8px 0 0 var(--shadow); padding: 10px 16px 16px;
  }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 13px 10px; border-bottom: 2px solid var(--bg-2); }
  .level-track { grid-template-columns: 1fr; gap: 34px; }
  .level-track::before { left: 44px; right: auto; top: 8%; bottom: 8%; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 10px, transparent 10px 20px); }
  .level-node { display: grid; grid-template-columns: 96px 1fr; text-align: left; gap: 16px; align-items: center; }
  .level-dot { margin: 4px; }
  .level-lv { left: 0; transform: none; }
  .material-card { grid-template-columns: 1fr; text-align: center; }
  .material-card svg { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 32px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}

/* ==== 21. 减少动态 ==== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; }
  .marquee-track { animation: none; transform: none; }
  .brand-name::after, .hero-tip .blink, .screen-head .dot { animation: none; opacity: 1; }
  .tower-svg .drop, .tower-svg .puff { animation: none; opacity: .9; }
  .tower-svg .fan-blades { animation: none; }
}
