/* ==========================================================
   球盟会QMH · 全站共享样式
   ENTR-DNA 1fa864b75f794c55
   ========================================================== */

/* ---------- 01 设计变量 ---------- */
:root {
  --qmh-bg: #0B0E14;
  --qmh-bg-card: #121A2A;
  --qmh-bg-deep: #1A2436;
  --qmh-text: #FFFFFF;
  --qmh-muted: #8B93A7;
  --qmh-green: #C8F135;
  --qmh-blue: #2EE6FF;
  --qmh-gold: #F5C542;
  --qmh-line: rgba(139, 147, 167, .2);
  --qmh-line-green: rgba(200, 241, 53, .35);
  --qmh-font-head: "Noto Sans SC", "HarmonyOS Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --qmh-font-body: "Noto Sans SC", "HarmonyOS Sans SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --qmh-font-num: "DIN Alternate", "Bahnschrift", "Oswald", "Arial Narrow", sans-serif;
  --qmh-container-w: 1200px;
  --qmh-header-h: 72px;
  --qmh-gutter: 24px;
  --qmh-transition: .3s cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 02 Reset 与基础 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--qmh-font-body);
  background-color: var(--qmh-bg);
  color: var(--qmh-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--qmh-green);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--qmh-green);
  color: var(--qmh-bg);
}

/* ---------- 03 排版 ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--qmh-font-head);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .04em;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
}

h2 {
  font-size: clamp(24px, 4vw, 40px);
}

h3 {
  font-size: clamp(18px, 2.4vw, 24px);
}

p {
  color: var(--qmh-text);
}

/* ---------- 04 容器与通用布局 ---------- */
.qmh-container {
  width: min(calc(100% - 48px), var(--qmh-container-w));
  margin-inline: auto;
}

.qmh-section {
  padding: 64px 0;
  position: relative;
}

.qmh-section--tight {
  padding: 40px 0;
}

.qmh-section--loose {
  padding: 96px 0;
}

.qmh-section--splittop::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(105deg, var(--qmh-green) 0%, var(--qmh-blue) 45%, transparent 75%);
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
  opacity: .45;
  pointer-events: none;
}

.qmh-bg-deep {
  background: var(--qmh-bg-deep);
}

.qmh-text-green {
  color: var(--qmh-green);
}

.qmh-text-blue {
  color: var(--qmh-blue);
}

.qmh-text-gold {
  color: var(--qmh-gold);
}

.qmh-d-none {
  display: none;
}

/* ---------- 05 跳转链接与顶部光带 ---------- */
.qmh-skip {
  position: fixed;
  top: -80px;
  left: 12px;
  z-index: 9999;
  padding: 10px 20px;
  background: var(--qmh-green);
  color: var(--qmh-bg);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  transition: top .3s ease;
}

.qmh-skip:focus-visible {
  top: 12px;
}

/* ---------- 06 头部 ---------- */
.qmh-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--qmh-header-h);
  background: linear-gradient(180deg, rgba(11, 14, 20, .82) 0%, rgba(11, 14, 20, .22) 100%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background var(--qmh-transition), border-color var(--qmh-transition), box-shadow var(--qmh-transition);
}

.qmh-header.is-scrolled {
  background: linear-gradient(180deg, rgba(11, 14, 20, .96) 0%, rgba(11, 14, 20, .98) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(200, 241, 53, .08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .4);
}

.qmh-header__scan {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--qmh-green) 0%, var(--qmh-blue) 55%, transparent 92%);
  opacity: .5;
  transition: opacity .4s;
  pointer-events: none;
  z-index: 2;
}

.qmh-header.is-scrolled .qmh-header__scan {
  opacity: 1;
}

.qmh-header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.qmh-header__inner::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(200, 241, 53, .45), transparent 80%);
  pointer-events: none;
}

.qmh-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qmh-header__cta {
  flex-shrink: 0;
}

/* ---------- 07 品牌 ---------- */
.qmh-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.qmh-brand__block {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--qmh-green);
  color: var(--qmh-bg);
  font-family: var(--qmh-font-num);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.02em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%);
  box-shadow: 3px 3px 0 rgba(200, 241, 53, .2);
  transition: box-shadow var(--qmh-transition), transform var(--qmh-transition);
}

