/* 背景图宽度 100vw，居中不重复 */
.inner-page {
    background-image: url("../images/inner-bg_01.jpg"), url("../images/inner-bg_02.jpg");
    background-repeat: no-repeat, no-repeat;
    background-size: 1920px 1101px, 1920px 1101px;
    background-position: center 0, center 1101px;
    background-color: #061403;
}

@media (min-width: 1920px) {
    .inner-page {
        background-size: 1920px 1101px, 1920px 1101px;
        background-position: center 0, center 1101px;
    }
}
.logo{
    width:255px;
    text-align:center;
    height:80px;
    padding-top:15px;
    position: absolute;
    top: 0;
    left: 120px;
    z-index: 99999!important;
}
.logo img{
    height: 80px;
    margin-top: -10px;
}

/* 主区与布局 */
.inner-hero {
    padding: 400px 24px 80px;
    position: relative;
}
.inner-layout {
    width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

/* 左侧栏 */
.inner-sidebar{
    padding-top: 0;
}
.inner-sidebar-bg{
    width: 420px;
    height: 945px;
    background: url('../images/inner-left.png') no-repeat;
    background-size: 356px 100%;
    background-position: 0 0;
    padding-top: 180px;
}
.sidebar-title {
    display: block;
    height: auto;
    margin: 30px 22% 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-list li {
    margin: 6px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: -2%;
    margin-top: 20px;
}
.sidebar-list a {
    display: inline-block;
    width: 46%;
    margin: auto;
    padding: 6px 10px;
    color: #eaf5e1;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 16px;
}

/* 左侧菜单选中态：与 hover 保持相同视觉基调 */
#sidebar-tabs a.active,
.inner-sidebar .sidebar-list a.active {
    background: #000000;
    padding: 6px 10px;
    border-radius: 30px;
    color: #86D112;
}

/* 新闻列表固定高度与滚动，避免与分页器重叠（列表在上，分页在下） */
#news-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.news-list {
    flex: 1;
    list-style: none;
    height: 840px;
}
.news-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;

    text-overflow: ellipsis;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);;
    padding: 6px 0;
    text-decoration: none;
}
.news-list li a:last-child { 
    border-bottom: none;
}
.news-list li a .content {
    color: #333;
    max-width: 72%;

    text-overflow: ellipsis;
}
.news-list li a .date {
    margin-left: auto;
    color: #B0B0B0;
}
.news-list li a:hover .content {
    color: #1976d2;
}
.pager {
    padding-top: 20px;
    background: transparent;
}

/* 攻略按钮组（参考截图样式） */
.guide-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
.guide-btn {
    padding: 10px 24px;
    border-radius: 10px;
    background: #1F7637;
    color: #fff;
    font-weight: bold;
    border: 1px solid black;
    cursor: pointer;
    transition: all .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.guide-btn:hover {
    filter: brightness(1.1);
}
.guide-btn.active {
    background: #1F9E47;
    border-color: #A9ED44;
    color: #fff;
}
#guide-detail .detail-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 6px 0;
}
#guide-detail .detail-meta {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}
#guide-detail .detail-content {
    color: #fff;
    line-height: 1.8;
}

/* 下载中心黄色卡片与区块（参考第二张图） */
#download-section .download-card {
    border-radius: 12px;
    color: #fff;
    margin-bottom: 16px;
}
#download-section .download-title-box {
   width: 299px;
   height: 88px;
   background: url('../images/inner-download-iocn.png') no-repeat;
   background-size: 100% 100%;
}
#download-section .download-title-box:hover{
    opacity: 0.8;
}
#download-section .download-meta {
    line-height: 14px;
    font-size: 10px;
    text-align: left;
}
.faq-title {
    font-size: 18px;
    color: #2e7c4b;
    margin: 12px 0;
}
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.faq-list li:last-child {
    border-bottom: none;
}

/* 保持卡片区域整体高度支持滚动（与现有内层布局一致） */
.inner-content {
    margin-left: 7%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin-bottom: 38px;
}

/* 详情内容区域滚动样式 */
.content-section {
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
}

/* 新闻详情滚动容器 */
#article-detail {
    height: auto;
    overflow-y: auto;
    box-sizing: border-box;
}

/* 攻略详情滚动容器 */
#game-guide-section {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#game-guide-section .guide-detail {
    flex: 1;
    overflow-y: auto;
    box-sizing: border-box;
}
.guide-toolbar {
    width: 749px;
    margin-left: 5%;
    margin-bottom: 12px;
    padding:0 12px;
}

/* 下载中心滚动容器 */
#download-section {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
    box-sizing: border-box;
}

