/* ============================================================
   /assets/site.css — PG会馆 共享样式
   夜航层级档案馆 / Night Layer Archive
   ============================================================ */

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

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

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- tokens ---------- */
:root {
  --ink: #071A2B;
  --hull: #0D2B45;
  --void: #020B12;
  --paper: #F4F7F6;
  --mist: #A9BAC6;
  --cyan: #2FE6D6;
  --gold: #FFB84D;
  --rose: #FF5C8A;
  --teal: #0E6B66;
  --sand: #F5D7A1;

  --line: rgba(169, 186, 198, 0.16);
  --line-strong: rgba(169, 186, 198, 0.34);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;

  --header-h: 76px;
  --shell: min(1320px, 100% - clamp(1.75rem, 5vw, 4rem));
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --font-display: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Segoe UI", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", "Noto Serif SC", serif;
  --font-mono: "SFMono-Regular", "Consolas", "Liberation Mono", Menlo, monospace;
}

@media (max-width: 1079px) {
  :root { --header-h: 64px; }
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background:
    radial-gradient(90rem 50rem at 84% -12%, rgba(47, 230, 214, 0.10), transparent 62%),
    radial-gradient(64rem 42rem at -6% 6%, rgba(255, 184, 77, 0.06), transparent 60%),
    var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

::selection { background: rgba(47, 230, 214, 0.3); color: var(--paper); }

/* ---------- skip link ---------- */
.pg-skip {
  position: fixed;
  top: -5rem;
  left: 1rem;
  z-index: 400;
  padding: 0.7rem 1.1rem;
  background: var(--cyan);
  color: #04171F;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: var(--r-xs);
  transition: top 0.25s var(--ease);
}
.pg-skip:focus { top: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.pg-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(2, 11, 18, 0.78), rgba(2, 11, 18, 0));
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pg-header.is-solid {
  background: rgba(7, 26, 43, 0.94);
  box-shadow: 0 1px 0 var(--line), 0 22px 44px -34px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.pg-header[data-open="true"] { background: rgba(2, 11, 18, 0.97); }

.pg-header__inner {
  position: relative;
  z-index: 210;
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 2.2rem);
  width: var(--shell);
  min-height: var(--header-h);
  margin-inline: auto;
}

/* 左侧刻度轨道（大屏） */
.pg-rail {
  display: none;
  position: fixed;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  pointer-events: none;
}
.pg-rail__tick {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.pg-rail__label {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 9.5px;
  letter-spacing: 0.42em;
  color: rgba(169, 186, 198, 0.55);
  text-transform: uppercase;
}
.pg-rail__line {
  position: relative;
  display: block;
  width: 1px;
  height: 140px;
  background: linear-gradient(180deg, rgba(169, 186, 198, 0.35), rgba(169, 186, 198, 0.02));
}
.pg-rail__dot {
  position: absolute;
  top: 0;
  left: -2.5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(255, 184, 77, 0.85);
  will-change: transform;
}

@media (min-width: 1440px) {
  .pg-rail { display: flex; }
}

/* 品牌 */
.pg-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
  text-decoration: none;
}

.pg-brand__plate {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  border: 1px solid rgba(47, 230, 214, 0.55);
  border-radius: var(--r-xs);
  background: rgba(47, 230, 214, 0.07);
  box-shadow: inset 0 0 20px -10px var(--cyan);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.pg-brand:hover .pg-brand__plate { border-color: var(--cyan); color: var(--sand); }

.pg-brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.pg-brand__cn {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.pg-brand__en {
  font-family: var(--font-serif);
  font-size: 9px;
  letter-spacing: 0.26em;
  color: var(--mist);
}

/* 导航 */
.pg-nav { display: flex; align-items: center; margin-left: auto; }

.pg-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.4rem);
}

.pg-nav__item { display: flex; }

.pg-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.38rem;
  padding: 0.5rem 0.1rem;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 246, 0.78);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}
.pg-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), rgba(47, 230, 214, 0));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s var(--ease);
}
.pg-nav__link:hover { color: var(--paper); }
.pg-nav__link:hover::after { transform: scaleX(1); }

.pg-nav__num {
  font-family: var(--font-serif);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: rgba(47, 230, 214, 0.8);
}

.pg-nav__link[aria-current="page"] { color: var(--cyan); }
.pg-nav__link[aria-current="page"] .pg-nav__num { color: var(--sand); }
.pg-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--cyan);
}

.pg-nav__foot { display: none; }

