/**
 * ============================================
 * 全站公共样式 style.css
 * 风格：复合机维修服务（专业工业蓝 + 维修橙点缀）
 * 响应式卡片式布局，移动端与电脑端兼容
 * ============================================
 */

:root {
    --brand      : #1E6FB8;   /* 主色（专业蓝） */
    --brand-dark : #16324F;   /* 深蓝（头部/页脚） */
    --accent     : #FF8A1E;   /* 点缀色（维修橙） */
    --bg         : #F2F4F7;   /* 页面背景 */
    --card       : #FFFFFF;   /* 卡片背景 */
    --text       : #2B3440;   /* 主文字 */
    --muted      : #8892A0;   /* 次要文字 */
    --radius     : 10px;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: var(--brand); }
img { max-width: 100%; }

/* ================= 顶部导航（深蓝） ================= */
.site-header {
    background: var(--brand-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.site-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.site-logo .logo-accent {
    font-size: 12px;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 1px;
}

.site-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav li a {
    display: block;
    padding: 8px 14px;
    margin: 0 2px;
    color: rgba(255, 255, 255, .82);
    border-radius: 6px;
    transition: background .2s, color .2s;
}

.site-nav li a:hover { background: rgba(255, 255, 255, .10); color: #fff; }

.site-nav li.active a {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.site-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 42px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    padding: 4px 10px;
}

/* 覆盖 layui 图标默认 16px，保证按钮图标尺寸生效 */
.site-nav-toggle .layui-icon {
    font-size: 42px;
    line-height: 1;
}

/* 移动端导航：默认收起，点击汉堡展开 */
@media (max-width: 768px) {
    /* 内容区域四周留白，避免贴边 */
    .layui-container { padding-left: 20px; padding-right: 20px; }

    .site-nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--brand-dark);
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .20);
    }

    .site-nav.open { display: flex; }

    .site-nav li a { padding: 12px 20px; margin: 0; }
}

/* ================= 主体 ================= */
.site-main {
    padding: 24px 20px 40px;
    min-height: calc(100vh - 160px);
}

/* ================= 卡片 ================= */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    padding: 20px;
    transition: transform .2s, box-shadow .2s;
}

/* 可点击卡片 */
.card-link {
    display: block;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.card-link::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--brand);
    opacity: 0;
    transition: opacity .2s;
}

.card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
    color: var(--text);
}

.card-link:hover::after { opacity: 1; }

.card-icon {
    font-size: 34px;
    color: var(--brand);
    margin-bottom: 10px;
    line-height: 1;
}

.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p  { margin: 0; color: var(--muted); line-height: 1.6; }

/* 卡片网格：4 列 → 2 列 → 1 列（响应式） */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

