/* ==========================================================================
   方方娱乐 · Site Kit v3.2
   共享外壳：reset / tokens / 中文排版 / 头部框架导航 / 页脚压底 / 通用组件
   ========================================================================== */

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

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

body { margin: 0; }

h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #170F2B;
  --ink-2: #241740;
  --line: #3A2A5E;
  --gold: #E3B34A;
  --gold-soft: #F6DFA4;
  --cyan: #45E0D2;
  --cinnabar: #E4573D;
  --paper: #F3ECDF;
  --void: #0B0714;

  --rail-w: 0px;
  --bar-h: 62px;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-card: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .7, .24, 1);
  --shadow-card: 0 22px 46px -30px rgba(0, 0, 0, .95);
  --hairline: 1px solid rgba(58, 42, 94, .9);
  --pad-x: clamp(18px, 3.4vw, 44px);
}

@media (min-width: 1024px) {
  :root { --rail-w: 92px; --bar-h: 70px; }
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--ink);
  background-image:
    radial-gradient(880px 560px at 82% -6%, rgba(227, 179, 74, .16), transparent 68%),
    radial-gradient(760px 520px at 4% 104%, rgba(69, 224, 210, .10), transparent 70%),
    linear-gradient(180deg, #170F2B 0%, #150E27 46%, #120C22 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(58, 42, 94, .16) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(58, 42, 94, .10) 0 1px, transparent 1px 96px);
  opacity: .5;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: .01em;
  color: var(--paper);
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { text-wrap: pretty; }

strong, b { font-weight: 600; color: var(--gold-soft); }

::selection { background: rgba(227, 179, 74, .34); color: #FFF8E9; }

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

#main-content { scroll-margin-top: calc(var(--bar-h) + 18px); }

/* ---------- 4. 通用工具 ---------- */
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cyan);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(227, 179, 74, 0));
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(227, 179, 74, .42);
  background: rgba(227, 179, 74, .10);
  color: var(--gold-soft);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .04em;
  white-space: nowrap;
}

.pill--cyan {
  border-color: rgba(69, 224, 210, .45);
  background: rgba(69, 224, 210, .10);
  color: var(--cyan);
}

.pill--cinnabar {
  border-color: rgba(228, 87, 61, .55);
  background: rgba(228, 87, 61, .14);
  color: #FFD8CD;
}

.rule {
  height: 1px;
  border: 0;
  margin: clamp(22px, 3vw, 34px) 0;
  background: linear-gradient(90deg, rgba(227, 179, 74, .55), rgba(58, 42, 94, .55) 46%, rgba(58, 42, 94, 0));
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .04em;
  text-align: center;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              border-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  border-color: rgba(227, 179, 74, .75);
  color: var(--gold-soft);
  background: linear-gradient(180deg, rgba(227, 179, 74, .18), rgba(227, 179, 74, .04));
}

.btn--gold:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1B1030;
  box-shadow: 0 12px 26px -16px rgba(227, 179, 74, .9);
}

.btn--solid {
  background: var(--gold);
  border-color: var(--gold);
  color: #1B1030;
  font-weight: 600;
}

.btn--solid:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: #1B1030;
}

.btn--ghost {
  border-color: rgba(58, 42, 94, 1);
  background: rgba(58, 42, 94, .28);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: rgba(69, 224, 210, .55);
  color: var(--cyan);
}

.btn--cinnabar {
  background: var(--cinnabar);
  border-color: var(--cinnabar);
  color: #FFF4EE;
  font-weight: 600;
}

.btn--cinnabar:hover {
  background: #F0694F;
  border-color: #F0694F;
  box-shadow: 0 14px 28px -16px rgba(228, 87, 61, .95);
}

.btn--sm { padding: 7px 15px; font-size: 13px; }
.btn--block { width: 100%; }

/* ---------- 6. 页头骨架 ---------- */
.site-header {
  position: relative;
  z-index: 65;
}

/* skip link */
.skip-link {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: #1B1030;
  font-size: 14px;
  font-weight: 600;
  transition: top .2s var(--ease);
}

