/* 基础 */
/* ===== 全局防止页面被撑宽 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,body{
  max-width:100%;
  overflow-x:hidden;
}

/* 图片永远不超过屏幕 */
img{
  max-width:100%;
  height:auto;
}

/* 长文字强制换行 */
p,span,a,li,td,th{
  word-break: break-word;
  overflow-wrap: break-word;
}

body {
    margin:0;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    
}


.hero{
    position: relative;
    height: 80vh;
    min-height: 600px;
    color: #fff;
    margin-bottom: 30px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url(../images/bg.webp) center/cover no-repeat;
}

.falling-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.leaf {
    position: absolute;
    top: -10%;
    width: 48px;
    height: 48px;
    background: url(../images/leaf.png) center/contain no-repeat;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    100% {
        transform: translateX(80px) translateY(120vh) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px;
    padding-bottom: 200px;
}

.download-bar {
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);

    display: flex;
    gap: 24px;

    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(10px);
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.15);
}

.download-item.mobile {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.download-text strong {
    font-size: 16px;
    display: block;
}

.download-text span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* 下载二维码 */
.download-qrcode {
    width: 96px;
    height: 96px;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.download-qrcode img {
    width: 100%;
    height: 100%;
}

.mobile-btn {
    display: none;
}

.download-item.pc {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* 垂直居中 */
     gap: 6px;
}

.download-item.pc strong {
    font-size: 16px;
}

.download-item.pc span {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.download-btn {
    display: inline-block;
    text-align: center;
    padding: 10px 0;
    background: linear-gradient(135deg, #c9a063, #b48b50);
    color: #000;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
}

.download-btn:hover {
    filter: brightness(1.1);
}


.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}



 
/* header */

.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #222;
    color: #fff;
}

.header a {
    /* 页眉内的链接颜色设置，去除下划线，并设置左边距 */
    color: #fff;
    margin-left: 20px;
    text-decoration: none;
}

.header a:hover {
    text-decoration: underline;
}

.header a:active,
.header a:focus {
    opacity: 0.7;
}
/* 当导航链接被点击后 */
.header a.active {
    font-weight: bold;
    border-bottom: 2px solid #fff;
}


.header .container{
    /* 页眉内的容器采用弹性布局，内容两端对齐并居中 */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.6 ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 10px 15px; 
    cursor: pointer;
    border-radius: 4px;
    font-size:18x;
    z-index: 2;
}

.banner-prev {
    left: 10px;
}

.banner-next {
    right: 10px;
}


.banner-slide img {
    width: 100%;
    border-radius: 8px;
    display: block;
    margin-bottom: 15px;
}


/* 轮播/新闻区 */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
}


.news-box {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0;              /* 🔥 关键 */
}

/* 标题强化 */
.news-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 12px;

    text-align: left;
}

.news-title::after {
    display: none;
}

.news-more {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    white-space: nowrap;
}

.news-more:hover {
    color: #000;
}

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

.news-list li {
    border-bottom: 1px dashed #eee;
}

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


.news-list li a {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 0;
    color: #333;
    text-decoration: none;
}

.news-list li a:hover {
    background: rgba(0,0,0,0.03);
}


.news-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 2px 8px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;

    color: #c9a063;
    border: 1px solid rgba(201,160,99,0.6);
    border-radius: 4px;
}

.tag-notice {
    color: #c9a063;
    border-color: rgba(201,160,99,0.6);
}

.tag-update {
    color: #c9a063;
    border-color: rgba(90,141,238,0.6);
}

.tag-event {
    color: #c9a063;
    border-color: rgba(95,168,123,0.6);
}

.home-media {
    padding: 60px 0;
    background: #f7f7f7; /* 或 #fff，看你整体风格 */
}

.news-inner {
    padding: 10px 24px;
}

/* 游戏资料 */
.game-info-short {
  background: #f7f7f7;
  padding: 60px 20px;
}

.game-info-container {
  max-width: 1100px;
  margin: 0 auto;
}

.game-info-title {
  font-size: 22px;
  margin-bottom: 30px;
  position: relative;
}