@media (max-width: 992px) {
    .grid-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .grid-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ================= Hero（深蓝渐变 + 搜索） ================= */
.hero {
    background: linear-gradient(135deg, #16324F 0%, #1E6FB8 100%);
    border-radius: 14px;
    color: #fff;
    padding: 48px 32px;
    text-align: center;
    position: relative;
}

.hero .hero-tag {
    display: inline-block;
    background: rgba(255, 138, 30, .18);
    border: 1px solid rgba(255, 138, 30, .45);
    color: var(--accent);
    font-size: 12px;
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.hero h1 { margin: 0 0 10px; font-size: 32px; }
.hero p  { margin: 0 0 22px; opacity: .88; }

.hero-search {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.hero-search .layui-input {
    height: 46px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    padding: 0 16px;
}

.hero-search .layui-btn {
    height: 46px;
    border-radius: 8px;
    padding: 0 28px;
    font-size: 15px;
    background: var(--accent);
}

.hero-search .layui-btn:hover { background: #FF9A40; }

@media (max-width: 576px) {
    .hero { padding: 32px 20px; }
    .hero h1 { font-size: 24px; }
    .hero-search { flex-direction: column; }
    .hero-search .layui-btn { width: 100%; }
}

/* ================= 区块标题 ================= */
.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 30px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--accent);
}

/* ================= 页脚（深蓝） ================= */
.site-footer {
    background: var(--brand-dark);
    border-top: 1px solid rgba(255, 255, 255, .06);
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, .55);
}

.site-footer p { margin: 0; }

/* ================= 按钮全局（覆盖 layui 默认绿） ================= */
.layui-btn {
    background-color: var(--brand);
}

.layui-btn:hover { background-color: #2B7FC9; }

.layui-btn-danger { background-color: #FF5722; }
.layui-btn-danger:hover { background-color: #FF7843; }

/* layui-btn-primary 保持浅色底深色字（上面的 .layui-btn 全局背景会把 primary 也涂成蓝底，
   而官方 primary 文字是深灰，蓝底灰字看不清——这里一次性纠正所有 primary 按钮） */
.layui-btn-primary {
    background-color: #fff;
    border-color: #d2d2d2;
    color: #5f5f5f;
}

.layui-btn-primary:hover {
    background-color: #f7f7f7;
    border-color: var(--brand);
    color: var(--brand);
}

/* ================= 登录页 ================= */
.login-wrap {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.login-card {
    width: 100%;
    max-width: 380px;
    padding: 32px 28px;
}

.login-card h2 {
    text-align: center;
    margin: 0 0 24px;
    font-size: 20px;
}

/* ================= 后台统计卡片 ================= */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 992px) {
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .stat-cards { grid-template-columns: 1fr; }
}

.stat-card .stat-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand);
    line-height: 1.2;
}

.stat-card .stat-label { color: var(--muted); margin-top: 4px; }

/* ================= 错误代码查询 ================= */
.errcode-page .search-panel {
    max-width: 720px;
    margin: 0 auto;
}

.errcode-page .search-box {
    display: flex;
    gap: 10px;
}

.errcode-page .search-box .layui-input {
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    padding: 0 16px;
    text-transform: uppercase;
}

.errcode-page .search-box .layui-btn {
    height: 48px;
    border-radius: 8px;
    padding: 0 32px;
    font-size: 16px;
}

@media (max-width: 576px) {
    .errcode-page .search-box { flex-direction: column; }
    .errcode-page .search-box .layui-btn { width: 100%; }
}

.err-hot-tags { text-align: center; margin-top: 14px; }
.err-hot-tags .layui-tag { cursor: pointer; margin: 0 4px 6px; }

/* 查询结果卡片（紧凑布局） */
.err-result { max-width: 720px; margin: 18px auto 0; display: none; }
.err-result.show { display: block; }

.err-code-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: Consolas, Monaco, monospace;
    padding: 3px 11px;
    border-radius: 6px;
    letter-spacing: 1px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.err-msg { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.err-item { margin-bottom: 5px; font-size: 13px; line-height: 1.5; }
.err-item b { color: var(--brand); margin-right: 5px; font-weight: 600; }
.err-item span { color: var(--text); }

/* 多条结果 */
.err-multi-tip {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}
.err-card {
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: #fff;
}
.err-card .err-code-badge { margin-bottom: 7px; }

.err-notfound { text-align: center; padding: 24px 0; color: var(--muted); }
.err-notfound .layui-icon { font-size: 40px; color: #d0d6de; margin-bottom: 8px; }

/* ================= 软件 / PDD 列表 ================= */
.soft-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.layui-tag {
    background: #EEF3F9;
    color: var(--brand);
    border-radius: 4px;
    font-size: 12px;
    padding: 2px 10px;
}

.layui-tag.tag-orange { background: rgba(255, 138, 30, .12); color: var(--accent); }
.layui-tag.tag-green  { background: rgba(26, 173, 25, .10); color: #1AAD19; }

.soft-desc { color: var(--muted); line-height: 1.6; margin-top: 8px; }

.download-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #E3E8EF;
}

.download-bar .file-size { color: var(--muted); font-size: 12px; }

/* ================= 自制软件详情 ================= */
.tool-detail .tool-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}

.tool-head .tool-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #16324F, #1E6FB8);
    color: #fff;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tool-head h2 { margin: 0 0 6px; font-size: 22px; }
.tool-head .tool-sub { color: var(--muted); }

.tool-info {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 768px) { .tool-info { grid-template-columns: repeat(2, 1fr); } }

.tool-info .ti {
    background: #F6F8FA;
    border-radius: 8px;
    padding: 12px;
}

.tool-info .ti .k { color: var(--muted); font-size: 12px; }
.tool-info .ti .v { font-weight: 600; margin-top: 2px; }

.download-btn-row { margin-top: 20px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 更新日志时间线 */
.changelog { margin-top: 8px; padding-left: 4px; }
.changelog .cl-item {
    position: relative;
    padding: 0 0 22px 26px;
    border-left: 2px solid #E3E8EF;
    margin-left: 8px;
}

.changelog .cl-item:last-child { border-left-color: transparent; padding-bottom: 4px; }

.changelog .cl-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(30, 111, 184, .25);
}

.changelog .cl-item.old::before { background: #C2CBD6; box-shadow: none; }

.changelog .cl-ver {
    font-weight: 700;
    color: var(--brand);
    margin-right: 10px;
}

.changelog .cl-date { color: var(--muted); font-size: 12px; }
.changelog ul { margin: 6px 0 0; padding-left: 18px; color: var(--text); }
.changelog ul li { margin-bottom: 4px; }

/* ================= 通用工具 ================= */
.panel { margin-bottom: 16px; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.hide { display: none !important; }

/* ================= PDD 品牌分类 ================= */
.pdd-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
}

.pdd-brand-tab {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background: #EEF3F9;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, color .2s;
    border: 1px solid transparent;
}

.pdd-brand-tab:hover { background: rgba(30, 111, 184, .12); color: var(--brand); }

.pdd-brand-tab.active {
    background: var(--brand);
    color: #fff;
}

.pdd-brand-list { margin-top: 14px; }

.pdd-brand-title {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--brand);
    padding-left: 10px;
    border-left: 4px solid var(--accent);
}

.pdd-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #E3E8EF;
}

.pdd-file-row:last-child { border-bottom: none; }

.pdd-file-name {
    font-weight: 600;
    font-size: 14px;
}

.pdd-file-name .layui-icon { color: var(--brand); margin-right: 6px; }

.pdd-file-desc { color: var(--muted); font-size: 12px; margin-top: 2px; }

@media (max-width: 576px) {
    .pdd-file-row { flex-direction: column; align-items: flex-start; }
    .pdd-file-row .layui-btn { width: 100%; }
}

/* ================= 软件下载（品牌分类列表式） ================= */
.soft-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
}

.soft-brand-tab {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    background: #EEF3F9;
    color: var(--text);
    font-size: 14px;
    cursor: pointer;
    transition: background .2s, color .2s;
    border: 1px solid transparent;
}

.soft-brand-tab:hover { background: rgba(30, 111, 184, .12); color: var(--brand); }

.soft-brand-tab.active {
    background: var(--brand);
    color: #fff;
}

.soft-brand-list { margin-top: 14px; }

.soft-brand-title {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--brand);
    padding-left: 10px;
    border-left: 4px solid var(--accent);
}

.soft-file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #E3E8EF;
}

