:root {
  --brand: #e94b3c;
  --brand-dark: #c93a2d;
  --brand-light: #ff6f5f;
  --accent: #f5a623;
  --accent-2: #7b61c9;
  --accent-3: #4a90d9;
  --bg: #f7f8fb;
  --bg-soft: #eef1f7;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.9);
  --text: #1f1f24;
  --text-soft: #4a4d57;
  --text-muted: #6b7080;
  --border: rgba(31, 31, 36, 0.09);
  --border-strong: rgba(31, 31, 36, 0.16);
  --shadow-sm: 0 2px 8px rgba(31, 31, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 31, 36, 0.1);
  --shadow-lg: 0 24px 60px rgba(31, 31, 36, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --hero-gradient: linear-gradient(135deg, #e94b3c 0%, #ff6f5f 42%, #f5a623 100%);
  --hero-gradient-soft: linear-gradient(135deg, rgba(233, 75, 60, 0.14) 0%, rgba(245, 166, 35, 0.12) 55%, rgba(123, 97, 201, 0.12) 100%);
  --glass-blur: saturate(180%) blur(16px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ff6f5f;
    --brand-dark: #e94b3c;
    --brand-light: #ff9a8d;
    --accent: #ffb84d;
    --accent-2: #9d8ae8;
    --accent-3: #6aa8e8;
    --bg: #0e0f13;
    --bg-soft: #15171d;
    --surface: #1a1c23;
    --surface-glass: rgba(26, 28, 35, 0.68);
    --surface-glass-strong: rgba(26, 28, 35, 0.9);
    --text: #f2f3f7;
    --text-soft: #c3c6d1;
    --text-muted: #8d92a3;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --hero-gradient: linear-gradient(135deg, #b03a2e 0%, #e94b3c 45%, #c97f1a 100%);
    --hero-gradient-soft: linear-gradient(135deg, rgba(233, 75, 60, 0.2) 0%, rgba(245, 166, 35, 0.12) 55%, rgba(123, 97, 201, 0.18) 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%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(233, 75, 60, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(123, 97, 201, 0.07), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  padding-bottom: 0.5rem;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.6rem;
  border-radius: 4px;
  background: var(--hero-gradient);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text);
}

h4 {
  font-size: 1.05rem;
  color: var(--text-soft);
}

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

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

li {
  margin-bottom: 0.4em;
}

strong {
  color: var(--text);
  font-weight: 700;
}

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.2em 1em 1.4em;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-style: normal;
}

blockquote p {
  margin: 0;
}

figure {
  margin: 1.6em 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

figure figcaption {
  padding: 0.9em 1.2em;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  text-align: center;
}

/* Skip link */
body > a[href="#main-content"] {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 0.6em 1.2em;
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.3s var(--ease);
}

body > a[href="#main-content"]:focus {
  top: 16px;
  color: #fff;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  animation: headerDrop 0.6s var(--ease) both;
}

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

header > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

header > div > a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}

header > div > a:hover {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 6px 14px rgba(233, 75, 60, 0.35));
}

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

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

header nav li {
  margin: 0;
}

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

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

header nav a:hover,
header nav a:focus-visible {
  color: var(--brand);
  background: rgba(233, 75, 60, 0.08);
  transform: translateY(-1px);
}

header nav a:hover::after {
  width: 40%;
}

/* Main layout */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

main > section {
  margin-bottom: 40px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  animation: revealUp 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

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

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

@supports not (animation-timeline: view()) {
  main > section {
    animation: none;
    opacity: 1;
  }
}

/* Hero */
#hero {
  background:
    var(--hero-gradient-soft),
    var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 75, 60, 0.22), transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 97, 201, 0.18), transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}

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

#hero h1 {
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  max-width: 22ch;
}

#hero > p:first-of-type {
  font-size: 1.0625rem;
  max-width: 68ch;
  color: var(--text-soft);
}

#hero figure {
  margin-top: 1.8em;
}

#hero figure svg {
  animation: heroFloat 8s ease-in-out infinite;
}

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

#hero > p:last-of-type {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

#hero > p:last-of-type strong {
  color: var(--brand);
}

/* Breadcrumb */
main > nav[aria-label="面包屑导航"] {
  margin: -12px 0 28px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  max-width: 100%;
}

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

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

main > nav[aria-label="面包屑导航"] li:not(:last-child)::after {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

main > nav[aria-label="面包屑导航"] a {
  color: var(--text-soft);
  padding: 2px 4px;
  border-radius: 4px;
}

main > nav[aria-label="面包屑导航"] a:hover {
  color: var(--brand);
  background: rgba(233, 75, 60, 0.08);
}

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

/* Articles */
#articles > p {
  max-width: 70ch;
}

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

#articles article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--hero-gradient);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

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

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

#articles article h3 {
  margin-bottom: 0.35em;
  transition: color 0.3s var(--ease);
}

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

