*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 2rem; }
body {
  font-family: 'Inter', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2F3E46;
  background: #FDF6EC;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: #1B4D5C; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #FF9F45; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #1B2A33; line-height: 1.3; }
p { margin-bottom: 1rem; }
::selection { background: rgba(160, 196, 255, 0.5); color: #1B2A33; }
:focus-visible { outline: 3px solid #A0C4FF; outline-offset: 2px; border-radius: 4px; }

:root {
  --mist: #A0C4FF;
  --dawn: #FF9F45;
  --cloud: #FDF6EC;
  --space: #2F3E46;
  --deep-teal: #1B4D5C;
  --wine: #7D3C4D;
  --cream: #E5D0C0;
  --deep-slate: #1B2A33;
  --sky: linear-gradient(130deg, #A0C4FF 0%, #C9DFFF 30%, #FFD6A5 70%, #FF9F45 100%);
  --font-heading: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
  --shadow-soft: 0 6px 20px rgba(27, 77, 92, 0.08);
  --shadow-lift: 0 12px 32px rgba(27, 77, 92, 0.14);
  --border-thin: 1px solid rgba(27, 77, 92, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --width-content: 1280px;
  --width-tight: 860px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

.container {
  width: 100%;
  max-width: var(--width-content);
  margin-inline: auto;
  padding-inline: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== 滚动进度线 ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  pointer-events: none;
  background: transparent;
}
.scroll-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
}

/* ===== 跳过链接 ===== */
.site-skip {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 2000;
  background: var(--deep-teal);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 10px 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  transition: top 0.25s ease;
}
.site-skip:focus { top: 0; color: #fff; }

/* ===== 头部 ===== */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--cloud);
  border-bottom: 1px solid rgba(27, 77, 92, 0.1);
  box-shadow: 0 4px 24px rgba(27, 77, 92, 0.04);
}
.site-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--mist), var(--dawn), transparent 80%);
  opacity: 0.6;
  pointer-events: none;
}

.header-meta {
  background: linear-gradient(90deg, var(--deep-teal), var(--deep-slate));
  color: rgba(253, 246, 236, 0.85);
  font-size: 13px;
  border-bottom: 1px solid rgba(253, 246, 236, 0.08);
}
.header-meta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 6px;
}
.trust-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.trust-line::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dawn);
  box-shadow: 0 0 0 3px rgba(255, 159, 69, 0.25);
  flex: none;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 159, 69, 0.35); }
  70% { box-shadow: 0 0 0 8px rgba(255, 159, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 159, 69, 0); }
}
.header-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(253, 246, 236, 0.7);
  letter-spacing: 0.04em;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 0 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--deep-slate);
  justify-self: start;
}
.brand:hover { color: inherit; }
.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--mist) 0%, #FFD6A5 58%, var(--dawn) 100%);
  flex: 0 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(27, 77, 92, 0.16);
}
.brand-mark::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(253, 246, 236, 0.92);
}
.brand-mark::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 8px;
  height: 2px;
  border-radius: 2px;
  background: rgba(253, 246, 236, 0.85);
  box-shadow: 0 -5px 0 rgba(253, 246, 236, 0.55), 0 -10px 0 rgba(253, 246, 236, 0.3);
}
.brand-text { display: block; }
.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--deep-slate);
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(47, 62, 70, 0.55);
  margin-top: 4px;
  white-space: nowrap;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(27, 77, 92, 0.16);
  border-radius: 999px;
  padding: 0 18px;
  height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-box:focus-within {
  border-color: var(--mist);
  box-shadow: 0 0 0 4px rgba(160, 196, 255, 0.2);
}
.search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--space);
}
.search-input::placeholder { color: rgba(47, 62, 70, 0.4); }
.search-ico {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  margin-left: 10px;
}
.search-ico::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--deep-teal);
  border-radius: 50%;
}
.search-ico::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 0;
  width: 7px;
  height: 2px;
  background: var(--deep-teal);
  transform: rotate(45deg);
  border-radius: 2px;
}

