/* =========================================================
   SE 中国官方网站 — /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 页头 / 页脚 /
   按钮 / 面包屑 / 容器 / 网格 / 基础组件 / 响应式 / 动效
   ========================================================= */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote, pre { 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; }

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

summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

:focus-visible {
  outline: 2px solid #E9CE86;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 变量 ---------- */
:root {
  --se-felt: #0C231C;
  --se-felt-2: #123329;
  --se-moss: #1E5C48;
  --se-white: #F3EFE4;
  --se-gold: #C9A24A;
  --se-gold-hi: #E9CE86;
  --se-mist: #9FB6A9;
  --se-dice: #B23A32;
  --se-paper: #FBF8F0;
  --se-ink: #07100D;

  --se-font-display: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, sans-serif;
  --se-font-body: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --se-font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --se-w: 1200px;
  --se-gut: clamp(16px, 4vw, 44px);
  --se-gap: clamp(14px, 2vw, 26px);
  --se-header-h: clamp(84px, 9vw, 104px);

  --se-line: rgba(201, 162, 74, 0.32);
  --se-line-soft: rgba(159, 182, 169, 0.18);
  --se-shadow: 0 22px 48px -26px rgba(0, 0, 0, 0.95);
  --se-ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --se-cut: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

/* ---------- 基础排版 ---------- */
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  padding-top: var(--se-header-h);
  color: var(--se-white);
  font-family: var(--se-font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  background-color: var(--se-felt);
  background-image:
    radial-gradient(120% 78% at 10% -12%, rgba(30, 92, 72, 0.55), transparent 62%),
    radial-gradient(90% 62% at 102% -4%, rgba(201, 162, 74, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(12, 35, 28, 0.4), rgba(7, 16, 13, 0.9));
  background-attachment: fixed;
}

#main-content { scroll-margin-top: calc(var(--se-header-h) + 12px); }

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

h1 { font-size: clamp(32px, 5.2vw, 64px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: clamp(19px, 2vw, 26px); }
h4 { font-size: clamp(16px, 1.5vw, 19px); }

p { max-width: 74ch; }

::selection { background: var(--se-gold); color: var(--se-ink); }

/* ---------- 通用文本组件 ---------- */
.se-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--se-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--se-gold);
}

.se-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--se-gold);
  opacity: 0.75;
}

.se-lede {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.8;
  color: rgba(243, 239, 228, 0.84);
  max-width: 62ch;
}

.se-num {
  font-family: var(--se-font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.se-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 74, 0.32);
  background: rgba(201, 162, 74, 0.12);
  color: var(--se-gold-hi);
  font-family: var(--se-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.se-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(30, 92, 72, 0.4);
  border: 1px solid rgba(159, 182, 169, 0.24);
  color: var(--se-mist);
  font-family: var(--se-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.se-badge--red {
  background: rgba(178, 58, 50, 0.18);
  border-color: rgba(178, 58, 50, 0.55);
  color: #E7A79F;
}

.se-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--se-gold), rgba(201, 162, 74, 0.05) 70%, transparent);
  opacity: 0.55;
}

/* ---------- 跳转链接 ---------- */
.se-skip {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 140;
  transform: translate(-50%, -220%);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--se-gold);
  color: var(--se-ink);
  font-family: var(--se-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: transform 0.22s var(--se-ease);
}

.se-skip:focus { transform: translate(-50%, 0); }

/* ---------- 页头 ---------- */
.se-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
}

.se-header__inner {
  pointer-events: auto;
  max-width: calc(var(--se-w) + 2 * var(--se-gut));
  margin: 0 auto;
  padding: 14px var(--se-gut) 0;
}

.se-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(159, 182, 169, 0.08);
}

.se-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--se-gold), var(--se-gold-hi));
  box-shadow: 0 0 12px rgba(233, 206, 134, 0.55);
  transition: width 0.12s linear;
}

.se-capsule {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 20px);
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--se-line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(18, 51, 41, 0.94), rgba(12, 35, 28, 0.92));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--se-shadow);
  transition: padding 0.3s var(--se-ease), background 0.3s var(--se-ease), border-color 0.3s var(--se-ease);
}

.se-capsule.is-compact {
  padding: 4px 8px 4px 10px;
  border-color: rgba(201, 162, 74, 0.5);
  background: linear-gradient(180deg, rgba(12, 35, 28, 0.98), rgba(7, 16, 13, 0.97));
}

.se-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.se-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, var(--se-gold-hi), var(--se-gold) 56%, #8C6A22);
  color: var(--se-ink);
  font-family: var(--se-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 2px rgba(7, 16, 13, 0.32), 0 6px 16px -10px rgba(233, 206, 134, 0.9);
  transition: width 0.3s var(--se-ease), height 0.3s var(--se-ease);
}

