/* ==========================================================================
   云月网 (YUNYUE) 前台模板样式
   主色:#C8DEF4 | 深蓝:#1E4E79 | 浅底:#F4F8FC
   结构:设计令牌 → 基础 → 头部 → 首页 → 卡片/侧栏 → 分类页 → 详情页 → 页脚 → 响应式
   ========================================================================== */

/* ------------------------------ 1. 设计令牌 ------------------------------ */
:root {
  --yy-brand: #c8def4;
  --yy-brand-strong: #a9c8e6;
  --yy-brand-soft: #edf5fd;
  --yy-brand-mist: #f6fafe;
  --yy-deep: #1e4e79;
  --yy-deep-2: #2e6a9e;
  --yy-deep-3: #163a5c;
  --yy-ink: #152432;
  --yy-text: #2a3b4d;
  --yy-muted: #64798d;
  --yy-line: #dfeaf5;
  --yy-bg: #f4f8fc;
  --yy-white: #ffffff;
  --yy-accent: #d95b3b;
  --yy-radius: 10px;
  --yy-radius-l: 16px;
  --yy-container: 1180px;
  --yy-gutter: 20px;
  --yy-shadow: 0 1px 2px rgba(20, 60, 100, 0.04), 0 10px 30px rgba(30, 78, 121, 0.06);
  --yy-shadow-hover: 0 4px 12px rgba(20, 60, 100, 0.08), 0 18px 40px rgba(30, 78, 121, 0.12);
  --yy-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --yy-transition: 0.22s ease;
}

/* ------------------------------- 2. 基础 -------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--yy-font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--yy-text);
  background: linear-gradient(180deg, #f8fbff 0, var(--yy-bg) 360px) no-repeat, var(--yy-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--yy-transition);
}

a:hover {
  color: var(--yy-deep-2);
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

input {
  font: inherit;
}

time {
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 2px solid var(--yy-deep-2);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--yy-container);
  margin: 0 auto;
  padding: 0 var(--yy-gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 0 0 8px 8px;
  background: var(--yy-deep);
  color: #fff;
  font-size: 14px;
  transition: top var(--yy-transition);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.12em;
  flex: 0 0 auto;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

/* 封面占位与通用封面容器(card_cover 依赖) */
.cover-ph {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dce9f5;
}

.cover-link img {
  transition: transform 0.55s ease;
}

.cover-link:hover img {
  transform: scale(1.045);
}

.ph-word {
  font-family: var(--yy-font);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.94);
  font-size: 24px;
  letter-spacing: 4px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* 与 app/functions.php cat_bg() 配套的渐变类 */
