body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top, #2a2018 0, #17100c 55%, #0e0a07 100%);
  color: #f7ebc9;
  -webkit-font-smoothing: antialiased;
}

/* 列表页：内容不足一屏时让底部贴底，避免 footer 下方留大块空白 */
body.list-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.list-page .footer {
  margin-top: auto;
}

/* 详情页：内容不足一屏时同样贴底 */
body.show-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.show-page .footer {
  margin-top: auto;
}

/* 参考页风格顶部栏目导航（列表页/详情页），与 .card / 顶栏同色系统一 */
.m-ref-nav {
  margin: 8px 10px 0;
  background: rgba(12, 9, 7, 0.72);
  border: 1px solid rgba(255, 218, 141, 0.38);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  padding: 0 8px;
}

.m-ref-nav__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 28px;
  align-items: center;
}

.m-ref-nav__item {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0;
  text-align: center;
  color: #e0cfaa;
  font-size: 14px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m-ref-nav__toggle {
  flex: 0 0 auto;
  width: 28px;
  height: 40px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m-ref-nav__arrow {
  width: 11px;
  height: 11px;
  border-right: 2px solid rgba(255, 218, 141, 0.75);
  border-bottom: 2px solid rgba(255, 218, 141, 0.75);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.2s ease;
}

.m-ref-nav__toggle--up .m-ref-nav__arrow {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.m-ref-nav__more {
  display: none;
  grid-template-columns: repeat(4, 1fr) 28px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.m-ref-nav--open .m-ref-nav__more {
  display: grid;
}

.m-ref-nav__more .m-ref-nav__item {
  width: 100%;
  padding: 0;
  text-align: center;
}

.m-ref-nav__item:active {
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
}

.m-ref-nav__toggle--up {
  display: none;
}

.m-ref-nav--open .m-ref-nav__toggle--down {
  display: none;
}

.m-ref-nav--open .m-ref-nav__toggle--up {
  display: flex;
}

.m-breadcrumb {
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  padding: 10px 12px;
  font-size: 12px;
  color: #7f8ca3;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-breadcrumb a {
  color: #7f8ca3;
}

a {
  text-decoration: none;
  color: inherit;
}

a:active {
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  padding: 0 12px;
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  background: linear-gradient(90deg, #342114, #5a3a1d);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo__img {
  width: auto;
  height: auto;
  max-height: none;
  margin-right: 0;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
  display: block;
}

.header-logo__text {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffe28d;
}

.header-logo__sub {
  font-size: 11px;
  color: #d7c5a0;
}

.header-btn {
  padding: 7px 14px;
  font-size: 13px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  box-shadow: 0 0 10px rgba(255, 217, 140, 0.45);
  font-weight: 600;
}

.header-btn:active {
  transform: scale(0.97);
}

.header-placeholder {
  height: 52px;
}

/* 顶部轮播 */
.hero {
  position: relative;
}

.hero-swiper {
  border-radius: 0 0 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}

.hero-swiper .swiper-wrapper {
  display: flex;
  transition: transform 0.4s ease;
}

.hero-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

.hero-swiper .swiper-slide a {
  display: block;
  width: 100%;
}

.hero-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-swiper .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.hero-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #f7d36b;
}

.hero-age-badge {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 48px;
  height: auto;
  display: block;
  z-index: 3;
  pointer-events: none;
}

/* 首页最新新区条 */
.latest-zone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 12px 0;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 218, 141, 0.38);
  background: linear-gradient(180deg, rgba(73, 53, 36, 0.95), rgba(43, 30, 20, 0.95));
  color: #f8ecd0;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.28);
}

.latest-zone__horn-wrap {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.latest-zone__horn-svg {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.latest-zone__badge {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff6c61, #e64137);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.latest-zone__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: #ffe9b0;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.latest-zone:active {
  transform: scale(0.99);
}

/* 功能导航 */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 6px;
  padding: 14px 12px 10px;
  background: radial-gradient(circle at top, #3a2616 0, #1b140f 55%, #100c08 100%);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 9px 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 211, 107, 0.26);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.nav-item__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: #b49b7c;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.nav-item__icon-img {
  width: 32px;
  height: 32px;
  display: block;
}

/* 导航图标配色：统一金橙渐变（亮 #ffe7b6 / 暗 #d89835） */
.nav-item--home .nav-item__icon,
.nav-item--news .nav-item__icon,
.nav-item--notice .nav-item__icon,
.nav-item--event .nav-item__icon,
.nav-item--data .nav-item__icon,
.nav-item--guide .nav-item__icon,
.nav-item--forum .nav-item__icon,
.nav-item--service .nav-item__icon {
  background: linear-gradient(180deg, #ffe7b6 0%, #d89835 100%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 231, 182, 0.4);
}

.nav-item__text {
  font-size: 14px;
  color: #f8ecd0;
  white-space: nowrap;
}

.nav-item:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 239, 170, 0.9);
}

/* 公共板块样式 */
.section {
  padding: 14px 12px 8px;
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.section__title {
  font-size: 18px;
  font-weight: 700;
  position: relative;
  padding-left: 10px;
}

.section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 70%;
  transform: translateY(-50%);
  border-radius: 2px;
  background: linear-gradient(180deg, #ffe9b0, #c8871f);
}

.section__more {
  font-size: 14px;
  color: #ddc9a2;
}

/* 首页：栏目名称居中 + 两侧装饰线（仅首页生效） */
body.home-page .section__header {
  position: relative;
  justify-content: center;
  margin-bottom: 10px;
}

body.home-page .section__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #d4a85a;
  letter-spacing: 2px;
  padding: 4px 14px;
  text-align: center;
}

body.home-page .section__title::before {
  left: -82px;
  width: 70px;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(255, 233, 176, 0), rgba(255, 233, 176, 0.85));
}

body.home-page .section__title::after {
  content: "";
  position: absolute;
  right: -82px;
  top: 50%;
  width: 70px;
  height: 1px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, rgba(255, 233, 176, 0.85), rgba(255, 233, 176, 0));
}

body.home-page .section__more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.card {
  border-radius: 10px;
  background: rgba(12, 9, 7, 0.72);
  border: 1px solid rgba(255, 218, 141, 0.38);
  padding: 8px 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.55);
}

