/* ==========================================
   印购网 全站样式（响应式 div+css）
   主色: #4DC245 (绿)  辅色: #FF8726 (橙)
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font: 14px/1.6 "Microsoft YaHei", Arial, sans-serif; color: #666; background: #f0f0f0; }
a { color: #666; text-decoration: none; }
a:hover { color: #4DC245; }
img { border: 0; max-width: 100%; }
ul, li { list-style: none; }
input, button, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
em, i { font-style: normal; }
.wrap { width: 1200px; max-width: 100%; margin: 0 auto; padding: 0 10px; }

/* ---------- 顶部工具条 ---------- */
.topbar { background: #f7f7f7; border-bottom: 1px solid #e5e5e5; height: 32px; line-height: 32px; font-size: 12px; }
.topbar-in { display: flex; justify-content: space-between; }
.topbar a { color: #666; margin: 0 4px; }
.topbar a:hover { color: #4DC245; }
.city-cur { color: #4DC245; font-weight: bold; }
.city-switch { color: #999; }
.topbar .sp { color: #ddd; }

/* ---------- 头部 ---------- */
.header { background: #fff; padding: 18px 0; }
.header-in { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-txt { font-size: 32px; font-weight: bold; color: #4DC245; }
.logo-txt em { color: #FF8726; }
.logo-sub { font-size: 12px; color: #999; }
.search-box { flex: 1; display: flex; min-width: 260px; max-width: 560px; }
.search-txt { flex: 1; height: 40px; border: 2px solid #4DC245; border-right: 0; padding: 0 12px; color: #333; }
.search-btn { width: 96px; height: 40px; background: #4DC245; color: #fff; border: 0; font-size: 16px; cursor: pointer; }
.search-btn:hover { background: #3fae38; }
.pub-btn { display: inline-block; height: 40px; line-height: 40px; padding: 0 22px; background: #FF8726; color: #fff !important; font-size: 16px; border-radius: 3px; }
.pub-btn:hover { background: #f07714; }

/* ---------- 主导航 ---------- */
.nav { background: #4DC245; }
.nav-in { display: flex; flex-wrap: wrap; }
.nav-item { display: block; padding: 0 20px; height: 42px; line-height: 42px; color: #fff !important; font-size: 15px; }
.nav-item:hover, .nav-item.cur { background: #3fae38; }

/* ---------- 主体 ---------- */
.main { padding: 12px 10px 20px; }

/* ---------- 面包屑 ---------- */
.crumb { padding: 8px 0; font-size: 12px; color: #999; }
.crumb a { color: #999; }
.crumb a:hover { color: #4DC245; }

/* ---------- 首页分类区块 ---------- */
.cat-block { background: #fff; margin-bottom: 12px; padding: 15px 20px; }
.cat-block-tit { font-size: 17px; color: #333; font-weight: bold; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 10px; }
.cat-block-tit::before { content: ""; display: inline-block; width: 4px; height: 16px; background: #4DC245; margin-right: 8px; vertical-align: -2px; }
.cat-block-tit a { color: #333; }
.cat-links { display: flex; flex-wrap: wrap; }
.cat-links a { width: 12.5%; min-width: 110px; padding: 4px 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 首页两栏 */
.home-cols { display: flex; gap: 12px; align-items: flex-start; }
.home-left { flex: 1; min-width: 0; }
.home-right { width: 300px; flex-shrink: 0; }

/* 首页顶部条（最新信息 + 快速发布） */
.home-top { display: flex; gap: 12px; margin-bottom: 14px; align-items: stretch; }
.home-top .side-box { margin-bottom: 0; }
.home-latest { flex: 1; min-width: 0; }
.home-latest .side-list { display: flex; flex-wrap: wrap; }
.home-latest .side-list li { width: 25%; }
.home-pub { width: 300px; flex-shrink: 0; }
.home-pub-body { padding: 15px; }
.home-pub-body p { font-size: 13px; color: #999; margin-bottom: 10px; }
.home-pub-body .pub-btn { display: block; text-align: center; }

/* 首页瀑布流分类（酷易搜版式） */
.kcat-masonry { column-count: 4; column-gap: 12px; }
.kcat-card { break-inside: avoid; -webkit-column-break-inside: avoid; background: #fff; border: 1px solid #ececec; margin-bottom: 12px; }
.kcat-tit { font-size: 17px; font-weight: bold; color: #333; padding: 14px 16px 10px; border-bottom: 1px solid #f2f2f2; }
.kcat-tit a { color: #333; }
.kcat-tit a:hover { color: #4DC245; }
.kcat-links { padding: 8px 10px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kcat-links a { font-size: 13px; color: #666; padding: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcat-links a:hover { color: #4DC245; }
.kcat-links a.hot { color: #4DC245; }

/* ---------- 侧栏 ---------- */
.side-box { background: #fff; margin-bottom: 12px; }
.side-tit { padding: 10px 15px; font-size: 15px; font-weight: bold; color: #333; border-bottom: 1px solid #eee; }
.side-tit::before { content: ""; display: inline-block; width: 3px; height: 14px; background: #4DC245; margin-right: 8px; vertical-align: -1px; }
.side-list { padding: 8px 15px; }
.side-list li { padding: 4px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.side-list li::before { content: "·"; color: #4DC245; margin-right: 6px; }

/* ---------- 筛选区 ---------- */
.filter { background: #fff; padding: 5px 20px; margin-bottom: 12px; }
.filter-row { display: flex; padding: 8px 0; border-bottom: 1px dashed #eee; flex-wrap: wrap; }
.filter-row:last-child { border-bottom: 0; }
.filter-label { width: 60px; color: #999; flex-shrink: 0; }
.filter-items { flex: 1; display: flex; flex-wrap: wrap; gap: 2px 18px; }
.filter-items a { color: #666; }
.filter-items a:hover { color: #4DC245; }
.filter-items a.on { color: #fff; background: #4DC245; padding: 0 8px; border-radius: 2px; }

/* ---------- 信息列表 ---------- */
.list-hd { background: #4DC245; color: #fff; padding: 8px 15px; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.list-hd .cnt { font-size: 12px; }
.info-list { background: #fff; margin-bottom: 12px; }
.info-item { display: flex; padding: 15px; border-bottom: 1px dashed #eee; gap: 12px; }
.info-item:hover { background: #fafff9; }
.info-pic { width: 110px; height: 82px; flex-shrink: 0; background: #f5f5f5; color: #ccc; display: flex; align-items: center; justify-content: center; font-size: 12px; overflow: hidden; }
.info-pic img { width: 100%; height: 100%; object-fit: cover; }
.info-main { flex: 1; min-width: 0; }
.info-tit { font-size: 16px; }
.info-tit a { color: #333; }
.info-tit a:hover { color: #4DC245; }
.info-desc { font-size: 12px; color: #999; margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.info-meta { font-size: 12px; color: #999; }
.info-meta .cat { color: #4DC245; }
.info-side { text-align: right; flex-shrink: 0; width: 90px; }
.info-price { color: #FF8726; font-size: 15px; font-weight: bold; }
.info-date { font-size: 12px; color: #bbb; margin-top: 28px; }
.list-empty { padding: 50px 0; text-align: center; color: #999; background: #fff; }

/* ---------- 分页 ---------- */
.pager { text-align: center; padding: 18px 0; background: #fff; }
.pager a, .pager .cur, .pager .dot { display: inline-block; min-width: 34px; padding: 4px 8px; margin: 0 3px; border: 1px solid #ddd; background: #fff; color: #666; }
.pager a:hover { border-color: #4DC245; color: #4DC245; }
.pager .cur { background: #4DC245; border-color: #4DC245; color: #fff; }
.pager .dot, .pager .total { border: 0; }

/* ---------- 详情页 ---------- */
.detail-cols { display: flex; gap: 12px; align-items: flex-start; }
.detail-left { flex: 1; min-width: 0; }
.detail-right { width: 300px; flex-shrink: 0; }
.detail-box { background: #fff; padding: 20px 25px; margin-bottom: 12px; }
.detail-tit { font-size: 22px; color: #333; font-weight: bold; }
.detail-attrs { display: flex; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid #eee; margin-bottom: 15px; font-size: 13px; color: #999; gap: 4px 25px; }
.detail-attrs .price { color: #FF8726; font-size: 18px; font-weight: bold; }
.detail-body { color: #333; line-height: 2; word-break: break-all; white-space: pre-wrap; }
.detail-contact { background: #fafafa; border: 1px solid #eee; padding: 15px 20px; margin-top: 18px; }
.detail-contact .phone { color: #FF8726; font-size: 22px; font-weight: bold; }
.detail-tip { font-size: 12px; color: #bbb; margin-top: 10px; }

/* 留言 */
.msg-box { background: #fff; padding: 20px 25px; margin-bottom: 12px; }
.msg-tit { font-size: 17px; color: #333; font-weight: bold; border-bottom: 2px solid #4DC245; padding-bottom: 8px; margin-bottom: 15px; }
.msg-form .row { margin-bottom: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.msg-form input[type=text] { height: 36px; border: 1px solid #ddd; padding: 0 10px; width: 220px; max-width: 100%; }
.msg-form textarea { width: 100%; height: 90px; border: 1px solid #ddd; padding: 8px 10px; resize: vertical; }
.msg-form .submit { height: 38px; padding: 0 30px; background: #4DC245; color: #fff; border: 0; cursor: pointer; font-size: 15px; border-radius: 2px; }
.msg-form .submit:hover { background: #3fae38; }
.msg-item { padding: 12px 0; border-bottom: 1px dashed #eee; }
.msg-item .who { color: #4DC245; font-size: 13px; }
.msg-item .when { color: #bbb; font-size: 12px; margin-left: 10px; }
.msg-item .txt { color: #333; margin-top: 4px; }

/* 提示条 */
.alert { padding: 10px 15px; margin-bottom: 12px; border-radius: 2px; }
.alert-ok { background: #eefbe9; border: 1px solid #b7ecab; color: #3fae38; }
.alert-err { background: #fdf0e8; border: 1px solid #f8ccae; color: #e2620c; }

/* ---------- 表单页（登录/注册/发布） ---------- */
.form-page { background: #fff; padding: 30px; margin-bottom: 12px; }
.form-page-tit { font-size: 20px; color: #333; font-weight: bold; margin-bottom: 20px; border-left: 4px solid #4DC245; padding-left: 10px; }
.form-narrow { max-width: 480px; margin: 0 auto; }
.frm-row { margin-bottom: 16px; display: flex; align-items: flex-start; flex-wrap: wrap; }
.frm-label { width: 110px; line-height: 38px; color: #333; text-align: right; padding-right: 12px; flex-shrink: 0; }
.frm-label .req { color: #f00; margin-right: 2px; }
.frm-field { flex: 1; min-width: 200px; }
.frm-field input[type=text], .frm-field input[type=password], .frm-field select {
    width: 100%; max-width: 380px; height: 38px; border: 1px solid #ddd; padding: 0 10px; color: #333; }
.frm-field textarea { width: 100%; max-width: 560px; height: 150px; border: 1px solid #ddd; padding: 8px 10px; color: #333; resize: vertical; }
.frm-field input:focus, .frm-field textarea:focus, .frm-field select:focus { border-color: #4DC245; }
.frm-tip { font-size: 12px; color: #bbb; margin-top: 4px; }
.frm-btn { height: 42px; padding: 0 45px; background: #4DC245; color: #fff; border: 0; font-size: 16px; cursor: pointer; border-radius: 2px; }
.frm-btn:hover { background: #3fae38; }
.frm-btn-orange { background: #FF8726; }
.frm-btn-orange:hover { background: #f07714; }
.frm-links { margin-top: 15px; font-size: 13px; }
.frm-links a { color: #4DC245; }
.valid-err { color: #e2620c; background: #fdf0e8; border: 1px solid #f8ccae; padding: 8px 12px; margin-bottom: 15px; }
.valid-err ul li { list-style: none; }
.radio-group label { margin-right: 20px; color: #333; cursor: pointer; }

/* ---------- 会员中心 ---------- */
.mc-cols { display: flex; gap: 12px; align-items: flex-start; }
.mc-side { width: 200px; flex-shrink: 0; background: #fff; }
.mc-side-tit { background: #4DC245; color: #fff; padding: 12px 15px; font-size: 15px; }
.mc-menu a { display: block; padding: 11px 20px; border-bottom: 1px solid #f5f5f5; color: #666; }
.mc-menu a:hover, .mc-menu a.on { background: #eefbe9; color: #4DC245; border-left: 3px solid #4DC245; padding-left: 17px; }
.mc-body { flex: 1; min-width: 0; }
.mc-panel { background: #fff; padding: 20px 25px; margin-bottom: 12px; }
.mc-panel-tit { font-size: 17px; color: #333; font-weight: bold; border-bottom: 2px solid #4DC245; padding-bottom: 8px; margin-bottom: 15px; }
.mc-stats { display: flex; gap: 15px; flex-wrap: wrap; }
.mc-stat { flex: 1; min-width: 120px; background: #fafafa; border: 1px solid #eee; text-align: center; padding: 18px 0; }
.mc-stat .num { font-size: 26px; color: #4DC245; font-weight: bold; }
.mc-stat .lbl { font-size: 13px; color: #999; }
.mc-welcome { color: #333; margin-bottom: 15px; }
.mc-welcome b { color: #4DC245; }

/* ---------- 表格 ---------- */
.tbl { width: 100%; border-collapse: collapse; background: #fff; }
.tbl th { background: #f7f7f7; color: #333; font-weight: normal; padding: 10px 8px; border-bottom: 2px solid #4DC245; text-align: left; }
.tbl td { padding: 10px 8px; border-bottom: 1px solid #f0f0f0; color: #666; }
.tbl tr:hover td { background: #fafff9; }
.tbl .op a, .tbl .op button { color: #4DC245; margin-right: 8px; background: none; border: 0; cursor: pointer; padding: 0; font-size: 13px; }
.tbl .op .danger { color: #e2620c; }
.st-0 { color: #FF8726; } .st-1 { color: #4DC245; } .st-2 { color: #e0442c; } .st-3 { color: #999; }
.tab-bar { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.tab-bar a { padding: 6px 18px; background: #f5f5f5; border-radius: 2px; }
.tab-bar a.on { background: #4DC245; color: #fff; }

/* ---------- 会员主页（店铺） ---------- */
.shop-head { background: #fff; padding: 25px 30px; margin-bottom: 12px; border-top: 3px solid #4DC245; }
.shop-name { font-size: 24px; color: #333; font-weight: bold; }
.shop-name .vtag { display: inline-block; font-size: 12px; font-weight: normal; color: #fff; background: #4DC245; border-radius: 2px; padding: 1px 8px; vertical-align: 4px; margin-left: 10px; }
.shop-meta { color: #999; font-size: 13px; margin-top: 8px; }
.shop-meta span { margin-right: 25px; }
.shop-cols { display: flex; gap: 12px; align-items: flex-start; }
.shop-side { width: 280px; flex-shrink: 0; }
.shop-main { flex: 1; min-width: 0; }
.shop-intro { padding: 15px; color: #666; font-size: 13px; line-height: 1.9; word-break: break-all; }
.shop-contact { padding: 8px 15px 15px; font-size: 13px; color: #666; }
.shop-contact p { padding: 4px 0; }
.shop-contact b { color: #333; }

/* ---------- 城市列表页 ---------- */
.city-group { background: #fff; padding: 15px 25px; margin-bottom: 12px; }
.city-group-tit { color: #333; font-weight: bold; font-size: 15px; margin-bottom: 8px; }
.city-group a { display: inline-block; margin: 3px 15px 3px 0; }
.city-group a.hot { color: #4DC245; font-weight: bold; }

/* ---------- 后台 ---------- */
.admin-bar { background: #333; color: #eee; }
.admin-bar-in { display: flex; justify-content: space-between; height: 48px; line-height: 48px; }
.admin-bar a { color: #eee; margin-right: 20px; }
.admin-bar a:hover, .admin-bar a.on { color: #7ee977; }
.admin-brand { font-size: 17px; font-weight: bold; color: #7ee977; margin-right: 30px; }
.admin-r { margin-left: auto; font-size: 13px; }
.admin-r .sp { color: #666; margin: 0 4px; }
.btn-mini { height: 26px; padding: 0 10px; border: 1px solid #ddd; background: #f7f7f7; color: #666; cursor: pointer; font-size: 12px; margin-right: 4px; }
.btn-mini:hover { border-color: #bbb; }
.btn-ok { background: #4DC245; border-color: #4DC245; color: #fff; }
.btn-ok:hover { background: #3fae38; border-color: #3fae38; }
.btn-no { background: #fff; border-color: #e0442c; color: #e0442c; }
.btn-no:hover { background: #fdf1ef; }
.search-inline { display: inline-flex; gap: 8px; margin-bottom: 15px; }
.search-inline input { height: 34px; border: 1px solid #ddd; padding: 0 10px; width: 220px; }
.search-inline button { height: 34px; padding: 0 20px; background: #4DC245; color: #fff; border: 0; cursor: pointer; }
.reason-inp { width: 110px; height: 26px; border: 1px solid #ddd; padding: 0 6px; font-size: 12px; }

/* ---------- 底部 ---------- */
.footer { background: #fff; border-top: 1px solid #e5e5e5; margin-top: 20px; padding: 20px 0 30px; }
.foot-links { padding-bottom: 12px; border-bottom: 1px dashed #eee; margin-bottom: 12px; }
.foot-tit { color: #333; font-weight: bold; }
.foot-links a { margin-right: 15px; font-size: 13px; }
.foot-copy { font-size: 12px; color: #999; text-align: center; }
.foot-copy p { padding: 2px 0; }

/* ---------- 响应式（H5） ---------- */
@media (max-width: 992px) {
    .home-right, .detail-right { display: none; }
    .mc-cols { flex-direction: column; }
    .mc-side { width: 100%; }
    .mc-menu { display: flex; flex-wrap: wrap; }
    .mc-menu a { flex: 1; min-width: 90px; text-align: center; border-left: 0 !important; padding: 10px 5px !important; }
    .shop-cols { flex-direction: column; }
    .shop-side { width: 100%; }
    .cat-links a { width: 25%; min-width: 90px; }
}
@media (max-width: 640px) {
    .header-in { gap: 10px; }
    .logo-txt { font-size: 24px; }
    .logo-sub { display: none; }
    .pub-btn { order: 2; height: 34px; line-height: 34px; font-size: 13px; padding: 0 12px; }
    .search-box { order: 3; flex-basis: 100%; }
    .search-txt { height: 36px; }
    .search-btn { height: 36px; width: 70px; }
    .nav-item { padding: 0 12px; font-size: 14px; height: 38px; line-height: 38px; }
    .cat-links a { width: 33.33%; min-width: 0; font-size: 12px; }
    .info-pic { display: none; }
    .info-side { width: 70px; }
    .info-date { margin-top: 10px; }
    .info-tit { font-size: 15px; }
    .frm-label { width: 100%; text-align: left; line-height: 1.6; margin-bottom: 4px; }
    .detail-tit { font-size: 18px; }
    .tbl .hide-m { display: none; }
    .topbar-r a { margin: 0 2px; }
    .admin-bar-in { flex-wrap: wrap; height: auto; line-height: 40px; padding: 4px 0; }
    .admin-brand { flex-basis: 100%; margin-right: 0; }
    .admin-bar a { margin-right: 14px; }
    .admin-r { margin-left: 0; }
    .search-inline { display: flex; }
    .search-inline input { width: auto; flex: 1; }
    .reason-inp { width: 80px; }
}

/* ---------- 验证码 ---------- */
.captcha-row { display: flex; align-items: center; gap: 10px; }
.captcha-inp { width: 130px; height: 38px; border: 1px solid #ddd; padding: 0 10px; }
.captcha-img { height: 42px; width: 120px; border: 1px solid #e5e5e5; cursor: pointer; background: #f7fbf7; }
.captcha-img:hover { border-color: #4DC245; }
.msg-form .captcha-row { margin-bottom: 10px; }

/* ---------- 图片上传 ---------- */
.upload-box { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.upload-btn { height: 38px; padding: 0 20px; border: 1px dashed #4DC245; background: #f2fbf2; color: #4DC245; cursor: pointer; font-size: 14px; transition: all .2s; }
.upload-btn:hover { background: #4DC245; color: #fff; }
.upload-tip { font-size: 12px; color: #999; }
.upload-msg { font-size: 12px; }
.upload-preview { margin-top: 12px; position: relative; display: inline-block; }
.upload-preview img { max-width: 220px; max-height: 160px; border: 1px solid #eee; display: block; }
.up-del { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 10px; font-size: 12px; }
.up-del:hover { background: #e0442c; }

/* ---------- 后台仪表盘 ---------- */
.dash-tit { font-size: 16px; color: #333; font-weight: bold; margin: 18px 0 12px; padding-left: 10px; border-left: 3px solid #4DC245; }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dash-card { display: block; background: #fff; border-radius: 4px; padding: 22px 20px; text-decoration: none; border-top: 3px solid #4DC245; box-shadow: 0 1px 3px rgba(0,0,0,.05); transition: transform .2s, box-shadow .2s; }
.dash-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.dash-card.c-green { border-top-color: #4DC245; }
.dash-card.c-orange { border-top-color: #FF8726; }
.dash-card.c-blue { border-top-color: #2f86d6; }
.dash-num { font-size: 30px; font-weight: bold; color: #333; line-height: 1.2; }
.dash-card.c-orange .dash-num { color: #FF8726; }
.dash-card.c-blue .dash-num { color: #2f86d6; }
.dash-card.c-green .dash-num { color: #4DC245; }
.dash-label { font-size: 13px; color: #999; margin-top: 6px; }
.dash-links { display: flex; gap: 12px; flex-wrap: wrap; }
.dash-link { display: inline-block; padding: 10px 22px; background: #fff; border: 1px solid #e0e0e0; color: #4DC245; border-radius: 3px; transition: all .2s; }
.dash-link:hover { background: #4DC245; color: #fff; border-color: #4DC245; }

/* ---------- 详情页增强 ---------- */
.detail-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; padding: 10px 0; border-top: 1px dashed #eee; border-bottom: 1px dashed #eee; }
.dact-no { font-size: 13px; color: #999; }
.dact { padding: 6px 16px; border: 1px solid #ddd; background: #fff; color: #666; cursor: pointer; font-size: 13px; border-radius: 2px; transition: all .2s; display: inline-block; text-decoration: none; }
.dact:hover { border-color: #4DC245; color: #4DC245; }
.dact-warn:hover { border-color: #e0442c; color: #e0442c; }
.detail-imgbox { margin-bottom: 15px; }
.detail-img { max-width: 500px; max-height: 380px; border: 1px solid #eee; cursor: zoom-in; transition: opacity .2s; }
.detail-img:hover { opacity: .92; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.85); z-index: 9999; cursor: zoom-out; align-items: center; justify-content: center; }
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; }

/* ---------- 错误页 ---------- */
.err-page { background: #fff; padding: 70px 20px; text-align: center; }
.err-code { font-size: 88px; font-weight: bold; color: #4DC245; line-height: 1; }
.err-txt { font-size: 20px; color: #333; margin-top: 16px; }
.err-sub { font-size: 13px; color: #999; margin-top: 8px; }
.err-links { margin-top: 26px; }
.err-btn { display: inline-block; padding: 10px 34px; background: #4DC245; color: #fff; border-radius: 3px; margin: 0 6px; transition: all .2s; }
.err-btn:hover { background: #3fae38; }
.err-btn-plain { background: #fff; color: #4DC245; border: 1px solid #4DC245; }
.err-btn-plain:hover { background: #f2fbf2; }

/* ---------- 全站微交互与动效 ---------- */
a, .frm-btn, .btn-mini, .tab-bar a, .upload-btn, .dact { transition: all .18s ease; }
.info-item { transition: transform .18s ease, box-shadow .18s ease; border-left: 3px solid transparent; }
.info-item:hover { transform: translateX(3px); border-left-color: #4DC245; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.cat-block, .side-box, .mc-panel, .detail-box, .shop-head { transition: box-shadow .2s ease; }
.cat-block:hover, .side-box:hover { box-shadow: 0 4px 14px rgba(0,0,0,.07); }
.nav-item:hover { background: rgba(255,255,255,.15); }
.frm-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(77,194,69,.25); }

/* 滚动渐显（由 _Layout 脚本给 .reveal 添加） */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* 顶部导航滚动阴影 */
.header { transition: box-shadow .25s ease; }
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.12); }

/* ---------- 新组件响应式 ---------- */
@media (max-width: 992px) {
    .dash-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .dash-grid { grid-template-columns: 1fr; }
    .detail-img { max-width: 100%; }
    .captcha-row { flex-wrap: wrap; }
    .err-code { font-size: 64px; }
}

/* 首页瀑布流响应式 */
@media (max-width: 1100px) { .kcat-masonry { column-count: 3; } }
@media (max-width: 992px) { .home-latest .side-list li { width: 33.33%; } }
@media (max-width: 860px) { .kcat-masonry { column-count: 2; } .home-top { flex-direction: column; } .home-pub { width: 100%; } }
@media (max-width: 520px) { .kcat-masonry { column-count: 1; } .kcat-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } .home-latest .side-list li { width: 50%; } }

/* ---------- TinyMCE 富文本编辑器 ---------- */
.rte-area { max-width: 700px; }
.tox-tinymce { border-radius: 4px; }

/* 详情富文本输出 */
.detail-body { line-height: 1.8; word-break: break-all; }
.detail-body img { max-width: 100%; height: auto; }
