@font-face {
  font-family: "SourceHanSansCNBold";
  src: url('https://media.game-tree.com/media/pictures/gametree/mabinogimobile/fonts/SourceHanSerifCN-Bold.ttf') format("truetype");
}
@font-face {
  font-family: "SourceHanSansCNMedium";
  src: url('https://media.game-tree.com/media/pictures/gametree/mabinogimobile/fonts/SourceHanSerifCN-Medium.ttf') format("truetype");
}
@font-face {
  font-family: "SourceHanSerifCNHeavy";
  src: url('https://media.game-tree.com/media/pictures/gametree/mabinogimobile/fonts/SourceHanSerifCN-Heavy.ttf') format("truetype");
}
@font-face {
  font-family: "SourceHanSerifCN-Regular";
  src: url('https://media.game-tree.com/media/pictures/gametree/mabinogimobile/fonts/SourceHanSansCN-Regular.ttf') format("opentype");
}
@font-face {
  font-family: "AlimamaFangYuanTiVF-Thin";
  src: url('https://media.game-tree.com/media/pictures/gametree/mabinogimobile/fonts/AlimamaFangYuanTiVF-Thin.woff2') format("woff2"),
       url('https://media.game-tree.com/media/pictures/gametree/mabinogimobile/fonts/AlimamaFangYuanTiVF-Thin.ttf') format("truetype");
}
.slide.current-page1 .lang_box {
  font-size: 0.26rem;
  width: 2.2rem;
  height: fit-content;
  line-height: 0.54rem;
  position: absolute;
  right: 0.35rem;
  top: 0;
  overflow: hidden;
  color: #fff;
  font-weight: bold;
  font-family: 'SourceHanSerifCNBold';
}
.slide.current-page2 .lang_box,
.slide.current-page3 .lang_box,
.slide.current-page4 .lang_box {
  font-size: 0.26rem;
  width: 2.2rem;
  height: fit-content;
  line-height: 0.54rem;
  position: absolute;
  right: 2.35rem;
  top: 0;
  overflow: hidden;
  color: #000;
  font-weight: bold;
  font-family: 'SourceHanSerifCNBold';
  z-index: 3;
}
.slide.current-page3 .lang_box {
  color: #fff;
}
.lang_box .lang_selector {
  width: 100%;
}
.lang_box .lang_selector .lang_current {
  width: 100%;
  height: 0.6rem;
  line-height: 0.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

/* 语言选择器图标 - 页面切换时变色 */
.slide.current-page1 .lang_box .lang_selector .lang_current .lang_icon,
.slide.current-page3 .lang_box .lang_selector .lang_current .lang_icon {
  width: 0.45rem;
  height: 0.34rem;
  background: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/lang_icon.png);
  background-size: 100% 100%;
  margin-right: 0.1rem;
}
.slide.current-page2 .lang_box .lang_selector .lang_current .lang_icon,
.slide.current-page4 .lang_box .lang_selector .lang_current .lang_icon {
  width: 0.45rem;
  height: 0.34rem;
  background: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/lang_icon_h.png);
  background-size: 100% 100%;
  margin-right: 0.1rem;
}
.slide.current-page1 .lang_box .lang_selector .lang_current .lang_icon2,
.slide.current-page3 .lang_box .lang_selector .lang_current .lang_icon2 {
  width: 0.36rem;
  height: 0.34rem;
  background: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/lang_icon2.png);
  background-size: 100% 100%;
  margin-left: 0.1rem;
}
.slide.current-page2 .lang_box .lang_selector .lang_current .lang_icon2,
.slide.current-page4 .lang_box .lang_selector .lang_current .lang_icon2 {
  width: 0.36rem;
  height: 0.34rem;
  background: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/lang_icon2_h.png);
  background-size: 100% 100%;
  margin-left: 0.1rem;;
}
.lang_box .lang_selector .lang_dropdown {
  background: rgba(255, 255, 255, 0.23);
  border-radius: 0 0 0.4rem 0.4rem;
  text-align: center;
  cursor: pointer;
  display: none;
}
.slide:not(.current-page1) .lang_box .lang_selector .lang_dropdown {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}
.lang_box .lang_selector .lang_dropdown .lang_option:hover {
  color: #4880fd;
}
.lang_box .lang_selector .lang_dropdown .lang_option.active {
  color: #4880fd;
}
.red {
  color: #ff0000;
  cursor: pointer;
}
.nav_menu {
  position: absolute;
  top: 0.45rem;
  left: 4rem;
}
.slide .nav_menu i a {
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 0.28rem;
  background-size: 1.65rem 0.7rem;
  background-repeat: no-repeat;
  background-position: center;
  margin: -0.1rem 0 0 0.3rem;
}
.bottom_inner {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1;
}
.bottom_inner .row {
  height: 1.38rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3rem;
  position: absolute;
  left: 1.05rem;
  cursor: pointer;
}
.bottom_inner .row a,
.bottom_inner .row div {
  width: 4.8rem;
  height: 1.8rem;
  background-size: 100% 100%;
  color: #fff;
  font-size: 0.5rem;
  text-align: center;
  line-height: 1.9rem;
  font-weight: bold;
  font-family: "AlimamaFangYuanTiVF-Thin";
}
.bottom_inner .row a.test_btn,
.bottom_inner .row div.test_btn { 
  background-image: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/test_btn.png);
  text-decoration: none;
}
.bottom_inner .row a.yuyue_btn,
.bottom_inner .row div.yuyue_btn {
  background-image: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/yuyue_btn.png);
}
.en .bottom_inner .row a, 
.en .bottom_inner .row div {
  font-size: 0.4rem;
}
.th .bottom_inner .row a, 
.th .bottom_inner .row div {
  font-size: 0.36rem;
}
/* ===== footer 版权（原 index_zh/en/th.css 重复规则合并） ===== */