.qmh-brand:hover .qmh-brand__block {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(200, 241, 53, .25);
}

.qmh-brand__name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.qmh-brand__name strong {
  font-family: var(--qmh-font-head);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .14em;
  white-space: nowrap;
}

.qmh-brand__name small {
  font-size: 10px;
  letter-spacing: .34em;
  color: var(--qmh-muted);
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 1px;
}

/* ---------- 08 导航 ---------- */
.qmh-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.qmh-nav__link {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .74);
  transition: color .25s ease;
  white-space: nowrap;
}

.qmh-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  background: linear-gradient(90deg, var(--qmh-green), var(--qmh-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1);
}

.qmh-nav__link:hover,
.qmh-nav__link[aria-current="page"] {
  color: var(--qmh-white, #FFFFFF);
}

.qmh-nav__link:hover::after,
.qmh-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ---------- 09 按钮系统 ---------- */
.qmh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-family: var(--qmh-font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .1em;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background var(--qmh-transition), color var(--qmh-transition), border-color var(--qmh-transition), box-shadow var(--qmh-transition), transform var(--qmh-transition);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
}

.qmh-btn--accent {
  background: var(--qmh-green);
  color: var(--qmh-bg);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.qmh-btn--accent:hover {
  box-shadow: 0 0 28px rgba(200, 241, 53, .3), 0 4px 16px rgba(0, 0, 0, .25);
  transform: translateY(-1px);
}

.qmh-btn--ghost {
  background: transparent;
  color: var(--qmh-muted);
  border-color: rgba(139, 147, 167, .4);
}

.qmh-btn--ghost:hover {
  color: var(--qmh-green);
  border-color: var(--qmh-line-green);
}

.qmh-btn--blue {
  background: rgba(46, 230, 255, .12);
  color: var(--qmh-blue);
  border-color: rgba(46, 230, 255, .35);
}

.qmh-btn--blue:hover {
  background: rgba(46, 230, 255, .22);
  box-shadow: 0 0 20px rgba(46, 230, 255, .18);
}

.qmh-btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 10 移动导航按钮 ---------- */
.qmh-nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--qmh-text);
  border: 1px solid rgba(139, 147, 167, .28);
  position: relative;
  z-index: 1100;
  transition: border-color var(--qmh-transition);
}

.qmh-nav-toggle:hover {
  border-color: var(--qmh-green);
}

.qmh-nav-toggle__line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 3px 0;
  transition: transform .3s cubic-bezier(.22, .61, .36, 1), opacity .2s ease;
}

.qmh-nav-toggle[aria-expanded="true"] .qmh-nav-toggle__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.qmh-nav-toggle[aria-expanded="true"] .qmh-nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.qmh-nav-toggle[aria-expanded="true"] .qmh-nav-toggle__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- 11 页脚 ---------- */
.qmh-footer {
  position: relative;
  background: linear-gradient(180deg, var(--qmh-bg) 0%, #07090E 100%);
  border-top: 1px solid rgba(200, 241, 53, .14);
  overflow: hidden;
}

.qmh-footer::before {
  content: "QMH";
  position: absolute;
  right: -30px;
  bottom: -70px;
  font-family: var(--qmh-font-num);
  font-weight: 900;
  font-size: 180px;
  line-height: 1;
  color: rgba(255, 255, 255, .028);
  letter-spacing: -.04em;
  pointer-events: none;
  user-select: none;
}

.qmh-footer__main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: 48px;
  padding: 64px 0 48px;
}

.qmh-footer__brand .qmh-brand {
  margin-bottom: 20px;
}

.qmh-footer__about {
  font-size: 14px;
  line-height: 1.7;
  color: var(--qmh-muted);
  max-width: 340px;
}

.qmh-footer__trust {
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .62);
  background: rgba(26, 36, 54, .6);
  border-left: 2px solid var(--qmh-blue);
  max-width: 420px;
}

