/* 全局变量与重置 */
:root {
    --primary:    #f62d76;
    --primary-light: #ff9e9f;
    --primary-dark: #e55455;
    --secondary: #4ecdc4;
    --dark: #2c3e50;
    --light: #f8f9fa;
    --light-gray: #edf2f7;
    --medium-gray: #e2e8f0;
    --text-dark: #2d3748;
    --text-medium: #4a5568;
    --text-light: #718096;
    --success: #48bb78;
    --warning: #ecc94b;
    --error: #e53e3e;
    --posts-list-scale: 70%;
    --single-cover-scale: 35%;
    --theme-color: #f04494;
    --focus-color: var(--theme-color);
    --focus-shadow-color: rgba(253, 83, 161, 0.4);
    --key-color: #333;
    --main-color: #4e5358;
    --main-shadow: rgba(116, 116, 116, 0.08);
    --muted-color: #777;
    --muted-2-color: #999;
    --muted-3-color: #b1b1b1;
    --muted-4-color: #d2d2d2;
    --body-bg-color: #f5f6f7;
    --main-bg-color: #fff;
    --muted-bg-color: #eee;
    --main-border-color: rgba(50, 50, 50, 0.06);
    --muted-border-color: rgba(0, 0, 0, 0.03);
    --main-radius: 8px;
    --mian-max-width: 1400px;
    --blur-bg: rgba(255, 255, 255, 0.8);
    --float-btn-bg: rgba(200, 200, 200, 0.4);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body {
    background-image: url(https://file.qw.chat/v1/20240614210322487-%E7%BD%91%E7%AB%99%E8%83%8C%E6%99%AF-1.webp);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: 100%;
}
/*body {*/
/*    background-image: url('https://file.qw.chat/v1/auth-1.svg')!important;*/
/*    opacity:1;*/
/*    background-position: center top;*/
/*    background-repeat: no-repeat;*/
/*    background-attachment: scroll;*/
/*    background-size: 100%;*/
/*}*/
body {
    background-color: #fff;
    color: var(--text-medium);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 公共样式 */
* {
    box-sizing: border-box;
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
a {
    color: var(--main-color)
}

a:focus,a:hover {
    color: var(--focus-color);
    outline: 0;
    text-decoration: none
}
img {
    max-width: 100%;
    max-height: 100%;
}
img {
    vertical-align: middle;
}
img {
    border: 0;
}
.chapter:after,.chapter:before{
    display: table;
    content: " ";
}
*, :after, :before {
    outline: 0 !important;
}
:after, :before {
    box-sizing: border-box;
}
.b-b1{
    background: #f8f9fa!important;
}
.c-c1{
    border: 1px solid rgb(223 221 233) !important
}
.ml10{
    margin-left: 10px;
}
.mb20, .theme-box {
    margin-bottom: 20px;
}
.mt7 {
    margin-top: 6px;
}
.em09 {
    font-size: .9em;
}
.muted-2-color {
    color: var(--muted-2-color);
}
.c-b4{
    line-height: 29px;
    font-size: 16px;
    background: var(--this-bg);
    width: 29px;
    height: 29px;
    display: inline-block;
    text-align: center;
    border-radius: 100%;
    position: relative;
    vertical-align: text-top;
    --this-bg: var(--main-border-color);
    color: var(--main-color);
}
.msg-news-icon badge.top, .nav-radius-icon badge.top {
    transform: translate(-18px, -6px) scale(.85);
    margin-right: -10px;
}
badge {
    font-size: .8em;
    line-height: 1.2;
    padding: .1em .4em;
    min-width: .8em;
    min-height: .8em;
    display: inline-block;
    vertical-align: .1em;
    border-radius: 50px;
    background: var(--this-bg);
    color: var(--this-color);
    top: 5px;
    --this-color: #fff;
    text-align: center;
    --this-bg: #fe3459;
    z-index: 1;
}
.c-color1 {
    color: var(--text-medium)!important;
}
.c-color2{
    color: var(--primary)!important;
}
.width320 {
    width: 320px;
}
.ml3 {
    margin-left: 3px;
}
.ml5 {
    margin-left: 5px;
}
.ml6{
    margin-bottom: 24px;
    margin-top: 24px;
}
.me1{
    display: flex;
}
.padding-1{
    padding: 0px 10px 10px 10px;
}
.padding-2{
    padding: 10px 10px 10px 0px;
}
.padding-3{
    padding: 15px;
}
.padding-4{
    padding: 5px 10px 10px 10px;
}
.padding-w10 {
    padding-left: 10px;
    padding-right: 10px;
}
.border-column-1{
    border-bottom: 1px solid #f4e7e7;
}
.background-1{
    background-image: url('https://file.qw.chat/v1/auth-2.svg')!important;
    background-position:0 0!important;
    opacity:0.75;
}
.background-2{
    background: #fbdee8 !important;
}
.background-3{
    background: #f2dfd6 !important;
}
.font-size-14{
    font-size: 14px!important;
}
.font-size-12{
    font-size: 14px!important;
}
.s-bin{
    margin-top: 15px!important;
    padding: 5px 10px!important;
}
.flex {
    display: flex;
}
.margin-top-80{
    margin-top: 80px;
}
.line-form, .relative {
    position: relative;
}
.margin-bottom-60{
    margin-top: -50px;
    margin-right: 20px;
}
.border-column {
    box-sizing: border-box;
    border: 1px solid #fde1eb;
}
.border1 {
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    border: 1px solid #f5f1fa;
}
.margin-column {
    margin: 10px;
}
.margin-column-t {
    margin: 0 0px 10px 10px;
}
.margin-bottom-40{
    margin: 40px 10px 10px 10px;
}
.margin-bottom-41{
    margin: 10px 1px 1px 1px;
}
.margin-column-2 {
    margin: 2px;
}
.mi-col-2.mr6 {
    width: calc(50% - 6px);
}
.active.badg, .active>.badg:not(.vip-tag) {
    --this-bg: var(--focus-color);
    --this-color: #fff;
}
.mb6 {
    margin-bottom: 6px;
}
.badg.p2-10, .but.p2-10, badge.p2-10 {
    padding: 2px 10px;
}
.mb10 {
    margin-bottom: 10px;
}
.text-center {
    text-align: center;
}
.jsb {
    justify-content: space-between;
}
.t-user-level{
    height: 25px;
    width: 60px;
}
.t-user-level img{
    height: 100%;
    width: 100%;
}
.author-header .desc {
    max-width: 520px;
}

.mt6 {
    margin-top: 6px;
    font-size: 12px;
}
.muted-2-color {
    color: var(--text-dark);
}
.header-avatar {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}
.box-img, .drop-btn, .passw, .pointer, [href], a.but, botton {
    cursor: pointer;
}
.muted-color {
    color: var(--muted-color);
}
.text-right {
    text-align: right;
}
.height-960{
    height: 960px !important;
}
.header-avatar img{
    border-radius: 6px;
    border: 4px solid #fde1eb;
    width: 100%;
    height: 100%;
}

.flex0 {
    flex: none;
}
.flex1 {
    flex: 1;
    overflow: hidden;
}
.em12 {
    color: #243159 !important;
    font-size: 20px;
}
.align-items-column{
    align-items: center;
}
.relative {
    position: relative;
}
.badg, .but1, .post-page-numbers {
    border-radius: 4px;
    display: inline-block;
    border-radius: 4px;
    transition: .15s;
    border: 1px solid var(--this-border);
    vertical-align: middle;
    padding: .3em .6em;
    text-align: center;
    font-weight: 400;
    box-shadow: var(--this-shadow);
    background: var(--this-bg);
    color: var(--this-color);
    --main-color: var(--this-color);
    --this-bg: rgba(136, 136, 136, 0.1);
    --this-border: transparent;
    --this-shadow: none;
    --this-color: #888;
    text-shadow: 0 0 0;
    line-height: 1.44;
}
.box-img, .drop-btn, .passw, .pointer, [href], a.but1, botton {
    cursor: pointer;
}
.city-text{
    border-radius: var(--radius-lg);
    padding: 0px 10px 0px 10px;
    margin-left: 10px;
    color: var(--text-light);
    font-size: 14px !important;
    background: #ccc;
}
.but{
    display: inline-block;
    transition: .15s;
    border: 1px solid var(--text-light);
    vertical-align: middle;
    text-align: center;
    font-weight: 400;
    box-shadow: var(--text-light);
    background: var(--text-light);
    color: var(--light);
    text-shadow: 0 0 0;
    line-height: 1.44;
}
.radius{
    border-radius: 50px;
    padding: 3px 3px;
}
.login-oauth{
    padding: 0 6px;
    border-radius: 50%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    align-items: center;
    background: #f6f6f6;
    cursor: pointer;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}
.action-btn-1 {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
/* 导航栏样式 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 70px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: saturate(5) blur(20px);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    color: var(--primary);
    font-size: 28px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 0;
    position: relative;
    color: var(--text-medium);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.auth-buttons .btn {
    margin-left: 15px;
    font-size: 14px;
    padding: 8px 16px;
}

/* 主内容区 */
.main-container-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
}
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    display: flex;
}

.hero-section {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
    background: linear-gradient(to right,    #f62d76, #ff8e8f);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-medium);
    margin-bottom: 30px;
    max-width: 600px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    margin: 40px 0;
    max-width: 600px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.hero-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 500px;
    background: linear-gradient(to bottom, #d8eefe, #eef7ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.writing-illustration {
    width: 100%;
    height: 100%;
    background: url('https://file.qw.chat/v1/photo-1455390582262-044cdead277a.avif') no-repeat center/cover;
}

/* 功能区 */
.features-section {
    margin: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 107, 108, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 32px;
}

.feature-content {
    padding: 30px;
    text-align: center;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-description {
    font-size: 16px;
    color: var(--text-medium);
}

/* 创作展示区 */
.works-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff 60%);
    padding: 60px 0;
    margin: 40px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.work-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.work-content {
    padding: 25px;
}

.work-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.work-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-light);
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* 登录弹窗容器 */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    border-radius: var(--radius-lg);
    width: 350px;
    max-width: 90%;
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.auth-header {
    display: flex;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.modal-close {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.auth-content {
    padding: 20px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input {
    padding: 10px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 108, 0.15);
}

.form-input::placeholder {
    color: #A0AEC0;
}

.action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* 基础复选框样式 (基于参考[3][4]的表单设计系统) */
input[type="checkbox"] {
    position: relative;
    width: 18px;
    height: 18px;
    border: 2px solid var(--medium-gray); /* 使用参考[3]定义的边框颜色 */
    border-radius: var(--radius-sm);  /* 使用参考[3]的小圆角变量 */
    appearance: none; /* 移除默认样式 */
    cursor: pointer;
    transition: var(--transition); /* 使用参考[3]定义的过渡效果 */
}

/* 选中状态样式 (基于参考[6]的色系) */
input[type="checkbox"]:checked {
    background-color: var(--primary); /* 使用参考[6]的主色调 */
    border-color: var(--primary);
}

/* 添加选中标记 (使用CSS绘制√号) */
input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* 聚焦状态效果 (扩展参考[4]的聚焦效果) */
input[type="checkbox"]:focus {
    box-shadow: 0 0 0 4px rgba(74, 108, 247, 0.15); /* 基于参考[4]的蓝光效果调整 */
    border-color: var(--primary); /* 使用参考[3]的主色调 */
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-btn {
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.auth-btn:hover {
    background: var(--primary-dark);
}

.divider {
    text-align: center;
    position: relative;
    margin: 0 0;
    color: var(--text-light);
}

.divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: calc(50% - 40px);
    height: 1px;
    background: var(--medium-gray);
}

.divider:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: calc(50% - 40px);
    height: 1px;
    background: var(--medium-gray);
}

.social-login {
    display: flex;
    gap: 16px;
}

.social-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--medium-gray);
    background: white;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.social-btn:hover {
    border-color: var(--primary);
}

.footer-links {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
}

/* 用户反馈弹窗 */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 16px 24px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    z-index: 3000;
    transition: transform 0.4s ease;
    max-width: 90%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    font-size: 24px;
}

.toast-content {
    flex: 1;
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--error);
}

.toast.info {
    border-left: 4px solid var(--primary);
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--error);
}

.toast.info .toast-icon {
    color: var(--primary);
}

/* 用户列表模拟 */
.user-section {
    margin-top: 60px;
    background: white;
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.user-card {
    background: var(--light);
    border-radius: var(--radius-sm);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
}

.user-status {
    font-size: 12px;
    color: var(--text-light);
}

.online {
    color: var(--success);
}

/* 按钮基础样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.btn1{
    font-size: 25px;
    background: white!important;
    color: var(--primary)!important;
}
.btn1:hover {
    background: white!important;
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary);
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}
/* 页脚 */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* 动画 */
@keyframes modalIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 响应式设计 */
@media (max-width: 1000px) {
    .hero-section {
        flex-direction: column;
    }

    .hero-content {
        text-align: center;
        align-items: center;
        padding: 0;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .main-container {
        padding: 25px;
    }

    .section-title {
        font-size: 28px;
    }

    .auth-modal .modal-container {
        width: 90%;
    }

    .social-login {
        flex-direction: column;
    }
}
/* Toast 样式 */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
}

.toast {
    background: white;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
}

.toast-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.toast-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.6;
    transition: var(--transition);
    padding: 5px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    opacity: 1;
}

/* Toast 类型样式 */
.toast-success {
    border-left: 6px solid var(--success);
}

.toast-success i {
    color: var(--success);
}

.toast-error {
    border-left: 6px solid var(--danger);
}

.toast-error i {
    color: var(--danger);
}

.toast-warning {
    border-left: 6px solid var(--warning);
}

.toast-warning i {
    color: var(--warning);
}

.toast-info {
    border-left: 6px solid var(--primary);
}

.toast-info i {
    color: var(--primary);
}
/* 用户中心按钮样式 */
.user-center-container {
    position: relative;
}

.user-btn {
    background: var(--primary);
    color: white;
    border-radius: 50px;
    font-weight: 500;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.user-btn:hover {
    background: var(--primary-dark);
}

.user-btn i {
    font-size: 18px;
}

/* 用户信息卡片样式 */
.user-info-card {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    border-radius: var(--radius-md);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.user-info-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-info-card h2{
    color: var(--primary);
    padding: 15px;
    font-size: 22px;
    font-weight: 700;
}

.card-header {
    padding: 20px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-large {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    color: var(--primary);
}

/*.user-meta {*/
/*    color: white;*/
/*}*/
.user-meta {
    display: flex;
    flex-direction: column; /* 纵向布局用户名和签名 */
    gap: 4px;              /* 行间距 */
}
.user-signature {
    font-size: 12px;       /* 签名较小字体 */
    color: #888;           /* 次级文字色 */
}

.user-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.user-status {
    font-size: 14px;
    opacity: 0.9;
}

.vip-info {
    background: rgba(0, 0, 0, 0.1);
    padding: 0px 9px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
}

.card-body {
    padding: 20px;
}

.card-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray);
}

.card-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.card-section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.card-info-item {
    display: flex;
    flex-direction: column;
}

.card-info-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.card-info-value {
    font-weight: 600;
    color: var(--text-dark);
}

.card-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

.card-stat-item {
    text-align: center;
    padding: 10px;
    border-radius: 8px;
}

.card-stat-value {
    font-weight: 700;
    font-size: 18px;
}

.card-stat-label {
    font-size: 12px;
    color: var(--text-light);
}

.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
}

.action-btn {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--light-gray);
    color: var(--text-medium);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
}
.action-btn-primary {
    padding: 8px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn-primary:hover {
    background: var(--primary);
    color: white;
}

.action-btn-2 {
    padding: 5px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    text-decoration: none;
}

.action-btn-2:hover {
    background: var(--primary);
    color: white;
}

.action-btn-3 {
    font-size: 14px;
    margin: 17px;
    padding: 5px 16px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--primary);
    text-decoration: none;
    color: var(--dark);
}

.action-btn-3:hover {
    background: var(--primary);
    color: var(--text-medium);
}

/* 侧边导航样式 */
.creator-sidebar {
    border-inline-end: 1px solid rgba(5, 5, 5, 0.06);
    width: 200px;
    border-radius: 8px;
    padding: 20px 0;
}
.creator-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.creator-sidebar li {
    margin-bottom: 8px;
}
.creator-sidebar a {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 16px;
}
.creator-sidebar a:hover {
    border-radius: 15px 0% 0% 15px;
    background: linear-gradient(to right, #fee1ed 0%, rgba(254,225,237,0) 100%) !important;
    color: #e25897!important;
}
/* 主内容区域基础样式 [1] */
.creator-main {
    flex: 1; /* 弹性填充剩余空间 */
    padding: 0 30px; /* 基础内间距 */
    overflow-y: auto; /* 内容溢出时显示滚动条 */
    max-width: 1200px; /* 新增最大宽度限制 */
    margin-left: 20px; /* 与侧边栏的间距 */
}

/* 区块标题样式 [3][4] */
.section-header {
    margin-bottom: 20px;
    padding: 8px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* 响应式适配 [1] */
@media (max-width: 768px) {
    .creator-main {
        padding: 0 15px; /* 移动端缩小内间距 */
        margin-left: 0;
        margin-top: 20px;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* 极窄设备适配 */
@media (max-width: 480px) {
    .section-header {
        text-align: center;
    }

    .form-actions {
        flex-direction: column; /* 纵向排列按钮 */
    }
}

/* 编辑卡片样式 (扩展用户信息卡样式[5]) */
#editUserCard {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
}
.userinfo-card-section {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05); /* 柔和阴影 */
}
.userinfo-card-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.userinfo-card-section-title i {
    font-size: 1.2rem;
    color: var(--primary);;
    margin-right: 10px;
}
.userinfo-card-section-title span {
    font-size: 1.1rem;
    font-weight: 600;
}
.userinfo-card-info-grid {
    font-size: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.userinfo-card-info-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.userinfo-card-info-label {
    width: 100px;
    font-weight: 500;
    color: #666;
}
.userinfo-card-info-value {
    flex: 1;
    min-width: 250px;
}
.userinfo-card-info-value input {
    padding: 10px 14px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.userinfo-card-info-value input:focus {
    outline: none;
    border-color: #2c6de9;
    box-shadow: 0 0 0 3px rgba(44, 109, 233, 0.1);
}
.userinfo-stat-label {
    padding: 4px 10px;
    background: #f0f7ff;
    color: #2c6de9;
    border-radius: 4px;
    margin-left: 12px;
    font-size: 0.85rem;
}
/* 头像区域 */
.userinfo-avatar-container {
    display: flex;
    gap: 40px;
}
.userinfo-avatar-preview {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}
.userinfo-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.userinfo-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.userinfo-size-hint {
    font-size: 0.9rem;
    color: #888;
}
/* 间距与布局辅助 */
.mt-40 { margin-top: 40px; }
.file-input { display: none; }
.btn-outline {
    background: transparent;
    border: 1px solid #ddd !important;
    color: #555 !important;
}
.btn-outline:hover {
    background: transparent;
    border: 1px solid #ddd !important;
    color: #555 !important;
}
.form-actions {
    display: flex;
    gap: 16px;
    padding: 15px;
    border-top: 1px solid #f0f0f0;
}

/*小说列表*/
.book-info{
    text-decoration: none;
}
.book-card{
    display: flex;
    border-bottom: 1px solid #f2f2f2;
}
.book-cover{
    width: 100px;
    height: 130px;
}
.book-cover img{
    height: 100%;
    width: 100%;
}
.book-text{
    border-radius: var(--radius-lg);
    margin: 10px 0 0 10px;
    padding: 0 10px 0 10px;
    color: #fff;
    font-size: 14px !important;
    background: #91e7e1;
}
.book-description{
    height: 70px;
    margin: 5px 5px 5px 1px;
    font-size: 14px;
    color: #ccc;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;       /* 限制显示3行 */
    overflow: hidden;            /* 隐藏溢出内容 [1][6] */
    max-width: max-content;           /* 添加最大宽度约束 [2][5] */
}
.book-info-stats{
    font-size: 14px;
    color: #9c9c9c;
}
.book-info-stats span{
    padding: 3px;
    margin-right: 3px;
    background: #eeeeee;
}
.book-info-bin{
    justify-content: center;
    flex-direction: column;
    display: flex;
    align-items: center;
}
.book-info-bin-add {
    font-size: 14px;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    margin: 5px;
    padding: 5px 16px;
    border-radius: var(--radius-sm);
    background: #fff;
    text-decoration: none;
    color: var(--dark);
    border: 1px solid #f0f0f0;
}
.pag{
    text-align: center;
    border-top: none;
    padding: 20px 0 30px 0;
    margin: 0;
}
.pag a{
    text-decoration: none;
    border-radius: 30px;
    padding: 5px 15px;
    color: var(--dark);
    opacity: .6;
    font-size: 14px;
}
.pag a:hover{
    color: var(--dark);
    text-decoration: none;
}
.zib-widget {
    clear: both;
    padding: 15px;
    margin-bottom: 20px;
}
/*编辑作品信息*/
.form-card-container {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.form-card-section {
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.form-card-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}
.form-card-section-title i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 10px;
}
.form-card-section-title span {
    font-size: 1.1rem;
    font-weight: 600;
}
.form-card-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.form-card-info-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.form-card-info-label {
    width: 100px;
    color: #666;
}
.form-card-info-value {
    flex: 1;
    min-width: 250px;
}
.form-card-info-value input {
    padding: 10px 14px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.form-card-info-value input:focus {
    outline: none;
    border-color: #2c6de9;
    box-shadow: 0 0 0 3px rgba(44, 109, 233, 0.1);
}
.form-card-info-value textarea {
    padding: 10px 14px;  /* 匹配输入框内边距[1][2] */
    width: 100%;         /* 100%宽度[2] */
    max-width: 400px;    /* 最大宽度限制[2] */
    border: 1px solid #e0e0e0;  /* 边框样式和颜色[1][5] */
    border-radius: 6px;         /* 圆角尺寸[1] */
    transition: all 0.2s ease;  /* 过渡动画效果[1] */
    min-height: 120px;          /* 新增最小高度保证可见区域 */
    resize: vertical;           /* 允许垂直调整大小 */
    font-family: inherit;       /* 继承字体设置 */
    box-sizing: border-box;     /* 盒模型计算包含内边距 */
}
/* 焦点状态样式保持与输入框一致[1][5] */
.form-card-info-value textarea:focus {
    outline: none;
    border-color: #2c6de9;
    box-shadow: 0 0 0 3px rgba(44, 109, 233, 0.1);
}
.form-card-info-value select {
    padding: 10px 14px;          /* 一致的内边距 [1][2] */
    width: 100%;                 /* 100%宽度 [2] */
    max-width: 400px;            /* 最大宽度限制 [2] */
    border: 1px solid #e0e0e0;   /* 相同边框样式 [1][3] */
    border-radius: 6px;          /* 统一圆角 [1] */
    transition: all 0.2s ease;   /* 继承过渡动画 [1] */
    appearance: none;            /* 移除默认下拉箭头 */
    background-color: #fff;      /* 纯白背景保证可读性 [5] */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;         /* 确保文本不重叠 */
}
.form-card-info-value select:focus {
    outline: none;
    border-color: #2c6de9;       /* 聚焦状态高亮 [1][5] */
    box-shadow: 0 0 0 3px rgba(44, 109, 233, 0.1); /* 柔和光晕效果 [1] */
}
/* 单选框容器 */
.form-card-info-value .radio-group {
    display: flex;
    gap: 20px;                   /* 选项间距 */
    margin-top: 8px;
}
/* 自定义单选框 */
.radio-option {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}
.radio-option .custom-radio {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #e0e0e0;   /* 相同边框色 [1][3] */
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    transition: all 0.2s ease;   /* 一致过渡动画 [1] */
}
/* 选中状态 */
.radio-option input:checked + .custom-radio {
    border-color: #2c6de9;       /* 高亮主色 [5] */
}
.radio-option input:checked + .custom-radio::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: #2c6de9;
    border-radius: 50%;
}
/* 聚焦状态 */
.radio-option input:focus + .custom-radio {
    box-shadow: 0 0 0 3px rgba(44, 109, 233, 0.1); /* 同输入框聚焦效果 [5] */
}
.form-stat-label {
    padding: 4px 10px;
    background: #f0f7ff;
    color: #2c6de9;
    border-radius: 4px;
    margin-left: 12px;
    font-size: 0.85rem;
}
.form-images-container {
    display: flex;
}
.form-images-preview {
    width: 90px;
    height: 130px;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}
.form-images-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form-images-preview-add{
    justify-content: center;
    flex-direction: column;
    display: flex;
    align-items: center;
    border: 2px dashed #f0f0f0;
    height: 130px;
    margin-left: 20px;
    width: 90px;
}
.form-images-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-size-hint {
    font-size: 0.9rem;
    color: #888;
}
/*章节创建*/
.chapter {
    padding: 40px 15px 5px 5px;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}
@media (min-width: 1240px) {
    .chapter {
        max-width:var(--mian-max-width);
        width: auto;
    }
}

.chapter .content-wrap{
    float: left;
    width: 100%;
}
.content-wrap .content-layout {
    margin-right: calc(311px + 15px);
}
.chapter .sidebar {
    float: left;
    margin-left: -311px;
    width: 311px;
    position: unset;
}
.sidebar.custom_html {
    padding: unset;
    background: unset;
    box-shadow: unset;
    border-radius: unset;
    clear: both;
    margin-bottom: 20px;
}
.chapter-widget {
    clear: both;
    background: var(--main-bg-color);
    padding: 15px;
    box-shadow: 0 0 10px var(--main-shadow);
    border-radius: var(--main-radius);
    margin-bottom: 20px;
}
.focus-color {
    --this-color: var(--focus-color);
    color: var(--focus-color);
}
.but-average {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}
.but-average>.but1 {
    margin: 0 !important;
    border-radius: 0;
    width: 100%;
}
.jb-green, .order-type-5 .pay-tag {
    --this-bg: linear-gradient(135deg, #60e464 10%, #5cb85b 100%);
}
.jb-blue, .order-type-7 .pay-tag {
    --this-bg: linear-gradient(135deg, #59c3fb 10%, #268df7 100%);
}
.jb-blue, .jb-cyan, .jb-green, .jb-pink, .jb-purple, .jb-red, .jb-vip1, .jb-vip2, .jb-yellow, .jb-yellow-2 {
    border: none;
}
.b-blue, .b-blue-2, .b-cyan, .b-gray, .b-green, .b-purple, .b-red, .b-theme, .b-yellow, .jb-blue, .jb-cyan, .jb-green, .jb-pink, .jb-purple, .jb-red, .jb-vip1, .jb-vip2, .jb-yellow, .jb-yellow-2 {
    color: var(--this-color);
    background: var(--this-bg);
    --this-color: #fff;
}
.padding-10 {
    padding: 10px;
}
.drop-select {
    transition: box-shadow .2s;
}
.dropdown, .dropup {
    position: relative;
}
.flex.ac, .inflex.ac {
    align-items: center;
}
.line-form-input {
    outline: 0 !important;
    border: none;
    display: block;
    width: 100%;
    padding: 1em 2em .4em .3em;
    opacity: .8;
    transition: .3s;
    background: 0 0 !important;
}
.new-title {
    font-size: 20px;
    font-weight: 700;
    padding: 8px 5px;
}
textarea[autoheight] {
    resize: none;
    line-height: 1.4;
    overflow: hidden;
}
.line-form-line, .line-form-line:before {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 1px;
    width: 100%;
    transition: .8s;
    background: var(--main-border-color);
}
.line-form-line:before {
    content: '';
    width: 0;
    background: var(--focus-color);
}
.line-form-input:focus~.line-form-line:before {
    box-shadow: 0 -1px 3px 1.5px var(--focus-shadow-color)
}
.line-form-input:focus~.line-form-line:before,.line-form-input:hover~.line-form-line:before {
    width: 100%
}
.novel-editor-container {
    position: relative;
    overflow: hidden;
}

.editor-content {
    min-height: 800px;
    padding: 5px;
    outline: none;
    line-height: 1.8;
}

.editor-footer {
    padding: 5px 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--main-border-color);;
    flex-wrap: wrap; /* 确保在小屏幕上也能正确换行 */
}

/* 违禁词高亮样式 */
.banned-highlight {
    background: #ffeded;
    border-bottom: 2px dashed #f44336;
    color: #d32f2f;
}

/* 违禁词警告 */
.banned-alert {
    color: #d32f2f;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
/* 占位符设计 */
[contenteditable][placeholder]:empty:before {
    content: attr(placeholder);
    color: var(--text-light);
    opacity: 0.8;
    pointer-events: none;
    position: absolute;
}

[contenteditable][placeholder]:focus:before {
    content: none;
}
/* 返回按钮样式 */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-weight: 500;
    padding: 9px 14px;
    border-radius: var(--main-radius);
    background: white;
    border: 1px solid var(--main-border-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
}

.btn-back:hover {
    color: var(--focus-color);
    border-color: var(--main-border-color);
}
/* 侧边栏位置 */
.sidebar-top-btn {
    box-shadow: 0 0 10px var(--main-shadow);
    border-radius: var(--main-radius);
    margin-bottom: 20px;
}
.drop-select .dropdown-menu {
    box-shadow: 0 0 0 8000px rgba(0, 0, 0, .1);
}
.dropdown-menu {
    border-color: transparent;
    background: var(--main-bg-color);
    --this-color: var(--main-color);
    color: var(--this-color);
    box-shadow: 0 0 10px 8px var(--main-shadow);
    min-width: 100px;
    opacity: 0;
    transform: translateY(6px);
    transition: .3s;
    display: block;
    margin-top: 6px;
    visibility: hidden;
    list-style: none!important;
    z-index: 992
}

.dropdown-menu.column-2 {
    width: 269px
}

.dropdown-menu.column-2>li {
    display: inline-block;
    width: 50%
}

.dropdown-menu.fluid {
    right: 0
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,.175)
}

.dropdown-menu.pull-right {
    right: 0;
    left: auto
}

.dropdown-menu .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5
}

.dropdown-menu>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap
}

.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5
}

.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #337ab7;
    outline: 0
}

.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover {
    color: #777
}

.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover {
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent;
    background-image: none
}

.open>.dropdown-menu {
    display: block
}

.open>a {
    outline: 0
}

.dropdown-menu-right {
    right: 0;
    left: auto
}

.dropdown-menu-left {
    right: auto;
    left: 0
}
.dropdown .dropdown-menu::before {
    top: -4px;
    left: 12px
}

.pull-right.dropdown .dropdown-menu::before,.pull-right.dropup .dropdown-menu::before {
    left: auto;
    right: 12px
}

.dropup .dropdown-menu::before {
    top: auto;
    bottom: -4px;
    left: 11px
}

.dropdown-menu.fluid::before {
    left: 50%
}

.dropdown-menu::before,.private-content::before {
    content: ' ';
    display: inline-block;
    width: 9px;
    height: 9px;
    background: var(--main-bg-color);
    position: absolute;
    top: 12px;
    transform: rotate(45deg);
    left: -4px;
    border-radius: 2px
}
.focus-show:focus~.dropdown-menu,.open>.dropdown-menu {
    visibility: unset;
    opacity: 1;
    transform: translateY(0)
}
.dropdown-menu .plate-select-tab .tab-content,.dropdown-menu .select-drop-box {
    overflow-y: auto;
    max-height: 350px
}
.permission-select {
    appearance: none; /* Disable default arrow [3] */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px 20px 2px 5px !important; /* Right padding for arrow space [6] */
}
.absolute-right-center {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; /* Allows click-through to select */
}
/* 保证日期选择器与下拉框宽度一致 */
.datepicker-input {
    appearance: none;
    background: transparent;
    border: none;
    text-align: right;
    padding-right: 25px !important;
    width: 100%;
}