.bg-blue { background: linear-gradient(135deg, #0b63d8 0%, #4796f0 100%); }
.bg-cyan { background: linear-gradient(135deg, #0787a8 0%, #35c2df 100%); }
.bg-gold { background: linear-gradient(135deg, #b7791f 0%, #eebb55 100%); }
.bg-coral { background: linear-gradient(135deg, #d84a3a 0%, #ff8a70 100%); }
.bg-sand { background: linear-gradient(135deg, #a9825a 0%, #dcb586 100%); }
.bg-green { background: linear-gradient(135deg, #178a46 0%, #48c477 100%); }
.bg-lime { background: linear-gradient(135deg, #4d8f1f 0%, #96cf53 100%); }
.bg-magenta { background: linear-gradient(135deg, #b12a87 0%, #ea67bf 100%); }
.bg-violet { background: linear-gradient(135deg, #6d28c9 0%, #a678ec 100%); }
.bg-plum { background: linear-gradient(135deg, #802868 0%, #c25ba3 100%); }
.bg-navy { background: linear-gradient(135deg, #14306e 0%, #3a60b8 100%); }
.bg-slate { background: linear-gradient(135deg, #39434e 0%, #75859a 100%); }
.bg-forest { background: linear-gradient(135deg, #14532d 0%, #3b8a5c 100%); }
.bg-mint { background: linear-gradient(135deg, #0f8a72 0%, #52c7ab 100%); }
.bg-peach { background: linear-gradient(135deg, #d97c3f 0%, #ffb377 100%); }

/* ------------------------------- 3. 头部 -------------------------------- */
.topbar {
  background: linear-gradient(90deg, #163a5c 0%, #1e4e79 62%, #265f90 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
}

.topbar-date,
.topbar-slogan {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.3px;
}

.topbar-date .icon {
  font-size: 13px;
  opacity: 0.8;
}

.topbar-week {
  padding-left: 7px;
  margin-left: 1px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.topbar-slogan {
  letter-spacing: 2px;
}

.site-header {
  background: var(--yy-white);
  border-bottom: 1px solid var(--yy-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 188px;
  height: 44px;
}

.search-form {
  display: flex;
  align-items: center;
  width: min(420px, 100%);
  height: 44px;
  padding: 4px 4px 4px 18px;
  background: var(--yy-brand-mist);
  border: 1px solid var(--yy-line);
  border-radius: 999px;
  transition: border-color var(--yy-transition), box-shadow var(--yy-transition);
}

.search-form:focus-within {
  border-color: var(--yy-brand-strong);
  box-shadow: 0 0 0 4px rgba(200, 222, 244, 0.45);
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--yy-ink);
  font-size: 14px;
  outline: none;
}

.search-form input::placeholder {
  color: #90a4b8;
}

.search-form button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yy-deep-2), var(--yy-deep));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: filter var(--yy-transition), transform var(--yy-transition);
}

.search-form button:hover {
  filter: brightness(1.08);
}

.search-form button:active {
  transform: scale(0.98);
}

.search-form button .icon {
  font-size: 15px;
}

/* 频道导航 */
.channel-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, var(--yy-brand) 0%, #d9eaf8 100%);
  border-bottom: 1px solid #c3dbee;
  transition: box-shadow var(--yy-transition);
}

.channel-nav.is-stuck {
  box-shadow: 0 8px 22px rgba(30, 78, 121, 0.12);
}

.channel-nav-inner {
  display: flex;
  align-items: center;
}

.channel-scroll {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
  overflow-x: auto;
  padding: 7px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.channel-scroll::-webkit-scrollbar {
  display: none;
}

.channel-item {
  flex: 0 0 auto;
  padding: 8px 17px;
  border-radius: 999px;
  color: #1b3b57;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--yy-transition), color var(--yy-transition);
}

.channel-item:hover {
  background: rgba(255, 255, 255, 0.58);
  color: var(--yy-deep-3);
}

.channel-item.is-active,
.channel-item.is-active:hover {
  background: var(--yy-deep);
  color: #fff;
  box-shadow: 0 3px 10px rgba(30, 78, 121, 0.25);
}

/* ------------------------------- 4. 首页 -------------------------------- */
body.home-page main {
  padding-bottom: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.hero > * {
  min-width: 0;
}

.hero--solo {
  grid-template-columns: minmax(0, 1fr);
}

.hero-carousel {
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--yy-radius-l);
  background: #0f3150;
  box-shadow: var(--yy-shadow);
}

.carousel-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hero-slide-link {
  position: absolute;
  inset: 0;
  display: block;
  color: #fff;
}

.hero-slide-link:hover {
  color: #fff;
}

.hero-slide-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 28, 46, 0.05) 0%, rgba(8, 28, 46, 0.18) 42%, rgba(8, 28, 46, 0.82) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  padding: 30px 34px 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yy-brand);
  color: var(--yy-deep-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 92%;
  font-size: clamp(21px, 2.7vw, 32px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-meta .chip {
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 34, 54, 0.42);
  color: #fff;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
  opacity: 0.55;
  transition: opacity var(--yy-transition), background var(--yy-transition);
}

.hero-carousel:hover .carousel-btn,
.carousel-btn:focus-visible {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(10, 34, 54, 0.72);
}

.carousel-btn .icon {
  font-size: 18px;
}

.carousel-btn--prev {
  left: 14px;
}

.carousel-btn--next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  right: 22px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width var(--yy-transition), background var(--yy-transition);
}

.carousel-dots button[aria-current="true"] {
  width: 20px;
  background: #fff;
}

/* 热点关注 */
.hot-panel {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 10px;
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius-l);
  box-shadow: var(--yy-shadow);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--yy-line);
}

.panel-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 700;
  color: var(--yy-ink);
}

.panel-head h2::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--yy-brand-strong), var(--yy-deep-2));
}

.panel-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--yy-muted);
}

.panel-more .icon {
  font-size: 13px;
}

.panel-more:hover {
  color: var(--yy-deep-2);
}

.hot-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  list-style: none;
}

.hot-list li + li {
  border-top: 1px dashed var(--yy-line);
}

.hot-link {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 0;
}

.hot-rank {
  flex: 0 0 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  color: #9db1c4;
  font-variant-numeric: tabular-nums;
}

.hot-list li:nth-child(-n + 3) .hot-rank {
  color: var(--yy-accent);
}

.hot-text {
  flex: 1;
  min-width: 0;
}

.hot-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--yy-ink);
}

.hot-link:hover .hot-title {
  color: var(--yy-deep-2);
}

.hot-time {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: #93a6b8;
}

/* 区块标题 */
.section {
  margin-top: 34px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--yy-ink);
  letter-spacing: 0.4px;
}

.section-title::before {
  content: "";
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--yy-deep-2), var(--yy-brand-strong));
}

.section-sub {
  font-size: 13px;
  color: var(--yy-muted);
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 13.5px;
  color: var(--yy-muted);
  white-space: nowrap;
}

.section-more .icon {
  font-size: 13px;
  transition: transform var(--yy-transition);
}

.section-more:hover {
  color: var(--yy-deep-2);
}

.section-more:hover .icon {
  transform: translateX(3px);
}

/* 内容两栏 */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(280px, 1fr);
  gap: 26px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

/* 首条大卡 */
.lead-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius-l);
  box-shadow: var(--yy-shadow);
}

.lead-cover {
  position: relative;
  min-height: 292px;
  height: 100%;
}

.lead-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 28px 28px 26px;
}

.lead-cat {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--yy-brand-soft);
  color: var(--yy-deep);
  font-size: 12px;
  font-weight: 600;
}

.lead-title {
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--yy-ink);
}

.lead-title a:hover {
  color: var(--yy-deep-2);
}

.lead-intro {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.75;
  color: var(--yy-muted);
}

.lead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
  font-size: 12.5px;
  color: #8ba0b4;
}

.lead-meta .meta-item {
  margin-left: auto;
}

/* 文章网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: 14px;
  box-shadow: var(--yy-shadow);
  transition: transform var(--yy-transition), box-shadow var(--yy-transition), border-color var(--yy-transition);
}

.news-card:hover {
  transform: translateY(-3px);
  border-color: #cfe1f2;
  box-shadow: var(--yy-shadow-hover);
}

.news-card-cover {
  aspect-ratio: 16 / 9;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 7px;
  padding: 15px 18px 16px;
}

.news-card-cat {
  align-self: flex-start;
  padding: 1px 9px;
  border-radius: 4px;
  background: var(--yy-brand-soft);
  color: var(--yy-deep);
  font-size: 11.5px;
  font-weight: 600;
}

.news-card-cat:hover {
  background: var(--yy-brand);
  color: var(--yy-deep-3);
}

.news-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--yy-ink);
}

.news-card-title a:hover {
  color: var(--yy-deep-2);
}

.news-card-intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.65;
  color: var(--yy-muted);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 12px;
  color: #8ba0b4;
}

/* 纯文字条目列表(最新资讯第 4 条起:标题 / 简介 / 时间 / 分类) */
.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin-top: 18px;
  list-style: none;
  border-top: 1px solid var(--yy-line);
}

.news-item {
  min-width: 0;
  padding: 13px 0 14px;
  border-bottom: 1px dashed var(--yy-line);
}

.news-item-title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--yy-ink);
}

.news-item-title a:hover {
  color: var(--yy-deep-2);
}

.news-item-intro {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--yy-muted);
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 7px;
  font-size: 12px;
  color: #8ba0b4;
}

.news-item-meta time {
  margin-right: auto;
}

.news-item-cat {
  flex: none;
  padding: 1px 8px;
  border-radius: 4px;
  background: var(--yy-brand-soft);
  color: var(--yy-deep);
  font-size: 11.5px;
  font-weight: 600;
}

.news-item-cat:hover {
  background: var(--yy-brand);
  color: var(--yy-deep-3);
}

@media (max-width: 768px) {
  .news-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-item-intro {
    -webkit-line-clamp: 2;
  }
}

/* 侧栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.content-grid > .sidebar,
.category-layout > .sidebar {
  position: sticky;
  top: 64px;
}

.panel {
  padding: 20px 22px;
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius-l);
  box-shadow: var(--yy-shadow);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--yy-ink);
}

.panel-title::before {
  content: "";
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--yy-brand-strong), var(--yy-deep-2));
}

.channel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-link {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--yy-brand-mist);
  border: 1px solid var(--yy-line);
  color: #2f4f6d;
  font-size: 13px;
  transition: background var(--yy-transition), border-color var(--yy-transition), color var(--yy-transition);
}

.chip-link:hover {
  background: var(--yy-brand);
  border-color: var(--yy-brand-strong);
  color: var(--yy-deep-3);
}

.search-form--block {
  width: 100%;
  margin-top: 12px;
}

.panel-text {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--yy-muted);
}

.panel-text + .panel-text {
  margin-top: 8px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
  padding: 14px 0 0;
  border-top: 1px dashed var(--yy-line);
  list-style: none;
  font-size: 13px;
  color: var(--yy-muted);
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yy-brand-strong);
  flex: 0 0 auto;
}

/* 编辑精选 */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.promo-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  overflow: hidden;
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: var(--yy-radius-l);
  box-shadow: var(--yy-shadow);
  transition: transform var(--yy-transition), box-shadow var(--yy-transition);
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--yy-shadow-hover);
}

.promo-cover {
  position: relative;
  min-height: 200px;
  height: 100%;
}

.promo-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 22px 22px 20px;
}

