/* ============================================================
   皇冠游戏 · 共享样式表  /assets/site.css
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, p, ul, ol, li, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

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

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

:target { scroll-margin-top: 110px; }

/* ---------- 2. 设计变量 ---------- */
:root {
  --ink:      #08090C;
  --ink-2:    #12151A;
  --line:     #2C313A;
  --gold:     #D4A72C;
  --gold-lt:  #F0D48A;
  --paper:    #F2EDE4;
  --gray:     #A9B0BA;
  --moss:     #8FA893;
  --clay:     #C0764A;
  --neon:     #35C8FF;
  --crimson:  #E23636;

  --wrap: 1240px;
  --gut: 20px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
               "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
               "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas,
               "Liberation Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);

  --clip-xs: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  --clip-sm: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  --clip-md: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  --clip-lg: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px));
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 10% -10%, rgba(212, 167, 44, .075), transparent 62%),
    radial-gradient(900px 520px at 94% 3%, rgba(53, 200, 255, .055), transparent 64%),
    repeating-linear-gradient(135deg, rgba(44, 49, 58, .16) 0 1px, transparent 1px 9px);
  background-attachment: fixed, fixed, scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.num,
[data-count] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}

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

/* ---------- 4. 跳过链接 ---------- */
.skip-link {
  position: absolute;
  left: 14px;
  top: -80px;
  z-index: 120;
  padding: 12px 22px;
  background: var(--gold);
  color: #0B0D11;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  clip-path: var(--clip-xs);
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- 5. 页头 · 居中刊头 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--paper);
  background: rgba(8, 9, 12, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease);
}

/* 顶部细带 */
.head-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  padding: 9px 0;
  max-height: 46px;
  overflow: hidden;
  border-bottom: 1px solid rgba(44, 49, 58, .8);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gray);
  transition: max-height .4s var(--ease), opacity .3s var(--ease),
              padding .4s var(--ease), border-color .3s var(--ease);
}

.site-head.is-condensed .head-band {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-color: transparent;
}

.head-issue {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.head-issue .num {
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
  border: 1px solid var(--line);
  padding: 2px 7px;
}

.head-ticket {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 3px 2px;
  color: var(--gold-lt);
  letter-spacing: .2em;
  white-space: nowrap;
  transition: color .3s var(--ease);
}
.head-ticket::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--neon);
  transform: rotate(45deg);
  box-shadow: 0 0 9px rgba(53, 200, 255, .75);
}
.head-ticket:hover { color: #FFFFFF; }

/* 刊头 */
.head-masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 14px;
  transition: padding .4s var(--ease);
}
.site-head.is-condensed .head-masthead { padding: 11px 0 9px; }

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.brand-crown {
  width: 26px;
  height: 19px;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  clip-path: polygon(0 100%, 0 22%, 22% 60%, 50% 0, 78% 60%, 100% 22%, 100% 100%);
  filter: drop-shadow(0 0 10px rgba(212, 167, 44, .5));
  transition: transform .5s var(--ease), filter .4s var(--ease);
}
.brand:hover .brand-crown {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 16px rgba(240, 212, 138, .8));
}

.brand-name {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: .16em;
  text-indent: .16em;
  color: var(--paper);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .46em;
  text-indent: .46em;
  color: var(--gray);
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.site-head.is-condensed .brand-sub { opacity: .5; }

/* 栏目条 */
.site-nav {
  position: relative;
  border-top: 1px solid rgba(44, 49, 58, .8);
}

.nav-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 17px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gray);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-list a::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--gold);
  opacity: .6;
  transform: rotate(45deg);
  transition: background .3s var(--ease), opacity .3s var(--ease),
              transform .4s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 17px;
  right: 17px;
  bottom: 5px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav-list a:hover {
  color: var(--paper);
  background: rgba(212, 167, 44, .05);
}
.nav-list a:hover::before {
  opacity: 1;
  background: var(--gold);
  transform: rotate(45deg) scale(1.12);
}
.nav-list a[aria-current="page"] { color: var(--gold-lt); }
.nav-list a[aria-current="page"]::before { opacity: 1; background: var(--gold); }
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

/* 移动端开关 */
.nav-toggle { display: none; }