.skip-link:focus-visible,
.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* 顶部状态条 */
.hdr-bar {
  position: sticky;
  top: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: var(--bar-h);
  padding: 9px var(--pad-x);
  background: linear-gradient(180deg, rgba(23, 15, 43, .97), rgba(23, 15, 43, .84));
  border-bottom: 1px solid rgba(58, 42, 94, .95);
  box-shadow: 0 1px 0 rgba(227, 179, 74, .22), 0 18px 40px -36px #000;
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
}

.hdr-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 12px rgba(69, 224, 210, .5);
  transition: width .12s linear;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  border-radius: 14px;
}

.brand__sigil {
  position: relative;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(227, 179, 74, .6);
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 179, 74, .24), transparent 62%),
    conic-gradient(from 0deg, rgba(69, 224, 210, .22), transparent 28%, rgba(227, 179, 74, .22) 58%, transparent 88%);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.brand__sigil::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(69, 224, 210, .34);
}

.brand__core {
  width: 11px;
  height: 11px;
  border-radius: 2px;
  background: var(--cinnabar);
  transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(228, 87, 61, .85);
}

.brand:hover .brand__sigil,
.brand:focus-visible .brand__sigil {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(227, 179, 74, .12);
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: .09em;
  color: var(--paper);
  white-space: nowrap;
}

.brand__meta {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .1em;
  color: rgba(243, 236, 223, .42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 标语 */
.hdr-tagline {
  display: none;
  align-items: center;
  gap: 10px;
  padding-left: clamp(12px, 2vw, 26px);
  border-left: 1px solid rgba(58, 42, 94, .95);
  font-size: 12.5px;
  letter-spacing: .16em;
  color: rgba(243, 236, 223, .58);
  white-space: nowrap;
}

.hdr-tagline__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(69, 224, 210, .9);
}

/* 动作区 */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ver-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(69, 224, 210, .48);
  border-radius: var(--radius-pill);
  background: rgba(69, 224, 210, .09);
  color: var(--cyan);
  font-size: 12.5px;
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}

.ver-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(246, 223, 164, .55) 50%, transparent 80%);
  transform: translateX(-130%);
  animation: ver-sweep 1.5s var(--ease) .6s 1 both;
}

.ver-badge__key {
  font-size: 9px;
  letter-spacing: .2em;
  color: rgba(243, 236, 223, .45);
}

@keyframes ver-sweep {
  0%   { transform: translateX(-130%); opacity: 1; }
  85%  { transform: translateX(130%); opacity: 1; }
  100% { transform: translateX(130%); opacity: 0; }
}

.hdr-cta { display: none; }