.game-info-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #c9a063;
  margin-top: 10px;
}

.game-short-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.game-short-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  color: #222;
}

.game-short-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.doc-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.doc-group {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 24px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.doc-group:hover {
    transform: translateY(-4px);
    border-color: rgba(201,160,99,0.6);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.doc-group-title {
  font-size: 18px;
  margin-bottom: 12px;
  position: relative;
}

.doc-group-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: #c9a063;
  margin-top: 8px;
}

/* 资料区 小模块控制文章数量 */
.doc-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px 12px;
}

.doc-links a {
  font-size: 14px;
  text-align: center;
  padding: 6px 4px;
  color: #444;
  text-decoration: none;
  border-radius: 4px;
}

.doc-links a:hover {
  color: #c9a063;
  background: rgba(201,160,99,0.08);
}


/* 游戏截图 */

/* 模块整体 */
.game-screens {
    padding: 60px 0;
    background: #f7f7f7;
}

/* 截图布局 */
.screens-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* 单张截图卡片 */
.screen-item {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.screen-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screen-item:hover img {
    transform: scale(1.05);
}

/* 客服专区 */
.service-area {
    margin: 60px 0;
}

.service-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 30px 40px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.service-text h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.service-text p {
    color: #666;
    margin: 4px 0;
}

.service-tip {
    color: #999;
    font-size: 14px;
}

.service-qrcode {
    text-align: center;
}

.service-qrcode img {
    width: 120px;
    height: 120px;
}

.service-qrcode span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.service-qrcodes {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: nowrap;   /* 核心：禁止换行 */
}
/* 客服专区结束 */

/* 游戏截图开始 */
.game-gallery {
    padding: 60px 0;
    background: #f7f7f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    display: block;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;   /* 统一比例 */
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* 关键：裁切，不拉伸 */
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 灯箱遮罩 */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* 显示状态 */
.lightbox.show {
    display: flex;
}

/* 内部容器 */
.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

/* 放大图片 */
.lightbox-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* 关闭按钮 */
.lightbox-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 24px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    cursor: pointer;
}
/* 游戏截图结束 */


.footer {
    background: #111;
    color: #aaa;
    padding: 40px 0;
    font-size: 14px;
}

.footer-inner {
    text-align: center;
}

.footer-sub {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

/* =====================
   Section 通用规范
===================== */

.section {
    padding: 10px 0;
}

.section.light {
    background: #f7f7f7;
    padding: 10px 10px;
}

.section.dark {
    background: #111;
    color: #fff;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    line-height: 1.2;
}

.section-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #c9a063;
    margin-top: 10px;
}

.section-sub {
    display: block;
    font-size: 13px;
    font-weight: normal;
    color: #999;
    margin-top: 6px;
}

/* 标题 + 更多 的统一容器 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}


/* 查看更多（右侧） */
.section-more {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    white-space: nowrap;
}

.section-more:hover {
    color: #c9a063;
}

/* 小区块标题 */
.section-header.small {
    margin-bottom: 12px;
}

.section-title.small {
    font-size: 18px;
}

.section-title.small::after {
    width: 28px;
    margin-top: 6px;
}

.footer-record {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

.footer-record a {
    color: #666;
    text-decoration: none;
}

.footer-record a:hover {
    color: #c9a063;
}

.animate-in .game-title,
.animate-in .game-slogan,
.animate-in .download-cards {
    opacity: 0;
    transform: translateY(32px) scale(0.96);
}


@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.animate-in .game-title {
    animation: fadeUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
    font-size: 38px;
    
    font-family: "KaiTi", "STKaiti", "Microsoft YaHei", sans-serif;
    color: #F5F5F5; /* 米白，比纯白柔和 */
    text-shadow: 
        1px 1px 2px rgba(0,0,0,0.6); /* 柔和阴影，比硬描边自然 */
    letter-spacing: 2px;
}

.animate-in .game-slogan {
    animation: fadeUp 0.6s ease-out forwards;
    animation-delay: 0.25s;

    font-size: 30px;
    
   font-family: "KaiTi", "STKaiti", "Microsoft YaHei", sans-serif;
    color: #F5F5F5; /* 米白，比纯白柔和 */
    text-shadow: 
        1px 1px 2px rgba(0,0,0,0.6); /* 柔和阴影，比硬描边自然 */
    letter-spacing: 2px;
}

.animate-in .download-cards {
    animation: fadeUp 0.6s ease-out forwards;
    animation-delay: 0.4s;
}

/* ===== 分类页 ===== */

.page-header {
  padding: 40px 0 28px;
  background: #fafafa; /* 很浅，不破坏首页 */
  border-bottom: 1px solid #eee;
}

.page-title {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 12px;
}

.page-desc {
  font-size: 14px;
  color: #666;
  max-width: 760px;
}

.content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* 列表 */
/* 列表整体 */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 单条卡片 */
.list-item {
    display: block;
    padding: 16px 20px;
    border-radius: 8px;
    background: #fff;

    text-decoration: none;
    color: #222;

    border: 1px solid #e5e5e5;
    transition: 
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

/* 访问过也不变色 */
.list-item:visited {
    color: #222;
}

.list-item:hover {
    background: #faf8f3;
    border-color: #c9a063;
    transform: translateY(-2px);
}

/* 只强调标题 */
.list-item:hover .item-title {
    color: #c9a063;
}

/* 点击时 */
.list-item:active {
    transform: translateY(0);
}

.item-title {
  color: #cfae70;
}

.item-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
}

.item-desc {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.item-meta {
    font-size: 12px;
    color: #999;
}

/* 右侧 */
.side-box {
  padding: 20px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
}

.side-box h3 {
  margin-bottom: 12px;
  font-size: 16px;
}

.side-box a {
  display: block;
  padding: 6px 0;
  color: #555;
}

.side-box a:hover {
  color: #cfae70;
}

/* 分类 Tabs（移动端可横向滑动） */
.category-tabs {
  display: flex;
  gap: 12px;

  margin-top: 20px;
  padding-bottom: 6px;

  overflow-x: auto;
  overflow-y: hidden;

  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
}

/* 隐藏滚动条（不影响滑动） */
.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tabs .tab {
  flex-shrink: 0;

  padding: 8px 14px;
  font-size: 14px;

  border-radius: 999px;
  background: #f3f3f3;
  color: #333;

  text-decoration: none;
  white-space: nowrap;
}

.category-tabs .tab.active {
  background: #c9a063;
  color: #fff;
}

/* ===== 加载更多 ===== */

.load-more-wrap {
  text-align: center;
  margin-top: 24px;   /* 只和文章隔一点点 */
  padding-bottom: 8px;
}

.load-more-btn {
  background: none;
  border: none;
  color: #cfae70;
  font-size: 14px;
  cursor: pointer;
}

.load-more-btn:hover {
  text-decoration: underline;
}

.load-more-tip {
  margin-top: 12px;
  font-size: 13px;
  color: #aaa;
}

.fade-in {
  animation: fadeUp .3s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* 分类结束 */


.menu-toggle {
  display: none;
}
.mobile-menu {
  position: fixed;
  top: 56px; /* header 高度 */
  left: 0;
  right: 0;

  background: #fff;
  border-top: 1px solid #eee;

  display: none;
  flex-direction: column;

  z-index: 1000;
}

.mobile-menu a {
  padding: 14px 20px;
  border-bottom: 1px solid #f0f0f0;

  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.mobile-menu a:active {
  background: #f6f6f6;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-pc {
  display: flex;
  gap: 24px;
}

.site-title {
  margin: 0;
  font-size: 20px;
}

/* 默认 PC */
.title-mobile {
  display: none;
}

.article {
  flex: 1;
  min-width: 0;
}


.article-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  display: flex;
  gap: 20px;
}
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  font-size: 14px;
}

.article-nav a {
  color: #666;
  text-decoration: none;
}

.article-nav a:hover {
  color: #c9a063;
}

/*详情页*/
.newsList {
  padding-top: 12px;
}

.newsList::before {
  content: "";
  display: block;
  height: 1px;
  background: #eee;
  margin-bottom: 24px;
}

.article-content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}

.article-content * {
  max-width: 100%;
  box-sizing: border-box;
}

.article-content p {
  margin-bottom: 1.1em;
  line-height: 1.85;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  margin: 1.6em 0 0.8em;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
}

.article-content h1 { font-size: 22px; }
.article-content h2 { font-size: 20px; }
.article-content h3 { font-size: 18px; }
.article-content h4 { font-size: 16px; }

.article-content strong {
  position: relative;
  padding-left: 10px;
  font-weight: 600;
  color: #111;
}

/* 小竖条 */
.article-content strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 4px;
  height: 1em;
  background: #f0c24b; /* 黄色竖条 */
  border-radius: 2px;
}

.article-content img {
  width:auto;
  max-width:100%;
  height:auto;
  
  margin: 1em auto;
  border-radius: 6px;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 14px;
  background: #fff;
}

/* 表头 */
.article-content th {
  background: #f5f0e6;   /* 第一行浅金色 */
  color: #333;
  font-weight: 600;
  padding: 10px 12px;
  border: 1px solid #e6e2d8;
}

/* 表格内容 */
.article-content td {
  padding: 10px 12px;
  border: 1px solid #eee;
  vertical-align: top;
}

/* 隔行变色 */
.article-content tr:nth-child(even) td {
  background: #fafafa;
}

/* hover 轻微提示（桌面端） */
@media (min-width: 769px) {
  .article-content tr:hover td {
    background: #fff7e3;
  }
}

/* 手机端不炸 */
@media (max-width: 768px) {
    .article-content {
  width:100%;
  max-width:760px;
  font-size:16px;
  line-height:1.85;
}

.article{
  min-width:0;
}

  .article-content table{
  display:block;
  overflow-x:auto;
  width:100%;
}

.article-content tbody{
  display:table;
  width:100%;
}
}

.article-content ul,
.article-content ol {
  padding-left: 1.4em;
  margin: 0 0 1em;
}

.article-content li {
  margin-bottom: 0.4em;
}

.article-content blockquote {
  margin: 1.2em 0;
  padding: 0.8em 1em;
  background: #f9f7f3;
  border-left: 4px solid #c9a063;
  color: #555;
}

.article-content a {
  color: #c9a063;
  text-decoration: none;
}

.article-content a:hover {
  text-decoration: underline;
}

.content-side {
  width: 240px;
  flex-shrink: 0;
}

.side-box {
  padding-left: 16px;
  border-left: 2px solid #eee;
}

.side-box h3 {
  font-size: 15px;
  margin-bottom: 12px;
  color: #222;
}

.side-box a {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  text-decoration: none;
}

.side-box a:hover {
  color: #c9a063;
}

.page-header {
  padding: 36px 0 24px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}

.breadcrumb {
  font-size: 13px;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.75);
}

.breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #c9a063;
}

.breadcrumb span {
  margin: 0 6px;
}

.page-hero {
  background: url(../images/nrbg.webp) center/cover no-repeat;
  padding: 70px 0 60px;
  position: relative;
  color: #fff;
}

/* 暗色遮罩 */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}
/* 手机端 */
@media (max-width: 768px) {
    
    .page-hero {
  background: url(../images/nrbg.webp) center/cover no-repeat;
  padding: 70px 0 15px;
  position: relative;
  color: #fff;
}
 
     .content-grid {
    flex-direction: column;
  }


  .content-side {
    width: 100%;
    margin-top: 32px;
    border-left: none;
  }

  .side-box {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #eee;
    padding-top: 16px;
  }

  .article {
    padding: 20px;
  }
     .title-pc {
    display: none;
  }

  .title-mobile {
    display: inline;
    font-size: 18px;
    white-space: nowrap;
  }
  .header-inner {
    flex-direction: row !important; /* ← 强制一行 */
  }

  .header h1 {
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
  }

  .nav-pc {
    display: none !important;

  }

   .menu-toggle {
    display: block;
    font-size: 22px;
    color: #fff;
    background: none;
    border: none;
  }

    .content-grid {
    grid-template-columns: 1fr;
  }

  .content-side {
    display: none;
  }

    .container {
        padding: 0;
        
    }

     .header .container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

    .header h1 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 8px;
  }

    .header {
        padding: 18px 18px;
    }

      .header nav {
    display: flex;
    gap: 12px;
    padding-top: 8px;
  }

     .header nav a {
    font-size: 14px;
    padding: 4px 0;
  }

    .main{
        padding: 0;
    }

    .hero{
        height: 800px;
        min-height: unset;
        margin-bottom: 24px;
    }

    .hero-content{
        padding-top: 120px;
        padding-bottom: 300px;
        text-align: center;
    }

    .download-cards{
        position: absolute;
        left: 50%;
        bottom: 80px;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .download-card {
        width: 260px;
    }

    .download-card.pc {
        width: 280px;
    }

    .qrcode {
        display: none;
    }

    .hero-bg {
        background-image: url(../images/mbg.webp);
        background-position: center top;
    }


    .banner, .news-list {
        width: 100%;
    }

    .banner-slide img {
        width: 100%;
        margin-bottom: 15px;
        height: auto;
    }


    .news-list ul li {
        margin-bottom: 10px; 
    }

    .banner-prev,
    .banner-next {
        display: none;
    }

    .news-date {
        display: none;
    }


  .game-short-cards {
        grid-template-columns: repeat(2, 1fr);
        /* gap: 12px; */
    }

    .doc-groups {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .doc-links {
        grid-template-columns: repeat(3, 1fr);
    }


    .media-banner {
        aspect-ratio: 16/9;
    }

     .media-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .media-grid > * {
        min-width: 0;
    }

    .media-banner {
        aspect-ratio: 16 / 9;
    }

   .news-box {
    /* padding: 16px; */
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    box-shadow: none;
    box-sizing: border-box;
  }

  .news-title {
        font-size: 16px;
    }

    .news-more {
        font-size: 13px;
        white-space: nowrap;
    }

     .news-list a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .news-text {
    font-size: 14px;
  }

  .news-date {
    font-size: 12px;
  }

  .screens-wrap {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .screen-item {
        flex: 0 0 70%;
    }

    .screens-wrap::-webkit-scrollbar {
        display: none;
    }
    /* 关闭落叶 */
    /*.falling-leaves {*/
    /*    display: none;*/
    /*}*/

    /* 下载 */
    .download-bar {
        flex-direction: column;
        width: 90%;
        padding: 16px;
    }

    .download-item.mobile {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .download-qrcode {
        display: none;
    }

     .download-item.pc {
        display: none;
    }

    .mobile-btn {
    margin-top: 12px;
    display: inline-block;
    width: 100%;
}

    .download-btn {
        width: 100%;
    }
    /* 下载结束 */

    /* 客服专区 */
     .service-box {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .service-qrcode img {
        width: 140px;
        height: 140px;
    }

    /* 客服专区结束 */

 .gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .gallery-item {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  .gallery-item img {
    width: 100%;
    border-radius: 8px;
  }

  /* 隐藏滚动条（可选） */
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }
    .section {
  background: #fff;
  padding: 10px 0;
}
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

     .doc-group:hover {
        transform: none;
        box-shadow: none;
        border-color: #e5e5e5;
    }

    /* 隐藏pc分类 */
    .sidebar,
    .right-category {
        display: none;
    }

     .category-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .category-tabs .tab {
        flex-shrink: 0;
    }

}


/* PC 端：隐藏手机下载按钮（只隐藏按钮本身） */
@media (min-width: 769px) {
    .download-btn.mobile-btn {
        display: none;
    }
     .header-inner {
    min-height: 64px;
  }

  .nav-pc {
    display: flex;
    gap: 24px;
  }

  .menu-toggle {
    display: none;
  }
}

