/* ========== 竖屏专用样式 (Portrait) ========== */
/* body{
    background-color: red;
} */
/* 容器尺寸 */
/* .wrap { */
    /* width: 100vw; */
    /* height: 100vh; */
    /* background-color: red; */
/* } */

/* 顶部导航尺寸 */
.top-nav {
    position: unset;
    width: 100%;
    height: 3.05rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background: url(../img/portrait/top_banner.jpg) 0 0 no-repeat;
    background-size: 100%;
    padding-top: 2.04rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.nav-tabs{
    width: 100%;
    height: 1rem;
    background: url(../img/portrait/top_bg.jpg) 0 0 no-repeat;
    background-size: 100%;
}
.nav-tab img {
    position: relative;
    width: 2.5rem;
    height: 1rem;
    left: 0;
    top: 0.1rem;
}

.top-top_back {
    display: none;
    width: 2rem;
    height: 0.5rem;
    margin-top: 0.2rem;
    margin-right: 0.15rem;
}

/* Tab内容区域 */
.tab-content {
    width: 100%;
    height: 14.44rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: url(../img/portrait/bg.jpg) 0 -1rem no-repeat;
    background-size: 100%;
}

/* ========== 最新资讯模块 ========== */
.news-content {
    padding-top: 0.3rem;
    padding-bottom: 2rem;
}

/* 上半部分 - 竖屏上下布局 */
.news-top {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0 0.44rem;
    padding-right: 0.36rem;
    /* gap: 0.3rem; 兼容性问题，改用margin */
}
.news-top > * + * {
    margin-top: 0.3rem;
}

/* 轮播图尺寸 */
/* 图片实际比例：1022x465，使用 padding-bottom 保持比例 */
.news-swiper {
    width: calc(100% - 0.08rem);
    position: relative;
}

/* 轮播图容器固定高度，防止显示不全 */
.mySwiper-news {
    width: 100%;
    padding-bottom: 45.5%; /* 465/1022 = 0.455 */
    position: relative;
    height: 0;
}
.mySwiper-news .swiper-slide img{
    width: calc(100% - 0.08rem);
    height: auto;
}
/* 让 swiper-wrapper 填充容器 */
.mySwiper-news .swiper-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 隐藏装饰线 */
.swiper-top {
    display: block;
    width: 100%;
    height: 0.12rem;
    background: url(../img/portrait/home/home_line.png) 0 0 no-repeat;
    background-size: 100%;
}

/* 快捷按钮布局 - 3列网格 */
.news-quick-btns {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 0.4rem;
}

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

.quick-btn.version,
.quick-btn.beginner {
    width: 100%;
    height: auto;
}

.quick-btn img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}

/* 下半部分 */
.news-bottom {
    padding: 0 0.44rem;
    margin-top: 0.4rem;
}
.news-quick-btns::before{
    content: '신규 가이드 | Hot & New';
    width: 100%;
    height: 0.57rem;
    line-height: 0.57rem;
    background: url(../img/portrait/home/home_title.png) 0 0 no-repeat;
    background-size: 100% 100%;
    font-size: 0.32rem;
    font-weight: bold;
    margin-bottom: 0.2rem;

}
.news-title-bar {
    width: 100%;
    height: 0.57rem;
    line-height: 0.57rem;
    background: url(../img/portrait/home/home_title.png) 0 0 no-repeat;
    background-size: 100% 100%;
    margin-bottom: 0.2rem;
}
.news-title-bar span {
    font-size: 0.32rem;
    font-weight: bold;
}

.news-title-bar img {
    max-width: 5rem;
}

/* 攻略列表布局 */
.news-strategy-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    /* max-height: 2.5rem; */
    max-height: 3.8rem;
    overflow-y: auto;
    /* gap: 0.2rem; */
}

.strategy-item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    padding: 0.1rem;
    -webkit-box-pack: start;
    -webkit-justify-content: start;
    -ms-flex-pack: start;
    justify-content: start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    /* background: rgba(255, 255, 255, 0.9); */
    /* border-radius: 0.12rem; */
}

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

