```css
/* ============================================================
   歪歪动漫 - 主样式表
   风格：梦幻霓虹渐变 + 毛玻璃 + 圆角卡片
   支持：PC/移动端响应式、暗色模式、滚动/悬停动画
   ============================================================ */

/* ---------- CSS 变量：亮色主题 ---------- */
:root {
  --brand: #6C5CE7;
  --brand-2: #A29BFE;
  --brand-3: #00B894;
  --accent: #FD79A8;
  --accent-2: #FDCB6E;
  --bg: #F7F6FF;
  --bg-soft: #FFFFFF;
  --bg-elev: rgba(255, 255, 255, 0.72);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --border: rgba(108, 92, 231, 0.14);
  --text: #1E1B3A;
  --text-2: #4A4670;
  --text-3: #7B78A3;
  --shadow-sm: 0 4px 14px rgba(108, 92, 231, 0.10);
  --shadow-md: 0 12px 34px rgba(108, 92, 231, 0.16);
  --shadow-lg: 0 24px 60px rgba(108, 92, 231, 0.22);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --grad-hero: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 45%, #FD79A8 100%);
  --grad-brand: linear-gradient(120deg, #6C5CE7, #00B894);
  --grad-card: linear-gradient(160deg, rgba(108, 92, 231, 0.08), rgba(253, 121, 168, 0.06));
  --maxw: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 暗色主题 ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0D1E;
    --bg-soft: #17142B;
    --bg-elev: rgba(28, 24, 50, 0.72);
    --bg-glass: rgba(28, 24, 50, 0.55);
    --border: rgba(162, 155, 254, 0.18);
    --text: #F1EEFF;
    --text-2: #C5C0E6;
    --text-3: #8F8AB8;
    --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 12px 34px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    --grad-hero: linear-gradient(135deg, #3B2F8F 0%, #6C5CE7 45%, #B23A6E 100%);
    --grad-card: linear-gradient(160deg, rgba(162, 155, 254, 0.10), rgba(253, 121, 168, 0.07));
  }
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(108, 92, 231, 0.14), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(253, 121, 168, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(0, 184, 148, 0.10), transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style-position: outside;
}

/* ---------- 滚动动画（纯 CSS，配合滚动驱动） ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(108, 92, 231, 0.35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(108, 92, 231, 0);
  }
}

/* 支持滚动时间线的浏览器使用滚动驱动动画 */
@supports (animation-timeline: view()) {
  main section {
    animation: fadeUp 0.9s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% cover 26%;
  }
}

/* 不支持时的兜底：进入即淡入 */
@supports not (animation-timeline: view()) {
  main section {
    animation: fadeUp 0.8s var(--ease) both;
  }
}

/* ---------- 顶部导航 ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 40px);
  background: var(--bg-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

header > a {
  flex-shrink: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--grad-brand);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 8s ease infinite;
  white-space: nowrap;
}

header > a:hover {
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
}

header nav {
  flex: 1;
  min-width: 0;
}

header nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

header nav ul::-webkit-scrollbar {
  display: none;
}

header nav ul li {
  flex-shrink: 0;
}

header nav ul a {
  display: block;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav ul a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

header nav ul a:hover {
  color: var(--brand);
  background: rgba(108, 92, 231, 0.08);
  transform: translateY(-1px);
}

header nav ul a:hover::after {
  width: 60%;
}

/* ---------- 主容器 ---------- */
main {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 80px;
}

/* ---------- 面包屑 ---------- */
main > nav[aria-label="面包屑"] {
  margin: 22px 0 4px;
}

main > nav[aria-label="面包屑"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-3);
}

main > nav[aria-label="面包屑"] li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

main > nav[aria-label="面包屑"] li + li::before {
  content: "›";
  color: var(--text-3);
  opacity: 0.6;
}

main > nav[aria-label="面包屑"] a {
  color: var(--text-3);
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

main > nav[aria-label="面包屑"] a:hover {
  color: var(--brand);
  background: rgba(108, 92, 231, 0.08);
}

/* ---------- 通用 section 卡片 ---------- */
main section {
  position: relative;
  margin-top: 28px;
  padding: clamp(22px, 4vw, 44px);
  background: var(--bg-elev);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}

main section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 92, 231, 0.28);
}

/* ---------- 标题体系 ---------- */
main h1 {
  font-size: clamp(1.6rem, 4.4vw, 2.6rem);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  background: linear-gradient(120deg, var(--brand), var(--accent), var(--brand-3));
  background-size: 220% 220%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradientShift 10s ease infinite;
}

main h2 {
  position: relative;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 18px;
  padding-left: 18px;
  color: var(--text);
}

main h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 1.1em;
  border-radius: 6px;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(108, 92, 231, 0.45);
}

main h3 {
  font-size: clamp(1.02rem, 2.2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 26px 0 10px;
  color: var(--brand);
}

main h3:first-child {
  margin-top: 0;
}

main p {
  color: var(--text-2);
  margin-bottom: 12px;
}

main p:last-child {
  margin-bottom: 0;
}

/* ---------- Hero 渐变 Banner ---------- */
#hero {
  margin-top: 18px;
  padding: clamp(28px, 5vw, 60px);
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: gradientShift 14s ease infinite;
  border: none;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.32), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.18), transparent 46%);
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
}

#hero h1 {
  background: none;
  -webkit-text-fill-color: #FFFFFF;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.22);
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.94rem, 2vw, 1.05rem);
  max-width: 74ch;
}

#hero figure {
  margin: 28px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#hero figure:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow: var(--shadow-lg);
}

#hero figure svg {
  width: 100%;
  border-radius: var(--radius-sm);
}

#hero figcaption {
  padding: 12px 6px 4px;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

/* ---------- 列表 ---------- */
main ul,
main ol {
  margin: 12px 0 16px;
  padding-left: 22px;
  color: var(--text-2);
}

main li {
  margin-bottom: 8px;
  padding-left: 4px;
}

main li::marker {
  color: var(--brand);
  font-weight: 700;
}

/* 品牌历史、产品优势等列表做成卡片流 */
#about ul,
#products ul,
#news ul,
#sitemap ul,
#links ul,
#notes ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

#about ul li,
#products ul li,
#news ul li,
#notes ul li {
  position: relative;
  padding: 12px 16px 12px 40px;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#about ul li::before,
#products ul li::before,
#news ul li::before,
#notes ul li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-brand);
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.12);
}

#about ul li:hover,
#products ul li:hover,
#news ul li:hover,
#notes ul li:hover {
  transform: translateX(4px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow-sm);
}

#news ul li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

#news time {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(108, 92, 231, 0.1);
  letter-spacing: 0.02em;
}

/* 网站地图 / 友情链接：胶囊标签 */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#sitemap ul li,
#links ul li {
  margin: 0;
}

#sitemap ul a,
#links ul a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s var(--ease);
}

#sitemap ul a:hover,
#links ul a:hover {
  color: #FFFFFF;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- 案例 / 引用 ---------- */
#cases h3 {
  margin-top: 22px;
}

blockquote {
  position: relative;
  margin: 14px 0;
  padding: 18px 20px 18px 52px;
  background: var(--grad-card);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: 16px;
  top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.4;
}

blockquote p {
  margin: 0;
  color: var(--text-2);
  font-style: italic;
}

blockquote:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

/* ---------- 文章列表 ---------- */
#articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

#articles > h2 {
  grid-column: 1 / -1;
}

#articles article {
  position: relative;
  margin: 14px 0 0;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

#articles article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-card);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

#articles article > * {
  position: relative;
  z-index: 1;
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(108, 92, 231, 0.3);
}

#articles article:hover::before {
  opacity: 1;
}

#articles article h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: var(--text);
  transition: color 0.3s var(--ease);
}

#articles article:hover h3 {
  color: var(--brand);
}

#articles article > p:first-of-type {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(108, 92, 231, 0.1);
}

#articles article > p:first-of-type time {
  color: inherit;
}

#articles article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

#articles article > a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

#articles article > a:hover {
  color: var(--accent);
  gap: 10px;
}

#articles article > a:hover::after {
  transform: translateX(3px);
}

/* ---------- FAQ 手风琴式卡片 ---------- */
#faq h3 {
  position: relative;
  margin-top: 16px;
  padding: 14px 46px 14px 18px;
  font-size: 1rem;
  color: var(--text);
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#faq h3::after {
  content: "＋";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.35s var(--ease);
}

#faq h3:hover {
  color: var(--brand);
  border-color: rgba(108, 92, 231, 0.34);
  box-shadow: var(--shadow-sm);
}

#faq h3:hover::after {
  transform: translateY(-50%) rotate(90deg);
}

#faq h3 + p {
  margin: 0 0 4px;
  padding: 14px 18px;
  font-size: 0.94rem;
  color: var(--text-2);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- HowTo 流程 ---------- */
#howto ol {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
  display: grid;
  gap: 12px;
}

#howto ol li {
  position: relative;
  counter-increment: step;
  padding: 14px 18px 14px 60px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  background: var(--grad-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.35);
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: var(--shadow-sm);
}

#howto ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 8px;
}

#howto ul li {
  position: relative;
  padding-left: 24px;
}

#howto ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--brand-3);
}

/* ---------- 作者信息 ---------- */
#author {
  background: var(--grad-card);
}

#author p:first-of-type {
  font-size: 0.96rem;
}

#author p:nth-of-type(2) {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand);
  background: rgba(108, 92, 231, 0.1);
  border-radius: 999px;
}

/* ---------- 联系方式 ---------- */
#contact address {
  font-style: normal;
  display: grid;
  gap: 10px;
}

#contact address p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#contact address p:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

#contact address a {
  font-weight: 700;
  color: var(--brand);
  border-bottom: 1px dashed rgba(108, 92, 231, 0.45);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

#contact address a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- 法律/版权区块 ---------- */
#legal h2 {
  margin-top: 30px;
}

#legal h2:first-child {
  margin-top: 0;
}

#legal p {
  font-size: 0.94rem;
  line-height: 1.85;
  padding: 14px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ---------- 页脚 ---------- */
footer {
  position: relative;
  margin-top: 40px;
  padding: 44px clamp(16px, 4vw, 40px) 56px;
  text-align: center;
  background: var(--bg-elev);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 0.86rem;
  line-height: 1.9;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 80%);
  height: 3px;
  border-radius: 0 0 6px 6px;
  background: var(--grad-brand);
  opacity: 0.75;
}

footer p {
  margin-bottom: 8px;
}

footer p:first-child {
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

footer a {
  color: var(--text-2);
  padding: 2px 4px;
  border-radius: 6px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

footer a:hover {
  color: var(--brand);
  background: rgba(108, 92, 231, 0.1);
}

/* ---------- 平板适配 ---------- */
@media (max-width: 900px) {
  :root {
    --header-h: 62px;
  }

  header {
    flex-wrap: wrap;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }

  header nav {
    flex-basis: 100%;
  }

  header nav ul {
    justify-content: flex-start;
    padding-bottom: 2px;
  }

  header nav ul a {
    font-size: 0.84rem;
    padding: 6px 12px;
  }

  #articles {
    gap: 4px;
  }
}

/* ---------- 手机适配 ---------- */
@media (max-width: 600px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  main {
    padding-bottom: 56px;
  }

  main section {
    margin-top: 18px;
    padding: 20px 16px;
    border-radius: var(--radius);
  }

  #hero {
    margin-top: 12px;
    padding: 24px 18px;
    border-radius: var(--radius);
  }

  #hero figure {
    margin-top: 20px;
    padding: 8px;
  }

  main h2 {
    padding-left: 14px;
    margin-bottom: 14px;
  }

  main h2::before {
    width: 5px;
  }

  #about ul li,
  #products ul li,
  #news ul li,
  #notes ul li {
    padding: 10px 12px 10px 34px;
  }

  #about ul li::before,
  #products ul li::before,
  #news ul li::before,
  #notes ul li::before {
    left: 13px;
    width: 8px;
    height: 8px;
  }

  #articles article {
    padding: 18px 16px;
  }

  #faq h3 {
    padding: 12px 38px 12px 14px;
    font-size: 0.94rem;
  }

  #faq h3 + p {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  #howto ol li {
    padding: 12px 14px 12px 52px;
  }

  #howto ol li::before {
    left: 12px;
    width: 28px;
    height: 28px;
    font-size: 0.82rem;
  }

  blockquote {
    padding: 14px 14px 14px 44px;
  }

  blockquote::before {
    left: 12px;
    font-size: 2.2rem;
  }

  footer {
    padding: 32px 16px 44px;
    font-size: 0.8rem;
  }

  footer p:nth-child(2) {
    word-break: break-word;
  }
}

/* ---------- 超小屏 ---------- */
@media (max-width: 380px) {
  header > a {
    font-size: 1.1rem;
  }

  header nav ul a {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  #sitemap ul a,
  #links ul a {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

/* ---------- 无障碍：减少动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 焦点可见性 ---------- */
a:focus-visible,
button:focus-visible,
h3:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- 选中文本 ---------- */
::selection {
  background: rgba(108, 92, 231, 0.28);
  color: var(--text);
}

/* ---------- 滚动条美化 ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--accent));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--accent), var(--brand));
  background-clip: padding-box;
}
```