:root {
  --bg: #0f172a;
  --bg-soft: #131c31;
  --bg-card: rgba(30, 41, 59, 0.72);
  --bg-elevated: rgba(51, 65, 85, 0.55);
  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #facc15;
  --accent-2: #6366f1;
  --accent-3: #22d3ee;
  --brand-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #22d3ee 100%);
  --hero-grad: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.35), transparent 45%),
               radial-gradient(circle at 85% 10%, rgba(250, 204, 21, 0.22), transparent 40%),
               radial-gradient(circle at 70% 90%, rgba(34, 211, 238, 0.25), transparent 45%),
               linear-gradient(160deg, #0f172a 0%, #131c31 55%, #1e1b4b 100%);
  --border: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.32);
  --shadow-sm: 0 4px 14px rgba(2, 6, 23, 0.35);
  --shadow-md: 0 12px 32px rgba(2, 6, 23, 0.45);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, 0.55);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --maxw: 1160px;
  --gap: clamp(16px, 2.4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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 10% -10%, rgba(99, 102, 241, 0.18), transparent 50%),
                    radial-gradient(circle at 95% 0%, rgba(34, 211, 238, 0.12), transparent 45%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

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

h1 {
  font-size: clamp(1.7rem, 4vw, 2.75rem);
  font-weight: 800;
  background: linear-gradient(120deg, #f8fafc 10%, #a5b4fc 55%, #facc15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  position: relative;
  padding-bottom: 0.5em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
}

h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 650;
  color: #c7d2fe;
}

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

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

li {
  margin-bottom: 0.4em;
}

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

blockquote {
  margin: 0 0 1em;
  padding: 1em 1.25em;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

/* ===== Header / Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

header nav {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px clamp(16px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

header nav > a[aria-label] {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-strong);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad);
  background-size: 200% 200%;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-position 0.6s var(--ease);
}

header nav > a[aria-label]:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.6);
}

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

header nav ul li {
  margin: 0;
}

header nav ul a {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav ul a:hover,
header nav ul a:focus-visible {
  color: var(--text-strong);
  background: rgba(99, 102, 241, 0.22);
  transform: translateY(-1px);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

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

header form[role="search"] input[type="search"] {
  width: clamp(140px, 20vw, 220px);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-strong);
  background: rgba(30, 41, 59, 0.75);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

header form[role="search"] input[type="search"]::placeholder {
  color: var(--text-muted);
}

header form[role="search"] input[type="search"]:focus {
  border-color: var(--accent-2);
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

header form[role="search"] button {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  color: #0f172a;
  background: var(--brand-grad);
  background-size: 200% 200%;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-position 0.5s var(--ease);
}

header form[role="search"] button:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}

/* ===== Main layout ===== */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) clamp(16px, 3vw, 28px) 64px;
}

main > nav[aria-label="面包屑导航"] ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  padding: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

main > nav[aria-label="面包屑导航"] li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--text-muted);
  opacity: 0.6;
}

main > nav[aria-label="面包屑导航"] a {
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] a:hover {
  color: var(--accent);
}

/* ===== Sections as cards ===== */
main > section {
  position: relative;
  margin-bottom: clamp(20px, 3vw, 36px);
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--bg-card);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  animation: rise-in 0.7s var(--ease) both;
  animation-timeline: view();
  animation-range: entry 0% entry 40%;
}

main > section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
}

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

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

/* ===== Hero ===== */
#hero {
  background: var(--hero-grad);
  border: 1px solid rgba(99, 102, 241, 0.35);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}

#hero h1 {
  margin-bottom: 0.5em;
}

#hero > p {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
  max-width: 60ch;
}

#hero figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  background: rgba(15, 23, 42, 0.6);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

#hero figure:hover {
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.7);
}

#hero figcaption {
  padding: 10px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ===== Cards inside sections: articles / news ===== */
#news article,
#articles article {
  position: relative;
  padding: clamp(16px, 2.2vw, 24px);
  margin-bottom: var(--gap);
  background: var(--bg-elevated);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}

#news article::after,
#articles article::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--brand-grad);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: rgba(51, 65, 85, 0.75);
  box-shadow: var(--shadow-md);
}

#news article:hover::after,
#articles article:hover::after {
  opacity: 1;
}

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

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

#news article p:first-of-type,
#articles article p:first-of-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

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

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

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

/* ===== FAQ ===== */
#faq details {
  margin-bottom: 10px;
  padding: 0;
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

#faq details:hover {
  border-color: var(--border-strong);
  background: rgba(51, 65, 85, 0.72);
  box-shadow: var(--shadow-sm);
}

#faq details[open] {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.18), var(--shadow-sm);
}

#faq summary {
  position: relative;
  padding: 14px 48px 14px 18px;
  font-weight: 600;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s 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%);
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.35s var(--ease);
}

#faq details[open] summary {
  color: var(--accent);
}

#faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

#faq details p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--text-muted);
  font-size: 0.94rem;
  animation: fade-slide 0.4s var(--ease) both;
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  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: 12px 16px 12px 56px;
  margin-bottom: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  background: var(--brand-grad);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
  background: rgba(51, 65, 85, 0.72);
}