/* 移动按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(58, 42, 94, 1);
  border-radius: var(--radius-pill);
  background: rgba(36, 23, 64, .7);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .1em;
  transition: border-color .22s var(--ease), color .22s var(--ease), background-color .22s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(227, 179, 74, .6);
  color: var(--gold-soft);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--gold);
  transition: transform .26s var(--ease), opacity .18s var(--ease), width .26s var(--ease);
}

.nav-toggle__bars span:nth-child(2) { width: 72%; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. 导航 ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 68;
  width: min(84vw, 330px);
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: calc(var(--bar-h) + 24px) 22px 30px;
  background: linear-gradient(180deg, #1E1438 0%, #150E27 62%, #0E0819 100%);
  border-right: 1px solid rgba(227, 179, 74, .24);
  box-shadow: 26px 0 60px -40px #000;
  transform: translateX(-104%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.site-nav[data-open] { transform: translateX(0); }

.site-nav__head {
  font-size: 10px;
  letter-spacing: .24em;
  color: rgba(243, 236, 223, .38);
}

.site-nav__foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(58, 42, 94, .8);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(243, 236, 223, .3);
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-list__item { display: block; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: rgba(243, 236, 223, .8);
  font-size: 15.5px;
  letter-spacing: .05em;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.nav-link__num {
  font-size: 10.5px;
  letter-spacing: .14em;
  color: rgba(69, 224, 210, .62);
  transition: color .2s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold-soft);
  background: rgba(227, 179, 74, .1);
  border-color: rgba(227, 179, 74, .34);
}

.nav-link[aria-current="page"] {
  color: var(--gold-soft);
  background: linear-gradient(180deg, rgba(227, 179, 74, .2), rgba(227, 179, 74, .05));
  border-color: rgba(227, 179, 74, .55);
  box-shadow: inset 0 0 0 1px rgba(246, 223, 164, .12);
}

.nav-link[aria-current="page"] .nav-link__num { color: var(--cyan); }

/* 遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 66;
  background: rgba(11, 7, 20, .74);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s var(--ease);
}

.nav-scrim[data-open] {
  opacity: 1;
  pointer-events: auto;
}

body.nav-open { overflow: hidden; }

/* 桌面：导航成为左侧框架导轨 */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }
  .hdr-tagline { display: inline-flex; }
  .hdr-cta { display: inline-flex; }

  .site-nav {
    width: var(--rail-w);
    height: 100vh;
    gap: 0;
    padding: calc(var(--bar-h) + 22px) 6px 22px;
    align-items: center;
    background: linear-gradient(180deg, rgba(36, 23, 64, .94) 0%, rgba(16, 10, 30, .97) 100%);
    border-right: 1px solid rgba(227, 179, 74, .24);
    box-shadow: none;
    transform: none;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar { width: 0; height: 0; }

  .site-nav__head {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    color: rgba(243, 236, 223, .34);
    letter-spacing: .3em;
    margin-bottom: 16px;
  }

  .nav-list {
    width: 100%;
    gap: 2px;
    align-items: center;
  }

  .nav-link {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    flex-direction: row;
    gap: 7px;
    padding: 12px 7px;
    border-radius: 16px;
    font-size: 14px;
    letter-spacing: .2em;
  }

  .nav-link__num {
    font-size: 9.5px;
    letter-spacing: .1em;
    color: rgba(69, 224, 210, .55);
  }

  .site-nav__foot {
    writing-mode: vertical-rl;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(58, 42, 94, .8);
    letter-spacing: .22em;
  }
}

@media (min-width: 1024px) and (max-height: 780px) {
  .nav-link { font-size: 12.5px; padding: 8px 6px; letter-spacing: .16em; }
  .site-nav__head { font-size: 9px; letter-spacing: .22em; margin-bottom: 10px; }
  .site-nav { padding-top: calc(var(--bar-h) + 14px); }
}

@media (min-width: 1180px) {
  .hdr-tagline { font-size: 13px; }
}

/* ---------- 8. 页脚压底 ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 7vw, 100px);
  padding: clamp(20px, 3vw, 30px) var(--pad-x) clamp(26px, 3vw, 40px);
  background: linear-gradient(180deg, rgba(11, 7, 20, 0) 0%, #0B0714 16%, #08050F 100%);
  border-top: 1px solid rgba(227, 179, 74, .26);
  color: rgba(243, 236, 223, .7);
  font-size: 14.5px;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 140px;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(227, 179, 74, .16), transparent 72%),
    radial-gradient(60% 100% at 8% 0%, rgba(69, 224, 210, .10), transparent 78%);
}

.footer-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto clamp(20px, 3vw, 32px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(58, 42, 94, .85);
  font-size: 10.5px;
  letter-spacing: .22em;
  color: rgba(243, 236, 223, .34);
}

.footer-band__ver { color: rgba(69, 224, 210, .7); }

.footer-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3.6vw, 46px);
  max-width: 1280px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.brand--footer .brand__name { font-size: 19px; }
.brand--footer .brand__sigil { width: 34px; height: 34px; }

.footer-copy {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(243, 236, 223, .52);
}

.footer-icp {
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(243, 236, 223, .38);
}

.footer-legacy { font-size: 12px; line-height: 1.6; }

.footer-legacy a {
  color: rgba(243, 236, 223, .42);
  border-bottom: 1px dotted rgba(243, 236, 223, .28);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}

.footer-legacy a:hover,
.footer-legacy a:focus-visible {
  color: rgba(246, 223, 164, .82);
  border-bottom-color: rgba(246, 223, 164, .6);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

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

.footer-col__title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  color: rgba(227, 179, 74, .82);
  text-transform: uppercase;
}

.footer-col--legal .footer-col__title { color: rgba(69, 224, 210, .8); }

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-link {
  display: inline-block;
  font-size: 14.5px;
  color: rgba(243, 236, 223, .68);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--gold-soft);
  transform: translateX(2px);
}

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

.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact__list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: baseline;
}

.footer-contact__key {
  font-size: 9.5px;
  letter-spacing: .16em;
  color: rgba(69, 224, 210, .68);
}

.footer-contact__val {
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(243, 236, 223, .72);
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "brand cols"
      "contact contact";
  }
  .footer-brand { grid-area: brand; }
  .footer-cols { grid-area: cols; }
  .footer-contact { grid-area: contact; }
}

@media (min-width: 1080px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, 1fr);
    grid-template-areas: "brand cols contact";
    align-items: start;
    gap: clamp(28px, 4vw, 64px);
  }
}

/* ---------- 9. 页面容器与共享版式组件 ---------- */
.page-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 58px) var(--pad-x) 0;
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 30px);
  grid-template-columns: 1fr;
}

