/* =========================================================
   悠悠诛仙 · 玄墨鎏金
   移动端优先，768 / 1024 两个断点向上扩展
   ========================================================= */

:root {
  --ink-0: #060709;
  --ink-1: #0a0c0f;
  --ink-2: #0f1317;
  --ink-3: #151a20;
  --paper: #ece6d8;
  --paper-dim: #c9c3b6;
  --muted: #868c91;
  --gold: #c9a86a;
  --gold-hi: #e3c894;
  --gold-line: rgba(201, 168, 106, .28);
  --jade: #6f9d95;
  --flare-1: #ff9d5c;
  --flare-2: #ffd39a;
  --flare-3: #ff6b4a;
  --flare-line: rgba(255, 138, 86, .55);
  --line: rgba(235, 232, 223, .10);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background:
    radial-gradient(60% 40% at 80% 0%, rgba(111, 157, 149, .10), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(201, 168, 106, .06), transparent 70%);
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

::selection { background: rgba(201, 168, 106, .3); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- 通用容器 ---------- */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: .06em;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, #dfc389 0%, #bb9651 100%);
  color: #14110b;
  border-color: #ecd6a8;
  font-weight: 600;
}
.btn-primary:hover { background: linear-gradient(180deg, #f0d7a4 0%, #cba863 100%); }

.btn-ghost {
  border-color: var(--gold-line);
  color: var(--paper);
  background: rgba(255, 255, 255, .02);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }

.btn-small {
  min-height: 36px;
  padding: 7px 16px;
  font-size: 13px;
}

/* ---------- 栏目头 ---------- */
.sec-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .32em;
}

.sec-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-line);
}

/* =========================================================
   顶部导航
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  background: rgba(8, 9, 11, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .12em;
  line-height: 1.2;
  white-space: nowrap;
}
.brand-tag {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .18em;
  white-space: nowrap;
}

.nav-links { display: none; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sound-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 255, 255, .02);
  transition: color .3s, border-color .3s, background .3s;
}
.sound-btn:hover {
  color: var(--gold-hi);
  border-color: var(--gold-line);
  background: rgba(201, 168, 106, .08);
}
.sound-btn.is-on { color: var(--gold); border-color: var(--gold-line); }
.sound-btn svg { width: 18px; height: 18px; display: block; }
.sound-btn .ico-off { display: none; }
.sound-btn:not(.is-on) .ico-on { display: none; }
.sound-btn:not(.is-on) .ico-off { display: block; }

.nav-enter {
  display: none;
}

.burger {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  margin: -6px -6px -6px 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--paper);
  margin: 3px 0;
  transition: transform .3s var(--ease), opacity .3s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(8, 9, 11, .97);
  padding: calc(var(--nav-h) + 24px) 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .1em;
}
.drawer a span { color: var(--gold); font-family: var(--sans); font-size: 11px; letter-spacing: .24em; }
.drawer .drawer-foot { margin-top: auto; color: var(--muted); font-size: 12px; line-height: 2; }

/* =========================================================
   首屏
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 72px) 0 40px;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
  filter: saturate(.9) contrast(1.02);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 7, 9, .86) 0%, rgba(6, 7, 9, .28) 34%, rgba(6, 7, 9, .62) 72%, var(--ink-0) 100%),
    linear-gradient(90deg, rgba(6, 7, 9, .85) 0%, rgba(6, 7, 9, .3) 46%, rgba(6, 7, 9, .82) 100%);
}

.hero-inner { width: 100%; }

.hero-copy {
  max-width: 620px;
  margin-left: auto;
  text-align: left;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .3em;
}
.hero-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold-line);
}

.hero-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 13vw, 76px);
  line-height: 1.16;
  letter-spacing: .14em;
  color: #f3eee2;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .6);
}

.hero-titlerow {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-text { min-width: 0; }

.hero-title { order: -1; }

.hero-kicker { order: 0; }

.hero-sub {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(17px, 4.4vw, 22px);
  letter-spacing: .16em;
  color: var(--gold-hi);
}

.hero-desc {
  margin: 16px 0 0;
  max-width: min(30em, 100%);
  color: var(--paper-dim);
  font-size: 14px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* =========================================================
   开区公告
   ========================================================= */
