/* ============================================================
   BEPLAY赛场 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 基础组件
   ============================================================ */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

/* ---------- tokens ---------- */
:root {
  --ink-base: #0B1B2B;
  --ink-deep: #06121E;
  --ink-panel: #12303C;
  --line: #1E3A52;
  --teal: #2FB6A8;
  --teal-soft: #7FE0D6;
  --yellow: #F2C14E;
  --amber: #FF8A3D;
  --sand: #9AA3AB;
  --paper: #F2F6F8;

  --font-display: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --header-h: 84px;
  --gutter: clamp(16px, 4vw, 44px);
  --maxw: 1240px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 中文排版与基础 ---------- */
body {
  font-family: var(--font-body);
  font-size: clamp(16px, .5vw + 14px, 17px);
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--paper);
  background-color: var(--ink-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(47, 182, 168, .34); color: #FFFFFF; }

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

#main-content { display: block; scroll-margin-top: calc(var(--header-h) + 16px); }

.mono {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sand);
}

.num, .stat-value, .dock-idx, .contact-value {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* ---------- 布局容器 ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  transform: translateY(-220%);
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--amber);
  color: #1A0E05;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 顶部阅读进度光带 ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  background: rgba(30, 58, 82, .55);
  pointer-events: none;
}
.progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--amber), var(--yellow));
  box-shadow: 0 0 14px rgba(255, 138, 61, .6);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
}

/* ============================================================
   头部
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 18, 30, .9);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid rgba(30, 58, 82, .9);
  transition: background-color .24s var(--ease), border-color .24s var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 40px);
  min-height: var(--header-h);
  transition: min-height .24s var(--ease);
}

/* 品牌锁 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 44px;
  border-radius: 12px;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(150deg, var(--teal), #0F4A56 82%);
  box-shadow: inset 0 0 0 1px rgba(127, 224, 214, .38), 0 6px 18px rgba(6, 18, 30, .6);
  transition: width .24s var(--ease), height .24s var(--ease);
}
.brand-mark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(242, 193, 78, .85);
  transition: width .24s var(--ease), height .24s var(--ease);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-full {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--paper);
}
.brand-abbr {
  display: none;
  font-family: var(--font-mono);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--paper);
}
.brand-note {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .2em;
  color: var(--teal-soft);
  opacity: .85;
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  font-size: .95rem;
  color: var(--sand);
  white-space: nowrap;
  transition: color .24s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s var(--ease), background-color .24s var(--ease);
}
.nav-link:hover, .nav-link:focus-visible { color: var(--paper); }
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--paper); }
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--teal);
  box-shadow: 0 0 10px rgba(47, 182, 168, .55);
}

.nav-util {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: clamp(10px, 1.4vw, 22px);
  border-left: 1px solid var(--line);
}
.nav-quick {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--teal-soft);
  border-bottom: 1px dashed rgba(127, 224, 214, .35);
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-quick:hover, .nav-quick:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--amber);
}

/* 收束态（滚动后 48px 悬浮入口条） */
.site-header.is-condensed {
  background: rgba(6, 18, 30, .97);
  border-bottom-color: rgba(47, 182, 168, .3);
}
.site-header.is-condensed .header-inner { min-height: 48px; }
.site-header.is-condensed .brand-mark { width: 24px; height: 24px; border-radius: 8px 8px 8px 3px; }
.site-header.is-condensed .brand-mark-dot { width: 7px; height: 7px; }
.site-header.is-condensed .brand-full,
.site-header.is-condensed .brand-note { display: none; }
.site-header.is-condensed .brand-abbr { display: inline; }
.site-header.is-condensed .nav-link { font-size: .84rem; min-height: 38px; }
.site-header.is-condensed .nav-quick { min-height: 38px; font-size: .7rem; }
.site-header.is-condensed .btn-sm { min-height: 34px; font-size: .74rem; }

/* 移动菜单按钮 */
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 48, 60, .55);
  color: var(--paper);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover, .nav-toggle:focus-visible { border-color: var(--teal); }
