:root {
  --qm-ink: #142c32;
  --qm-muted: #65777b;
  --qm-paper: rgba(250, 248, 240, .94);
  --qm-red: #b93b2d;
  --qm-red-dark: #87291f;
  --qm-jade: #287b78;
  --qm-gold: #c89b55;
  --qm-line: rgba(33, 92, 91, .18);
}

html { min-height: 100%; overflow-x: hidden; scrollbar-gutter: stable; }
body { min-height: 100%; overflow-x: hidden; }
body.qimeng-page {
  margin: 0 !important;
  padding-top: 78px !important;
  color: var(--qm-ink) !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
  background: #d9e5df url('../images/qimeng-inner-bg.jpg') center top / cover fixed no-repeat !important;
}
body.qimeng-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 27, 34, .42), rgba(218, 231, 224, .78) 420px, rgba(235, 238, 228, .92));
}

.qimeng-site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(7, 25, 31, .94); border-bottom: 1px solid rgba(255,255,255,.14); box-shadow: 0 8px 30px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.qimeng-nav { width: min(1180px, calc(100% - 36px)); min-height: 78px; margin: auto; display: flex; align-items: center; gap: 28px; }
.qimeng-brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; white-space: nowrap; }
.qimeng-seal { display: grid; place-items: center; width: 44px; height: 48px; color: #fff; font: 700 17px/1 serif; background: linear-gradient(145deg, #d2503e, #8c271f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.34), 0 5px 18px rgba(175,45,31,.3); transform: rotate(-2deg); }
.qimeng-brand strong { display: block; font: 700 25px/1.1 "STKaiti", "KaiTi", serif; letter-spacing: 4px; }
.qimeng-brand small { color: #d8c497; letter-spacing: 3px; }
.qimeng-links { margin-left: auto; display: flex; align-items: stretch; }
.qimeng-links a { position: relative; display: grid; place-items: center; min-height: 78px; padding: 0 16px; color: rgba(255,255,255,.82) !important; text-decoration: none !important; font-size: 15px; }
.qimeng-links a:hover, .qimeng-links a.is-active { color: #fff !important; background: rgba(255,255,255,.07); }
.qimeng-links a.is-active::after { content: ""; position: absolute; bottom: 0; left: 20%; right: 20%; height: 3px; background: var(--qm-red); }
.qimeng-menu-button { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; color: #fff; background: transparent; font-size: 24px; }

.qimeng-page-hero { min-height: 250px; display: grid; place-items: center; padding: 34px 20px 72px; text-align: center; color: #fff; background: linear-gradient(90deg, rgba(6,25,31,.76), rgba(15,49,54,.28), rgba(6,25,31,.72)), url('../images/qimeng-hero.jpg') center 46% / cover no-repeat; box-sizing: border-box; }
.qimeng-page-hero p { margin: 0 0 11px; color: #dfc898; font-size: 13px; letter-spacing: 6px; text-transform: uppercase; }
.qimeng-page-hero h1 { margin: 0; font: 700 clamp(32px, 5vw, 54px)/1.15 "STKaiti", "KaiTi", serif; letter-spacing: 8px; text-shadow: 0 4px 18px rgba(0,0,0,.4); }
.qimeng-page-hero span { display: block; margin-top: 14px; color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: 2px; }

body.qimeng-page > form, body.qimeng-page > .main, body.qimeng-page > .wrap, body.qimeng-page > div:not(.qimeng-site-header):not(.qimeng-page-hero):not(.qimeng-footer) { position: relative; }
body.qimeng-page .menu { display: none !important; }
body.qimeng-page .wrap, body.qimeng-page .main, body.qimeng-page .container { width: min(1120px, calc(100% - 32px)) !important; min-width: 0 !important; margin: -42px auto 64px !important; padding: 0 !important; background: transparent !important; }
body.qimeng-page .con, body.qimeng-page #content, body.qimeng-page .news-wrap, body.qimeng-page .news-wrapreg, body.qimeng-page .news-detail, body.qimeng-page .main-content {
  width: auto !important; min-width: 0 !important; height: auto !important; min-height: 0 !important; margin: 0 !important; box-sizing: border-box !important;
}
body.qimeng-page form, body.qimeng-page form > div, body.qimeng-page .register, body.qimeng-page .form-cell, body.qimeng-page ul { max-width: 100% !important; box-sizing: border-box !important; }
body.qimeng-page .con, body.qimeng-page #content {
  padding: clamp(22px, 4vw, 48px) !important; border: 1px solid rgba(255,255,255,.7) !important; border-radius: 8px !important; background: var(--qm-paper) !important; box-shadow: 0 22px 65px rgba(20,49,48,.2) !important;
}
body.qimeng-page .news-topp { min-height: 0 !important; background: none !important; }
body.qimeng-page .news-top-tt { height: auto !important; margin-bottom: 28px !important; border-bottom: 1px solid var(--qm-line) !important; background: none !important; }
body.qimeng-page .news-top-tt h2, body.qimeng-page legend, body.qimeng-page .title { color: var(--qm-ink) !important; font-family: "STKaiti", "KaiTi", serif !important; }
body.qimeng-page .top-rt { display: none !important; }

body.qimeng-page input[type=text], body.qimeng-page input[type=password], body.qimeng-page input[type=email], body.qimeng-page select, body.qimeng-page textarea {
  max-width: 100%; min-height: 40px; padding: 8px 12px !important; box-sizing: border-box; border: 1px solid #bfd0ca !important; border-radius: 4px !important; color: var(--qm-ink) !important; background: rgba(255,255,255,.82) !important; outline: none;
}
body.qimeng-page input:focus, body.qimeng-page select:focus, body.qimeng-page textarea:focus { border-color: var(--qm-jade) !important; box-shadow: 0 0 0 3px rgba(40,123,120,.12) !important; }
body.qimeng-page input[type=button], body.qimeng-page input[type=submit], body.qimeng-page button:not(.qimeng-menu-button), body.qimeng-page .btn, body.qimeng-page a.button {
  min-height: 42px; padding: 0 24px !important; border: 0 !important; border-radius: 4px !important; color: #fff !important; background: linear-gradient(135deg, var(--qm-red), var(--qm-red-dark)) !important; box-shadow: 0 8px 18px rgba(151,47,37,.2); cursor: pointer;
}
body.qimeng-page fieldset { margin: 0 0 22px !important; padding: 20px !important; border: 1px solid var(--qm-line) !important; border-radius: 6px !important; background: rgba(255,255,255,.46) !important; }
body.qimeng-page table { width: 100% !important; border-collapse: collapse !important; background: rgba(255,255,255,.5); }
body.qimeng-page th { padding: 13px 10px !important; color: #fff !important; background: #285e60 !important; }
body.qimeng-page td { padding: 12px 10px !important; border-bottom: 1px solid var(--qm-line) !important; color: #33494c !important; }
body.qimeng-page tr:nth-child(even) td { background: rgba(40,123,120,.04); }
body.qimeng-page a { color: var(--qm-jade); }

.qimeng-footer { padding: 28px 20px 34px; text-align: center; color: rgba(255,255,255,.68); background: #0d272d; }
.qimeng-footer strong { color: #fff; }
.qimeng-footer a { color: #e0c88e !important; text-decoration: none; }

@media (max-width: 850px) {
  body.qimeng-page { padding-top: 66px !important; }
  .qimeng-nav { min-height: 66px; }
  .qimeng-brand strong { font-size: 21px; }
  .qimeng-menu-button { display: block; }
  .qimeng-links { display: none; position: absolute; top: 66px; left: 0; right: 0; padding: 8px 18px 16px; flex-direction: column; background: rgba(7,25,31,.97); box-shadow: 0 16px 26px rgba(0,0,0,.25); }
  .qimeng-links.is-open { display: flex; }
  .qimeng-links a { min-height: 46px; justify-content: start; padding: 0 12px; }
  .qimeng-links a.is-active::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .qimeng-page-hero { min-height: 210px; padding-bottom: 58px; }
  body.qimeng-page .wrap, body.qimeng-page .main, body.qimeng-page .container { width: min(100% - 20px, 1120px) !important; margin-top: -32px !important; }
  body.qimeng-page .con, body.qimeng-page #content { padding: 20px 14px !important; }
  body.qimeng-page table { display: block; overflow-x: auto; white-space: nowrap; }
}