.account-btn {
  justify-self: end;
  min-width: 88px;
  text-align: center;
}

/* ===== 导航栏 ===== */
.nav-rail {
  position: relative;
  background: rgba(253, 246, 236, 0.92);
  border-top: 1px solid rgba(27, 77, 92, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  min-height: 56px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-item { position: relative; flex: none; }
.nav-item:nth-child(1) { --nav-accent: #FF9F45; }
.nav-item:nth-child(2) { --nav-accent: #A0C4FF; }
.nav-item:nth-child(3) { --nav-accent: #1B4D5C; }
.nav-item:nth-child(4) { --nav-accent: #7D3C4D; }
.nav-item:nth-child(5) { --nav-accent: #8A9B6E; }
.nav-item:nth-child(6) { --nav-accent: #7C6F9E; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--space);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--nav-accent, var(--mist));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.nav-link:hover {
  background: rgba(160, 196, 255, 0.14);
  color: var(--deep-slate);
}
.nav-link:hover::after,
.nav-link[aria-current='page']::after {
  transform: scaleX(1);
}
.nav-link[aria-current='page'] {
  color: var(--deep-slate);
  font-weight: 700;
}

.nav-ico {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--nav-accent, var(--deep-teal));
  display: inline-block;
}
.nav-ico-home::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid currentColor;
}
.nav-ico-home::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1px;
  width: 16px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: none;
  border-radius: 0 0 3px 3px;
}
.nav-ico-story::before,
.nav-ico-story::after {
  content: '';
  position: absolute;
  top: 3px;
  width: 6px;
  height: 12px;
  border: 2px solid currentColor;
}
.nav-ico-story::before {
  left: 2px;
  border-right: none;
  border-radius: 2px 0 0 2px;
}
.nav-ico-story::after {
  right: 2px;
  border-left: none;
  border-radius: 0 2px 2px 0;
}
.nav-ico-apps::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor, 0 8px 0 currentColor, 8px 8px 0 currentColor;
}
.nav-ico-updates::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.nav-ico-updates::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 5px;
  width: 5px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-ico-support::before {
  content: '';
  position: absolute;
  inset: 1px;
  border: 2px solid currentColor;
  border-radius: 5px;
  transform: rotate(45deg);
}
.nav-ico-support::after {
  content: '?';
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  line-height: 20px;
  color: currentColor;
}
.nav-ico-contact::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 1px;
  width: 16px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 2px;
}
.nav-ico-contact::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 1px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 7px solid currentColor;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--deep-slate);
  border: 1px solid rgba(27, 77, 92, 0.18);
  border-radius: var(--radius-sm);
  background: var(--cloud);
}
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
  display: block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top 0.25s ease, transform 0.25s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 10px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before {
  top: 5px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after {
  top: 5px;
  transform: rotate(-45deg);
}
.nav-toggle-text { line-height: 1; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: 2px solid transparent;
  line-height: 1.4;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--deep-teal);
  color: var(--cloud);
  box-shadow: 0 4px 12px rgba(27, 77, 92, 0.22);
}
.btn-primary:hover {
  background: var(--deep-slate);
  color: #fff;
  box-shadow: 0 8px 20px rgba(27, 77, 92, 0.3);
}
.btn-ghost {
  background: transparent;
  color: var(--deep-teal);
  border-color: rgba(27, 77, 92, 0.35);
}
.btn-ghost:hover {
  background: rgba(27, 77, 92, 0.06);
  border-color: var(--deep-teal);
}
.btn-dawn {
  background: var(--dawn);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 159, 69, 0.35);
}
.btn-dawn:hover {
  background: #F2883D;
  color: #fff;
}

