/* ============================================================
   漫画 App官网 · 样式表（m9）
   电光蓝 + 青绿配色 · 企业官网版式 · 仅负责视觉，不承载内容
   ============================================================ */
:root {
  --brand: #2f6bff;
  --brand-dark: #1f4fd6;
  --accent: #21c8b7;
  --ink: #1a2030;
  --mute: #6b7385;
  --line: #e3e8f2;
  --bg: #ffffff;
  --gray: #f4f6fb;
  --dark: #0f1729;
  --w: 1200px;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  font-family: inherit;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--dark);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}
.w {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}

/* 网格 / 弹性子项默认允许收缩，避免长文字撑破容器 */
.news-grid > *,
.about-grid > *,
.layout > *,
.p-grid > *,
.work-grid > *,
.genre-grid > *,
.faq3 > *,
.adv-grid > *,
.map-cols > *,
.dl-grid > *,
.c-grid > *,
.related-grid > *,
.zig > *,
.rank-grid > *,
.header-in > *,
.main-col {
  min-width: 0;
}

/* ---------- 顶部通栏 ---------- */
.topbar {
  background: var(--dark);
  color: #a7b1c4;
  font-size: 13px;
}
.topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 12px;
}
.topbar a {
  color: #a7b1c4;
  padding: 6px 0;
}
.topbar a:hover {
  color: #fff;
}
.topbar-links a {
  margin-left: 18px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-search {
  display: flex;
  align-items: center;
}
.topbar-search input {
  background: #1c2740;
  border: 1px solid #2c3a58;
  color: #ddd;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 3px 0 0 3px;
  width: 150px;
}
.topbar-search button {
  background: var(--brand);
  border: 0;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
}

/* ---------- 主头部 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(20, 40, 90, 0.06);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 12px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  flex: none;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35);
}
.logo-text .name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: nowrap;
}
.logo-text .slogan {
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.06em;
  display: block;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14px;
  cursor: pointer;
}

.main-nav > ul {
  display: flex;
}
.main-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  height: 84px;
  padding: 0 18px;
  font-size: 16px;
  position: relative;
  white-space: nowrap;
}
.main-nav > ul > li > a:hover {
  color: var(--brand);
}
.main-nav > ul > li > a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
}
.main-nav > ul > li > a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
}
.has-sub > a {
  padding-right: 6px;
}
.sub-toggle {
  width: 28px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b87a3;
  margin-right: 6px;
  border-radius: 6px;
}
.sub-toggle:hover {
  color: var(--brand);
}
.sub-toggle svg {
  transition: transform 0.25s;
}
.sub-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.sub-nav {
  display: none;
  position: absolute;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  min-width: 160px;
  box-shadow: 0 12px 30px rgba(20, 40, 90, 0.15);
  border-top: 3px solid var(--brand);
  z-index: 110;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
}
.sub-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #f1f4fa;
  white-space: nowrap;
}
.sub-nav a:hover,
.sub-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}
.has-sub.open > .sub-nav {
  display: block;
}
/* 无 JS 时仍可用悬停 / 键盘聚焦展开 */
html.no-js .has-sub:hover > .sub-nav,
html.no-js .has-sub:focus-within > .sub-nav {
  display: block;
}

/* ---------- 首页轮播 ---------- */
.banner {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center;
}
.slides {
  position: absolute;
  inset: 0;
}
/* 配图可明可暗，文字区的对比度不依赖某张原稿背景。 */
.slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 24, 34, 0.72), rgba(20, 24, 34, 0.6));
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.slide.on {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-text {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 70px 16px 90px;
}
.banner-text h1 {
  font-size: 44px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  max-width: 26em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.banner-text h1 em {
  font-style: normal;
  color: #5ee1ff;
}
.caps {
  position: relative;
  margin-top: 16px;
  min-height: 3.6em;
}
.cap {
  color: #e9f1ff;
  font-size: 18px;
  max-width: 34em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.cap:not(.on) {
  display: none;
}
.cap strong {
  color: #5ee1ff;
  font-weight: 700;
}
.slide-actions {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 5;
}
.dots button {
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.dots button::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 50%;
  height: 5px;
  margin-top: -2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.25s;
}
.dots button[aria-current="true"]::before {
  background: var(--accent);
}
.banner-pause {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 6;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 41, 0.55);
  color: #fff;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.banner-pause:hover {
  background: rgba(15, 23, 41, 0.85);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 999px;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}
.btn-main {
  background: linear-gradient(90deg, var(--brand), #6a93ff);
  color: #fff;
  box-shadow: 0 6px 18px rgba(47, 107, 255, 0.3);
}
.btn-main:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
}
.btn-line {
  border-color: #fff;
  color: #fff;
}
.btn-line:hover {
  background: #fff;
  color: var(--brand);
}
.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
}
.btn-hollow {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-hollow:hover {
  background: var(--brand);
  color: #fff;
}
.btn-pink {
  background: var(--accent);
  color: #fff;
}
.btn-pink:hover {
  background: #e84a78;
}
.btn-sm {
  min-height: 40px;
  padding: 6px 20px;
  font-size: 14px;
}

/* ---------- 栏目标题 ---------- */
.sec {
  padding: 70px 0;
}
.sec-gray {
  background: var(--gray);
}
.sec-title {
  text-align: center;
  margin-bottom: 44px;
}
.sec-title h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.sec-title .en {
  display: block;
  color: #aeb6c6;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-top: 8px;
}
.sec-title .bar {
  display: block;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  margin: 16px auto 0;
  border-radius: 2px;
}
.sec-title .desc {
  color: var(--mute);
  margin-top: 14px;
  font-size: 15px;
}

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: center;
}
.about-grid .pic {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(20, 40, 90, 0.14);
}
.about-grid h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}
.about-grid h3 span {
  color: var(--brand);
}
.about-grid p {
  color: #555;
  margin-bottom: 14px;
  text-align: justify;
}
.about-nums {
  display: flex;
  gap: 36px;
  margin: 22px 0 26px;
  flex-wrap: wrap;
}
.about-nums .n {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}
.about-nums .n b {
  display: block;
  font-size: 17px;
}
.about-nums .n span {
  color: var(--mute);
  font-size: 13px;
}

