@charset "utf-8";
/* ============================================================
   sc_pc 资源下载站模板主样式
   对标参考站：白色头部 + 蓝色主色 + 黄色注册 + 深色页脚
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root{
  --sc-primary:#17a1ff;
  --sc-primary-d:#0f8fe0;
  --sc-primary-l:#eaf3ff;
  --sc-yellow:#f3c813;
  --sc-yellow-d:#e0b40a;
  --sc-red:#f5222d;
  --sc-green:#1abc9c;
  --sc-orange:#ff6b35;
  --sc-purple:#6c5ce7;
  --sc-c1:#2f80ed;
  --sc-c2:#6c5ce7;
  --sc-c3:#1abc9c;
  --sc-c4:#ff6b35;
  --sc-t1:#333333;
  --sc-t2:#666666;
  --sc-t3:#999999;
  --sc-border:#e5e6eb;
  --sc-bg:#f5f6f8;
  --sc-white:#ffffff;
  --sc-radius:5px;
  --sc-radius-s:5px;
  --sc-shadow:0 2px 12px rgba(0,0,0,.06);
  --sc-shadow-h:0 6px 18px rgba(30,128,255,.16);
  --sc-width:1240px;
}

/* ---------- 基础重置 ---------- */
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  font-family:'Microsoft Yahei','PingFang SC',Tahoma,'Simsun',sans-serif;
  font-size:14px;line-height:1.6;color:var(--sc-t1);
  background:var(--sc-bg);-webkit-font-smoothing:antialiased;
}
a{color:var(--sc-t1);text-decoration:none;transition:color .2s;}
a:hover{color:var(--sc-primary);}
img{border:0;max-width:100%;vertical-align:middle;}
ul,ol,li,dl,dd,p,h1,h2,h3,h4,h5{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4,h5{font-weight:600;}
input,button,select,textarea{font-family:inherit;font-size:14px;outline:none;}
button{cursor:pointer;}
.fl{float:left;}.fr{float:right;}
.cl:after{content:"";display:block;clear:both;}
.sc-wrap{width:var(--sc-width);max-width:100%;margin:0 auto;}

/* ---------- 通用按钮 ---------- */
.sc-btn{display:inline-block;padding:0 18px;height:36px;line-height:36px;text-align:center;
  border-radius:var(--sc-radius-s);border:1px solid transparent;cursor:pointer;transition:all .2s;white-space:nowrap;}
.sc-btn-primary{background:var(--sc-primary);color:#fff;}
.sc-btn-primary:hover{background:var(--sc-primary-d);color:#fff;}
.sc-btn-yellow{background:var(--sc-yellow);color:#fff;}
.sc-btn-yellow:hover{background:var(--sc-yellow-d);color:#fff;}
.sc-btn-ghost{background:#fff;border-color:var(--sc-border);color:var(--sc-t2);}
.sc-btn-ghost:hover{border-color:var(--sc-primary);color:var(--sc-primary);}
.sc-btn-block{display:block;width:100%;}

/* ---------- 登录页 ---------- */
.sc-login-bg{position:relative;overflow:hidden;padding: 120px 0;
  background:url(../images/login-bg.jpg) center center/cover no-repeat #0b3d91;}
.sc-login-bg::before,.sc-login-bg::after{content:none;}
.sc-login-card{position:relative;z-index:2;width:720px;max-width:100%;margin:0 auto;
  background:#fff;border-radius:5px;box-shadow:0 2px 4px rgba(0,0,0,.1);padding:20px 30px;}
.sc-login-h{font-size:18px;color:#444;font-weight:400;margin-bottom:18px;}
.sc-pop-close{position:absolute;top:8px;right:12px;width:28px;height:28px;line-height:26px;text-align:center;
  font-size:22px;color:#999;border-radius:50%;transition:all .2s;}
.sc-pop-close:hover{color:#333;background:#f0f0f0;}
.sc-lg-row{display:flex;align-items:center;padding:0;border-bottom:1px solid #f0f0f0;}
.sc-lg-label{flex:0 0 117px;align-self:stretch;display:flex;align-items:center;justify-content:center;
  font-size:14px;color:#848fa6;border-right:1px solid #f0f0f0;padding:0 6px;}
.sc-lg-ctl{flex:1;min-width:0;padding:8px 0;display:flex;align-items:center;gap:8px;}
.sc-lg-input{flex:0 0 263px;min-width:0;width:263px;height:30px;border:0;background:transparent;font-size:14px;color:var(--sc-t1);outline:none;padding:0 8px;}
.sc-lg-input::placeholder{color:#bbb;}
.sc-lg-select{width:100%;height:34px;border:0;background:transparent;font-size:14px;color:var(--sc-t2);outline:none;appearance:none;}
#registerform{padding-left:20px;box-sizing:border-box;}
.sc-lg-seccode span[id^=seccode_c]{display:flex;align-items:center;width:100%;}
.sc-lg-seccode .sc-vc-txt{flex:0 0 117px;align-self:stretch;display:flex;align-items:center;justify-content:center;
  font-size:14px;color:#848fa6;border-right:1px solid #f0f0f0;margin:-8px 0;padding:0 6px;}
.sc-vc-sec{width:100%;}
.sc-vc-row{display:flex;align-items:center;width:100%;}
.sc-vc-th{flex:0 0 117px;align-self:stretch;display:flex;align-items:center;justify-content:center;
  font-size:14px;color:#848fa6;border-right:1px solid #f0f0f0;padding:0 6px;}
.sc-vc-td{flex:0 0 auto;display:flex;align-items:center;padding:8px 0;}
.sc-lg-seccode input.txt{width:199px!important;box-sizing:content-box;height:30px;border:0;background:transparent;
  padding:0 8px;font-size:14px;color:#444;vertical-align:middle;}
.sc-lg-seccode input.txt:focus{box-shadow:none;outline:none;}
.sc-lg-seccode a.xi2{font-size:13px;margin-left:6px;white-space:nowrap;color:#848fa6;}
.sc-lg-seccode a.xi2:hover{color:#43a6df;}
.sc-vc-answer{flex:0 0 116px;margin-left:auto;text-align:left;padding:8px 0;}
.sc-vc-answer span{font-size:14px;color:#666;}
.sc-vc-answer img{border-radius:0;display:block;margin-top:2px;}
.sc-lg-remember{display:flex;align-items:center;justify-content:space-between;margin:18px 0 4px;font-size:13px;color:var(--sc-t2);}
.sc-lg-remember a{color:var(--sc-t2);}
.sc-lg-remember a:hover{color:var(--sc-primary);}
.sc-lg-submit{display:block;width:100%;height:44px;margin-top:18px;border:0;border-radius:5px;
  background:#43a6df;color:#fff;font-size:16px;cursor:pointer;transition:background .2s;}
.sc-lg-submit:hover{background:#3593cc;}
.sc-lg-register{display:block;width:100%;height:44px;line-height:42px;margin-top:14px;text-align:center;
  border:1px solid var(--sc-yellow);border-radius:5px;color:var(--sc-yellow-d);font-size:16px;}
.sc-lg-register:hover{background:var(--sc-yellow);color:#fff;}
.sc-lg-divider{display:flex;align-items:center;gap:12px;margin:26px 0 14px;}
.sc-lg-divider::before,.sc-lg-divider::after{content:"";flex:1;height:1px;background:var(--sc-border);}
.sc-lg-divider span{font-size:13px;color:var(--sc-t3);}
.sc-login-fwd{color:var(--sc-t2);margin-bottom:14px;}

/* 注册页 */
.sc-reg-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.sc-reg-head .sc-login-h{margin-bottom:0;}
.sc-reg-login{font-size:13px;color:var(--sc-t3);}
.sc-reg-login a{color:var(--sc-red);}
.sc-lg-label .rq{color:var(--sc-red);margin-right:2px;}
.sc-lg-ctl .p_tip{font-style:normal;font-size:14px;color:#666;margin:0;font-weight:normal;}
.sc-lg-ctl .p_chk{flex:0 0 auto;display:block;font-size:12px;color:var(--sc-red);margin:0 8px 0 0;white-space:nowrap;}
.sc-lg-ctl .p_chk:empty{display:none;}
.sc-lg-ctl.p_right .p_chk{color:var(--sc-green);}
.passlevel{font-style:normal;}
.passlevel1{color:var(--sc-red);}
.passlevel2{color:var(--sc-orange);}
.passlevel3{color:var(--sc-green);}
.sc-reg-agree{margin-top:18px;font-size:14px;color:var(--sc-t2);}
.sc-reg-agree a{color:var(--sc-red);}
.sc-lg-ctl em{display:none;}

/* ============================================================
   站点头部（参照 uix 模板 nex-* 原生类名）
   ============================================================ */

/* 通用头部容器 */
.w1180{width:1240px;max-width:100%;margin:0 auto;}

/* ---------- 白色顶栏 ---------- */
.nexheader{width:100%;min-width:1180px;height:130px;padding:10px 0;background:#fff;transition:all .3s linear;}

/* Logo */
.nexlogo{width:220px;height:84px;float:left;}
.nexlogo img{width:220px;height:70px;margin-top:10px;}
.nexlogo-name{display:block;font-size:26px;font-weight:700;color:#333;line-height:84px;white-space:nowrap;}

/* 搜索区 */
.nexsearch{float:left;width:450px;margin-top:23px;margin-left:70px;}
#scbar{width:446px;height:40px;border:2px solid #0EC5A1;background:none;}
#scbar_type{display:block;background:none;border:0;padding-left:16px;height:30px;line-height:30px;margin:5px 0;border-right:1px solid #ededed;color:#999;}
#scbar_txt{height:40px;line-height:40px;color:#333;font-size:14px;padding:0;}
.nex_scbar{float:left;}
.nex_scbar_type_td{float:left;width:80px;height:40px;line-height:40px;text-align:center;font-size:14px;color:#999;background:url(../images/top/down.png) 55px center no-repeat;}
.nex_scbartxt{float:left;width:276px!important;padding-left:10px;height:40px;line-height:40px;border:0;background:#fff;}
.scbar_narrow #scbar_txt{width:260px;border:0;height:40px;}
.nex_scbar_btn{float:left;width:80px;height:40px;}
#scbar_btn{background:#0ec5a1 url(../images/top/search_butn.png) 10px center no-repeat;border:0;padding:0;margin:0;width:90px;height:40px;line-height:40px;font-size:14px;color:#fff;text-indent:23px;border-radius:0;}
.scbar_hot_td{margin-top:5px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.scbar_hot_td a{padding:0 6px 0 0;color:#999!important;font-size:14px;}
.scbar_hot_td a:hover{color:#0EC5A1!important;}
.nexsearch .p_pop{background:#fff!important;padding:0!important;width:66px!important;border:2px solid #0EC5A1!important;top:82px!important;border-top:0!important;margin-left:-2px;}
.nexsearch .p_pop a{font-size:14px!important;height:30px;line-height:30px;color:#0EC5A1!important;}
.nexsearch .p_pop a:hover{background:#f4f4f4!important;}

/* 功能图标 */
.nextoptools{margin-top:26px;float:left;margin-left:20px;}
.nextoptools ul li{float:left;width:60px;height:43px;margin:0 3px;}
.nextoptools ul li a i{text-align:center;display:block;width:23px;height:17px;margin:5px auto;}
.nextoptools ul li a p{text-align:center;font-size:12px;color:#666;}
.nextoptools ul li a:hover p{color:#0EC5A1;}
.nextoptools ul li a i.nextoptool_cz{background:url(../images/top/crown.png) no-repeat;}
.nextoptools ul li a:hover i.nextoptool_cz{background:url(../images/top/crown1.png) no-repeat;}
.nextoptools ul li a i.nextoptool_upload{background:url(../images/top/uploading.png) no-repeat;}
.nextoptools ul li a:hover i.nextoptool_upload{background:url(../images/top/uploading1.png) no-repeat;}
.nextoptools ul li a i.nextoptool_vip{background:url(../images/top/vip.png) no-repeat;}
.nextoptools ul li a:hover i.nextoptool_vip{background:url(../images/top/vip1.png) no-repeat;}
.nextopapps{position:relative;height:40px;cursor:pointer;}
.nex_sjapp{width:60px;height:40px;margin:0 8px;margin-top:-4px;}
.nex_sjapp i{text-align:center;display:block;width:18px;height:20px;margin:5px auto;background:url(../images/top/app.png) no-repeat;}
.nex_sjapp p{text-align:center;font-size:12px;color:#666;}
.nextopapps:hover .nex_sjapp i{background:url(../images/top/app1.png) no-repeat;}
.nextopapps:hover .nex_sjapp p{color:#0EC5A1;}
.nex_sjhiddens{padding:20px 10px 10px;background:#fff;width:140px;position:absolute;top:45px;left:-45px;box-shadow:0 2px 3px #eee;border-radius:5px;border-top:1px solid #eee;display:none;z-index:111;}
.nextopapps:hover .nex_sjhiddens{display:block;}
.nex_sjhiddens img{width:110px;height:110px;display:block;margin:0 auto;}
.nex_sjhiddens h3{height:30px;line-height:30px;margin:0 0 5px;font-size:14px;color:#666;font-weight:400;text-align:center;overflow:hidden;}
.nex_sjhiddens a{width:140px;height:30px;line-height:30px;display:block;background:#0EC5A1;margin:0 auto;text-align:center;font-size:14px;color:#fff;border-radius:5px;}
.nex_sjhiddens a:hover{background:#00B38A;}

/* 注册/登录滑块（未登录） */
.nexDL_part{float:right;}
.nexdenglu ul{margin-top:28px;margin-left:10px;border:#0ec5a1 1px solid;width:130px;height:35px;position:relative;z-index:7;background:#fff;border-radius:5px;}
.nexdenglu ul li{width:50%;height:35px;color:#0ec5a1;float:left;}
.nexdenglu ul li a{display:block;width:100%;height:35px;line-height:35px;text-align:center;color:#0ec5a1;position:relative;z-index:9;transition:all .2s;}
.nexdenglu ul li.nexDL_ZC a{color:#fff;}
.nexdenglu ul li.nexDL_sliders{width:50%;height:100%;position:absolute;left:0;top:0;background:#0ec5a1;z-index:8;transition:left .4s,background-color .4s;}
.nexdenglu ul li.cur a{color:#fff;}

/* ---------- 青绿色导航条 ---------- */
#nex_top_nav{width:100%;min-width:1180px;height:50px;background:#0EC5A1;}
.nex_Nav_box{width:990px;height:50px;float:left;overflow:hidden;}
.nex_Nav_box ul li{float:left;}
.nex_Nav_box ul li a{display:inline-block;padding:0 25px;height:50px;line-height:50px;color:#fff;font-size:16px;text-align:center;position:relative;font-weight:500;}
.nex_Nav_box ul li a:hover{color:#fff;background:#00B38A;}
.nex_Nav_box ul li.a a{color:#fff;background:#00B38A;}
.nex_Nav_box span{display:none;}
.nex_Nav_box ul li.hover{color:#fff;background:#00B38A;}
.nex_Nav_box ul li.hover a{color:#fff;background:#00B38A;}

/* 右侧齿轮快捷菜单 */
.nex_qmenus{float:right;}
#qmenu{display:block;float:right;padding-right:0;margin:5px 0 0;overflow:visible;position:relative;width:40px;height:40px;background:none;}
#qmenu i{display:block;width:20px;height:20px;position:absolute;left:5px;bottom:7px;background:url(../images/top/qmenu.png) no-repeat;transform-origin:50% 50%;animation:rotateInFiniteOne 3s linear infinite;}
#qmenu em{display:block;width:15px;height:15px;position:absolute;top:5px;right:5px;background:url(../images/top/qmenu1.png) no-repeat;transform-origin:50% 50%;animation:rotateInFiniteOne 3s linear infinite;}
#qmenu:hover{background:none;}
@keyframes rotateInFiniteOne{0%{transform:rotateZ(0deg);opacity:1;}100%{transform:rotateZ(360deg);opacity:1;}}

/* ---------- 登录态用户区 ---------- */
.nexuser{margin-top:24px;}
.nexuser-name{display:flex;align-items:center;gap:8px;}
.nexuser-name img{width:36px;height:36px;border-radius:50%;}
.nexuser-name span{font-size:14px;color:#333;}
.nexusermenu{min-width:140px;padding:6px 0;background:#fff;border:1px solid #e5e6eb;border-radius:5px;box-shadow:0 8px 24px rgba(0,0,0,.1);z-index:500;}
.nexusermenu li a{display:block;padding:8px 18px;font-size:14px;color:#666;white-space:nowrap;}
.nexusermenu li a:hover{background:#eaf3ff;color:#0EC5A1;}

/* wp 容器全宽，宽度交由各 sc-wrap / w1180 控制 */
#wp.wp{width:100%;max-width:100%;margin:0;padding:0;}
#wp > .sc-wrap{padding-bottom:6px;}

/* ============================================================
   轮播
   ============================================================ */
.sc-banner{position:relative;overflow:hidden;border-radius:0;background:#ddd;height:100%;min-width:0;}
.sc-slide{position:relative;height:100%;}
.sc-slide:not(:first-child){display:none;}
.sc-slide img{width:100%;height:100%;object-fit:cover;}
.sc-arrow{position:absolute;top:50%;transform:translateY(-50%);width:46px;height:64px;
  background:rgba(0,0,0,.25);color:#fff;border:0;font-size:26px;line-height:64px;text-align:center;}
.sc-arrow:hover{background:rgba(0,0,0,.45);}
.sc-arrow.prev{left:0;}.sc-arrow.next{right:0;}
.sc-dots{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;gap:8px;}
.sc-dots i{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.55);cursor:pointer;}
.sc-dots i.on{background:#fff;width:24px;border-radius:5px;}

/* 顶部三格：左大轮播 + 右侧上下两小图（对齐参考站：主轮播 380px，右两图各 180px、间距 20px） */
.sc-hero3{margin:18px 0;display:grid;grid-template-columns:1fr 285px;gap:20px;height:380px;}
.sc-hero3-side{display:grid;grid-template-rows:1fr 1fr;gap:20px;min-width:0;}
.sc-hero3-cell{display:block;position:relative;overflow:hidden;border-radius:5px;background:#f0f2f5;}
.sc-hero3-cell img{width:100%;height:100%;object-fit:cover;transition:transform .35s;}
.sc-hero3-cell:hover img{transform:scale(1.05);}

/* 顶部三格 DIY 区域：锁定槽位高度，防止模块内容/图片把格子撑高 */
.sc-hero3 .sc-banner,
.sc-hero3 .sc-hero3-side,
.sc-hero3 .sc-hero3-cell,
.sc-fp-slide .sc-banner{min-height:0;overflow:hidden;}

.sc-banner > .area,
.sc-hero3-cell > .area{height:100%;min-height:0;overflow:hidden;}

.sc-banner > .area .frame,
.sc-banner > .area .column,
.sc-banner > .area .block,
.sc-banner > .area .dxb_bc,
.sc-hero3-cell > .area .frame,
.sc-hero3-cell > .area .column,
.sc-hero3-cell > .area .block,
.sc-hero3-cell > .area .dxb_bc{height:100%;min-height:0;overflow:hidden;}

/* 模块内容包裹层填满槽位 */
.sc-banner .sc-slidewrap,
.sc-banner .sc-slidebox,
.sc-banner .sc-slideitem,
.sc-hero3-cell .portal_block_summary{height:100%;min-height:0;}
/* 论坛轮播模块默认直角；门户三格在下方覆盖为 8px 圆角 */
.sc-banner .sc-slidebox{border-radius:0;}
/* 门户三格主轮播：与框架行一致的 8px 圆角、无阴影、隐藏左右箭头、胶囊分页圆点 */
.sc-hero3 .sc-banner,
.sc-hero3 .sc-slidebox{border-radius:5px;}
.sc-hero3 .sc-slidebox{box-shadow:none !important;}
.sc-hero3 .sc-slideprev,
.sc-hero3 .sc-slidenext{display:none !important;}
.sc-hero3 .sc-slidedots{right:10px !important;bottom:5px !important;gap:4px !important;}
.sc-hero3 .sc-slidedots i{width:8px !important;height:5px !important;border-radius:10px !important;background:rgba(255,255,255,.5) !important;transition:width .25s,background .25s,opacity .25s;}
.sc-hero3 .sc-slidedots i.on{width:18px !important;background:#fff !important;opacity:1;}
/* 大轮播幻灯：纯封面，不显示标题条（门户与论坛） */
.sc-banner .sc-slidetit{display:none;}

/* 链接与图片铺满槽位，图片等比缩放铺满（超出裁剪），覆盖模块自带的固定图片高度 */
.sc-banner > .area a,
.sc-hero3-cell > .area a{display:block;height:100%;}
.sc-banner > .area img,
.sc-hero3-cell > .area img{width:100%!important;height:100%!important;object-fit:cover !important;}

/* ============================================================
   服务特性
   ============================================================ */
.sc-feats{display:flex;justify-content:space-between;background:#fff;padding:22px 10px;border-radius:var(--sc-radius);}
.sc-feat{display:flex;align-items:center;gap:10px;padding:0 18px;}
.sc-feat-ico{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;}
.sc-feat span{font-size:15px;color:var(--sc-t1);}

/* ============================================================
   广告位
   ============================================================ */
.sc-ads{margin:20px 0;}
.sc-ads > .area{display:grid;grid-template-columns:repeat(5,1fr);column-gap: 16px;}
.sc-ads a{display:block;border-radius:0;overflow:hidden;background:#fff;box-shadow:var(--sc-shadow);}
.sc-ads img{width:100%;height:100px;object-fit:cover;}

/* 五连广告位单 DIY 区域：框架/列/区块包裹层不生成盒子，模块内广告链接直接参与 area 五列网格 */
.sc-ads > .area .frame,
.sc-ads > .area .column,
.sc-ads > .area .block,
.sc-ads > .area .dxb_bc,
.sc-ads > .area .portal_block_summary{display:contents;}
/* 框架标题与空占位前台不显示、不占网格位 */
.sc-ads > .area .frame-title,
.sc-ads > .area .temp{display:none;}
/* 论坛首页幻灯片：隐藏 DIY 框架标题与空占位 */
.sc-fp-slide .frame-title,
.sc-fp-slide .temp{display:none;}
.sc-ads > .area a{display:block;}
.sc-ad-wide{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0;}
.sc-ad-wide a{display:block;border-radius:var(--sc-radius);overflow:hidden;box-shadow:var(--sc-shadow);}
.sc-ad-wide img{width:100%;height:90px;object-fit:cover;}

/* 论坛统计行（分类板块上方） */
#chart.sc-forum-chart{background:#fff;padding:16px 6px;margin:18px 0;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;}
.sc-chart-p{margin:0;font-size:14px;display:flex;flex-wrap:wrap;gap:26px;}
.sc-chart-p::before{content:none;}
.sc-stat{color:var(--sc-t3);white-space:nowrap;}
#chart.sc-forum-chart em{font-style:normal;color:var(--sc-t1);font-weight:600;margin-left:5px;}
.sc-chart-y{display:flex;align-items:center;gap:30px;}
.sc-chart-y a{color:var(--sc-t2);font-size:14px;}
.sc-chart-y a:hover{color:var(--sc-primary);}

/* ============================================================
   板块通用标题
   ============================================================ */
.sc-section{background:#fff;border-radius:var(--sc-radius);padding:24px 24px 0px;margin-bottom:20px;}
.sc-sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;}
.sc-sec-title{font-size:22px;font-weight:700;position:relative;padding-left:14px;}
.sc-sec-title:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:4px;border-radius:2px;background:var(--sc-primary);}
.sc-sec-title.red:before{background:var(--sc-red);}
.sc-more{color:var(--sc-t3);font-size:14px;}
.sc-more:hover{color:var(--sc-primary);}

/* ============================================================
   圆形分类图标网格
   ============================================================ */
.sc-catgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:18px 10px;}
.sc-cat{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:24px;background:#f7f9fc;transition:all .2s;}
.sc-cat:hover{background:var(--sc-primary-l);transform:translateY(-2px);}
.sc-cat img,.sc-cat-ico{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:0 0 auto;
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;}
.sc-cat span{font-size:14px;color:var(--sc-t1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

/* ============================================================
   素材卡片网格（5列）
   ============================================================ */
.sc-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:18px 16px;}
.sc-card{background:#fff;border-radius:var(--sc-radius);overflow:hidden;transition:all .2s;}
.sc-card:hover{transform:translateY(-4px);box-shadow:var(--sc-shadow-h);}
.sc-card-thumb{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:#f0f2f5;}
.sc-card-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .35s;}
.sc-card:hover .sc-card-thumb img{transform:scale(1.06);}
.sc-card-tag{position:absolute;left:8px;top:8px;background:rgba(245,34,45,.85);color:#fff;font-size:12px;
  padding:1px 8px;border-radius:5px;}
.sc-card-info{padding:10px 12px 14px;}
.sc-card-title{display:block;font-size:14px;color:var(--sc-t1);line-height:1.4;overflow:hidden;
  white-space:nowrap;text-overflow:ellipsis;}
.sc-card-title:hover{color:var(--sc-primary);}
.sc-card-meta{margin-top:6px;font-size:12px;color:var(--sc-t3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-card-meta a{color:var(--sc-t3);}
.sc-card-meta a:hover{color:var(--sc-primary);}

/* DIY 框架/模块无缝融入：去除系统默认边框、背景与外边距 */
.area .frame{border:0;background:none;margin-bottom:0;}
.area .column{width:100%!important;}
.area .block{margin:0;}
.area .dxb_bc{padding:0;}
.area .sc-cards{width:100%;}

/* DIY 模式：所有区域给足最小高度，方便空区域拖入框架/模块（仅 DIY 模式生效） */
body.sc-diy-mode .area{min-height:80px;}

/* 深色卡片（频道页） */
.sc-cards-dark .sc-card{background:#33383f;}
.sc-card-dark-meta{padding:8px 10px;font-size:12px;color:#aab;border-top:1px solid #40454d;display:flex;justify-content:space-between;}
.sc-card-dark-meta a{color:#ccd;}

/* ============================================================
   标签页
   ============================================================ */
.sc-tabs{display:flex;gap:10px;flex-wrap:wrap;}
.sc-tab{padding:6px 18px;border-radius:5px;background:#f2f3f5;color:var(--sc-t2);cursor:pointer;border:0;font-size:14px;}
.sc-tab:hover{color:var(--sc-primary);}
.sc-tab.on{background:var(--sc-primary);color:#fff;}
.sc-tabpane{display:none;}
.sc-tabpane.on{display:block;}

/* ============================================================
   排行榜（两列）
   ============================================================ */
.sc-rank{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;}
.sc-rank li{display:flex;align-items:center;padding:9px 4px;border-bottom:1px dashed var(--sc-border);}
.sc-rank-no{width:22px;height:22px;line-height:22px;text-align:center;border-radius:5px;background:#ffd8d8;
  color:var(--sc-red);font-weight:700;font-size:13px;flex:0 0 auto;margin-right:10px;}
.sc-rank li:nth-child(-n+3) .sc-rank-no{background:var(--sc-red);color:#fff;}
.sc-rank-tit{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sc-t1);}
.sc-rank-tit:hover{color:var(--sc-primary);}
.sc-rank-num{color:var(--sc-t3);font-size:13px;margin-left:10px;}
.sc-rank-note{font-weight:400;color:var(--sc-t3);font-size:14px;}
.sc-rank-note b{color:var(--sc-red);}

/* ============================================================
   软件下载分类（4列彩色）
   ============================================================ */
.sc-soft{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.sc-soft-col{border:1px solid var(--sc-border);border-radius:var(--sc-radius);overflow:hidden;}
.sc-soft-head{height:54px;line-height:54px;text-align:center;color:#fff;font-size:17px;font-weight:600;}
.sc-soft-col:nth-child(1) .sc-soft-head{background:var(--sc-c1);}
.sc-soft-col:nth-child(2) .sc-soft-head{background:var(--sc-c2);}
.sc-soft-col:nth-child(3) .sc-soft-head{background:var(--sc-c3);}
.sc-soft-col:nth-child(4) .sc-soft-head{background:var(--sc-c4);}

/* ============================================================
   文章 / 教程
   ============================================================ */
.sc-articles{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.sc-article a.thumb{display:block;aspect-ratio:16/9;border-radius:var(--sc-radius);overflow:hidden;background:#f0f2f5;}
.sc-article img{width:100%;height:100%;object-fit:cover;}
.sc-article h4{margin:10px 0 6px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-article p{font-size:13px;color:var(--sc-t3);height:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}

/* 教程行：左图右文 */
.sc-tutorials{display:flex;flex-direction:column;gap:18px;}
.sc-tut{display:flex;gap:18px;}
.sc-tut-thumb{flex:0 0 220px;}
.sc-tut-thumb a{display:block;aspect-ratio:16/9;border-radius:var(--sc-radius);overflow:hidden;}
.sc-tut-thumb img{width:100%;height:100%;object-fit:cover;}
.sc-tut-body{flex:1;}
.sc-tut-label{display:inline-block;background:#e8faf3;color:var(--sc-green);font-size:12px;padding:2px 10px;border-radius:5px;margin-right:8px;}
.sc-tut-body h4{display:inline;font-size:16px;}
.sc-tut-body h4 a{color:var(--sc-t1);}
.sc-tut-body h4 a:hover{color:var(--sc-primary);}
.sc-tut-desc{margin:10px 0 14px;color:var(--sc-t2);font-size:13px;
  height:40px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.sc-tut-meta{display:flex;justify-content:space-between;color:var(--sc-t3);font-size:13px;}

/* ============================================================
   左右两栏布局（内页/边栏）
   ============================================================ */
.sc-layout{display:grid;grid-template-columns:1fr 300px;gap:15px;align-items:start;}
.sc-main-col{min-width:0;}
.sc-side{display:flex;flex-direction:column;gap:20px;}
.sc-widget{background:#fff;border-radius:var(--sc-radius);padding:16px;}
.sc-widget-title{font-size:16px;font-weight:700;margin-bottom:14px;position:relative;padding-left:12px;}
.sc-widget-title:before{content:"";position:absolute;left:0;top:3px;bottom:3px;width:3px;border-radius:2px;background:var(--sc-primary);}

/* 标签云 */
.sc-tagcloud{display:flex;flex-wrap:wrap;gap:8px;}
.sc-tagcloud a{padding:3px 12px;border-radius:14px;background:#f2f3f5;color:var(--sc-t2);font-size:13px;}
.sc-tagcloud a:hover{background:var(--sc-primary);color:#fff;}

/* 会员排行 */
.sc-member li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px dashed var(--sc-border);}
.sc-member li:last-child{border-bottom:0;}
.sc-member-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;flex:0 0 auto;background:#f0f2f5;}
.sc-member-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.sc-member-info{flex:1;min-width:0;}
.sc-member-info .nm{font-weight:600;display:flex;align-items:center;gap:6px;}
.sc-badge{font-size:11px;background:var(--sc-red);color:#fff;padding:0 6px;border-radius:5px;font-weight:400;}
.sc-member-info .meta{font-size:12px;color:var(--sc-t3);margin-top:2px;}

/* 边栏迷你榜单 */
.sc-minirank li{display:flex;align-items:baseline;gap:8px;padding:7px 0;}
.sc-minirank .no{color:var(--sc-primary);font-weight:700;width:16px;flex:0 0 auto;}
.sc-minirank a{flex:1;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--sc-t2);}
.sc-minirank a:hover{color:var(--sc-primary);}
.sc-widget .sc-tabs{margin-bottom:14px;}
.sc-widget .sc-tab{padding:4px 12px;font-size:13px;}

/* 边栏最新素材（带缩略图） */
.sc-side-thumbs li{display:flex;gap:10px;padding:9px 0;border-bottom:1px dashed var(--sc-border);}
.sc-side-thumbs li:last-child{border-bottom:0;}
.sc-side-thumbs .no{color:var(--sc-red);font-weight:700;}
.sc-side-thumbs img{width:64px;height:48px;object-fit:cover;border-radius:5px;flex:0 0 auto;}
.sc-side-thumbs .t{font-size:13px;line-height:1.4;}

/* ============================================================
   资源详情页
   ============================================================ */
.sc-crumb{padding:16px 0;font-size:13px;color:var(--sc-t3);}
.sc-crumb a{color:var(--sc-t3);}
.sc-crumb a:hover{color:var(--sc-primary);}
.sc-detail{background:#fff;border-radius:var(--sc-radius);padding:26px;}
.sc-detail-head{border-bottom:1px solid var(--sc-border);padding-bottom:16px;margin-bottom:22px;}
.sc-detail-head h1{font-size:24px;margin-bottom:12px;}
.sc-detail-info{color:var(--sc-t3);font-size:13px;display:flex;gap:18px;flex-wrap:wrap;}
.sc-detail-grid{display:grid;grid-template-columns:1fr 320px;gap:28px;align-items:start;}
.sc-preview img{width:100%;border-radius:var(--sc-radius);background:#f0f2f5;}
.sc-preview p{margin-top:14px;color:var(--sc-t2);}
.sc-download-box{border:1px solid var(--sc-border);border-radius:var(--sc-radius);overflow:hidden;}
.sc-download-btn{display:block;height:56px;line-height:56px;text-align:center;background:var(--sc-primary);
  color:#fff;font-size:18px;font-weight:600;}
.sc-download-btn:hover{background:var(--sc-primary-d);color:#fff;}
.sc-attrs{padding:16px 18px;}
.sc-attrs li{display:flex;padding:9px 0;border-bottom:1px dashed var(--sc-border);font-size:13px;}
.sc-attrs li:last-child{border-bottom:0;}
.sc-attrs .k{width:78px;color:var(--sc-t3);flex:0 0 auto;}
.sc-attrs .v{flex:1;color:var(--sc-t1);word-break:break-all;}
.sc-attrs .v a{color:var(--sc-primary);}
.sc-pill{display:inline-block;border:1px solid var(--sc-primary);color:var(--sc-primary);
  padding:0 8px;border-radius:5px;font-size:12px;margin-right:6px;}
.sc-hide-tip{color:var(--sc-red);}

/* 作者卡片 */
.sc-author-card{text-align:center;}
.sc-author-card .av{width:72px;height:72px;border-radius:50%;overflow:hidden;margin:0 auto 10px;}
.sc-author-card .av img{width:100%;height:100%;object-fit:cover;border-radius:50%;}
.sc-author-card .nm{font-size:16px;font-weight:600;}
.sc-author-stats{display:flex;justify-content:space-around;margin:16px 0;text-align:center;}
.sc-author-stats b{display:block;font-size:18px;color:var(--sc-t1);}
.sc-author-stats span{font-size:12px;color:var(--sc-t3);}
.sc-author-card .sc-btn{margin:4px;}

/* ============================================================
   页脚
   ============================================================ */
/* ---------- 友情链接（白色卡片） ---------- */
.sc-ft-linkwrap{background:var(--sc-bg);    padding: 10px 0 0;
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;}
.sc-ft-link{width:var(--sc-width);max-width:100%;margin:0 auto;background:#fff;border-radius:5px;
  box-shadow:0 2px 12px rgba(0,0,0,.1);padding:12px 12px 15px;}
.sc-ft-link-h{display:flex;align-items:center;gap:6px;color:#F04C25;font-size:24px;font-weight:400;margin:0 0 8px;}
.sc-ft-link-ul{display:flex;flex-wrap:wrap;list-style:none;margin:0;padding:0;}
.sc-ft-link-ul li{margin-right:18px;}
.sc-ft-link-ul a{color:#555;font-size:12px;text-decoration:none;}
.sc-ft-link-ul a:hover{color:#F04C25;}

/* ---------- 深色页脚（参照 footer） ---------- */
.sc-ft{background:#484647;color:#cacaca;font-size:12px;}
.sc-ft-box{width:var(--sc-width);max-width:100%;margin:0 auto;padding:35px 0;}
.sc-ft-in{display:flex;justify-content:space-between;align-items:flex-start;}
.sc-ft-in dl{width:170px;margin:0;padding:0;}
.sc-ft-in dt{color:#eee;font-size:18px;font-weight:400;line-height:26px;margin:0 0 10px;padding:0;}
.sc-ft-in dd{margin:0;padding:0;line-height:30px;}
.sc-ft-in dd a{color:#cacaca;font-size:13px;text-decoration:none;}
.sc-ft-in dd a:hover{color:#fff;}
.sc-ft-y{display:flex;gap:55px;}
.sc-ft-code{width:100px;text-align:center;}
.sc-ft-code img{width:100px;height:100px;display:block;margin:0;}
.sc-ft-code p{color:#cacaca;font-size:14px;line-height:22px;margin:10px 0 0;}

/* ---------- 底部版权/备案条 ---------- */
.sc-ft-bottom{background:#343333;padding:15px 0;}
.sc-ft-nav,.sc-ft-z{text-align:center;line-height:24px;}
.sc-ft-nav a,.sc-ft-z a{color:#cacaca;text-decoration:none;}
.sc-ft-nav a:hover,.sc-ft-z a:hover{color:#fff;}
.sc-ft-pipe{color:#343333;margin:0 6px;}
.sc-ft-z{margin-top:2px;}
.sc-ft-z strong a{color:#fff;}
.sc-ft-z em{font-style:normal;color:#cacaca;}
.sc-ft-copy{margin-left:8px;}
.sc-ft-x{text-align:center;padding:15px 0 5px;}
.sc-ft-x a{display:inline-block;box-sizing:content-box;vertical-align:top;width:118px;height:48px;margin:0 5px 0 0;padding:5px;border:1px solid #e7e7e7;background:#fff;color:#666;font-size:12px;line-height:24px;text-align:left;text-decoration:none;}
.sc-ft-x img{display:block;float:left;width:auto;height:auto;max-width:118px;max-height:48px;}
.sc-ft-x span{display:inline;font-size:12px;line-height:24px;color:#666;margin:0 0 0 3px;}

/* ============================================================
   Discuz 原生组件配色覆盖（论坛/搜索/内页继承场景）
   ============================================================ */
.bm{background:#fff;border:1px solid var(--sc-border);border-radius:var(--sc-radius);margin-bottom:16px;}
.bm_h{border-bottom:1px solid var(--sc-border);}
.bm_h .xs2 a,.bm_h h2{color:var(--sc-t1);}

.xg1,.xg1 a{color:var(--sc-t3);}
.xw1{font-weight:600;}
.tf{background:#fafbfc;}
.th{background:#f7f9fc;border-bottom:1px solid var(--sc-border);}
.pg a,.pg strong{border-color:var(--sc-border);border-radius:5px;}
.pg a:hover{border-color:var(--sc-primary);color:var(--sc-primary);}
.pg strong{background:var(--sc-primary);color:#fff;border-color:var(--sc-primary);}
.mtxt{color:var(--sc-t3);}
input.txg,textarea.txg,select.txg{border:1px solid var(--sc-border);border-radius:5px;padding:6px 10px;background:#fff;}
input.txg:focus,textarea.txg:focus{border-color:var(--sc-primary);}
.pnc{background:var(--sc-primary);color:#fff;border-radius:5px;}
.fc-blue{color:var(--sc-primary);}
.emp{color:var(--sc-red);}
.z{background:var(--sc-primary-l);}

/* ============================================================
   响应式（基础适配）
   ============================================================ */
@media (max-width:1240px){
  :root{--sc-width:calc(100% - 32px);}
}
@media (max-width:992px){
  .sc-cards{grid-template-columns:repeat(3,1fr);}
  .sc-catgrid{grid-template-columns:repeat(4,1fr);}
  .sc-soft{grid-template-columns:repeat(2,1fr);}
  .sc-layout,.sc-detail-grid{grid-template-columns:1fr;}
  .sc-rank{grid-template-columns:1fr;}
  #sc_diy_article .sc-rank ul, #sc_diy_tut .sc-rank ul{grid-template-columns:1fr;}
  #nex_top_nav .nex_Nav_box{overflow-x:auto;}
  .nex_Nav_box ul li a{white-space:nowrap;}
  .sc-articles{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:640px){
  .sc-cards{grid-template-columns:repeat(2,1fr);}
  .sc-catgrid{grid-template-columns:repeat(2,1fr);}
  .sc-soft,.sc-articles,.sc-ads,.sc-ad-wide,.sc-ads > .area{grid-template-columns:1fr;}
  .sc-tut{flex-direction:column;}
  .sc-tut-thumb{flex:none;width:100%;}
  .sc-feats{flex-wrap:wrap;gap:14px;}
}

/* ============================================================
   注册/登录页（类名 sc_pc-*、变量 --sc-*）
   注册页专属变量挂 .sc_pc-login 局部作用域，不影响全局 :root
   ============================================================ */
.sc_pc-login{
  --sc-primary:#43A6DF;
  --sc-primary-hover:#2392D2;
  --sc-danger:#F96868;margin:0 auto;}
.sc_pc-login .bg{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;background:url(../images/login-bg.jpg);background-size:cover;-webkit-transition:all .2s ease 0s;transition:all .2s ease 0s;background-attachment:fixed;background-size:cover;}
.sc_pc-login .rfm{width:auto;min-width:350px;border-bottom:none;font-size:14px;}
.sc_pc-login .rfm tr{border-bottom:1px solid #F0F0F0;}
.sc_pc-login .rfm th{display:inline-block;width:auto;min-width:70px;padding:0 8px;margin:10px 0;height:30px;line-height:30px;color:#848fa6;text-align:center;border-right:1px solid #F0F0F0;}
.sc_pc-login.sc_pc-register .rfm th{min-width:100px;}
.sc_pc-login .rfm td{display:inline-block;padding:10px 2px !important;}
.sc_pc-login .rfm td input,.sc_pc-login .rfm td select{width:247px !important;height:30px;line-height:30px;padding:0 8px !important;overflow:hidden;font-family:inherit;font-size:inherit;font-weight:inherit;background:transparent;border:none !important;resize:none;box-shadow:none;}
.sc_pc-login .sc_pc-login-sec.rfm td input{width:191px !important;}
.sc_pc-login.sc_pc-register .sc_pc-login-sec.rfm td input{width:199px !important;}
.sc_pc-login .sc_pc-login-sec.rfm br:first-child{display:none;}
.sc_pc-login .sc_pc-login-sec.rfm td br:first-child{display:block;}
.sc_pc-login .sc_pc-login-sec.rfm tr{border-bottom:none;}
.sc_pc-login .sc_pc-login-sec.rfm th,.sc_pc-login .sc_pc-login-sec.rfm td{border-bottom:1px solid #F0F0F0;}
.sc_pc-login .sc_pc-login-sec.rfm td.sc_pc-login-answer{margin-left:86px;border-bottom:none;}
.sc_pc-login .sc_pc-login-sec.rfm th{margin:0 0 !important;padding:0 0;width:86px;height:auto;line-height:inherit;border-right:none;}
.sc_pc-login.sc_pc-register .sc_pc-login-sec.rfm th{width:100px;}
.sc_pc-login .sc_pc-login-sec.rfm th span{display:block;margin:10px 0;padding:0 0;width:100%;height:30px;line-height:30px;border-right:1px solid #F0F0F0;}
.sc_pc-login .rfm td select{width:254px !important;color:#999;-webkit-appearance:none;-moz-appearance:none;-o-appearance:none;}
.sc_pc-login.sc_pc-register .rfm td select{width:263px !important;color:#999;-webkit-appearance:auto;-moz-appearance:auto;-o-appearance:auto;}
.sc_pc-login .rfm td.dropdown-toggle::after{margin-left:0.2em;color:#999;}
.sc_pc-login .rfm a{color:#848fa6;}
.sc_pc-login .rfm.rc-e1-ng .dropdown-toggle::after{display:inline-block;margin-left:0.1em;vertical-align:0.2125em;content:"";border-top:0.3em solid;border-right:0.3em solid transparent;border-bottom:0;border-left:0.3em solid transparent;color:#848fa6;}
.sc_pc-login input::placeholder{color:#999;}
.sc_pc-login input::-webkit-input-placeholder{color:#999;opacity:1;}
.sc_pc-login input::-moz-placeholder{color:#999;opacity:1;}
.sc_pc-login input:-ms-input-placeholder{color:#999;opacity:1;}
.sc_pc-login input::-ms-input-placeholder{color:#999;opacity:1;}
.sc_pc-login input::placeholder{color:#999;opacity:1;}
.sc_pc-login .rc-e2-ng span{display:block;width:150px;height:20px;line-height:20px;margin:-10px auto 0;background-color:#FFF;font-size:14px;color:#999;text-align:center;}
.sc_pc-login .rc-e3-ng a{float:left;display:block;margin-bottom:12px;width:50%;}
.sc_pc-login.sc_pc-register .rc-e3-ng a{width:33.33%;text-align:center;}
.sc_pc-register .rfm .p_tip,.sc_pc-register .rfm .p_chk{width:240px;line-height:30px;}
.btn:hover{
	color: #6c757d;
}
.btn:disabled, .btn.disabled,
fieldset:disabled .btn{
	pointer-events: none;
	opacity: 0.65;
}
.btn-primary{
	color: #FFF;
	background-color: var(--sc-primary);
	border: 0;
}
.btn-primary:hover{
	color: #fff;
	background-color: var(--sc-primary-hover);
	border: 0;
}
.btn-primary:disabled, .btn-primary.disabled{
	color: #fff;
	background-color: var(--sc-primary);
	border: 0;
}
.btn-secondary{
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}
.btn-secondary:hover{
	color: #fff;
	background-color: #5c636a;
	border-color: #565e64;
}
.btn-secondary:disabled, .btn-secondary.disabled{
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}
.btn-success{
	color: #fff;
	background-color: #52c41a;
	border-color: #52c41a;
}
.btn-success:hover{
	color: #fff;
	background-color: #5dd024;
	border-color: #5dd024;
}
.btn-success:disabled, .btn-success.disabled{
	color: #fff;
	background-color: #52c41a;
	border-color: #52c41a;
}
.btn-info{
	color: #fff;
	background-color: #39afd1;
	border-color: #39afd1;
}
.btn-info:hover{
	color: #fff;
	background-color: #44bbde;
	border-color: #44bbde;
}
.btn-info:disabled, .btn-info.disabled{
	color: #fff;
	background-color: #39afd1;
	border-color: #39afd1;
}
.btn-warning{
	color: #313a46;
	background-color: #ffbc00;
	border-color: #ffbc00;
}
.btn-warning:hover{
	color: #313a46;
	background-color: #ffc626;
	border-color: #ffc31a;
}
.btn-warning:disabled, .btn-warning.disabled{
	color: #313a46;
	background-color: #ffbc00;
	border-color: #ffbc00;
}
.btn-danger{
	color: #fff;
	background-color: #f96868;
	border-color: #f96868;
}
.btn-danger:hover{
	color: #fff;
	background-color: #fa8181;
	border-color: #fa8181;
}
.btn-danger:disabled, .btn-danger.disabled{
	color: #fff;
	background-color: #f96868;
	border-color: #f96868;
}
.btn-light{
	color: #313a46;
	background-color: #eef2f7;
	border-color: #eef2f7;
}
.btn-light:hover{
	color: #313a46;
	background-color: #f1f4f8;
	border-color: #f0f3f8;
}
.btn-light:disabled, .btn-light.disabled{
	color: #313a46;
	background-color: #eef2f7;
	border-color: #eef2f7;
}
.btn-dark{
	color: #fff;
	background-color: #313a46;
	border-color: #313a46;
}
.btn-dark:hover{
	color: #fff;
	background-color: #2a313c;
	border-color: #272e38;
}
.btn-dark:disabled, .btn-dark.disabled{
	color: #fff;
	background-color: #313a46;
	border-color: #313a46;
}
.btn-outline-primary{
	color: var(--sc-primary);
	border-color: var(--sc-primary);
}
.btn-outline-primary:hover{
	color: #fff;
	background-color: var(--sc-primary);
	border-color: var(--sc-primary);
}
.btn-outline-primary:disabled, .btn-outline-primary.disabled{
	color: #008EEB;
	background-color: transparent;
}
.btn-outline-secondary{
	color: #6c757d;
	border-color: #6c757d;
}
.btn-outline-secondary:hover{
	color: #fff;
	background-color: #6c757d;
	border-color: #6c757d;
}
.btn-outline-secondary:disabled, .btn-outline-secondary.disabled{
	color: #6c757d;
	background-color: transparent;
}
.btn-outline-success{
	color: #52c41a;
	border-color: #52c41a;
}
.btn-outline-success:hover{
	color: #fff;
	background-color: #5dd024;
	border-color: #5dd024;
}
.btn-outline-success:disabled, .btn-outline-success.disabled{
	color: #52c41a;
	background-color: transparent;
}
.btn-outline-info{
	color: #39afd1;
	border-color: #39afd1;
}
.btn-outline-info:hover{
	color: #fff;
	background-color: #39afd1;
	border-color: #39afd1;
}
.btn-outline-info:disabled, .btn-outline-info.disabled{
	color: #39afd1;
	background-color: transparent;
}
.btn-outline-warning{
	color: #ffbc00;
	border-color: #ffbc00;
}
.btn-outline-warning:hover{
	color: #313a46;
	background-color: #ffbc00;
	border-color: #ffbc00;
}
.btn-outline-warning:disabled, .btn-outline-warning.disabled{
	color: #ffbc00;
	background-color: transparent;
}
.btn-outline-danger{
	color: #f96868;
	border-color: #f96868;
}
.btn-outline-danger:hover{
	color: #fff;
	background-color: #f96868;
	border-color: #f96868;
}
.btn-outline-danger:disabled, .btn-outline-danger.disabled{
	color: #fa5c7c;
	background-color: transparent;
}
.btn-outline-light{
	color: #eef2f7;
	border-color: #eef2f7;
}
.btn-outline-light:hover{
	color: #313a46;
	background-color: #eef2f7;
	border-color: #eef2f7;
}
.btn-outline-light:disabled, .btn-outline-light.disabled{
	color: #eef2f7;
	background-color: transparent;
}
.btn-outline-dark{
	color: #313a46;
	border-color: #313a46;
}
.btn-outline-dark:hover{
	color: #fff;
	background-color: #313a46;
	border-color: #313a46;
}
.btn-outline-dark:disabled, .btn-outline-dark.disabled{
	color: #313a46;
	background-color: transparent;
}
.btn-link{
	font-weight: 400;
	color: #1890ff;
	text-decoration: none;
	box-shadow: none;
}
.btn-link:hover,
.btn-link:focus{
	color: #1070c9;
	box-shadow: none;
}
.btn-link:disabled, .btn-link.disabled{
	color: #adb5bd;
	box-shadow: none;
}
.btn-group,
.btn-group-vertical{
	position: relative;
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	vertical-align: middle;
}
.btn-toolbar{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
}
.btn-group-vertical{
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.btn-close{
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	width: 1em;
	height: 1em;
	padding: 0.25em 0.25em;
	color: #313a46;
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23313a46'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
	border: 0;
	border-radius:5px;
	opacity: 0.65;
}
.btn-close:hover{
	color: #313a46;
	text-decoration: none;
	opacity: 0.8;
}
.btn-close:focus{
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	opacity: 1;
}
.btn-close:disabled, .btn-close.disabled{
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	opacity: 0.25;
}
.btn-close-white{
	-webkit-filter: invert(1) grayscale(100%) brightness(200%);
	filter: invert(1) grayscale(100%) brightness(200%);
}
/* ===== 工具类 ===== */

.form-check-input{
	width: 15px;
	height: 15px;
	margin-top: 3px;
	vertical-align: top;
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	border: 1px solid #d6dde3;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	-webkit-print-color-adjust: exact;
	color-adjust: exact;
	-webkit-transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}
.overflow-hidden{
	overflow: hidden !important;
}
.d-grid{
	display: grid !important;
}
.position-relative{
	position: relative !important;
}
.w-100{
	width: 100% !important;
}
.w-1200{
	width: 1200px !important;
}
.margin-auto{
	margin: 0 auto;
}
.mt-5{
	margin-top: 30px !important;
}
.mb-4{
	margin-bottom: 20px !important;
}
.ms-1{
	margin-left: 5px !important;
}
.px-4{
	padding-right: 20px !important;
	padding-left: 20px !important;
}
.px-5{
	padding-right: 30px !important;
	padding-left: 30px !important;
}
.py-2{
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}
.py-4{
	padding-top: 20px !important;
	padding-bottom: 20px !important;
}
.pt-2{
	padding-top: 10px !important;
}
.pt-4{
	padding-top: 20px !important;
}
.ps-1{
	padding-left: 5px !important;
}
.ps-2{
	padding-left: 10px !important;
}
.ps-4{
	padding-left: 20px !important;
}
.font-14{
	font-size: 14px;
}
.font-18{
	font-size: 18px;
}
.line-height{
	height: 30px;
	line-height: 30px;
}
.text-danger{
	color: var(--sc-danger) !important;
}
.text-666{
	color: #666666 !important;
}
.text-888{
	color: #888888 !important;
}
.bg-white{
	background-color: var(--sc-white);
}
.rounded{
	border-radius: 5px !important;
}
.rounded-1{
	border-radius:5px !important;
}

/* ============================================================
   论坛首页（forum.php），从幻灯片开始
   ============================================================ */
.sc-fp-top{display:flex;gap:15px;margin:18px 0 14px;height:360px;background:#fff;border-radius:5px;}
.sc-fp-slide{flex:0 0 790px;height:360px;min-width:0;}
/* 论坛幻灯对齐门户：8px 圆角、无投影、隐藏左右箭头、胶囊分页圆点 */
.sc-fp-slide .sc-banner,
.sc-fp-slide .sc-slidebox{border-radius:5px;}
.sc-fp-slide .sc-slidebox{box-shadow:none !important;}
.sc-fp-slide .sc-slideprev,
.sc-fp-slide .sc-slidenext{display:none !important;}
.sc-fp-slide .sc-slidedots{right:10px !important;bottom:5px !important;gap:4px !important;}
.sc-fp-slide .sc-slidedots i{width:8px !important;height:5px !important;border-radius:10px !important;background:rgba(255,255,255,.5) !important;transition:width .25s,background .25s,opacity .25s;}
.sc-fp-slide .sc-slidedots i.on{width:18px !important;background:#fff !important;opacity:1;}
.sc-fp-right{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px;}
.sc-fp-right > .area{flex:1;min-height:0;display:flex;flex-direction:column;}
.sc-fp-right > .area .frame,
.sc-fp-right > .area .column,
.sc-fp-right > .area .block,
.sc-fp-right > .area .dxb_bc{flex:1;min-height:0;display:flex;flex-direction:column;}
.sc-fp-right > .area .temp{display:none;}
.sc-fp-hero{display:flex;flex-direction:column;flex:0 0 auto;
	background:#fff;border-radius:5px;padding:0 0 11px;overflow:hidden;}
.sc-fp-hero .module,.sc-fp-hero dl,.sc-fp-hero dt,.sc-fp-hero dd{margin:0;padding:0;}
.sc-fp-hero a,.sc-fp-hero dt a{display:block;height:40px;line-height:40px;padding:0 16px;
	font-size:18px;color:#F04C25;text-align:center;overflow:hidden;
	white-space:nowrap;text-overflow:ellipsis;}
.sc-fp-hero a:hover{color:#2392D2;}
.sc-fp-hero dd,.sc-fp-hero span{display:block;font-size:12px;line-height:22px;color:#787878;padding:0 16px;height:44px;overflow:hidden;}
.sc-fp-hero-t{color:#F04C25;font-size:18px;font-weight:400;text-align:center;}
.sc-fp-news{flex:1;display:flex;flex-direction:column;}
.sc-fp-news li{display:flex;align-items:center;flex:1;min-height:0;padding:0 16px;}
.sc-fp-cat{flex:0 0 auto;color:#F04C25;margin-right:0;padding-right:5px;font-size:14px;white-space:nowrap;}
.sc-fp-subj{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#555;font-size:14px;}
.sc-fp-author{flex:0 0 auto;color:#999;margin-left:10px;font-size:12px;white-space:nowrap;}

/* 统计行 */
.sc-fp-chart{display:flex;align-items:center;height:50px;background:#fff;border-radius:5px;
	padding:0 16px;margin-bottom:14px;box-shadow:0 2px 12px rgba(0,0,0,.05);}
.sc-fp-chart-p{color:#9f9f9f;}
.sc-fp-chart-p em{color:#656667;font-style:normal;margin-left:4px;}
.sc-fp-chart-p .pipe{margin:0 12px;color:#e5e5e5;}
.sc-fp-chart-y{margin-left:auto;color:#9f9f9f;}
.sc-fp-chart-y .pipe{margin:0 10px;color:#e5e5e5;}
.sc-fp-chart a:hover{color:#f34548;}

/* 主体两栏 */
.sc-fp-body{display:flex;gap:15px;align-items:flex-start;}
.sc-fp-mn{flex:1;min-width:0;display:flex;flex-direction:column;gap:14px;}
.sc-fp-group{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;}
.sc-fp-group-h{display:flex;align-items:center;height:50px;padding:0 16px;border-bottom:1px solid #f2f2f2;}
.sc-fp-group-t{font-size:18px;color:#404040;font-weight:600;}
.sc-fp-toggle{margin-left:auto;width:40px;height:20px;border-radius:10px;background:#8dc341;position:relative;}
.sc-fp-toggle::before{content:"";position:absolute;top:2px;right:2px;width:16px;height:16px;
	border-radius:50%;background:#fff;transition:left .2s,right .2s;}
.sc-fp-group.is-collapsed .sc-fp-group-h{border-bottom:0;}
.sc-fp-group.is-collapsed .sc-fp-forums,
.sc-fp-group.is-collapsed .sc-fp-online-c{display:none;}
.sc-fp-group.is-collapsed .sc-fp-toggle{background:#c8c8c8;}
.sc-fp-group.is-collapsed .sc-fp-toggle::before{right:auto;left:2px;}
.sc-fp-forums{display:flex;flex-wrap:wrap;padding:10px 16px;}
.sc-fp-forum{display:flex;width:33.333%;padding:10px;min-width:0;}
.sc-fp-forum-icn{flex:0 0 85px;width:85px;height:85px;}
.sc-fp-forum-icn img{width:85px;height:85px;object-fit:cover;border-radius:5px;}
.sc-fp-forum-info{flex:1;min-width:0;margin-left:12px;}
.sc-fp-forum-name{display:block;font-size:16px;color:#404040;margin-bottom:4px;
	white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-fp-forum-name:hover{color:#f34548;}
.sc-fp-forum-desc{font-size:13px;color:#999;margin-bottom:6px;
	display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.sc-fp-forum-stats{font-size:13px;color:#999;}
.sc-fp-forum-stats b{color:#666;font-weight:600;margin:0 2px;}

/* 在线会员 */
.sc-fp-online-c{padding:14px 16px;color:#666;font-size:14px;}
.sc-fp-online-c b{color:#404040;}
.sc-fp-online-legend{padding:6px 16px 12px;font-size:14px;color:#404040;}
.sc-fp-online-legend img{vertical-align:middle;margin-right:4px;}
.sc-fp-online-list{padding:10px 16px 14px;border-top:1px solid #f0f0f0;}
.sc-fp-online-list ul{list-style:none;margin:0;padding:0;}
.sc-fp-online-list li{display:flex;align-items:center;font-size:14px;color:#404040;}
.sc-fp-online-list li img{width:16px;height:16px;margin-right:6px;vertical-align:middle;}
.sc-fp-online-list li a{color:#404040;}

/* 右侧栏 */
.sc-fp-sd{flex:0 0 300px;width:300px;display:flex;flex-direction:column;gap:14px;position:sticky;top:20px;align-self:start;}
.sc-fp-sd .area{display:flex;flex-direction:column;gap:14px;}
.sc-fp-sd .frame{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;margin:0;}
.sc-fp-sd .frame-title{box-sizing:border-box;height:50px;line-height:50px;padding:0 16px;font-size:16px;font-weight:600;color:#404040;background:#fff;border-bottom:1px solid #f2f2f2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-fp-sd .frame-1-c{padding-top: 5px;padding-right: 16px;padding-bottom: 14px;padding-left: 16px;}
.sc-fp-sd #sc_sd_ad .frame-1-c{padding:16px;}
.sc-fp-widget{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;}
.sc-fp-widget-t{font-size:16px;color:#404040;padding:12px 16px;border-bottom:1px solid #f2f2f2;}
.sc-fp-sd .portal_block_summary img{width:100%;display:block;border-radius:var(--sc-radius);}
.sc-fp-rank li{display:flex;align-items:center;height:64px;padding:0 16px;border-bottom:1px solid #f5f5f5;}
.sc-fp-rank li:last-child{border-bottom:0;}
.sc-fp-avatar{width:40px;height:40px;flex:0 0 40px;}
.sc-fp-avatar img{width:40px;height:40px;border-radius:50%;object-fit:cover;}
.sc-fp-rank-name{flex:1;min-width:0;margin-left:12px;color:#333;font-size:14px;
	white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-fp-rank-name:hover{color:#f34548;}

/* 内容页居中限宽（与头部/底部主容器 .w1180 对齐） */
#ct{box-sizing:border-box;float:none;width:1240px !important;max-width:100%;margin:0 auto;}
#uhd{box-sizing:border-box;width:1240px !important;max-width:100%;margin:0 auto;}
#pt{box-sizing:border-box;float:none;width:1240px;max-width:100%;margin:20px auto 18px;}

/* 标题输入框加大、占满可用宽度，字符提示留在右侧同一行 */
#postform .pbt .z{box-sizing:border-box;width:100%;display:flex;align-items:center;flex-wrap:wrap;
	background:transparent;}
#postform .pbt .z > span:first-child{flex:1;min-width:0;}
#postform .pbt .z > span{display:block;}
#postform #subject{box-sizing:border-box;width:100% !important;height:34px;line-height:34px;
	padding:0 10px;font-size:14px;}
#postform #subjectchk{flex:0 0 auto;white-space:nowrap;margin-left:10px;}

/* 附加选项按钮加大 */
#post_extra_tb label{height:28px;line-height:28px;}
#post_extra_tb label span{line-height:28px;padding:0 12px;}
#post_extra_tb label span:before{margin-bottom:5px;}

/* 验证码输入框高度加大 */
#seccheck input.txt.px{box-sizing:border-box;height:34px;line-height:34px;
	width:140px !important;padding:0 10px;font-size:14px;}

/* 标题框、验证码框去掉蓝色边框，统一灰色，聚焦也不变蓝 */
#postform #subject,
#seccheck input.txt.px{border-color:#e5e6eb;}
#postform #subject:focus,
#seccheck input.txt.px:focus{border-color:#e5e6eb;box-shadow:none;outline:none;}

/* 表单内容四周留白，编辑器带边框 */
#postbox{box-sizing:border-box;padding:16px 16px 8px;}
.edt{box-sizing:border-box;border:1px solid #e5e6eb;}
.edt .bar{height:44px;box-sizing:border-box;}
/* 高级模式：工具栏容纳两行，高度对标参考图 */
.edt:not(.simpleedt) .bar{height:68px;min-height:68px;}

/* 字体/大小、全屏/常用等下拉按钮去掉蓝色边框，统一灰色 */
.edt a.dp,
.edt a.dp:hover{border-color:#e5e6eb !important;}
/* 右侧切换容器去浅蓝背景，全屏/常用去浅蓝边框 */
.edt .z{background:transparent !important;}
#e_fullswitcher,#e_simple{border-color:#e5e6eb !important;}
.edt.simpleedt .bar{height:44px !important;display:flex;align-items:center;
	justify-content:space-between;}
.edt.simpleedt .bar > .btn,
.edt.simpleedt .bar > .y{float:none;}
.edt.simpleedt .bar > .btn{order:1;}
.edt.simpleedt .bar > .y{order:2;}
.edt.simpleedt .b1r,.edt.simpleedt .b2r{height:44px;}
.edt.simpleedt .b2r{display:flex;align-items:center;}
.edt.simpleedt .b2r > a{float:none;}

.sc-fp-credit{color:#f34548;font-size:14px;display:flex;align-items:center;}
.sc-fp-coin{display:inline-block;width:17px;height:17px;border-radius:50%;
	background:linear-gradient(#ffd45e,#f5a623);margin-left:6px;position:relative;}
.sc-fp-coin::before{content:"$";position:absolute;inset:0;color:#fff;font-size:12px;
	font-style:normal;line-height:17px;text-align:center;}
.sc-fp-hot-img{display:block;padding:12px;}
.sc-fp-hot-img img{width:100%;border-radius:5px;}
.sc-fp-hot-list{padding:0 14px 10px;}
.sc-fp-hot-list li{padding-left:14px;height:38px;line-height:38px;position:relative;
	white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-fp-hot-list li::before{content:"▸";position:absolute;left:0;top:0;color:#bbb;}
.sc-fp-hot-list a{color:#555;font-size:14px;}
.sc-fp-hot-list a:hover{color:#f34548;}
..sc-fp-iframe{width:100%;height:300px;border:0;display:block;}

/* ============ DIY 排行榜模块（彩色序号 + 热度） ============ */
.sc-rank{display:block;padding:4px 14px 12px;}
.sc-rank ul{counter-reset:scrank;list-style:none;margin:0;padding:0;width:100%;min-width:0;}
.sc-rank li{counter-increment:scrank;display:flex;align-items:center;padding:10px 0;width:100%;min-width:0;
	border-bottom:1px solid #f4f4f4;}
.sc-rank li:last-child{border-bottom:0;}
.sc-rank-no{flex:0 0 22px;width:22px;height:22px;border-radius:5px;background:#17a1ff;
	margin-right:10px;display:flex;align-items:center;justify-content:center;}
.sc-rank-no::before{content:counter(scrank);color:#fff;font-size:13px;font-style:normal;line-height:1;}
.sc-rank li:nth-child(1) .sc-rank-no{background:#f5222d;}
.sc-rank li:nth-child(2) .sc-rank-no{background:#fa8c16;}
.sc-rank li:nth-child(3) .sc-rank-no{background:#fadb14;}
.sc-rank li:nth-child(3) .sc-rank-no::before{color:#7a5c00;}
.sc-rank-t{flex:1;min-width:0;color:#3d3d3d;font-size:14px;
	white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-rank-t:hover{color:#17a1ff;}
.sc-rank-hot{flex:0 0 auto;margin-left:8px;color:#999;font-size:13px;
	display:flex;align-items:center;gap:4px;}
.sc-rank-fire{width:13px;height:13px;flex:0 0 13px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5222d'%3E%3Cpath d='M12 2s4 4.5 4 8a4 4 0 0 1-8 0c0-1 .5-2 .5-2S6 10 6 13a6 6 0 0 0 12 0c0-6-6-11-6-11z'/%3E%3C/svg%3E");
	background-size:contain;background-repeat:no-repeat;background-position:center;}
/* 创意文章：列表两列排布 */
#sc_diy_article .sc-rank ul, #sc_diy_tut .sc-rank ul{display:grid;grid-template-columns:1fr 1fr;column-gap:30px;}
#sc_diy_article .sc-rank li, #sc_diy_tut .sc-rank li{width:auto;min-width:0;}

/* ============ 右侧栏 热门帖子（彩色序号 1-10） ============ */
.sc-hot-list{list-style:none;margin:0;padding:0;counter-reset:schot;}
.sc-hot-item a{display:flex;align-items:center;height:25px;}
.sc-hot-no{flex:0 0 22px;width:22px;text-align:center;font-size:16px;font-weight:700;font-style:italic;counter-increment:schot;}
.sc-hot-no::before{content:counter(schot);}
.sc-hot-t{flex:1;min-width:0;color:#333;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.sc-hot-item:hover .sc-hot-t{color:#17a1ff;}
.sc-hot-list li:nth-child(1) .sc-hot-no{color:#f5225d;}
.sc-hot-list li:nth-child(2) .sc-hot-no{color:#ff7a00;}
.sc-hot-list li:nth-child(3) .sc-hot-no{color:#e6b800;}
.sc-hot-list li:nth-child(4) .sc-hot-no{color:#3c9d40;}
.sc-hot-list li:nth-child(5) .sc-hot-no{color:#17a1ff;}
.sc-hot-list li:nth-child(6) .sc-hot-no{color:#2b65b7;}
.sc-hot-list li:nth-child(7) .sc-hot-no{color:#8f2a90;}
.sc-hot-list li:nth-child(8) .sc-hot-no{color:#ec1282;}
.sc-hot-list li:nth-child(9) .sc-hot-no{color:#996600;}
.sc-hot-list li:nth-child(10) .sc-hot-no{color:#7f8c99;}

/* ============ 右侧栏 最新会员：圆形头像（通用选择器，不绑定 block id） ============ */
#sc_diy_member .module img{border-radius:50%;object-fit:cover;}
.sc-fp-sd .module img{border-radius:50%;object-fit:cover;}

/* ============ 板块列表页：板块头部信息 ============ */
.sc-fd-head{display:flex;align-items:center;gap:18px;background:#fff;border-radius:5px;
	box-shadow:0 2px 12px rgba(0,0,0,.05);padding:22px 24px;}
.sc-fd-icon{flex:0 0 auto;width:84px;height:84px;border-radius:5px;overflow:hidden;
	background:#f5f7fa;display:flex;align-items:center;justify-content:center;}
.sc-fd-icon img{width:64px;height:64px;object-fit:contain;}
.sc-fd-info{flex:1;min-width:0;}
.sc-fd-name{font-size:24px;font-weight:700;color:var(--sc-primary);margin:0 0 10px;}
.sc-fd-stats{display:flex;align-items:center;gap:22px;font-size:14px;color:#666;margin-bottom:8px;flex-wrap:wrap;}
.sc-fd-stats b{color:#333;font-weight:600;}
.sc-fd-fav{display:inline-block;padding:5px 14px;border:1px solid var(--sc-primary);
	color:var(--sc-primary);border-radius:5px;font-size:13px;}
.sc-fd-fav:hover{background:var(--sc-primary-l);text-decoration:none;}
.sc-fd-desc{font-size:13px;color:#999;margin:0;line-height:1.5;}
.sc-fd-postbtn{flex:0 0 auto;min-width:110px;text-align:center;padding:12px 26px;
	background:var(--sc-primary);color:#fff;font-size:16px;border-radius:5px;font-weight:600;}
.sc-fd-postbtn:hover{background:#0f8fe0;color:#fff;text-decoration:none;}

/* 排序筛选条 */
.sc-fd-filter{display:flex;align-items:center;gap:8px;background:#fff;border-radius:5px;
	box-shadow:0 2px 12px rgba(0,0,0,.05);padding:14px 18px;margin-top:14px;flex-wrap:wrap;}
.sc-fd-fi{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border-radius:5px;
	font-size:14px;color:#666;}
.sc-fd-fi .fi{font-style:normal;font-size:14px;}
.sc-fd-fi:hover{background:#f5f7fa;text-decoration:none;}
.sc-fd-fi.on{color:var(--sc-primary);background:var(--sc-primary-l);font-weight:600;}

/* ============ 板块列表页：帖子列表（圆形头像+标题+元信息） ============ */
.sc-tl{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);
	padding:6px 20px;margin-top:14px;}
.sc-tl-item{display:flex;gap:16px;padding:18px 4px;border-bottom:1px solid #f0f1f3;}
.sc-tl-item:last-child{border-bottom:0;}
.sc-tl-avatar{flex:0 0 auto;width:42px;height:42px;border-radius:50%;overflow:hidden;
	display:block;}
.sc-tl-avatar img{width:42px;height:42px;border-radius:50%;object-fit:cover;display:block;}
.sc-tl-body{flex:1;min-width:0;}
.sc-tl-title-row{margin-bottom:9px;}
.sc-tl-title{font-size:16px;color:#262626;font-weight:500;line-height:1.4;}
.sc-tl-title:hover{color:var(--sc-primary);text-decoration:none;}
.sc-tl-tag{display:inline-block;vertical-align:middle;margin-right:6px;padding:1px 7px;
	border-radius:5px;font-size:12px;font-weight:500;}
.sc-tl-stick{background:var(--sc-red);color:#fff;}
.sc-tl-digest{background:#ff7a00;color:#fff;}
.sc-tl-new{background:var(--sc-primary);color:#fff;}
.sc-tl-meta{display:flex;align-items:center;gap:16px;font-size:13px;color:#999;flex-wrap:wrap;}
.sc-tl-author{color:#595959;font-weight:500;}
.sc-tl-author:hover{color:var(--sc-primary);text-decoration:none;}
.sc-tl-last a{color:#8c8c8c;}
.sc-tl-last a:hover{color:var(--sc-primary);text-decoration:none;}
.sc-tl-nums{margin-left:auto;display:flex;gap:18px;color:#8c8c8c;}
.sc-tl-nums .ico{font-style:normal;margin-right:4px;}
.sc-tl-replies{color:var(--sc-primary);}

/* ========== 帖子详情页：素材下载卡片 ========== */
.sc-dl-card{padding:18px 16px;}
.sc-dl-title{font-size:17px;font-weight:700;color:#262626;line-height:1.4;}
.sc-dl-row{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:13px;color:#8c8c8c;}
.sc-dl-id{color:#595959;}
.sc-dl-stats{display:flex;gap:8px;margin-top:14px;}
.sc-dl-stat{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 0;background:#f7f8fa;border-radius:5px;font-size:13px;color:#595959;}
.sc-dl-stat .ic{width:18px;height:18px;display:inline-block;background:#17a1ff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;}
.ic-fav{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 17.3l-6.2 3.7 1.6-7L2 9.2l7.1-.6L12 2l2.9 6.6 7.1.6-5.4 4.8 1.6 7z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 17.3l-6.2 3.7 1.6-7L2 9.2l7.1-.6L12 2l2.9 6.6 7.1.6-5.4 4.8 1.6 7z'/></svg>");}
.ic-like{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-8-4.9-8-10a4.5 4.5 0 018-2.8A4.5 4.5 0 0120 11c0 5.1-8 10-8 10z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 21s-8-4.9-8-10a4.5 4.5 0 018-2.8A4.5 4.5 0 0120 11c0 5.1-8 10-8 10z'/></svg>");}
.ic-cmt{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a8 8 0 01-11.6 7.1L4 20l1-4.5A8 8 0 1121 12z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 12a8 8 0 01-11.6 7.1L4 20l1-4.5A8 8 0 1121 12z'/></svg>");}
.ic-dl{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3v10m0 0l-4-4m4 4l4-4M5 19h14'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 3v10m0 0l-4-4m4 4l4-4M5 19h14'/></svg>");}
.ic-user{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-5 0-9 2.5-9 7h18c0-4.5-4-7-9-7z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 12a5 5 0 100-10 5 5 0 000 10zm0 2c-5 0-9 2.5-9 7h18c0-4.5-4-7-9-7z'/></svg>");}
.ic-view{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7z'/><circle cx='12' cy='12' r='2.6'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7-10-7-10-7z'/><circle cx='12' cy='12' r='2.6'/></svg>");}
.ic-buy{-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 8h14l-1.2 12H6.2L5 8z'/><path d='M9 8V6.5a3 3 0 016 0V8'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M5 8h14l-1.2 12H6.2L5 8z'/><path d='M9 8V6.5a3 3 0 016 0V8'/></svg>");}
.sc-modmenu{line-height:24px;font-size:13px;background:#fff;padding:12px 16px;border-radius:5px;margin-bottom:14px;}
.sc-modmenu a{color:#17a1ff;white-space:nowrap;}
.sc-modmenu a:hover{color:#0e7fd0;text-decoration:underline;}
.sc-modmenu .pipe{margin:0 4px;color:#bfbfbf;}
.sc-dl-info{margin-top:14px;display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;}
.sc-dl-info-i{font-size:13px;color:#595959;}
.sc-dl-info-i .v{color:#8c8c8c;margin-left:4px;}
.sc-dl-line{height:1px;background:#f0f1f3;margin:16px 0;}
.sc-dl-price{display:flex;justify-content:center;align-items:center;}
.sc-dl-price-t span{font-size:22px;font-weight:700;color:#ff7a00;}
.sc-dl-price-t small{font-size:13px;color:#8c8c8c;margin-left:4px;}
.sc-dl-price-t small.sc-dl-code{margin-left:10px;color:#595959;font-weight:500;}
.sc-dl-btn{display:block;margin-top:14px;height:42px;line-height:42px;text-align:center;background:#17a1ff;color:#fff;border-radius:5px;font-size:15px;font-weight:600;}
.sc-dl-btn:hover{background:#0f8fe6;color:#fff;text-decoration:none;}
.sc-dl-actions{display:flex;margin-top:14px;}
.sc-dl-act{flex:1;display:flex;align-items:center;justify-content:center;gap:5px;font-size:13px;color:#595959;}
.sc-dl-act .ic{width:16px;height:16px;display:inline-block;background:#17a1ff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;}
.sc-dl-act:hover{color:#17a1ff;text-decoration:none;}

/* ========== 帖子详情页：首楼素材白卡（themebox 风格） ========== */
.sc-vt-card{position:relative;background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;}
.sc-vt-ribbon{position:absolute;top:0;right:0;width:0;height:0;border-style:solid;border-width:0 42px 42px 0;border-color:transparent #2bb673 transparent transparent;}
.sc-vt-ribbon span{position:absolute;top:7px;right:-37px;width:42px;text-align:center;color:#fff;font-size:12px;transform:rotate(45deg);display:block;}
.sc-vt-ribbon-digest{border-color:transparent #01B0C8 transparent transparent;}
.sc-vt-ribbon-hot{border-color:transparent #FA5600 transparent transparent;}
.sc-vt-ribbon-rec{border-color:transparent #FF9C00 transparent transparent;}
.sc-vt-inner{padding:24px 26px;}
.sc-vt-title{font-size:24px;font-weight:700;color:#262626;line-height:1.35;margin:0 0 14px;}
.sc-vt-photographer{font-size:14px;color:#8c8c8c;margin-bottom:20px;}
.sc-vt-photographer a{color:#595959;}
.sc-vt-photographer a:hover{color:#17a1ff;text-decoration:none;}
.sc-vt-entry{font-size:15px;color:#333;line-height:1.8;}
.sc-vt-entry .sc-post-msg{font-size:15px;line-height:1.8;color:#333;}
.sc-vt-entry img{max-width:100%;border-radius:5px;}
.sc-vt-alert{margin-top:22px;padding:14px 16px;background:#f7f8fa;border-radius:5px;font-size:13px;color:#8c8c8c;line-height:1.9;}
.sc-vt-footer{display:flex;align-items:center;justify-content:space-between;padding:14px 26px;border-top:1px solid #f2f2f2;}
.sc-vt-fav{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#595959;}
.sc-vt-fav .ic{width:18px;height:18px;display:inline-block;background:#17a1ff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;}
.sc-vt-fav:hover{color:#17a1ff;text-decoration:none;}
.sc-vt-left{display:flex;align-items:center;gap:22px;}
.sc-vt-like{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#595959;}
.sc-vt-like .ic{width:18px;height:18px;display:inline-block;background:#f5222d;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;}
.sc-vt-like:hover{color:#f5222d;text-decoration:none;}
.sc-vt-like:hover .ic{background:#f5222d;}
.sc-vt-like.active{color:#f5222d;}
.sc-vt-like.active .ic{background:#f5222d;}
@keyframes scLikePop{0%{transform:scale(1)}40%{transform:scale(1.35)}100%{transform:scale(1)}}
.sc-vt-like.active .ic{animation:scLikePop .32s ease;}
.sc-vt-like:active .ic{transform:scale(.82);}
.sc-vt-ops{display:flex;align-items:center;gap:18px;}
.sc-vt-ops a{font-size:14px;color:#595959;}
.sc-vt-ops a:hover{color:#17a1ff;text-decoration:none;}
.sc-vt-tags{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:14px 0;font-size:13px;color:var(--sc-t2);}
.sc-vt-tags:before{content:"\f14a";font-family:dzicon;font-size:15px;line-height:1;color:#7DA0CC;}
.sc-vt-tag{color:var(--sc-primary);}
.sc-vt-tag:hover{text-decoration:underline;}
.sc-vt-tag-sep{color:var(--sc-t2);}

/* ========== SC 部分内容付费 ========== */
.scpay-ok{margin:10px 0;padding:14px 16px;background:#f0f8ff;border:1px solid #d6ebff;border-radius:5px;}
.scpay-card{margin:12px 0;padding:18px 16px;background:#fafbfc;border:1px solid #eef0f3;border-radius:5px;text-align:center;}
.scpay-head{display:flex;align-items:center;justify-content:center;gap:7px;font-size:15px;font-weight:600;color:#404040;}
.scpay-lock{width:16px;height:16px;display:inline-block;background:#17a1ff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");}
.scpay-desc{margin-top:8px;font-size:13px;color:#8c8c8c;}
.scpay-price{margin:12px 0;font-size:14px;color:#8c8c8c;}
.scpay-price b{font-size:24px;color:#ff7a00;margin-right:3px;}
.scpay-btn{display:inline-block;min-width:140px;padding:0 22px;height:40px;line-height:40px;background:#17a1ff;color:#fff;border-radius:5px;font-size:15px;font-weight:600;}
.scpay-btn:hover{background:#0f8fe6;color:#fff;text-decoration:none;}
.scpay-confirm{padding:10px 4px;text-align:center;}
.scpay-confirm-price{font-size:15px;color:#404040;margin-bottom:10px;}
.scpay-confirm-price b{font-size:22px;color:#ff7a00;}
.scpay-confirm-balance{font-size:13px;color:#8c8c8c;margin-bottom:16px;}
.scpay-confirm form{margin:0;}

/* 右侧栏固定付费提示（替代原正文卡片） */
.sc-dl-scpay-tip{text-align:center;margin-bottom:12px;}
.sc-dl-scpay-head{display:flex;align-items:center;justify-content:center;gap:7px;font-size:15px;font-weight:600;color:#404040;}
.sc-dl-scpay-lock{width:16px;height:16px;display:inline-block;background:#17a1ff;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");}
.sc-dl-scpay-desc{margin-top:8px;font-size:13px;color:#8c8c8c;line-height:1.5;}

/* 正文未解锁占位（UI 已移至右侧栏） */
.scpay-inline-lock{margin:12px 0;padding:22px 16px;background:#fafbfc;border:1px dashed #d9dce1;border-radius:5px;text-align:center;}
.scpay-inline-ic{width:26px;height:26px;display:inline-block;background:#b6bdc7;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 2a5 5 0 00-5 5v3H6a2 2 0 00-2 2v8a2 2 0 002 2h12a2 2 0 002-2v-8a2 2 0 00-2-2h-1V7a5 5 0 00-5-5zm-3 8V7a3 3 0 016 0v3H9z'/></svg>");}

/* showWindow 弹窗：按钮区留出底部间距，避免边框压住确定按钮 */
.fwin p.o{margin:8px 0 4px;padding:0 10px;height:auto;}
.fwin p.o button{position:relative;top:0;}
.fwin .c{box-sizing:border-box;}
.fwin .altw{width:auto;min-width:240px;box-sizing:border-box;}
.fwin{width:auto;}
.fwin .m_c{width:auto;white-space:normal;}
.fwin .alert_error,.fwin .alert_info,.fwin .alert_right{white-space:nowrap;display:inline-block;}
.fwin .alert_error:before{display:none;}
.fwin .alert_error{padding-left:10px;position:relative;top:10px;}

/* ============ 收藏页（space_favorite） ============ */
.sc-fav-layout{display:grid;grid-template-columns:250px 1fr;gap:20px;align-items:start;}
.sc-fav-nav{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;}
.sc-fav-nav ul{list-style:none;margin:0;padding:0;}
.sc-fav-nav li{margin:0;}
.sc-fav-nav li a{display:flex;align-items:center;justify-content:center;height:76px;line-height:76px;text-align:center;font-size:16px;color:#555;white-space:nowrap;}
.sc-fav-nav li a:hover{background:#f7f9fc;color:#17a1ff;}
.sc-fav-nav li.a{background:#0ec5a1;}
.sc-fav-nav li.a a{color:#fff;}
.sc-fav-main{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);overflow:hidden;}
.sc-fav-title{margin:0;padding:14px 20px;font-size:16px;font-weight:600;color:#444;border-bottom:1px solid #e8e8e8;}
.sc-fav-list{list-style:none;margin:0;padding:0 20px;}
.sc-fav-item{position:relative;padding:12px 0;border-bottom:1px solid #f0f0f0;font-size:14px;color:#444;line-height:24px;}
.sc-fav-item:last-child{border-bottom:0;}
.sc-fav-ic{margin-right:6px;vertical-align:middle;}
.sc-fav-link{color:#555;font-size:14px;}
.sc-fav-link:hover{color:#17a1ff;text-decoration:underline;}
.sc-fav-date{margin-left:8px;font-size:12px;}
.sc-fav-del{float:right;color:#999;font-size:12px;}
.sc-fav-del:hover{color:#f5222d;}
.sc-fav-desc{margin-top:6px;padding:8px 12px;background:#fafbfc;border-radius:5px;font-size:13px;color:#888;}
.sc-fav-ops{margin:0;padding:14px 20px;}
.sc-fav-ops label{font-size:14px;color:#555;margin-right:14px;}
.sc-fav-empty{padding:60px 20px;text-align:center;}
.sc-fav-empty p{margin:14px 0 0;color:#999;font-size:14px;}
@media (max-width:900px){.sc-fav-layout{grid-template-columns:1fr;}}

/* ============ 个人资料页（space_profile） ============ */
.sc-pf-layout{display:grid;grid-template-columns:1fr 300px;gap:20px;align-items:stretch;}
.sc-pf-main{min-width:0;}
/* 主体内各分块卡片化 */
.sc-pf-main .u_profile{background:none;padding:0;}
.sc-pf-main .u_profile>div{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);padding:18px 20px;margin-bottom:16px;}
.sc-pf-main .u_profile>div:last-child{margin-bottom:0;}
.sc-pf-main .u_profile h2{margin:0 0 14px;font-size:16px;font-weight:600;color:#444;}
.sc-pf-main .u_profile ul{list-style:none;margin:0;padding:0;}
.sc-pf-main .u_profile .pf_l{display:grid;grid-template-columns:repeat(2,1fr);gap:10px 18px;}
.sc-pf-main .u_profile .pf_l li{font-size:14px;color:#555;}
.sc-pf-main .u_profile em{color:#999;font-style:normal;margin-right:8px;}
.sc-pf-main .u_profile a{color:#17a1ff;}
/* 右侧用户卡 */
.sc-pf-side{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);padding:24px 18px;position:sticky;top:20px;}
.sc-pf-user{text-align:center;}
.sc-pf-avt{display:inline-block;border-radius:50%;overflow:hidden;}
.sc-pf-avt img{display:block;width:80px;height:80px;border-radius:50%;}
.sc-pf-uname{margin:12px 0 2px;font-size:18px;color:#333;}
.sc-pf-uid{margin:0 0 16px;font-size:13px;color:#999;}
.sc-pf-meta{list-style:none;margin:0 0 16px;padding:14px 0;border-top:1px solid #f0f0f0;border-bottom:1px solid #f0f0f0;}
.sc-pf-meta li{display:flex;align-items:center;font-size:14px;padding:7px 0;}
.sc-pf-meta .k{color:#999;flex:1;}
.sc-pf-meta .v{color:#555;}
.sc-pf-ic{width:16px;height:16px;margin-right:8px;background:#17a1ff;border-radius:50%;flex:0 0 auto;}
.sc-pf-edit{display:block;text-align:center;height:40px;line-height:40px;border-radius:5px;background:#0ec5a1;color:#fff;font-size:15px;}
.sc-pf-edit:hover{background:#0cb08f;color:#fff;}
@media (max-width:900px){.sc-pf-layout{grid-template-columns:1fr;}.sc-pf-main .u_profile .pf_l{grid-template-columns:1fr;}}

/* ============ 相册页（space_album_list）修复 ============ */
/* 还原默认 content-box 盒模型，避免全局 border-box 压缩占位框 */
.mla li{width:150px;height:224px;}
.mla .c{box-sizing:content-box;margin:6px auto;padding:8px;width:120px;height:120px;background:#f4f4f4;box-shadow:1px 1px 2px #ccc;}
.mla .c a{box-sizing:content-box;display:block;width:120px;height:120px;background:#fff;overflow:hidden;}
.mla .c .nophoto{box-sizing:content-box;width:120px;height:120px;line-height:120px;}
.mla .c .nophoto:before{display:block;content:"\f143";font-family:dzicon;font-size:28px;color:#999;text-align:center;}
.mla img{max-width:120px;max-height:120px;}
/* 相册名恢复蓝色链接 */
.mla .ptn.xi2,.mla .ptn.xi2 a{color:#17a1ff;}
.mla .ptn a:hover{color:#0f8fe0;text-decoration:underline;}
.mla .ptn{height:auto;overflow:visible;padding:5px 4px 4px;}
.mla .ptn a{display:inline-block;line-height:20px;}
.mla li{overflow:visible;}

/* ============ 编辑相册页（spacecp_album） ============ */
/* 外层改 flex，保证菜单在左、内容在右 */
.ct2_a{display:flex;gap:20px;align-items:flex-start;}
.ct2_a .appl{order:1;flex:0 0 250px;float:none;}
.ct2_a .mn{order:2;flex:1;min-width:0;float:none;width:auto;}
/* 左侧菜单白卡 */
.ct2_a .appl{width:250px;background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);padding:0;overflow:visible;}
.ct2_a .appl ul{margin:0;padding:0;}
.ct2_a .appl li{margin:0;overflow:visible;height:auto;}
/* 隐藏小字操作与小图标，只留纯文字 */
.ct2_a .appl li span{display:none;}
.ct2_a .appl li a img{display:none;}
.ct2_a .appl li>a{display:flex;align-items:center;justify-content:center;height:52px;padding:0 10px;text-align:center;font-size:16px;color:#555;white-space:nowrap;}
.ct2_a .appl li>a:hover{background:#f7f9fc;color:#17a1ff;text-decoration:none;}
/* 右侧标签选中项蓝底白字 */
.ct2_a .mn .tb li.a a{background:#43a6df;color:#fff;height:40px;line-height:40px;border-radius:0;}
.ct2_a .mn .tb li.a a:hover{color:#fff;text-decoration:none;}
/* 所有标签统一 40px 高度，与选中项“私人消息”等高；普通标签（公共消息）与操作按钮（发送消息 .o）高度、行高对齐。.o 默认带 1px 上边距且边框在 LI 上，会比其他标签低 2px、总高 42；这里清零其外边距、去掉 LI 边框，把边框移到 A 上，盒模型与普通标签一致，顶部底部完全平齐 */
.ct2_a .mn .tb li a{height:40px;line-height:40px;}
.ct2_a .mn .tb li.o{height:auto;margin:0 3px -1px 0;border:none;}
.ct2_a .mn .tb li.o a{border:1px solid #06C;border-radius:5px;}
/* 标签按钮在标签行（白卡顶到 UL 底部灰线）内垂直居中：默认 .mn 上内边距 18 + .tb 上外边距 3，使按钮上方空 21、底部贴灰线，视觉偏下；用负上外边距把整行上移、再加下内边距把灰线压回原高，最终按钮上间距 10、下间距 11（1px 为奇数取整差，肉眼不可见），上下居中 */
.ct2_a .mn .tb{margin-top:-8px;padding-bottom:11px;}

/* ============ 浏览相册页（space do=album） ============ */
/* 左侧去掉“相册”标题 */
.ct2_a .appl .tbn h2{display:none;}
/* 去掉菜单项边框分隔线 */
.ct2_a .appl li{border:0;}
.ct2_a .appl .tbn{border:0;}
/* 左侧菜单选中项蓝底白字 */
.ct2_a .appl li.a>a{background:#43a6df;color:#fff;}
.ct2_a .appl li.a>a:hover{color:#fff;background:#43a6df;}
/* 右侧内容整体白卡 */
.ct2_a .mn{background:#fff;border-radius:5px;box-shadow:0 2px 12px rgba(0,0,0,.05);padding:18px 20px;}
.ct2_a .mn .tbmu{padding:0 0 16px;border-bottom:1px solid #f0f0f0;}
.ct2_a .mn .ptw{padding-top:20px;}

/* ============ 空间帖子列表（space do=thread） ============ */
/* 表头图标列补文档图标，与数据行图标对齐 */
.tl .th .icn::before{content:"\f134";font-family:"dzicon";font-style:normal;font-weight:normal;
	font-size:16px;line-height:1;color:#7DA0CC;}
/* “回复/查看”表头不换行，适当加宽列 */
.tl .num{width:74px;white-space:nowrap;}

/* ============ 单栏内容页白色铺满（ct1） ============ */
/* 内容不足时 #ct 因 min-height 露出灰色，统一用白色铺满整个内容框 */
#ct.ct1{background:#fff !important;}

/* ============ 设置中心页白色铺满（spacecp ct2_a） ============ */
/* 菜单卡与内容卡之间的缝隙、底部留白露出灰色，整体用白色铺满；仅作用于设置中心，不影响浏览空间页 */
body.pg_spacecp #ct.ct2_a{background:#fff;}
/* 白卡对齐大框：清除伪元素不参与 flex（消除左侧 20px 偏移），内容卡去右外边距并交叉轴拉伸 */
body.pg_spacecp #ct.ct2_a.cl:after{display:none;}
body.pg_spacecp #ct.ct2_a{align-items:stretch;}
body.pg_spacecp #ct.ct2_a .mn{margin-right:0;}
body.pg_spacecp #ct.ct2_a .appl{margin-bottom:0;}
/* 修正菜单 .tbn 负 margin 导致选中项蓝底左右溢出卡片：负 margin 清零、宽度填满，li 去内边距 */
body.pg_spacecp #ct.ct2_a .appl .tbn{width:100%;margin:0;}
body.pg_spacecp #ct.ct2_a .appl li{width:100%;padding:0;}
body.pg_spacecp #ct.ct2_a .appl li a{width:100%;}

/* ============ 浏览空间页白色铺满（space ct2_a，相册页除外） ============ */
/* 内容不足时 #ct 底部露灰，白色铺满；含相册列表 .mla 的页面保持卡片式，不处理 */
body.pg_space #ct.ct2_a:not(:has(.mla)){background:#fff;}
/* 白卡对齐大框（同设置中心）：清除伪元素不参与 flex、交叉轴拉伸、去内容卡右外边距与菜单卡下外边距 */
body.pg_space #ct.ct2_a:not(:has(.mla)).cl:after{display:none;}
body.pg_space #ct.ct2_a:not(:has(.mla)){align-items:stretch;}
body.pg_space #ct.ct2_a:not(:has(.mla)) .mn{margin-right:0;}
body.pg_space #ct.ct2_a:not(:has(.mla)) .appl{margin-bottom:0;}
/* 修正菜单 .tbn 负 margin 导致选中项蓝底溢出 */
body.pg_space #ct.ct2_a:not(:has(.mla)) .appl .tbn{width:100%;margin:0;}
body.pg_space #ct.ct2_a:not(:has(.mla)) .appl li{width:100%;padding:0;}
body.pg_space #ct.ct2_a:not(:has(.mla)) .appl li a{width:100%;}

/* ============ 广播页白色铺满与对齐（follow ct2_a） ============ */
body.pg_follow #ct.ct2_a{background:#fff;}
body.pg_follow #ct.ct2_a.cl:after{display:none;}
body.pg_follow #ct.ct2_a{align-items:stretch;}
body.pg_follow #ct.ct2_a .mn{margin-right:0;}
body.pg_follow #ct.ct2_a .appl{margin-bottom:0;}
body.pg_follow #ct.ct2_a .appl .tbn{width:100%;margin:0;}
body.pg_follow #ct.ct2_a .appl li{width:100%;padding:0;}
body.pg_follow #ct.ct2_a .appl li a{width:100%;}

/* ============ 全局固定头部（所有页面滚动时 #hd 吸附顶部） ============ */
/* sticky 不脱离文档流，内容不跳动；z-index 低于右侧悬浮栏(99)与弹窗，高于普通内容；头部自身不透明，下拉菜单可正常溢出 */
#hd{position:sticky;top:0;z-index:98;}

/* ============ 帖子左侧用户信息栏背景改白 ============ */
/* 默认 .pls 使用 SPECIALBG 淡蓝背景，统一改为白色，保留右侧分隔线 */
.pls{background:#fff;}

/* ============ 收藏操作栏与快速回复区之间增加间距 ============ */
#postlistreply{margin-top:20px;}

/* ============ 快速回复卡片底部收紧（去掉按钮下方无内容的空白带） ============ */
/* .plc 默认 20px 四向内边距，底部 20px 在按钮下方形成一条横贯空白；底部收紧为 10px，保留适度缓冲，与首楼卡片底部风格协调 */
#f_pst .plc{padding-bottom:10px;}

/* ============ 快速回复卡片与右侧栏底部平齐 ============ */
/* #f_pst 默认 16px 下外边距，使其边框比主列底部（sticky 侧边栏对齐处）高 16px；下外边距清零，卡片底部贴主列底部，与右侧栏平齐；友情链接区另有独立间距，不受影响 */
#f_pst{margin-bottom:0;}

/* ============ 标签/分类导航文字垂直居中（修复文字错位、向下溢出） ============ */
/* 全局 border-box 下，ul.ttp 标签默认高度不足以容纳文字，文字底部溢出边框、视觉错位；改用 flex 垂直居中并给足最小高度，上下不对称 padding 清零，由 flex 统一控制；作用于所有 .ttp 标签（导读、版块分类、群组、统计、帖子节点），保持一致 */
ul.ttp li a{display:flex;align-items:center;min-height:30px;padding-top:0;padding-bottom:0;}

/* ============ 通知/消息左侧菜单去掉图标 ============ */
/* 菜单项 LI 内 EM（notice_*，dzicon 字体）为前置图标；统一隐藏，只保留文字；用 [class*="notice"] 限定，不影响其他 EM */
.appl .tbn li em[class*="notice"]{display:none;}

/* ============ 左侧菜单去掉两边白色（全站所有功能模块通用） ============ */
/* 默认 .tbn 带负外边距（-6 -10）使菜单左右溢出卡片，LI 又有内边距，导致选中项蓝底两侧露出白色间隙；此前仅对 pg_spacecp/pg_space/pg_follow 三个 body 类处理，现统一作用于所有 .ct2_a 页面（排行榜 pg_ranklist 等）：.tbn 负外边距清零并填满宽度，LI 去内边距，A 铺满，蓝底/菜单左右贴齐卡片边缘，无白色间隙；原有三条 body 类规则值相同，结果一致，保留不冲突 */
.ct2_a .appl .tbn{width:100%;margin:0;}
.ct2_a .appl li{width:100%;padding:0;}
.ct2_a .appl li a{width:100%;}

/* ============ 内部卡片左右对齐外框（全站所有功能模块通用） ============ */
/* .cl 的 clearfix 伪元素 ::after（order 0，宽0）在 flex 容器内成为第一个 flex item，与 .appl（order1）之间产生 20px gap，使左侧菜单缩进；.mn 默认右外边距 10px，使右侧内容离框。此前仅对 pg_spacecp/pg_space/pg_follow 处理，现统一作用于所有 .ct2_a：隐藏 ::after 伪元素消除左侧 gap，.mn 右外边距清零，内部卡片左右两边贴齐外框（粗边框）左右两边 */
.ct2_a.cl:after{display:none;}
.ct2_a .mn{margin-right:0;}

/* ============ 排行榜子页面容器宽度对齐（无 id 的 .ct2_a） ============ */
/* 排行榜 thread/poll/picture/forum/group/blog/activity 等子模板的容器是 <div class="ct2_a wp cl">（无 id="ct"），不匹配 L1124 的 #ct 宽度规则；且它在 #wp 内，匹配 #wp .wp{width:auto}（id+class 特异性），普通 .ct2_a 规则压不过，导致全宽铺满、与头部和底部 1240 居中内容错位。此处用 #wp .ct2_a 提特异性并 !important 限宽 1240、居中。有 id 的 #ct 同时匹配 L1124（值相同），结果一致，不冲突 */
#wp .ct2_a{width:1240px !important;max-width:100%;margin:0 auto;}

/* ============ 齿轮快捷弹窗内边距四边统一 ============ */
/* 默认 #qmenu_menu 内边距 20px 5px 10px（上20 右5 下10 左5），内容与外边框四边距离不一致；统一为 15px，上下左右等距，视觉均衡；同特异性后定义覆盖 common.css L675 */
#qmenu_menu{padding:15px;}

/* ============ 齿轮弹窗顶部对齐导航条底部 ============ */
/* showMenu 以齿轮底部为基准设 inline top（175），默认 margin-top:-2 使弹窗实际顶部 173、向上重叠进导航条 7px；改为 margin-top:5px，弹窗顶部正好落在导航条底部（180），不重叠、无缝隙 */
#qmenu_menu{margin-top:5px;}

/* ============ 文本输入框统一高度与去蓝（全站所有功能模块） ============ */
/* .px 单行文本框默认高度约 21px（height17+padding+border），左右边框为蓝色（INPUTBORDERDARKCOLOR=#1e80ff），聚焦时也有蓝色边框/阴影；统一高度固定 30px（border-box），不限制宽度（保持各页面原有宽度），边框全部改为灰色 #e5e6eb，普通与聚焦状态一致，去掉蓝色与聚焦阴影/外轮廓。.px 选择器不含顶部搜索框（.xg1）、登录框、验证码（.txt），这些不受影响 */
.px{height:30px !important;box-sizing:border-box;border-color:#e5e6eb;box-shadow:none;}
.px:focus{border-color:#e5e6eb;box-shadow:none;outline:none;}

/* ============ 选择框统一高度与去蓝（全站所有功能模块） ============ */
/* select 下拉框默认高度约 27px，左右边框为蓝色（#1e80ff），聚焦时也有蓝色边框/阴影；统一高度固定 30px（border-box），与文本输入框等高对齐，不限制宽度，边框全部改为灰色 #e5e6eb，普通与聚焦状态一致，去掉蓝色与聚焦阴影/外轮廓；作用于所有 select（含 .ps 及无类下拉框） */
select{height:30px !important;box-sizing:border-box;border-color:#e5e6eb !important;box-shadow:none;}
select:focus{border-color:#e5e6eb !important;box-shadow:none;outline:none;}

/* ============ 自定义下拉触发器统一高度与去蓝（全站所有功能模块） ============ */
/* .ftid 内原生 select 被隐藏，由 A 替代显示为下拉框；默认 A 高 21px、左右边框蓝色（#1e80ff）；统一高度 30px（border-box），line-height 调整使文字垂直居中，边框改灰色 #e5e6eb，保留右侧下拉箭头背景；与输入框、选择框等高对齐 */
.ftid a{height:30px !important;line-height:28px !important;box-sizing:border-box;border-color:#e5e6eb !important;box-shadow:none;}
.ftid a:focus{border-color:#e5e6eb !important;box-shadow:none;outline:none;}

/* ============ 搜索表单输入框统一高度与去蓝（全站所有功能模块） ============ */
/* 搜索页表单内 .td_srchtxt 下的 srchtxt 输入框默认高 29px、蓝色边框（#1e80ff）；高度改为 35px（border-box）、边框改灰 #e5e6eb；用 .td_srchtxt 限定，不影响顶部 .nex_scbartxt 内 h40 的搜索框 */
.td_srchtxt input[name=srchtxt]{height:35px !important;box-sizing:border-box;border-color:#e5e6eb !important;box-shadow:none;}
.td_srchtxt input[name=srchtxt]:focus{border-color:#e5e6eb !important;box-shadow:none;outline:none;}

/* ============ 搜索表单内容上下留白对称（全站） ============ */
/* form.searchform 内 logo 标题 H1 到表单顶部原有留白 40px（hm 的 margin-top20+padding-top20），而搜索框 table 原本紧贴表单底部、下留白 0；给表单加 padding-bottom:40px，使内容到表单上下边的距离相等（各 40px），表单高度由 233 增至 273 */
form.searchform{padding-bottom:40px;}

/* ============ 搜索各标签页容器统一（文章/日志/相册/圈子/淘帖等） ============ */
/* 帖子（forum）页用 sc_pc 覆盖模板，结构为 sc-wrap>sc-section 白卡（紧贴导航 t180、白背景、padding24）；其他 mod 仍用 default 模板，结构为 #wp>#ct.w>form，#ct 无 padding、背景透明，且 form 内 .hm 的 margin-top:20px 穿透无 padding 的 #ct/#wp，使整个容器下移到 t200、与帖子页错位。给 #ct.w 加白背景和 padding24：padding 阻止 margin 穿透，#ct 回到 t180 并与 sc-section 盒模型完全一致，各标签切换时内容高度/位置统一。forum 页无 #ct，不受影响 */
#wp #ct.w{background:#fff;padding:24px 24px 0;box-sizing:border-box;}
