:root {
  --brand: #ff6b35;
  --brand-dark: #e2551f;
  --brand-light: #ff8f66;
  --brand-soft: #ffe9db;
  --brand-tint: #fff4ec;
  --accent: #7c5cff;
  --accent-soft: #ede9ff;
  --ink: #2b1d16;
  --ink-2: #5a3a2a;
  --ink-3: #8a6a58;
  --bg: #fffaf6;
  --bg-2: #ffffff;
  --card: #ffffff;
  --card-soft: #fff4ec;
  --border: rgba(255, 107, 53, 0.16);
  --border-strong: rgba(255, 107, 53, 0.35);
  --shadow-sm: 0 2px 8px rgba(138, 59, 18, 0.06);
  --shadow: 0 10px 30px rgba(138, 59, 18, 0.10);
  --shadow-lg: 0 22px 60px rgba(138, 59, 18, 0.16);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.55);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ff7d4d;
    --brand-dark: #ff6b35;
    --brand-light: #ffa07a;
    --brand-soft: #3a2419;
    --brand-tint: #241711;
    --accent: #9d86ff;
    --accent-soft: #2a2340;
    --ink: #f6ece5;
    --ink-2: #d9c6ba;
    --ink-3: #a98f80;
    --bg: #14100d;
    --bg-2: #1b1512;
    --card: #1f1814;
    --card-soft: #261c16;
    --border: rgba(255, 125, 77, 0.18);
    --border-strong: rgba(255, 125, 77, 0.42);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 22px 60px rgba(0, 0, 0, 0.6);
    --glass: rgba(31, 24, 20, 0.62);
    --glass-border: rgba(255, 255, 255, 0.08);
  }
}

*,
*::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: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 8% -10%, rgba(255, 107, 53, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(124, 92, 255, 0.08), transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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);
}

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

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

h1 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  position: relative;
  padding-left: 0.8em;
}

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(--accent));
}

h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  color: var(--ink-2);
}

p {
  margin: 0 0 1em;
  color: var(--ink-2);
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--ink-2);
}

li {
  margin-bottom: 0.4em;
}

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

blockquote {
  margin: 1em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--brand-tint);
  color: var(--ink-2);
  font-style: italic;
}

blockquote p {
  margin: 0;
  color: var(--ink-2);
}

figure {
  margin: 1.6em 0;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 0.8rem;
  font-size: 0.86rem;
  color: var(--ink-3);
  text-align: center;
}

sup {
  font-size: 0.7em;
}

/* ============ Header ============ */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(138, 59, 18, 0.06);
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.2rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.45rem 1.2rem;
  font-size: 0.78rem;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark) 55%, var(--accent));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.02em;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar span:first-child {
  font-weight: 700;
}

nav[aria-label="主导航"] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
}

nav[aria-label="主导航"] > a {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
}

nav[aria-label="主导航"] > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

nav[aria-label="主导航"] > ul li {
  margin: 0;
}

nav[aria-label="主导航"] > ul a {
  display: inline-block;
  padding: 0.42rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

nav[aria-label="主导航"] > ul a:hover,
nav[aria-label="主导航"] > ul a:focus-visible {
  background: var(--brand-soft);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

nav[role="search"] {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 1 300px;
  min-width: 200px;
}

nav[role="search"] label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

nav[role="search"] input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

nav[role="search"] input[type="search"]::placeholder {
  color: var(--ink-3);
}

nav[role="search"] input[type="search"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
  outline: none;
}

nav[role="search"] button {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}

nav[role="search"] button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.35);
  filter: brightness(1.05);
}

nav[role="search"] button:active {
  transform: translateY(0);
}