/* ---------- 6. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(60px, 9vw, 120px);
  background: linear-gradient(180deg, #08090C 0%, #0B0D11 45%, #08090C 100%);
  border-top: 1px solid var(--line);
  color: var(--gray);
  font-size: 14.5px;
}

.foot-band {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 22%,
              var(--gold-lt) 50%, var(--gold) 78%, transparent);
  opacity: .85;
}

.foot-inner {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) 0 34px;
}

.foot-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.foot-brand { display: flex; align-items: center; gap: 14px; }

.foot-crown {
  width: 22px;
  height: 16px;
  flex: none;
  background: linear-gradient(180deg, var(--gold-lt), var(--gold));
  clip-path: polygon(0 100%, 0 22%, 22% 60%, 50% 0, 78% 60%, 100% 22%, 100% 100%);
}

.foot-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .16em;
  color: var(--paper);
}

.foot-tag {
  font-size: 13.5px;
  letter-spacing: .18em;
  color: var(--gray);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.foot-col { min-width: 0; }

.foot-col-t {
  position: relative;
  padding-left: 13px;
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--gold);
}
.foot-col-t::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 1.5px;
  background: var(--gold);
}

.foot-links li + li { margin-top: 10px; }

.foot-links a {
  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--gold-lt);
  border-color: rgba(212, 167, 44, .55);
}

.foot-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.foot-meta-t {
  margin-bottom: 16px;
  font-size: 12px;
  letter-spacing: .32em;
  color: var(--gold);
}

.foot-legal { min-width: 0; }

.foot-clist li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(44, 49, 58, .95);
}
.foot-clist li:last-child { border-bottom: 0; }

.foot-k {
  min-width: 74px;
  flex: none;
  font-size: 12px;
  letter-spacing: .16em;
  color: #6E7783;
}

.foot-v {
  color: var(--paper);
  font-size: 14px;
  word-break: break-all;
}
.foot-v a {
  color: var(--neon);
  border-bottom: 1px solid rgba(53, 200, 255, .35);
  transition: border-color .3s var(--ease);
}
.foot-v a:hover { border-color: var(--neon); }

.copy-btn {
  margin-left: auto;
  padding: 4px 13px;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--gold);
  border: 1px solid rgba(212, 167, 44, .45);
  clip-path: var(--clip-xs);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease);
}
.copy-btn:hover { background: rgba(212, 167, 44, .12); border-color: var(--gold); }
.copy-btn.is-copied {
  background: var(--gold-lt);
  color: #0B0D11;
  border-color: var(--gold-lt);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #6E7783;
}
.foot-copy { white-space: nowrap; }
.foot-note { max-width: 620px; line-height: 1.7; }

/* 返回顶部 */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 58px;
  height: 58px;
  background: rgba(18, 21, 26, .94);
  border: 1px solid var(--line);
  clip-path: var(--clip-sm);
  color: var(--gold-lt);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s, border-color .3s var(--ease);
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--gold); }

.to-top-ico {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 7px solid var(--gold-lt);
  transition: transform .3s var(--ease);
}
.to-top:hover .to-top-ico { transform: translateY(-2px); }

.to-top-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--gold);
}

/* ---------- 7. 通用容器与章节 ---------- */
.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.section { padding-block: clamp(52px, 8vw, 108px); }

.chapter-band {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(212, 167, 44, .07), transparent 58%);
}
.band-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
}
.band-txt {
  font-size: 12.5px;
  letter-spacing: .3em;
  color: var(--gray);
}

.sec-head { margin-bottom: clamp(24px, 3vw, 38px); }

.sec-num {
  display: inline-block;
  padding: 5px 11px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
  border: 1px solid var(--line);
  clip-path: var(--clip-xs);
}

.sec-title {
  position: relative;
  padding-bottom: 14px;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--paper);
}
.sec-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  background: var(--gold);
}

.sec-sub {
  margin-top: 16px;
  max-width: 62ch;
  font-size: 15.5px;
  color: var(--gray);
}

.card-title {
  position: relative;
  padding-bottom: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--gold-lt);
}
.card-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  background: var(--gold);
}

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), transparent);
}
.rule-gold {
  height: 3px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), transparent 72%);
}

