/* ============================================================
   麒麟娱乐登录 · 共享样式 /assets/site.css
   夜间地标巡礼：墨黑底 · 铜金刻线 · 朱砂强调 · 青瓷状态
   ============================================================ */

/* ---------- 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd, dt,
ul, ol { margin: 0; }

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

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

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

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

input, textarea, select { font: inherit; }

hr { border: 0; }

/* ---------- 变量 ---------- */
:root {
  /* 色板 */
  --ink: #080B10;
  --slate: #111A24;
  --steel: #1B2735;
  --panel-surface: #141E2A;
  --brass: #C9A45C;
  --brass-light: #E6CD93;
  --cinnabar: #C94A3A;
  --celadon: #74B7A4;
  --warm: #F4EFE6;
  --cool: #9AA6B2;
  --warm-gray: #D8D0C2;

  /* 边界 */
  --line: rgba(201, 164, 92, 0.24);
  --line-soft: rgba(244, 239, 230, 0.09);
  --line-strong: rgba(201, 164, 92, 0.48);

  /* 字体 */
  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, monospace;

  /* 尺度 */
  --wrap: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* 焦点 */
  --focus-ring: 2px solid var(--brass-light);
  --focus-glow: 0 0 0 6px rgba(201, 164, 92, 0.18);
}

/* ---------- 基础排版 ---------- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ink);
  background-image:
    radial-gradient(130% 72% at 50% -10%, #1A2836 0%, #101A24 36%, #080B10 76%),
    linear-gradient(180deg, rgba(8, 11, 16, 0) 0%, rgba(8, 11, 16, 0.85) 100%);
  background-repeat: no-repeat;
  color: var(--warm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  color: var(--warm);
}

h1 {
  font-size: clamp(38px, 6vw, 92px);
  line-height: 1.02;
  letter-spacing: 0.09em;
}

h2 {
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: 0.09em;
}

h3 {
  font-size: clamp(19px, 1.8vw, 26px);
  letter-spacing: 0.07em;
}

h4 {
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.06em;
}

strong { font-weight: 700; color: var(--warm); }

.mono {
  font-family: var(--font-mono);
  font-size: 0.85em;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 焦点 ---------- */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  box-shadow: var(--focus-glow);
  border-radius: 2px;
}

/* ---------- 跳至主内容 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  display: inline-block;
  padding: 0.7em 1.2em;
  background: var(--brass);
  color: #080B10;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 2px;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-color: #080B10;
  box-shadow: 0 0 0 6px rgba(201, 164, 92, 0.35);
}

/* ============================================================
   页头 · 檐口与铭牌层
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: linear-gradient(180deg, rgba(10, 15, 21, 0.97) 0%, rgba(14, 22, 32, 0.95) 100%);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    rgba(201, 164, 92, 0) 0%,
    rgba(201, 164, 92, 0.55) 16%,
    rgba(201, 164, 92, 0.55) 84%,
    rgba(201, 164, 92, 0) 100%);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.site-header[data-scrolled] {
  background: linear-gradient(180deg, rgba(8, 11, 16, 1) 0%, rgba(12, 19, 27, 0.99) 100%);
  box-shadow: 0 22px 44px -34px rgba(0, 0, 0, 1);
}

.site-header[data-open]::after {
  opacity: 1;
  background: linear-gradient(90deg, transparent 0%, var(--brass) 50%, transparent 100%);
}

.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}

/* 品牌铭牌 */
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-block: 12px;
}

.brand-mark {
  display: grid;
  gap: 4px;
  width: 22px;
  flex: 0 0 auto;
}

.brand-mark i {
  display: block;
  height: 2px;
  background: var(--brass);
  border-radius: 1px;
  transition: background 0.2s var(--ease);
}

.brand-mark i:nth-child(2) {
  width: 72%;
  background: var(--brass-light);
}

.brand-mark i:nth-child(3) {
  width: 42%;
  background: var(--cinnabar);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.24;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: var(--warm);
  transition: color 0.2s var(--ease);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--cool);
  padding-top: 2px;
}

.brand:hover .brand-name { color: var(--brass-light); }
.brand:hover .brand-mark i:nth-child(1) { background: var(--brass-light); }

/* 第二栏 · 常驻高亮的 CN 查询铭牌 */
.cn-plate {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.55em 0.9em;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.16) 0%, rgba(201, 164, 92, 0.04) 100%);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  white-space: nowrap;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}

.cn-plate-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 3px rgba(201, 74, 58, 0.18);
  flex: 0 0 auto;
}

.cn-plate-text { display: inline-block; }

.cn-plate:hover {
  border-color: var(--brass-light);
  background: linear-gradient(160deg, rgba(201, 164, 92, 0.3) 0%, rgba(201, 164, 92, 0.1) 100%);
  color: var(--warm);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.7em;
  margin-left: auto;
  padding: 0.65em 0.85em;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(201, 164, 92, 0.06);
  color: var(--brass-light);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: var(--brass-light); color: var(--warm); }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
  flex: 0 0 auto;
}

.nav-toggle-bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

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

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

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

/* 框架式导航 */
.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 20px);
  flex-wrap: nowrap;
}