.nav-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .18s var(--ease);
}
.nav-toggle-label {
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--sand);
}
.nav-toggle[aria-expanded="true"] { border-color: var(--amber); color: var(--amber); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 44px;
  padding: .62em 1.2em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn-amber { background: var(--amber); color: #1A0E05; }
.btn-amber:hover, .btn-amber:focus-visible { background: #FFA469; transform: translateY(-1px); }
.btn-teal { background: var(--teal); color: #04191A; }
.btn-teal:hover, .btn-teal:focus-visible { background: var(--teal-soft); transform: translateY(-1px); }
.btn-ghost {
  background: rgba(18, 48, 60, .55);
  border-color: var(--line);
  color: var(--paper);
}
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--teal); color: var(--teal-soft); }
.btn-sm { min-height: 38px; padding: .5em .95em; font-size: .8rem; }

/* ============================================================
   章节骨架 / 排版组件
   ============================================================ */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-head { display: grid; gap: 14px; max-width: 46rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--teal));
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--paper);
}
.lede {
  max-width: 38em;
  color: var(--sand);
  font-size: 1rem;
}

.prose { max-width: 38em; color: var(--sand); }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3 { color: var(--paper); line-height: 1.2; letter-spacing: -.01em; }
.prose h2 { font-size: 1.5rem; font-weight: 800; }
.prose h3 { font-size: 1.15rem; font-weight: 700; }
.prose strong { color: var(--paper); font-weight: 700; }
.prose a { color: var(--teal-soft); border-bottom: 1px solid rgba(127, 224, 214, .4); }
.prose a:hover { color: var(--paper); border-bottom-color: var(--amber); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { list-style: none; position: relative; padding-left: 1em; }
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--teal);
}

/* 面包屑 */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .08em;
  color: var(--sand);
  padding-block: 18px 0;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line); }
.breadcrumbs a { color: var(--sand); transition: color .2s var(--ease); }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--teal-soft); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* 分隔与光带 */
.divider {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--line), rgba(30, 58, 82, .15));
  margin: clamp(32px, 5vw, 64px) 0;
}
.beam-line {
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal-soft), rgba(47, 182, 168, .1) 60%, transparent);
  box-shadow: 0 0 16px rgba(127, 224, 214, .35);
}

/* ============================================================
   Bento 网格与数据组件
   ============================================================ */
.grid-bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.bento {
  min-width: 0;
  border-radius: var(--radius-lg);
  background: rgba(18, 48, 60, .45);
  border: 1px solid var(--line);
  padding: clamp(18px, 2.2vw, 28px);
  transition: border-color .24s var(--ease), background-color .24s var(--ease);
}
.bento:hover { border-color: rgba(47, 182, 168, .45); background: rgba(18, 48, 60, .62); }
.bento-sm { grid-column: span 3; }
.bento-md { grid-column: span 4; }
.bento-lg { grid-column: span 6; }
.bento-full { grid-column: span 12; }

.card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(18, 48, 60, .7), rgba(11, 27, 43, .85));
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}
.card:hover { border-color: rgba(127, 224, 214, .4); transform: translateY(-2px); }
.card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
}
.card-meta {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--yellow);
}
.card-body { color: var(--sand); font-size: .93rem; }

.stat { display: grid; gap: 4px; }
.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--teal-soft);
}
.stat-label {
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--sand);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, .5);
  color: var(--sand);
  font-size: .86rem;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.chip:hover, .chip:focus-visible { color: var(--paper); border-color: rgba(127, 224, 214, .5); }
.chip[aria-pressed="true"] {
  background: rgba(47, 182, 168, .16);
  border-color: var(--teal);
  color: var(--teal-soft);
}

/* 筛选与输入控件 */
.control {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(18, 48, 60, .6);
  color: var(--paper);
  font: inherit;
  font-size: .92rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.control::placeholder { color: rgba(154, 163, 171, .8); }
.control:hover { border-color: rgba(127, 224, 214, .45); }
.control:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .14);
}

