:root {
  --夜: #1a1f2a;
  --夜2: #12151c;
  --淡蓝: #737b8a;
  --金1: #efc367;
  --金2: #db9b26;
  --银: #d9d9d9;
  --字: #e8e8e8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.公司 {
  margin: 0;
  color: var(--字);
  font: 16px/1.7 "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--夜);
}
a { color: inherit; text-decoration: none; }
body.在编 a { pointer-events: none; }
body.在编 a .可编,
body.在编 a .可编图,
body.在编 .链钮 { pointer-events: auto; }
img { max-width: 100%; display: block; }
.顶栏 {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 4%;
  background: rgba(26, 31, 42, 0.18);
  backdrop-filter: blur(6px);
  transition: background .25s;
}
.顶栏.实 { background: rgba(26, 31, 42, 0.92); }
.标组 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.标组 img { height: 36px; width: auto; }
.金字 {
  background: linear-gradient(#efc367, #db9b26, #c07f21);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.银字 {
  background: linear-gradient(#f0f0f0, #d9d9d9, #bdbdbd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.导航 { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.航项 { display: flex; align-items: center; gap: 4px; }
.导航 a, .菜单钮 {
  color: #ddd; padding: 8px 12px; border-radius: 4px;
}
.导航 a:hover, .菜单钮:hover { background: rgba(255,255,255,.08); }
.菜单钮 { display: none; background: none; border: 0; cursor: pointer; font: inherit; }
@media (max-width: 820px) {
  .菜单钮 { display: block; }
  .导航 { display: none; position: absolute; top: 56px; right: 4%;
    flex-direction: column; background: var(--夜); padding: 8px; min-width: 160px; }
  .导航.开 { display: flex; }
}
.横幅 {
  position: relative;
  min-height: 86vh;
  background: #111 center/cover no-repeat fixed;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18vh 8% 8%;
}
.横幅::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 35%, rgba(18, 21, 28, .82));
  pointer-events: none;
}
.横幅 > * { position: relative; z-index: 1; }
.横幅.次 { min-height: 42vh; justify-content: center; text-align: center; }
.大题 { font-size: clamp(28px, 5vw, 54px); margin: 0 0 12px; letter-spacing: 2px; min-height: 1.2em; }
.横幅:not(.次) > .大题 { text-align: center; width: 100%; }
.副题 { font-size: clamp(18px, 3vw, 32px); margin: 0; color: #cfcfcf; }
.淡蓝 { color: var(--淡蓝); }
.区 { padding: 64px 8%; }
.区.深 { background: var(--夜2); }
.区.浅 { background: #2a3140; }
.四格 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.块 { background: rgba(255,255,255,.04); padding: 28px 16px; text-align: center; border-radius: 6px; }
.块 b { display: block; font-size: 32px; }
.产品线 { margin-top: 48px; text-align: center; }
.产品线 p { color: var(--淡蓝); }
.双栏 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: start; }
.插图框 { position: relative; }
.插图框 img { width: 100%; border-radius: 4px; }
.插图题 { position: absolute; left: 12px; bottom: 12px; color: #fff; text-shadow: 0 1px 8px #000; }
.条 { height: 10px; background: #333; border-radius: 6px; overflow: hidden; margin: 6px 0 16px; }
.条 i { display: block; height: 100%; background: linear-gradient(90deg, var(--金1), var(--金2)); }
.图栅 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.图卡 { background: #000; border-radius: 4px; overflow: hidden; }
.图卡 img { width: 100%; height: 180px; object-fit: cover; }
.图卡 span { display: block; padding: 8px 10px; font-size: 14px; color: #ccc; }
.钮 {
  display: inline-block; margin-top: 28px; padding: 10px 28px;
  border: 1px solid #888; border-radius: 4px;
}
.钮:hover { background: rgba(255,255,255,.08); }
.页脚 { background: #000; padding: 36px 8% 24px; font-size: 14px; color: #aaa; }
.页脚 a:hover { color: #fff; }
.可编, .可编图, .可编底 { outline: 1px dashed transparent; }
body.在编 .可编:hover, body.在编 .可编图:hover, body.在编 .可编底:hover {
  outline: 1px dashed var(--金2); cursor: text;
}
body.在编 .可编图:hover, body.在编 .可编底:hover { cursor: pointer; }
.列控, .列表加, .链钮 { display: none; }
body.在编 .列控 { display: flex; gap: 6px; justify-content: flex-end; margin: 6px 0; }
body.在编 .列表加, body.在编 .链钮 { display: inline-block; }
.列控 button, .列表加, .链钮 {
  background: #333; color: #ddd; border: 0; border-radius: 4px; padding: 2px 8px; cursor: pointer;
}
.回顶 {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(26, 31, 42, 0.78); color: #fff; font-size: 22px;
  cursor: pointer; line-height: 1;
}
body.管 .回顶 { bottom: 84px; }
.回顶[hidden] { display: none; }
.管钮 {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(#efc367, #db9b26); color: #1a1f2a;
  font: 16px/48px "Microsoft YaHei", sans-serif; text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.35); cursor: grab; user-select: none; touch-action: none;
}
.管钮:active { cursor: grabbing; }
.管单 {
  position: fixed; z-index: 81; min-width: 132px;
  background: #1c2230; border: 1px solid #445; border-radius: 8px;
  padding: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.4);
  display: flex; flex-direction: column;
}
.管单[hidden] { display: none; }
.管单 button, .管单 a {
  display: block; width: 100%; text-align: left; background: none; border: 0;
  color: #eee; padding: 8px 12px; border-radius: 4px; cursor: pointer; font: inherit;
}
.管单 button:hover, .管单 a:hover { background: rgba(255,255,255,.08); }
.数罩 {
  position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.35);
}
.数罩[hidden] { display: none; }
.数窗 {
  position: absolute; left: 50%; top: 12vh; transform: translateX(-50%);
  width: min(72vw, 860px); height: min(70vh, 640px);
  background: #1e1e1e; border: 1px solid #555; border-radius: 8px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.5); min-width: 320px; min-height: 220px;
}
.数头 {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: #2d2d2d; color: #ddd; cursor: move; user-select: none; touch-action: none;
}
.数头 span:first-child { font-weight: 600; }
.数言 { flex: 1; color: #efc367; font-size: 13px; }
.数头 button {
  background: #444; color: #eee; border: 0; border-radius: 4px; padding: 4px 10px; cursor: pointer;
}
.数关 { background: #c62828; color: #fff; }
.数换行 {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: #ccc; cursor: pointer;
}
.数换行 input { margin: 0; }
.数框 { position: relative; flex: 1; min-height: 0; background: #1e1e1e; }
.数显, .数入 {
  position: absolute; inset: 0; margin: 0; padding: 12px;
  font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: pre; overflow: auto; tab-size: 2; border: 0;
}
.数显.折, .数入.折 { white-space: pre-wrap; overflow-wrap: anywhere; }
.数显 { color: #d4d4d4; pointer-events: none; }
.数显 .注 { color: #6a9955; }
.数显 .串 { color: #ce9178; }
.数显 .键 { color: #9cdcfe; }
.数显 .数 { color: #b5cea8; }
.数入 {
  background: transparent; color: transparent; caret-color: #fff; resize: none; outline: none; z-index: 1;
}
.数缩 {
  position: absolute; right: 0; bottom: 0; width: 16px; height: 16px; cursor: nwse-resize;
  background: linear-gradient(135deg, transparent 50%, #888 50%); touch-action: none; z-index: 2;
}
.货栅 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.货卡 { background: #161b24; border-radius: 8px; overflow: hidden; }
.货卡 img { width: 100%; height: 200px; object-fit: cover; }
.货卡 div { padding: 14px 16px 18px; }
.货卡 h3 { margin: 0 0 6px; font-size: 18px; }
.货卡 p { margin: 0; color: var(--淡蓝); font-size: 14px; }
.详 { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.详 img { width: 100%; border-radius: 8px; }
@media (max-width: 900px) {
  .四格, .图栅, .双栏, .详 { grid-template-columns: 1fr; }
  .横幅 { background-attachment: scroll; min-height: 70vh; }
}