/* 公告上的「置顶 / 活动」小标签（列表和弹层共用） */
.ni-pin,
.ni-tag {
  color: var(--gold);
  border: 1px solid var(--gold-line);
  font-size: 11px;
  letter-spacing: .12em;
}
.ni-pin { padding: 0 6px; background: rgba(201, 168, 106, .1); }
.ni-tag { padding: 1px 8px; }

.empty-tip {
  margin: 0;
  padding: 26px 18px;
  color: var(--muted);
  font-size: 13.5px;
}

/* =========================================================
   下载
   ========================================================= */
.download-panel {
  /* 与 .notice-list 共用同一条金色边框，改色时两处一起改 */
  border: 1px solid rgba(201, 168, 106, .55);
  background: linear-gradient(180deg, rgba(21, 26, 32, .8), rgba(10, 12, 15, .5));
}

.dl-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.dl-row:last-child { border-bottom: 0; }
.dl-row .d-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.dl-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: .04em;
}
.dl-row .d-tag {
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold-line);
  padding: 0 7px;
  letter-spacing: .1em;
}
.dl-row p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  grid-column: 1;
}
.dl-row .d-meta {
  grid-column: 1;
  display: flex;
  gap: 14px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .04em;
}
.dl-row .d-meta b { color: var(--paper-dim); font-weight: 400; }
.dl-row .d-action { grid-row: 1 / span 3; grid-column: 2; }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 12px);
  z-index: 200;
  padding: 10px 18px;
  background: rgba(15, 19, 23, .96);
  border: 1px solid var(--gold-line);
  color: var(--gold-hi);
  font-size: 12.5px;
  letter-spacing: .06em;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* =========================================================
   入场动效
   ========================================================= */