/* ===== 页脚 ===== */
.site-footer {
  position: relative;
  background: var(--deep-teal);
  color: rgba(253, 246, 236, 0.8);
  margin-top: 4rem;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--dawn), var(--mist), transparent);
  opacity: 0.8;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
}
.brand-footer { margin-bottom: 1rem; }
.brand-footer .brand-mark { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.brand-footer .brand-name { color: var(--cloud); font-size: 20px; }
.brand-footer .brand-sub { color: rgba(253, 246, 236, 0.55); }
.footer-trust {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(253, 246, 236, 0.75);
  max-width: 46ch;
  border-left: 3px solid var(--dawn);
  padding-left: 14px;
  margin-top: 14px;
}
.footer-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--dawn);
  border-radius: 2px;
}
.footer-links li + li { margin-top: 8px; }
.footer-links a {
  color: rgba(253, 246, 236, 0.78);
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-links a:hover {
  color: var(--cloud);
  padding-left: 6px;
}
.footer-contact {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(253, 246, 236, 0.85);
  margin-bottom: 6px;
}
.footer-contact-addr {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 0.5rem;
  color: rgba(253, 246, 236, 0.75);
}
.footer-note {
  font-size: 12px;
  color: rgba(253, 246, 236, 0.5);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(253, 246, 236, 0.12);
}
.footer-bottom {
  background: rgba(27, 42, 51, 0.5);
  border-top: 1px solid rgba(253, 246, 236, 0.12);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1.2rem 0;
  font-size: 13px;
  color: rgba(253, 246, 236, 0.6);
}
.footer-copy { font-size: 13px; }
.footer-icp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.footer-icp a { color: rgba(253, 246, 236, 0.65); }
.footer-icp a:hover { color: var(--cloud); }
.footer-icp-num { color: rgba(253, 246, 236, 0.5); }

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--deep-teal);
  color: var(--cloud);
  box-shadow: 0 8px 20px rgba(27, 77, 92, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  z-index: 900;
}
.to-top[data-visible] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.to-top:hover { background: var(--deep-slate); }
.to-top-icon {
  width: 12px;
  height: 12px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: 5px;
  border-radius: 1px;
}