.promo-label {
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yy-brand), #e6f2fd);
  color: var(--yy-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.promo-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--yy-ink);
}

.promo-title a:hover {
  color: var(--yy-deep-2);
}

.promo-intro {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  color: var(--yy-muted);
}

.promo-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #8ba0b4;
}

/* 空状态 */
.empty-state {
  padding: 54px 24px;
  text-align: center;
  background: var(--yy-white);
  border: 1px dashed #cfe0ef;
  border-radius: var(--yy-radius-l);
  color: var(--yy-muted);
}

.empty-state .icon {
  font-size: 38px;
  color: var(--yy-brand-strong);
}

.empty-state p {
  margin: 12px 0 18px;
  font-size: 14.5px;
}

.empty-state a {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--yy-deep);
  color: #fff;
  font-size: 14px;
}

.empty-state a:hover {
  color: #fff;
  filter: brightness(1.08);
}

/* ------------------------------ 5. 分类页 ------------------------------- */
.page-band {
  padding: 18px 0 26px;
  background: linear-gradient(180deg, #eaf4fd 0%, #f5faff 100%);
  border-bottom: 1px solid var(--yy-line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 12.5px;
  color: #7b90a5;
}

.breadcrumb a {
  color: #5b738a;
}

.breadcrumb a:hover {
  color: var(--yy-deep-2);
}

.crumb-sep {
  color: #aec0d1;
}

.breadcrumb .current {
  color: var(--yy-deep);
  font-weight: 600;
}

.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.page-kicker {
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--yy-deep-2);
}

.page-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--yy-ink);
}