@media (min-width: 920px) {
  .grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .grid--index { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

@media (min-width: 1200px) {
  .grid--index { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 22px;
  margin-bottom: clamp(16px, 2vw, 24px);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(58, 42, 94, .85);
}

.section-head__title {
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  letter-spacing: .02em;
}

.section-head__note {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(69, 224, 210, .78);
}

.card {
  padding: clamp(18px, 2.4vw, 28px);
  border: var(--hairline);
  border-radius: var(--radius-card);
  background:
    linear-gradient(158deg, rgba(36, 23, 64, .92) 0%, rgba(23, 15, 43, .88) 100%);
  box-shadow: var(--shadow-card);
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 179, 74, .52);
  box-shadow: 0 26px 50px -32px #000, inset 0 0 0 1px rgba(227, 179, 74, .18);
}

.card__title {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  margin-bottom: 8px;
}

.card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: rgba(69, 224, 210, .72);
}

/* 面包屑 */
.breadcrumb { margin-bottom: clamp(14px, 2vw, 22px); }

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(243, 236, 223, .5);
}

.breadcrumb__list li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumb__list li + li::before {
  content: "/";
  color: rgba(227, 179, 74, .55);
}

.breadcrumb__list a {
  color: rgba(243, 236, 223, .62);
  transition: color .2s var(--ease);
}

.breadcrumb__list a:hover { color: var(--gold-soft); }

.breadcrumb__list [aria-current="page"] { color: var(--gold-soft); }

/* 可复用图文容器 */
.plate {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(227, 179, 74, .3);
  background-color: #140D26;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(227, 179, 74, .16), transparent 62%),
    repeating-conic-gradient(from 0deg at 50% 50%, rgba(69, 224, 210, .16) 0deg 1deg, transparent 1deg 24deg),
    repeating-radial-gradient(circle at 50% 50%, rgba(58, 42, 94, .55) 0 1px, transparent 1px 34px);
}

.plate::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(246, 223, 164, .22);
  pointer-events: none;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plate--tall { aspect-ratio: 3 / 4; }
.plate--square { aspect-ratio: 1 / 1; }

.plate__note {
  position: relative;
  z-index: 1;
  max-width: 82%;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .14em;
  color: rgba(246, 223, 164, .62);
}

/* 分段切换 */
.tabs { display: block; }

.tablist {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(58, 42, 94, .95);
  background: rgba(36, 23, 64, .8);
}

.tab {
  padding: 8px 17px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: rgba(243, 236, 223, .72);
  transition: background-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}

.tab:hover { color: var(--gold-soft); background: rgba(227, 179, 74, .12); }

.tab[aria-selected="true"] {
  color: #1B1030;
  font-weight: 600;
  background: linear-gradient(180deg, #F0C768, var(--gold));
  box-shadow: inset 0 0 0 1px rgba(246, 223, 164, .7);
}

.tabpanel {
  margin-top: 18px;
  animation: panel-in .22s var(--ease) both;
}

.tabpanel[hidden] { display: none; }

@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 滚动渐显 */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

html.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 10. 减弱动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  html.js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .card:hover,
  .footer-link:hover { transform: none; }
}
