/* post.all.css - 自动生成，勿手改；源清单见 build_assets.php */

/* ===== template/pc/css/common.css ===== */
@charset "utf-8";
/*全局样式*/
body{
    overflow-y: scroll;
    scrollbar-gutter: stable;
    background-color: #F7F7F7;
    /*background-color: #fff;
    background-image: url("../images/nian.gif");*/
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}
body,p,b,form,input,label,h1,h2,h3,h4,div,ul,li,dl,dt,dd,ol,button{margin:0;padding:0;}
body{font: 12px/26px Arial,Hiragino Sans GB,STHeiti,Helvetica Neue,Helvetica,Microsoft Yahei,WenQuanYi Micro Hei,sans-serif;color:#333;height:101%;word-break: break-word;}
ul,ol,li{list-style:none;}
em, cite{font-style:normal;}
img{border:none;vertical-align:top;}
a{text-decoration:none;color:#333;outline: none;}
a:hover{color:#f05a14;}
input{vertical-align:middle;}
.jiange{ padding: 0 30px;}
input[type=checkbox]{ margin-left: 10px; margin-right: 2px;}


.mt10{margin-top:10px;}
.mt20{margin-top:20px;}
.ml10{margin-left:10px;}
.mb10{margin-bottom: 10px;}
/* 加节日背景需要把pd10=0 */
.pd10{ padding: 10px;} 
.pd20{ padding: 20px;}
.pt10{ padding: 10px;}
.pl10{ padding-left: 10px;}

/* 直接子元素全部左浮动 */
.yui-c-box>div{ float: left;}

/* 定义背景 */
.color{color:#EE3131}
.bg{ background-color:darkgoldenrod}
.bg-blue{ background-color: blue;}
.bg-red{ background-color: red;}
.bg-white{ background-color: white;}
/* 浮动定义 */
.yui-left{ float: left;}
.yui-right{ float: right;}
.yui-clear{ clear: both;}

/* 文本定义 */
.yui-text-right{ text-align: right;}

.yui-xian{ border-bottom: 1px #ebebeb solid; height: 2px;}

/********************* 公共样式写在上面 *******************/

/* 头部 */
/* 加节日背景需要把左右width=1220 左右10px */
.yui-1200{ 
    width: 1200px; 
    margin:0 auto; 
    box-sizing: border-box; /* 确保padding不影响总宽度 */
    /* padding: 0 10px;  background-color: white;*/ 
}

.yui-top{ 
    height: 36px; 
    background: #fff;
    line-height: 36px; 
    border-bottom: 1px solid #F5F5F5;
    box-shadow: none;
    box-sizing: border-box; /* 保证与padding计算一致性 */
}
.yui-top-left{ 
    width: 600px; 
    height: 36px; /* 明确高度,确保垂直居中一致 */
    display: flex;
    align-items: center;
    padding-left: 5px;
    box-sizing: border-box; /* 保证padding-left不影响宽度 */
}
.yui-top-left a {
    margin-right: 15px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    line-height: 1; /* 使用无单位值,让flex居中控制垂直位置 */
    height: 36px;
    display: inline-flex; /* 改为flex,更好地控制对齐 */
    align-items: center; /* 内部文本垂直居中 */
}
.yui-top-left a:hover {
    color: #EE3131;
}
.yui-top-right { 
    width: 580px; 
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 36px;
    box-sizing: border-box; /* 保证宽度计算一致 */
}
.yui-top-right a,
.yui-top-right .yui-top-dropdown {
    margin-left: 0;
    display: inline-block;
}
.yui-top-right a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    padding: 0 15px;
    line-height: 1; /* 使用无单位值,让flex居中控制垂直位置 */
    display: inline-flex; /* 改为flex,更好地控制对齐 */
    align-items: center; /* 内部文本垂直居中 */
    height: 36px;
}
.yui-top-right a:hover {
    background-color: rgba(255,255,255,0.8);
    color: #EE3131;
    text-shadow: none;
}
.yui-top-right span {
    font-size: 13px;
    color: #333;
    line-height: 1; /* 使用无单位值,让flex居中控制垂直位置 */
    display: inline-flex; /* 改为flex,更好地控制对齐 */
    align-items: center; /* 内部文本垂直居中 */
    height: 36px;
}

/* 顶部下拉菜单 */
.yui-top-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.yui-top-dropdown-btn {
    font-size: 13px;
    color: #333;
    cursor: pointer;
    padding: 0 15px;
    position: relative;
    height: 36px;
    display: inline-flex; /* 改为flex,更好地控制对齐 */
    align-items: center; /* 内部文本垂直居中 */
    line-height: 1; /* 使用无单位值 */
}

.yui-top-dropdown-btn:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid #666;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;

}

.yui-top-dropdown:hover .yui-top-dropdown-btn {
    background-color: rgba(255,255,255,0.8);
    color: #EE3131;
    text-shadow: none;
}

.yui-top-dropdown:hover .yui-top-dropdown-btn:after {
    transform: rotate(180deg);
    border-top-color: #EE3131;
}

.yui-top-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: none;
    min-width: 100px;
    max-width: 100px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.yui-top-right .yui-top-dropdown-menu {
    left: auto;
    right: 0;
    transform: none;
}

.yui-top-dropdown:hover .yui-top-dropdown-menu {
    display: block;
}

.yui-top-dropdown-menu li {
    height: 36px;
    line-height: 36px;
    border-bottom: 1px solid #f5f5f5;
}

.yui-top-dropdown-menu li:last-child {
    border-bottom: none;
}

.yui-top-dropdown-menu li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 15px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    text-align: center;
    text-decoration: none !important;
}

.yui-top-dropdown-menu li a:hover {
    background-color: #f9f9f9;
    color: #EE3131;
    text-decoration: none !important;
}

/* 页面切换导航 */
.page-switch-nav {
    background: transparent;
    border-bottom: 2px solid #EE3131;
    padding: 10px 0;
    margin-bottom: 10px;
}
.page-switch-nav .yui-1200 {
    display: flex;
    align-items: center;
}
.page-switch-nav a {
    padding: 5px 20px;
    margin-right: 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border-radius: 3px;

}
.page-switch-nav a:hover,
.page-switch-nav a.active {
    background: #EE3131;
    color: #fff;
    box-shadow: 0 2px 8px rgba(238, 49, 49, 0.2);
    transform: translateY(-1px);
}


/* 主区域 */ 
/* 加节日背景需要把左右pd=0 */
.yui-content{ padding: 0px; overflow: hidden;} 

.yui-content-bg{ background: url("../images/bg_reg.jpg") no-repeat;} 

/* 面包屑 */

.head_fenleilink{ height:25px; line-height:25px; margin:0px auto; margin-top:10px; margin-bottom:10px; font-size:13px;  color:#999999; position:relative;}
.head_fenleilink_nr{width:550px; height:25px; position:absolute; left:20px;}
.head_fenleilink_nr a{ color:#3366cc}
.head_fenleilink_ico{width:15px; height:16px; position:absolute; background:url(../images/headlink.gif) no-repeat; top:4px;}

/* logo row */
.yui-header{ 

    background: white;
    overflow: hidden;

}

/* 面包屑导航样式 - 扁平化设计 */
.breadcrumb-container {
    margin: 5px 0;
    padding: 10px;
    border: none;
    background-color: #fff;
 
    width: 100%;
    box-sizing: border-box;

}

.breadcrumb {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;

}

.breadcrumb a:hover {
    color: #EE3131;
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: #EE3131;
}

.yui-logo{ width: 260px; height: 86px;}
.yui-logo img { width: 260px; height: 86px; margin-top: 0;}
.yui-cimg{ margin-left: 10px; width: 203px; height: 79px; overflow: hidden; background:url(../images/ctip.png) 10px 5px no-repeat; margin-top: 5px;}
.yui-title{ margin-left: 30px; line-height: 60px; font-size: 22px;  border-left: 1px solid #f2f2f2; padding-left: 30px; margin-top: 20px;}
.yui-fh-index{ line-height: 90px; margin-right: 30px; font-size: 16px;}
/* .yui-bottom-boder{ border-bottom: 1px solid #d6d6d6;} */
/* form-seleft */
.yui-form{
    height: 80px;
    margin-left: 20px;
    width: 520px;
    position: relative;
}
.yui-select{
    position: relative;
    width: 490px;
    height: 40px;
    margin-top: 20px;
    border: 2px solid #3092d5;
    border-radius: 3px;
    display: flex;
    align-items: center;
}
.mod_select{
    position: relative;
    width: 80px;
    height: 40px;
    border-right: 1px solid #f2f2f2;
    background: #fff;
    flex-shrink: 0;
    z-index: 1050;
}
.mod_select .select_box{
    position: relative;
    width: 80px;
    height: 40px;
    cursor: pointer;
}
.mod_select .select_box .select_txt{
    display: flex;
    width: 80px;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    color: #333;
    justify-content: flex-start;
    align-items: center;
    padding-left: 15px;
    padding-right: 15px;
}
.mod_select .select_box .select_txt:after{
    content:'';
    position:absolute;
    right:8px;
    top:50%;
    margin-top:-2px;
    width:0;
    height:0;
    border-style:solid;
    border-width:5px 5px 0 5px;
    border-color:#999 transparent transparent transparent;

}
.mod_select .select_box:hover .select_txt:after{
    transform:rotate(180deg);
}
.mod_select .select_box:hover .option,
.mod_select .select_box:focus .option,
.mod_select .select_box:active .option{
    display: block !important;
}
.mod_select .select_box .option{
    display: none;
    position: absolute;
    top: 40px;
    left: -2px;
    width: 80px;
    background-color: #fff;
    border: 2px solid #EE3131;
    border-top: none;
    z-index: 1050;
}
.mod_select .select_box .option li{
    padding: 0;
    font-size: 14px;
    line-height: 36px;
    cursor: pointer;
    color: #666;
    text-align: center;
}
.mod_select .select_box .option li:hover{
    background-color: #f5f5f5;
    color: #EE3131;
}
.yui-select .import{
    width: 306px;
    height: 40px;
    border: none;
    outline: none;
    font-size: 14px;
    background: #fff;
    padding: 0 10px;
}
.yui-select .btn-search{
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 40px;
    color: #fff;
    background-color: #3092d5;
    border: 0;
    font-size: 16px;
    cursor: pointer;

}
.yui-select .btn-search:hover{
    background-color: #2980b9;
}
.yui-select .btn-search:disabled{
    background-color: #6c757d !important;
    cursor: not-allowed !important;
}
/* 热门搜索词 */
.yui-select-bottom-text{line-height: 30px;}
.yui-select-bottom-text .hot-label{
    color: #999;
    font-size: 12px;
}
.yui-select-bottom-text .hot-keyword{
    color: #999;
    font-size: 12px;
    text-decoration: none;
    margin: 0 8px;
}
.yui-select-bottom-text .hot-keyword:hover{
    color: #ff6600;
}

/* 发布按钮 */
.yui-fabu{ width: 160px; height: 80px; float: right; margin-right: 20px;}
.yui-fabu button{ 
    background-color: #ff5722; 
    border: none; 
    width: 160px; 
    height: 43px; 
    margin-top: 20px; 
    color: #FFF; 
    font-size: 14px;
    border-radius: 3px;
}
.yui-fabu button:hover{
    background-color: #ff7043;
}
.yui-fabu button a{ 
    color: #FFF;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 43px;
    text-decoration: none;
}

/* 新的发布按钮样式 - 修复双重跳转问题 */
.yui-fabu .fabu-btn {
    background-color: #ff5722; 
    border: none; 
    width: 160px; 
    height: 43px; 
    margin-top: 20px; 
    color: #FFF; 
    font-size: 14px;
    border-radius: 3px;
    display: block;
    line-height: 43px;
    text-align: center;
    text-decoration: none;

}

.yui-fabu .fabu-btn:hover {
    background-color: #ff7043;
    color: #FFF;
}

/* 发布按钮链接悬停时保持白色文字 - 覆盖全局a:hover样式 */
.yui-fabu button a:hover,
.yui-fabu .fabu-btn:hover {
    color: #fff !important;
    text-decoration: none !important;
}

/* 主导航 */
.yui-nav{height:45px;line-height:45px;background-color:#3092d5;border-radius:2px; margin-top: 10px;}
.yui-nav ul li{float:left;line-height:45px;height:45px;position:relative;}
.yui-nav ul li a{display:block;height:45px;line-height:45px;text-align:center;color:#fff;text-decoration:none;font-size:16px;padding:0 15px;}
.yui-nav ul li dl{position:absolute;left:0;top:45px;z-index: 999; width:139px;background-color:#fff;display:none;color:#666;box-shadow:0 3px 8px #666;border-radius:0 0 4px 4px;overflow:hidden;}
.yui-nav ul li dl dd{height:40px;}
.yui-nav ul li dl dd a{display:block;height:40px;line-height:40px;text-align:center;color:#666;border-bottom:1px solid #f2f2f2;}
.yui-nav ul li dl dd a:hover{background:#f2f2f2;color:#666;}
.yui-nav ul li:hover{background:#247BB5;}
.yui-nav ul li:hover > a{color:#fff !important;}
.yui-nav .nav-cur{background:#247BB5;}
.yui-nav .nav-cur > a{color:#fff;}

/* 导航条下广告条 */
.mo-box{ margin-top: 10px;}
.mo-box a{ margin-bottom: 6px; display: block;}
.mo-box img{ width: 1200px;}

/* 首页第一屏 */

/* h3 板块标题 */
.yui-h-title { 
    padding: 10px;
    margin-bottom: 0;
    border-bottom: 1px solid #f5f5f5;
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.yui-h-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #EE3131;

}
.yui-h-title:hover:after {
    width: 80px;
}
.yui-h-title h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 600;
    position: relative;
    padding-left: 10px;
}
.yui-h-title h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #EE3131;
    border-radius: 2px;
}
.yui-h-title span { 
    font-size: 12px;
}
.yui-h-title span a { 
    color: #999;

    padding: 4px 8px;
    border-radius: 3px;
}
.yui-h-title span a:hover { 
    color: #EE3131;
    background: #fff5f5;
}
.yui-small-list ul{ display: block;  margin-top: 10px;}
.yui-small-list ul li{ line-height: 30px; margin-left: 5px;overflow: hidden; height: 30px; text-overflow: ellipsis; /* 添加省略号 */}


.yui-small-list ul li a{ font-size: 14px; color: #266392;}
/* h3 板块标题样式二 */
.yui-h-title2{/* border-bottom: 1px solid #EE3131; */height: 35px; line-height: 35px;/* padding-left: 5px; */}
/* .yui-h-title2 ul li{ float: left; height: 33px; padding: 0 10px; font-size: 16px; border: 1px solid #EE3131; border-bottom: 2px solid #fff;color: #EE3131; margin-right: 5px;} */
.yui-h-title2 ul li{ float: left; height: 33px; /* padding: 0 10px; */font-size: 16px; /* border: 1px solid #EE3131; border-bottom: 2px solid #fff;color: #EE3131; */ margin-right: 5px; font-weight: 700;}

/* 发布条例与提示 */
.infoquote { margin: 10px 0px;  padding:8px 13px; background: rgb(248, 245, 218); border: 1px solid rgb(255, 198, 134) ; overflow: hidden; font-size: 14px;line-height: 25px; color: #888;}
.infoquote p{color: #EE3131;}
.infoquote a{ color: blue;}
.fabu_tiaoli { height: 60px;font-size: 13px; line-height: 20px; padding-left: 15px;padding-top: 10px; padding-bottom: 10px;color: rgb(0, 0, 0);margin: 10px 30px; border-width: 1px; border-style: solid;  border-color: rgb(255, 198, 134);border-image: initial; background: rgb(248, 245, 218);}
.notice{ height: auto!important; overflow: hidden;border: 1px solid rgb(255, 198, 134) ;background: rgb(248, 245, 218); padding: 10px; color: #333;}



.aboutMain{text-align:left;overflow:hidden;}
.aboutMainl{float:left;width:190px;height:auto;background-color:#FFF;padding:0;}
.aboutMainl ul li{float:left;width:190px;height:50px;line-height:50px;text-align:center;border-bottom:1px #EEE solid;font-size:16px;}
.aboutMainr{float:right;width:968px;height:auto;background-color:#FFF;padding:0 15px 15px;}
.aboutMainrt{float:left;width:900px;height:50px;line-height:50px;border-bottom:1px #EEE solid;font-weight:700;font-size: 16px; color: #EE3131;display: inline;}
.aboutMainrc{min-height:500px;overflow:hidden;float:left;height:auto;line-height:30px;padding-top:10px;color:#333;}
.aboutMainrc p{font-size:14px;color:#333;}
.aboutMainl ul .aboutOver{font-weight:700;border-top:1px #EEE solid;border-bottom:1px #EEE solid;font-size:16px;}
.aboutMainl ul .aboutOver a{color:#EE3131;}


.yui-dy{  background: white; border-radius: 5px; line-height: 30px; overflow: hidden;font-size:15px; }
.yui-dy h1{font-size: 20px; line-height: 35px; text-align: center; margin-bottom: 20px; margin-top: 20px;}
.yui-dy-qt{ text-align: center; border-bottom: 1px #f2f2f2 solid; height: 30px; padding-bottom: 10px; margin-bottom: 10px;}
.yui-dy-qt span{ margin-right: 30px; font-size: 14px; color: #888;}
.yui-dy-next{ color: #888; height: 50px; margin-top: 30px;}
.yui-dy-next a{color: #266392;}

/* footer 美化 */
.yui-footer {
    /*background-color: #f7f7f7;*/
    margin-top: 10px;
}

.yui-footer .yui-1200 {
    border-top: 2px solid #EE3131;
}

.yui-footer .footer-content {
    padding: 20px;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.yui-footer .footer-nav {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.yui-footer p {
    text-align: center; 
    line-height: 20px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #666;
    text-shadow: none;
}

.yui-footer .footer-nav a {
    margin: 0 15px;
    color: #555;
    font-size: 13px;
    position: relative;
    font-weight: 500;
    padding: 3px 5px;
    border-radius: 3px;

}

.yui-footer .footer-nav a:hover {
    color: #EE3131;
    background-color: transparent;
    text-decoration: none;
}

.yui-footer .footer-nav a:not(:last-child):after {
    content: '|';
    position: absolute;
    right: -15px;
    color: #ddd;
}

.yui-footer .footer-disclaimer {
    line-height: 18px;
    color: #999;
    margin-bottom: 8px;
}

.yui-footer .footer-copyright {
    margin-top: 8px;
    color: #999;
    line-height: 18px;
}

.yui-footer p:last-child {
    margin-bottom: 0;
}

.yui-footer p a { 
    margin: 0 8px;
    color: #666;
    text-decoration: none;

    display: inline-block;
    position: relative;
    text-shadow: none;
    font-size: 12px;
}



.yui-footer p a:hover {
    color: #EE3131;
}

.yui-footer p a.db_link {
    font-weight: bold;
    color: #555;
}

/* 特殊链接样式 */
.yui-footer p a[rel="nofollow"] {
    margin: 0 5px;
    color: #888;
}

.yui-footer p a[rel="nofollow"]:hover {
    color: #EE3131;
}

.yui-footer p a[rel="nofollow"]:after {
    content: none;
}

/* 友情链接样式 */
.friend-links {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.friend-links-title {
    display: inline-block;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    margin-right: 10px;
    vertical-align: top;
    line-height: 26px;
}

.friend-links-list {
    display: inline-block;
    width: calc(100% - 80px);
    line-height: 26px;
}

.friend-links-list a {
    display: inline-block;
    margin: 0 15px 5px 0;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    padding: 2px 8px;
    border-radius: 3px;

    border: 1px solid transparent;
}

.friend-links-list a:hover {
    color: #EE3131;
    background-color: #f8f8f8;
    border-color: #EE3131;
    text-decoration: none;
}

/* 响应式友情链接 */
@media (max-width: 768px) {
    .friend-links-title {
        display: block;
        margin-bottom: 8px;
        margin-right: 0;
    }

    .friend-links-list {
        display: block;
        width: 100%;
    }

    .friend-links-list a {
        margin: 0 10px 5px 0;
        font-size: 11px;
        padding: 1px 6px;
    }
}

 /* ========== 简洁页面模板样式（可在其他页面复用）开始 ========== */
        /* 简洁头部样式 */
        .simple-header {
            width: 1200px;
            margin: 0 auto;
            background-color: #fff;
            padding: 0;
            margin-bottom: 10px;
            box-sizing: border-box; /* 确保宽度一致性 */
        }
    

        .simple-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .simple-logo {
            display: flex;
            align-items: center;
        }

        .simple-logo img {
            height: 86px;
            width: 260px;
            margin: 0;
            margin-right: 15px;
            display: block;
        }

        .logo-title-group {
            display: flex;
            align-items: center;
        }

        .title-separator {
            height: 24px;
            width: 1px;
            background-color: #ddd;
            margin: 0 15px;
            display: inline-block;
        }

        .simple-title {
            font-size: 20px;
            color: #555;
            font-weight: normal;
            margin: 0;
        }

        .simple-back {
            font-size: 14px;
            color: #555;
            text-decoration: none;
        }

        .simple-back:hover {
            color: #EE3131;
        }

        /* 简洁内容区域 */
        .simple-content {
            width: 1200px;
            margin: 20px auto;
            background: #fff;
            padding: 20px;
            border-radius: 5px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            min-height: 400px;
        }

        /* 简洁页脚样式 */
        .simple-footer {
            width: 1200px;
            margin: 20px auto;
            background-color: #fff;
            padding: 20px 0;
            border-top: 1px solid #eee;
        }

        .simple-footer-inner {
            text-align: center;
        }

        .simple-footer-links {
            margin-bottom: 10px;
        }

        .simple-footer-links a {
            color: #555;
            text-decoration: none;
            margin: 0 10px;
            font-size: 14px;
        }

        .simple-footer-links a:hover {
            color: #EE3131;
        }

        .simple-footer-copyright {
            color: #999;
            font-size: 12px;
            line-height: 1.6;
        }
        /* ========== 简洁页面模板样式（可在其他页面复用）结束 ========== */

/* 暂无信息样式 */
.no-info-message {
    padding: 60px 0;
    margin: 20px 0;
    text-align: center;
}

.no-info-icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ccc"><path d="M20 6h-4V4c0-1.1-.9-2-2-2h-4c-1.1 0-2 .9-2 2v2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zM10 4h4v2h-4V4zm10 16H4V8h16v12z"/><path d="M12 17.5a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11zm0-9.5a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"/></svg>') no-repeat center;
}

.no-info-message p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* 关键字专题导航 */
.yui-topic-nav {
    background: #fff;
    padding: 8px 0;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.yui-topic-nav .topic-nav-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-right: 15px;
    margin-left: 15px;
    white-space: nowrap;
}

.yui-topic-nav .topic-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    padding-right: 15px;
}

.yui-topic-nav .topic-nav-item {
    display: inline-block;
    position: relative;
}

/* 竖线分隔符 */
.yui-topic-nav .topic-nav-item:not(:last-child)::after {
    content: '|';
    color: #ddd;
    margin: 0 10px;
}

.yui-topic-nav .topic-nav-item a {
    display: inline-block;
    padding: 0;
    font-size: 14px;
    color: #999;
    background: transparent;
    border-radius: 0;
    text-decoration: none;
    transition: none;
}

.yui-topic-nav .topic-nav-item a:hover {
    background: transparent;
    color: #EE3131;
    transform: none;
    box-shadow: none;
}

.yui-topic-nav .topic-nav-item.active a {
    background: transparent;
    color: #EE3131;
}

/* 热门专题标签样式 - 紧凑云标签风格 */
.zhuanti-tags {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 首页默认三列 */
    gap: 8px;
    padding: 12px 0;
}

/* 侧边栏中的专题标签两列布局 */
.yui-index-info-list-right .zhuanti-tags {
    grid-template-columns: repeat(2, 1fr);
}

.topic-tag-item {
    display: block;
    text-align: center;
    text-decoration: none;
    border-radius: 20px;
    padding: 2px 5px;
    color: #fff !important; /* 强制白色文字 */
    font-size: 12px; /* 统一字号 */
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 云标签固定5色循环，忽略用户自定义颜色 */
.topic-tag-item:nth-child(5n+1) {
    background: #67c23a;
}

.topic-tag-item:nth-child(5n+2) {
    background: #409eff;
}

.topic-tag-item:nth-child(5n+3) {
    background: #f56c6c;
}

.topic-tag-item:nth-child(5n+4) {
    background: #909399;
}

.topic-tag-item:nth-child(5n) {
    background: #e6a23c;
}

.topic-tag-item:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.9;
    color: #fff !important; /* 强制保持白色文字 */
}

.topic-tag-item i {
    margin-right: 4px;
    font-size: 12px;
}

/* 侧边栏专题列表样式 - 简约列表风格 */
.sidebar-topic-list {
    margin-top: 12px;
}

.sidebar-topic-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: 6px;
    background-color: transparent;
    transition: all 0.2s ease;
}

.sidebar-topic-item:hover {
    background-color: #f5f7fa;
}

.sidebar-topic-item a {
    flex: 1;
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
}

.sidebar-topic-item i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    color: #a0a0a0;
    font-size: 14px;
}

.sidebar-topic-item.active {
    background-color: #e8f4ff;
}

.sidebar-topic-item.active a {
    color: #409eff;
    font-weight: 600;
}

.sidebar-topic-item.active i {
    color: #409eff;
}

.sidebar-topic-item:hover a {
    color: #409eff;
    text-decoration: none !important;
}

.sidebar-topic-item:hover i {
    color: #409eff;
}

/* ==================== 浏览记录下拉样式 ==================== */
/* 扩大下拉容器宽度，强制白色背景防止透明问题 */
.view-history-dropdown .yui-top-dropdown-menu {
    min-width: 290px;
    max-width: 360px;
    background-color: #fff !important;
    background: #fff !important;
}

/* 浏览记录下拉菜单项左对齐 */
.view-history-dropdown .yui-top-dropdown-menu li a {
    justify-content: flex-start;
    text-align: left;
}

/* ==================== 移动端下拉样式 ==================== */
/* 移动端按钮带图标 */
.mobile-dropdown-btn {
    background: url('/static/images/top_icon_mobile.png') no-repeat left center;
    background-size: 16px 16px;
    padding-left: 18px !important;
    padding-right: 5px !important;
}

.mobile-dropdown-menu {
    width: max-content;
    min-width: 0 !important;
    max-width: none !important;
    padding: 15px 10px 10px;
    box-sizing: border-box;
}

/* 二维码行 - 横向排列 */
.mobile-qr-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
}

/* 单个二维码项 */
.mobile-qr-item {
    text-align: center;
    flex: 0 0 auto;
}

/* 二维码图片 */
.mobile-qr-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 8px;
}

/* 二维码标签 */
.mobile-qr-label {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
}
/* ===== template/pc/css/post.css ===== */
/* post.css - 信息发布相关样式 */

/* 选择栏目页面样式 */
.top-steps{display:flex;justify-content:center;align-items:center;margin:10px auto;max-width:700px;position:relative;}
.step-item{display:flex;flex-direction:column;align-items:center;position:relative;width:33.33%;}
.step-item:not(:last-child)::after{content:"";position:absolute;height:1px;width:100%;background:#ddd;top:15px;left:50%;z-index:1;}
.step-num{width:30px;height:30px;line-height:30px;text-align:center;background:#ccc;color:#fff;font-weight:bold;transform:rotate(45deg);margin-bottom:8px;position:relative;z-index:2;}
.step-num span{display:inline-block;transform:rotate(-45deg);}
.step-active .step-num{background:#f05654;box-shadow:0 0 0 2px rgba(240,86,84,0.2);}
.step-text{color:#999;font-size:14px;}
.step-active .step-text{color:#f05654;}

/* 分类列表样式 */
.category-list{width:100%;}
.primary-category{margin-bottom:2px;border-bottom:1px solid #f0f0f0;padding:4px 2px;position:relative;background-color:#fff;display:flex;}
.primary-category-title{font-size:16px;font-weight:bold;color:#333;display:flex;align-items:center;width:100px;min-width:100px;margin-right:5px;}
.secondary-categories{display:flex;flex-wrap:wrap;flex:1;}
.secondary-category{margin-right:0;margin-bottom:3px;padding-right:8px;position:relative;}
.secondary-category:not(:last-child):after{content:'|';color:#e0e0e0;position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:14px;line-height:1;}
.secondary-category a{text-decoration:none;padding:2px 8px;font-size:14px;color:#0960bd!important;display:inline-block;}
.secondary-category a:hover{background-color:transparent;color:#EE3131;}

/* 布局样式 */
.content-wrap{display:flex;margin-top:5px;}
.left-column{flex:1;background:#fff;padding:0;}
.right-column{width:300px;background:transparent;padding:0;border:none;}

/* 通知框样式 */
.notice-box{background:#fff;border-radius:0;padding:0 10px;margin-bottom:15px;border:none;}
.notice-list{list-style:none;padding:8px 0;margin:0;background:#fff;}
.notice-list li{position:relative;padding:0 10px;margin-bottom:0;line-height:32px;font-size:14px;color:#333;border-bottom:1px solid #f5f5f5;}
.notice-list li:last-child{border-bottom:none;}
.notice-list li a{display:block;padding:0;color:#333;}
.notice-list li a:hover{color:#EE3131;text-decoration:none;}

/* 发布信息页面样式 */

.content-wrap{display:flex;gap:20px;}
.left-column{flex:1;background:#fff;border-radius:0;min-height:600px;}
.right-column{width:300px;}

/* 表单标题和当前栏目 */
.post-title{padding:15px 20px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;}
.post-title h3{font-size:18px;color:#333;margin:0;}
.current-category{display:flex;align-items:center;height:36px;gap:10px;margin-top:5px;line-height:36px;}
.category-text{line-height:36px;color:#333;font-size:14px;}
.reselect-link{color:#0066cc;text-decoration:none;font-size:14px;}
.reselect-link:hover{color:#f60;text-decoration:underline;}

/* 表单面板 */
.form-panel{background:#fff;padding:20px;margin-bottom:20px;}

/* 自定义字段布局容器 */
.custom-fields-container{
    display:block;
    margin:0;
    font-size:0; /* 消除inline-block间隙 */
}

/* 自定义字段不显示描述提示 */
.custom-fields-container .inputTip {
    display: none !important;
}

/* 自定义字段展开/折叠按钮 */
.custom-fields-toggle-wrapper {
    margin-bottom: 5px;
}

.custom-fields-toggle-btn {
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 3px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.custom-fields-toggle-btn:hover {
    background: transparent;
    color: #409eff;
}

.custom-fields-toggle-btn i.fa-plus-circle,
.custom-fields-toggle-btn i.fa-minus-circle {
    display: none; /* 隐藏加号/减号图标 */
}

.custom-fields-toggle-btn span {
    flex: 1;
}

.custom-fields-toggle-btn .toggle-icon {
    color: #999;
    font-size: 11px;
    transition: transform 0.3s ease;
}

.custom-fields-toggle-btn.expanded .toggle-icon {
    transform: rotate(180deg);
}

/* 自定义字段容器展开动画 */
.custom-fields-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.custom-fields-container.expanded {
    max-height: 2000px; /* 足够大的值以容纳所有字段 */
}

/* 只对自定义字段容器内的字段应用特殊布局 */
.custom-fields-container .form-group{
    display:inline-block;
    vertical-align:top;
    margin-bottom:5px;
    margin-right:10px; /* 字段之间的间距 */
    font-size:14px; /* 恢复字体大小 */
    box-sizing:border-box; /* 确保宽度计算准确 */
}

/* 隐藏label的字段，form-right需要占满整个容器 */
.custom-fields-container .form-group.hide-label{
    padding-left:0;
}

.custom-fields-container .form-group.hide-label .form-right{
    display: block;
    width: 100%;
}

/* 隐藏label的字段，输入控件宽度自适应 */
.custom-fields-container .form-group.hide-label .form-input,
.custom-fields-container .form-group.hide-label .form-select{
    width: 100%;
}

/* 自定义字段的label样式保持与其他表单一致 */
.custom-fields-container .form-group .form-label{
    width:100px;
    text-align:right;
    line-height:36px;
    margin-right:10px;
    color:#333;
    font-size:14px;
    display:inline-block;
    vertical-align:top;
    flex-shrink:0; /* 防止label被压缩 */
}

/* 单独设置了隐藏label的字段 */
.custom-fields-container .form-group.hide-label .form-label{
    display:none;
}

/* 自定义字段的输入区域 */
.custom-fields-container .form-group .form-right{
    display:inline-block;
    vertical-align:top;
    /* 移除flex，让宽度由input_width控制 */
}

/* 自定义字段的输入框宽度 */
.custom-fields-container .form-input,
.custom-fields-container .form-select{
    /* 宽度完全由后台input_width配置控制 */
    /* 不设置默认宽度，由内联样式决定 */
}

/* 不同宽度的字段 */
.custom-fields-container .form-group.layout-full{
    display:flex; /* 独占一行使用flex */
    width:100%; /* 独占一行 */
    margin-right:0;
}

/* 两个一行的字段 - 不设置固定宽度，由内容决定 */
.custom-fields-container .form-group.layout-half{
    /* 不设置宽度，让字段根据内容自适应 */
}

/* 三个一行的字段 - 不设置固定宽度，由内容决定 */
.custom-fields-container .form-group.layout-third{
    /* 不设置宽度，让字段根据内容自适应 */
}

/* 其他表单字段保持默认样式 */
.form-group{display:flex;margin-bottom:5px;}
.form-group:last-child{margin-bottom:0;}
.form-group.required .form-label:before{content:"*";color:#ff3b30;margin-right:4px;font-size:16px;}
.form-label{width:100px;text-align:right;line-height:36px;margin-right:10px;color:#333;font-size:14px;}
.form-right{display:flex;align-items:center;gap:10px;min-height:36px;}

/* 表单控件 */
.form-input,.form-select,.form-textarea{width:200px;height:34px;border:1px solid #ddd;border-radius:0;padding:0 10px;font-size:14px;color:#333;box-sizing:border-box;line-height:34px;}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:#409eff;outline:none;box-shadow:0 0 5px rgba(64,158,255,0.2);}
.form-input.error,.form-select.error,.form-textarea.error{border-color:#f56c6c;}
.form-input.valid,.form-select.valid,.form-textarea.valid{border-color:#67c23a;}
.form-textarea{height:80px;width:600px;padding:8px 10px;line-height:1.5;resize:none;min-height:80px;}
.form-hint{font-size:12px;color:#999;margin-top:4px;}

/* 隐藏数字输入框的上下调节按钮 */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* 表单字段提示图标 */
.field-icon{display:none;position:absolute;top:8px;left:310px;font-size:16px;}
.field-error{display:none;position:absolute;left:310px;top:6px;color:#f56c6c;font-size:13px;line-height:20px;background-color:#fff;border-radius:0;padding:2px 8px;white-space:nowrap;z-index:1;}
.field-error i{margin-right:4px;color:#f56c6c;font-size:16px;}
.field-error.show{display:inline-block;}
.field-success{display:none;position:absolute;left:310px;top:8px;color:#67c23a;font-size:16px;}
.field-success.show{display:inline-block;}
.field-focus{display:none;position:absolute;left:310px;top:8px;color:#409eff;font-size:16px;}
.field-focus.show{display:inline-block;}
.field-focus-tooltip{display:none;position:absolute;left:340px;top:5px;background:#e6f1fc;border:1px solid #b3d8ff;color:#409eff;font-size:13px;line-height:18px;padding:4px 10px;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,0.1);white-space:nowrap;z-index:2;}
.field-focus.show + .field-focus-tooltip{display:block;}
.field-focus-tooltip:before{content:"";position:absolute;left:-6px;top:8px;width:10px;height:10px;background:#e6f1fc;border-left:1px solid #b3d8ff;border-bottom:1px solid #b3d8ff;transform:rotate(45deg);}

#region_id + .field-error, #region_id + .field-success, #region_id + .field-focus{left:210px;}
#expire_days + .field-error, #expire_days + .field-success, #expire_days + .field-focus{left:130px;}
#title + .field-error, #title + .field-success, #title + .field-focus{left:510px;}
#content + .field-error, #content + .field-success, #content + .field-focus{left:610px;}
#content + .field-error{top:160px;}
#content + .field-success, #content + .field-focus{top:160px;}
#contact_name + .field-error, #contact_name + .field-success, #contact_name + .field-focus, 
#contact_mobile + .field-error, #contact_mobile + .field-success, #contact_mobile + .field-focus, 
#contact_address + .field-error, #contact_address + .field-success, #contact_address + .field-focus, 
#contact_weixin + .field-error, #contact_weixin + .field-success, #contact_weixin + .field-focus, 
#password + .field-error, #password + .field-success, #password + .field-focus{left:210px;}

/* 图片上传 */
.image-upload{width:600px;padding:0;margin-bottom:10px;}
.hidden-input{display:none;}
.upload-area{display:flex;align-items:flex-start;gap:15px;padding:10px 10px 10px 0;margin-bottom:10px;}
.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    flex-direction: column;
}

.upload-btn i {
    font-size: 24px;
    margin-bottom: 5px;
}

.upload-btn:hover {
    border-color: #409eff;
    color: #409eff;
}

.image-hint {
    flex: 1;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.image-hint .warning {
    color: #f56c6c;
}

.image-previews{display:flex;flex-wrap:wrap;gap:10px;}
.image-item{position:relative;width:90px;height:90px;cursor:move;border:2px solid transparent;}
.image-item.dragging{opacity:0.5;border:2px dashed #0066cc;}
.image-item.drag-over{border:2px dashed #0066cc;}
.image-item img{width:100%;height:100%;object-fit:cover;}
.remove-image{position:absolute;top:-8px;right:-8px;width:20px;height:20px;background:rgba(0,0,0,0.5);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;}



/* ==========  编辑页面特有样式（与post.htm共用） ========== */

/* 表单验证样式 */
.inputTip {
    margin-top: 5px;
    font-size: 13px;
    color: #888;
}
.inputTip.focus {
    color: #1890ff;
}
.inputTip.success {
    color: #52c41a;
}
.inputTip.error {
    color: #f5222d;
}
.error-input {
    border-color: #f5222d !important;
}
.has-success .form-control {
    border-color: #52c41a !important;
}

/* 错误提示弹窗样式 */
.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.error-overlay .error-message {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.error-overlay .error-message i {
    font-size: 48px;
    color: #f5222d;
    margin-bottom: 20px;
}

.error-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.error-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.error-btn {
    background: #f5222d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.error-btn:hover {
    background: #d4001a;
}

/* 确认删除对话框样式 */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
}

.confirm-overlay .confirm-message {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
}

.confirm-overlay .confirm-message i {
    font-size: 48px;
    color: #faad14;
    margin-bottom: 20px;
}

.confirm-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.confirm-subtext {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.confirm-overlay .confirm-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirm-btn {
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 80px;
}

.confirm-cancel {
    background: #f5f5f5;
    color: #666;
}

.confirm-cancel:hover {
    background: #e6e6e6;
}

.confirm-delete {
    background: #f5222d;
    color: white;
}

.confirm-delete:hover {
    background: #d4001a;
}
/* 发布须知完整样式 - 紧凑版 */
.posting-notice {
    margin: 0 10px 15px;
    background: #fff8db;
    border: 1px solid #ffd77a;
    border-radius: 4px;
    box-sizing: border-box;
}

.notice-title {
    margin: 0;
    padding: 8px 12px;
    background: #fff5cc;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ffd77a;
}

.notice-title i.fa-exclamation-circle {
    color: #ff9900;
    font-size: 14px;
    margin-right: 6px;
}

.notice-title span {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* 移除折叠图标 */
.notice-title .toggle-icon {
    display: none;
}

.notice-content {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.notice-content p {
    margin: 0 0 4px;
    padding-left: 16px;
    position: relative;
}

.notice-content p:last-child {
    margin-bottom: 0;
}

.notice-content p:before {
    content: "①";
    position: absolute;
    left: 0;
    color: #ff9900;
}

.notice-content p:nth-child(2):before { content: "②"; }
.notice-content p:nth-child(3):before { content: "③"; }
.notice-content p:nth-child(4):before { content: "④"; }
.notice-content p:nth-child(5):before { content: "⑤"; }
.notice-content p:nth-child(6):before { content: "⑥"; }
.notice-content p:nth-child(7):before { content: "⑦"; }
.notice-content p:nth-child(8):before { content: "⑧"; }

.notice-content p.highlight {
    color: #f56c6c;
    font-weight: 500;
}

.notice-content .agreement-link {
    color: #0066cc;
    text-decoration: none;
}

.notice-content .agreement-link:hover {
    color: #f60;
    text-decoration: underline;
}

/* 提交按钮 */
.submit-group{padding:15px 0;text-align:center;margin-bottom:20px;}
.submit-button{width:200px;height:40px;background:#0066cc;color:#fff;border:none;font-size:16px;cursor:pointer;}
.submit-button:hover{background:#0052a3;}

/* 右侧面板 */
.side-panel{background:#fff;margin-bottom:20px;}
.panel-title{padding:15px;font-size:16px;color:#333;border-bottom:1px solid #eee;}
.panel-content{padding:15px;}

/* 发布流程 */
.process-list{}
.process-item{display:flex;align-items:center;margin-bottom:15px;}
.process-item:last-child{margin-bottom:0;}
.process-num{width:24px;height:24px;background:#0066cc;color:#fff;display:flex;align-items:center;justify-content:center;margin-right:10px;font-size:14px;}
.process-text{color:#666;}

/* 温馨提示 */
.tips-list{margin:0;padding:0;list-style:none;}
.tips-list li{position:relative;padding-left:12px;margin-bottom:10px;color:#666;}
.tips-list li:last-child{margin-bottom:0;}
.tips-list li:before{content:"";position:absolute;left:0;top:8px;width:4px;height:4px;background:#0066cc;border-radius:50%;}

/* 遮罩层 */
.loading-overlay,
.success-overlay,
.error-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loading-overlay.show,
.success-overlay.show,
.error-overlay.show {
    display: flex !important;
}

/* 加载中弹窗 */
.loading-spinner { background-color: rgba(255, 255, 255, 0.95); border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); padding: 30px; text-align: center; position: relative; margin: auto; width: 200px; } /* 加载中弹窗容器 */
.loading-spinner i { color: #4CAF50; font-size: 36px; margin-bottom: 15px; } /* 加载中图标 */
.loading-text { font-size: 16px; color: #333; margin-top: 10px; } /* 加载中文本 */

/* 成功弹窗 */
.success-message { background: linear-gradient(to bottom, #ffffff, #f8f8f8); border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); padding: 30px; width: 320px; text-align: center; position: relative; margin: auto; } /* 成功弹窗容器，固定宽度320px */
.success-message i { color: #4CAF50; font-size: 50px; margin-bottom: 15px; } /* 成功图标 */
.success-text { font-size: 22px; font-weight: bold; margin-bottom: 10px; color: #333; } /* 成功标题文本 */
.success-subtext { color: #666; margin-bottom: 20px; font-size: 16px; } /* 成功副标题文本 */
.success-btn { background: linear-gradient(to bottom, #4CAF50, #45a049); color: white; border: none; padding: 10px 30px; border-radius: 4px; font-size: 16px; cursor: pointer; min-width: 120px; } /* 成功按钮，最小宽度120px */
.success-btn:hover { background: linear-gradient(to bottom, #45a049, #3d8b3d); transform: translateY(-2px); box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); } /* 成功按钮悬停效果 */

/* 错误弹窗 */
.error-message-popup {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 320px;
    text-align: center;
    position: relative;
    margin: auto;
}

.error-message-popup i {
    color: #ff3b30;
    font-size: 50px;
    margin-bottom: 15px;
}

.error-text {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.error-subtext {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.5;
}

.error-btn {
    background: linear-gradient(to bottom, #ff3b30, #e6342a);
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;

    min-width: 120px;
}

.error-btn:hover {
    background: linear-gradient(to bottom, #e6342a, #cc2e24);
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 加载图标旋转动画已移除 */

/* 错误提示 */
.error-message{background:#fff2f2;border:1px solid #ffccc7;color:#ff3b30;padding:10px 15px;margin-bottom:20px;display:flex;align-items:center;}
.error-message i{margin-right:8px;}

/* 表单控件宽度调整 */
.form-group.full-width .form-input,
.form-group.full-width .form-select,
.form-group.full-width .form-textarea{width:100%;}

/* 特定字段宽度 */
#region_id{width:120px;} /* 地区选择 */
#expire_days{width:120px;} /* 有效期选择 */
#title{width:650px;} /* 标题较长 */
#content{width:650px;height:160px;} /* 内容最宽且高度固定 */
#contact_name{width:200px;} /* 联系人名字较短 */
#mobile{width:130px;} /* 手机号固定11位 */
#contact_address{width:400px;} /* 地址较长 */
#contact_weixin{width:200px;} /* 微信号较短 */
#password{width: 200px;} /* 密码较短 */

.inputTip {
    display: inline-block;  /* 默认显示描述 */
    color: #999;
    font-size: 13px;
}

.inputTip i {
    margin-right: 5px;
    font-size: 16px;
    vertical-align: middle;
}

/* 焦点状态显示蓝色提示 */
.form-input:focus ~ .inputTip,
.form-select:focus ~ .inputTip,
.form-textarea:focus ~ .inputTip {
    color: #409eff;
}

.form-input:focus ~ .inputTip i,
.form-select:focus ~ .inputTip i,
.form-textarea:focus ~ .inputTip i {
    color: #409eff;
}

/* 错误状态 */
.form-input.error ~ .inputTip,
.form-select.error ~ .inputTip,
.form-textarea.error ~ .inputTip {
    color: #f56c6c;
}

.form-input.error ~ .inputTip i,
.form-select.error ~ .inputTip i,
.form-textarea.error ~ .inputTip i {
    color: #f56c6c;
}

/* 成功状态 */
.form-input.valid ~ .inputTip,
.form-select.valid ~ .inputTip,
.form-textarea.valid ~ .inputTip {
    color: #67c23a;
}

.form-input.valid ~ .inputTip i,
.form-select.valid ~ .inputTip i,
.form-textarea.valid ~ .inputTip i {
    color: #67c23a;
}

/* 成功状态隐藏文字，只保留图标 */
.inputTip.success .tip-text {
    display: none;
}

/* 文本域的特殊处理 */
.form-group textarea + .inputTip {
    align-self: flex-start;
    margin-top: 10px;
}

.change-category {
    line-height: 36px;  /* 与表单label的line-height一致 */
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    margin-left: 10px;
}

.change-category:hover {
    color: #f60;
    text-decoration: underline;
}

/* 当前栏目行样式 */
.category-row {
    display: flex;
    margin-bottom: 5px;
}

.category-content {
    color: #333;
    line-height: 36px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.change-link {
    color: #0066cc;
    text-decoration: none;
    margin-left: 10px;
    font-size: 14px;
}

.change-link:hover {
    color: #f60;
    text-decoration: underline;
}

/* 自定义下拉框 */
.custom-select {
    position: relative;
    width: 120px;
}

.select-trigger {
    width: 100%;
    height: 34px;
    line-height: 34px;
    border: 1px solid #ddd;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.select-trigger:after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -2px;
    border-width: 5px;
    border-style: solid;
    border-color: #999 transparent transparent transparent;
}

.select-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.select-group {
    border-bottom: 1px solid #eee;
}

.select-group:last-child {
    border-bottom: none;
}

.group-label {
    padding: 8px 10px;
    font-size: 14px;
    color: #666;
    background: #f0f0f0;
    font-weight: 500;
    cursor: default;
    user-select: none;
}

.group-options {
    padding: 0;
    background: #fff;
}

.select-option {
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    line-height: 1.4;
}

/* 二级区域选项：添加左侧缩进 */
.select-option-sub {
    padding-left: 15px;
    color: #555;
}

.select-option:hover {
    background: #f5f7fa;
}

.select-option.selected {
    color: #409eff;
    font-weight: bold;
}

.custom-select.active .select-dropdown {
    display: block;
}

.custom-select.active .select-trigger {
    border-color: #409eff;
}

/* 自定义下拉框的错误和成功状态 */
.custom-select.error .select-trigger {
    border-color: #f56c6c;
}

.custom-select.valid .select-trigger {
    border-color: #67c23a;
}

/* 自定义下拉框的提示样式 */
.custom-select ~ .inputTip {
    margin-left: 10px;
    display: inline-block;  /* 默认显示 */
    color: #999;
}

.custom-select.active ~ .inputTip {
    color: #409eff;
}

.custom-select.error ~ .inputTip {
    color: #f56c6c;
}

.custom-select.valid ~ .inputTip {
    color: #67c23a;
}

/* 调整提示图标位置 */
#region_id ~ .inputTip,
#expire_days ~ .inputTip {
    position: relative;
    left: auto;
    top: auto;
}

/* ===== 内联样式优化 ===== */

/* 调整表单容器样式 */
.content-wrap {
    width: 100%;
    max-width: 1200px;
}

.left-column {
    width: 100%;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-panel {
    padding: 20px;
}

/* 文本框相关样式 */
textarea.form-textarea {
    resize: none;
    height: 120px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

/* 解决文本域获得焦点时位置移动的问题 */
.form-group.required .form-right {
    position: relative;
}

/* 确保文本域的提示元素不影响布局 */
.form-group textarea + .inputTip {
    position: absolute;
    margin-top: 0;
    top: 0;
    left: 610px;
    white-space: nowrap;
}

/* 确保表单元素尺寸计算包含边框 */
.form-input,
.form-textarea,
.custom-select,
.select-trigger {
    box-sizing: border-box;
}

/* 确保文本域的提示元素与文本框在同一行 */
.form-group textarea + .inputTip {
    position: static;
    display: inline-block;  /* 默认显示 */
    vertical-align: top;
    margin-top: 0;
    margin-left: 10px;
    white-space: nowrap;
}

/* 验证码相关样式 */
.verify-code-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.verify-input {
    flex: 1;
    max-width: 200px;
}

.send-code-btn {
    padding: 6px 16px;
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    min-width: 100px;
}

.send-code-btn:hover:not(:disabled) {
    background: #0056b3;
    border-color: #0056b3;
}

.send-code-btn:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.7;
}

/* layui风格的中间提示样式 */
.layui-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-radius: 6px;
    padding: 16px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 400px;
    min-width: 200px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
}

.layui-message.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.layui-message-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.layui-message-content i {
    font-size: 16px;
    flex-shrink: 0;
}

.layui-message-content span {
    word-break: break-word;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .layui-message {
        max-width: 90%;
        min-width: 280px;
        padding: 14px 20px;
        font-size: 13px;
    }

    .verify-code-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .verify-input {
        max-width: none;
    }

    .send-code-btn {
        min-width: auto;
    }
}

/* 图形验证码样式 */
.captcha-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.captcha-group input {
    flex: 1;
    max-width: 120px;
}

.captcha-img {
    height: 34px;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    transition: opacity 0.3s, border-color 0.3s;
}

.captcha-img:hover {
    border-color: #409eff;
}

.captcha-img:active {
    opacity: 0.7;
}

/* 短信验证码样式 */
.verify-code-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.verify-input {
    flex: 1;
    max-width: 120px;
}

.send-code-btn {
    padding: 0 16px;
    height: 34px;
    background: #409eff;
    color: white;
    border: 1px solid #409eff;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    min-width: 90px;
    transition: all 0.3s;
}

.send-code-btn:hover {
    background: #66b1ff;
    border-color: #66b1ff;
}

.send-code-btn:active {
    background: #3a8ee6;
    border-color: #3a8ee6;
}

.send-code-btn:disabled {
    background: #a0cfff;
    border-color: #a0cfff;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 自定义字段样式 */
.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.radio-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

.radio-label span,
.checkbox-label span {
    font-size: 14px;
    color: #333;
}

.radio-label:hover span,
.checkbox-label:hover span {
    color: #409eff;
}

/* 自定义字段输入框调整 */
input[id^="field_"],
select[id^="field_"],
textarea[id^="field_"] {
    width: 200px;
}

textarea[id^="field_"] {
    width: 600px;
    height: 80px;
}
/* ===== template/pc/css/post-instant-upload.css ===== */
/**
 * PC端图片即时上传样式
 */

/* 横向布局容器 */
.image-upload-inline {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-wrap: wrap;
}

/* 上传按钮 */
.upload-btn-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-btn-inline:hover {
    border-color: #1890ff;
    background: #e6f7ff;
}

.upload-btn-inline i {
    font-size: 24px;
    color: #1890ff;
    margin-bottom: 8px;
}

.upload-btn-inline span {
    font-size: 12px;
    color: #666;
}

.hidden-input {
    display: none;
}

/* 图片预览容器 */
#image-previews {
    display: none; /* 默认隐藏，有图片时显示 */
    gap: 5px; /* 图片间距5px */
    flex-wrap: wrap;
}

#image-previews.has-images {
    display: flex; /* 有图片时显示为flex横向布局 */
}

/* 图片项 */
.image-item {
    position: relative;
    width: 100px; /* 固定宽度100px */
    height: 100px; /* 固定高度100px */
    flex-shrink: 0; /* 不缩小 */
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.image-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* 上传中状态 */
.image-item.uploading {
    cursor: wait;
    background: white;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 旋转加载动画 */
.upload-spinner {
    font-size: 32px;
    color: #1890ff;
}

.upload-spinner i {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 删除上传进度文本 */
.upload-progress,
.progress-text {
    display: none;
}

/* 图片占位符 */
.image-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px;
    color: #999;
}

.image-placeholder i {
    font-size: 36px;
    margin-bottom: 10px;
}

.file-name {
    font-size: 11px;
    text-align: center;
    word-break: break-all;
    line-height: 1.4;
}

/* 预览图片 */
.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* 图片操作按钮 */
.image-actions {
    position: absolute;
    top: 2px;
    right: 2px;
    display: flex;
    gap: 5px;
    z-index: 20;
    opacity: 1; /* 始终可见 */
}

.image-actions button {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* 兼容编辑页原有的删除按钮（span.remove-image），统一成圆形红色按钮样式 */
.image-item .remove-image {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ff4d4f;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.image-item .remove-image:hover {
    background: #ff7875;
}

.btn-remove {
    background: #ff4d4f; /* 红色删除按钮 */
    color: white;
}

.btn-remove:hover {
    background: #ff7875;
    transform: scale(1.1);
}

.btn-preview {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: none; /* 默认隐藏预览按钮，如有需要可开启 */
}

.image-actions button:active {
    transform: scale(0.95);
}

/* 图片信息（隐藏） */
.image-info {
    display: none; /* 完全隐藏文件大小信息 */
}

/* 错误状态 */
.image-item.error {
    background: #ffebee;
    border: 2px solid #ef5350;
    cursor: default;
}

.image-item.error:hover {
    transform: none;
}

.upload-error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px;
    text-align: center;
    color: #c62828;
}

.upload-error i {
    font-size: 36px;
    margin-bottom: 10px;
}

.error-message {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.btn-close {
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(198, 40, 40, 0.1);
    color: #c62828;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-close:hover {
    background: rgba(198, 40, 40, 0.2);
}

/* 图片预览遮罩层 */
.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.preview-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.preview-container img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-close-preview {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
}

.btn-close-preview:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 图片上传提示文案 */
.image-hint {
    font-size: 13px;
    color: #999;
    line-height: 1.6;
    margin-top: 8px;
}

/* 提示中的数字高亮（橙色） */
.image-hint .highlight-number {
    color: #ff9800;
    font-weight: 600;
}

/* 警告文字 */
.image-hint .warning {
    color: #ff5722;
    font-size: 12px;
}

/* ===== template/pc/css/themes.css ===== */
/* PC端主题CSS变量 */

/* 蓝色主题 */
.theme-blue {
    --primary-color: #3092d5;
    --primary-color-rgb: 48,146,213;
    --primary-hover: #2980b9;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eaeaea;
    --shadow: none;
    --radius: 3px;
}

/* 红色主题 */
.theme-red {
    --primary-color: #EE3131;
    --primary-color-rgb: 238,49,49;
    --primary-hover: #d62828;
    --secondary-color: #fb8c8a;
    --accent-color: #c62828;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* 绿色主题 */
.theme-green {
    --primary-color: #00a878;
    --primary-color-rgb: 0,168,120;
    --primary-hover: #008c66;
    --secondary-color: #5bc8ac;
    --accent-color: #408e91;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* 紫色主题 */
.theme-purple {
    --primary-color: #7b68ee;
    --primary-color-rgb: 123,104,238;
    --primary-hover: #6a5acd;
    --secondary-color: #a290e3;
    --accent-color: #6a5acd;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* 橙色主题 */
.theme-orange {
    --primary-color: #ff6b01;
    --primary-color-rgb: 255,107,1;
    --primary-hover: #e64a19;
    --secondary-color: #ff9d45;
    --accent-color: #e64a19;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* 粉色主题 */
.theme-pink {
    --primary-color: #e91e63;
    --primary-color-rgb: 233,30,99;
    --primary-hover: #c2185b;
    --secondary-color: #ff4081;
    --accent-color: #c2185b;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* 海洋主题 */
.theme-ocean {
    --primary-color: #006994;
    --primary-color-rgb: 0,105,148;
    --primary-hover: #00496b;
    --secondary-color: #48b1bf;
    --accent-color: #00496b;
    --text-color: #333333;
    --text-light: #757575;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* 简约主题 */
.theme-simple {
    --primary-color: #4a90e2;
    --primary-color-rgb: 74,144,226;
    --primary-hover: #3a7bc8;
    --secondary-color: #76aff0;
    --accent-color: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f5f5f5;
    --card-color: #ffffff;
    --border-color: #eeeeee;
    --shadow: none;
    --radius: 3px;
}

/* ===== 主题应用样式 ===== */

/* 主导航栏 */
.yui-nav {
    background-color: var(--primary-color) !important;
}

.yui-nav ul li:hover {
    background: var(--primary-hover) !important;
}

.yui-nav .nav-cur {
    background: var(--primary-hover) !important;
}

/* 搜索框边框与按钮 */
.yui-select {
    border-color: var(--primary-color) !important;
}

.yui-select .btn-search {
    background-color: var(--primary-color) !important;
}

.yui-select .btn-search:hover {
    background-color: var(--primary-hover) !important;
}

/* yui-h-title 红色底部边框 */
.yui-h-title:after {
    background: var(--primary-color) !important;
}

.yui-h-title h3:before {
    background: var(--primary-color) !important;
}

.yui-h-title span a:hover {
    color: var(--primary-color) !important;
    background: rgba(var(--primary-color-rgb), 0.1) !important;
}

/* 栏目页面筛选高亮样式 */
.filter-item.active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

.filter-item:hover {
    color: var(--primary-color) !important;
    background-color: rgba(var(--primary-color-rgb), 0.05) !important;
}

/* 页面切换导航 */
.page-switch-nav a:hover,
.page-switch-nav a.active {
    background: var(--primary-color) !important;
}

/* 链接悬停颜色 */
a:hover {
    color: var(--primary-color) !important;
}

.yui-top-left a:hover {
    color: var(--primary-color) !important;
}

.yui-top-right a:hover {
    background-color: rgba(255,255,255,0.8) !important;
    color: var(--primary-color) !important;
}

.yui-top-dropdown:hover .yui-top-dropdown-btn {
    background-color: rgba(255,255,255,0.8) !important;
    color: var(--primary-color) !important;
}

.yui-top-dropdown:hover .yui-top-dropdown-btn:after {
    border-top-color: var(--primary-color) !important;
}

.yui-top-dropdown-menu li a:hover {
    background-color: #f9f9f9 !important;
    color: var(--primary-color) !important;
}

/* Footer 链接 */
.yui-footer p a:hover {
    color: var(--primary-color) !important;
}

.yui-footer .footer-nav a:hover {
    color: var(--primary-color) !important;
}

.friend-links-list a:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* 分页样式 */
.pagination a:hover {
    color: var(--primary-color) !important;
}

.pagination .current {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* 加载更多按钮 */
.load-more:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 2px 8px rgba(var(--primary-color-rgb), 0.2) !important;
}

.load-more.loading:after {
    border-top: 2px solid var(--primary-color) !important;
}

/* 标签样式 */
.tab-header li:after {
    background: var(--primary-color) !important;
}

.tab-header li:hover {
    color: var(--primary-color) !important;
}

/* 信息列表 */
.info-title a:hover {
    color: var(--primary-color) !important;
}

.info-imgtitle a:hover {
    color: var(--primary-color) !important;
}

.yui-small-list ul li a:hover {
    color: var(--primary-color) !important;
}

/* 面包屑 */
.breadcrumb a:hover {
    color: var(--primary-color) !important;
}

.breadcrumb .current {
    color: var(--primary-color) !important;
}

/* 置顶标签 */
.top-tag {
    background-color: var(--primary-color) !important;
}

.info-list.pinned .info-title:before {
    background: var(--primary-color) !important;
}

/* 发布按钮 */
.index-list-post a {
    background: var(--primary-color) !important;
    color: #fff !important;
}

.index-list-post a:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
    opacity: 0.9;
    text-decoration: none !important;
}

/* PC端发布按钮不跟随主题色，固定为橙色 #ff5722 */
/* 发布按钮样式已在 common.css 中定义，此处不再覆盖 */

/* 搜索框下拉选择 */
.mod_select .select_box .option li:hover {
    color: var(--primary-color) !important;
}

/* 卡片悬停 */
.card-title a:hover {
    color: var(--primary-color) !important;
}

/* 简洁页面链接 */
.simple-back:hover {
    color: var(--primary-color) !important;
}

.simple-footer-links a:hover {
    color: var(--primary-color) !important;
}

/* 其他主题色应用 */
.aboutMainrt {
    color: var(--primary-color) !important;
}

.aboutMainl ul .aboutOver a {
    color: var(--primary-color) !important;
}

/* Footer 顶部红色边框 */
.yui-footer .yui-1200 {
    border-top: 2px solid var(--primary-color) !important;
}

.yui-footer .footer-nav a:hover {
    color: var(--primary-color) !important;
}

.yui-footer p a:hover {
    color: var(--primary-color) !important;
}

.yui-footer p a[rel="nofollow"]:hover {
    color: var(--primary-color) !important;
}

/* 发布条例与提示的红色文字 */
.infoquote p {
    color: var(--primary-color) !important;
}

.aboutMainrt {
    color: var(--primary-color) !important;
}

/* 面包屑导航 */
.breadcrumb a:hover {
    color: var(--primary-color) !important;
}

.breadcrumb .current {
    color: var(--primary-color) !important;
}

/* ===== static/css/notification.css ===== */
/**
 * 通知组件样式
 * 适用于前台和会员中心
 */

/* 通知容器 */
.notification-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

/* 通知项 */
.notification {
    min-width: 0;
    width: auto;
    max-width: 480px;
    margin-bottom: 10px;
    padding: 10px 18px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
}

.notification-show {
    opacity: 1;
    transform: translateX(0);
}

.notification-hide {
    opacity: 0;
    transform: translateX(400px);
}

/* 通知内容 */
.notification-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.notification-message {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #333333;
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

.notification-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: #f5f5f5;
    color: #001a4e;
}

/* 通知类型样式 */
.notification-success {
    border-left-color: #3ad29f;
}

.notification-success .notification-icon {
    color: #3ad29f;
}

.notification-error {
    border-left-color: #f82f58;
}

.notification-error .notification-icon {
    color: #f82f58;
}

.notification-warning {
    border-left-color: #eea303;
}

.notification-warning .notification-icon {
    color: #eea303;
}

.notification-info {
    border-left-color: #17a2b8;
}

.notification-info .notification-icon {
    color: #17a2b8;
}

/* 确认对话框 */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-modal-show {
    opacity: 1;
}

.notification-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.notification-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    max-width: min(640px, 92vw);
    width: auto;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification-modal-show .notification-modal-content {
    transform: scale(1);
}

.notification-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #001a4e;
}

.notification-modal-header i {
    color: #eea303;
    font-size: 20px;
}

.notification-modal-body {
    padding: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #001a4e;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    max-height: 60vh;
    overflow-y: auto;
}

.notification-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.notification-modal-footer .btn {
    min-width: 80px;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.notification-modal-footer .btn-primary {
    background: #1b68ff;
    color: #ffffff;
    border: 1px solid #1b68ff;
}

.notification-modal-footer .btn-primary:hover {
    background: #0045ce;
    border-color: #0045ce;
}

.notification-modal-footer .btn-outline {
    background: transparent;
    color: #1b68ff;
    border: 1px solid #1b68ff;
}

.notification-modal-footer .btn-outline:hover {
    background: #1b68ff;
    color: #ffffff;
}

/* 居中提示样式 */
.notification-center {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.notification-center-show {
    opacity: 1;
}

.notification-center-hide {
    opacity: 0;
}

.notification-center-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
}

.notification-center-content {
    position: relative;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 24px 32px;
    min-width: 280px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: scale(0.9);
    transition: transform 0.15s ease;
}

.notification-center-show .notification-center-content {
    transform: scale(1);
}

.notification-center-icon {
    font-size: 48px;
    line-height: 1;
}

.notification-center-success .notification-center-icon {
    color: #3ad29f;
}

.notification-center-error .notification-center-icon {
    color: #f82f58;
}

.notification-center-warning .notification-center-icon {
    color: #eea303;
}

.notification-center-info .notification-center-icon {
    color: #17a2b8;
}

.notification-center-message {
    font-size: 16px;
    color: #001a4e;
    text-align: center;
    line-height: 1.5;
}

.notification-center-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.notification-center-close:hover {
    background: #f5f5f5;
    color: #001a4e;
}

/* ==================== 纯 CSS 吐司图标（不依赖 Font Awesome） ==================== */
.notification-glyph { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-size: 16px; font-weight: 700; font-family: Arial, "Microsoft YaHei", sans-serif; line-height: 1; }
.notification-glyph-success { background: #52c41a; }
.notification-glyph-error { background: #f5222d; }
.notification-glyph-warning { background: #fa8c16; }
.notification-glyph-info { background: #1890ff; }
.notification-glyph-close { font-size: 14px; color: #999; cursor: pointer; font-family: Arial, sans-serif; }

/* ==================== 提示框紧凑化（缩小） ==================== */
.notification-center-content { padding: 12px 18px; min-width: 0; max-width: 320px; border-radius: 22px; flex-direction: row; align-items: center; gap: 10px; }
.notification-center-icon { width: 28px; height: 28px; margin: 0; flex-shrink: 0; }
.notification-glyph { width: 28px; height: 28px; font-size: 14px; }
.notification-center-message { font-size: 13px; line-height: 1.4; text-align: left; }
.notification-center-close { top: 4px; right: 8px; font-size: 12px; }

/* ==================== 提示框布局回调：文字在上、关闭按钮在下 ==================== */
.notification-center-content { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "nc-icon nc-msg" "nc-close nc-close"; column-gap: 10px; row-gap: 6px; align-items: center; padding: 14px 22px; min-width: 0; max-width: 340px; border-radius: 12px; }
.notification-center-icon { grid-area: nc-icon; width: 30px; height: 30px; margin: 0; }
.notification-glyph { width: 30px; height: 30px; font-size: 15px; }
.notification-center-message { grid-area: nc-msg; font-size: 14px; line-height: 1.5; text-align: left; }
.notification-center-close { grid-area: nc-close; position: static; justify-self: center; margin-top: 2px; font-size: 13px; }

/* ==================== 标准消息样式（顶部居中横排、自动消失、不遮罩） ==================== */
.notification-container { position: fixed; top: 24px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 99999; pointer-events: none; }
.notification-center { position: static; pointer-events: auto; }
.notification-center-overlay { display: none; }
.notification-center-content { display: flex; flex-direction: row; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 4px; box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1); max-width: 70vw; min-width: 0; border: 1px solid #ebeef5; }
.notification-center-icon { width: auto; height: auto; margin: 0; flex-shrink: 0; }
.notification-glyph { width: auto; height: auto; background: none; font-size: 16px; font-weight: 700; line-height: 1; }
.notification-glyph-success { color: #67c23a; }
.notification-glyph-error { color: #f56c6c; }
.notification-glyph-warning { color: #e6a23c; }
.notification-glyph-info { color: #909399; }
.notification-center-message { font-size: 14px; color: #333; line-height: 1.5; text-align: left; }
.notification-center-close { display: none; }
.notification-center-success > .notification-center-content, .notification-center-success .notification-center-content { background: #f0f9eb; }
.notification-center-error .notification-center-content { background: #fef0f0; }
.notification-center-warning .notification-center-content { background: #fdf6ec; }
.notification-center-info .notification-center-content { background: #f4f4f5; }

/* ==================== 吐司居中显示（覆盖右上角落定位） ==================== */
.notification-container { top: 40%; left: 50%; right: auto; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.notification { transform: translateY(-14px) scale(.96); margin-bottom: 0; }
.notification-show { transform: translateY(0) scale(1); }
.notification-hide { transform: translateY(-10px) scale(.96); }

/* ==================== SVG 图标尺寸（更醒目） ==================== */
.notification-glyph { width: 40px; height: 40px; }
.notification-glyph svg { width: 24px; height: 24px; display: block; }
.notification-modal-header .notification-glyph { width: 30px; height: 30px; }
.notification-modal-header .notification-glyph svg { width: 19px; height: 19px; }

/* ==================== 黑透底吐司（更醒目） ==================== */
.notification { background: rgba(0, 0, 0, 0.72); border: none; border-radius: 10px; padding: 14px 22px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35); }
.notification-message { color: #ffffff; font-size: 15px; }
.notification-glyph { background: transparent; width: 30px; height: 30px; }
.notification-glyph svg { width: 26px; height: 26px; }
.notification-glyph-success { color: #6ee7a0; }
.notification-glyph-error { color: #ff7875; }
.notification-glyph-warning { color: #ffc53d; }
.notification-glyph-info { color: #69c0ff; }
.notification-close { color: rgba(255, 255, 255, 0.7); }
.notification-close:hover { color: #ffffff; }
.notification-modal-overlay { background: rgba(0, 0, 0, 0.55); }

/* ==================== 关闭按钮修正（黑透底上透明圆底） ==================== */
.notification-close { background: transparent; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; font-size: 16px; }
.notification-close:hover { background: rgba(255, 255, 255, 0.18); color: #ffffff; }

/* ==================== 置顶套餐选中文本角标 ==================== */
.duration-card { position: relative; overflow: hidden; }
.duration-card.selected::after { content: "\2713  已选"; position: absolute; right: 0; bottom: 0; background: #e74c3c; color: #ffffff; font-size: 12px; font-weight: 700; line-height: 1; padding: 5px 10px; border-top-left-radius: 8px; letter-spacing: 1px; }

/* ===== static/css/image-compress.css ===== */
/**
 * 图片压缩相关样式
 * 适用于前台、后台、手机端
 */

/* 通用进度条样式 */
.image-compress-progress {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    border-radius: 8px;
    z-index: 9999;
    text-align: center;
    min-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 3px;

}

.progress-text {
    font-size: 14px;
    margin-top: 10px;
    color: #ccc;
}

/* 图片信息提示 */
.image-info {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    cursor: help;
    z-index: 10;
}

.image-info:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* 压缩信息面板 */
.compress-info {
    position: absolute;
    bottom: 2px;
    left: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 2px;
    text-align: center;
}

/* 后台管理专用样式 */
.admin-image-info {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-size: 11px;
    padding: 5px;
    border-radius: 4px 4px 0 0;
    opacity: 0;

}

.image-item:hover .admin-image-info {
    opacity: 1;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .image-compress-progress {
        min-width: 280px;
        padding: 15px;
    }
    
    .progress-text {
        font-size: 12px;
    }
    
    .image-info {
        width: 18px;
        height: 18px;
        line-height: 18px;
        font-size: 11px;
    }
    
    .compress-info {
        font-size: 9px;
        padding: 1px 3px;
    }
}

/* 压缩状态指示器 */
.compress-status {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.compress-status.compressed {
    background: #28a745;
    color: white;
}

.compress-status.original {
    background: #6c757d;
    color: white;
}

.compress-status.processing {
    background: #ffc107;
    color: #212529;
}

/* 压缩详情工具提示 */
.compress-tooltip {
    position: relative;
    display: inline-block;
}

.compress-tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;

    font-size: 12px;
    line-height: 1.4;
}

.compress-tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.compress-tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* 压缩设置面板 */
.compress-settings {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0;
}

.compress-settings h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #495057;
}

.compress-option {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.compress-option label {
    margin-left: 8px;
    font-size: 13px;
    color: #6c757d;
}

.compress-option input[type="range"] {
    flex: 1;
    margin: 0 10px;
}

.compress-option .value-display {
    min-width: 40px;
    text-align: right;
    font-size: 12px;
    color: #495057;
}

/* 压缩统计 */
.compress-stats {
    background: #e9ecef;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    font-size: 12px;
    color: #495057;
}

.compress-stats .stat-item {
    display: flex;
    justify-content: space-between;
    margin: 3px 0;
}

.compress-stats .stat-value {
    font-weight: bold;
    color: #007bff;
}

/* 错误提示 */
.compress-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 5px 0;
    font-size: 12px;
}

/* 成功提示 */
.compress-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    padding: 8px 12px;
    margin: 5px 0;
    font-size: 12px;
}

/* 加载动画已移除 */
.compress-loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .compress-settings {
        padding: 10px;
    }
    
    .compress-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .compress-option input[type="range"] {
        width: 100%;
        margin: 5px 0;
    }
    
    .compress-tooltip .tooltiptext {
        width: 150px;
        margin-left: -75px;
        font-size: 11px;
    }
}