/* ---------- 产品卡片 ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.tabs button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px 30px;
  font-size: 15px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 44px;
}
.tabs button[aria-selected="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.p-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 34px;
}
.p-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.p-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(20, 40, 90, 0.12);
  border-color: transparent;
}
.p-card > a:first-child {
  display: block;
  overflow: hidden;
}
.p-card .p-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.p-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.p-card:hover h3 {
  color: var(--brand);
}
.p-card p {
  color: var(--mute);
  font-size: 14px;
  flex: 1;
}
.p-card .p-more {
  margin-top: 16px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}
.p-card .p-cat {
  font-size: 12px;
  color: #a3acbd;
  margin-bottom: 6px;
}
.sec-more {
  text-align: center;
  margin-top: 40px;
}

/* ---------- 题材专区 ---------- */
.genre-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.genre {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 14px;
  text-align: center;
  transition: all 0.25s;
}
.genre:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 40, 90, 0.1);
}
.genre .g-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.genre h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.genre p {
  font-size: 12px;
  color: var(--mute);
}

/* ---------- 作品卡片（首页 + 书架共用） ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.work-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.work:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(20, 40, 90, 0.14);
}
.work .cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}
.work .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work .w-body {
  padding: 12px 12px 14px;
  flex: 1;
}
.work :is(h2, h3) {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.work .tag {
  display: inline-block;
  font-size: 11px;
  color: var(--brand);
  background: #e9f0ff;
  border-radius: 4px;
  padding: 1px 7px;
  margin-bottom: 6px;
  margin-right: 4px;
}
.work .tag-end {
  color: #2fb8a8;
  background: #e6f7f5;
}
.work p {
  font-size: 12px;
  color: var(--mute);
  line-height: 1.6;
}
.work .w-meta {
  font-size: 12px;
  color: #a3acbd;
  margin-top: 8px;
}
.work-grid-3 .work :is(h2, h3) {
  font-size: 17px;
}
.work-grid-3 .work p {
  font-size: 13px;
}

/* ---------- 书架页 ---------- */
.shelf-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 28px;
}
.shelf-tools .lbl {
  font-size: 14px;
  color: var(--mute);
  margin-right: 4px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 14px;
  cursor: pointer;
  min-height: 40px;
}
.chip[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.shelf-count {
  font-size: 13px;
  color: var(--mute);
  margin: -14px 0 22px;
}
.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.rank {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.rank h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 4px solid var(--brand);
}
.rank li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.rank li:last-child {
  border-bottom: 0;
}
.rank .no {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--gray);
  color: var(--mute);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-weight: 700;
}
.rank li:nth-child(-n + 3) .no {
  background: var(--accent);
  color: #fff;
}
.rank li a:hover {
  color: var(--brand);
}
.rank li span.g {
  color: #a3acbd;
  font-size: 12px;
  margin-left: auto;
  flex: none;
}