.page-title .kw {
  color: var(--yy-deep-2);
  font-style: normal;
}

.page-desc {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--yy-muted);
}

.page-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 4px;
  white-space: nowrap;
  color: var(--yy-muted);
  font-size: 13px;
}

.page-count strong {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--yy-deep);
  font-variant-numeric: tabular-nums;
}

.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 24px 0 18px;
}

.list-hint {
  font-size: 13px;
  color: var(--yy-muted);
}

.sort-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: 999px;
  box-shadow: var(--yy-shadow);
}

.sort-tab {
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--yy-muted);
  white-space: nowrap;
  transition: background var(--yy-transition), color var(--yy-transition);
}

.sort-tab:hover {
  color: var(--yy-deep);
  background: var(--yy-brand-soft);
}

.sort-tab.is-active,
.sort-tab.is-active:hover {
  background: var(--yy-deep);
  color: #fff;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(280px, 1fr);
  gap: 26px;
  align-items: start;
  padding-bottom: 40px;
}

.category-layout .news-grid {
  margin-bottom: 4px;
}

/* 分页 */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.page-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 13px;
  border: 1px solid var(--yy-line);
  border-radius: 9px;
  background: var(--yy-white);
  color: #45617c;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
  transition: background var(--yy-transition), border-color var(--yy-transition), color var(--yy-transition);
}

