:root {
  --primary: #ff6b9d;
  --primary-dark: #e84a82;
  --primary-light: #ffb3cf;
  --primary-soft: #ffe3ee;
  --secondary: #a855f7;
  --accent: #ff8fab;
  --text-main: #2d1b2e;
  --text-sub: #6b5568;
  --text-muted: #9a8a96;
  --bg-body: #fff7fa;
  --bg-card: #ffffff;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --border-soft: rgba(255, 107, 157, 0.14);
  --border-glass: rgba(255, 255, 255, 0.6);
  --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.08);
  --shadow-md: 0 8px 28px rgba(255, 107, 157, 0.12);
  --shadow-lg: 0 20px 50px rgba(255, 107, 157, 0.18);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gradient-brand: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 45%, #a855f7 100%);
  --gradient-banner: linear-gradient(135deg, #ffe3ee 0%, #ffd1e3 40%, #f3d9ff 100%);
  --gradient-soft: linear-gradient(160deg, #fff7fa 0%, #ffeef5 100%);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 72px;
}

[data-theme="dark"],
.dark-mode {
  --primary: #ff7eb0;
  --primary-dark: #ff5b96;
  --primary-light: #7a3d58;
  --primary-soft: #2a1822;
  --secondary: #b98cf7;
  --accent: #ff9dbd;
  --text-main: #f5e9f0;
  --text-sub: #c9b6c4;
  --text-muted: #8f7a86;
  --bg-body: #14101a;
  --bg-card: #1e1826;
  --bg-elevated: #251d2f;
  --bg-glass: rgba(30, 24, 38, 0.72);
  --border-soft: rgba(255, 126, 176, 0.16);
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --gradient-banner: linear-gradient(135deg, #2a1822 0%, #3a1f33 45%, #2e1a3d 100%);
  --gradient-soft: linear-gradient(160deg, #14101a 0%, #1c1424 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: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background: var(--bg-body);
  background-image: radial-gradient(circle at 12% 8%, rgba(255, 107, 157, 0.08), transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(168, 85, 247, 0.07), transparent 40%),
    radial-gradient(circle at 50% 95%, rgba(255, 143, 171, 0.06), transparent 45%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

body > a[href="#main-content"] {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 9999;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition);
}

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

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

a {
  color: var(--primary-dark);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

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

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

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

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

ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

li {
  color: var(--text-sub);
  margin-bottom: 0.4em;
}

blockquote {
  margin: 0 0 1em;
  padding: 16px 20px;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

details {
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

details summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--text-main);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}

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

details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  transition: transform var(--transition), background var(--transition);
}

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

details summary:hover {
  background: var(--primary-soft);
}

details > p {
  padding: 0 20px 16px 54px;
  margin: 0;
  animation: fadeSlide 0.35s ease;
}

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

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

header[role="banner"] > div {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

header[role="banner"] > div > a[aria-label="香香漫画首页"] {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-main);
  flex-shrink: 0;
}

header[role="banner"] > div > a[aria-label="香香漫画首页"] svg {
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

header[role="banner"] > div > a[aria-label="香香漫画首页"]:hover svg {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: var(--shadow-md);
}

header nav {
  flex: 1 1 auto;
}

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

header nav ul li {
  margin: 0;
}

header nav ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-sub);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

header nav ul li a:hover,
header nav ul li a:focus-visible {
  color: #fff;
  background: var(--gradient-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

header form[role="search"] {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

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: 200px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), width var(--transition);
}

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

header form[role="search"] input[type="search"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.15);
  width: 240px;
}

header form[role="search"] button {
  padding: 9px 18px;
  border: none;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

header form[role="search"] button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

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

header > div > button[type="button"] {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text-sub);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

header > div > button[type="button"]:hover {
  color: #fff;
  background: var(--gradient-brand);
  border-color: transparent;
  transform: translateY(-2px);
}

header > div > button[aria-label="打开移动菜单"] {
  display: none;
}

main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

main > section {
  margin-top: 56px;
  animation: riseIn 0.7s ease both;
}

main > section:nth-child(2) { animation-delay: 0.05s; }
main > section:nth-child(3) { animation-delay: 0.1s; }
main > section:nth-child(4) { animation-delay: 0.15s; }
main > section:nth-child(5) { animation-delay: 0.2s; }
main > section:nth-child(6) { animation-delay: 0.25s; }
main > section:nth-child(7) { animation-delay: 0.3s; }
main > section:nth-child(8) { animation-delay: 0.35s; }
main > section:nth-child(9) { animation-delay: 0.4s; }
main > section:nth-child(10) { animation-delay: 0.45s; }

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

main > section[aria-labelledby="brand"],
main > section[aria-labelledby="products"],
main > section[aria-labelledby="solutions"],
main > section[aria-labelledby="applications"],
main > section[aria-labelledby="cases"],
main > section[aria-labelledby="news"],
main > section[aria-labelledby="articles"],
main > section[aria-labelledby="faq"],
main > section[aria-labelledby="howto"],
main > section[aria-labelledby="contact"],
main > section[aria-labelledby="sitemap"] {
  padding: 40px clamp(20px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition), background var(--transition);
}

main > section[aria-labelledby="brand"]:hover,
main > section[aria-labelledby="products"]:hover,
main > section[aria-labelledby="solutions"]:hover,
main > section[aria-labelledby="applications"]:hover,
main > section[aria-labelledby="cases"]:hover,
main > section[aria-labelledby="news"]:hover,
main > section[aria-labelledby="articles"]:hover,
main > section[aria-labelledby="faq"]:hover,
main > section[aria-labelledby="howto"]:hover,
main > section[aria-labelledby="contact"]:hover,
main > section[aria-labelledby="sitemap"]:hover {
  box-shadow: var(--shadow-lg);
}

main > section[aria-labelledby="banner-title"] {
  position: relative;
  margin-top: 32px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px);
  border-radius: var(--radius-xl);
  background: var(--gradient-banner);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  animation: riseIn 0.8s ease both;
}

main > section[aria-labelledby="banner-title"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.55), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(168, 85, 247, 0.18), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

main > section[aria-labelledby="banner-title"] h2 {
  font-size: clamp(1.6rem, 4.2vw, 2.6rem);
  background: linear-gradient(120deg, #d6336c 0%, #a855f7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding-bottom: 0.4em;
}

main > section[aria-labelledby="banner-title"] h2::after {
  background: var(--gradient-brand);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article h3 {
  font-size: 1.15rem;
  background: linear-gradient(120deg, #d6336c, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article p {
  font-size: 0.94rem;
  color: var(--text-sub);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article a::after {
  content: "→";
  transition: transform var(--transition);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article a:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.06);
}

main > section[aria-labelledby="banner-title"] > div[role="region"] article a:hover::after {
  transform: translateX(4px);
}

main > section[aria-labelledby="banner-title"] > svg {
  width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

main > section[aria-labelledby="banner-title"] > svg:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg);
}

main article {
  padding: 24px;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

main article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

main article h3 {
  margin-bottom: 6px;
  font-size: 1.12rem;
}

main article > p:first-of-type {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

main article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
  padding: 6px 0;
  position: relative;
}

main article a::after {
  content: "→";
  transition: transform var(--transition);
}

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

main section[aria-labelledby="cases"] blockquote {
  background: var(--gradient-soft);
  border-left-color: var(--secondary);
}

main section[aria-labelledby="contact"] ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

main section[aria-labelledby="contact"] ul li {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  font-size: 0.94rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

main section[aria-labelledby="contact"] ul li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

main section[aria-labelledby="sitemap"] ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
}

main section[aria-labelledby="sitemap"] ul li {
  margin: 0;
}

main section[aria-labelledby="sitemap"] ul li a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  font-size: 0.9rem;
  color: var(--text-sub);
  transition: color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}

main section[aria-labelledby="sitemap"] ul li a:hover {
  color: #fff;
  background: var(--gradient-brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

main section[aria-labelledby="sitemap"] h3 {
  margin-top: 32px;
}

main section[aria-labelledby="howto"] h3 {
  margin-top: 1.2em;
  padding-left: 14px;
  border-left: 4px solid var(--primary);
}

footer[role="contentinfo"] {
  position: relative;
  margin-top: 40px;
  padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 56px) 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--border-glass);
  box-shadow: 0 -8px 32px rgba(255, 107, 157, 0.06);
}

footer[role="contentinfo"] > section {
  max-width: 1240px;
  margin: 0 auto 24px;
}

footer[role="contentinfo"] h2 {
  font-size: 1.1rem;
  padding-bottom: 0.4em;
}

footer[role="contentinfo"] h2::after {
  width: 40px;
  height: 3px;
}

footer[role="contentinfo"] p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.8em;
}

footer[role="contentinfo"] > button[type="button"] {
  display: block;
  margin: 24px auto 0;
  padding: 12px 32px;
  border: none;
  border-radius: 999px;
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

footer[role="contentinfo"] > button[type="button"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  filter: brightness(1.06);
}

footer[role="contentinfo"] > button[type="button"]:active {
  transform: translateY(0);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 999px;
  border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

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

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

@media (max-width: 1024px) {
  header > div > button[aria-label="打开移动菜单"] {
    display: inline-block;
    margin-left: auto;
  }

  header nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  header nav ul {
    flex-direction: column;
    padding: 8px 0;
    gap: 2px;
  }

  header nav ul li a {
    border-radius: var(--radius-sm);
    padding: 10px 16px;
  }

  header nav ul li a:hover {
    transform: translateX(4px);
  }

  header[role="banner"] > div {
    gap: 12px;
  }

  header form[role="search"] {
    order: 11;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  header form[role="search"] input[type="search"] {
    flex: 1;
    width: auto;
  }

  header form[role="search"] input[type="search"]:focus {
    width: auto;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  main {
    padding: 0 16px 56px;
  }

  main > section {
    margin-top: 36px;
  }

  main > section[aria-labelledby="brand"],
  main > section[aria-labelledby="products"],
  main > section[aria-labelledby="solutions"],
  main > section[aria-labelledby="applications"],
  main > section[aria-labelledby="cases"],
  main > section[aria-labelledby="news"],
  main > section[aria-labelledby="articles"],
  main > section[aria-labelledby="faq"],
  main > section[aria-labelledby="howto"],
  main > section[aria-labelledby="contact"],
  main > section[aria-labelledby="sitemap"] {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  main > section[aria-labelledby="banner-title"] {
    padding: 28px 20px;
    border-radius: var(--radius-lg);
  }

  main > section[aria-labelledby="banner-title"] > div[role="region"] {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  main article {
    padding: 18px;
  }

  main section[aria-labelledby="contact"] ul {
    grid-template-columns: 1fr;
  }

  main section[aria-labelledby="sitemap"] ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }

  details summary {
    padding: 14px 16px;
    font-size: 0.95rem;
  }

  details > p {
    padding: 0 16px 14px 46px;
  }

  blockquote {
    padding: 14px 16px;
  }

  footer[role="contentinfo"] {
    padding: 32px 20px 24px;
  }
}

@media (max-width: 480px) {
  header[role="banner"] > div {
    padding: 10px 16px;
  }

  header[role="banner"] > div > a[aria-label="香香漫画首页"] span {
    font-size: 1.05rem;
  }

  header[role="banner"] > div > a[aria-label="香香漫画首页"] svg {
    width: 34px;
    height: 34px;
  }

  header > div > button[type="button"] {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  main > section[aria-labelledby="banner-title"] h2 {
    font-size: 1.5rem;
  }

  main > section[aria-labelledby="banner-title"] > div[role="region"] article {
    padding: 18px;
  }

  h2 {
    font-size: 1.35rem;
  }

  main section[aria-labelledby="sitemap"] ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (hover: none) {
  details:hover,
  main article:hover,
  main > section[aria-labelledby="banner-title"] > div[role="region"] article:hover,
  main > section[aria-labelledby="contact"] ul li:hover,
  main section[aria-labelledby="sitemap"] ul li a:hover {
    transform: none;
  }
}

@media print {
  header[role="banner"],
  footer[role="contentinfo"] > button[type="button"],
  header form[role="search"] {
    display: none;
  }

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

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