/* ---------- 阅读功能页（图文交错） ---------- */
.zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.zig:last-child {
  border-bottom: 0;
}
.zig:nth-child(even) .zig-pic {
  order: 2;
}
.zig-pic {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(20, 40, 90, 0.12);
}
.zig h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.zig h2 small {
  display: block;
  color: #aeb6c6;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 400;
}
.zig p {
  color: #555;
  margin-bottom: 12px;
  text-align: justify;
}
.zig ul {
  margin-top: 10px;
}
.zig li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
  color: #444;
  font-size: 14px;
}
.zig li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.quick b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}
.quick span {
  font-size: 13px;
  color: var(--mute);
}

/* ---------- 优势 ---------- */
.sec-dark {
  background: var(--dark) linear-gradient(135deg, #0f1729 50%, #182338);
  color: #fff;
  padding: 74px 0;
}
.sec-dark .sec-title h2 {
  color: #fff;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.adv-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 34px 26px;
  text-align: center;
  transition: all 0.25s;
  border-radius: 14px;
}
.adv-item:hover {
  background: var(--brand);
  transform: translateY(-6px);
}
.adv-item .ico {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.adv-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.adv-item p {
  color: #c8d3e6;
  font-size: 14px;
}
.adv-item:hover p {
  color: #e6f3ff;
}

/* ---------- 首页资讯 ---------- */
.news-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.news-card > a:first-child {
  display: block;
  overflow: hidden;
}
.news-card .n-body {
  padding: 22px;
}
.news-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.news-card h3 a:hover {
  color: var(--brand);
}
.news-card p {
  color: var(--mute);
  font-size: 14px;
}
.news-list li {
  border-bottom: 1px dashed var(--line);
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}
.news-list li a {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.55;
}
.news-list li a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: 2px;
}
.news-list li a:hover {
  color: var(--brand);
}
.news-list time {
  color: #a3acbd;
  font-size: 13px;
  flex: none;
}
.date-tag {
  display: inline-block;
  background: var(--gray);
  color: var(--mute);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ---------- 通栏引导 / FAQ ---------- */
.cta {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  color: #fff;
  padding: 52px 0;
}
.cta-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 {
  font-size: 26px;
  font-weight: 800;
}
.cta p {
  margin-top: 8px;
  color: #e6f3ff;
  max-width: 40em;
}
.cta .btn-line:hover {
  color: var(--brand);
}
.faq3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.faq {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px;
}
.faq h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.faq h3::before {
  content: "问";
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  padding: 2px 6px;
  margin-right: 8px;
  vertical-align: 2px;
}
.faq p {
  color: var(--mute);
  font-size: 14px;
}
.faq p::before {
  content: "答";
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  padding: 2px 6px;
  margin-right: 8px;
}

/* ---------- 内页公共 ---------- */
.page-banner {
  background: var(--dark) linear-gradient(120deg, #0f1729, #1d3a5c 55%, #1f6b8f);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 280px;
  height: 280px;
  border: 44px solid rgba(94, 225, 255, 0.18);
  border-radius: 50%;
}
.page-banner .w {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.35;
}
.page-banner .sub {
  color: #c3cde0;
  margin-top: 10px;
  max-width: 44em;
}
.location {
  background: var(--gray);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--mute);
}
.location .w {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex-wrap: wrap;
  gap: 4px;
}
.location ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.location li + li::before {
  content: ">";
  margin: 0 6px;
  color: #c5cddc;
}
.location a:hover {
  color: var(--brand);
}
.location [aria-current] {
  color: var(--brand);
}
.location .loc-label::before {
  content: "📍";
  margin-right: 6px;
}

/* 左栏 + 正文：桌面两列，栏目导航与推荐分开放置，便于移动端重排 */
.layout {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  grid-template-areas: "nav main" "extra main";
  column-gap: 36px;
  padding-block: 52px;
}
.side-nav-col {
  grid-area: nav;
}
.side-extra-col {
  grid-area: extra;
  align-self: start;
}
.main-col {
  grid-area: main;
}
.side-box {
  border: 1px solid var(--line);
  margin-bottom: 22px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}
.side-box .side-hd {
  background: var(--dark);
  color: #fff;
  padding: 16px 20px;
  font-size: 17px;
  font-weight: 700;
  border-left: 4px solid var(--accent);
}
.side-box ul li a {
  display: block;
  padding: 13px 20px;
  border-bottom: 1px solid #f1f4fa;
  font-size: 14px;
  position: relative;
}
.side-box ul li a::after {
  content: ">";
  position: absolute;
  right: 16px;
  color: #ccc;
  transition: transform 0.3s;
}
.side-box ul li a:hover {
  color: var(--brand);
  padding-left: 26px;
}
.side-box ul li a:hover::after {
  transform: translateX(4px);
}
.side-box ul li a[aria-current="page"] {
  color: var(--brand);
  font-weight: 700;
  border-left: 3px solid var(--brand);
  background: #eef3ff;
}
.side-cta {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  padding: 26px 20px;
  text-align: center;
}
.side-cta h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.side-cta p {
  color: #e6f3ff;
  font-size: 13px;
  margin-bottom: 16px;
}
.main-col .m-hd {
  font-size: 22px;
  font-weight: 800;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 24px;
  position: relative;
}
.main-col .m-hd::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* 正文 */
.prose h2 {
  font-size: 21px;
  font-weight: 700;
  overflow-wrap: anywhere;
  line-break: strict;
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 22px 0 8px;
}
.prose p {
  margin-bottom: 14px;
  color: #444;
  text-align: justify;
}
.prose ul,
.prose ol {
  margin: 0 0 16px 1.6em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin-bottom: 6px;
  color: #444;
}
.prose a {
  color: var(--brand);
}
.prose .figure {
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.article-meta {
  color: #999;
  font-size: 13px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.article-meta a {
  color: var(--brand);
}
.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}
.pn a {
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-size: 14px;
  background: var(--gray);
  border-radius: 8px;
  line-height: 1.5;
}
.pn a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.pn .dir {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 2px;
}
.pn .pn-next {
  text-align: right;
}
.related {
  margin-top: 32px;
}
.related h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 10px;
  border-left: 4px solid var(--brand);
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.related-grid a {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  display: block;
}
.related-grid a:hover {
  border-color: var(--brand);
}
.related-grid b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}
.related-grid span {
  font-size: 12px;
  color: #a3acbd;
}
.next-steps {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.faq-item {
  border: 1px solid var(--line);
  padding: 18px 20px;
  margin-bottom: 14px;
  background: #fff;
  border-radius: 10px;
}
.faq-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.faq-item h3::before {
  content: "Q";
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  padding: 2px 7px;
  margin-right: 8px;
}
.faq-item p {
  color: #555;
  font-size: 14px;
}
.faq-item p::before {
  content: "A";
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  padding: 2px 7px;
  margin-right: 8px;
}
.faq-group-hd {
  font-size: 19px;
  margin: 26px 0 14px;
  border-left: 4px solid var(--brand);
  padding-left: 10px;
}
.article-list .item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.article-list .item > a:first-child {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}
.article-list h3 {
  font-size: 18px;
  margin-bottom: 6px;
  line-height: 1.5;
}
.article-list h3 a:hover {
  color: var(--brand);
}
.article-list p {
  color: var(--mute);
  font-size: 14px;
  margin-bottom: 8px;
}
.article-list .meta {
  font-size: 12px;
  color: #a3acbd;
}
.empty {
  border: 1px dashed #d9d9d9;
  background: var(--gray);
  padding: 48px 24px;
  text-align: center;
  color: var(--mute);
  border-radius: 12px;
}
.empty strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 8px;
}
.empty .links {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 下载 / 联系 */
.dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 6px 0 10px;
}
.dl-card {
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  background: var(--gray);
  padding: 26px 24px;
  border-radius: 0 0 12px 12px;
}
.dl-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.dl-meta {
  list-style: none !important;
  margin: 0 0 16px !important;
}
.dl-meta li {
  color: #555;
  font-size: 14px;
  margin: 0 0 4px !important;
}
.c-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 10px;
}
.c-item {
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  padding: 18px 20px;
  background: #fff;
  border-radius: 8px;
}
.c-item h3 {
  font-size: 14px;
  color: #999;
  font-weight: 400;
  margin: 0 0 6px;
}
.c-item .c-big {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
  word-break: break-all;
}
.c-item p {
  font-size: 13px;
  color: #888;
  margin: 0;
}
.c-item .btn {
  margin-top: 12px;
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.scene {
  background: var(--gray);
  border-radius: 10px;
  padding: 20px;
}
.scene h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.scene p {
  font-size: 14px;
  color: #555;
  margin: 0;
  text-align: left;
}
.mail-note {
  font-size: 13px;
  color: var(--mute);
  margin-top: 8px;
}

/* 搜索 */
.search-form {
  display: flex;
  max-width: 560px;
  margin: 6px 0 24px;
}
.search-form input {
  flex: 1;
  min-width: 0;
  border: 2px solid var(--brand);
  border-right: 0;
  padding: 11px 16px;
  font-size: 15px;
  min-height: 48px;
  border-radius: 8px 0 0 8px;
}
.search-form button {
  border: 0;
  background: var(--brand);
  color: #fff;
  padding: 0 26px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 0 8px 8px 0;
}
.s-hint {
  color: var(--mute);
  font-size: 14px;
  margin-bottom: 14px;
}
.s-item {
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.s-item h3 {
  font-size: 16px;
  line-height: 1.5;
}
.s-item h3 a:hover {
  color: var(--brand);
}
.s-item p {
  color: var(--mute);
  font-size: 13px;
  margin-top: 4px;
}
.s-cat {
  display: inline-block;
  font-size: 12px;
  color: var(--brand);
  background: #e9f0ff;
  border-radius: 4px;
  padding: 1px 8px;
  margin-top: 6px;
}
.map-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}
.map-cols h2 {
  font-size: 17px;
  border-left: 4px solid var(--brand);
  padding-left: 10px;
  margin-bottom: 14px;
}
.map-cols li {
  padding: 7px 0;
  border-bottom: 1px dashed #eee;
}
.map-cols a:hover {
  color: var(--brand);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0b1220;
  color: #a7b1c4;
  font-size: 14px;
}
.footer-in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px 0 40px;
}
.site-footer h2 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 700;
}
.site-footer li {
  margin-bottom: 9px;
}
.site-footer a:hover {
  color: #fff;
}
.f-brand .logo-text .name {
  color: #fff;
  font-size: 20px;
}
.f-brand p {
  margin-top: 14px;
  max-width: 24em;
  font-size: 13px;
  line-height: 1.9;
}
.f-contact p {
  margin-bottom: 14px;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid #1f2b40;
  padding: 16px 0;
  font-size: 13px;
  color: #7b8598;
}
.footer-bottom .w {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: #7b8598;
}
.footer-bottom a:hover {
  color: #fff;
}
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  background: var(--brand);
  color: #fff;
  border: 0;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 120;
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  /* 隐藏时同时退出 Tab 顺序与读屏树，动画结束后才切 visibility */
  visibility: hidden;
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0s linear 0.3s;
}
.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.to-top:hover {
  transform: translateY(-3px);
}