/* ============ Main Layout ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem 1.2rem 3rem;
}

main > section,
main > nav {
  margin: 0 0 1.6rem;
  padding: 1.6rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  animation: rise 0.7s var(--ease) both;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

main > section:hover,
main > nav:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

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

main > section:nth-of-type(1) {
  animation-delay: 0.02s;
}

main > section:nth-of-type(2) {
  animation-delay: 0.06s;
}

main > section:nth-of-type(3) {
  animation-delay: 0.1s;
}

main > section:nth-of-type(4) {
  animation-delay: 0.14s;
}

main > section:nth-of-type(5) {
  animation-delay: 0.18s;
}

main > section:nth-of-type(6) {
  animation-delay: 0.22s;
}

main > section:nth-of-type(7) {
  animation-delay: 0.26s;
}

main > section:nth-of-type(8) {
  animation-delay: 0.3s;
}

main > section:nth-of-type(9) {
  animation-delay: 0.34s;
}

main > section:nth-of-type(10) {
  animation-delay: 0.38s;
}

main > section:nth-of-type(11) {
  animation-delay: 0.42s;
}

main > section:nth-of-type(12) {
  animation-delay: 0.46s;
}

main > section:nth-of-type(13) {
  animation-delay: 0.5s;
}

main > section:nth-of-type(14) {
  animation-delay: 0.54s;
}

/* ============ Hero ============ */
main > section[aria-labelledby="hero-title"] {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 2.4rem 1.8rem;
  background:
    radial-gradient(700px 320px at 85% 10%, rgba(255, 255, 255, 0.22), transparent 60%),
    linear-gradient(135deg, #ff6b35 0%, #ff8f4d 38%, #7c5cff 100%);
  border: none;
  box-shadow: var(--shadow-lg);
}

main > section[aria-labelledby="hero-title"]::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(6px);
  pointer-events: none;
}

main > section[aria-labelledby="hero-title"] h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(60, 20, 0, 0.28);
  position: relative;
  z-index: 1;
}

main > section[aria-labelledby="hero-title"] p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 68ch;
  position: relative;
  z-index: 1;
}

main > section[aria-labelledby="hero-title"] figure {
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
  position: relative;
  z-index: 1;
}

main > section[aria-labelledby="hero-title"] figure:hover {
  box-shadow: 0 20px 50px rgba(40, 10, 0, 0.3);
}

main > section[aria-labelledby="hero-title"] figcaption {
  color: rgba(255, 255, 255, 0.88);
}

main > section[aria-labelledby="hero-title"] svg {
  border-radius: var(--radius);
  margin: 0 auto;
}

/* ============ Page Nav ============ */
main > nav[aria-label="页面内锚点导航"] {
  background: linear-gradient(135deg, var(--brand-tint), var(--card));
}

main > nav[aria-label="页面内锚点导航"] ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.5rem 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

main > nav[aria-label="页面内锚点导航"] li {
  margin: 0;
}

main > nav[aria-label="页面内锚点导航"] a {
  display: block;
  padding: 0.6rem 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

main > nav[aria-label="页面内锚点导航"] a:hover {
  transform: translateX(4px);
  background: var(--brand-soft);
  border-color: var(--border-strong);
  color: var(--brand-dark);
}

/* ============ Articles ============ */
article {
  padding: 1.2rem 1.3rem;
  margin: 0 0 1rem;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

article h3 {
  margin-top: 0;
  color: var(--ink);
}

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

article a {
  display: inline-block;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-dark);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

article a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateX(3px);
}

/* ============ FAQ ============ */
details {
  margin: 0 0 0.7rem;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

details[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

details summary {
  position: relative;
  padding: 0.9rem 3rem 0.9rem 1.1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

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

details summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 50%;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}

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

details summary:hover {
  color: var(--brand-dark);
  background: rgba(255, 107, 53, 0.06);
}

details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--ink-2);
  animation: fadeIn 0.35s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 0.7rem 1rem 0.7rem 3rem;
  margin-bottom: 0.6rem;
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 50%;
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

/* ============ Contact ============ */
#contact p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  padding: 0.5rem 0.8rem;
  margin: 0 0 0.5rem;
  background: var(--card-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--brand);
  font-size: 0.94rem;
}

/* ============ Sitemap & Links ============ */
main > section[aria-labelledby="sitemap-title"] ul,
main > section[aria-labelledby="links-title"] ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

main > section[aria-labelledby="sitemap-title"] li,
main > section[aria-labelledby="links-title"] li {
  margin: 0;
}

main > section[aria-labelledby="sitemap-title"] a,
main > section[aria-labelledby="links-title"] a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--card-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

main > section[aria-labelledby="sitemap-title"] a:hover,
main > section[aria-labelledby="links-title"] a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
}