.page-item:hover {
  border-color: var(--yy-brand-strong);
  background: var(--yy-brand-soft);
  color: var(--yy-deep);
}

.page-item.is-active,
.page-item.is-active:hover {
  border-color: var(--yy-deep);
  background: var(--yy-deep);
  color: #fff;
  font-weight: 600;
}

.page-item.is-disabled {
  color: #adbdcc;
  background: #f8fbfe;
  cursor: not-allowed;
}

.page-item.is-disabled:hover {
  border-color: var(--yy-line);
  background: #f8fbfe;
  color: #adbdcc;
}

/* ------------------------------ 6. 详情页 ------------------------------- */
.article-page main {
  padding-bottom: 20px;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 52px);
  background: var(--yy-white);
  border: 1px solid var(--yy-line);
  border-radius: 18px;
  box-shadow: var(--yy-shadow);
}

.article-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.article-cat {
  display: inline-flex;
  align-items: center;
  padding: 3px 13px;
  border-radius: 999px;
  background: var(--yy-brand-soft);
  color: var(--yy-deep);
  font-size: 12.5px;
  font-weight: 600;
}

.article-cat:hover {
  background: var(--yy-brand);
  color: var(--yy-deep-3);
}

.article-origin {
  font-size: 12.5px;
  color: #8ba0b4;
}

.article-title {
  margin-bottom: 18px;
  font-size: clamp(25px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.2px;
  color: #132a3e;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--yy-line);
  font-size: 13px;
  color: var(--yy-muted);
}

.author-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #34506b;
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcecfa, var(--yy-brand-strong));
  color: var(--yy-deep-3);
  font-size: 13.5px;
  font-weight: 700;
}

.article-meta .meta-item {
  gap: 5px;
}

.article-cover {
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 12px;
  background: #e3eef8;
}

.article-cover img {
  width: 100%;
  height: auto;
}

.article-body {
  font-size: 17px;
  line-height: 1.95;
  color: #26384a;
  word-break: break-word;
}

.article-body > *:first-child {
  margin-top: 0;
}

.article-body p {
  margin: 0 0 1.25em;
}

.article-body h2 {
  margin: 1.9em 0 0.75em;
  padding-left: 13px;
  border-left: 4px solid var(--yy-brand-strong);
  font-size: 22px;
  line-height: 1.5;
  color: var(--yy-ink);
}

.article-body h3 {
  margin: 1.6em 0 0.6em;
  font-size: 19px;
  line-height: 1.55;
  color: var(--yy-ink);
}

.article-body h4 {
  margin: 1.4em 0 0.5em;
  font-size: 17px;
  color: var(--yy-ink);
}

.article-body a {
  color: var(--yy-deep-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4em auto;
  border-radius: 10px;
}

.article-body figure {
  margin: 1.4em 0;
}

.article-body figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 12.5px;
  color: var(--yy-muted);
}

.article-body blockquote {
  margin: 1.5em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--yy-brand-strong);
  border-radius: 0 10px 10px 0;
  background: var(--yy-brand-soft);
  color: #31506b;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.3em;
  padding-left: 1.5em;
}

.article-body li {
  margin-bottom: 0.4em;
}

.article-body li::marker {
  color: var(--yy-deep-2);
}

