:root {
  --pink-50: #fff5f9;
  --pink-100: #ffe4ef;
  --pink-200: #ffc9de;
  --pink-300: #ffa7c9;
  --pink-400: #ff85b4;
  --pink-500: #ff6fa5;
  --pink-600: #e8518a;
  --pink-700: #c2185b;
  --blue-500: #1565c0;
  --green-600: #2e7d32;
  --ink-900: #2b1f2b;
  --ink-700: #4a3a4a;
  --ink-500: #6f5f6f;
  --ink-300: #a99aa9;
  --bg: #fffafc;
  --bg-soft: #fff0f6;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.65);
  --border: rgba(255, 111, 165, 0.22);
  --shadow-sm: 0 2px 8px rgba(194, 24, 91, 0.08);
  --shadow-md: 0 8px 24px rgba(194, 24, 91, 0.12);
  --shadow-lg: 0 18px 48px rgba(194, 24, 91, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --grad-hero: linear-gradient(135deg, #ffd1e3 0%, #ffe4ef 40%, #d1e8ff 100%);
  --grad-pink: linear-gradient(135deg, #ff6fa5 0%, #ffa7c9 100%);
  --grad-soft: linear-gradient(135deg, #fff5f9 0%, #ffe4ef 100%);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --pink-50: #2a1f27;
    --pink-100: #3a2432;
    --pink-200: #4d2c3e;
    --pink-300: #ffa7c9;
    --pink-400: #ff85b4;
    --pink-500: #ff6fa5;
    --pink-600: #ff8fbc;
    --pink-700: #ffb3d1;
    --blue-500: #7fb6ff;
    --green-600: #8fd694;
    --ink-900: #f6ecf2;
    --ink-700: #ddc9d6;
    --ink-500: #b9a4b2;
    --ink-300: #8a7484;
    --bg: #17111a;
    --bg-soft: #1f1722;
    --surface: #241b28;
    --surface-glass: rgba(36, 27, 40, 0.62);
    --border: rgba(255, 111, 165, 0.28);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.6);
    --grad-hero: linear-gradient(135deg, #3a2432 0%, #2a1f27 45%, #1d2a3a 100%);
    --grad-pink: linear-gradient(135deg, #ff6fa5 0%, #c2185b 100%);
    --grad-soft: linear-gradient(135deg, #2a1f27 0%, #3a2432 100%);
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-700);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, var(--pink-100), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(209, 232, 255, 0.55), transparent 55%),
    radial-gradient(800px 600px at 50% 100%, var(--pink-50), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: 0;
}

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

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

a:hover,
a:focus-visible {
  color: var(--pink-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--pink-400);
  outline-offset: 2px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  color: var(--ink-900);
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.6rem, 2.6vw + 1rem, 2.6rem);
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.3rem, 1.6vw + 0.9rem, 1.9rem);
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.22em;
  bottom: 0.22em;
  width: 6px;
  border-radius: 6px;
  background: var(--grad-pink);
}

h3 {
  font-size: clamp(1.08rem, 0.8vw + 0.95rem, 1.3rem);
  color: var(--ink-900);
}

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

blockquote {
  margin: 0 0 1em;
  padding: 16px 20px;
  border-left: 4px solid var(--pink-400);
  border-radius: var(--radius-sm);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  color: var(--ink-700);
  font-style: italic;
}

blockquote p {
  margin: 0;
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  min-height: var(--header-h);
  padding: 10px clamp(14px, 3vw, 40px);
  background: var(--surface-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);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink-900);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 10px rgba(255, 111, 165, 0.45));
  transition: transform 0.4s var(--ease);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.08);
}

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

#site-header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#site-header nav li {
  margin: 0;
}

#site-header nav a {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

#site-header nav a:hover,
#site-header nav a:focus-visible {
  background: var(--pink-100);
  color: var(--pink-700);
  text-decoration: none;
  transform: translateY(-2px);
}

#site-header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#site-header form[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

#site-header input[type="search"] {
  width: clamp(130px, 16vw, 220px);
  padding: 9px 16px;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink-900);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), width 0.3s var(--ease);
}

#site-header input[type="search"]::placeholder {
  color: var(--ink-300);
}

#site-header input[type="search"]:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(255, 111, 165, 0.18);
  outline: none;
}

#site-header form[role="search"] button {
  padding: 9px 18px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-pink);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(255, 111, 165, 0.4);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

#site-header form[role="search"] button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(255, 111, 165, 0.5);
  filter: brightness(1.05);
}

#site-header form[role="search"] button:active {
  transform: translateY(0);
}

/* ---------- Breadcrumb ---------- */
body > nav[aria-label="面包屑导航"] {
  padding: 14px clamp(14px, 3vw, 40px) 0;
}

body > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--ink-500);
}

body > nav[aria-label="面包屑导航"] li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

body > nav[aria-label="面包屑导航"] li + li::before {
  content: "›";
  color: var(--pink-400);
  font-weight: 700;
}

body > nav[aria-label="面包屑导航"] li[aria-current="page"] {
  color: var(--ink-700);
  font-weight: 600;
}

/* ---------- Main layout ---------- */
main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 36px) clamp(14px, 3vw, 40px) 60px;
}

main > section {
  position: relative;
  margin-bottom: clamp(20px, 3vw, 32px);
  padding: clamp(20px, 3vw, 40px);
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  animation: rise-in 0.7s var(--ease) both;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

main > section:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 111, 165, 0.4);
}

main > section:nth-child(2) { animation-delay: 0.05s; }
main > section:nth-child(3) { animation-delay: 0.1s; }
main > section:nth-child(4) { animation-delay: 0.15s; }
main > section:nth-child(5) { animation-delay: 0.2s; }
main > section:nth-child(6) { animation-delay: 0.25s; }
main > section:nth-child(7) { animation-delay: 0.3s; }
main > section:nth-child(8) { animation-delay: 0.35s; }
main > section:nth-child(9) { animation-delay: 0.4s; }

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

