:root {
  --brand: #c0392b;
  --brand-dark: #962d22;
  --brand-light: #e74c3c;
  --accent: #f39c12;
  --accent-2: #e67e22;
  --grad-start: #c0392b;
  --grad-mid: #e74c3c;
  --grad-end: #f39c12;
  --bg: #fbf7f2;
  --bg-alt: #ffffff;
  --bg-soft: #f4ece3;
  --text: #2b2320;
  --text-soft: #6b5f58;
  --text-mute: #9a8d85;
  --border: rgba(192, 57, 43, 0.12);
  --card-bg: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 255, 255, 0.65);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 2px 10px rgba(120, 60, 40, 0.06);
  --shadow-md: 0 10px 30px rgba(120, 60, 40, 0.1);
  --shadow-lg: 0 18px 50px rgba(120, 60, 40, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --maxw: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #ff6b5a;
    --brand-dark: #e74c3c;
    --brand-light: #ff8f7f;
    --accent: #ffb347;
    --accent-2: #ffa53d;
    --grad-start: #7a1f17;
    --grad-mid: #c0392b;
    --grad-end: #d9822b;
    --bg: #14100e;
    --bg-alt: #1c1714;
    --bg-soft: #221b17;
    --text: #f3ebe6;
    --text-soft: #c9bdb5;
    --text-mute: #948880;
    --border: rgba(255, 143, 127, 0.16);
    --card-bg: rgba(38, 30, 26, 0.66);
    --card-border: rgba(255, 143, 127, 0.14);
    --glass-bg: rgba(38, 30, 26, 0.55);
    --glass-border: rgba(255, 143, 127, 0.16);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.5);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  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(1200px 480px at 12% -8%, rgba(231, 76, 60, 0.1), transparent 60%),
    radial-gradient(900px 420px at 92% 4%, rgba(243, 156, 18, 0.1), transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  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-light);
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1 {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
}

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

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
}

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

h4 {
  font-size: 1.02rem;
  color: var(--brand);
}

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

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

/* ============ Header / Nav ============ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

header nav > a[aria-label="黄果短剧首页"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text);
  white-space: nowrap;
  padding: 6px 0;
}

header nav > a[aria-label="黄果短剧首页"]::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.35);
  flex: 0 0 auto;
}

header nav > a[aria-label="黄果短剧首页"]:hover {
  color: var(--brand);
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-left: auto;
}

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

header nav ul li a:hover,
header nav ul li a:focus-visible {
  color: var(--brand);
  background: rgba(192, 57, 43, 0.08);
  transform: translateY(-1px);
}

@media (prefers-color-scheme: dark) {
  header nav ul li a:hover,
  header nav ul li a:focus-visible {
    background: rgba(255, 143, 127, 0.12);
  }
}

/* ============ Main / Sections ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
}

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

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 57, 43, 0.22);
}

@media (prefers-color-scheme: dark) {
  main > section:hover {
    border-color: rgba(255, 143, 127, 0.24);
  }
}

/* ============ Hero Banner ============ */
#hero {
  position: relative;
  margin-top: 28px;
  padding: clamp(38px, 6vw, 76px) clamp(22px, 4vw, 56px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  border: none;
  background:
    radial-gradient(700px 340px at 88% -10%, rgba(255, 255, 255, 0.28), transparent 60%),
    radial-gradient(560px 300px at 0% 110%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(125deg, var(--grad-start) 0%, var(--grad-mid) 48%, var(--grad-end) 100%);
  box-shadow: 0 22px 60px rgba(192, 57, 43, 0.32);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.18) 0, transparent 26%),
    radial-gradient(circle at 78% 70%, rgba(255, 255, 255, 0.14) 0, transparent 30%);
  z-index: -1;
  animation: heroGlow 9s ease-in-out infinite alternate;
}

#hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: -1;
}

#hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  max-width: 22em;
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  max-width: 62em;
  font-size: 1.02rem;
  margin-bottom: 0;
}

