/* ========== 横屏专用样式 (Landscape) ========== */

/* 容器尺寸 */
.wrap {
    width: 19.2rem;
    height: 10.8rem;
    background: url(../img/landscape/bg.jpg) 0 0 no-repeat;
    background-size: 100%;
}

/* 顶部导航尺寸 */
.top-nav {
    width: 19.2rem;
    height: 1rem;
    background: url(../img/landscape/top_bg.jpg) 0 0 no-repeat;
    background-size: 100%;
}
.mySwiper-news .swiper-slide img {
    width: 10.22rem;
    height: 4.65rem; /* 10.22 × 0.455 = 4.65rem */
}
.nav-tabs{
    margin-left: 0.3rem;
}
.nav-tab {
    top: 0.1rem;
}
.nav-tab img {
    width: 3rem;
    height: 1rem;
    margin-bottom: 0.05rem;
}

.top-top_back {
    width: 2.76rem;
    height: 0.68rem;
    margin-top: 0.16rem;
    margin-right: 0.2rem;
}

/* ========== Tab内容区域 ========== */
.tab-content {
    padding-top: 1rem;
    width: 100%;
}

/* ========== 最新资讯模块 ========== */
.news-content {
    position: relative;
    padding-top: 1.3rem;
    width: 17.36rem;
    margin: 0 auto;
}

/* 上半部分 */
.news-top {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 0.2rem;
    /* gap:0.46rem; 兼容性问题，改用margin */
}
.news-top > * + * {
    margin-left: 0.46rem;
}
.news-swiper{
    width: 10.22rem;
}
/* 轮播图顶部装饰线 */
.swiper-top {
    display: block;
    width: 100%;
    height: 0.12rem;
    background: url(../img/landscape/home/home_line.png) 0 0 no-repeat;
    background-size: 100%;
}

/* 轮播图尺寸 */
.news-swiper {
    width: 100%;
}

/* 轮播图容器固定高度，防止显示不全 */
/* 图片实际比例：1022x465，高度 = 宽度 × (465/1022) */
.mySwiper-news {
    width: 10.22rem;
    height: 4.65rem; /* 10.22 × 0.455 = 4.65rem */
}

/* 让 swiper-wrapper 填充容器 */
.mySwiper-news .swiper-wrapper {
    width: 100%;
    height: 100%;
}

/* 分页指示器位置 */
.mySwiper-news .swiper-pagination {
    bottom: 0.3rem;
    height: 0.22rem;
}

/* 左右箭头尺寸和位置 */
.mySwiper-news .swiper-button-prev,
.mySwiper-news .swiper-button-next {
    width: 0.35rem;
    height: 0.41rem;
}

.mySwiper-news .swiper-button-prev {
    left: 0.2rem;
}

.mySwiper-news .swiper-button-next {
    right: 0.2rem;
}

/* 分页指示器尺寸 */
.mySwiper-news .swiper-pagination-bullet {
    width: 0.66rem;
    height: 0.1rem;
}

/* 快捷按钮布局和尺寸 */
.news-quick-btns {
    width: 6.72rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.quick-btn {
    width: 3.32rem;
    height: 1.22rem;
}

.quick-btn.version,
.quick-btn.beginner {
    width: 6.72rem;
    height: 1.22rem;
}

/* 标题栏尺寸 */
.news-title-bar {
    position: relative;
    margin-bottom: 0.2rem;
    width: 17.32rem;
    height: 0.57rem;
    background: url(../img/landscape/home/home_title.png) 0 0 no-repeat;
    background-size: 100%;
}

.news-title-bar span {
    font-size: 0.3rem;
    font-weight: bold;
    line-height: 0.57rem;
}

/* 攻略列表布局 */
.news-strategy-list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 13.64rem;
    /* gap: 0.18rem; */
}

.strategy-item {
    margin-bottom: 0.18rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    width: 6.4rem;
    /* gap: 0.2rem; */
}

.item-tag {
    width: 1.24rem;
    height: 0.34rem;
    line-height: 0.34rem;
    font-size: 0.2rem;
    margin-right: 0.2rem;
}

.item-title {
    flex: 1;
    font-size: 0.28rem;
}

/* 固定小人位置和尺寸 */
.fixed-character {
    right: 0.3rem;
    bottom: -0.4rem;
    width: 2.64rem;
}