.soft-file-row:last-child { border-bottom: none; }

.soft-file-name {
    font-weight: 600;
    font-size: 14px;
}

.soft-file-name .layui-icon { color: var(--brand); margin-right: 6px; }

.soft-file-desc { color: var(--muted); font-size: 12px; margin-top: 2px; }

@media (max-width: 576px) {
    .soft-file-row { flex-direction: column; align-items: flex-start; }
    .soft-file-row .layui-btn { width: 100%; }
}

/* ================= 用户登录 ================= */
.login-card {
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(8, 46, 90, .35);
}

.login-head { text-align: center; margin-bottom: 24px; }

.login-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-head h2 { margin: 0 0 4px; font-size: 20px; color: var(--text); }

.login-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.login-back { color: var(--brand); font-size: 13px; }

.login-tip { text-align: center; margin-top: 16px; font-size: 12px; }

/* ================= 用户中心 ================= */
.user-hero {
    display: flex;
    align-items: center;
    gap: 14px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-name { font-size: 17px; font-weight: 700; margin-bottom: 4px; }

.tag-admin {
    background: var(--accent) !important;
    color: #fff !important;
    font-size: 12px;
    margin-left: 6px;
}

.user-logout { margin-left: auto; }

.points-card { text-align: center; padding: 22px 16px; }

.points-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.points-label { color: var(--text); margin: 6px 0 4px; font-size: 14px; }

.points-card .text-muted { font-size: 12px; }

@media (max-width: 576px) {
    .user-hero { flex-wrap: wrap; }
    .user-logout { margin-left: 0; width: 100%; }
    .user-logout .layui-btn { width: 100%; }
}
/* ================= 修改密码 ================= */
.pwd-wrap { max-width: 680px; margin: 0 auto; padding: 20px 0; }

.pwd-head { text-align: center; margin-bottom: 24px; }

.pwd-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--accent));
    color: #fff;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pwd-head h2 { margin: 0 0 4px; font-size: 20px; color: var(--text); }

.pwd-tip { text-align: center; margin-top: 16px; font-size: 12px; }
/* ================= 导航管理员入口 ================= */
.nav-admin a {
    color: #fff;
    background: var(--accent);
    border-radius: 16px;
    padding: 3px 14px !important;
}