/* 桌面行动区 */
.pg-header__actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
}

/* 移动按钮 */
.pg-navtoggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(47, 230, 214, 0.4);
  border-radius: var(--r-xs);
  background: rgba(47, 230, 214, 0.08);
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pg-navtoggle:hover { background: rgba(47, 230, 214, 0.16); border-color: var(--cyan); }
.pg-navtoggle__bars { display: grid; gap: 4px; width: 16px; }
.pg-navtoggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.pg-header[data-open="true"] .pg-navtoggle__bar:first-child { transform: translateY(2.75px) rotate(45deg); }
.pg-header[data-open="true"] .pg-navtoggle__bar:last-child { transform: translateY(-2.75px) rotate(-45deg); }
.pg-navtoggle__text { line-height: 1; }

/* 滚动进度 */
.pg-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--cyan), var(--teal) 45%, var(--gold));
  opacity: 0.9;
}

/* ---------- 移动 / 平板抽屉 ---------- */
@media (max-width: 1079px) {
  .pg-header__actions { display: none; }
  .pg-navtoggle { display: inline-flex; }

  .pg-nav {
    position: fixed;
    inset: 0;
    z-index: 180;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-left: 0;
    padding: calc(var(--header-h) + 1.75rem) clamp(1.25rem, 6vw, 2.75rem) 2.5rem;
    overflow-y: auto;
    background:
      radial-gradient(120% 70% at 100% 0%, rgba(14, 107, 102, 0.5), transparent 62%),
      radial-gradient(90% 60% at 0% 100%, rgba(255, 184, 77, 0.1), transparent 60%),
      linear-gradient(180deg, #020B12, #071A2B 58%, #0D2B45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s linear;
  }
  .pg-header[data-open="true"] .pg-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .pg-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }

  .pg-nav__item + .pg-nav__item { border-top: 1px solid rgba(169, 186, 198, 0.12); }

  .pg-nav__link {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.95rem 0.15rem;
    font-size: clamp(1.2rem, 4.6vw, 1.55rem);
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .pg-nav__link::after { bottom: 0.45rem; right: 40%; }
  .pg-nav__link[aria-current="page"]::after { right: 40%; }
  .pg-nav__num { font-size: 11px; letter-spacing: 0.2em; }

  .pg-nav__foot {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.9rem;
  }
  .pg-nav__foot .pg-btn { justify-content: center; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.pg-footer {
  position: relative;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding: clamp(2.5rem, 6vw, 4.25rem) 0 1.5rem;
  background:
    radial-gradient(70% 90% at 8% 0%, rgba(14, 107, 102, 0.22), transparent 65%),
    var(--void);
  border-top: 1px solid var(--line);
  color: var(--mist);
}
.pg-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 230, 214, 0.65), rgba(255, 184, 77, 0.45), transparent);
}

.pg-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.75fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  width: var(--shell);
  margin-inline: auto;
}

.pg-footer__brand { display: flex; flex-direction: column; gap: 0.85rem; }

.pg-footer__plate {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  text-decoration: none;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border: 1px solid rgba(169, 186, 198, 0.22);
  border-radius: var(--r-xs);
  background: rgba(244, 247, 246, 0.03);
  transition: border-color 0.3s var(--ease);
}
.pg-footer__plate:hover { border-color: rgba(47, 230, 214, 0.6); }
.pg-footer__plate-num {
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--cyan);
}
.pg-footer__plate-en {
  font-family: var(--font-serif);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--mist);
}

.pg-footer__line {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(244, 247, 246, 0.86);
  max-width: 26ch;
}
.pg-footer__en {
  font-family: var(--font-serif);
  font-size: 9.5px;
  letter-spacing: 0.26em;
  color: rgba(169, 186, 198, 0.55);
}

.pg-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pg-footer__group { min-width: 0; }

.pg-footer__title {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--sand);
  margin-bottom: 0.85rem;
}

.pg-footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.pg-footer__links a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  color: rgba(244, 247, 246, 0.72);
  text-decoration: none;
  padding-left: 0.75rem;
  transition: color 0.24s var(--ease);
}
.pg-footer__links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 5px;
  height: 1px;
  background: rgba(169, 186, 198, 0.45);
  transition: background 0.24s var(--ease), width 0.24s var(--ease);
}
.pg-footer__links a:hover { color: var(--cyan); }
.pg-footer__links a:hover::before { width: 9px; background: var(--cyan); }