/* 壁纸下载滚动容器 */
#wallpaper-section {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
    box-sizing: border-box;
}
/* 在背景容器作用域内，限制子内容宽度并清除右侧额外外边距，防止溢出 */
.inner-right-bg .inner-content {
    margin-right: 0;
    width: 87%;
    box-sizing: border-box;
    min-height: 936px;
}

.right-title{
    width: 85%;
    display: flex;
    justify-content: space-between;
    color: #065707;
    font-size: 12px;
    line-height: 32px;
    padding-top: 30px;
    margin-left: 7%;
}
/* 在背景容器作用域内，限制标题区域宽度，避免超出 */
.inner-right-bg .right-title {
    max-width: 100%;
    box-sizing: border-box;
}
/* 右侧标题区右边距在背景容器内清零，避免贴边溢出 */
.inner-right-bg .right-title-right{
    margin-right: 0;
}
.right-title-left{
    margin-left: 10px;
    font-size: 20px;
}
.right-title-left-text{
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    margin-top: 10px;
}
.right-title-right{
    margin-right: 48px;
    line-height: 60px;
    color: #cfcfcf;
    font-size: 16px;
}
.inner-right-bg .right-title-right a{
    color: #cfcfcf;
    text-decoration: none;
}
#breadcrumb-title{
    color: #A9ED44;
    font-weight: 600;
}
.inner-right-bg .right-title-right a:hover{
    filter: brightness(1.1);
}

/* 内容区块统一样式 */
.content-section + .content-section {
    margin-top: 18px;
}
.section-head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}
.section-head img {
    display: block;
    width: 44px;
    height: 37px;
}
.section-head h2 {
    font-size: 18px;
    color: #2e7c4b;
    margin: 0;
    letter-spacing: 0.02em;
}

/* 下载块（若有） */
.download-block {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.12);
}
.download-title {
    width: 299px;
    height: auto;
}
.download-meta {
    color: #2a2a2a;
    line-height: 24px;
    text-indent: 1em;
    margin-top: 10px;
}

/* 常见问题列表（若有） */
.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.faq-list li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.faq-list li:last-child {
    border-bottom: none;
}
.faq-list span {
    color: #333;
}
.faq-btn {
    background: #e7f6df;
    color: #2e7c4b;
    border: 1px solid #2e7c4b;
    border-radius: 16px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.faq-btn:hover {
    background: #d6f1cd;
}

/* 配置说明（若有） */
.config-image-wrap {
    padding: 12px;
}
.config-image-wrap img {
    display: block;
    width: 90%;
    height: auto;
    margin: 0 auto;
}

/* 响应式优化 */
/* @media (max-width: 980px) {
    .inner-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-title {
        margin-left: auto;
        margin-right: auto; 
    }
} */
/* 右侧内容背景恢复（避免被其它样式覆盖时仍能显示） */
.inner-right-bg {
    position: relative;
    width: 880px;
    min-height: 1160px;
    /* background-image: url(../images/inner-content-top.png), url(../images/inner-content-middle.png), url(../images/inner-content-bottom.png);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 100% 60px, 100% 1020px, 100% 67px;
    background-position: center 0, center 60px, center 1080px; */
    position: relative;
}
.inner-mid {
    position: absolute;
    z-index: -1;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px - 67px);
    background: url(../images/inner-content-middle.png) no-repeat 0 0 / 100% 100%;
}
.inner-right-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url(../images/inner-content-top.png) no-repeat 0 0 / 100% 100%;
}
.inner-right-bg::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 67px;
    background: url(../images/inner-content-bottom.png) no-repeat 0 0 / 100% 100%;
}

/* 三个等宽盒子分别承载背景图 */
.inner-right-top {
    width: 100%;
    padding-top: 20px;
    margin-bottom: 20px;
}

.inner-right-middle {
    width: 100%;
    min-height: 780px;
    box-sizing: border-box;
}

.inner-right-bottom {
    width: 100%;
}
/* 右侧主体卡片区域（滚动） */
.inner-content {
    background: rgb(255, 255, 255);
    border-radius: 11.52px;
    padding: 19.2px;
}
/* 分页器居中显示 */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
}
.pager .faq-btn {
    min-width: 115px;
    text-align: center;
}

/* 新闻列表：左标题右日期排版 */
.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    font-size: 16px;
}
.news-list li a .content {
    color: #333;
}
.news-list li a .date {
    color: #B0B0B0;
}
.news-list li {
    padding: 10px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}
.news-list li a:hover .content{
    color: #86D112 !important;
}
.news-list li a:hover .date{
    color: #86D112 !important;
}