.se-capsule.is-compact .se-brand__mark { width: 32px; height: 32px; }

.se-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.se-brand__name {
  font-family: var(--se-font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.se-brand__slogan {
  font-family: var(--se-font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--se-mist);
  white-space: nowrap;
}

/* 主导航 */
.se-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.se-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.se-nav__item { display: block; }

.se-nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--se-white);
  font-family: var(--se-font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.2s var(--se-ease), background 0.2s var(--se-ease);
}

.se-nav__link:hover { color: var(--se-gold-hi); background: rgba(201, 162, 74, 0.12); }

.se-nav__link[aria-current="page"] {
  color: var(--se-ink);
  background: linear-gradient(135deg, var(--se-gold-hi), var(--se-gold));
}

/* 页头工具区 */
.se-header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.se-tool-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--se-mist);
  font-family: var(--se-font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: color 0.2s var(--se-ease), background 0.2s var(--se-ease);
}

.se-tool-link:hover { color: var(--se-gold-hi); background: rgba(201, 162, 74, 0.12); }

.se-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px dashed rgba(159, 182, 169, 0.42);
  border-radius: 999px;
  color: var(--se-mist);
  font-family: var(--se-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.se-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--se-dice);
  box-shadow: 0 0 0 3px rgba(178, 58, 50, 0.22);
}

.se-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--se-gold-hi), var(--se-gold));
  color: var(--se-ink);
  font-family: var(--se-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  box-shadow: 0 8px 20px -12px rgba(233, 206, 134, 0.95);
  transition: transform 0.22s var(--se-ease), filter 0.22s var(--se-ease);
}

.se-cta:hover { transform: translateY(-1px); filter: brightness(1.07); }

/* 移动导航按钮 */
.se-iconbtn {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--se-line);
  border-radius: 999px;
  background: rgba(30, 92, 72, 0.28);
  color: var(--se-white);
  font-family: var(--se-font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.2s var(--se-ease), color 0.2s var(--se-ease);
}

.se-iconbtn:hover { border-color: var(--se-gold); color: var(--se-gold-hi); }

.se-iconbtn__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 12px;
}

.se-iconbtn__bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.26s var(--se-ease), opacity 0.2s var(--se-ease);
}

.se-iconbtn[aria-expanded="true"] .se-iconbtn__bars i:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.se-iconbtn[aria-expanded="true"] .se-iconbtn__bars i:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

/* ---------- 页脚 ---------- */
.se-footer {
  position: relative;
  margin-top: clamp(56px, 9vw, 130px);
  border-top: 1px solid rgba(201, 162, 74, 0.24);
  background: linear-gradient(180deg, rgba(7, 16, 13, 0.3), rgba(7, 16, 13, 0.96) 52%, #050B09);
  color: var(--se-white);
  font-size: 15px;
}

.se-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--se-gold) 50%, transparent);
  opacity: 0.7;
}

.se-footer__inner {
  max-width: calc(var(--se-w) + 2 * var(--se-gut));
  margin: 0 auto;
  padding: clamp(38px, 6vw, 72px) var(--se-gut) clamp(26px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
}

.se-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.se-footer__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, var(--se-gold-hi), var(--se-gold) 58%, #8C6A22);
  color: var(--se-ink);
  font-family: var(--se-font-mono);
  font-size: 15px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(7, 16, 13, 0.32);
}

.se-footer__name {
  font-family: var(--se-font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.se-footer__slogan {
  font-family: var(--se-font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--se-gold);
}

.se-footer__lead {
  max-width: 34ch;
  color: var(--se-mist);
  font-size: 14px;
  line-height: 1.7;
}

.se-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 24px;
}

.se-footer__title {
  margin-bottom: 12px;
  font-family: var(--se-font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--se-gold);
}

.se-footer__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.se-footer__link {
  display: inline-block;
  color: rgba(243, 239, 228, 0.82);
  font-size: 14.5px;
  transition: color 0.2s var(--se-ease), transform 0.22s var(--se-ease);
}

.se-footer__link:hover { color: var(--se-gold-hi); transform: translateX(3px); }

.se-footer__link[aria-current="page"] {
  color: var(--se-gold-hi);
  box-shadow: inset 0 -1px 0 var(--se-gold);
}

.se-contact {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.se-contact__row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.se-contact__label {
  font-family: var(--se-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--se-gold);
}

.se-contact__value {
  margin: 0;
  color: rgba(243, 239, 228, 0.86);
  font-size: 14px;
  line-height: 1.65;
  word-break: break-word;
}

.se-footer__legal {
  border-top: 1px solid var(--se-line-soft);
  background: rgba(5, 11, 9, 0.7);
}

.se-footer__legal-inner {
  max-width: calc(var(--se-w) + 2 * var(--se-gut));
  margin: 0 auto;
  padding: 18px var(--se-gut) 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.se-footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--se-font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--se-mist);
  max-width: none;
}

.se-footer__icp { color: rgba(243, 239, 228, 0.78); }

.se-footer__dot { color: rgba(201, 162, 74, 0.6); }

.se-footer__fine {
  max-width: 76ch;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(159, 182, 169, 0.72);
}

/* ---------- 容器与章节 ---------- */
.se-container {
  width: 100%;
  max-width: calc(var(--se-w) + 2 * var(--se-gut));
  margin: 0 auto;
  padding-inline: var(--se-gut);
}

.se-section {
  position: relative;
  padding-block: clamp(44px, 7vw, 96px);
}

.se-section--narrow { padding-block: clamp(26px, 4vw, 54px); }

.se-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--se-gap);
}

