:root {
  --brand: #c8102e;
  --brand-dark: #8b1e3f;
  --brand-deep: #3d0814;
  --accent: #ffd166;
  --accent-2: #ff8fa3;
  --bg: #fdf6f0;
  --bg-soft: #fff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #ffffff;
  --text: #2b1a1f;
  --text-soft: #6b5560;
  --text-invert: #ffffff;
  --border: rgba(200, 16, 46, 0.14);
  --shadow-sm: 0 2px 8px rgba(61, 8, 20, 0.06);
  --shadow-md: 0 10px 30px rgba(61, 8, 20, 0.1);
  --shadow-lg: 0 20px 50px rgba(61, 8, 20, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --grad-banner: linear-gradient(135deg, #c8102e 0%, #8b1e3f 55%, #3d0814 100%);
  --grad-btn: linear-gradient(135deg, #e0163a 0%, #c8102e 100%);
  --grad-accent: linear-gradient(135deg, #ffd166 0%, #ff8fa3 100%);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 68px;
}

[data-theme="dark"] {
  --bg: #140a0e;
  --bg-soft: #1c0f15;
  --surface: rgba(40, 20, 28, 0.72);
  --surface-solid: #22121a;
  --text: #f7ecef;
  --text-soft: #b9a2ab;
  --border: rgba(255, 209, 102, 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 20px 50px rgba(0, 0, 0, 0.6);
  --grad-banner: linear-gradient(135deg, #5c0a1a 0%, #3d0814 55%, #1a040a 100%);
}

*,
*::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: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(255, 209, 102, 0.16), transparent 42%),
    radial-gradient(circle at 92% 12%, rgba(200, 16, 46, 0.12), transparent 46%),
    radial-gradient(circle at 50% 100%, rgba(139, 30, 63, 0.1), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

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

[data-theme="dark"] a {
  color: var(--accent);
}

[data-theme="dark"] a:hover,
[data-theme="dark"] a:focus-visible {
  color: var(--accent-2);
}

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

h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  margin: 0 0 0.7em;
  position: relative;
  padding-left: 18px;
}

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

h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 1.6em 0 0.6em;
}

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

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

li {
  margin-bottom: 0.4em;
}

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.2em;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 0.4em;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.brand-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(200, 16, 46, 0.32);
  transition: transform 0.4s var(--ease);
}

.brand-logo:hover svg {
  transform: rotate(-6deg) scale(1.06);
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

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

#main-nav a {
  display: inline-block;
  padding: 7px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

#main-nav a:hover,
#main-nav a:focus-visible {
  color: var(--brand);
  background: rgba(200, 16, 46, 0.08);
  text-decoration: none;
  transform: translateY(-2px);
}

[data-theme="dark"] #main-nav a:hover,
[data-theme="dark"] #main-nav a:focus-visible {
  color: var(--accent);
  background: rgba(255, 209, 102, 0.12);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

#site-search {
  display: flex;
  align-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

#site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
}

#search-input {
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--text);
  width: 170px;
  outline: none;
  font-family: inherit;
}

#search-input::placeholder {
  color: var(--text-soft);
  opacity: 0.75;
}

#site-search button {
  border: none;
  background: var(--grad-btn);
  color: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.25s var(--ease);
}

#site-search button:hover {
  filter: brightness(1.1);
}

#theme-toggle,
#menu-toggle {
  border: 1px solid var(--border);
  background: var(--surface-solid);
  color: var(--text);
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: var(--grad-btn);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#menu-toggle {
  display: none;
}

/* ============ Main layout ============ */
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

main > section {
  margin: 0 0 28px;
  padding: 32px clamp(18px, 3vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
    background 0.4s var(--ease);
  animation: fadeUp 0.7s var(--ease) both;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============ Hero ============ */
#hero {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#hero:hover {
  box-shadow: none;
}

.banner-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grad-banner);
}

.banner-carousel .slide {
  display: none;
  animation: bannerFade 0.8s var(--ease);
}

.banner-carousel .slide.active {
  display: block;
}

.banner-carousel svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes bannerFade {
  from {
    opacity: 0;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-text {
  position: relative;
  margin: -56px 24px 0;
  padding: clamp(20px, 3vw, 34px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.hero-text h1 {
  background: var(--grad-banner);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
}

[data-theme="dark"] .hero-text h1 {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1rem;
  line-height: 1.85;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
}

.btn-primary {
  background: var(--grad-btn);
  color: #fff;
  box-shadow: 0 8px 22px rgba(200, 16, 46, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(200, 16, 46, 0.42);
  filter: brightness(1.06);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(200, 16, 46, 0.3);
}

[data-theme="dark"] .btn-secondary {
  color: var(--accent);
  border-color: var(--accent);
}

[data-theme="dark"] .btn-secondary:hover,
[data-theme="dark"] .btn-secondary:focus-visible {
  color: var(--brand-deep);
  background: var(--accent);
}

/* ============ Breadcrumb ============ */
#breadcrumb {
  margin: 0 0 24px;
  padding: 0 4px;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
}

#breadcrumb li {
  margin: 0;
  color: var(--text-soft);
}

#breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--text-soft);
  opacity: 0.6;
}

#breadcrumb a {
  color: var(--text-soft);
}

#breadcrumb a:hover {
  color: var(--brand);
}