/* ===== 通用页面组件 ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: rgba(47, 62, 70, 0.55);
  padding: 1.25rem 0 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before {
  content: '/';
  color: rgba(47, 62, 70, 0.3);
}
.breadcrumb a { color: var(--deep-teal); }
.breadcrumb a:hover { color: var(--dawn); }
.breadcrumb [aria-current='page'] {
  color: rgba(47, 62, 70, 0.7);
  font-weight: 600;
}

.page-head {
  position: relative;
  padding: 3rem 0 2rem;
}
.page-head::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3.2rem;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: var(--sky);
}
.page-head-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--deep-slate);
}
.page-head-sub {
  margin-top: 0.75rem;
  font-size: 16px;
  color: rgba(47, 62, 70, 0.65);
  max-width: 56ch;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-slate);
  margin-bottom: 1.25rem;
}
.section-title::before {
  content: '';
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: var(--dawn);
  flex: none;
}
.section-title--mist::before { background: var(--mist); }
.section-title--teal::before { background: var(--deep-teal); }

.content-section { padding: 2rem 0; }
.content-tight {
  width: min(var(--width-tight), 100% - 2rem);
  margin-inline: auto;
}

.card {
  background: #fff;
  border: var(--border-thin);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.data-panel {
  position: relative;
  background: var(--deep-teal);
  color: rgba(253, 246, 236, 0.85);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
}
.data-panel::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(160, 196, 255, 0.12);
  pointer-events: none;
}
.data-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.75rem;
}
.data-panel-value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.status-dot {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dawn);
  margin-right: 6px;
}
.status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 159, 69, 0.4);
  animation: pulse 2s ease-out infinite;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.02em;
  background: rgba(160, 196, 255, 0.2);
  color: var(--deep-teal);
}
.badge-dawn {
  background: rgba(255, 159, 69, 0.2);
  color: #C75B12;
}
.badge-wine {
  background: rgba(125, 60, 77, 0.12);
  color: var(--wine);
}

.mono { font-family: var(--font-mono); letter-spacing: 0.01em; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(27, 77, 92, 0.2);
  background: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--space);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.chip:hover {
  border-color: var(--mist);
  background: rgba(160, 196, 255, 0.12);
  color: var(--deep-slate);
}
.chip[aria-pressed='true'] {
  background: var(--deep-teal);
  border-color: var(--deep-teal);
  color: var(--cloud);
}

.figure-box {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(27, 77, 92, 0.1);
  background: linear-gradient(135deg, rgba(160, 196, 255, 0.25), rgba(255, 159, 69, 0.15));
}
.figure-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.figure-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 55%;
  z-index: 2;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0));
  transform: rotate(18deg);
  pointer-events: none;
}
.figure-box[data-caption]::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 10px 14px;
  font-size: 12px;
  color: rgba(253, 246, 236, 0.9);
  background: linear-gradient(0deg, rgba(27, 42, 51, 0.8), transparent);
}

.toc {
  background: #fff;
  border: var(--border-thin);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  position: sticky;
  top: 1rem;
}
.toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(47, 62, 70, 0.55);
  margin-bottom: 0.75rem;
}
.toc-title::before {
  content: '';
  width: 14px;
  height: 2px;
  background: var(--dawn);
  border-radius: 2px;
}
.toc-list a {
  display: block;
  padding: 6px 0 6px 12px;
  font-size: 14px;
  color: var(--space);
  border-left: 2px solid rgba(27, 77, 92, 0.1);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.toc-list a:hover,
.toc-list a[data-active] {
  border-left-color: var(--dawn);
  color: var(--deep-slate);
  font-weight: 600;
}

.divider {
  height: 1px;
  border: none;
  margin: 2rem 0;
  background: linear-gradient(90deg, rgba(27, 77, 92, 0.2), rgba(27, 77, 92, 0.05), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal[data-visible] {
  opacity: 1;
  transform: translateY(0);
}

.bg-mist {
  background: linear-gradient(180deg, rgba(160, 196, 255, 0.14), rgba(253, 246, 236, 0));
}
.bg-sky {
  background: linear-gradient(120deg, rgba(160, 196, 255, 0.2), rgba(255, 159, 69, 0.12));
}
.bg-teal {
  background: var(--deep-teal);
}

/* ===== 响应式 ===== */
@media (max-width: 1023px) {
  .masthead {
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }
  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .brand { grid-column: 1; grid-row: 1; }
  .account-btn { grid-column: 2; grid-row: 1; }
  .brand-name { font-size: 18px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .nav-link {
    padding: 0.7rem 0.6rem;
    font-size: 14px;
    gap: 7px;
  }
  .nav-link::after { display: none; }
}

@media (max-width: 899px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(253, 246, 236, 0.98);
    border-bottom: 1px solid rgba(27, 77, 92, 0.12);
    box-shadow: 0 20px 40px rgba(27, 77, 92, 0.15);
    z-index: 60;
  }
  .site-nav[data-open] { display: flex; }
  .nav-item { width: 100%; }
  .nav-link {
    padding: 0.9rem 1rem;
    font-size: 15px;
    gap: 8px;
  }
  .nav-link:hover { background: rgba(160, 196, 255, 0.14); }
  .nav-inner {
    min-height: 0;
    padding: 8px 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .header-meta-inner { justify-content: center; }
  .header-date { display: none; }
  .masthead { padding: 1rem 0; gap: 0.75rem; }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }
  .brand-name { font-size: 16px; }
  .brand-sub { font-size: 9px; letter-spacing: 0.2em; }
  .account-btn {
    min-width: 0;
    padding: 8px 14px;
    font-size: 13px;
  }
  .search-box { height: 40px; padding: 0 14px; }
  .trust-line { font-size: 12px; }
  .footer-grid {
    grid-template-columns: 1fr;
    padding: 2.5rem 0 1.5rem;
    gap: 2rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .to-top {
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
  }
  .breadcrumb { font-size: 12px; }
  .page-head { padding: 2rem 0 1.5rem; }
  .page-head::before { top: 2.2rem; }
  .content-section { padding: 1.5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .status-dot::after,
  .trust-line::before { animation: none; }
}