.hero-copy { animation: heroIn .9s var(--ease) both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .hc-card-flare, .hc-card-flare .hc-dot { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* =========================================================
   768px 起
   ========================================================= */
@media (min-width: 768px) {
  body { font-size: 16px; }
  .wrap { padding: 0 32px; }
  .nav-inner { padding: 0 32px; }
  :root { --nav-h: 72px; }

  .brand-name { font-size: 20px; }

  .dl-row { grid-template-columns: 1fr auto; padding: 26px 28px; }
  .dl-row .d-action { grid-row: 1 / span 3; }
}

/* =========================================================
   1024px 起
   ========================================================= */
@media (min-width: 1024px) {
  :root { --nav-h: 78px; }

  .brand-name { font-size: 21px; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-links a {
    position: relative;
    font-size: 13.5px;
    letter-spacing: .1em;
    color: var(--paper-dim);
    padding: 6px 0;
    transition: color .3s var(--ease);
  }
  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .nav-links a:hover { color: var(--gold-hi); }
  .nav-links a:hover::after { transform: scaleX(1); }

  .nav-enter { display: inline-flex; }
  .burger { display: none; }

  .hero { min-height: 94vh; padding: calc(var(--nav-h) + 112px) 0 64px; }
  .hero-copy { max-width: 760px; }
  .hero-inner { display: flex; justify-content: flex-end; }
  .hero-copy { width: 100%; }

  .hero-title { font-size: clamp(58px, 7vw, 84px); }

  /* 竖排题字：桌面端把主标题立起来 */
  .hero-copy .hero-titlerow {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 34px;
  }
  .hero-titlerow .hero-text { text-align: left; max-width: 420px; padding-bottom: 8px; }
  .hero-titlerow .hero-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .2em;
    line-height: 1.1;
    margin: 0;
    border-right: 1px solid transparent;
  }
}

/* =========================================================
   整屏版：一屏一内容，点导航整屏切换，页面不滚动
   ========================================================= */
:root { --foot-h: 34px; }

html, body {
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}

.nav {
  background: rgba(8, 9, 11, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.pane {
  position: absolute;
  top: var(--nav-h);
  right: 0;
  bottom: var(--foot-h);
  left: 0;
  display: none;
  overflow: hidden;
}
.pane.is-on { display: block; }

.pane-wrap {
  width: 100%;
  max-width: 1080px;
  height: 100%;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pane-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  padding: 0 20px 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.pane-head .sec-kicker { display: block; margin-bottom: 6px; }
.pane-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: .06em;
  line-height: 1.2;
}
.pane-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}
.pane-foot-tip {
  margin: 12px 0 0;
  color: #6f7478;
  font-size: 11.5px;
  letter-spacing: .02em;
}

/* 首屏铺满整屏 */
.pane-home .hero {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  padding: 18px 0 22px;
}
.pane-home .hero-inner { height: 100%; display: flex; align-items: flex-end; }
.pane-home .hero-copy { padding-bottom: 8px; }

/* 导航当前项 */
.nav-links a.is-on { color: var(--gold-hi); }
.nav-links a.is-on::after { transform: scaleX(1); }

/* 公告三行 */
.notice-list {
  display: flex;
  flex-direction: column;
  /* 与 .download-panel 共用同一条金色边框 */
  border: 1px solid rgba(201, 168, 106, .55);
  background: linear-gradient(180deg, rgba(21, 26, 32, .8), rgba(10, 12, 15, .5));
}

.notice-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 14px;
  width: 100%;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
  transition: background .25s var(--ease);
}
.notice-row:hover { background: rgba(201, 168, 106, .04); }
.nr-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: .06em;
}
.nr-title {
  grid-column: 1;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .04em;
  color: var(--paper);
  line-height: 1.5;
}
.nr-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--gold);
  font-size: 18px;
}

/* 下载三行（压紧） */
.pane-downloads .download-panel {
  margin-top: 14px;
  max-height: none;
}
.pane-downloads .dl-row { padding: 14px 18px; }
.pane-downloads .dl-row h3 { font-size: 16px; }
.pane-downloads .dl-row p {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pane-downloads .d-meta { margin-top: 2px; font-size: 11.5px; }

/* 客服整屏 */
.contact-stage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.c-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 26, 32, .7), rgba(10, 12, 15, .4));
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}
.c-card .c-label {
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: .22em;
}
.c-card .c-big {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: .04em;
  color: var(--paper);
  word-break: break-all;
}
.c-card .c-big-sm { font-size: 17px; }
.c-card .c-hint { color: var(--muted); font-size: 12px; }
.c-card .btn { margin-top: auto; }

/* 页脚细条 */
.foot-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  height: var(--foot-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 20px;
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 9, .92);
  color: #6f7478;
  font-size: 11px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.foot-bar .fb-tag { display: none; }