.qmh-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.qmh-footer__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .16em;
  color: rgba(255, 255, 255, .85);
  text-transform: uppercase;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(139, 147, 167, .15);
  position: relative;
}

.qmh-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 28px;
  height: 2px;
  background: var(--qmh-green);
}

.qmh-footer__links li {
  margin-bottom: 6px;
}

.qmh-footer__links a {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  letter-spacing: .04em;
  padding: 3px 0;
  transition: color .25s, transform .25s;
}

.qmh-footer__links a:hover {
  color: var(--qmh-green);
  transform: translateX(4px);
}

.qmh-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qmh-footer__contact-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.qmh-footer__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--qmh-gold, #F5C542);
  text-transform: uppercase;
  padding-top: 2px;
}

.qmh-footer__value {
  color: rgba(255, 255, 255, .72);
  word-break: break-all;
}

.qmh-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(139, 147, 167, .12);
  padding: 20px 0 24px;
}

.qmh-footer__bottom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
}

.qmh-footer__copy {
  font-size: 12px;
  color: var(--qmh-muted);
  letter-spacing: .06em;
}

.qmh-footer__icp {
  font-size: 12px;
  color: rgba(139, 147, 167, .8);
  letter-spacing: .08em;
}

/* ---------- 12 标题组与内容索引 ---------- */
.qmh-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--qmh-line);
  position: relative;
}

.qmh-block-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--qmh-green), var(--qmh-blue));
}

.qmh-block-head__index {
  display: block;
  font-family: var(--qmh-font-num);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .24em;
  color: var(--qmh-green);
  margin-bottom: 2px;
}

.qmh-block-head__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: .06em;
}

.qmh-block-head__link {
  font-size: 13px;
  color: var(--qmh-blue);
  letter-spacing: .1em;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(46, 230, 255, .3);
  white-space: nowrap;
  transition: color .25s, border-color .25s;
}

.qmh-block-head__link:hover {
  color: var(--qmh-green);
  border-color: var(--qmh-green);
}

/* ---------- 13 面包屑 ---------- */
.qmh-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--qmh-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.qmh-crumbs a {
  color: inherit;
  transition: color .25s;
}

.qmh-crumbs a:hover {
  color: var(--qmh-green);
}

.qmh-crumbs__sep {
  opacity: .4;
  font-family: var(--qmh-font-num);
  font-size: 11px;
}

/* ---------- 14 卡片 ---------- */
.qmh-card {
  position: relative;
  background: var(--qmh-bg-card);
  border: 1px solid rgba(139, 147, 167, .18);
  padding: 24px;
  transition: transform var(--qmh-transition), border-color var(--qmh-transition), box-shadow var(--qmh-transition);
}

.qmh-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 14px;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
  transition: border-color .3s;
}

.qmh-card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 230, 255, .35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
}

.qmh-card:hover::before {
  border-color: var(--qmh-blue);
}

.qmh-card--highlight {
  border-top: 2px solid var(--qmh-green);
}

.qmh-card__title {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 8px;
}

.qmh-card__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--qmh-muted);
}

/* ---------- 15 徽标与标签 ---------- */
.qmh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  line-height: 1.6;
  white-space: nowrap;
}

.qmh-badge--green {
  background: rgba(200, 241, 53, .12);
  color: var(--qmh-green);
  border-color: rgba(200, 241, 53, .35);
}

.qmh-badge--blue {
  background: rgba(46, 230, 255, .1);
  color: var(--qmh-blue);
  border-color: rgba(46, 230, 255, .3);
}

.qmh-badge--gold {
  background: rgba(245, 197, 66, .1);
  color: var(--qmh-gold);
  border-color: rgba(245, 197, 66, .3);
}

.qmh-badge--ghost {
  background: transparent;
  color: var(--qmh-muted);
  border-color: rgba(139, 147, 167, .3);
}

.qmh-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--qmh-muted);
  border: 1px solid rgba(139, 147, 167, .2);
  border-radius: 0;
  white-space: nowrap;
}

/* ---------- 16 表格 ---------- */
.qmh-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(139, 147, 167, .16);
  background: var(--qmh-bg-card);
}