.nav-item { flex: 0 0 auto; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  padding: 12px 2px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--cool);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-link-text { display: inline-block; }

.nav-link-code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: rgba(201, 164, 92, 0.55);
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--brass) 0%, var(--brass-light) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}

.nav-link:hover { color: var(--warm); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link:hover .nav-link-code { color: var(--brass); }

.site-nav a[aria-current="page"] { color: var(--brass-light); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] .nav-link-code { color: var(--cinnabar); }

/* 页头状态角标 */
.header-meta {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding-left: clamp(8px, 1.2vw, 18px);
  border-left: 1px solid var(--line-soft);
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--brass);
}

.meta-note {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cool);
}

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(244, 239, 230, 0.05);
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cinnabar) 0%, var(--brass) 55%, var(--brass-light) 100%);
}

/* ============================================================
   页脚 · 基座层
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  background:
    linear-gradient(180deg, rgba(17, 26, 36, 0.94) 0%, rgba(8, 11, 16, 0.99) 62%),
    var(--ink);
  color: var(--warm-gray);
  font-size: 14.5px;
  line-height: 1.8;
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 164, 92, 0.75) 50%, transparent 100%);
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg,
    rgba(201, 164, 92, 0.045) 0 1px,
    transparent 1px 96px);
  opacity: 0.7;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(40px, 5vw, 72px) clamp(22px, 3vw, 34px);
}

.footer-mast {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 28px;
  padding-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--warm);
}

.footer-tagline {
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--cool);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(24px, 3vw, 48px);
  padding-block: clamp(28px, 4vw, 52px);
}

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

.footer-col-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--brass);
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--warm-gray);
  transition: color 0.2s var(--ease);
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  width: 7px;
  height: 1px;
  background: var(--brass);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s var(--ease);
}

.footer-links a:hover { color: var(--brass-light); }
.footer-links a:hover::before { transform: translateY(-50%) scaleX(1); }

.footer-contact {
  display: grid;
  gap: 12px;
}

.contact-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(244, 239, 230, 0.08);
}

.contact-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-row dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cool);
}

.contact-row dd {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--warm-gray);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-top: clamp(18px, 2.4vw, 30px);
  border-top: 1px solid var(--line-soft);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.footer-legal a {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--cool);
  transition: color 0.2s var(--ease);
}

.footer-legal a:hover { color: var(--brass-light); }

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cool);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(154, 166, 178, 0.82);
}

/* ============================================================
   通用容器与区块
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 940px; }

.section { padding-block: clamp(48px, 7vw, 110px); }
.section--tight { padding-block: clamp(28px, 4vw, 60px); }
.section--flush { padding-block: 0; }

.page-head {
  padding-block: clamp(36px, 5vw, 76px) clamp(18px, 2.6vw, 36px);
}

.page-title { max-width: 22ch; }

.page-lede {
  margin-top: clamp(14px, 1.8vw, 24px);
  max-width: 64ch;
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.9;
  letter-spacing: 0.02em;
  color: var(--cool);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: clamp(12px, 1.6vw, 20px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cinnabar);
  flex: 0 0 auto;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 28px;
  padding-bottom: clamp(16px, 2.2vw, 28px);
  margin-bottom: clamp(24px, 3vw, 42px);
  border-bottom: 1px solid var(--line-soft);
}

.section-title { margin: 0; }

.section-note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--cool);
}

/* ---------- 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--cool);
  padding-block: clamp(14px, 2vw, 22px) 0;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6em;
}

.breadcrumb li { display: inline-flex; align-items: center; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.6em;
  color: rgba(154, 166, 178, 0.45);
}

.breadcrumb a { transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--brass-light); }

/* ---------- 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 32px);
}

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

.grid--split {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  align-items: start;
}

/* ---------- 铭牌面板 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(165deg, rgba(27, 39, 53, 0.94) 0%, rgba(17, 26, 36, 0.97) 100%);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  box-shadow: 0 24px 48px -36px rgba(0, 0, 0, 0.95);
}

.panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 18px;
  height: 18px;
  border-top: 1px solid var(--brass);
  border-left: 1px solid var(--brass);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.panel::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 18px;
  height: 18px;
  border-bottom: 1px solid var(--brass);
  border-right: 1px solid var(--brass);
  opacity: 0.85;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}

.panel--lift {
  transition: transform 0.25s var(--ease),
              border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

.panel--lift:hover,
.panel--lift:focus-within {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 32px 60px -40px rgba(0, 0, 0, 1);
}

.panel--lift:hover::before,
.panel--lift:hover::after,
.panel--lift:focus-within::before,
.panel--lift:focus-within::after {
  opacity: 1;
}

.panel-title {
  margin-bottom: 0.55em;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.06em;
}

.panel-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cool);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.82em 1.45em;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: rgba(27, 39, 53, 0.55);
  color: var(--warm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-align: center;
  transition: background 0.22s var(--ease),
              color 0.22s var(--ease),
              border-color 0.22s var(--ease),
              transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
}

.btn:hover {
  color: var(--brass-light);
  border-color: var(--brass);
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(140deg, var(--brass-light) 0%, var(--brass) 55%, #A9813C 100%);
  border-color: transparent;
  color: #0A0E14;
  font-weight: 800;
  box-shadow: 0 12px 26px -18px rgba(201, 164, 92, 0.9);
}

.btn--primary:hover {
  color: #080B10;
  border-color: transparent;
  box-shadow: 0 16px 32px -16px rgba(201, 164, 92, 0.85);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(244, 239, 230, 0.22);
  color: var(--warm-gray);
}

.btn--ghost:hover {
  border-color: var(--brass);
  color: var(--brass-light);
}

.btn--quiet {
  padding-inline: 0.4em;
  border-color: transparent;
  background: transparent;
  color: var(--brass);
}

.btn--quiet:hover {
  color: var(--brass-light);
  border-color: transparent;
  transform: none;
}

/* ---------- 状态标签 ---------- */
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.26em 0.72em;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  white-space: nowrap;
}