.pg-footer__contact { min-width: 0; }

.pg-footer__rows { display: flex; flex-direction: column; gap: 0.6rem; }

.pg-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  font-size: 13.5px;
}
.pg-footer__key {
  flex: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(169, 186, 198, 0.7);
}
.pg-footer__val {
  color: rgba(244, 247, 246, 0.88);
  word-break: break-word;
  font-variant-numeric: tabular-nums;
}

.pg-copybtn {
  flex: none;
  padding: 0.1rem 0.45rem;
  border: 1px solid rgba(169, 186, 198, 0.3);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mist);
  cursor: pointer;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.pg-copybtn:hover { color: var(--cyan); border-color: rgba(47, 230, 214, 0.65); }
.pg-copybtn[data-copied="true"] {
  color: #04171F;
  background: var(--gold);
  border-color: var(--gold);
}
.pg-copybtn__text { display: inline-block; }

.pg-footer__note {
  margin-top: 0.95rem;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(169, 186, 198, 0.7);
  max-width: 32ch;
}

.pg-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  width: var(--shell);
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(169, 186, 198, 0.12);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(169, 186, 198, 0.68);
}
.pg-footer__legal { font-variant-numeric: tabular-nums; }
.pg-footer__meta { font-family: var(--font-body); }

@media (max-width: 980px) {
  .pg-footer__top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .pg-footer__line { max-width: 34ch; }
}
@media (max-width: 560px) {
  .pg-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
}

/* ============================================================
   通用布局组件
   ============================================================ */
.pg-shell {
  width: var(--shell);
  margin-inline: auto;
}

.pg-main {
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(2rem, 6vw, 4rem);
}
.pg-main--bleed { padding-top: 0; }

.pg-section { padding: clamp(2.25rem, 6vw, 4.5rem) 0; }

.pg-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem 1.25rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.pg-section__title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

.pg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
}
.pg-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.pg-display {
  font-size: clamp(2.15rem, 5.6vw, 3.85rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.pg-lead {
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--mist);
}

.pg-divider {
  height: 1px;
  border: 0;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* 网格 */
.pg-grid { display: grid; gap: clamp(1rem, 2.4vw, 1.85rem); }
.pg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pg-grid--asym { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

@media (max-width: 960px) {
  .pg-grid--3, .pg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid--asym { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pg-grid--2, .pg-grid--3, .pg-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* 横向主题带 */
.pg-band {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(118deg, rgba(13, 43, 69, 0.95), rgba(8, 34, 56, 0.92) 52%, rgba(14, 107, 102, 0.55));
  overflow: hidden;
}

/* 编号 */
.pg-num {
  font-family: var(--font-serif);
  font-size: 0.8em;
  letter-spacing: 0.16em;
  color: var(--sand);
}

/* ============================================================
   按钮 / 标签
   ============================================================ */
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.62rem 1.05rem;
  border: 1px solid transparent;
  border-radius: var(--r-xs);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.24s var(--ease), color 0.24s var(--ease),
              border-color 0.24s var(--ease), transform 0.24s var(--ease),
              box-shadow 0.24s var(--ease);
}
.pg-btn:active { transform: translateY(1px); }

.pg-btn--primary {
  background: var(--cyan);
  color: #04171F;
  border-color: var(--cyan);
  box-shadow: 0 10px 26px -18px rgba(47, 230, 214, 0.9);
}
.pg-btn--primary:hover {
  background: #5BF3E6;
  box-shadow: 0 14px 30px -16px rgba(47, 230, 214, 0.85);
}

.pg-btn--ghost {
  color: rgba(244, 247, 246, 0.9);
  border-color: rgba(169, 186, 198, 0.42);
  background: rgba(244, 247, 246, 0.03);
}
.pg-btn--ghost:hover {
  color: var(--cyan);
  border-color: rgba(47, 230, 214, 0.75);
  background: rgba(47, 230, 214, 0.09);
}

.pg-btn--gold {
  background: var(--gold);
  color: #33220A;
  border-color: var(--gold);
}
.pg-btn--gold:hover { background: #FFC96E; }

.pg-btn--quiet {
  padding-inline: 0;
  color: var(--cyan);
  border: 0;
  background: none;
  border-bottom: 1px solid rgba(47, 230, 214, 0.45);
  border-radius: 0;
}
.pg-btn--quiet:hover { color: var(--sand); border-color: var(--sand); }

.pg-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(169, 186, 198, 0.07);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--mist);
  white-space: nowrap;
}
.pg-tag--cyan { background: var(--cyan); border-color: var(--cyan); color: #052A29; }
.pg-tag--gold { background: var(--gold); border-color: var(--gold); color: #38240A; }
.pg-tag--rose { background: var(--rose); border-color: var(--rose); color: #35050F; }
.pg-tag--teal {
  background: rgba(14, 107, 102, 0.6);
  border-color: rgba(14, 107, 102, 0.95);
  color: var(--sand);
}

/* ============================================================
   卡片 / 折叠 / 图片
   ============================================================ */
.pg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.05rem, 2.3vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(158deg, rgba(13, 43, 69, 0.9), rgba(2, 11, 18, 0.88));
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.pg-card:hover {
  border-color: rgba(47, 230, 214, 0.45);
  transform: translateY(-2px);
}
.pg-card__label {
  font-family: var(--font-serif);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(47, 230, 214, 0.85);
}
.pg-card__title {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 800;
  line-height: 1.35;
}
.pg-card__body {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--mist);
}

.pg-fold {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(13, 43, 69, 0.5);
  overflow: hidden;
}
.pg-fold + .pg-fold { margin-top: 0.6rem; }

.pg-fold__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  list-style: none;
  cursor: pointer;
  transition: color 0.24s var(--ease), background 0.24s var(--ease);
}
.pg-fold__summary::-webkit-details-marker { display: none; }
.pg-fold__summary:hover { color: var(--cyan); background: rgba(47, 230, 214, 0.05); }
.pg-fold__summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}
.pg-fold[open] .pg-fold__summary::after { transform: rotate(45deg); }

.pg-fold__body {
  padding: 0 1.1rem 1.1rem;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--mist);
}

/* 图片容器基础规则（页面阶段放 img 占位） */
.pg-figure { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }

.pg-figure__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(142deg, rgba(13, 43, 69, 0.98), rgba(2, 11, 18, 0.95) 56%, rgba(14, 107, 102, 0.7));
}
.pg-figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg-figure__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(2, 11, 18, 0.55), transparent 55%),
    linear-gradient(105deg, transparent 46%, rgba(47, 230, 214, 0.16) 50%, transparent 54%);
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 140% 0;
  animation: pg-sweep 7s var(--ease) infinite;
}
@keyframes pg-sweep {
  0% { background-position: 0 0, 150% 0; }
  55%, 100% { background-position: 0 0, -60% 0; }
}