.item-title {
    font-size: 0.26rem;
}

.item-right {
    width: 2.5rem;
    height: 2.5rem;
}

/* 固定小人位置和尺寸 */
.fixed-character {
    display: none;
    right: 0.1rem;
    bottom: 1rem;
    width: 1.5rem;
}

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

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

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

/* 分页指示器位置和尺寸 */
.mySwiper-news .swiper-pagination {
    height: 0.2rem;
    bottom: 0.2rem;
}

.mySwiper-news .swiper-pagination-bullet {
    width: 0.5rem;
    height: 0.08rem;
}

/* ========== 游戏攻略模块 ========== */

/* 左侧菜单区域（竖屏时在上方） */
.strategy-left {
    width: 100%;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

/* 一级菜单（竖屏时横向滚动） */
.strategy-menu-primary {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;

    width: 2.68rem;
    height:13.2rem;
    background: url(../img/portrait/nav_box.png) 0 0 no-repeat;
    background-size: 2.14rem;
}

.menu-primary-item {
    width: 2.31rem;
    height: 1.13rem;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

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

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

.menu-primary-item.active {
    background: #fd610a;
}

.menu-primary-item.active .menu-text {
    color: #fff;
    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;
    /* margin-left: 0.1rem; */
}

.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 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 4.4rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-y: auto;
    /* max-height: 50vh; */
    -webkit-overflow-scrolling: touch;
    /* justify-content: flex-end; */
}

i.menu_top{
    display: none;
}
.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: 11.9rem;
    overflow-y: auto;
    width: 4.38rem;
}
/* 文章列表项 */
.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;
    border-radius: 0.08rem;
}

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

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

.article-content {
    /* gap: 0.12rem; 兼容性问题，改用margin */
    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-right {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 0.3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

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

.article-item {
    background: #fff;
    padding: 0.3rem;
    -webkit-border-radius: 0.12rem;
    border-radius: 0.12rem;
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.article-item:active {
    -webkit-transform: scale(0.98);
    -ms-transform: scale(0.98);
    transform: scale(0.98);
}

.article-image {
    width: 100%;
    height: 4rem;
    margin-bottom: 0.2rem;
    -webkit-border-radius: 0.08rem;
    border-radius: 0.08rem;
    background: #f5f5f5;
}

.article-content {
    /* gap: 0.15rem; 兼容性问题，改用margin */
}
.article-content > * + * {
    margin-left: 0.15rem;
}

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

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

.article-meta {
    font-size: 0.24rem;
    margin-top: 0.15rem;
    padding-top: 0.15rem;
    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/portrait/strategy/0.png') 0 0 no-repeat;
    background-size:100%;
}

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

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

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

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

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

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

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

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

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

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

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


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

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

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

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

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

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

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

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

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

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

.portrait-modal-header {
    position: relative;
    width: 100%;
    height: 1rem;
    background: url('../img/portrait/content_top.jpg') 0 0 no-repeat;
    background-size:100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 0.3rem;
    z-index: 10;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.modal-back-btn {
    width: 0.41rem;
    height: 0.51rem;
    cursor: pointer;
    background: url('../img/portrait/top_back_content.png') 0 0 no-repeat;
    background-size:100%;
}
.portrait-modal-header .share{
    width: 0.41rem;
    height: 0.51rem;
    cursor: pointer;
    background: url('../img/portrait/top_share.png') 0 0 no-repeat;
    background-size:100%;

}
.portrait-modal-body{
    background: url('../img/portrait/content_bg.jpg') 0 0 no-repeat;
    background-size:cover;

}
.content_line{
    display: block;
    width: 7.1rem;
    height: 0.13rem;
    background: url('../img/portrait/content_line.png') 0 0 no-repeat;
    background-size:100%;
    margin: 0 auto;
    margin-top: 0.3rem;
}
.toolBtns{
    right: 0.2rem;
    bottom: 1.2rem;
}