.foot-bar .fb-copy, .foot-bar .fb-stat { flex: none; }
.foot-bar .fb-icp { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; text-align: right; }
.foot-bar .fb-stat { color: #8a8f94; }
.foot-bar .fb-stat b { color: var(--gold-hi, #c9a86a); font-weight: 500; font-family: var(--mono); }

@media (max-width: 767px) {
  .foot-bar { padding: 0 12px; gap: 8px; font-size: 10px; }
  .foot-bar .fb-stat { font-size: 10px; }
}

/* 公告弹层 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-on { display: flex; }
.modal-veil {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, .84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.modal-panel {
  position: relative;
  width: min(660px, 100%);
  max-height: 78vh;
  max-height: 78dvh;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gold-line);
  background: var(--ink-1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.modal-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}
.modal-head .nr-meta { margin-bottom: 10px; }
.modal-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: .04em;
}
.modal-body {
  padding: 18px 24px 26px;
  overflow: auto;
  color: var(--paper-dim);
  font-size: 13.5px;
  line-height: 1.9;
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  z-index: 2;
}
.modal-close:hover { color: var(--gold-hi); }

@media (max-width: 767px) {
  :root { --foot-h: 42px; }
  .pane-wrap { padding: 14px 16px; }
  .pane-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 12px;
  }
  .pane-head h2 { font-size: 23px; }
  .pane-note { text-align: left; font-size: 11.5px; }
  .notice-row { padding: 13px 2px; }
  .nr-title { font-size: 15.5px; }
  .pane-home .hero { padding: 10px 0 16px; }
  .pane-home .hero-title { font-size: clamp(38px, 12vw, 48px); }
  .contact-stage { grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
  .c-card { padding: 14px 16px; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px 12px; }
  .c-card .c-label { width: 100%; }
  .c-card .c-big { font-size: 22px; }
  .c-card .c-big-sm { font-size: 15px; }
  .c-card .btn { margin-top: 0; }
  .foot-bar {
    padding: 0 12px;
    font-size: 10.5px;
    line-height: 1.3;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }
  .foot-bar .fb-tag { display: none; }
  .foot-bar .fb-icp { max-width: 100%; }
  .modal { padding: 14px; }
  .modal-panel { max-height: 82vh; max-height: 82dvh; }
  .modal-head { padding: 18px 18px 14px; }
  .modal-body { padding: 14px 18px 20px; }
}

@media (min-width: 768px) {
  .foot-bar { padding: 0 28px; font-size: 11.5px; }
  .foot-bar .fb-tag { display: inline; }
}

/* =========================================================
   L 版首屏：16:9 白袍公子一剑开天门 + 双计时
   ========================================================= */

.pane-home .hero-l {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

.hero-l .hero-bg {
  object-position: 50% 54%;
  filter: saturate(.98) brightness(.94) contrast(1.03);
}

.hero-l .hero-veil {
  background:
    linear-gradient(0deg, rgba(6, 7, 9, .96) 0%, rgba(6, 7, 9, .62) 20%, transparent 46%),
    linear-gradient(90deg, rgba(6, 7, 9, .52) 0%, rgba(6, 7, 9, .12) 28%, transparent 52%);
}

.hero-l .hero-vig {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .46) 100%);
}

.hero-dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 148px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(540px, 620px);
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  padding: 16px clamp(20px, 4.6vw, 68px) 20px;
  border-top: 1px solid rgba(201, 168, 106, .26);
  background: linear-gradient(0deg, rgba(4, 5, 6, .98) 0%, rgba(5, 6, 7, .9) 72%, rgba(5, 6, 7, .62) 100%);
}

.dock-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.dock-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--gold);
  line-height: 1.4;
}
.dk-line { width: 26px; height: 1px; background: var(--gold-line); flex: 0 0 auto; }

.dock-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 2.9vw, 40px);
  line-height: 1.12;
  letter-spacing: .12em;
  color: #f3eee2;
  white-space: nowrap;
}

.dock-sub {
  margin: 2px 0 0;
  max-width: 640px;
  color: #bcb3a4;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: .02em;
}

.dock-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.dock-actions .btn { min-height: 38px; padding: 8px 18px; font-size: 13px; }

.dock-uptime {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding-left: clamp(18px, 2.4vw, 34px);
  border-left: 1px solid rgba(201, 168, 106, .24);
}

