:root {
  --brand: #f5a623;
  --brand-dark: #e08e0b;
  --brand-light: #ffd27a;
  --brand-glow: rgba(245, 166, 35, 0.35);
  --bg: #fffaf3;
  --bg-soft: #fff3e0;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-strong: rgba(255, 255, 255, 0.9);
  --text: #2b2118;
  --text-soft: #6b5c4d;
  --text-mute: #9a8b7b;
  --border: rgba(245, 166, 35, 0.22);
  --border-soft: rgba(43, 33, 24, 0.08);
  --shadow-sm: 0 2px 8px rgba(43, 33, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(43, 33, 24, 0.09);
  --shadow-lg: 0 18px 48px rgba(43, 33, 24, 0.14);
  --shadow-brand: 0 10px 30px rgba(245, 166, 35, 0.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 72px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #171310;
    --bg-soft: #201a15;
    --bg-card: #241d17;
    --bg-glass: rgba(36, 29, 23, 0.72);
    --bg-glass-strong: rgba(36, 29, 23, 0.92);
    --text: #f3ece4;
    --text-soft: #c0b3a4;
    --text-mute: #8d8074;
    --border: rgba(245, 166, 35, 0.3);
    --border-soft: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
    --shadow-brand: 0 10px 30px rgba(245, 166, 35, 0.22);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(245, 166, 35, 0.12), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(255, 210, 122, 0.16), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(245, 166, 35, 0.08), transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

a:hover,
a:focus-visible {
  color: var(--brand);
}

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

::selection {
  background: var(--brand);
  color: #fff;
}

h1,
h2,
h3,
h4 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.4vw, 2.9rem);
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 1rem;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
  box-shadow: 0 0 12px var(--brand-glow);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  margin: 1.8rem 0 0.7rem;
}

h4 {
  font-size: 1.05rem;
  margin: 1.2rem 0 0.5rem;
  color: var(--brand-dark);
}

p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.4rem;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.45rem;
}

li::marker {
  color: var(--brand);
}

blockquote {
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

/* ============ HEADER ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 4px 24px rgba(43, 33, 24, 0.05);
  animation: headerDrop 0.7s var(--ease) both;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.logo:hover {
  transform: scale(1.04);
}

.logo svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 4px 10px var(--brand-glow));
  transition: transform 0.5s var(--ease);
}

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

.logo span {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand), var(--brand-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

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

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

#site-header nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

#site-header nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

#site-header nav a:hover,
#site-header nav a:focus-visible {
  color: var(--brand-dark);
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-1px);
}

#site-header nav a:hover::after,
#site-header nav a:focus-visible::after {
  transform: scaleX(1);
}

#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: 200px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: width 0.35s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

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

#site-header input[type="search"]:focus {
  width: 260px;
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-glow);
}

#site-header button[type="submit"] {
  padding: 9px 18px;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

#site-header button[type="submit"]:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 14px 34px rgba(245, 166, 35, 0.4);
}

#site-header button[type="submit"]:active {
  transform: translateY(0);
}

/* ============ MAIN / SECTIONS ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

main > section {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.6vw, 40px);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.8s 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-md);
  border-color: var(--border);
}

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

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

/* ============ BANNER ============ */
#banner {
  position: relative;
  overflow: hidden;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #f5a623 0%, #ff8c42 45%, #ff6b6b 100%);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  border-radius: var(--radius-xl);
  isolation: isolate;
}

#banner::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  animation: floatBlob 12s ease-in-out infinite;
  z-index: -1;
}

#banner::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  animation: floatBlob 16s ease-in-out infinite reverse;
  z-index: -1;
}

@keyframes floatBlob {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 26px, 0) scale(1.08); }
}

#banner h1 {
  color: #fff;
  text-shadow: 0 3px 16px rgba(120, 60, 0, 0.35);
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}

#banner p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 900px;
  font-size: 1.02rem;
  text-shadow: 0 1px 8px rgba(120, 60, 0, 0.22);
  animation: fadeUp 0.9s var(--ease) 0.2s both;
}

#banner nav[aria-label="面包屑导航"] {
  margin-top: 1.4rem;
}

#banner nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 16px;
  list-style: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.88rem;
  width: fit-content;
  max-width: 100%;
}

#banner nav[aria-label="面包屑导航"] li {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

#banner nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.6);
}

#banner nav[aria-label="面包屑导航"] a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}

#banner nav[aria-label="面包屑导航"] a:hover {
  border-color: rgba(255, 255, 255, 0.85);
}