/* ===== Contact ===== */
#contact p {
  padding: 10px 16px;
  margin: 0 0 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

#contact p:hover {
  border-color: var(--border-strong);
  background: rgba(51, 65, 85, 0.7);
}

#contact h3 {
  margin-top: 1.4em;
}

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

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  transform: translateY(-3px);
  color: var(--text-strong);
  border-color: rgba(99, 102, 241, 0.6);
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

/* ===== Footer ===== */
footer {
  position: relative;
  margin-top: 24px;
  padding: clamp(28px, 4vw, 48px) clamp(16px, 3vw, 28px);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4), rgba(2, 6, 23, 0.85));
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

footer > section {
  max-width: var(--maxw);
  margin: 0 auto var(--gap);
}

footer h2 {
  font-size: 1.05rem;
  padding-bottom: 0.4em;
}

footer h2::after {
  width: 36px;
  height: 3px;
}

footer p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6em;
}

footer > p {
  max-width: var(--maxw);
  margin: var(--gap) auto 0;
  padding-top: var(--gap);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ===== Back to top ===== */
body > button[type="button"] {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 0;
  color: transparent;
  background: var(--brand-grad);
  background-size: 200% 200%;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.5);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-position 0.6s var(--ease);
}

body > button[type="button"]::before {
  content: "↑";
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

body > button[type="button"]:hover {
  transform: translateY(-4px) scale(1.05);
  background-position: 100% 0;
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.65);
}

body > button[type="button"]:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== Focus visibility ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  #hero {
    grid-template-columns: 1fr;
  }

  #hero figure {
    order: -1;
  }
}

@media (max-width: 768px) {
  header nav {
    gap: 10px;
    padding: 10px 16px;
  }

  header nav ul {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  header nav ul::-webkit-scrollbar {
    height: 4px;
  }

  header nav ul::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: var(--radius-pill);
  }

  header nav ul li {
    flex: 0 0 auto;
  }

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

  header form[role="search"] input[type="search"] {
    width: clamp(110px, 34vw, 180px);
  }

  main {
    padding-top: 20px;
  }

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

  h2::after {
    width: 44px;
    height: 3px;
  }

  #faq summary {
    padding: 12px 42px 12px 14px;
    font-size: 0.94rem;
  }

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

  body > button[type="button"] {
    width: 44px;
    height: 44px;
  }
}

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

  header nav > a[aria-label] {
    font-size: 1.05rem;
    padding: 5px 12px;
  }

  header form[role="search"] button {
    padding: 8px 14px;
  }

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

/* ===== Light mode support ===== */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #eef2f9;
    --bg-soft: #e3e9f4;
    --bg-card: rgba(255, 255, 255, 0.78);
    --bg-elevated: rgba(241, 245, 252, 0.9);
    --text: #1e293b;
    --text-strong: #0f172a;
    --text-muted: #52627a;
    --border: rgba(100, 116, 139, 0.22);
    --border-strong: rgba(100, 116, 139, 0.4);
    --shadow-sm: 0 4px 14px rgba(30, 41, 59, 0.08);
    --shadow-md: 0 12px 32px rgba(30, 41, 59, 0.12);
    --shadow-lg: 0 24px 60px rgba(30, 41, 59, 0.16);
    --hero-grad: radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.2), transparent 45%),
                 radial-gradient(circle at 85% 10%, rgba(250, 204, 21, 0.22), transparent 40%),
                 radial-gradient(circle at 70% 90%, rgba(34, 211, 238, 0.2), transparent 45%),
                 linear-gradient(160deg, #ffffff 0%, #eef2f9 55%, #e0e7ff 100%);
  }

  body {
    background-image: radial-gradient(circle at 10% -10%, rgba(99, 102, 241, 0.12), transparent 50%),
                      radial-gradient(circle at 95% 0%, rgba(34, 211, 238, 0.1), transparent 45%);
  }

  header {
    background: rgba(255, 255, 255, 0.78);
  }

  header form[role="search"] input[type="search"] {
    background: rgba(255, 255, 255, 0.9);
  }

  header form[role="search"] input[type="search"]:focus {
    background: #ffffff;
  }

  header nav > a[aria-label] {
    color: #ffffff;
  }

  h1 {
    background: linear-gradient(120deg, #0f172a 10%, #4f46e5 55%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }

  h3 {
    color: #4338ca;
  }

  blockquote p {
    color: #475569;
  }

  #hero figcaption {
    background: rgba(255, 255, 255, 0.7);
  }

  footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(226, 232, 240, 0.9));
  }

  body > button[type="button"]::before {
    color: #ffffff;
  }

  #faq summary,
  #contact p,
  #howto ol li {
    color: var(--text);
  }

  #faq details[open] summary {
    color: #4338ca;
  }

  #faq summary::after {
    color: #4f46e5;
  }

  #news article:hover h3,
  #articles article:hover h3 {
    color: #4338ca;
  }

  #articles article a {
    color: #4f46e5;
  }

  #articles article a:hover {
    border-color: #4f46e5;
  }
}

/* ===== Reduced motion ===== */
@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;
  }
}

/* ===== Print ===== */
@media print {
  header,
  body > button[type="button"],
  #sitemap,
  #links {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

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