/* 图片容器（页面阶段放置占位图） */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 18% 0%, rgba(47, 182, 168, .22), transparent 62%),
    linear-gradient(160deg, #0D2333, var(--ink-deep) 72%);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(6, 18, 30, .6));
  pointer-events: none;
}
.media img,
.media picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.88) brightness(.86);
}
.media-tall { aspect-ratio: 4 / 5; }
.media-wide { aspect-ratio: 21 / 9; }

/* 视口显现 */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.has-js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ink-deep);
  border-top: 1px solid rgba(47, 182, 168, .22);
  padding: clamp(46px, 6vw, 84px) 0 clamp(22px, 3vw, 34px);
}
.footer-beam {
  position: absolute;
  top: 0;
  left: clamp(20px, 9vw, 170px);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(127, 224, 214, .6), rgba(47, 182, 168, .12) 42%, transparent);
  box-shadow: 0 0 22px rgba(47, 182, 168, .28);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
  gap: clamp(30px, 5vw, 72px);
  position: relative;
}

.footer-brand { display: grid; align-content: start; gap: 16px; }
.brand-footer .brand-full { font-size: 1.14rem; }
.footer-tagline {
  max-width: 32ch;
  color: var(--sand);
  font-size: .95rem;
  line-height: 1.7;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  color: var(--teal-soft);
  opacity: .8;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.footer-col { min-width: 0; }
.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.footer-links li + li { margin-top: 6px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--sand);
  font-size: .94rem;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-links a:hover, .footer-links a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--amber);
}

.footer-contact li {
  display: grid;
  gap: 2px;
  padding-bottom: 12px;
}
.footer-contact li + li { border-top: 1px solid rgba(30, 58, 82, .7); padding-top: 12px; }
.contact-label {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  opacity: .8;
}
.contact-value { color: var(--paper); font-size: .9rem; word-break: break-word; }

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(30px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.footer-legal,
.footer-note {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--sand);
}
.footer-note { color: rgba(154, 163, 171, .8); }

/* 移动端四格快捷条 */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 260;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  height: 56px;
  background: rgba(6, 18, 30, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(47, 182, 168, .28);
}
.dock-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 56px;
  color: var(--sand);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.dock-link + .dock-link { border-left: 1px solid rgba(30, 58, 82, .6); }
.dock-idx {
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .14em;
  color: var(--teal);
}
.dock-label { font-size: .74rem; letter-spacing: .04em; }
.dock-link[aria-current="page"] { color: var(--paper); background: rgba(47, 182, 168, .1); }
.dock-link[aria-current="page"] .dock-idx { color: var(--amber); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  :root { --header-h: 76px; }
  .nav-list { gap: 10px; }
  .nav-link { font-size: .88rem; }
  .nav-quick { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 10px var(--gutter) 22px;
    background: rgba(6, 18, 30, .99);
    border-bottom: 1px solid rgba(47, 182, 168, .3);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }
  .site-nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    min-height: 52px;
    justify-content: flex-start;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(30, 58, 82, .7);
    color: var(--paper);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--teal-soft); }
  .nav-link[aria-current="page"]::before {
    content: "";
    width: 6px;
    height: 6px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px rgba(47, 182, 168, .8);
  }
  .nav-util {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
    padding-left: 0;
    border-left: 0;
  }
  .nav-quick {
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
  }
  .nav-util .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-beam { left: 14px; }

  .grid-bento { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .bento-sm { grid-column: span 3; }
  .bento-md { grid-column: span 3; }
  .bento-lg { grid-column: span 6; }
  .bento-full { grid-column: span 6; }

  .dock { display: grid; }
  body { padding-bottom: 56px; }
}

@media (max-width: 600px) {
  .brand-note { display: none; }
  .site-header.is-condensed .brand-note { display: none; }
  .footer-cols { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .grid-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bento-sm, .bento-md, .bento-lg, .bento-full { grid-column: span 4; }
  .section-title { font-size: 1.5rem; }
}

/* ============================================================
   动效降级
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover, .card:hover { transform: none; }
}