/* 左侧菜单 hover/active 样式（选中态实现） */
.sidebar-list a {
    display: block;
    color: #fff;
    padding: 6px 10px;
    transition: all 0.2s ease;
}
.sidebar-list a:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 新闻/攻略详情统一样式 */
#article-detail .detail-title,
#game-guide-section .detail-title {
    text-align: center;
    font-weight: 700;
    font-size: 26.88px;
    line-height: 1.6;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#article-detail .detail-meta,
#game-guide-section .detail-meta {
    text-align: right;
    color: #cfcfcf;
    font-size: 17.28px;
}
#article-detail .detail-content,
#game-guide-section .detail-content {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}

/* Footer styles for sticky footer and responsive design */
.footer {
      min-width: 152rem;
    height: auto;
    min-height: 100px;
    background-color: #000;
    margin-top: 80px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100px;
    gap: 16px;
    padding: 20px;
    box-sizing: border-box;
}

.footer .footer-left {
    display: flex;
    align-items: center;
}

.footer .footer_logo {
    width: 16rem;
    height: auto;
    margin-right: 2rem;
    align-self: center;
}

.footer .footer-left .logo, .footer .logo {
    width: 16rem;
    height: auto;
    margin-right: 2rem;
    align-self: center;
}

.footer .footer-center {
    color: #fff;
    flex: 1;
    min-width: 0;
}

.footer .footer-center .links {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer .footer-center .links a {
    display: inline-block;
    height: 2rem;
    line-height: 1.6rem;
    color: #fff;
    font-size: 1.2rem;
    padding: 0 1rem;
    border-left: 0.1rem solid #fff;
    text-decoration: none;
}

.footer .footer-center .links a:first-child {
    border-left: none;
    padding-left: 0;
}

.footer .footer-center p {
    margin: 0.6rem 0;
    font-size: 1.2rem;
    color: #BFBFBF;
    line-height: 2.4rem;
}

.footer .footer-right {
    display: flex;
    align-items: center;
}

.footer .footer-right .outlinks {
    margin-top: 0;
    display: flex;
    gap: 1.2rem;
}

.footer .footer-right .outlinks li {
    background: #4a4a4a;
    border-radius: 10rem;
    overflow: hidden;
    margin: 0;
    list-style: none;
}

.footer .footer-right .outlinks li a {
    display: block;
    width: 12.1rem;
    height: 5rem;
    line-height: 1.5rem;
    padding: 1rem 1rem 1rem 5.2rem;
    color: #a2a2a2;
    background-position: 0.9rem 0.7rem;
    background-repeat: no-repeat;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 1.2rem;
    white-space: nowrap;
}

.footer .footer-right .outlinks li:nth-child(1) a {
    width: 17.5rem;
    background-image: url(./static/images/legal-ico-1.png);
}

.footer .footer-right .outlinks li:nth-child(2) a {
    background-image: url(./static/images/legal-ico-2.png);
}

.footer .footer-right .outlinks li:nth-child(3) a {
    width: 17.5rem;
    background-image: url(./static/images/legal-ico-4.png);
}

/* 覆盖以消除模块与底部间距 */
.inner-hero { padding-bottom: 0 !important; }
.inner-right-bg { margin: 0 0 50px !important; padding: 0 !important; }
.inner-right-bottom { height: 60px !important; }
/* .inner-content { margin-bottom: 0 !important; } */
.footer { margin-top: 0 !important; }



/* 详情容器内的图片自适应 */
#article-detail .detail-content img,
#game-guide-section .detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px auto;
    border-radius: 4px;
}

/* 详情容器内的段落间距 */
#article-detail .detail-content p,
#game-guide-section .detail-content p {
    margin: 12px 0;
}

/* 详情容器内的列表样式 */
#article-detail .detail-content ul,
#article-detail .detail-content ol,
#game-guide-section .detail-content ul,
#game-guide-section .detail-content ol {
    margin: 12px 0;
    padding-left: 20px;
}

/* 壁纸下载：网格与预览蒙版 */
/* 内置页：壁纸下载 - 单图展示中心裁剪与固定尺寸 */
.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(3, 349px);
    grid-auto-rows: 231px;
    gap: 16px;
    justify-content: center; /* 保持三列居中 */
}

/* 壁纸下载滚动容器 */
#wallpaper-section {
    height: 100%;
    overflow-y: auto;
    padding-right: 8px;
    box-sizing: border-box;
}

/* 自定义滚动条样式 */
#download-section::-webkit-scrollbar,
#wallpaper-section::-webkit-scrollbar {
    width: 6px;
}

#download-section::-webkit-scrollbar-track,
#wallpaper-section::-webkit-scrollbar-track {
    background: #0A1F07;
    border-radius: 3px;
}