.article-body table {
  width: 100%;
  margin: 1.5em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.article-body th,
.article-body td {
  padding: 10px 12px;
  border: 1px solid var(--yy-line);
  text-align: left;
}

.article-body th {
  background: var(--yy-brand-soft);
  color: var(--yy-ink);
  font-weight: 600;
}

.article-body pre {
  margin: 1.5em 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 10px;
  background: #102c46;
  color: #d9ecff;
  font-size: 13.5px;
  line-height: 1.7;
}

.article-body code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--yy-brand-soft);
  font-size: 0.92em;
}

.article-body pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.article-body hr {
  margin: 2em 0;
  border: 0;
  border-top: 1px solid var(--yy-line);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--yy-brand-mist);
  border: 1px solid var(--yy-line);
  color: #3c5b78;
  font-size: 12.5px;
}

.tag-pill:hover {
  background: var(--yy-brand);
  border-color: var(--yy-brand-strong);
  color: var(--yy-deep-3);
}

.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--yy-line);
}

.article-source {
  font-size: 12.5px;
  color: #8ba0b4;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--yy-line);
  background: var(--yy-white);
  color: var(--yy-deep);
  font-size: 13.5px;
  transition: background var(--yy-transition), border-color var(--yy-transition);
}

.share-btn:hover {
  background: var(--yy-brand-soft);
  border-color: var(--yy-brand-strong);
}

.disclaimer {
  margin-top: 20px;
  padding: 12px 15px;
  border-radius: 8px;
  background: #f6fafe;
  border: 1px dashed #d5e5f3;
  font-size: 12.5px;
  line-height: 1.7;
  color: #7b8fa3;
}

.related {
  max-width: 900px;
  margin: 34px auto 0;
}

.related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.related-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--yy-ink);
}

.related-title::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--yy-deep-2), var(--yy-brand-strong));
}

.news-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ------------------------------- 7. 页脚 -------------------------------- */
.site-footer {
  margin-top: 44px;
  background: linear-gradient(180deg, #eaf4fd 0%, #e2effa 100%);
  border-top: 1px solid #cfe2f2;
  color: #375570;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  padding-top: 38px;
  padding-bottom: 32px;
}

.footer-logo {
  width: 188px;
  height: 44px;
  margin-bottom: 10px;
}

.footer-slogan {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #2c506f;
}

.footer-desc {
  max-width: 420px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.85;
  color: #5d7a94;
}

.footer-title {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 700;
  color: #24455f;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13.5px;
}

.footer-links a {
  color: #4f6d87;
}

.footer-links a:hover {
  color: var(--yy-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  font-size: 13px;
  color: #557390;
}

.footer-about a {
  color: #2f6699;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom {
  background: rgba(200, 222, 244, 0.55);
  border-top: 1px solid #cfe2f2;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 18px;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 12.5px;
  color: #5d7a94;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yy-deep);
  color: #fff;
  box-shadow: 0 10px 24px rgba(30, 78, 121, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--yy-transition), transform var(--yy-transition), visibility var(--yy-transition), background var(--yy-transition);
}

.back-top:hover {
  background: var(--yy-deep-2);
  color: #fff;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top .icon {
  font-size: 19px;
}

/* 轻提示(分享复制) */
.ui-toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 120;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(20, 42, 62, 0.92);
  color: #fff;
  font-size: 13.5px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--yy-transition), transform var(--yy-transition);
}

.ui-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ------------------------------- 8. 404 --------------------------------- */
.simple-header {
  background: var(--yy-white);
  border-bottom: 1px solid var(--yy-line);
}

.simple-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.simple-link {
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--yy-deep);
  color: #fff;
  font-size: 13.5px;
}

.simple-link:hover {
  color: #fff;
  filter: brightness(1.08);
}

.notfound {
  display: grid;
  place-items: center;
  min-height: 54vh;
  padding: 56px 0;
}

.notfound-card {
  max-width: 540px;
  padding: 0 20px;
  text-align: center;
}