.tc { min-width: 0; padding: 2px 16px 0 0; }
.tc + .tc { padding-left: 18px; border-left: 1px solid rgba(201, 168, 106, .16); }
.tc-head { display: flex; align-items: center; gap: 8px; min-height: 16px; }
.tc-k { font-family: var(--serif); font-size: 15px; letter-spacing: .1em; color: var(--paper); white-space: nowrap; }
.tc-dot { width: 5px; height: 5px; border-radius: 50%; background: #9dd6a9; box-shadow: 0 0 8px rgba(157, 214, 169, .5); }
.tc-tag { margin-left: auto; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; color: #8f887a; }

.tc-units { display: flex; align-items: flex-end; gap: clamp(5px, .8vw, 10px); margin-top: 5px; }
.tu { min-width: 0; text-align: center; }
.tu b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(20px, 2.1vw, 29px);
  line-height: 1;
  font-weight: 400;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.tu span { display: block; margin-top: 4px; font-size: 9px; letter-spacing: .1em; color: #8f887a; }

.tc-foot {
  display: block;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
  color: #847e73;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .hero-dock {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 16px;
  }
  .dock-uptime {
    border-left: 0;
    border-top: 1px solid rgba(201, 168, 106, .2);
    padding-left: 0;
    padding-top: 10px;
  }
  .dock-title { font-size: 32px; }
  .dock-sub { max-width: none; }
}

@media (max-width: 767px) {
  .hero-dock {
    min-height: 0;
    padding: 12px 16px 14px;
    gap: 8px;
    max-height: 72%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dock-kicker { font-size: 9px; letter-spacing: .12em; }
  .dock-title { font-size: 27px; white-space: normal; }
  .dock-sub { font-size: 11px; line-height: 1.55; }
  .dock-actions { gap: 8px; margin-top: 6px; }
  .dock-actions .btn { min-height: 36px; padding: 7px 14px; font-size: 12px; }
  .dock-uptime { grid-template-columns: 1fr; gap: 8px; padding-top: 8px; }
  .tc { padding: 0; }
  .tc + .tc { padding-left: 0; border-left: 0; border-top: 1px solid rgba(201, 168, 106, .14); padding-top: 8px; }
  .tc-k { font-size: 13px; }
  .tc-units { gap: 7px; margin-top: 3px; }
  .tu b { font-size: 21px; }
  .tc-foot { font-size: 7.5px; margin-top: 4px; }
}

/* =========================================================
   13 版首屏：中轴题字 + 底部双计时卡
   ========================================================= */
/* 首屏把主视觉铺到导航下面，导航改成透明覆盖，接近 13 的海报式中轴构图 */
.pane[data-pane="top"] { top: 0; }

.nav.is-home {
  background: linear-gradient(180deg, rgba(5, 7, 10, .62) 0%, rgba(5, 7, 10, .16) 60%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.nav.is-home .brand-name,
.nav.is-home .brand-tag,
.nav.is-home .nav-links a {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .85);
}

.pane-home .hero.hero-13 {
  padding: 0;
  display: block;
}

.hero-13 .hero-bg {
  object-position: 50% 52%;
  filter: saturate(.98) brightness(.95) contrast(1.03);
}

.hero-13 .hero-veil {
  background:
    linear-gradient(180deg, rgba(6, 7, 9, .46) 0%, rgba(6, 7, 9, .04) 24%, rgba(6, 7, 9, .12) 46%, rgba(6, 7, 9, .58) 70%, rgba(6, 7, 9, .95) 100%),
    linear-gradient(90deg, rgba(6, 7, 9, .24) 0%, transparent 34%, rgba(6, 7, 9, .2) 100%);
}

.hero-13 .hero-vig {
  background: radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, .4) 100%);
}

.hc-center {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 13%;
  bottom: 38px;
  width: 100%;
  max-width: 1080px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.hc-kicker {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(4, 6, 9, .58);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .27em;
  line-height: 1.55;
  text-shadow: 0 1px 8px #000;
}

.hc-title {
  margin: 14px auto 0;
  color: var(--hc-title-color, #fff);
  font-family: var(--serif);
  font-size: clamp(48px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .18em;
  text-indent: 0;
  white-space: nowrap;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .74);
}

.hc-sub {
  margin: 18px auto 0;
  max-width: 780px;
  color: var(--hc-sub-color, #ded4c2);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .04em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
}

.hc-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.hc-actions .btn { min-width: 150px; }

/* 首屏两个按钮（游戏下载 / 开区公告）统一为「金色框」：
   去掉原来一个实心金、一个透明描边的差异，两框完全一致 */
.hc-actions .btn-primary,
.hc-actions .btn-ghost {
  background: rgba(201, 168, 106, .10);
  border: 1px solid var(--gold);
  color: var(--gold-hi);
}
.hc-actions .btn-primary:hover,
.hc-actions .btn-ghost:hover {
  background: rgba(201, 168, 106, .20);
  border-color: var(--gold-hi);
  color: #fff;
}

.hc-timers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
  text-align: left;
}

.hc-card {
  min-width: 0;
  padding: 13px 16px 11px;
  border: 1px solid rgba(201, 168, 106, .3);
  background: rgba(5, 7, 10, .76);
}

.hc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 16px;
}

.hc-k {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.hc-dot {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 9px rgba(227, 200, 148, .65);
}
.hc-dot-next { background: var(--gold); box-shadow: 0 0 9px rgba(201, 168, 106, .55); }

.hc-units {
  display: flex;
  align-items: flex-end;
  gap: clamp(5px, .8vw, 10px);
  margin-top: 7px;
}

.hu { min-width: 0; text-align: center; }
.hu b {
  display: block;
  color: var(--gold-hi);
  font-family: var(--serif);
  font-size: clamp(22px, 2.15vw, 31px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.hu span {
  display: block;
  margin-top: 4px;
  color: #8f887a;
  font-size: 9px;
  letter-spacing: .08em;
}

.hc-foot {
  display: block;
  margin-top: 7px;
  color: #8b8375;
  font-size: 10px;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .hc-title { font-size: clamp(46px, 5vw, 66px); }
  .hc-sub { max-width: 700px; }
  .hc-timers { width: 100%; }
}

@media (max-width: 767px) {
  .hc-center { top: 8%; bottom: 14px; width: calc(100vw - 28px); }
  .hc-kicker { padding: 3px 8px; font-size: 9px; letter-spacing: .18em; }
  .hc-title { margin-top: 12px; font-size: 48px; letter-spacing: .12em; text-indent: 0; }
  .hc-sub { margin-top: 12px; max-width: none; font-size: 12px; line-height: 1.65; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
  .hc-actions { gap: 8px; margin-top: 16px; }
  .hc-actions .btn { min-width: 0; min-height: 44px; padding: 10px 18px; font-size: 13px; }
  .hc-timers { gap: 8px; margin-top: 18px; }
  .hc-card { padding: 10px 10px 9px; }
  .hc-k { font-size: 11px; letter-spacing: .08em; }
  .hc-units { gap: 4px; margin-top: 5px; }
  .hu b { font-size: 21px; }
  .hu span { font-size: 8px; margin-top: 3px; }
  .hc-foot { margin-top: 5px; font-size: 8px; letter-spacing: .01em; }
}

@media (max-width: 420px) {
  .hc-title { font-size: 44px; }
  .hc-card { padding: 9px 8px 8px; }
  .hu b { font-size: 19px; }
  .hc-foot { font-size: 7.5px; }
}

/* =========================================================
   扩展页面与功能（公告归档 / 详情 / 隐私 / 区服 / 留言）
   ========================================================= */
.foot-bar .fb-links { color: #8a8f94; }
.foot-bar .fb-links a { color: #9aa0a5; text-decoration: none; border-bottom: 1px dotted #6f7478; }
.foot-bar .fb-links a:hover { color: var(--gold-hi, #c9a86a); }
@media (max-width: 900px) { .foot-bar .fb-links { display: none; } }

.page-main { min-height: 100vh; padding: calc(var(--nav-h) + 40px) 20px calc(var(--foot-h) + 40px); }
.page-wrap { max-width: 980px; margin: 0 auto; }
.page-wrap.narrow { max-width: 720px; }
.page-head { margin-bottom: 26px; border-bottom: 1px solid var(--line, #23262b); padding-bottom: 18px; }
.page-head h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; margin: 6px 0; color: var(--text, #e8e6e0); }
.page-head p { color: var(--muted, #8b9096); font-size: 13px; }
.page-back { margin-top: 28px; font-size: 13px; }
.page-back a { color: var(--gold, #c9a86a); text-decoration: none; }

.arc-list { display: flex; flex-direction: column; gap: 10px; }
.arc-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 6px 14px; padding: 16px 18px;
  border: 1px solid var(--line, #23262b); background: rgba(255,255,255,.015);
  color: inherit; text-decoration: none; transition: border-color .2s, background .2s;
}
.arc-row:hover { border-color: rgba(201,168,106,.45); background: rgba(201,168,106,.05); }
.arc-meta { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--muted, #8b9096); }
.arc-title { font-family: var(--serif); font-size: 18px; color: var(--text, #e8e6e0); }
.arc-excerpt { grid-column: 1 / -1; font-size: 12px; color: #787d83; line-height: 1.7; }
.arc-arrow { grid-row: 2; grid-column: 2; align-self: center; color: var(--gold, #c9a86a); font-size: 18px; }

.article h1 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 10px 0 24px; color: var(--text, #e8e6e0); }
.md-body { font-size: 14px; line-height: 1.95; color: #c3c6c9; }
.md-body p { margin: 0 0 12px; }
.md-body h4 { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--gold-hi, #c9a86a); margin: 22px 0 10px; }
.md-body ul { margin: 0 0 14px; padding-left: 22px; }
.md-body li { margin-bottom: 4px; }
.md-body strong { color: var(--text, #e8e6e0); }
.md-body code { background: rgba(255,255,255,.07); padding: 1px 5px; font-size: 12px; color: var(--gold-hi, #c9a86a); }
.md-body a { color: var(--gold, #c9a86a); }
.privacy-facts { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line, #23262b); }
.privacy-facts h2 { font-size: 16px; font-weight: 500; color: var(--gold-hi, #c9a86a); }
.privacy-facts ul { padding-left: 20px; color: #9aa0a5; font-size: 13px; line-height: 2; }

.pane-servers .pane-wrap, .pane-contact .pane-wrap { overflow-y: auto; justify-content: flex-start; padding-top: 28px; padding-bottom: 24px; }
.srv-wrap { overflow-x: auto; }
.srv-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.srv-table th { text-align: left; font-weight: 400; font-size: 11px; letter-spacing: .08em; color: var(--muted, #8b9096); padding: 10px 12px; border-bottom: 1px solid var(--line, #23262b); }
.srv-table td { padding: 14px 12px; border-bottom: 1px solid rgba(255,255,255,.05); color: #c3c6c9; }
.srv-table td b { color: var(--text, #e8e6e0); font-weight: 500; font-family: var(--serif); font-size: 15px; }
.srv-badge { display: inline-block; padding: 3px 10px; border: 1px solid rgba(201,168,106,.4); color: var(--gold-hi, #c9a86a); font-size: 11px; }

.d-md5 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 8px 0; font-size: 11px; color: var(--muted, #8b9096); }
.d-md5 code { font-family: var(--mono, monospace); color: #9aa0a5; }
.c-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

.msg-form { margin-top: 22px; padding: 18px; border: 1px solid var(--line, #23262b); background: rgba(255,255,255,.015); }
.msg-form h3 { font-family: var(--serif); font-size: 17px; font-weight: 500; color: var(--gold-hi, #c9a86a); margin: 0 0 14px; }
.msg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.msg-form label { display: block; font-size: 11px; color: var(--muted, #8b9096); margin-bottom: 10px; }
.msg-form label span { display: block; margin-bottom: 5px; }
.msg-form input[type="text"], .msg-form textarea {
  width: 100%; box-sizing: border-box; background: #0a0c0f; border: 1px solid var(--line, #23262b);
  color: var(--text, #e8e6e0); padding: 9px 11px; font-size: 13px; border-radius: 2px; resize: vertical;
}
.msg-form input:focus, .msg-form textarea:focus { outline: none; border-color: var(--gold, #c9a86a); }
.msg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg-foot { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--muted, #8b9096); }
@media (max-width: 767px) {
  .msg-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 26px; }
  .pane-servers .pane-wrap, .pane-contact .pane-wrap { padding-top: 16px; }
}

/* =========================================================
   开服计时 · 整卡朱金高亮 + 呼吸光晕
   已开服 / 距下一区 统一朱金配色，整卡高亮并带呼吸光晕
   想换色只改 :root 里的 --flare-* 即可
   ========================================================= */
.hc-card-flare {
  position: relative;
  border-color: var(--flare-line);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(255, 122, 68, .16), transparent 62%),
    linear-gradient(150deg, rgba(78, 26, 18, .92), rgba(20, 12, 11, .94) 58%, rgba(6, 8, 11, .9));
  box-shadow:
    inset 0 0 24px rgba(255, 120, 70, .12),
    0 0 0 1px rgba(255, 138, 86, .08),
    0 6px 26px rgba(255, 110, 60, .14);
  animation: flareGlow 3.4s ease-in-out infinite;
}
.hc-card-flare::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 2px;
  background: linear-gradient(180deg, var(--flare-3), var(--flare-1), transparent);
  box-shadow: 0 0 12px rgba(255, 138, 86, .6);
  pointer-events: none;
}
@keyframes flareGlow {
  0%, 100% {
    box-shadow: inset 0 0 24px rgba(255, 120, 70, .10), 0 0 0 1px rgba(255, 138, 86, .07), 0 6px 26px rgba(255, 110, 60, .10);
  }
  50% {
    box-shadow: inset 0 0 30px rgba(255, 120, 70, .20), 0 0 0 1px rgba(255, 138, 86, .18), 0 9px 36px rgba(255, 110, 60, .26);
  }
}

/* 标题：朱金渐变文字（两张卡通用） */
.hc-card-flare .hc-k {
  color: var(--flare-2);
  font-weight: 600;
  letter-spacing: .16em;
  text-shadow: 0 0 14px rgba(255, 150, 90, .55);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hc-card-flare .hc-k {
    background: linear-gradient(90deg, var(--flare-3), var(--flare-1) 55%, var(--flare-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}

.hc-card-flare .hu b {
  color: var(--flare-2);
  text-shadow: 0 0 18px rgba(255, 140, 80, .45);
}
.hc-card-flare .hu span { color: #c99a7c; }
.hc-card-flare .hc-foot {
  color: var(--flare-1);
  text-shadow: 0 0 10px rgba(255, 140, 80, .35);
}
.hc-card-flare .hc-dot {
  background: var(--flare-3);
  box-shadow: 0 0 10px rgba(255, 110, 70, .9);
  animation: nextPulse 1.7s ease-in-out infinite;
}
@keyframes nextPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.65); opacity: .55; }
}

/* 「开服时间表」屏顶部的下一区提示 */
.next-chip {
  display: inline-block;
  margin-right: 4px;
  padding: 2px 9px;
  border: 1px solid var(--flare-line);
  background: linear-gradient(120deg, rgba(255, 107, 74, .18), rgba(255, 157, 92, .08));
  color: var(--flare-2);
  font-size: 11px;
  letter-spacing: .1em;
  text-shadow: 0 0 10px rgba(255, 140, 80, .4);
  white-space: nowrap;
}
@media (max-width: 767px) {
  .hc-card-flare { background: linear-gradient(150deg, rgba(64, 24, 18, .94), rgba(8, 8, 10, .94)); }
  .next-chip { padding: 1px 6px; font-size: 10px; }
}