#download-section::-webkit-scrollbar-thumb,
#wallpaper-section::-webkit-scrollbar-thumb {
    background: #061403;
    border-radius: 3px;
    transition: background 0.2s ease;
}

#download-section::-webkit-scrollbar-thumb:hover,
#wallpaper-section::-webkit-scrollbar-thumb:hover {
    background: #0C2A0B;
}

.inner-page { scrollbar-width: thin; scrollbar-color: #061403 #0A1F07; min-width: 156rem;position: relative;}
.inner-page ::-webkit-scrollbar { width: 8px; height: 8px; }
.inner-page ::-webkit-scrollbar-track { background: #0A1F07; border-radius: 6px; }
.inner-page ::-webkit-scrollbar-thumb { background: #061403; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); }
.inner-page ::-webkit-scrollbar-thumb:hover { background: #0C2A0B; }

.wallpaper-grid .wallpaper-item {
    width: 349px;
    height: 231px;
    overflow: hidden; /* 裁剪容器之外的部分 */
    box-sizing: border-box;
    cursor: pointer;
}

.wallpaper-grid .wallpaper-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;        /* 居中裁剪 */
    object-position: center;  /* 居中 */
}
.wallpaper-grid li {
    list-style: none;
    overflow: hidden;
    border-radius: 6px;
    background: #fff;
}
.wallpaper-grid li img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}
.wallpaper-grid li:hover img {
    transform: scale(1.06);
}
.wallpaper-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wallpaper-modal img {
    max-width: 1728px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
/* 保留原有样式 */
.faq-list span {
    color: #333;
}
.faq-btn {
    background: #e7f6df;
    color: #2e7c4b;
    border: 1px solid #2e7c4b;
    border-radius: 16px;
    padding: 6px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.faq-btn:hover {
    background: #d6f1cd;
}

/* 配置说明（若有） */
.config-image-wrap {
    padding: 12px;
}
.config-image-wrap img {
    display: block;
    width: 90%;
    height: auto;
    margin: 0 auto;
}

/* 响应式优化 */
/* @media (max-width: 980px) {
    .inner-layout {
        grid-template-columns: 1fr;
    }
    .sidebar-title {
        margin-left: auto;
        margin-right: auto;
    }
} */

/* 右侧主体卡片区域（滚动） */
.inner-content {
    background: rgb(255, 255, 255);
    border-radius: 12px;
    padding: 20px;
}
.pager .faq-btn {
    min-width: 120px;
    text-align: center;
}

/* 新闻列表：左标题右日期排版 */
.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
}
.news-list li a .content {
    color: #333;
}
.news-list li a .date {
    color: #B0B0B0;
}
.news-list li {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* 左侧菜单 hover/active 样式（选中态实现） */
.sidebar-list a {
    display: block;
    color: #fff;
    padding: 6px 10px;
    transition: all 0.2s ease;
}
.sidebar-list a:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 新闻/攻略详情统一样式 */
#article-detail .detail-title,
#game-guide-section .detail-title {
    text-align: center;
    font-weight: 700;
    /* 使用相对单位，在你的页面视觉上更易控制大小；如需固定像素可改为 22px */
    font-size:26px !important;
    line-height: 1.6;
    color: #333;
    white-space: nowrap;           /* 单行 */
    overflow: hidden;
    text-overflow: ellipsis;       /* 超出省略 */
}
#article-detail .detail-meta,
#game-guide-section .detail-meta {
    text-align: right;             /* 第二行右对齐 */
    color: #cfcfcf;                /* 浅灰色 */
    font-size: 16px;
}
#article-detail .detail-content,
#game-guide-section .detail-content {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}
/* 移除 inner-sidebar 内链接的 hover 效果 */
.inner-sidebar .sidebar-list a:hover {
    background: none !important;
    color: #86D112 !important;
    border-color: transparent !important;
    text-decoration: none !important;
}
.inner-sidebar a:hover {
    color: #86D112 !important;
    text-decoration: none !important;
}
.inner-sidebar .sidebar-list a { transition: none !important; }
.inner-sidebar .sidebar-list a.active:hover {
    background: #000000 !important;
    color: #86D112 !important;
    border-color: transparent !important;
    text-decoration: none !important;
}
@media screen and (min-width: 1920px) {
  .inner-page {
    background-image: url(../images/inner-bg-01.jpg), url(../images/inner-bg-02.jpg), url(../images/inner-bg-03.jpg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: 3840px 1763px, 3840px 2318px, 3840px 3042px;
    background-position: center 0, center 1763px, center 4081px;
  }
}