@keyframes heroGlow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

/* ============ Brand Section ============ */
#brand h3 {
  margin-top: 1.4em;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  border-radius: 2px;
}

#brand h3:first-of-type {
  margin-top: 0.6em;
}

#brand p {
  text-align: justify;
}

/* ============ Products ============ */
#products h3 {
  margin-top: 1.3em;
}

#products h4 {
  display: inline-block;
  margin-top: 1.1em;
  margin-bottom: 0.35em;
  padding: 4px 14px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand);
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

#products h4:hover {
  background: rgba(192, 57, 43, 0.14);
  transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
  #products h4 {
    background: rgba(255, 143, 127, 0.1);
  }
  #products h4:hover {
    background: rgba(255, 143, 127, 0.18);
  }
}

/* ============ Solutions ============ */
#solutions h3 {
  margin-top: 1.3em;
}

#solutions h4 {
  margin-top: 1.1em;
  color: var(--accent-2);
}

#solutions h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand-light));
  vertical-align: middle;
}

/* ============ Cases ============ */
#cases h4 {
  margin-top: 1.3em;
  padding: 10px 16px;
  color: var(--text);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#cases h4:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

#cases p {
  margin-top: 0.7em;
}

#cases > p {
  position: relative;
  padding: 14px 18px 14px 46px;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-style: italic;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#cases > p::before {
  content: "\201C";
  position: absolute;
  left: 14px;
  top: 2px;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--brand);
  opacity: 0.5;
  font-family: Georgia, serif;
}

#cases > p:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============ News ============ */
#news h3 {
  margin-top: 1.4em;
  padding-bottom: 0.4em;
  border-bottom: 1px dashed var(--border);
  transition: color 0.3s var(--ease);
}

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

#news p:first-of-type {
  display: inline-block;
  margin-bottom: 0.5em;
  padding: 2px 12px;
  font-size: 0.8rem;
  color: var(--brand);
  background: rgba(192, 57, 43, 0.08);
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  #news p:first-of-type {
    background: rgba(255, 143, 127, 0.12);
  }
}

/* ============ Articles ============ */
#articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

#articles h2 {
  grid-column: 1 / -1;
}

#articles article {
  position: relative;
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--bg-alt);
  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::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--grad-start), var(--grad-end));
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 57, 43, 0.24);
}

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

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

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

#articles article p:nth-of-type(1) {
  font-size: 0.8rem;
  color: var(--text-mute);
  margin-bottom: 0.6em;
}

#articles article p:nth-of-type(2) {
  font-size: 0.94rem;
  margin-bottom: 0.8em;
}

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

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(192, 57, 43, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
}

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

#articles article a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(192, 57, 43, 0.4);
  filter: brightness(1.06);
}

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

/* ============ Knowledge ============ */
#knowledge h3 {
  margin-top: 1.3em;
  color: var(--brand);
}

#knowledge h3:first-of-type {
  margin-top: 0.6em;
}

#knowledge p {
  padding-left: 16px;
  border-left: 3px solid var(--border);
  transition: border-color 0.3s var(--ease);
}

#knowledge p:hover {
  border-color: var(--brand);
}

/* ============ FAQ ============ */
#faq h3 {
  position: relative;
  margin-top: 1.1em;
  padding: 12px 16px 12px 44px;
  font-size: 1.02rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: default;
  transition: color 0.3s var(--ease), background 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.8rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(192, 57, 43, 0.3);
}

#faq h3:hover {
  color: var(--brand);
  background: var(--bg-alt);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

#faq p {
  margin: 0.6em 0 1.2em;
  padding-left: 44px;
  font-size: 0.95rem;
}

/* ============ HowTo ============ */
#howto h3 {
  margin-top: 1.3em;
  color: var(--accent-2);
}

#howto h4 {
  position: relative;
  margin-top: 1.2em;
  padding: 10px 16px 10px 46px;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto h4:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