/* 新闻板块 */
.news-tabs {
  display: flex;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  padding: 2px;
  margin-bottom: 8px;
}

.news-tab {
  flex: 1;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #e0cfaa;
  border-radius: 999px;
}

.news-tab--active {
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  font-weight: 600;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #f8edd0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item__tag {
  min-width: 36px;
  padding: 2px 6px;
  text-align: center;
  font-size: 13px;
  color: #3b1f0e;
  margin-right: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.news-item__title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-item__date {
  margin-left: 6px;
  color: #b0956a;
  font-size: 11px;
  white-space: nowrap;
}

.news-panel {
  display: none;
}

.news-panel--active {
  display: block;
}

/* 游戏资料 */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.data-item {
  border-radius: 8px;
  overflow: hidden;
  background: #241712;
  border: 1px solid rgba(255, 218, 141, 0.38);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.55);
  min-width: 0;
}

.data-item__thumb {
  /* 略增高：同样原图在更高区域里缩放比略小，小字略好认（仍远小于原图视觉尺寸） */
  height: 160px;
  overflow: hidden;
  background: #241712;
}

.data-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.data-item__body {
  padding: 6px;
  font-size: 14px;
  color: #f8ecd0;
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 成长攻略 */
.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-item {
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.guide-item:last-child {
  border-bottom: none;
}

/* 职业展示 */
.job-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 10px;
}

.job-tab {
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 218, 141, 0.7);
  background: rgba(0, 0, 0, 0.18);
  color: #f8ecd0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.job-tab--active {
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  border-color: rgba(210, 140, 34, 0.9);
  box-shadow: 0 0 10px rgba(255, 217, 140, 0.35);
}

.job-tab:active {
  transform: scale(0.99);
}

.job-swiper {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 218, 141, 0.4);
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.job-swiper .swiper-wrapper {
  display: flex;
  transition: transform 0.4s ease;
}

.job-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

.job-slide {
  position: relative;
  background: #1b140f;
}

.job-slide__img {
  width: 100%;
}

.job-slide__tag {
  position: absolute;
  left: 10px;
  top: 8px;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 232, 167, 0.9);
  display: none;
}

/* 职业展示分页小圆点（金黄色） */
.job-swiper .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.job-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.job-swiper .swiper-pagination-bullet-active {
  background: #f7d36b;
}

/* 游戏视频 */
.video-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.video-item {
  border-radius: 8px;
  overflow: hidden;
  background: #241712;
  border: 1px solid rgba(255, 218, 141, 0.38);
  font-size: 11px;
  color: #f8ecd0;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.55);
}

.video-item__thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.video-item__thumb::after {
  content: none;
}

.video-item__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.video-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 覆盖通用 img 规则，单独控制播放按钮大小 */
.video-item__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%);
}

.video-item__tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 232, 167, 0.9);
  font-size: 10px;
  color: #ffe4a0;
  display: none;
}

.video-item__body {
  padding: 6px;
  font-size: 14px;
}

/* 版本回顾 */
.version-swiper {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 218, 141, 0.4);
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.version-swiper .swiper-wrapper {
  display: flex;
  transition: transform 0.4s ease;
}

.version-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
}

.version-slide {
  height: 180px;
  width: 88%;
  margin: 0 auto;
  overflow: hidden;
  background: #241712;
}

.version-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 版本回顾分页小圆点（金黄色） */
.version-swiper .swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.version-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.version-swiper .swiper-pagination-bullet-active {
  background: #f7d36b;
}