#articles article p:nth-of-type(1) {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75em;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

#articles article p:nth-of-type(2) {
  color: var(--text-soft);
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(233, 75, 60, 0.08);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}

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

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

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

/* Article detail sections */
main > section[id^="article-"] {
  background:
    linear-gradient(180deg, var(--surface-glass) 0%, var(--surface) 100%);
  border-left: 4px solid transparent;
  border-image: var(--hero-gradient) 1;
}

main > section[id^="article-"] > p:first-of-type {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-bottom: 0.8em;
  border-bottom: 1px dashed var(--border-strong);
  margin-bottom: 1.2em;
}

main > section[id^="article-"] > p:last-of-type a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  transition: all 0.3s var(--ease);
}

main > section[id^="article-"] > p:last-of-type a::before {
  content: "←";
}

main > section[id^="article-"] > p:last-of-type a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateX(-3px);
}

/* HowTo */
#howto h4 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.4em;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
}

#howto h4::before {
  content: counter(howto-step);
  counter-increment: howto-step;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--hero-gradient);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

#howto {
  counter-reset: howto-step;
}

#howto > h4 + p {
  padding-left: 8px;
  border-left: 2px solid var(--border);
  margin-left: 12px;
}

/* FAQ */
#faq h3 {
  margin-top: 1.6em;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: default;
  position: relative;
  padding-left: 46px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

#faq h3::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--hero-gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

#faq h3:hover {
  background: var(--surface-glass-strong);
  border-color: var(--border-strong);
  transform: translateX(3px);
}

#faq h3 + p {
  padding: 0 4px 0 46px;
  margin-top: 0.6em;
}

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

#contact li {
  margin: 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  position: relative;
  padding-left: 18px;
}

#contact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--hero-gradient);
  opacity: 0.85;
}

#contact li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* Sitemap */
#sitemap ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

#sitemap li {
  margin: 0;
}

#sitemap a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.9375rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

#sitemap a::before {
  content: "▸";
  margin-right: 8px;
  color: var(--brand);
  transition: transform 0.3s var(--ease);
  display: inline-block;
}

#sitemap a:hover {
  background: var(--surface);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

#sitemap a:hover::before {
  transform: translateX(2px);
}

/* Links */
#links ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#links li {
  margin: 0;
}

#links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface-glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s var(--ease);
}

#links a::before {
  content: "🔗";
  font-size: 0.8125rem;
}

#links a:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(233, 75, 60, 0.3);
}

/* Footer */
footer {
  position: relative;
  margin-top: 40px;
  padding: 56px 24px 40px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(233, 75, 60, 0.05) 100%),
    var(--surface);
  border-top: 1px solid var(--border);
}

footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--hero-gradient);
}

footer > div {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 6px;
  text-align: center;
}

footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

footer p:first-child {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

footer a {
  color: var(--brand);
  font-weight: 500;
  position: relative;
}

footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--brand);
  transition: width 0.3s var(--ease);
}

footer a:hover::after {
  width: 100%;
}

footer p:last-child {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 1024px) {
  main {
    padding: 24px 20px 64px;
  }
  header > div {
    padding: 0 20px;
    gap: 16px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: auto;
  }
  header > div {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
    gap: 10px;
  }
  header nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  header nav::-webkit-scrollbar {
    display: none;
  }
  header nav ul {
    flex-wrap: nowrap;
    gap: 2px;
    padding-bottom: 2px;
  }
  header nav a {
    white-space: nowrap;
    padding: 7px 12px;
    font-size: 0.875rem;
  }
  main > section {
    padding: 22px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
  }
  h2::after {
    width: 44px;
  }
  #hero h1 {
    max-width: none;
  }
  #faq h3 {
    padding-left: 42px;
    font-size: 1rem;
  }
  #faq h3 + p {
    padding-left: 4px;
  }
  #howto h4 + p {
    margin-left: 0;
    padding-left: 12px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 15px;
  }
  main {
    padding: 18px 14px 48px;
  }
  main > section {
    padding: 18px 14px;
  }
  main > nav[aria-label="面包屑导航"] {
    display: block;
    border-radius: var(--radius-md);
  }
  #articles article {
    padding: 18px 16px;
  }
  #articles article p:nth-of-type(1) {
    font-size: 0.75rem;
  }
  #contact ul,
  #sitemap ul {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 40px 16px 32px;
  }
  #hero > p:last-of-type {
    border-radius: var(--radius-md);
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  blockquote {
    padding: 0.9em 1em 0.9em 1.1em;
  }
}

/* Reduced motion */
@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 {
  header,
  footer,
  main > nav[aria-label="面包屑导航"],
  body > a[href="#main-content"] {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }
  main {
    max-width: 100%;
    padding: 0;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
    animation: none;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}
</style>