@font-face {
    font-family: 'RSU';
    src: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/font/RSU_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AlimamaFangYuan';
    src: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/font/AlimamaFangYuanTiVF-Thin.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
*{
	box-sizing: border-box;
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'AlimamaFangYuan', sans-serif;
    -webkit-font-smoothing: antialiased;
}

html[lang="th"] body,
.lang-th {
    font-family: 'RSU', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.scrollbar::-webkit-scrollbar{
	width : 5px;  
	height: 1px;
}
.scrollbar::-webkit-scrollbar-thumb{
	border-radius: 5px;
	background   : #b1b1b1;	
}
.scrollbar::-webkit-scrollbar-track{
	background: #dedede;
	border-radius: 6px;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.42rem 0.62rem 0;
    min-height: 1.1rem;
}

.header-logo {
    display: block;
    flex-shrink: 0;
    width: 2.48rem;
    height: 0.53rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/logo.png') no-repeat center center;
    background-size: 100% 100%;
}

.header-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 0.28rem;
    margin-top: 0.06rem;
}

.nav-lang {
    position: relative;
    flex-shrink: 0;
    margin-left: 0.12rem;
}

.nav-lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.08rem;
    color: #fff;
    font-size: 0.2rem;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.2s;
}

.nav-lang-trigger:hover {
    opacity: 0.85;
}

.nav-lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: .5rem;
    z-index: 200;
    width: 2.8rem;
    margin-top: 0.12rem;
    padding: 0.1rem 0;
    list-style: none;
    border-bottom-left-radius: 0.24rem;
    border-bottom-right-radius: 0.24rem;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0.04rem 0.16rem rgba(0, 0, 0, 0.12);
}

.nav-lang.is-open .nav-lang-dropdown {
    display: block;
}