.notfound-code {
  font-size: clamp(76px, 14vw, 122px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 6px;
  color: var(--yy-brand);
  text-shadow: 0 6px 0 rgba(169, 200, 230, 0.35);
}

.notfound-title {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--yy-ink);
}

.notfound-text {
  margin: 10px 0 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--yy-muted);
}

.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
}

.btn-primary {
  background: var(--yy-deep);
  color: #fff;
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.08);
}

.btn-ghost {
  border: 1px solid var(--yy-line);
  background: var(--yy-white);
  color: var(--yy-deep);
}

.btn-ghost:hover {
  background: var(--yy-brand-soft);
  border-color: var(--yy-brand-strong);
}

/* ---------------------------- 9. 响应式布局 ----------------------------- */
@media (max-width: 1080px) {
  .content-grid,
  .category-layout {
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 20px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  }

  .hero-content {
    padding: 24px 26px 28px;
  }

  .hot-panel {
    padding: 18px 18px 8px;
  }

  .news-grid {
    gap: 16px;
  }

  .promo-card {
    grid-template-columns: 40% 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-carousel {
    aspect-ratio: 16 / 8.6;
    height: auto;
    min-height: 0;
  }

  .hot-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
  }

  .hot-list li + li {
    border-top: 0;
  }

  .hot-list li {
    border-bottom: 1px dashed var(--yy-line);
  }

  .content-grid,
  .category-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .content-grid > .sidebar,
  .category-layout > .sidebar {
    position: static;
    top: auto;
  }

  .news-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --yy-gutter: 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand-logo {
    width: 164px;
    height: 38px;
  }

  .search-form {
    flex: 1 1 100%;
    width: 100%;
    height: 42px;
  }

  .search-form button {
    height: 34px;
    padding: 0 16px;
  }

  .channel-item {
    padding: 7px 14px;
    font-size: 14px;
  }

  .hero {
    margin-top: 18px;
  }

  .hero-carousel {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hero-content {
    padding: 16px 16px 20px;
  }

  .hero-badge {
    margin-bottom: 8px;
    padding: 3px 10px;
    font-size: 11px;
  }

  .hero-title {
    max-width: 100%;
    font-size: 20px;
  }

  .hero-meta {
    margin-top: 8px;
    gap: 8px 10px;
    font-size: 11.5px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-dots {
    right: 12px;
    bottom: 10px;
  }

  .section {
    margin-top: 28px;
  }

  .section-title {
    font-size: 20px;
  }

  .lead-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .lead-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .lead-body {
    padding: 20px 20px 22px;
  }

  .lead-title {
    font-size: 21px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .news-card-body {
    padding: 13px 14px 14px;
  }

  .news-card-title {
    font-size: 15.5px;
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-card {
    grid-template-columns: 40% 1fr;
  }

  .page-band {
    padding-bottom: 22px;
  }

  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .page-count strong {
    font-size: 26px;
  }

  .article-meta {
    gap: 8px 14px;
  }

  .article-body {
    font-size: 16.5px;
    line-height: 1.9;
  }

  .article-body h2 {
    font-size: 20px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 30px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .topbar-slogan {
    display: none;
  }

  .topbar-inner {
    justify-content: flex-start;
  }

  .hero-carousel {
    border-radius: 12px;
  }

  .hot-panel {
    padding: 16px 16px 6px;
    border-radius: 12px;
  }

  .hot-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .hot-list li:last-child {
    border-bottom: 0;
  }

  .news-grid,
  .news-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .news-card {
    border-radius: 12px;
  }

  .news-card-cover {
    aspect-ratio: 16 / 9;
  }

  .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-cover {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .section-head {
    align-items: center;
  }

  .page-item {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .article-shell {
    padding: 18px 16px 22px;
    border-radius: 14px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.9;
  }

  .article-body img {
    border-radius: 8px;
  }

  .article-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .related {
    margin-top: 26px;
  }

  .back-top {
    right: 14px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------- 10. 动效与可访问性 -------------------------- */
@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 print {
  .topbar,
  .site-header,
  .channel-nav,
  .site-footer,
  .back-top,
  .related,
  .share-btn {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .article-shell {
    max-width: none;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