.status-tag--active {
  color: var(--celadon);
  border-color: rgba(116, 183, 164, 0.45);
  background: rgba(116, 183, 164, 0.08);
}

.status-tag--archived {
  color: var(--cool);
  border-color: rgba(154, 166, 178, 0.32);
  background: rgba(154, 166, 178, 0.06);
}

.status-tag--alert {
  color: var(--cinnabar);
  border-color: rgba(201, 74, 58, 0.45);
  background: rgba(201, 74, 58, 0.08);
}

/* ---------- 分隔线 ---------- */
.rule-line {
  height: 1px;
  margin-block: clamp(24px, 3vw, 40px);
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.6) 0%, rgba(201, 164, 92, 0) 100%);
}

/* ---------- 图片容器基础 ---------- */
.figure-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: linear-gradient(150deg, #16212E 0%, #0A0F16 100%);
}

.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(201, 164, 92, 0.14);
  pointer-events: none;
}

.figure-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.94);
}

.figure-frame--empty {
  background-image:
    repeating-linear-gradient(135deg,
      rgba(201, 164, 92, 0.08) 0 1px,
      transparent 1px 14px),
    linear-gradient(150deg, #16212E 0%, #0A0F16 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 2vw, 28px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: rgba(154, 166, 178, 0.8);
}

.figure-frame--wide { aspect-ratio: 16 / 9; }
.figure-frame--standard { aspect-ratio: 4 / 3; }
.figure-frame--square { aspect-ratio: 1 / 1; }
.figure-frame--portrait { aspect-ratio: 3 / 4; }

.figure-caption {
  margin-top: 0.75em;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cool);
}

/* ---------- 正文 ---------- */
.prose {
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--warm-gray);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(22px, 2.4vw, 30px);
}

.prose h3 { margin-top: 1.6em; }

.prose strong { color: var(--warm); }

.prose a {
  color: var(--brass-light);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(201, 164, 92, 0.5);
}

.prose a:hover { text-decoration-color: var(--brass-light); }

.prose ul { list-style: disc; padding-left: 1.25em; }
.prose ol { list-style: decimal; padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }

.prose blockquote {
  padding-left: 1.2em;
  border-left: 2px solid var(--brass);
  color: var(--cool);
}

/* ---------- 折叠面板 ---------- */
.disclosure {
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: rgba(20, 30, 42, 0.6);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.disclosure + .disclosure { margin-top: 10px; }

.disclosure:hover { border-color: var(--line); }

.disclosure-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(14px, 1.7vw, 20px) clamp(16px, 2vw, 24px);
  text-align: left;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--warm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.disclosure-trigger:hover {
  color: var(--brass-light);
  background: rgba(201, 164, 92, 0.05);
}

.disclosure-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.disclosure-icon::before,
.disclosure-icon::after {
  content: "";
  position: absolute;
  background: var(--brass);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.disclosure-icon::before {
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  transform: translateY(-50%);
}

.disclosure-icon::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 14px;
  transform: translateX(-50%);
}

.disclosure-trigger[aria-expanded="true"] .disclosure-icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}

.disclosure-panel {
  padding: 16px clamp(16px, 2vw, 24px) clamp(16px, 2vw, 22px);
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.85;
  color: var(--warm-gray);
}

.disclosure-panel[hidden] { display: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1440px) {
  .header-meta { display: none; }
}

@media (max-width: 1140px) {
  .header-inner { min-height: 66px; }

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--gutter) 22px;
    background: linear-gradient(180deg, #0C131B 0%, #0A0F16 100%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.95);
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  .site-header[data-open] .site-nav { display: flex; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 2px;
    font-size: 15px;
    letter-spacing: 0.08em;
  }

  .nav-link::after { display: none; }
  .nav-link-code { font-size: 11px; }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 2px 0 0 var(--cinnabar);
    background: rgba(201, 74, 58, 0.07);
    padding-left: 12px;
  }
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3,
  .grid--split { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 760px) {
  .cn-plate { display: none; }
  .footer-mast { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact-row { grid-template-columns: 46px minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 0.65em 0.7em; }
}

/* ============================================================
   动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .panel--lift:hover,
  .panel--lift:focus-within,
  .btn:hover {
    transform: none;
  }
}
