body {
    --nav-height: 60px;
    /*--nav-height: 45px;*/
    --content-padding: 10px;

    overflow-x: hidden;

    height: 100%;
}


/* 1. 页面整体背景渐变样式（应用于body或顶层容器） */
.page-bg-gradient {
    /* 基础深色背景，叠加135度角的紫黑渐变，增强游戏感 */
    background-color: #161618;
    background-image: linear-gradient(135deg, #161618 0%, #0e0422 100%);
    /* 确保渐变覆盖整个页面高度 */
    min-height: 100vh;
    /* 防止渐变重复平铺 */
    background-repeat: no-repeat;
    /* 确保滚动时渐变始终覆盖视口 */
    background-attachment: fixed;
}

/* 2. 背景装饰光晕（左右两侧悬浮光效，增强层次感） */
/* 光晕容器：固定定位全屏覆盖，作为背景装饰层 */
.bg-decor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 置于最底层，不影响其他内容交互 */
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* 左侧紫色光晕 */
.bg-decor-left {
    position: absolute;
    /*top: 25%; !* 垂直位置：页面1/4处 *!*/
    top: 10%; /* 垂直位置：页面1/4处 */
    left: -80px; /* 左侧超出视口，只显示部分 */
    /*width: 256px; !* 光晕宽度 *!*/
    /*height: 256px; !* 光晕高度 *!*/
    width: 256px;
    height: 256px;
    /*background-color: rgba(147, 51, 234, 0.2); !* 主紫色半透明 *!*/
    /*background-color: rgba(147, 51, 234, 0.3); !* 主紫色半透明 *!*/
    background-color: rgba(192, 132, 252, 0.4);
    border-radius: 50%; /* 圆形光晕 */
    filter: blur(120px); /* 模糊效果，营造扩散光感 */
    /* 可选：添加缓慢移动动画，增强动态感 */
    animation: floatLeft 15s ease-in-out infinite;
}

/* 右侧浅紫色光晕 */
.bg-decor-right {
    position: absolute;
    bottom: 33%; /* 垂直位置：页面1/3处 */
    right: -80px; /* 右侧超出视口，只显示部分 */
    width: 320px; /* 光晕宽度（比左侧大，增强层次感） */
    height: 320px; /* 光晕高度 */
    /*background-color: rgba(192, 132, 252, 0.2); !* 浅紫色半透明 *!*/
    background-color: rgba(192, 132, 252, 0.1); /* 浅紫色半透明 */
    border-radius: 50%; /* 圆形光晕 */
    filter: blur(120px); /* 模糊效果 */
    /* 可选：与左侧光晕反向移动，增强动态平衡 */
    animation: floatRight 18s ease-in-out infinite;
}

/* 左侧光晕动画：上下缓慢浮动 */
@keyframes floatLeft {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-30px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* 右侧光晕动画：上下缓慢浮动（与左侧反向） */
@keyframes floatRight {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(30px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}


/* 标题区域外层容器：控制整体位置与间距 */
.story-create-header {
    width: 100%;
    padding: 0 1rem; /* 移动端左右内边距，防止内容贴边 */
    box-sizing: border-box;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 标题容器：实现内容居中对齐 */
.story-create-header__content {
    max-width: 42rem; /* 限制最大宽度，避免大屏幕下标题过长 */
    margin: 0 auto; /* 水平居中 */
    text-align: center; /* 文字内容居中 */
}

/* 主标题样式：突出视觉焦点 */
.story-create-header__title {
    font-family: 'Rajdhani', sans-serif; /* 游戏风字体，与整体风格统一 */
    font-size: clamp(1.5rem, 3vw, 2.5rem); /* 响应式字体：移动端1.5rem，大屏2.5rem */
    font-weight: 700; /* 加粗，增强标题辨识度 */
    color: #ffffff; /* 纯白色，在深色背景中更醒目 */
    margin-bottom: 0.75rem; /* 与副标题的间距 */
    line-height: 1.2; /* 控制行高，避免换行后过于松散 */
    /* 可选：添加紫色文字渐变，增强游戏感（如需启用可删除注释） */
    /* background-image: linear-gradient(to right, #c084fc, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; */
}

/* 副标题/说明文本样式：补充信息，弱化视觉层级 */
.story-create-header__desc {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem; /* 基础字体大小 */
    color: rgba(255, 255, 255, 0.6); /* 半透明白色，避免与标题抢焦点 */
    line-height: 1.5; /* 增强可读性 */
    max-width: 32rem; /* 限制最大宽度，避免文字过长导致阅读困难 */
    margin: 0 auto; /* 水平居中，与标题对齐 */
}

/* 移动端适配：针对小屏幕微调间距（可选，根据需求调整） */
@media (max-width: 480px) {
    .story-create-header {
        /*margin-bottom: 2rem; !* 减小移动端底部间距，优化屏幕利用率 *!*/
    }

    .story-create-header__desc {
        font-size: 0.9rem; /* 缩小移动端说明文本，避免占用过多空间 */
    }
}


.main-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 0 var(--content-padding);
    height: var(--nav-height);
    width: 100%;
    /*background: var(--bg-color);*/
    /*background: rgba(10, 10, 10, 0.9);*/
    background: transparent;
    /*background: rgba(0,0,0,0.8);*/
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.nav-btn {
    display: flex;
    height: var(--nav-height);
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.nav-btn i {
    font-size: 18px;
}


.nav-selector {
    --selector-item-width: 100px;
    --selector-item-height: 35px;
    background: var(--text-color-0-5);
    border-radius: 30px;
    display: flex;
    position: relative;
}

.nav-selector-inner {
    display: flex;
}

.nav-selector-item {
    color: var(--text-color);
    width: var(--selector-item-width);
    height: var(--selector-item-height);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.nav-selector-item i {
    font-size: 9px;
    color: inherit;
    margin-right: 8px;
}

.nav-selector-active {
    position: absolute;
    width: calc(var(--selector-item-width) - 2px);
    height: calc(var(--selector-item-height) - 2px);
    left: 2px;
    /*background: rebeccapurple;*/
    background: var(--text-color-0-8);
    border: 1px solid var(--text-color-1);
    /*z-index: -1;*/
    border-radius: 30px;

    top: 50%; /* 距离父容器顶部50% */
    transform: translateY(-50%); /* 使用translateY调整垂直位置 */


}


.content-wrapper {
    height: 100vh;
    padding-top: var(--nav-height);
    width: 100vw;
    display: flex;
    flex-shrink: 0;
    overflow-x: hidden;
    position: relative;
}

.tab-page-wrapper {
    height: 100%;
    width: 100vw;

    flex-direction: column;

    overflow-y: auto;
    flex-shrink: 0;

    padding-bottom: 250px;
}


.auth-wrapper {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    --modal-padding: 20px;
}

.auth-modal {
    width: 85%;
    background: var(--bg-color);
    position: absolute;
    top: 50%; /* 向下移动 50% 的父元素高度 */
    left: 50%; /* 向右移动 50% 的父元素宽度 */
    transform: translate(-50%, -50%); /* 向上和向左移动自身的 50% */
    border: 1px solid var(--text-color-1);
    border-radius: 10px;
}


.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
    /*border-bottom: 1px solid var(--text_color_1);*/
    padding: 0 var(--modal-padding);
}


.auth-modal-title {
    font-weight: bold;
    font-size: 18px;

}

.close-auth-modal-btn {
    /*width: 40px;*/
    /*height: 40px;*/
    border-radius: 50%;
    /*background: var(--text_color_1);*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-auth-modal-btn i {
    color: var(--text-color-9);
    font-size: 12px;
}


.auth-modal-content {
    padding: var(--modal-padding);
}


.auth-modal-btn {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.auth-modal-btn:not(:last-child) {
    margin-bottom: 10px;
}


.signup-hint {
    margin-bottom: 20px;
    font-size: 12px;
    margin-left: 5px;
    opacity: 0.6;
}


/*透明度动画*/
.fade-animation {
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.3;
    }
}


.about-us-content-wrapper {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 16px;
}

.about-us-content-wrapper .icon {
    font-size: 40px;
    text-align: center;
    padding-bottom: 20px;
}

.about-us-content-wrapper p {
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-color-6);
    font-size: 14px;

}

.about-us-content-wrapper p.primary {
    color: var(--text-color);
    font-weight: 500;
    font-size: 14px;
}


.about-us-content-wrapper .signature {
    margin: 0 auto;
    width: 120px;
}


.launch-screen-wrapper {
    z-index: 10000;
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.launch-screen-wrapper img {
    width: 100px;
    margin-bottom: 10px;
}

.launch-screen-wrapper .slogan {
    text-align: center;
    padding: 0 20px;
    color: var(--text-color-5);
    margin-bottom: 20px;
}


.wechat-content .arrow {
    position: fixed;
    /*top: 10px;*/
    /*right: 10px;*/

    top: 30px;
    right: 30px;
    /*height: 70px;*/

    font-size: 30px;
}

.arrow-place-holder {
    height: 90px;
    width: 100%;
}

.wechat-hint-wrapper {
    display: flex;
    align-items: center;
}

.wechat-hint-wrapper:not(:last-child) {
    margin-bottom: 60px;
}

.wechat-hint-index {
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 13px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    margin-right: 10px;
    font-weight: bold;
}

.wechat-hint-content {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.wechat-hint-btn {
    font-size: 13px;
    width: 35px;
    height: 35px;
    align-items: center;
    justify-content: center;
    display: flex;
    background: var(--sub-btn-bg);
    color: var(--sub-btn-text-color);
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    margin: 0 8px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}


.wechat-hint-btn  .dots-image {
    /*width: 20px;*/
}

.wechat-hint-btn  .browser-image {
    width: 25px;
    margin-left: 2px;
    color: dodgerblue;
}


.wechat-content-inner {
    width: fit-content;
    margin: 0 auto;
}