/* ---------- 8. 切角面板 / 刻度框景 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  clip-path: var(--clip-md);
  transition: border-color .35s var(--ease), background .35s var(--ease),
              transform .35s var(--ease);
}
.panel:hover { border-color: rgba(212, 167, 44, .7); }
.panel-flat { background: rgba(18, 21, 26, .62); }
.panel-lg { clip-path: var(--clip-lg); }

.tick-frame {
  position: relative;
  padding: clamp(24px, 4vw, 52px);
}
.tick-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}
.tick-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(212, 167, 44, .5) 0 1px, transparent 1px 46px)
      0 0 / 100% 10px no-repeat,
    repeating-linear-gradient(90deg, rgba(212, 167, 44, .5) 0 1px, transparent 1px 46px)
      0 100% / 100% 10px no-repeat,
    repeating-linear-gradient(0deg, rgba(212, 167, 44, .5) 0 1px, transparent 1px 46px)
      0 0 / 10px 100% no-repeat,
    repeating-linear-gradient(0deg, rgba(212, 167, 44, .5) 0 1px, transparent 1px 46px)
      100% 0 / 10px 100% no-repeat;
}

/* ---------- 9. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--paper);
  background: rgba(18, 21, 26, .72);
  border: 1px solid var(--line);
  clip-path: var(--clip-sm);
  transition: color .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); border-color: var(--gold); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-lt), var(--gold) 55%, #A87F14);
  color: #0B0D11;
  border-color: transparent;
  font-weight: 700;
}
.btn-gold:hover { filter: brightness(1.08); }

.btn-line {
  background: transparent;
  color: var(--gold-lt);
  border-color: rgba(212, 167, 44, .5);
}
.btn-line:hover { background: rgba(212, 167, 44, .1); }

.btn-neon {
  background: transparent;
  color: var(--neon);
  border-color: rgba(53, 200, 255, .4);
}
.btn-neon:hover { background: rgba(53, 200, 255, .1); border-color: var(--neon); }

/* ---------- 10. 面包屑 ---------- */
.crumb { padding-top: 22px; }
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .1em;
  color: #6E7783;
}
.crumb li { display: flex; align-items: center; }
.crumb li + li::before {
  content: "／";
  margin-right: 10px;
  color: var(--line);
  letter-spacing: 0;
}
.crumb a {
  color: var(--gray);
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.crumb a:hover { color: var(--neon); border-color: rgba(53, 200, 255, .5); }
.crumb [aria-current="page"] { color: var(--gold-lt); }

/* ---------- 11. 正文容器 ---------- */
.prose {
  max-width: 66ch;
  font-size: 17px;
  line-height: 1.8;
  color: #D9D4CA;
}
.prose > * + * { margin-top: 1.2em; }

.prose h2 {
  position: relative;
  padding-bottom: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1.32;
  letter-spacing: -.005em;
  color: var(--paper);
}
.prose h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 4px;
  background: var(--gold);
}

.prose h3 {
  font-size: 18.5px;
  font-weight: 700;
  color: var(--gold-lt);
}

.prose a {
  color: var(--neon);
  border-bottom: 1px solid rgba(53, 200, 255, .4);
  transition: border-color .3s var(--ease);
}
.prose a:hover { border-color: var(--neon); }

.prose strong { color: var(--paper); font-weight: 700; }

.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li + li { margin-top: .6em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--gold);
  transform: rotate(45deg);
}

.prose blockquote {
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--gold);
  color: var(--gray);
}

.link-neon {
  color: var(--neon);
  border-bottom: 1px solid rgba(53, 200, 255, .4);
  transition: border-color .3s var(--ease);
}
.link-neon:hover { border-color: var(--neon); }

/* ---------- 12. 网格 ---------- */
.grid { display: grid; gap: clamp(20px, 2.8vw, 40px); }
.grid-75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid-57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 13. 注释 / 数据 / 标签 ---------- */
.v-note {
  writing-mode: vertical-rl;
  font-size: 12.5px;
  letter-spacing: .3em;
  line-height: 1;
  color: var(--gray);
}
.v-note-gold { color: var(--gold); }

.stat { display: flex; flex-direction: column; gap: 6px; }

.stat-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--gold);
}

.stat-label {
  font-size: 12.5px;
  letter-spacing: .24em;
  color: var(--gray);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--gray);
  border: 1px solid var(--line);
  clip-path: var(--clip-xs);
}
.tag::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
}
.tag-moss  { color: var(--moss);    border-color: rgba(143, 168, 147, .45); }
.tag-clay  { color: var(--clay);    border-color: rgba(192, 118, 74, .45); }
.tag-gold  { color: var(--gold);    border-color: rgba(212, 167, 44, .45); }
.tag-warn  { color: var(--crimson); border-color: rgba(226, 54, 54, .45); }
.tag-neon  { color: var(--neon);    border-color: rgba(53, 200, 255, .45); }