/* 公众号 */
.qrcode-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 10px 12px;
  border-radius: 10px;
  background: rgba(12, 9, 7, 0.72);
  border: 1px solid rgba(255, 218, 141, 0.38);
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.55);
}

.qrcode-img {
  width: auto;
  height: auto;
  max-width: 220px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 0;
  margin-bottom: 10px;
  background: #fff;
}

.qrcode-text {
  font-size: 14px;
  color: #f8ecd0;
  line-height: 1.6;
  max-width: 320px;
  text-align: left;
}

/* 底部信息 */
.footer {
  margin-top: 16px;
  padding: 18px 16px 20px;
  font-size: 14px;
  color: #b79a6c;
  background: #0f0a06;
  border-top: 1px solid rgba(255, 218, 141, 0.25);
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.footer a {
  color: #ddc9a2;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  right: 14px;
  bottom: 70px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  outline: none;
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1200;
}

.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
}

/* 新闻列表：整行可点 */
a.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 14px;
  color: #f8edd0;
  box-sizing: border-box;
}

a.news-item:last-child {
  border-bottom: none;
}

a.news-item .news-item__title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 新闻列表底部分页 */
.list-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  padding: 12px 4px 6px;
  font-size: 12px;
  color: #b0956a;
}

.list-pagination__info {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
  flex: 0 0 100%;
}

.list-pagination__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 6px;
  flex: 0 0 100%;
}

.list-pagination__link,
.list-pagination__page {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 218, 141, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #f8ecd0;
  font-size: 12px;
}

.list-pagination__page--current {
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  font-weight: 600;
  border-color: rgba(210, 140, 34, 0.8);
}

/* 兼容 CMS 默认分页 {$pages} 输出（ul/li/a/span） */
.list-pagination ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.list-pagination li {
  margin: 0;
  color: #f8ecd0;
  font-size: 13px;
  line-height: 1;
}

.list-pagination li a,
.list-pagination li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 24px;
  padding: 0 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 218, 141, 0.45);
  background: rgba(0, 0, 0, 0.28);
  color: #f8ecd0;
  text-decoration: none;
  white-space: nowrap;
}

.list-pagination li a:hover,
.list-pagination li a:active {
  color: #ffe8b8;
  border-color: rgba(255, 232, 167, 0.85);
}

.list-pagination li span {
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  font-weight: 600;
  border-color: rgba(210, 140, 34, 0.85);
}

/* CMS 分页当前页：<li class="active"> */
.list-pagination li.active a,
.list-pagination li.active span {
  background: linear-gradient(180deg, #ffe8b8, #d28c22);
  color: #3b1f0e;
  font-weight: 600;
  border-color: rgba(210, 140, 34, 0.85);
}

/* 新闻详情 */
.article-card {
  padding: 12px 12px 16px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #ddc9a2;
}

.article-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffe9b0;
}

.article-meta {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #b0956a;
  text-align: center;
}

.article-body {
  font-size: 14px;
  line-height: 1.75;
  color: #f3e6c8;
}

.article-body p {
  margin: 0 0 12px;
}

/* 正文兼容：历史内容里的图片/表格在手机端居中显示 */
.article-body img {
  display: block;
  max-width: 100%;
  height: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.article-body table {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.article-body td img,
.article-body p img,
.article-body div img {
  margin-left: auto;
  margin-right: auto;
}

.article-body h3 {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #ffe9b0;
  line-height: 1.4;
}

.article-body h3:first-child {
  margin-top: 0;
}

.article-body a {
  color: #7ec8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}

.article-body li {
  margin-bottom: 6px;
}

/* 下载页 down_cont：共享模板内联 #403C3C 面向 PC 浅底；手机 .article-body 为深色，强制与正文同色 */
.article-body .down_cont #wei_update_time,
.article-body .down_cont #wei_game_size,
.article-body .down_cont #all_update_time,
.article-body .down_cont #all_game_size {
  color: #f3e6c8 !important;
}

.article-end {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #b0956a;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}

.article-nav__item {
  display: block;
  padding: 10px 12px;
  border: 1px solid rgba(255, 218, 141, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #f3e6c8;
  text-decoration: none;
}

.article-nav__item:active {
  background: rgba(210, 140, 34, 0.16);
}

.article-nav__label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #b0956a;
}

.article-nav__title {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #ffe9b0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-nav__title a {
  color: inherit;
  text-decoration: none;
}

/* ── 头条重点新闻 ── */
.news-headline {
  display: block;
  margin: 8px 0;
  padding: 9px 12px;
  border-radius: 4px;
  background: rgba(200, 140, 30, 0.18);
  border: none;
  text-decoration: none;
  overflow: hidden;
  text-align: center;
}

.news-headline__title {
  font-size: 14px;
  color: #e84040;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  display: block;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.news-headline:active { opacity: 0.85; }