.qmh-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.qmh-table th,
.qmh-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(139, 147, 167, .12);
  white-space: nowrap;
}

.qmh-table thead th {
  font-family: var(--qmh-font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--qmh-muted);
  background: rgba(26, 36, 54, .5);
}

.qmh-table tbody tr {
  transition: background .2s;
}

.qmh-table tbody tr:hover {
  background: rgba(46, 230, 255, .05);
}

.qmh-table tbody tr:last-child td {
  border-bottom: none;
}

.qmh-table .qmh-num {
  font-family: var(--qmh-font-num);
  font-weight: 700;
  color: var(--qmh-green);
}

/* ---------- 17 分页 ---------- */
.qmh-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
}

.qmh-pager a,
.qmh-pager .is-current {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 147, 167, .25);
  font-family: var(--qmh-font-num);
  font-size: 13px;
  color: var(--qmh-muted);
  transition: all .25s;
}

.qmh-pager a:hover {
  border-color: var(--qmh-blue);
  color: var(--qmh-blue);
}

.qmh-pager .is-current {
  background: var(--qmh-green);
  color: var(--qmh-bg);
  border-color: var(--qmh-green);
  font-weight: 700;
}

/* ---------- 18 框景组件 ---------- */
.qmh-frame {
  position: relative;
  border: 1px solid var(--qmh-line);
  background: var(--qmh-bg-card);
}

.qmh-frame::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--qmh-green);
  border-left: 2px solid var(--qmh-green);
  pointer-events: none;
}

.qmh-frame::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--qmh-green);
  border-right: 2px solid var(--qmh-green);
  pointer-events: none;
}

.qmh-coords {
  position: absolute;
  font-family: var(--qmh-font-num);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  color: rgba(200, 241, 53, .72);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 3;
}

.qmh-coords--tl {
  top: 14px;
  left: 18px;
}

.qmh-coords--tr {
  top: 14px;
  right: 18px;
  text-align: right;
}

.qmh-coords--bl {
  bottom: 14px;
  left: 18px;
}

.qmh-coords--br {
  bottom: 14px;
  right: 18px;
  text-align: right;
}

/* ---------- 19 注释 ---------- */
.qmh-note {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  color: var(--qmh-muted);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  max-height: 160px;
  line-height: 1.8;
}

.qmh-note--h {
  writing-mode: horizontal-tb;
  text-transform: none;
  letter-spacing: .06em;
  max-height: none;
}

/* ---------- 20 数据光流 ---------- */
.qmh-dataflow {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(46, 230, 255, .12);
  border: none;
  margin: 0;
}

.qmh-dataflow::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--qmh-blue), transparent);
  animation: qmh-flow 2.4s linear infinite;
}

@keyframes qmh-flow {
  0% {
    left: -40%;
  }
  100% {
    left: 110%;
  }
}

/* ---------- 21 进度条与返回顶部 ---------- */
.qmh-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 1101;
  background: transparent;
  pointer-events: none;
}

.qmh-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--qmh-green), var(--qmh-blue));
  border-radius: 0 2px 2px 0;
}

.qmh-backtop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--qmh-bg-card);
  border: 1px solid rgba(139, 147, 167, .3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .4);
  transition: opacity var(--qmh-transition), transform var(--qmh-transition), visibility var(--qmh-transition), border-color var(--qmh-transition);
}

.qmh-backtop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qmh-backtop:hover {
  border-color: rgba(200, 241, 53, .5);
}

.qmh-backtop::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--qmh-green) calc(var(--qmh-scroll, 0) * 1%), rgba(200, 241, 53, .14) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  pointer-events: none;
}

.qmh-backtop__icon {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--qmh-green);
  border-left: 2px solid var(--qmh-green);
  transform: rotate(45deg);
  margin-top: 5px;
}

/* ---------- 22 滚动显现 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.22, .61, .36, 1), transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 23 页面首屏容器 ---------- */
.qmh-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: calc(var(--qmh-header-h) + 56px) 0 64px;
  overflow: hidden;
  background:
    linear-gradient(105deg, transparent 62%, rgba(46, 230, 255, .05) 62%),
    var(--qmh-bg);
}