/* ============ News list ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.news-list li {
  margin: 0;
  padding: 20px;
  background: var(--surface-solid);
  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);
}

.news-list li:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 16, 46, 0.3);
}

.news-list h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.news-list p {
  margin: 0;
  font-size: 0.92rem;
}

/* ============ Articles ============ */
#articles article {
  margin: 0 0 18px;
  padding: 22px 24px;
  background: var(--surface-solid);
  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:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 209, 102, 0.5);
}

#articles article h3 {
  margin-top: 0;
  color: var(--text);
}

#articles article .meta {
  font-size: 0.82rem;
  color: var(--text-soft);
  opacity: 0.85;
  margin-bottom: 10px;
}

#articles article a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(200, 16, 46, 0.08);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

#articles article a:hover {
  background: var(--grad-btn);
  color: #fff;
  text-decoration: none;
  transform: translateX(4px);
}

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

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 56px;
  margin-bottom: 10px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 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: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-btn);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

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

/* ============ FAQ ============ */
#faq dl {
  margin: 0;
}

#faq dt {
  margin-top: 14px;
}

#faq dt h3 {
  margin: 0;
  padding: 14px 18px;
  font-size: 1rem;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

#faq dt h3:hover {
  background: rgba(200, 16, 46, 0.08);
  border-color: rgba(200, 16, 46, 0.3);
  color: var(--brand);
}

[data-theme="dark"] #faq dt h3:hover {
  background: rgba(255, 209, 102, 0.1);
  color: var(--accent);
}

#faq dd {
  margin: 0;
  padding: 12px 18px 16px;
  border-left: 3px solid var(--accent);
  margin-left: 12px;
}

#faq dd p {
  margin: 0;
  font-size: 0.94rem;
}

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

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

#contact address li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

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

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

#sitemap a,
#links a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  background: var(--grad-btn);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.28);
}

/* ============ Footer ============ */
#site-footer {
  background: var(--grad-banner);
  color: rgba(255, 255, 255, 0.88);
  padding: 44px 20px 56px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 209, 102, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 143, 163, 0.16), transparent 45%);
  pointer-events: none;
}

.footer-info {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.footer-info p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-info p:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}

.footer-info p:last-child {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  opacity: 0.85;
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(200, 16, 46, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s var(--ease), filter 0.25s var(--ease);
}

#back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#back-to-top:hover,
#back-to-top:focus-visible {
  filter: brightness(1.12);
  transform: translateY(-4px) scale(1.05);
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  #search-input {
    width: 130px;
  }
  #main-nav a {
    padding: 6px 10px;
    font-size: 0.86rem;
  }
}

@media (max-width: 900px) {
  .brand-bar {
    gap: 12px;
  }
  #main-nav {
    order: 3;
    flex-basis: 100%;
    display: none;
    padding: 8px 0 4px;
    border-top: 1px solid var(--border);
    margin-top: 6px;
  }
  #main-nav.is-open {
    display: block;
    animation: fadeUp 0.35s var(--ease);
  }
  #main-nav ul {
    flex-direction: column;
    gap: 2px;
  }
  #main-nav a {
    display: block;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
  }
  #menu-toggle {
    display: inline-block;
  }
  .header-tools {
    margin-left: auto;
  }
  .hero-text {
    margin: -40px 14px 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  main {
    padding: 0 12px 48px;
  }
  main > section {
    padding: 24px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
  }
  .brand-bar {
    padding: 8px 12px;
  }
  .brand-name {
    font-size: 1rem;
  }
  .brand-logo svg {
    width: 34px;
    height: 34px;
  }
  .header-tools {
    gap: 8px;
    flex-wrap: wrap;
  }
  #site-search {
    order: 3;
    flex-basis: 100%;
    margin-top: 6px;
  }
  #search-input {
    flex: 1;
    width: auto;
    min-width: 0;
  }
  #theme-toggle,
  #menu-toggle {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .hero-text {
    margin: -24px 8px 0;
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }
  .hero-cta {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    text-align: center;
    padding: 12px 20px;
  }
  h2 {
    padding-left: 14px;
  }
  h2::before {
    width: 5px;
  }
  .news-list {
    grid-template-columns: 1fr;
  }
  #articles article {
    padding: 18px 16px;
  }
  #howto ol li {
    padding: 12px 14px 12px 50px;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }
  #contact address ul {
    grid-template-columns: 1fr;
  }
  #back-to-top {
    right: 14px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    font-size: 0.66rem;
  }
}

@media (max-width: 380px) {
  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }
}

/* ============ Print ============ */
@media print {
  #site-header,
  #back-to-top,
  #site-footer,
  .hero-cta,
  .header-tools {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  main > section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}
</｜｜DSML｜｜ parameter>
</｜｜DSML｜｜ invoke>
</｜｜DSML｜｜ calls>