*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font:15px/1.75 -apple-system,"Segoe UI","Microsoft YaHei",sans-serif;color:#1f2328;background:#fff}
a{color:#1f2328;text-decoration:none}
.wrap{max-width:920px;margin:0 auto;padding:0 20px}
.site-head{border-bottom:1px solid #eef0f2;background:#fff;position:sticky;top:0;z-index:10}
.head-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{font-size:17px;font-weight:600;letter-spacing:.3px}
.nav{display:flex;gap:22px;font-size:14px;color:#4b5563}
.nav a:hover{color:#2563eb}
.main{padding:28px 20px 60px;min-height:60vh}
.hero{padding:34px 0 26px;border-bottom:1px solid #f1f3f5;margin-bottom:8px}
.hero h1{font-size:30px;margin:0 0 8px;font-weight:600;letter-spacing:-.3px}
.hero p{margin:0;color:#6b7280;font-size:14px}
.block{padding:26px 0;border-bottom:1px solid #f1f3f5}
.block-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.block-head h2{font-size:16px;margin:0;font-weight:600}
.more{font-size:13px;color:#2563eb}
.news-list{list-style:none;margin:0;padding:0}
.news-list li{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px dashed #f0f1f3}
.news-list li:last-child{border-bottom:0}
.news-list .t,.news-list a{font-size:15px;color:#111827}
.news-list a:hover{color:#2563eb}
.news-list .date{color:#9ca3af;font-size:12px;flex:0 0 auto}
.news-list li.item{display:block}
.news-list .d{margin:4px 0 6px;color:#6b7280;font-size:13px}
.crumb{font-size:12px;color:#9ca3af;margin-bottom:14px}
.crumb a{color:#9ca3af}
.page-title{font-size:24px;margin:0 0 18px;font-weight:600}
.article h1{font-size:26px;margin:0 0 12px;font-weight:600;line-height:1.4}
.article .meta{display:flex;gap:16px;color:#9ca3af;font-size:12px;padding-bottom:18px;border-bottom:1px solid #f1f3f5;margin-bottom:22px}
.rich{font-size:15px;line-height:1.9;color:#374151}
.rich img{max-width:100%;height:auto}
.pager{display:flex;gap:8px;margin:26px 0;flex-wrap:wrap}
.pager a{padding:6px 11px;border:1px solid #e5e7eb;border-radius:7px;font-size:13px;color:#4b5563}
.pager a.active{background:#2563eb;border-color:#2563eb;color:#fff}
.pager .gap{padding:6px 2px;color:#9ca3af;font-size:13px;line-height:1.6}
.empty-page{text-align:center;padding:70px 0}
.empty-page .code{font-size:64px;font-weight:600;color:#e5e7eb;line-height:1}
.empty-page p{color:#6b7280;margin:6px 0 22px}
.btn{display:inline-block;padding:9px 20px;background:#2563eb;color:#fff;border-radius:8px;font-size:14px}
.btn-ghost{background:#fff;color:#374151;border:1px solid #e5e7eb}
.empty-page .ops{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.site-foot{border-top:1px solid #eef0f2;padding:22px 0;text-align:center;color:#9ca3af;font-size:12px}
.site-foot p{margin:3px 0}
.muted{color:#9ca3af}
@media (max-width:640px){
  .head-inner{height:auto;padding:12px 0;flex-direction:column;gap:10px}
  .nav{gap:14px;flex-wrap:wrap;justify-content:center}
  .hero h1{font-size:24px}
  .article h1{font-size:22px}
}

/* 搜索 */
.head-right{display:flex;align-items:center;gap:18px}
.head-search{display:flex;align-items:center;height:32px;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
.head-search input{width:120px;height:100%;padding:0 10px;border:0;outline:0;background:transparent;font-size:13px}
.head-search button{height:100%;padding:0 10px;border:0;background:transparent;color:#6b7280;font-size:13px;cursor:pointer}
.head-search button:hover{color:#2563eb}
.search-form{display:flex;gap:8px;margin:0 0 6px}
.search-form input{flex:1;min-width:0;height:40px;padding:0 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;outline:none}
.search-form input:focus{border-color:#2563eb}
.search-form select{height:40px;padding:0 8px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;background:#fff;color:#374151}
.search-form button{height:40px;padding:0 20px;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:14px;cursor:pointer}
.search-form button:hover{background:#1d4ed8}
.search-meta{margin:10px 0 4px;color:#9ca3af;font-size:13px}
@media(max-width:720px){.head-search{display:none}}

/* 自定义表单 */
.rui-form-wrap{max-width:660px}
.rui-form-title{font-size:18px;margin:0 0 6px;font-weight:600}
.rui-form-intro{margin:0 0 16px;color:#6b7280;font-size:13px}
.rui-form{display:flex;flex-wrap:wrap;gap:14px}
.rui-field{flex:1 1 100%;display:flex;flex-direction:column;gap:6px}
.rui-field-half{flex:1 1 calc(50% - 7px)}
.rui-field label{font-size:13px;color:#374151}
.rui-field label em{color:#e11d48;font-style:normal;margin-left:2px}
.rui-field input,.rui-field textarea,.rui-field select{width:100%;padding:9px 11px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;outline:none;background:#fff}
.rui-field input:focus,.rui-field textarea:focus,.rui-field select:focus{border-color:#2563eb}
.rui-choices{display:flex;flex-wrap:wrap;gap:8px 18px;padding:2px 0}
.rui-choice{display:inline-flex;align-items:center;gap:6px;font-size:14px;color:#374151;font-weight:400}
.rui-choice input{width:auto}
.rui-captcha{display:flex;align-items:center;gap:10px;font-size:15px;color:#374151}
.rui-captcha input{width:112px;height:44px;padding:0 12px;font-size:15px;text-align:center}
/* 验证码控件：图形是图片，算术是题面文字 */
.cap-img{height:44px;width:auto;display:block;cursor:pointer;border:1px solid #e5e7eb;border-radius:8px;background:#fff}
.cap-q{display:inline-flex;align-items:center;height:44px;padding:0 14px;cursor:pointer;user-select:none;
  border:1px solid #e5e7eb;border-radius:8px;background:#f2f7ff;color:#111827;letter-spacing:1.5px;
  font:600 16px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.rui-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.rui-submit{align-items:flex-start}
.rui-submit button{width:auto;padding:10px 32px;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:15px;cursor:pointer}
.rui-submit button:hover{background:#1d4ed8}
.rui-form-tip{padding:10px 14px;border-radius:8px;font-size:14px;margin:0 0 14px}
.rui-form-tip.ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.rui-form-tip.err{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
@media(max-width:640px){.rui-field-half{flex:1 1 100%}}

/* 会员中心 */
.head-user-box{display:flex;align-items:center;gap:10px;font-size:13px;white-space:nowrap}
.head-user{color:#374151}
.head-user:hover{color:#2563eb}
.head-user-reg{padding:4px 11px;border:1px solid #e5e7eb;border-radius:6px}
.head-user-reg:hover{border-color:#2563eb}
.head-user-out{color:#9ca3af}
.head-user-out:hover{color:#e11d48}
.auth-box{max-width:420px;margin:26px auto 44px;padding:28px;border:1px solid #eef0f2;border-radius:12px;background:#fff}
.auth-box h1{font-size:20px;margin:0 0 4px;font-weight:600}
.auth-sub{margin:0 0 18px;color:#9ca3af;font-size:13px}
.auth-sub a{color:#2563eb}
.auth-field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
.auth-field label{font-size:13px;color:#374151}
.auth-field label em{color:#e11d48;font-style:normal;margin-left:2px}
.auth-field input{padding:9px 11px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;outline:none;background:#fff}
.auth-field input:focus{border-color:#2563eb}
.auth-field input[readonly]{background:#f9fafb;color:#9ca3af}
.auth-captcha{display:flex;align-items:center;gap:10px}
.auth-captcha input{flex:1;min-width:0}
.auth-captcha .cap-img{height:42px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer}
.auth-captcha .cap-q{height:42px}
.auth-btn{width:100%;height:42px;margin-top:4px;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:15px;cursor:pointer}
.auth-btn:hover{background:#1d4ed8}
.auth-flash{padding:9px 12px;margin:0 0 14px;border-radius:8px;font-size:13px}
.auth-flash.err{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.auth-flash.ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.user-wrap{display:flex;gap:28px;align-items:flex-start;margin-bottom:24px}
.user-side{flex:0 0 220px;padding:22px 20px;border:1px solid #eef0f2;border-radius:12px;text-align:center}
.user-avatar{width:60px;height:60px;line-height:60px;margin:0 auto 10px;border-radius:50%;background:#eff6ff;color:#2563eb;font-size:22px;font-weight:600}
.user-name{margin:0 0 2px;font-weight:600}
.user-meta{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid #f1f5f9;font-size:13px;color:#6b7280;text-align:left}
.user-meta li{display:flex;justify-content:space-between;gap:8px;padding:3px 0}
.user-meta b{color:#374151;font-weight:500}
.user-out{display:inline-block;margin-top:16px;font-size:13px;color:#9ca3af}
.user-out:hover{color:#e11d48}
.user-main{flex:1;min-width:0}
.user-main h2{font-size:16px;margin:0 0 14px;padding-bottom:8px;border-bottom:1px solid #f1f5f9}
.user-main form{max-width:420px;margin:0 0 28px}
@media(max-width:760px){.user-wrap{flex-direction:column}.user-side{width:100%}}

/* 站点公告条（notice 插件）：可以有多条，逐条轮播 */
.notice-bar{background:#eff6ff;border-bottom:1px solid #dbeafe;color:#1d4ed8;font-size:13px}
.notice-bar .wrap{padding:8px 20px;text-align:center}
.notice-rot{position:relative;min-height:19px}
.notice-item{display:none;color:inherit;text-decoration:none;align-items:center;gap:6px;position:relative}
.notice-item.on{display:inline-flex;justify-content:center}
.notice-item:hover{text-decoration:underline}
/* 整条颜色跟着当前这条公告的类型走（JS 换 data-style） */
.notice-bar[data-style=success]{background:#ecfdf5;border-bottom-color:#d1fae5;color:#0f766e}
.notice-bar[data-style=warning]{background:#fffbeb;border-bottom-color:#fef3c7;color:#b45309}
.notice-bar[data-style=danger]{background:#fef2f2;border-bottom-color:#fecaca;color:#b91c1c}

/* 评论区（comment 模块） */
.comment-box{margin:34px 0 10px;padding-top:22px;border-top:1px solid #f1f5f9}
.comment-box h2{font-size:17px;margin:0 0 16px;font-weight:600}
.comment-box .c-count{color:#9ca3af;font-weight:400;font-size:14px;margin-left:4px}
.c-empty{color:#9ca3af;font-size:14px;margin:0 0 18px}
.comment-list{list-style:none;margin:0 0 8px;padding:0}
.comment-list li{display:flex;gap:12px;padding:14px 0;border-bottom:1px dashed #f0f1f3}
.comment-list li:last-child{border-bottom:0}
.c-avatar{flex:0 0 38px;height:38px;line-height:38px;text-align:center;border-radius:50%;background:#f3f4f6;color:#4b5563;font-weight:600}
.c-main{flex:1;min-width:0}
.c-head{display:flex;align-items:baseline;gap:10px;margin-bottom:3px}
.c-head b{font-size:14px;color:#111827;font-weight:600}
.c-head span{font-size:12px;color:#9ca3af}
.c-text{font-size:14px;color:#374151;line-height:1.75;word-break:break-word}
.c-tip{padding:9px 12px;margin:0 0 14px;border-radius:8px;font-size:13px}
.c-tip.ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.c-tip.err{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.c-form{margin-top:12px}
.c-as{margin:0 0 10px;font-size:13px;color:#6b7280}
.c-as a{color:#2563eb;margin-left:6px}
.c-field{margin-bottom:10px}
.c-field input,.c-field textarea{width:100%;padding:9px 11px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;outline:none;background:#fff}
.c-field input:focus,.c-field textarea:focus{border-color:#2563eb}
.c-captcha{display:flex;align-items:center;gap:10px;font-size:15px;color:#374151}
.c-captcha input{width:112px;height:44px;padding:0 12px;font-size:15px;text-align:center}
.c-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.c-submit{padding:9px 26px;border:0;border-radius:8px;background:#2563eb;color:#fff;font-size:14px;cursor:pointer}
.c-submit:hover{background:#1d4ed8}
.c-login-tip{padding:16px;background:#f9fafb;border:1px solid #eef0f2;border-radius:8px;font-size:14px;color:#6b7280;text-align:center}
.c-login-tip a{color:#2563eb}

/* 轮播（主题实现，插件只出数据；换主题可整段重写） */
.banner{position:relative;overflow:hidden;border-radius:12px;background:#f1f3f5}
.banner-track{display:grid}
.banner-item{grid-area:1/1;display:block;position:relative;text-decoration:none;color:inherit;
  opacity:0;transition:opacity .5s ease;pointer-events:none}
.banner-item.is-active{opacity:1;pointer-events:auto}
.banner-img{display:block;width:100%;height:auto}
.banner-text{position:absolute;left:0;right:0;bottom:0;padding:26px 26px 22px;color:#fff;
  background:linear-gradient(transparent,rgba(0,0,0,.6))}
.banner-title{display:block;font-size:20px;font-weight:600;line-height:1.45}
.banner-sub{display:block;margin-top:4px;font-size:13.5px;opacity:.9;line-height:1.6}
.banner-btn{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:38px;height:38px;
  padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.3);color:#fff;font-size:20px;line-height:38px;
  text-align:center;cursor:pointer;opacity:0;transition:opacity .2s,background .2s}
.banner:hover .banner-btn{opacity:1}
.banner-btn:hover{background:rgba(0,0,0,.55)}
.banner-btn.prev{left:14px}
.banner-btn.next{right:14px}
.banner-dots{position:absolute;right:18px;bottom:16px;z-index:2;display:flex;gap:8px}
.banner-dots button{width:8px;height:8px;padding:0;border:0;border-radius:4px;
  background:rgba(255,255,255,.5);cursor:pointer;transition:width .2s,background .2s}
.banner-dots button.is-active{width:18px;background:#fff}
@media(max-width:640px){.banner-text{padding:16px}.banner-title{font-size:16px}.banner-btn{display:none}}

/* 评论区空态（标签输出空文本时不留白） */
.comment-list:empty,.c-empty:empty,.c-tip:empty{display:none}

/* 表单空提示 / 空说明不留白 */
.rui-form-tip:empty,.rui-form-intro:empty{display:none}

/* 关闭验证码时整块隐藏 */
.rui-captcha-field:has(> .rui-captcha > span:empty){display:none}

/* 评论表单：未登录显示昵称框，登录后自动隐藏；无验证码时整块隐藏 */
.c-as b:empty::before{content:"游客"}
.c-form:has(.c-as b:not(:empty)) .c-nick{display:none}
.c-field.c-captcha:has(> span:empty){display:none}

/* 评论楼中楼 */
.c-head .c-floor{margin-left:auto;font-style:normal;font-size:12px;color:#c1c7d0}
.c-head .c-to{font-size:12px;color:#8b95a3}
.c-head .c-to[data-to=""]{display:none}
.c-foot{margin-top:5px}
.c-reply{font-size:12px;color:#9ca3af}
.c-reply:hover{color:#2563eb}

/* 评论自定义字段（评分 / 晒图 / 选项 / 上传） */
.c-stars{margin:2px 0 3px;color:#f59e0b;font-size:13px;letter-spacing:1px}
.c-stars:empty{display:none}
.c-ext{margin-top:5px;font-size:12.5px;color:#6b7280}
.c-ext:empty{display:none}
.c-imgs{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.c-img{width:84px;height:84px;object-fit:cover;border:1px solid #eef0f2;border-radius:8px;background:#f8f9fb}
.c-img[src=""],.c-img:not([src]){display:none}
.c-label{display:block;margin-bottom:5px;font-size:13px;color:#4b5563}
.c-label em{margin-left:2px;color:#ef4444;font-style:normal}
.c-field select{width:100%;padding:9px 11px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;color:#374151;font-size:14px;font-family:inherit;outline:none}
.c-field select:focus{border-color:#2563eb}
.c-field input[type="file"]{padding:7px 9px;background:#f9fafb;cursor:pointer}
.c-choices{display:flex;flex-wrap:wrap;gap:8px 18px;padding:4px 0}
.c-choice{display:flex;align-items:center;gap:6px;font-size:14px;color:#374151}
.c-choices input{width:auto;padding:0}
.c-uploads{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.c-uploads:empty{display:none}

/* 友情链接（links 插件只出数据） */
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:10px 0;font-size:13px}
.foot-links:empty{display:none}
.foot-links a{color:#8b95a3}
.foot-links a:hover{color:#2563eb}

/* 标签云 / 标签聚合页（tag 插件） */
.tag-total{margin-left:8px;font-size:13px;font-weight:400;color:#9ca3af}
.tag-cloud{display:flex;flex-wrap:wrap;gap:8px 10px;margin:6px 0 20px}
.tag-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#4b5563;font-size:13px;line-height:1.4}
.tag-pill:hover{border-color:#2563eb;color:#2563eb}
.tag-pill i{font-style:normal;font-size:11.5px;color:#9ca3af}
.tag-pill.tag-lv3{font-size:14px}
.tag-pill.tag-lv4{font-size:15px;border-color:#dbeafe}
.tag-pill.tag-lv5{font-size:16px;font-weight:600;border-color:#bfdbfe;color:#1d4ed8}
.tag-pill.tag-lv5 i{color:#60a5fa}
.tag-pager{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:22px 0 8px}
.tag-pager a,.tag-pager span{min-width:32px;height:32px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#4b5563;font-size:13px}
.tag-pager a:hover{border-color:#2563eb;color:#2563eb}
.tag-pager .current{border-color:#2563eb;background:#2563eb;color:#fff}
.tag-pager .gap{border:0;background:none;color:#9ca3af}

/* 专题（topic 插件） */
.topic-hero{display:flex;gap:22px;align-items:stretch;margin:6px 0 18px;padding:18px;background:#f8fafc;border:1px solid #eef2f7;border-radius:12px}
.topic-cover{flex:0 0 42%;max-width:42%;overflow:hidden;border-radius:10px;background:#eef2f7}
.topic-cover img{display:block;width:100%;height:100%;object-fit:cover}
.topic-info{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.topic-info h1{margin:0 0 6px;font-size:24px;line-height:1.35}
.topic-sub{margin:0 0 8px;color:#2563eb;font-size:14px}
.topic-intro{margin:0 0 10px;color:#4b5563;font-size:14px;line-height:1.7}
.topic-meta{margin:0;color:#9ca3af;font-size:12.5px}
.topic-body{margin:0 0 20px}
.topic-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;margin:6px 0 24px}
.topic-card{display:block;border:1px solid #eef0f2;border-radius:12px;overflow:hidden;background:#fff;text-decoration:none;color:inherit}
.topic-card:hover{border-color:#bfdbfe;box-shadow:0 4px 16px rgba(37,99,235,.08)}
.tc-cover{display:block;height:110px;background:#f1f5f9 center/cover no-repeat}
.tc-main{display:block;padding:10px 12px 12px}
.tc-main b{display:block;font-size:14.5px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-main i{display:block;margin-top:3px;font-style:normal;font-size:12.5px;color:#9ca3af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tc-main em{display:inline-block;margin-top:8px;font-style:normal;font-size:12px;color:#2563eb;background:#eff6ff;border-radius:999px;padding:1px 8px}
@media(max-width:640px){.topic-hero{flex-direction:column}.topic-cover{flex:none;max-width:100%;height:170px}}

/* 会员中心导航 / 列表 / 消息 / 投稿 */
.user-nav{display:flex;flex-direction:column;gap:2px;margin:14px 0 12px;text-align:left}
.user-nav a{position:relative;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border-radius:7px;color:#4b5563;font-size:13.5px}
.user-nav a:hover{background:#f5f7fa;color:#2563eb}
.user-nav a.active{background:#eff6ff;color:#2563eb;font-weight:600}
.user-nav em{font-style:normal;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:9px;background:#ef4444;color:#fff;font-size:11px;padding:0 5px}
.user-main .muted{color:#9ca3af}
.user-table{width:100%;border-collapse:collapse;font-size:13.5px;margin:0 0 16px}
.user-table th{text-align:left;font-weight:600;color:#6b7280;font-size:12.5px;padding:8px 10px;border-bottom:1px solid #eef0f2;background:#fafbfc}
.user-table td{padding:10px;border-bottom:1px solid #f3f4f6;color:#374151;vertical-align:top}
.user-table td.delta{color:#16a34a;font-weight:600}
.fav-list{list-style:none;margin:0 0 16px;padding:0}
.fav-item{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px dashed #f0f1f3}
.fav-main{flex:1;min-width:0}
.fav-main .t{font-size:14px;color:#111827;font-weight:500}
.fav-main .t:hover{color:#2563eb}
.fav-main .t.dead{color:#9ca3af;text-decoration:line-through}
.fav-main p{margin:3px 0 0;font-size:12px}
.fav-del{font-size:12.5px;color:#9ca3af}
.fav-del:hover{color:#e11d48}
.msg-list{list-style:none;margin:0 0 16px;padding:0}
.msg-item{padding:12px 0;border-bottom:1px dashed #f0f1f3}
.msg-head{display:flex;align-items:center;gap:8px}
.msg-head b{font-size:14px;color:#111827}
.msg-head span{margin-left:auto;font-size:12px}
.msg-dot{font-style:normal;font-size:11px;color:#fff;background:#ef4444;border-radius:4px;padding:0 5px;line-height:17px}
.msg-body{margin-top:6px;font-size:13.5px;color:#4b5563;line-height:1.7}
.post-form{max-width:720px}
.post-form select,.post-form textarea{padding:9px 11px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;outline:none;background:#fff;width:100%}
.post-form select:focus,.post-form textarea:focus{border-color:#2563eb}
.post-st{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px}
.post-st.st-0{background:#fff7e6;color:#b45309}
.post-st.st-1{background:#ecfdf5;color:#047857}
.post-st.st-2{background:#f3f4f6;color:#6b7280}
.fav-wrap{margin:16px 0 4px}
.fav-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#4b5563;font-size:13.5px;cursor:pointer}
.fav-btn:hover{border-color:#f59e0b;color:#b45309}
.fav-btn .fav-ico{font-size:16px;line-height:1;color:#f59e0b}
.fav-btn.is-on{background:#fffbeb;border-color:#fcd34d;color:#b45309}

/* 下载页（download 模块） */
.download-page{margin:6px 0 24px}
.download-page h1{font-size:24px;line-height:1.4;margin:0 0 4px}
.dl-sub{margin:0 0 14px;color:#6b7280;font-size:14px}
.dl-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0 12px;padding:18px 20px;border:1px solid #e5edf7;border-radius:12px;background:linear-gradient(135deg,#f8fbff,#f2f7ff)}
.dl-left{display:flex;align-items:center;gap:14px;min-width:0}
.dl-icon{flex:0 0 44px;height:44px;line-height:44px;text-align:center;border-radius:12px;background:#2563eb;color:#fff;font-size:22px;font-weight:700}
.dl-name b{display:block;font-size:15.5px;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dl-name p{margin:3px 0 0;font-size:12.5px;color:#6b7280}
.dl-name p.dl-count{color:#9ca3af}
.dl-btn{flex:0 0 auto;padding:11px 26px;border-radius:10px;background:#2563eb;color:#fff;font-size:14.5px;font-weight:600}
.dl-btn:hover{background:#1d4ed8}
.dl-line{margin:4px 0;font-size:13.5px;color:#4b5563}
.dl-line b{color:#111827}
.dl-body{margin-top:18px}
.dl-tags{margin-top:16px;color:#8b95a3;font-size:13px}
.dl-list .item{position:relative}
.dl-list .dl-meta{position:absolute;right:0;top:0;font-size:12px;color:#9ca3af}
@media(max-width:640px){.dl-card{flex-direction:column;align-items:stretch}.dl-btn{text-align:center}}

/* ---------------- 多级导航 / 子栏目 / 侧栏 ---------------- */
.nav{align-items:center}
.nav-item{position:relative;display:flex;align-items:center;height:64px}
.nav-link{display:inline-flex;align-items:center;gap:3px;height:100%;color:#4b5563}
.nav-item.is-active>.nav-link,.nav-link:hover{color:#2563eb}
.nav-item.is-active>.nav-link{font-weight:600;position:relative}
.nav-item.is-active>.nav-link::after{content:"";position:absolute;left:0;right:0;bottom:12px;height:2px;border-radius:2px;background:#2563eb}
.nav-caret{font-style:normal;font-size:11px;color:#9ca3af;transition:transform .2s}
.nav-item:hover .nav-caret{transform:rotate(180deg)}
.nav-sub{position:absolute;left:-14px;top:60px;min-width:152px;padding:6px;background:#fff;border:1px solid #eef0f2;
  border-radius:10px;box-shadow:0 14px 34px rgba(17,24,39,.10);display:flex;flex-direction:column;
  opacity:0;visibility:hidden;transform:translateY(6px);transition:.18s;z-index:30}
.nav-item:hover .nav-sub,.nav-item:focus-within .nav-sub{opacity:1;visibility:visible;transform:none}
.nav-sub-link{padding:7px 10px;border-radius:6px;font-size:13.5px;color:#4b5563;white-space:nowrap}
.nav-sub-link:hover{background:#f5f8ff;color:#2563eb}
.nav-sub-link.is-active{background:#eff6ff;color:#2563eb;font-weight:600}

.layout{display:flex;gap:32px;align-items:flex-start}
.layout-main{flex:1;min-width:0}
.side{flex:0 0 248px;width:248px;position:sticky;top:84px}
.side-box{border:1px solid #eef0f2;border-radius:12px;padding:14px 16px;margin-bottom:16px;background:#fff}
.side-title{font-size:13px;margin:0 0 10px;color:#111827;font-weight:600;letter-spacing:.3px}
.side-nav{display:flex;flex-direction:column;gap:2px}
.side-link{display:block;padding:6px 8px;border-radius:6px;font-size:14px;color:#374151}
.side-link:hover{background:#f5f8ff;color:#2563eb}
.side-group.is-active>.side-link{background:#eff6ff;color:#2563eb;font-weight:600}
.side-sub{display:flex;flex-direction:column;gap:1px;margin:1px 0 6px 10px;padding-left:10px;border-left:1px solid #eef0f2}
.side-sub-link{padding:4px 6px;border-radius:5px;font-size:13px;color:#6b7280}
.side-sub-link:hover{color:#2563eb}
.side-sub-link.is-active{color:#2563eb;font-weight:600;background:#f5f8ff}
.side-list{list-style:none;margin:0;padding:0}
.side-list li{display:flex;gap:8px;justify-content:space-between;align-items:baseline;padding:7px 0;border-bottom:1px dashed #f2f3f5;font-size:13.5px}
.side-list li:last-child{border-bottom:0}
.side-list a{color:#374151;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-list a:hover{color:#2563eb}
.side-list span{color:#9ca3af;font-size:12px;flex:0 0 auto}
.side-entry{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.side-entry a{padding:8px 10px;border:1px solid #eef0f2;border-radius:8px;font-size:13px;text-align:center;color:#4b5563}
.side-entry a:hover{border-color:#bfdbfe;color:#2563eb;background:#f8fbff}

.page-head{margin:0 0 10px}
.page-head h1{font-size:24px;margin:0 0 6px;font-weight:600}
.page-intro{margin:0;color:#6b7280;font-size:14px}
.crumb{display:flex;flex-wrap:wrap;align-items:center}
.crumb .sep{margin:0 6px;color:#d1d5db}
.crumb em{font-style:normal;color:#6b7280}
.subcats{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin:14px 0 8px}
.subcats:empty{display:none}
.subcat{display:block;padding:11px 14px;border:1px solid #eef0f2;border-radius:10px;background:#fafbfd}
.subcat:hover{border-color:#bfdbfe;background:#f8fbff}
.subcat b{display:block;font-size:14px;color:#111827;font-weight:600}
.subcat span{display:block;margin-top:2px;font-size:12.5px;color:#9ca3af;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.list-empty{margin:22px 0;padding:26px;text-align:center;color:#9ca3af;font-size:13.5px;
  background:#fafbfd;border:1px dashed #e5e7eb;border-radius:10px}

.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}
.cat-card{border:1px solid #eef0f2;border-radius:12px;padding:14px 16px;background:#fff}
.cat-card:hover{border-color:#bfdbfe;box-shadow:0 6px 20px rgba(37,99,235,.06)}
.cat-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.cat-card-head b{font-size:15px;color:#111827}
.cat-card-head span{font-size:12.5px;color:#2563eb;white-space:nowrap}
.cat-card-sub{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.cat-card-sub a{padding:3px 10px;border-radius:999px;background:#f5f7fa;color:#5b6675;font-size:12.5px}
.cat-card-sub a:hover{background:#eff6ff;color:#2563eb}

/* 页脚三栏 */
.site-foot{padding:34px 0 20px;text-align:left}
.foot-grid{display:grid;grid-template-columns:1.15fr 1fr .7fr;gap:28px;padding-bottom:22px;border-bottom:1px solid #f1f3f5}
.foot-logo{font-size:16px;font-weight:600;color:#111827}
.foot-about p{margin:8px 0 0;color:#9ca3af;font-size:12.5px;line-height:1.8}
.foot-title{display:block;font-size:13px;color:#111827;margin-bottom:10px}
.foot-cats{display:flex;flex-wrap:wrap;gap:6px 18px}
.foot-cat{display:flex;flex-direction:column;gap:4px}
.foot-cat>a{font-size:13px;color:#6b7280}
.foot-cat>a:hover{color:#2563eb}
.foot-sub{font-size:12px;color:#9ca3af;padding-left:8px}
.foot-sub:hover{color:#2563eb}
.foot-entry{display:flex;flex-direction:column;gap:6px}
.foot-entry a{font-size:13px;color:#6b7280}
.foot-entry a:hover{color:#2563eb}
.foot-bottom{padding-top:16px;text-align:center;color:#9ca3af;font-size:12px}
.foot-bottom p{margin:3px 0}
.foot-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin-top:8px;font-size:12.5px}

@media(max-width:900px){
  .layout{flex-direction:column;gap:22px}
  .side{width:100%;flex:none;position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .side-box{margin:0}
}
@media(max-width:760px){
  .foot-grid{grid-template-columns:1fr;gap:20px}
}
@media(max-width:640px){
  .head-right{flex-direction:column;gap:8px;width:100%}
  .nav{justify-content:center;row-gap:4px;width:100%}
  .nav-item{height:auto;display:block;text-align:center}
  .nav-link{height:auto;padding:2px 0}
  .nav-item.is-active>.nav-link::after{display:none}
  .nav-sub{display:none}
  .nav-caret{display:none}
  .nav-sub-link{display:none}
  .side{grid-template-columns:1fr}
  .cat-grid,.subcats{grid-template-columns:1fr 1fr}
}
@media(max-width:420px){
  .cat-grid,.subcats{grid-template-columns:1fr}
}
.auth-captcha{display:flex;gap:8px;align-items:center}
.auth-captcha input{flex:1;min-width:0}
.auth-captcha .cap-img{height:40px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer}
.auth-captcha .cap-q{height:40px;font-size:15px}
.sms-btn{flex:0 0 110px;height:38px;border:1px solid #2563eb;background:#fff;color:#2563eb;border-radius:6px;font-size:13px;cursor:pointer}
.sms-btn:disabled{opacity:.6;cursor:default}
.ledger-tabs{display:flex;gap:10px;margin:0 0 14px}
.ledger-tabs a{padding:7px 16px;border:1px solid #e5e7eb;border-radius:20px;font-size:13px;color:#4b5563}
.ledger-tabs a.active{background:#2563eb;border-color:#2563eb;color:#fff}
.vote-list{list-style:none;margin:0;padding:0}
.vote-list li{display:flex;justify-content:space-between;border-bottom:1px dashed #eef0f2;padding:8px 0}
.vote-list-num{color:#9aa3ad;font-size:12px}
.ex-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.ex-card{border:1px solid #e6e8eb;border-radius:10px;padding:14px 16px}
.ex-card p{margin:6px 0;font-size:12.5px}
.ex-cost{color:#16baaa;font-weight:600;font-size:15px}
.mf-opt{display:flex;align-items:center;gap:6px;margin:2px 0;font-weight:400}
.mf-opt input{accent-color:#2563eb}
/* 充值卡片 */
.rc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin:0 0 16px}
.rc-card{position:relative;display:flex;flex-direction:column;border:1px solid #e6e8eb;border-radius:10px;
  padding:16px 16px 14px;background:#fff}
.rc-card .rc-btn{margin-top:auto;align-self:flex-start}
.rc-badge{position:absolute;top:10px;right:10px;background:#fef0e6;color:#c2410c;font-size:11.5px;
  padding:1px 7px;border-radius:10px}
.rc-title{display:block;font-size:14.5px;margin:0 0 6px}
.rc-card p{margin:4px 0;font-size:12.5px}
.rc-money{color:#16baaa;font-size:20px;font-weight:600;margin:6px 0 2px!important}
.rc-give{color:#c2410c}
.rc-btn{display:inline-block;height:34px;line-height:34px;padding:0 18px;border:0;border-radius:8px;
  background:#16baaa;color:#fff;font-size:13.5px;cursor:pointer;margin-top:10px}
.rc-btn:hover{background:#12a396;color:#fff}
.rc-btn.ghost{background:#fff;color:#16baaa;border:1px solid #16baaa}
.rc-btn:disabled{opacity:.6;cursor:default}
.rc-custom{border:1px dashed #dfe4ea;border-radius:10px;padding:14px 16px;margin:0 0 16px}
.rc-custom h3{margin:0 0 4px;font-size:14px}
.rc-custom-row{display:flex;gap:8px;align-items:center;margin-top:8px;flex-wrap:wrap}
.rc-custom-row input{height:36px;width:200px;padding:0 10px;border:1px solid #dfe4ea;border-radius:8px;font-size:14px}
.rc-custom-row .rc-btn{margin-top:0}
.rc-notice{margin:0 0 16px;padding:10px 14px;background:#f8fafb;border:1px solid #eef0f2;border-radius:8px;
  font-size:12.5px;color:#5b6470;line-height:1.9}
.rc-h3{font-size:15px;margin:20px 0 8px}
.order-card{border:1px solid #e6e8eb;border-radius:10px;padding:16px 18px;background:#fff}
.order-head{display:flex;justify-content:space-between;align-items:center;gap:10px;
  border-bottom:1px dashed #eef0f2;padding-bottom:10px;margin-bottom:12px}
.order-no{font-family:Consolas,Monaco,monospace;font-size:13px;color:#5b6470}
.order-state{font-size:12px;padding:2px 9px;border-radius:10px;background:#f3f4f6;color:#6b7280}
.order-state.ok{background:#e8f8f5;color:#0f766e}
.order-tag{font-size:12px;padding:1px 8px;border-radius:10px;background:#f3f4f6;color:#6b7280}
.order-tag.ok{background:#e8f8f5;color:#0f766e}
.order-list{display:grid;grid-template-columns:96px 1fr;gap:8px 12px;margin:0;font-size:13.5px}
.order-list dt{color:#8b95a1}
.order-list dd{margin:0}
.order-list .c-teal{color:#0f766e}
.order-ops{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;align-items:center}
.grade-card{border:1px solid #e6e8eb;border-radius:10px;padding:14px 16px;margin:0 0 18px;background:#fbfcfd}
.grade-line{display:flex;justify-content:space-between;align-items:baseline;font-size:13.5px;margin:0 0 8px}
.grade-bar{height:8px;background:#eef1f4;border-radius:5px;overflow:hidden}
.grade-bar i{display:block;height:100%;background:linear-gradient(90deg,#16baaa,#4fd1c5)}
.grade-tip{margin:8px 0 0;font-size:12.5px}
.lang-switch{display:inline-flex;align-items:center;gap:2px;margin-right:10px;font-size:12.5px}
.lang-switch .lang-on{color:#16baaa;font-weight:600;padding:2px 7px}
.lang-switch .lang-link{color:#6b7280;padding:2px 7px;border-radius:4px}
.lang-switch .lang-link:hover{background:#f1f5f4;color:#0f766e}

/* 投票块：标签只输出数据，这些类名全部由模板自己决定 */
.vote-form{margin-top:4px}
.vote-opt{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1px solid #eef0f2;border-radius:8px;margin:0 0 8px;cursor:pointer}
.vote-opt:hover{border-color:#c7ece5;background:#fbfffe}
.vote-opt input{accent-color:#16baaa}
.vote-opt img{height:34px;border-radius:4px}
.vote-btn{height:36px;padding:0 22px;border:0;border-radius:8px;background:#16baaa;color:#fff;font-size:14px;cursor:pointer}
.vote-btn:hover{background:#12a396}
.vote-line{display:flex;justify-content:space-between;font-size:13.5px;margin:0 0 4px}
.vote-line b{color:#0f766e;font-weight:600}
.vote-bar{height:10px;background:#f1f4f6;border-radius:6px;overflow:hidden;margin:0 0 10px}
.vote-bar i{display:block;height:100%;background:linear-gradient(90deg,#16baaa,#4fd1c5);border-radius:6px}
.vote-foot{margin:8px 0 0;font-size:12.5px}

/* 签到块：同样只靠标签给的数据，类名和样式都在模板里 */
.sign-block{padding:18px 0}
.sign-line{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #e6e8eb;border-radius:10px;background:#fbfcfd}
.sign-info b{display:block;font-size:15px;font-weight:600;color:#111827}
.sign-info span{display:block;margin-top:3px;font-size:12.5px;color:#9ca3af}
.sign-btn{flex:0 0 auto;height:36px;line-height:36px;padding:0 20px;border:0;border-radius:8px;background:#16baaa;color:#fff;font-size:14px;cursor:pointer}
.sign-btn:hover{background:#12a396}
.sign-btn.is-done{background:#f3f4f6;color:#6b7280}
.sign-btn.is-done:hover{background:#eef0f2}