/* ---------- 14. 图片容器 ---------- */
.figure {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: linear-gradient(150deg, #15181E, #0A0B0F 72%);
  border: 1px solid var(--line);
  clip-path: var(--clip-md);
}

.figure-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06) brightness(.96);
}
.figure-wide .figure-img { aspect-ratio: 21 / 9; }
.figure-tall .figure-img { aspect-ratio: 3 / 4; }

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 9, 12, 0) 44%, rgba(8, 9, 12, .8) 100%),
    repeating-linear-gradient(135deg, rgba(53, 200, 255, .05) 0 1px, transparent 1px 15px);
}

.figure-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--paper);
}
.figure-cap::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1.5px;
  background: var(--gold);
}

/* ---------- 15. 技能树式步骤 ---------- */
.steps { display: flex; flex-direction: column; }

.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background .3s var(--ease);
}
.step:last-child { border-bottom: 0; }
.step:hover { background: rgba(212, 167, 44, .04); }

.step-num {
  display: grid;
  place-items: center;
  height: 38px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  color: var(--gold);
  border: 1px solid var(--line);
  clip-path: var(--clip-xs);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease);
}
.step.is-lit .step-num {
  background: var(--gold);
  color: #0B0D11;
  border-color: var(--gold);
}

.step-body h3 {
  margin-bottom: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-lt);
}
.step-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray);
}

/* ---------- 16. 标签页 ---------- */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

[data-tab] {
  padding: 9px 18px;
  font-size: 13.5px;
  letter-spacing: .12em;
  color: var(--gray);
  border: 1px solid var(--line);
  clip-path: var(--clip-xs);
  transition: color .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease);
}
[data-tab]:hover { color: var(--paper); border-color: rgba(212, 167, 44, .6); }
[data-tab].is-active {
  color: #0B0D11;
  background: linear-gradient(135deg, var(--gold-lt), var(--gold));
  border-color: transparent;
  font-weight: 700;
}

.js [data-tab-panel] { display: none; }
.js [data-tab-panel].is-active { display: block; }

/* ---------- 17. 动效协议 ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .48s var(--ease), transform .48s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-3,
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(100% - 40px, var(--wrap));
    margin: 12px auto;
    padding: 12px 16px;
    color: var(--gold-lt);
    background: rgba(18, 21, 26, .72);
    border: 1px solid var(--line);
    font-size: 13px;
    letter-spacing: .28em;
    clip-path: var(--clip-sm);
    transition: border-color .3s var(--ease), background .3s var(--ease);
  }
  .nav-toggle:hover { border-color: var(--gold); }

  .nav-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 16px;
    flex: none;
  }
  .nav-toggle-bars i {
    display: block;
    height: 1.5px;
    background: var(--gold);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .nav-toggle-txt { line-height: 1; }

  .site-nav[data-open] .nav-toggle-bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .site-nav[data-open] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
  .site-nav[data-open] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100% - 40px, var(--wrap));
    margin: 0 auto 16px;
    border-top: 1px solid var(--line);
  }
  .site-nav[data-open] .nav-list { display: flex; }

  .nav-list a {
    padding: 15px 8px;
    border-bottom: 1px solid rgba(44, 49, 58, .6);
  }
  .nav-list a::after { left: 8px; right: 8px; bottom: 0; }

  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-meta { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .grid-75,
  .grid-57 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  .head-issue { letter-spacing: .12em; font-size: 11.5px; }
  .head-ticket { letter-spacing: .12em; font-size: 11.5px; }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: minmax(0, 1fr); }

  .foot-cols { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .foot-top { align-items: flex-start; }
  .foot-tag { font-size: 12.5px; letter-spacing: .12em; }
  .foot-base { flex-direction: column; align-items: flex-start; }
  .foot-copy { white-space: normal; }

  .to-top { right: 14px; bottom: 16px; width: 52px; height: 52px; }

  .step { grid-template-columns: 46px minmax(0, 1fr); gap: 14px; }
  .step-num { height: 34px; font-size: 12px; }
}

/* ---------- 19. 无障碍与降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
  .to-top { transform: none; }
}