#howto h4::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  box-shadow: 0 3px 8px rgba(192, 57, 43, 0.28);
}

#howto p {
  margin-top: 0.6em;
}

#howto > p {
  margin-bottom: 0.6em;
}

/* ============ Contact ============ */
#contact h3 {
  margin-top: 1.3em;
  color: var(--brand);
}

#contact p {
  margin-bottom: 0.5em;
}

#contact p:nth-of-type(1),
#contact p:nth-of-type(2),
#contact p:nth-of-type(3),
#contact p:nth-of-type(4),
#contact p:nth-of-type(5),
#contact p:nth-of-type(6) {
  display: inline-block;
  margin: 0 10px 10px 0;
  padding: 8px 16px;
  font-size: 0.92rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

#contact p:nth-of-type(1):hover,
#contact p:nth-of-type(2):hover,
#contact p:nth-of-type(3):hover,
#contact p:nth-of-type(4):hover,
#contact p:nth-of-type(5):hover,
#contact p:nth-of-type(6):hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
}

/* ============ Sitemap & Links ============ */
#sitemap ul,
#links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0.6em;
}

#sitemap ul li a,
#links ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.9rem;
  color: var(--text-soft);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.32);
}

/* ============ Footer ============ */
footer {
  margin-top: 12px;
  padding: 40px 20px 32px;
  background: linear-gradient(180deg, transparent, rgba(192, 57, 43, 0.05));
  border-top: 1px solid var(--border);
}

footer > section {
  max-width: var(--maxw);
  margin: 0 auto 22px;
  padding: 24px clamp(18px, 3.4vw, 40px);
  background: var(--card-bg);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

footer > section:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

footer > section:last-child {
  margin-bottom: 0;
}

footer h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

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

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

@media (prefers-color-scheme: dark) {
  footer {
    background: linear-gradient(180deg, transparent, rgba(255, 143, 127, 0.05));
  }
}

/* ============ Animations ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  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; }

footer > section {
  animation: fadeUp 0.7s var(--ease) both;
}

footer > section:nth-of-type(1) { animation-delay: 0.06s; }
footer > section:nth-of-type(2) { animation-delay: 0.12s; }
footer > section:nth-of-type(3) { animation-delay: 0.18s; }

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

/* ============ Responsive ============ */
@media (min-width: 720px) {
  #articles {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  #articles article {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  #articles {
    grid-template-columns: repeat(3, 1fr);
  }

  main > section {
    padding: 42px 48px;
  }
}

@media (max-width: 900px) {
  header nav {
    gap: 12px;
  }

  header nav ul {
    gap: 2px;
  }

  header nav ul li a {
    padding: 6px 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 60px;
  }

  body {
    font-size: 15px;
  }

  header nav {
    padding: 8px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  header nav ul {
    margin-left: 0;
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  header nav ul::-webkit-scrollbar {
    display: none;
  }

  header nav ul li a {
    white-space: nowrap;
  }

  main {
    padding: 0 12px 28px;
  }

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

  #hero {
    margin-top: 16px;
    border-radius: var(--radius-lg);
    padding: 34px 20px;
  }

  #hero p {
    font-size: 0.94rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  #faq h3 {
    padding-left: 40px;
    font-size: 0.96rem;
  }

  #faq p {
    padding-left: 0;
  }

  #howto h4 {
    padding-left: 42px;
    font-size: 0.98rem;
  }

  #contact p:nth-of-type(n) {
    display: block;
    margin-right: 0;
  }

  #sitemap ul,
  #links ul {
    gap: 8px;
  }

  #sitemap ul li a,
  #links ul li a {
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  footer {
    padding: 24px 12px 20px;
  }

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

@media (max-width: 380px) {
  header nav > a[aria-label="黄果短剧首页"] {
    font-size: 1.08rem;
  }

  #articles article {
    padding: 18px;
  }
}

/* ============ Print ============ */
@media print {
  header,
  footer,
  #hero::before,
  #hero::after {
    display: none;
  }

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

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