.pg-figure--wide .pg-figure__media { aspect-ratio: 21 / 9; }
.pg-figure--tall .pg-figure__media { aspect-ratio: 4 / 5; }

.pg-figure__caption {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(169, 186, 198, 0.78);
}

/* ============================================================
   面包屑 / 正文排版
   ============================================================ */
.pg-crumbs { padding-block: clamp(0.85rem, 2vw, 1.35rem); }

.pg-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mist);
}

.pg-crumbs__link {
  color: var(--mist);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.pg-crumbs__link:hover { color: var(--cyan); border-color: currentColor; }

.pg-crumbs__sep { color: rgba(169, 186, 198, 0.45); }

.pg-crumbs__item[aria-current="page"] { color: var(--sand); }

.pg-prose {
  max-width: 66ch;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: rgba(244, 247, 246, 0.88);
}
.pg-prose > * + * { margin-top: 1.05em; }
.pg-prose h2 {
  margin-top: 2.1em;
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--paper);
}
.pg-prose h3 {
  margin-top: 1.75em;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--paper);
}
.pg-prose ul { padding-left: 0; }
.pg-prose li {
  position: relative;
  padding-left: 1.15rem;
}
.pg-prose li + li { margin-top: 0.4rem; }
.pg-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 1px;
  background: var(--cyan);
}
.pg-prose a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 230, 214, 0.35);
  transition: border-color 0.22s var(--ease);
}
.pg-prose a:hover { border-color: var(--cyan); }
.pg-prose strong { color: var(--sand); font-weight: 700; }
.pg-prose blockquote {
  margin-inline: 0;
  padding: 0.25rem 0 0.25rem 1.15rem;
  border-left: 2px solid rgba(255, 184, 77, 0.7);
  color: var(--mist);
}
.pg-prose hr { height: 1px; border: 0; background: var(--line); }

/* ============================================================
   显现动效
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   可访问性降级
   ============================================================ */
@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;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .pg-figure__media::after { animation: none; }
  .pg-card:hover { transform: none; }
}