.se-stack {
  display: flex;
  flex-direction: column;
  gap: var(--se-gap);
}

/* ---------- 索引轨道 ---------- */
.se-rail { position: relative; }

.se-rail__title {
  padding-left: 14px;
  margin-bottom: 12px;
  font-family: var(--se-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--se-mist);
}

.se-rail__list {
  display: flex;
  flex-direction: row;
  gap: 6px;
  border-left: 0;
  overflow-x: auto;
  padding-bottom: 4px;
}

.se-rail__link {
  position: relative;
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--se-mist);
  font-family: var(--se-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  transition: color 0.2s var(--se-ease), background 0.2s var(--se-ease);
}

.se-rail__link:hover { color: var(--se-white); background: rgba(30, 92, 72, 0.34); }

.se-rail__link.is-active {
  color: var(--se-ink);
  background: linear-gradient(135deg, var(--se-gold-hi), var(--se-gold));
}

/* ---------- 按钮 ---------- */
.se-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--se-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 0.22s var(--se-ease), background 0.22s var(--se-ease),
              color 0.22s var(--se-ease), border-color 0.22s var(--se-ease), filter 0.22s var(--se-ease);
}

.se-btn--gold {
  background: linear-gradient(135deg, var(--se-gold-hi), var(--se-gold));
  color: var(--se-ink);
  box-shadow: 0 14px 28px -20px rgba(233, 206, 134, 0.95);
}

.se-btn--gold:hover { transform: translateY(-2px); filter: brightness(1.06); }

.se-btn--ghost {
  border-color: var(--se-line);
  background: rgba(30, 92, 72, 0.2);
  color: var(--se-white);
}

.se-btn--ghost:hover {
  border-color: var(--se-gold);
  color: var(--se-gold-hi);
  transform: translateY(-2px);
}

/* ---------- 面包屑 ---------- */
.se-breadcrumb { padding-block: 16px 4px; }

.se-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--se-font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--se-mist);
}

.se-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.se-breadcrumb__item + .se-breadcrumb__item::before {
  content: "›";
  color: rgba(201, 162, 74, 0.65);
}

.se-breadcrumb__link { color: var(--se-mist); transition: color 0.2s var(--se-ease); }

.se-breadcrumb__link:hover { color: var(--se-gold-hi); }

.se-breadcrumb__current { color: var(--se-white); }

/* ---------- 网格 ---------- */
.se-grid {
  display: grid;
  gap: var(--se-gap);
}

.se-grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.se-grid--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.se-grid--asym { grid-template-columns: minmax(0, 1fr); }
.se-grid--deck { grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }

/* ---------- 卡片 ---------- */
.se-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(160deg, rgba(30, 92, 72, 0.34), rgba(18, 51, 41, 0.78));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.2);
  clip-path: var(--se-cut);
  transition: box-shadow 0.25s var(--se-ease), transform 0.3s var(--se-ease);
}

.se-card:hover {
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.55);
  transform: translateY(-3px);
}

.se-card__index {
  display: block;
  font-family: var(--se-font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--se-gold);
}

.se-card__title {
  margin-top: 10px;
  font-family: var(--se-font-display);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.35;
}

.se-card__text {
  margin-top: 9px;
  color: var(--se-mist);
  font-size: 15px;
  line-height: 1.72;
}

.se-card__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* ---------- 图片容器 ---------- */
.se-figure { margin: 0; }

.se-figure__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(30, 92, 72, 0.62), rgba(7, 16, 13, 0.92));
  box-shadow: inset 0 0 0 1px rgba(201, 162, 74, 0.24);
  clip-path: var(--se-cut);
}