/* ---------- Hero ---------- */
#hero {
  overflow: hidden;
  background: var(--grad-hero);
  border: none;
  color: var(--ink-700);
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 85% 10%, rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(300px 180px at 5% 90%, rgba(255, 255, 255, 0.4), transparent 70%);
  pointer-events: none;
}

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

#hero > p {
  font-size: clamp(0.98rem, 0.4vw + 0.9rem, 1.08rem);
  max-width: 72ch;
}

/* ---------- Carousel ---------- */
.banner-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  margin-top: 24px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--pink-400) transparent;
}

.banner-carousel::-webkit-scrollbar {
  height: 8px;
}

.banner-carousel::-webkit-scrollbar-thumb {
  background: var(--pink-300);
  border-radius: 999px;
}

.banner-carousel figure {
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.banner-carousel figure:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.banner-carousel svg {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 300;
  object-fit: cover;
}

.banner-carousel figcaption {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ---------- Cards: news / articles ---------- */
#news ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

#news li {
  margin: 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

#news li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--grad-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

#news li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-300);
}

#news li:hover::before {
  transform: scaleX(1);
}

#news h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5em;
}

#news p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-500);
}

/* ---------- Articles ---------- */
#articles > p {
  font-size: 0.95rem;
  color: var(--ink-500);
}

#articles article {
  position: relative;
  margin-bottom: 18px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#articles article:last-child {
  margin-bottom: 0;
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--pink-300);
}

#articles article > h3 {
  margin-bottom: 0.35em;
  padding-right: 12px;
}

#articles article > p:nth-of-type(1) {
  font-size: 0.8rem;
  color: var(--ink-300);
  margin-bottom: 0.7em;
}

#articles article > p:nth-of-type(2) {
  font-size: 0.94rem;
  color: var(--ink-700);
}

#articles article > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink-100);
  color: var(--pink-700);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#articles article > a:hover {
  background: var(--grad-pink);
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
  box-shadow: 0 6px 16px rgba(255, 111, 165, 0.4);
}

#articles article > div[id^="article-"] {
  margin-top: 14px;
  padding: 16px 18px;
  font-size: 0.94rem;
  color: var(--ink-700);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pink-300);
}

#articles article > div[id^="article-"] p {
  margin: 0;
}

/* ---------- FAQ ---------- */
#faq details {
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

#faq details:last-child {
  margin-bottom: 0;
}

#faq details:hover {
  border-color: var(--pink-300);
  box-shadow: var(--shadow-md);
}

#faq details[open] {
  border-color: var(--pink-400);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  padding: 16px 52px 16px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  user-select: none;
}

#faq summary::-webkit-details-marker {
  display: none;
}

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink-600);
  background: var(--pink-100);
  border-radius: 50%;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

#faq details[open] summary {
  background: var(--grad-soft);
  color: var(--pink-700);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: var(--grad-pink);
  color: #fff;
}

#faq details > p {
  padding: 4px 20px 18px;
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-700);
  animation: fade-in 0.4s var(--ease);
}

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

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

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 14px 18px 14px 58px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 0.94rem;
  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: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-pink);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 111, 165, 0.4);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--pink-300);
  box-shadow: var(--shadow-md);
}

/* ---------- Contact ---------- */
#contact ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-bottom: 1.4em;
}

#contact li {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.92rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#contact li:hover {
  border-color: var(--pink-300);
  transform: translateY(-2px);
}

/* ---------- Sitemap / Links ---------- */
#sitemap ul,
#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 7px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  background: var(--grad-pink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(255, 111, 165, 0.4);
}

/* ---------- Footer ---------- */
footer {
  margin-top: 20px;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 48px);
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid var(--border);
  color: var(--ink-500);
  font-size: 0.86rem;
  box-shadow: 0 -8px 30px rgba(194, 24, 91, 0.06);
}

footer p {
  margin: 0 0 10px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

footer a {
  color: var(--ink-700);
  font-weight: 600;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

footer a:hover {
  color: var(--pink-700);
  background: var(--pink-100);
  text-decoration: none;
}

footer p:last-child a {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-pink);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(255, 111, 165, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

footer p:last-child a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 111, 165, 0.55);
  color: #fff;
  background: var(--grad-pink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  #site-header {
    gap: 10px;
  }

  #site-header nav {
    order: 3;
    flex-basis: 100%;
  }

  #site-header nav ul {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

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

  #site-header nav a {
    white-space: nowrap;
    font-size: 0.88rem;
  }

  #site-header form[role="search"] {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
    line-height: 1.75;
  }

  #site-header {
    padding: 10px 14px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

  #site-header form[role="search"] {
    flex: 1 1 100%;
    margin-left: 0;
  }

  #site-header input[type="search"] {
    flex: 1 1 auto;
    width: auto;
  }

  main {
    padding: 14px 12px 40px;
  }

  main > section {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  .banner-carousel {
    grid-auto-columns: minmax(240px, 85%);
    gap: 12px;
    margin-top: 18px;
  }

  #news ul {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  #faq summary {
    padding: 14px 46px 14px 16px;
    font-size: 0.93rem;
  }

  #faq summary::after {
    right: 14px;
    width: 24px;
    height: 24px;
  }

  #faq details > p {
    padding: 4px 16px 16px;
  }

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

  #contact ul {
    grid-template-columns: 1fr;
  }

  footer {
    font-size: 0.82rem;
  }
}

/* ---------- Motion & accessibility ---------- */
@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;
  }
}

@media print {
  #site-header,
  body > nav[aria-label="面包屑导航"],
  footer p:last-child {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}