/* ========== 游戏攻略模块 ========== */
.strategy-content {
    height: 8.9rem;
    padding-top: 1rem;
}

/* 左侧菜单区域 */
.strategy-left {
    width: 7.8rem;
    height: 100%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

/* 一级菜单 */
.strategy-menu-primary {
    width: 2.87rem;
    height: 8.73rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: url(../img/landscape/nav_box.png) 0 0 no-repeat;
    background-size: 2.37rem;
    background-position: 0.36rem top;
}

.menu-primary-item {
    width: 2.87rem;
    height: 1.01rem;
    cursor: pointer;
    /* padding: 0.25rem 0.15rem; */
    flex-direction: column;
    /* gap: 0.05rem; */
    /* border-left: 3px solid transparent; */
}

.menu-primary-item .menu-icon {
    display: none;
}

.menu-primary-item .menu-text {
    font-size: 0.26rem;
    color: #333;
    text-align: center;
    white-space: nowrap;
}

.menu-primary-item.active .menu-text {
    color: #fd610a;
    font-weight: bold;
}

/* 搜索框（横屏） */
.strategy-search {
    position: relative;
    width: 4.3rem;
    height: 0.38rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.search-input {
    position: absolute;
    width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    /* line-height: 0.38rem; */
    border: none;
    outline: none;
    left: 0;
    top: 0;
    background: none;
    text-indent: 0.2rem;
    color:white;
    font-size: 0.2rem;
    background-color: rgba(0, 0, 0, 0.5);
}

.search-input:focus {
    outline: none;
}

.search-icon {
    position: absolute;
    width: 0.22rem;
    height: 0.22rem;
    background: url(../img/landscape/search_icon.png) 0 0 no-repeat;
    background-size: 100%;
    right: 0.1rem;
    top: 0.1rem;
    font-size: 0.28rem;
    color: #999;
    pointer-events: none;
}
/* 搜索无结果提示（横屏） */
.strategy-search-empty {
    padding: 0.6rem 0.15rem;
}

.empty-icon {
    font-size: 0.4rem;
}

.empty-text {
    font-size: 0.24rem;
}

.empty-hint {
    font-size: 0.2rem;
}

/* 二级菜单 */
.strategy-menu-secondary {
    width: 4.5rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 0.4rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
i.menu_top{
    display: block;
    width: 100%;
    height: 0.12rem;
    background: url(../img/landscape/menu_top.png) 0 0 no-repeat;
    background-size: 100%;
}
.menu-secondary-header {
    font-size: 0.3rem;
    width: 4.38rem;
    height: 1.02rem;
    line-height: 1.02rem;
    background: url(../img/landscape/box.png) 0 0 no-repeat;
    background-size: 100%;
    text-indent: 0.34rem;
    font-weight: bold;
}

.menu-secondary-header .menu-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.26rem;
}

.menu-secondary-header .menu-count {
    font-size: 0.22rem;
    margin-left: 0.1rem;
}

.menu-secondary-header.active {
    background: url(../img/landscape/box_active.png) 0 0 no-repeat;
    background-size: 100%;
}
.menu-secondary-header.active .menu-text{
    color: white;
}
.menu-secondary-header .menu-arrow {
    width: 0.5rem;
    height: 0.5rem;
    background: url(../img/landscape/arrow_down.png) 0 0 no-repeat;
    background-size: 100%;
    margin-right: 0.2rem;
}
.menu-secondary-groups{
    max-height: 7.5rem;
    overflow-y: auto;
    width: 4.38rem;
    margin-left: 0.08rem;
}
/* 文章列表项 */
.menu-article-item {
    width: 4.18rem;
    height: 0.7rem;
    line-height: 0.6rem;
    font-size: 0.24rem;
    margin-left: 0.2rem;
    text-indent: 0.2rem;
    color: #111;
    background: url(../img/landscape/item.png) 0 0 no-repeat;
    background-size: 100%;
    margin-right: 0.2rem;
}

.menu-article-item.active {
    background: url(../img/landscape/item_active.png) 0 0 no-repeat;
    background-size: 100%;
    color:white;
}

/* 右侧内容区域 */
.strategy-right {
    width: 9.82rem;
    padding-top: 0.4rem;
    max-height: 8.4rem;
    margin-left: 0.6rem;
}
.content_top{
    width: 100%;
    height: 0.13rem;
    background: url(../img/landscape/content_top.png) 0 0 no-repeat;
    background-size: 100%;

}
/* 文章列表 */
.strategy-article-list {
    /* gap: 0.18rem; 兼容性问题，改用margin */
}
.strategy-article-list > * + * {
    margin-top: 0.18rem;
}

.article-item {
    background: #fff;
    padding: 0.2rem;
    border: 1px solid #eee;
    -webkit-border-radius: 0.08rem;
    border-radius: 0.08rem;
}

.article-item:hover {
    border-color: #fd610a;
    -webkit-box-shadow: 0 2px 8px rgba(253, 97, 10, 0.15);
    box-shadow: 0 2px 8px rgba(253, 97, 10, 0.15);
}

.article-image {
    width: 2.2rem;
    height: 1.65rem;
    margin-right: 0.2rem;
    -webkit-border-radius: 0.08rem;
    border-radius: 0.08rem;
    background: #f5f5f5;
}

.article-content {
    /* gap: 0.12rem; 兼容性问题，改用margin */
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.article-content > * + * {
    margin-left: 0.12rem;
}

.article-title {
    font-size: 0.28rem;
    line-height: 1.4;
    margin-bottom: 0.08rem;
}

.article-desc {
    font-size: 0.22rem;
    line-height: 1.5;
    color: #666;
}

.article-meta {
    font-size: 0.2rem;
    margin-top: 0.1rem;
    padding-top: 0.1rem;
    border-top: 1px solid #f0f0f0;
}

.article-author {
    margin-right: 0.2rem;
    color: #999;
}

.article-date {
    color: #999;
}



/* 一级菜单背景图片 - 默认状态 */
.strategy-content .menu-primary-0 {
    background: url('../img/landscape/strategy/0.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-1 {
    background: url('../img/landscape/strategy/1.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-2 {
    background: url('../img/landscape/strategy/2.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-3 {
    background: url('../img/landscape/strategy/3.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-4 {
    background: url('../img/landscape/strategy/4.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-5 {
    background: url('../img/landscape/strategy/5.png') 0 0 no-repeat;
    background-size:100%;
}
.strategy-content .menu-primary-6 {
    background: url('../img/landscape/strategy/6.png') 0 0 no-repeat;
    background-size:100%;
}
.strategy-content .menu-primary-7 {
    background: url('../img/landscape/strategy/7.png') 0 0 no-repeat;
    background-size:100%;
}

/* 一级菜单背景图片 - 选中状态 */
.strategy-content .menu-primary-0.active {
    background: url('../img/landscape/strategy/0_1.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-1.active {
    background: url('../img/landscape/strategy/1_1.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-2.active {
    background: url('../img/landscape/strategy/2_1.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-3.active {
    background: url('../img/landscape/strategy/3_1.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-4.active {
    background: url('../img/landscape/strategy/4_1.png') 0 0 no-repeat;
    background-size:100%;
}

.strategy-content .menu-primary-5.active {
    background: url('../img/landscape/strategy/5_1.png') 0 0 no-repeat;
    background-size:100%;
}
.strategy-content .menu-primary-6.active {
    background: url('../img/landscape/strategy/6_1.png') 0 0 no-repeat;
    background-size:100%;
}
.strategy-content .menu-primary-7.active {
    background: url('../img/landscape/strategy/7_1.png') 0 0 no-repeat;
    background-size:100%;
}


/* 一级菜单背景图片 - 默认状态 */
.wiki-content .menu-primary-0 {
    background: url('../img/landscape/wiki/0.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-1 {
    background: url('../img/landscape/wiki/1.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-2 {
    background: url('../img/landscape/wiki/2.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-3 {
    background: url('../img/landscape/wiki/3.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-4 {
    background: url('../img/landscape/wiki/4.png') 0 0 no-repeat;
    background-size:100%;
}

/* 一级菜单背景图片 - 选中状态 */
.wiki-content .menu-primary-0.active {
    background: url('../img/landscape/wiki/0_1.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-1.active {
    background: url('../img/landscape/wiki/1_1.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-2.active {
    background: url('../img/landscape/wiki/2_1.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-3.active {
    background: url('../img/landscape/wiki/3_1.png') 0 0 no-repeat;
    background-size:100%;
}

.wiki-content .menu-primary-4.active {
    background: url('../img/landscape/wiki/4_1.png') 0 0 no-repeat;
    background-size:100%;
}