.se-figure__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--se-ease);
}

.se-figure:hover .se-figure__media { transform: scale(1.03); }

.se-figure__caption {
  margin-top: 10px;
  font-family: var(--se-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--se-mist);
}

.se-figure--wide .se-figure__frame { aspect-ratio: 21 / 9; }
.se-figure--portrait .se-figure__frame { aspect-ratio: 3 / 4; }
.se-figure--square .se-figure__frame { aspect-ratio: 1 / 1; }

/* ---------- 折叠面板 ---------- */
.se-disclosure { border-top: 1px solid var(--se-line-soft); }
.se-disclosure:last-child { border-bottom: 1px solid var(--se-line-soft); }

.se-disclosure__summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px 4px;
  cursor: pointer;
  color: var(--se-white);
  font-family: var(--se-font-display);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.5;
  transition: color 0.2s var(--se-ease);
}

.se-disclosure__summary:hover { color: var(--se-gold-hi); }

.se-disclosure__num {
  flex: 0 0 auto;
  padding-top: 3px;
  font-family: var(--se-font-mono);
  font-size: 12px;
  color: var(--se-gold);
}

.se-disclosure__mark {
  position: relative;
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-top: 8px;
  margin-left: auto;
}

.se-disclosure__mark::before,
.se-disclosure__mark::after {
  content: "";
  position: absolute;
  background: var(--se-gold);
  transition: transform 0.26s var(--se-ease);
}

.se-disclosure__mark::before { left: 0; right: 0; top: 5px; height: 1.5px; }
.se-disclosure__mark::after { top: 0; bottom: 0; left: 5px; width: 1.5px; }

.se-disclosure[open] .se-disclosure__mark::after { transform: scaleY(0); }

.se-disclosure__panel {
  padding: 0 4px 22px 38px;
  color: var(--se-mist);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- 滚动显现协议 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--se-ease), transform 0.62s var(--se-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 平板 ---------- */
@media (min-width: 860px) {
  .se-footer__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1.15fr);
  }
}

@media (min-width: 900px) {
  .se-grid--asym { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
  .se-grid--deck > *:nth-child(even) { margin-top: 28px; }
}

/* ---------- 桌面 ---------- */
@media (min-width: 1024px) {
  .se-shell {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 58px);
  }

  .se-rail {
    position: sticky;
    top: calc(var(--se-header-h) + 8px);
    align-self: start;
  }

  .se-rail__list {
    flex-direction: column;
    gap: 2px;
    overflow: visible;
    padding-bottom: 0;
    border-left: 1px solid var(--se-line-soft);
  }

  .se-rail__link {
    border-radius: 0;
    padding: 8px 12px;
    background: none;
  }

  .se-rail__link::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    width: 1px;
    height: 0;
    background: var(--se-gold);
    transform: translateY(-50%);
    transition: height 0.26s var(--se-ease);
  }

  .se-rail__link:hover { background: rgba(30, 92, 72, 0.24); }

  .se-rail__link.is-active {
    padding-left: 18px;
    color: var(--se-gold-hi);
    background: none;
  }

  .se-rail__link.is-active::before { height: 70%; }
}

/* ---------- 收起为浮岛 ---------- */
@media (max-width: 1080px) {
  .se-capsule {
    justify-content: space-between;
  }

  .se-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-height: min(72vh, 540px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--se-line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(12, 35, 28, 0.99), rgba(7, 16, 13, 0.99));
    box-shadow: var(--se-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--se-ease), transform 0.22s var(--se-ease), visibility 0.22s linear;
  }

  .se-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .se-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
  }

  .se-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 15px;
    letter-spacing: 0.1em;
    background: rgba(201, 162, 74, 0.05);
  }

  .se-nav__link[aria-current="page"] { background: linear-gradient(135deg, var(--se-gold-hi), var(--se-gold)); }

  .se-iconbtn { display: inline-flex; }

  .se-header__tools { margin-left: auto; }
}

@media (max-width: 1180px) {
  .se-chip { display: none; }
}

@media (max-width: 860px) {
  .se-tool-link { display: none; }
}

@media (max-width: 560px) {
  .se-brand__slogan { display: none; }
  .se-brand__mark { width: 34px; height: 34px; }
  .se-cta { padding: 8px 14px; font-size: 12px; letter-spacing: 0.06em; }
  .se-iconbtn__label { display: none; }
  .se-iconbtn { padding: 10px 13px; }
  .se-disclosure__panel { padding-left: 4px; }
}

/* ---------- 减少动态效果 ---------- */
@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;
  }

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

  .se-figure:hover .se-figure__media { transform: none; }
}