/* ============================================================
   动效层（类名由 JS 添加；无 JS 或“减少动态效果”时内容直接可见）
   ============================================================ */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.sec-title .bar {
  transform: scaleX(0);
  transition: transform 0.8s ease 0.25s;
}
.sec-title.in .bar,
html.no-js .sec-title .bar {
  transform: scaleX(1);
}
.slide img {
  transform: scale(1.08);
  transition: transform 7s ease-out;
}
.slide.on img {
  transform: scale(1);
}
.cap.on {
  animation: fadeUp 0.6s ease;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.banner::before,
.banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
}
.banner::before {
  width: 220px;
  height: 220px;
  left: -50px;
  top: -70px;
  background: radial-gradient(circle, rgba(94, 225, 255, 0.45), transparent 70%);
  animation: float 9s ease-in-out infinite;
}
.banner::after {
  width: 300px;
  height: 300px;
  right: 4%;
  bottom: -80px;
  background: radial-gradient(circle, rgba(33, 200, 183, 0.5), transparent 70%);
  animation: float 12s ease-in-out infinite reverse;
}
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(16px, -28px);
  }
}
.header-in,
.main-nav > ul > li > a,
.logo-mark,
.logo-text .name {
  transition: all 0.3s ease;
}
.site-header.shrink .header-in {
  min-height: 64px;
}
.site-header.shrink .main-nav > ul > li > a {
  height: 64px;
}
.site-header.shrink .sub-nav {
  top: 64px;
}
.site-header.shrink .logo-mark {
  width: 36px;
  height: 36px;
  font-size: 16px;
}
.site-header.shrink .logo-text .name {
  font-size: 20px;
}
.site-header.shrink {
  box-shadow: 0 4px 18px rgba(20, 40, 90, 0.12);
}
.main-nav > ul > li > a:not([aria-current])::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.main-nav > ul > li > a:not([aria-current]):hover::after {
  transform: scaleX(1);
}
.sub-nav {
  animation: dropIn 0.25s ease;
}
@keyframes dropIn {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.p-card img,
.work .cover img,
.news-card img,
.article-list .item img,
.zig-pic img {
  transition: transform 0.6s ease;
}
.p-card:hover img,
.work:hover .cover img,
.news-card:hover img,
.article-list .item:hover img {
  transform: scale(1.06);
}
.work .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 41, 0.7), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}
.work:hover .cover::after {
  opacity: 1;
}
.genre .g-ico {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.genre:hover .g-ico {
  transform: scale(1.18) rotate(-8deg);
}
.adv-item .ico {
  transition: transform 0.35s;
}
.adv-item:hover .ico {
  transform: scale(1.1);
}
.adv-item:hover .ico::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: ring 1.1s ease-out infinite;
}
@keyframes ring {
  from {
    transform: scale(0.85);
    opacity: 1;
  }
  to {
    transform: scale(1.45);
    opacity: 0;
  }
}
.p-card.fade,
.work.fade {
  animation: fadeUp 0.45s ease;
}
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn:hover::after {
  left: 140%;
}
.btn-main:hover {
  box-shadow: 0 10px 26px rgba(47, 107, 255, 0.42);
}
.cta {
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}
@keyframes gradientMove {
  0%,
  100% {
    background-position: 0 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.page-banner::after {
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* ============================================================
   响应式
   ============================================================ */
/* 紧凑桌面宽度逐步收紧导航留白，保留独立的父链接与展开按钮。 */
@media (min-width: 1101px) and (max-width: 1300px) {
  .main-nav > ul > li > a {
    padding-inline: clamp(8px, calc(5vw - 47px), 18px);
    transition-property: height, color, background-color;
  }
}
@media (max-width: 1100px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 75vh;
    overflow: auto;
    box-shadow: 0 12px 24px rgba(20, 40, 90, 0.12);
  }
  .main-nav.open {
    display: block;
  }
  .main-nav > ul {
    flex-direction: column;
  }
  .main-nav > ul > li {
    flex-wrap: wrap;
    align-items: stretch;
  }
  .main-nav > ul > li > a {
    height: auto;
    min-height: 48px;
    padding: 12px 20px;
    flex: 1;
  }
  .main-nav > ul > li > a[aria-current="page"]::after,
  .main-nav > ul > li > a:not([aria-current])::after {
    display: none;
  }
  .sub-toggle {
    width: 48px;
    height: 48px;
    margin: 0 8px 0 0;
  }
  .sub-nav {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: 0;
    background: var(--gray);
    border-radius: 0;
    width: 100%;
    animation: none;
  }
  .sub-nav a {
    text-align: left;
    padding-left: 40px;
    white-space: normal;
  }
  .genre-grid,
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .adv-grid,
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-in,
  .map-cols {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 860px) {
  .topbar-welcome {
    display: none;
  }
  .banner {
    min-height: 420px;
  }
  .banner-text {
    padding: 48px 16px 80px;
  }
  .banner-text h1 {
    font-size: 28px;
  }
  .cap {
    font-size: 15px;
  }
  .sec {
    padding: 48px 0;
  }
  .sec-title h2 {
    font-size: 26px;
  }
  .about-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .p-grid,
  .p-grid-2,
  .faq3,
  .dl-grid,
  .rank-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }
  .pn {
    grid-template-columns: 1fr;
  }
  .pn .pn-next {
    text-align: left;
  }
  .page-banner {
    padding: 40px 0;
  }
  .page-banner h1 {
    font-size: 24px;
  }
  .article-list .item {
    grid-template-columns: 1fr;
  }
  .zig {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 0;
  }
  .zig:nth-child(even) .zig-pic {
    order: 0;
  }
  .work-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  /* 左右滑入改为上浮，避免位移超出视口产生横向滚动 */
  .rv.rv-left,
  .rv.rv-right {
    transform: translateY(28px);
  }
  /* 内页：正文优先，栏目导航紧凑成标签，推荐与引导放到正文之后 */
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "nav" "main" "extra";
    padding-block: 24px 36px;
    row-gap: 20px;
  }
  .side-nav-col .side-box {
    border: 0;
    background: none;
    border-radius: 0;
    margin-bottom: 0;
  }
  .side-nav-col .side-hd {
    background: none;
    color: var(--mute);
    border: 0;
    padding: 0 0 8px;
    font-size: 13px;
    font-weight: 400;
  }
  .side-nav-col ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .side-nav-col ul li a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
    background: #fff;
    font-size: 14px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }
  .side-nav-col ul li a::after {
    display: none;
  }
  .side-nav-col ul li a:hover {
    padding-left: 16px;
  }
  .side-nav-col ul li a[aria-current="page"] {
    border-color: var(--brand);
    border-left-width: 1px;
    background: var(--brand);
    color: #fff;
  }
  .side-extra-col {
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 640px) {
  .topbar-search {
    display: none;
  }
  .c-grid,
  .related-grid,
  .map-cols {
    grid-template-columns: 1fr;
  }
  .work-grid-3 .work :is(h2, h3) {
    font-size: 15px;
  }
}
@media (max-width: 479px) {
  .adv-grid,
  .footer-in,
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .genre-grid,
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .logo-text .slogan {
    display: none;
  }
  .banner-text h1 {
    font-size: 24px;
  }
  .sec-title h2 {
    font-size: 23px;
  }
  .btn {
    padding: 10px 22px;
    font-size: 15px;
  }
  .banner-pause {
    padding: 0 10px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv,
  .cap.on {
    opacity: 1 !important;
    transform: none !important;
  }
  .sec-title .bar,
  .slide img {
    transform: none !important;
  }
  .to-top {
    opacity: 0;
  }
  .to-top.show {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 辅助类（替代行内样式） ---------- */
.sec-tight {
  padding-top: 44px;
}
.prose.intro {
  max-width: 820px;
  margin-bottom: 26px;
}
.prose.intro-sm {
  margin-bottom: 8px;
}
.m-hd-sub {
  margin-top: 8px;
}
.cat-intro {
  color: var(--mute);
  margin-bottom: 20px;
}
.news-more {
  margin-top: 20px;
}
.zig .lead {
  color: var(--mute);
  margin-bottom: 10px;
}
.w.narrow {
  max-width: 900px;
  padding-top: 48px;
  padding-bottom: 48px;
}
.map-wrap {
  padding-top: 48px;
  padding-bottom: 48px;
}
.next-steps .btn-main {
  color: #fff;
}
/* 题材图标颜色 start */
.g-ico.g-kehuan {
  background: #2f6bff;
}
.g-ico.g-qihuan {
  background: #7b5cff;
}
.g-ico.g-dushi {
  background: #21c8b7;
}
.g-ico.g-xuanyi {
  background: #2b2d42;
}
.g-ico.g-xiaoyuan {
  background: #f2994a;
}
.g-ico.g-zhiyu {
  background: #f4c95d;
}
/* 题材图标颜色 end */


/* ── 锚点定位为固定导航让位：跳转到作品/分区后上沿不被压住 ── */
.work,
[id^="genre-"] {
  scroll-margin-top: 96px;
}

/* ── 无 JS 兜底（html.no-js，脚本首行即移除）：
   手机端主导航与子菜单静态展开，全部链接可达；JS 正常时不生效 ── */
@media (max-width: 1100px) {
  /* 展开导航独占一行，并随文档滚动，避免挤压 Logo 或遮挡正文。 */
  html.no-js .site-header {
    position: static;
  }
  html.no-js .header-in {
    flex-wrap: wrap;
  }
  html.no-js .main-nav {
    display: block;
    position: static;
    max-height: none;
    box-shadow: none;
    flex-basis: 100%;
    width: 100%;
    overflow: visible;
  }
  html.no-js .nav-toggle {
    display: none;
  }
  html.no-js .sub-nav {
    display: block;
    position: static;
    box-shadow: none;
  }
  html.no-js .sub-toggle {
    display: none;
  }
}


/* 动态文本与真实后台侧栏：只补收缩和可点击性，不改原稿布局。 */
.topbar-welcome,
.logo-text {
  min-width: 0;
}
.topbar-welcome {
  overflow-wrap: anywhere;
}
.logo-text .name {
  white-space: normal;
  overflow-wrap: anywhere;
}
.side-box table {
  max-width: 100%;
}
.side-box input,
.side-box select {
  max-width: 100%;
}
.prose > section {
  min-width: 0;
}
.figure:empty,
.zig-pic:empty,
.cover:empty {
  display: none;
}
@media (max-width: 1100px) {
  .sub-toggle {
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0 8px 0 0;
  }
  .btn-sm,
  .chip,
  .side-nav-col ul li a,
  .related-grid a,
  .rank li a {
    min-height: 44px;
  }
  .rank li a {
    display: inline-flex;
    align-items: center;
  }
}