/* ============ Footer ============ */
footer[role="contentinfo"] {
  position: relative;
  margin-top: 1rem;
  padding: 2.2rem 1.2rem 1.6rem;
  color: var(--ink-2);
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(255, 107, 53, 0.14), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-top: 1px solid var(--border);
}

footer[role="contentinfo"] > section {
  max-width: var(--maxw);
  margin: 0 auto 1.2rem;
  padding: 1.1rem 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

footer[role="contentinfo"] > section:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

footer[role="contentinfo"] h2 {
  font-size: 1.02rem;
  padding-left: 0.7em;
  margin-bottom: 0.5rem;
}

footer[role="contentinfo"] h2::before {
  width: 4px;
}

footer[role="contentinfo"] p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-3);
}

footer[role="contentinfo"] > p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.2rem;
  font-size: 0.8rem;
  text-align: center;
  color: var(--ink-3);
  border-top: 1px dashed var(--border-strong);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  nav[aria-label="主导航"] {
    gap: 0.5rem;
    padding: 0.6rem 1rem;
  }

  nav[aria-label="主导航"] > ul {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.3rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  nav[aria-label="主导航"] > ul::-webkit-scrollbar {
    display: none;
  }

  nav[aria-label="主导航"] > ul a {
    white-space: nowrap;
  }

  nav[role="search"] {
    flex: 1 1 auto;
    min-width: 0;
  }

  main > section[aria-labelledby="hero-title"] {
    padding: 1.8rem 1.2rem;
  }
}

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

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
    border-radius: 0;
  }

  nav[aria-label="主导航"] {
    padding: 0.55rem 0.9rem;
  }

  nav[aria-label="主导航"] > a {
    font-size: 1.02rem;
  }

  main {
    padding: 0.9rem 0.8rem 2.2rem;
  }

  main > section,
  main > nav {
    padding: 1.1rem 0.95rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
  }

  main > section[aria-labelledby="hero-title"] {
    padding: 1.4rem 1rem;
    border-radius: var(--radius);
  }

  main > section[aria-labelledby="hero-title"] figure {
    padding: 0.6rem;
  }

  h2 {
    padding-left: 0.65em;
  }

  h2::before {
    width: 4px;
  }

  main > nav[aria-label="页面内锚点导航"] ul {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  main > nav[aria-label="页面内锚点导航"] a {
    padding: 0.5rem 0.6rem;
    font-size: 0.82rem;
  }

  article {
    padding: 1rem;
  }

  details summary {
    padding: 0.8rem 2.6rem 0.8rem 0.9rem;
    font-size: 0.94rem;
  }

  #howto ol li {
    padding: 0.6rem 0.8rem 0.6rem 2.6rem;
  }

  #contact p {
    font-size: 0.88rem;
  }

  blockquote {
    padding: 0.8rem 0.9rem;
  }

  footer[role="contentinfo"] {
    padding: 1.4rem 0.8rem 1.2rem;
  }

  footer[role="contentinfo"] > section {
    padding: 0.9rem 0.9rem;
  }
}

@media (max-width: 400px) {
  main > nav[aria-label="页面内锚点导航"] ul {
    grid-template-columns: 1fr;
  }

  nav[role="search"] {
    flex-basis: 100%;
  }
}

/* ============ Motion & A11y ============ */
@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 (hover: none) {
  figure:hover,
  article:hover,
  details[open],
  main > section:hover,
  main > nav:hover,
  footer[role="contentinfo"] > section:hover {
    transform: none;
  }
}

/* ============ Print ============ */
@media print {
  header[role="banner"],
  footer[role="contentinfo"],
  nav[role="search"],
  main > nav[aria-label="页面内锚点导航"] {
    display: none;
  }

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

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

  a {
    color: #000;
    text-decoration: underline;
  }
}