.nav-lang-option {
    display: block;
    width: 100%;
    padding: 0.1rem 0.24rem;
    border: 0;
    background: transparent;
    color: #2e3444;
    font-family: inherit;
    font-size: 0.32rem;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-lang-option--th {
    font-family: 'RSU', sans-serif;
}

.nav-lang-option:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-lang-option.is-active {
    font-weight: bold;
}

.nav-lang-icon {
    width: 0.71rem;
    height: 0.59rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/icon_switch_lang.png') no-repeat center center;
    background-size: 100% 100%;
    flex-shrink: 0;
}

.nav-lang-text{
    display: block;
    width: auto;
    min-width: 1.92rem;
    height: 0.48rem;
    font-size: 0.48rem;
    line-height: 0.48rem;
    text-align: left;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 复制成功 toast（分享弹窗等） */
.copy-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 600;
    max-width: 80%;
    padding: 0.22rem 0.44rem;
    border-radius: 0.12rem;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-size: 0.32rem;
    line-height: 1.4;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.copy-toast.is-visible {
    opacity: 1;
}

.copy-toast.is-hidden {
    display: none;
}

html[lang="th"] .copy-toast {
    font-family: 'RSU', sans-serif;
}

/* tip modal */
body.tip-modal-open {
    overflow: hidden;
}

.tip-modal {
    position: fixed;
    inset: 0;
    z-index: 510;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tip-modal.is-hidden {
    display: none;
}

.tip-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    cursor: default;
}

.tip-modal__shell {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 8.7rem;
    height: 4.63rem;
    border: 0.2rem solid rgba(255, 255, 255, 0.5);
    border-radius: 0.64rem;
}

.tip-modal__panel {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0.4rem 0.56rem;
    border-radius: 0.44rem;
    background: #fff;
}

.tip-modal__close {
    position: absolute;
    top: -0.675rem;
    right: -0.614rem;
    z-index: 2;
    width: 0.66rem;
    height: 0.66rem;
    padding: 0;
    border: 0;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/pop_close.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.tip-modal__close:hover {
    opacity: 0.85;
}

.tip-modal__message {
    margin: 0;
    color: #2e3444;
    font-size: 0.3rem;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
}

/* PC 泰语：相对默认 +0.08rem（累计两次 +4 字号） */
html[lang="th"] .nav-lang-trigger {
    font-size: 0.28rem;
}

html[lang="th"] .nav-lang-option {
    font-size: 0.28rem;
}

html[lang="th"] .tip-modal__message {
    font-size: 0.38rem;
}

/* --- 创作者计划 PC 长页（zh / en / th） --- */
html.rem-creator {
    overflow-x: auto;
}

html.rem-creator body {
    height: auto;
    min-height: 100%;
}

.page-shell--creator {
    width: 100%;
    max-width: 1920px;
    min-width: 1360px;
    margin: 0 auto;
}

.page-creator {
    position: relative;
    width: 100%;
}

.creator-landing__stage {
    position: relative;
    width: 100%;
    line-height: 0;
}

.creator-landing__bg {
    display: block;
    width: 100%;
    height: auto;
}

.header--creator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.42rem 0.62rem 0;
    min-height: 1.1rem;
    pointer-events: none;
}

.header--creator .header-logo,
.header--creator .header-nav {
    pointer-events: auto;
}

.header-nav--creator {
    align-items: center;
    gap: 0.36rem;
    margin-top: 0.06rem;
}

.header-nav--creator .nav-lang {
    margin-left: 0;
    padding-left: 0.44rem;
    padding-right: 0.44rem;
    border-left: 0.03rem solid rgba(255, 255, 255, 0.55);
    border-right: 0.03rem solid rgba(255, 255, 255, 0.55);
}

.header-nav--creator .nav-lang-trigger {
    align-items: center;
}

.header-nav--creator .nav-official-site {
    position: relative;
    z-index: 22;
    flex-shrink: 0;
}

.nav-share {
    display: block;
    flex-shrink: 0;
    width: 0.65rem;
    height: 0.61rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_share.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: filter 0.2s;
}

.nav-share:hover {
    filter: brightness(1.08);
}

.nav-official-site {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.58rem;
    height: 0.86rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_back_home.png') no-repeat center center;
    background-size: 100% 100%;
    color: #5c3d1e;
    font-size: 0.28rem;
    font-weight: bold;
    line-height: 1;
    transition: filter 0.2s;
}

.nav-official-site:hover {
    filter: brightness(1.06);
}

.nav-official-site__label {
    display: block;
    margin-top: 0.02rem;
}

.creator-landing__overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.creator-hit {
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    pointer-events: auto;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    cursor: pointer;
    transition: filter 0.2s;
}

.creator-hit:hover {
    filter: brightness(1.06);
}

.creator-hit--join-hero,
.creator-hit--join-apply {
    width: 5.4rem;
    height: 1.78rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_join_cn.png');
}

/* 2560×8450 设计稿坐标 ÷100 → rem */
.creator-hit--join-hero {
    top: 13.08rem;
    left: 10.1rem;
}

.creator-hit--community,
.creator-hit--join-apply {
    top: 68.14rem;
}

.creator-hit--community {
    left: 7.2rem;
    width: 5.4rem;
    height: 1.78rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_community_cn.png');
}

.creator-hit--join-apply {
    left: 13rem;
}

html[lang="en"] .creator-hit--join-hero,
html[lang="en"] .creator-hit--join-apply {
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_join_en.png');
}

html[lang="en"] .creator-hit--community {
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_community_en.png');
}

html[lang="en"] .creator-hit--community,
html[lang="en"] .creator-hit--join-apply {
    top: 77.26rem;
}

html[lang="th"] .creator-hit--join-hero,
html[lang="th"] .creator-hit--join-apply {
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_join_th.png');
}

html[lang="th"] .creator-hit--community {
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_community_th.png');
}

html[lang="th"] .creator-hit--community,
html[lang="th"] .creator-hit--join-apply {
    top: 69.14rem;
}

.creator-landing__scroll-hint {
    position: absolute;
    top: 16.90rem;
    left: 12.4rem;
    z-index: 15;
    width: 0.89rem;
    height: 0.61rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/scroll_hint.png') no-repeat center center;
    background-size: 100% 100%;
    pointer-events: none;
    animation: creator-scroll-hint-bob 1.4s ease-in-out infinite;
}

@keyframes creator-scroll-hint-bob {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0.12rem);
    }
}