.footer_box {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 3rem;
  background: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/footer_bg.png);
  background-size: cover;
}
.footer_box .footer_inner {
  width: 100%;
  height: 1.5rem;
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "SourceHanSerifCN-Regular";
}
.footer_box .foot_text {
  position: absolute;
  /* bottom: 0.4rem; */
}
.footer_box .foot_text a:link,
.footer_box .foot_text a:visited,
.footer_box .foot_text a:hover {
  color: #fff;
  text-decoration: none;
  margin: 0 0.05rem;
}
.footer_box .foot_text .logo_zl {
  width: 5.9rem;
  height: 0.6rem;
  margin: 0 auto;
}
.footer_box .foot_text .logo_zl img {
  width: 100%;
  display: block;
}
.footer_box .foot_text p {
  text-align: center;
  font-size: 0.14rem;
  color: #fff;
}
/* ===== 角色创建浮窗（公共浮窗，第一屏无关闭按钮，点击跳转问卷链接） ===== */
.create_float {
  width: 2.39rem;
  height: 2.2rem;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: fixed;
  top: 1.2rem;
  right: 0.2rem;
  z-index: 998;
}
/* 打开语言下拉框时下移避让（js 在开关语言框时切换 .lang-open） */
.create_float.lang-open {
  top: 3rem;
}
.en .create_float {
  background-image: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/en/pop/create.png);
}
.zh .create_float {
  background-image: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/zh/pop/create.png);
}
.th .create_float {
  background-image: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/th/pop/create.png);
}
.create_float .create_link {
  display: block;
  width: 100%;
  height: 100%;
}
.create_float .float_close {
  display: none;
  width: 0.36rem;
  height: 0.36rem;
  background: url(https://media.game-tree.com/media/pictures/gametree/mabinogimobile/pc/img/common/close.png);
  background-size: 100% 100%;
  position: absolute;
  top: 0.05rem;
  right: 0.05rem;
  cursor: pointer;
  z-index: 1;
}
/* 非第一屏显示关闭按钮（.create_float 位于 .slide 之后的兄弟节点） */
.slide.current-page2 ~ .create_float .float_close,
.slide.current-page3 ~ .create_float .float_close,
.slide.current-page4 ~ .create_float .float_close,
.slide.current-page5 ~ .create_float .float_close {
  display: block;
}