.qmh-hero__frame {
  position: absolute;
  top: calc(var(--qmh-header-h) + 20px);
  bottom: 24px;
  left: clamp(14px, 4vw, 44px);
  right: clamp(14px, 4vw, 44px);
  border: 1px solid rgba(200, 241, 53, .25);
  background:
    linear-gradient(rgba(200, 241, 53, .05) 1px, transparent 1px) left top / 24px 24px,
    linear-gradient(90deg, rgba(200, 241, 53, .05) 1px, transparent 1px) left top / 24px 24px;
  pointer-events: none;
  z-index: 1;
}

.qmh-hero__frame::before,
.qmh-hero__frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--qmh-green);
  border-style: solid;
}

.qmh-hero__frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.qmh-hero__frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.qmh-hero__inner {
  position: relative;
  z-index: 2;
}

/* ---------- 24 内页标题条 ---------- */
.qmh-page-hero {
  position: relative;
  padding: calc(var(--qmh-header-h) + 56px) 0 36px;
  border-bottom: 1px solid var(--qmh-line);
  overflow: hidden;
}

.qmh-page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32%;
  height: 100%;
  background:
    linear-gradient(135deg, transparent 58%, rgba(46, 230, 255, .07) 58%),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(139, 147, 167, .06) 10px, rgba(139, 147, 167, .06) 11px);
  pointer-events: none;
}

.qmh-page-title {
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.qmh-page-desc {
  font-size: 15px;
  color: var(--qmh-muted);
  max-width: 560px;
}

/* ---------- 25 通用分割线 ---------- */
.qmh-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, var(--qmh-line), transparent);
  margin: 32px 0;
}

/* ---------- 26 移动端适配 ---------- */
@media (max-width: 1024px) {
  :root {
    --qmh-header-h: 64px;
    --qmh-container-w: 100%;
  }

  .qmh-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 82vw);
    height: 100vh;
    height: 100dvh;
    background: #0A0D13;
    border-left: 1px solid rgba(200, 241, 53, .14);
    padding: calc(var(--qmh-header-h) + 20px) 24px 40px;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
    overflow-y: auto;
    z-index: 1001;
  }

  .qmh-nav[data-open] {
    transform: translateX(0);
  }

  .qmh-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .qmh-nav__link {
    padding: 15px 10px;
    font-size: 16px;
    border-bottom: 1px solid rgba(139, 147, 167, .1);
  }

  .qmh-nav__link::after {
    display: none;
  }

  .qmh-nav-toggle {
    display: flex;
  }

  .qmh-footer__main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 48px;
  }

  .qmh-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .qmh-footer__col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --qmh-header-h: 58px;
  }

  .qmh-container {
    width: min(calc(100% - 32px), var(--qmh-container-w));
  }

  .qmh-section {
    padding: 44px 0;
  }

  .qmh-section--loose {
    padding: 64px 0;
  }

  .qmh-header__cta {
    display: none;
  }

  .qmh-brand__block {
    width: 36px;
    height: 36px;
    font-size: 11px;
  }

  .qmh-brand__name strong {
    font-size: 17px;
    letter-spacing: .12em;
  }

  .qmh-brand__name small {
    font-size: 9px;
    letter-spacing: .28em;
  }

  .qmh-footer__main {
    gap: 32px;
    padding-top: 40px;
  }

  .qmh-footer__cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .qmh-footer__col:last-child {
    grid-column: auto;
  }

  .qmh-footer__bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .qmh-backtop {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }

  .qmh-page-hero {
    padding-top: calc(var(--qmh-header-h) + 40px);
  }
}

@media (max-width: 480px) {
  .qmh-container {
    width: min(calc(100% - 24px), var(--qmh-container-w));
  }

  .qmh-hero__frame {
    left: 10px;
    right: 10px;
  }
}

/* ---------- 27 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .qmh-dataflow::after {
    animation: none;
  }

  .qmh-progress span {
    width: 0 !important;
  }
}