.creator-landing__back-top {
    position: fixed;
	left: 50%;
    bottom: 2rem;
    z-index: 120;
	transform: translateX(8.46rem);
    display: block;
    width: 3.15rem;
    height: 2.94rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/back_to_top_cn.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: filter 0.2s, opacity 0.2s;
}

.creator-landing__back-top:hover {
    filter: brightness(1.06);
}

.creator-landing__back-top.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

html[lang="en"] .creator-landing__back-top {
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/back_to_top_en.png');
}

html[lang="th"] .creator-landing__back-top {
    width: 3.16rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/back_to_top_th.png');
}

body.share-modal-open {
    overflow: hidden;
}

.share-modal {
    position: fixed;
    inset: 0;
    z-index: 520;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal.is-hidden {
    display: none;
}

.share-modal__mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
}

.share-modal__shell {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    width: 12rem;
    border: 0.2rem solid rgba(255, 255, 255, 0.5);
    border-radius: 0.64rem;
}

.share-modal__panel {
    box-sizing: border-box;
    width: 100%;
    padding: 0.4rem 0.9rem 0.6rem;
    border-radius: 0.44rem;
    background: #fff;
}

.share-modal__close {
    position: absolute;
    top: -0.675rem;
    right: -0.614rem;
    z-index: 2;
    width: 0.66rem;
    height: 0.66rem;
    padding: 0;
    border: 0;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/pop_close.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.share-modal__close:hover {
    opacity: 0.85;
}

.share-modal__title {
    width: 2.1rem;
    height: 1.02rem;
    margin: 0 auto 0.24rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/share_title_cn.png') no-repeat center center;
    background-size: 100% 100%;
}

/* share_title_* 真实尺寸：cn 210×102，en 346×85，th 167×101（px ÷100 → rem） */
html[lang="en"] .share-modal__title {
    width: 3.46rem;
    height: 0.85rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/share_title_en.png');
}

html[lang="th"] .share-modal__title {
    width: 1.67rem;
    height: 1.01rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/share_title_th.png');
}

.share-modal__preview {
    width: 100%;
    margin-bottom: 0.24rem;
    border-radius: 0.12rem;
    overflow: hidden;
}

.share-modal__preview-img {
    display: block;
    width: 100%;
    height: auto;
}

.share-modal__channels {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    margin-bottom: 0.28rem;
}

.share-modal__channel {
    display: block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    cursor: pointer;
}

.share-modal__channel--fb {
    width: 1.43rem;
    height: 1.43rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/share_fb.png');
}

.share-modal__channel--line {
    width: 1.43rem;
    height: 1.42rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/share_line.png');
}

.share-modal__channel--download {
    width: 1.42rem;
    height: 1.42rem;
    background-image: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/share_download_img.png');
}

.share-modal__copy-row {
    display: flex;
    align-items: center;
    gap: 0.12rem;
    box-sizing: border-box;
    height: 1.01rem;
    padding: 0 0 0 0.16rem;
    border-radius: 0.12rem;
    background: #f0f2f5;
}

.share-modal__copy-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: #2e3444;
    font-size: 0.3rem;
    line-height: 1.01rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-modal__copy-btn {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.34rem;
    height: 1.01rem;
    background: url('https://media.game-tree.com/mabinogimobile/actv/2026/creatorProgram/img/btn_copy.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
}

.share-modal__copy-btn-label {
    color: #fff;
    font-size: 0.48rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}