#banner nav[aria-label="面包屑导航"] [aria-current="page"] {
  color: #fff;
  font-weight: 700;
}

/* ============ NEWS / ARTICLES CARDS ============ */
#news article,
#articles article {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

#news article:hover::before,
#articles article:hover::before {
  transform: scaleY(1);
}

#news article h3,
#articles article h3 {
  margin-top: 0;
  font-size: 1.15rem;
  transition: color 0.25s var(--ease);
}

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

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-bottom: 0.4rem;
}

#news article a,
#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 4px;
}

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

#news article a:hover::after,
#articles article a:hover::after {
  transform: translateX(5px);
}

/* ============ FAQ ============ */
#faq h3 {
  position: relative;
  padding: 14px 18px 14px 46px;
  margin: 0 0 10px;
  font-size: 1.02rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  cursor: default;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#faq h3::before {
  content: "?";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 4px 10px var(--brand-glow);
}

#faq h3 + p {
  margin: 0 0 14px;
  padding: 0 18px 0 46px;
}

#faq h3:hover {
  transform: translateX(4px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* ============ HOWTO ============ */
#howto ol,
#howto ul {
  padding-left: 1.2rem;
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  position: relative;
  padding: 12px 16px 12px 56px;
  margin-bottom: 10px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  counter-increment: step;
  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: 16px;
  top: 12px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 4px 12px var(--brand-glow);
}

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

#howto ul li {
  padding-left: 0.2rem;
}

/* ============ SITEMAP / LINKS ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease),
    background 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: var(--shadow-brand);
}

/* ============ LEGAL / META ============ */
#legal h3 {
  display: inline-block;
  padding: 4px 14px;
  margin-top: 1.4rem;
  font-size: 1rem;
  color: var(--brand-dark);
  background: rgba(245, 166, 35, 0.1);
  border-left: 3px solid var(--brand);
  border-radius: 0 8px 8px 0;
}

#meta-info ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

#meta-info li {
  padding: 12px 16px;
  font-size: 0.9rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#meta-info li:hover {
  border-color: var(--border);
  transform: translateY(-2px);
}

/* ============ CONTACT ============ */
#contact ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  padding-left: 0;
  list-style: none;
}

#contact li {
  padding: 14px 18px;
  font-size: 0.92rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

#contact li:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* ============ FOOTER ============ */
footer {
  position: relative;
  margin-top: 24px;
  padding: 40px 20px;
  text-align: center;
  color: var(--text-soft);
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border-soft);
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
}

footer p {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
}

footer a {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 999px;
  box-shadow: var(--shadow-brand);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
}

footer a:hover {
  color: #fff;
  transform: translateY(-3px);
  filter: brightness(1.07);
  box-shadow: 0 16px 36px rgba(245, 166, 35, 0.42);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .header-inner {
    gap: 14px;
  }

  #site-header input[type="search"] {
    width: 160px;
  }

  #site-header input[type="search"]:focus {
    width: 200px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 14px;
    gap: 10px;
  }

  .logo {
    justify-content: center;
  }

  #site-header nav ul {
    justify-content: center;
    gap: 2px;
  }

  #site-header nav a {
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  #site-header form[role="search"] {
    width: 100%;
  }

  #site-header input[type="search"],
  #site-header input[type="search"]:focus {
    width: 100%;
    flex: 1;
  }

  main {
    padding: 20px 14px 48px;
    gap: 20px;
  }

  main > section {
    border-radius: var(--radius);
  }

  #banner {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

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

  main > section {
    padding: 18px 16px;
  }

  h2 {
    padding-left: 14px;
  }

  h2::before {
    width: 5px;
  }

  #banner nav[aria-label="面包屑导航"] ol {
    font-size: 0.8rem;
    padding: 8px 12px;
  }

  #news article,
  #articles article {
    padding: 16px;
  }

  #faq h3 {
    padding: 12px 14px 12px 42px;
    font-size: 0.96rem;
  }

  #faq h3 + p {
    padding: 0 14px 0 42px;
  }

  #howto ol li {
    padding: 10px 14px 10px 50px;
  }

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

  #sitemap a,
  #links a {
    padding: 7px 13px;
    font-size: 0.84rem;
  }
}

/* ============ MOTION PREFERENCES ============ */
@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;
  }
}

/* ============ PRINT ============ */
@media print {
  #site-header,
  footer,
  #banner nav[aria-label="面包屑导航"] {
    display: none;
  }

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

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