.nav-admin a:hover { background: var(--brand); color: #fff; }
/* ================= 用户中心（用户信息+积分同行 / 账户操作按钮） ================= */
.user-top {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.user-top .user-hero { flex: 2; margin-bottom: 0; }
.user-top .points-card { flex: 1; margin-bottom: 0; }

.act-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

/* 覆盖 layui 的 .layui-btn+.layui-btn 默认 10px 左间距，按钮间距统一由 .act-grid 的 gap 控制 */
.act-grid .layui-btn + .layui-btn,
.act-grid .act-btn + .act-btn {
    margin-left: 0;
}

.act-btn {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
}

@media (max-width: 768px) {
    .user-top { flex-direction: column; }
    .user-top .card { margin-bottom: 0; }
    .user-top .user-hero { flex: none; }
    .user-top .points-card { flex: none; }
    .act-grid { grid-template-columns: repeat(2, 1fr); }
    .act-span2 { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
    .grid-cards { grid-template-columns: 1fr; }
}
/* ================= 柯美CE重置代码 ================= */
.form-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

/* 一键识别（粘贴文本 → 正则提取） */
.ce-scan {
    margin-bottom: 18px;
    padding: 14px;
    border: 1px dashed var(--line, #e2e8f0);
    border-radius: 10px;
    background: #FAFBFD;
}

.ce-scan .form-label { font-size: 13px; }
.ce-scan .form-label .text-muted { font-weight: 400; font-size: 12px; }

.ce-scan-btn {
    margin-top: 10px;
    width: 100%;
}

.ce-scan-status {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

/* CE 历史记录入口 */
.ce-log-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--brand);
}

.ce-log-link:hover { color: var(--accent); }

/* CE 输入页：积分提示 */
.ce-points-tip {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.ce-points-tip .ce-points-num {
    color: #ff9800;
    font-size: 15px;
}

.ce-points-tip .ce-points-cost {
    color: var(--brand);
    font-size: 15px;
}

/* CE 历史记录列表 */
.ce-log-list { margin-top: 6px; }

.ce-log-item {
    border: 1px solid #edf0f5;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #FBFCFE;
}

.ce-log-item:first-child {
    border-color: var(--brand);
    box-shadow: 0 0 0 1px rgba(56, 112, 255, .08);
}

.ce-log-inline {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 7px 0;
}

.ce-log-inline .ce-log-label {
    flex: 0 0 76px;
}

.ce-log-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 7px 0;
}

.ce-log-label {
    color: #999;
    font-size: 12px;
}

.ce-log-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    word-break: break-all;
    line-height: 1.5;
}

.ce-log-code {
    font-family: Consolas, Menlo, monospace;
}

.ce-log-reset {
    color: var(--brand);
    background: rgba(56, 112, 255, 0.08);
    padding: 2px 10px;
    border-radius: 6px;
}

.ce-log-copy {
    align-self: flex-start;
    margin-top: 4px;
}

.ce-log-pager {
    text-align: center;
    margin-top: 16px;
}

.ce-log-pager ul { display: inline-flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.ce-log-pager li { display: inline-block; }
.ce-log-pager a, .ce-log-pager span {
    display: inline-block;
    min-width: 32px;
    padding: 5px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text);
    background: #fff;
    text-align: center;
}
.ce-log-pager .active span {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}
.ce-log-pager a:hover { border-color: var(--brand); color: var(--brand); }

.ce-log-empty {
    text-align: center;
    padding: 30px 0 10px;
    color: #999;
}

.ce-log-empty .layui-icon { font-size: 42px; display: block; margin-bottom: 8px; }
.ce-log-empty p { margin-bottom: 14px; font-size: 14px; }

/* ================= 管理后台 ================= */
.list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.list-head .section-title { margin: 0; }

.list-search { margin-bottom: 12px; }

.list-search .layui-btn { vertical-align: top; }

.form-card .pwd-card { max-width: 680px; }

/* 后台表格 */
.layui-table th, .layui-table td { font-size: 13px; }

/* 用户管理：手机端卡片列表（PC 表格，手机卡片） */
.user-cards { display: none; }

.user-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.user-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.user-card-mobile {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
}

.user-card-body { padding: 8px 0 2px; }

.user-card-row {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-bottom: 6px;
    gap: 8px;
}

.user-card-row .uc-label {
    color: #999;
    flex: none;
    width: 64px;
}

.user-card-row .uc-value {
    color: #333;
    word-break: break-all;
    min-width: 0;
}

.user-card-ops {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

@media (max-width: 768px) {
    .user-table-wrap { display: none; }
    .user-cards { display: block; }
    .list-search .layui-input-inline {
        width: auto !important;
        flex: 1 1 auto;
        min-width: 0;
    }
    .list-search {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }
    .list-search .layui-input-inline { margin-right: 0; }
}