/* ============ 任务悬赏平台 全局样式 ============ */
:root {
    --primary: #4f6ef7;
    --primary-dark: #3b57d9;
    --primary-light: #eef1ff;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --text: #1f2937;
    --text-2: #6b7280;
    --text-3: #9ca3af;
    --border: #e5e7eb;
    --bg: #f5f6fa;
    --card: #ffffff;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(31, 45, 61, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: var(--primary); }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
input, select, textarea, button { font-family: inherit; font-size: 14px; outline: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ============ 顶部导航 ============ */
.header { background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--text); }
.logo i { color: var(--primary); }
.logo span b { color: var(--primary); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--text-2); font-size: 15px; position: relative; padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--primary); }
.header-right { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: none; border-radius: 8px; padding: 8px 18px; cursor: pointer; font-size: 14px; transition: all .2s; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 12px rgba(79,110,247,.3); }
.btn-primary:hover { opacity: .9; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: .9; }
.btn-success { background: var(--success); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* 用户下拉 */
.user-menu { position: relative; cursor: pointer; }
.user-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.user-drop { position: absolute; right: 0; top: 44px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); min-width: 150px; padding: 8px 0; display: none; }
.user-menu:hover .user-drop { display: block; }
.user-drop a { display: block; padding: 8px 18px; color: var(--text); font-size: 14px; }
.user-drop a:hover { background: var(--primary-light); color: var(--primary); }

/* ============ Hero ============ */
.hero { background: linear-gradient(135deg, #4f6ef7 0%, #8b5cf6 100%); padding: 50px 0 70px; color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); top: -100px; right: -80px; }
.hero::after { content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.06); bottom: -60px; left: 10%; }
.hero h1 { font-size: 32px; margin-bottom: 10px; position: relative; z-index: 1; }
.hero p { opacity: .9; font-size: 15px; position: relative; z-index: 1; }
.search-box { margin-top: 26px; background: #fff; border-radius: 50px; padding: 6px; display: flex; max-width: 640px; box-shadow: 0 10px 30px rgba(0,0,0,.15); position: relative; z-index: 1; }
.search-box input { flex: 1; border: none; padding: 10px 18px; font-size: 15px; background: transparent; }
.search-box button { background: var(--primary); border: none; color: #fff; border-radius: 50px; padding: 10px 30px; cursor: pointer; font-size: 15px; }
.stats-row { display: flex; gap: 40px; margin-top: 26px; position: relative; z-index: 1; }
.stats-row .stat b { font-size: 24px; display: block; }
.stats-row .stat span { opacity: .8; font-size: 13px; }

/* ============ 板块 ============ */
.section { margin-top: 26px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title h2 { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.section-title h2 i { color: var(--primary); }
.section-title a { color: var(--text-3); font-size: 13px; }
.section-title a:hover { color: var(--primary); }

/* 推荐任务 4格 */
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rec-card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; position: relative; }
.rec-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(31,45,61,.15); }
.rec-card .rec-tag { position: absolute; top: 12px; left: 12px; background: rgba(239,68,68,.9); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; z-index: 2; }
.rec-card .rec-badge { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; z-index: 2; }
.rec-card .rec-cover { height: 130px; background: linear-gradient(135deg, #eef1ff, #f5f0ff); display: flex; align-items: center; justify-content: center; font-size: 42px; color: var(--primary); }
.rec-card .rec-cover img { width: 100%; height: 100%; object-fit: cover; }
.rec-card .rec-body { padding: 14px; }
.rec-card .rec-body h3 { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-card .rec-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.rec-card .rec-price { color: var(--danger); font-weight: 700; font-size: 17px; }
.rec-card .rec-price small { font-size: 12px; color: var(--text-3); font-weight: 400; }
.rec-card .rec-progress { margin-top: 10px; }
.rec-card .empty-slot { padding: 34px 10px; text-align: center; color: var(--text-3); }
.rec-card .empty-slot i { font-size: 34px; display: block; margin-bottom: 8px; color: #c7d2fe; }

/* 热门任务 */
.hot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hot-card { background: var(--card); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 1px solid var(--border); transition: transform .2s; display: flex; flex-direction: column; }
.hot-card:hover { transform: translateY(-3px); }
.hot-card h4 { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-card .hot-tag { font-size: 12px; color: var(--warning); background: #fef3c7; display: inline-block; padding: 2px 8px; border-radius: 4px; margin-bottom: 8px; }
.hot-card p { color: var(--text-3); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.hot-card .hot-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.hot-card .hot-price { color: var(--danger); font-weight: 700; }
.hot-card .empty-slot { text-align: center; color: var(--text-3); padding: 30px 0; }
.hot-card .empty-slot i { font-size: 30px; display: block; margin-bottom: 8px; color: #fde68a; }

/* 任务列表 */
.task-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; margin-top: 26px; }
.task-side { background: #fff; border-radius: var(--radius); padding: 18px; height: fit-content; box-shadow: var(--shadow); }
.task-side h3 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.task-side h3 i { color: var(--primary); }
.task-side .cate-item { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 8px; cursor: pointer; color: var(--text-2); margin-bottom: 2px; transition: all .15s; }
.task-side .cate-item:hover { background: var(--primary-light); color: var(--primary); }
.task-side .cate-item.active { background: var(--primary); color: #fff; }
.task-side .cate-item .num { font-size: 12px; opacity: .7; }
.task-side .side-sort { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
.task-side .side-sort a { display: block; padding: 8px 12px; color: var(--text-2); border-radius: 8px; font-size: 14px; }
.task-side .side-sort a:hover, .task-side .side-sort a.active { background: var(--primary-light); color: var(--primary); }

.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.task-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.task-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(31,45,61,.12); }
.task-card .tc-cover { height: 150px; background: linear-gradient(135deg, #eef1ff, #f9f5ff); display: flex; align-items: center; justify-content: center; font-size: 46px; color: var(--primary); position: relative; }
.task-card .tc-cover img { width: 100%; height: 100%; object-fit: cover; }
.task-card .tc-cover .tc-cate { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--primary); font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.task-card .tc-body { padding: 14px; }
.task-card .tc-body h3 { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.task-card .tc-desc { color: var(--text-3); font-size: 13px; margin: 6px 0 10px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.task-card .tc-meta { display: flex; align-items: center; justify-content: space-between; }
.task-card .tc-price { color: var(--danger); font-weight: 700; font-size: 18px; }
.task-card .tc-price small { font-size: 12px; color: var(--text-3); }
.task-card .tc-progress { margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.task-card .tc-progress .bar { flex: 1; height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.task-card .tc-progress .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #8b5cf6); border-radius: 3px; }
.task-card .tc-progress span { font-size: 12px; color: var(--text-3); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 30px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 8px; background: #fff; color: var(--text-2); border: 1px solid var(--border); font-size: 14px; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }

/* ============ 页面通用 ============ */
.page-wrap { padding: 30px 0 60px; }
.page-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.page-title { font-size: 20px; font-weight: 700; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.page-title i { color: var(--primary); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--text); }
.form-group .form-tip { color: var(--text-3); font-size: 12px; margin-top: 5px; }
.input, .textarea, .select { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; background: #fff; transition: border .2s, box-shadow .2s; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,110,247,.12); }
.textarea { min-height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { background: var(--primary-light); border-radius: 8px; padding: 12px 16px; color: var(--primary); font-size: 13px; margin-bottom: 20px; line-height: 1.7; }

/* 步骤编辑器 */
.step-item { background: var(--bg); border-radius: 10px; padding: 16px; margin-bottom: 14px; border: 1px solid var(--border); position: relative; }
.step-item .step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.step-item .step-num { background: var(--primary); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.step-item .del-step { color: var(--danger); cursor: pointer; font-size: 13px; }
.step-item .form-row { margin-top: 10px; }
.step-item .select { width: 100%; }

/* 任务详情 */
.detail-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 20px; margin-top: 26px; }
.detail-main { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.detail-side { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); height: fit-content; }
.detail-head { border-bottom: 1px solid var(--border); padding-bottom: 18px; margin-bottom: 18px; }
.detail-head h1 { font-size: 22px; margin-bottom: 12px; }
.detail-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 12px; background: var(--primary-light); color: var(--primary); }
.tag-warn { background: #fef3c7; color: #b45309; }
.tag-success { background: #dcfce7; color: #16a34a; }
.tag-danger { background: #fee2e2; color: #dc2626; }
.tag-gray { background: #f3f4f6; color: var(--text-2); }
.detail-desc { color: var(--text-2); line-height: 1.9; margin: 16px 0; white-space: pre-wrap; }
.detail-steps { margin-top: 16px; }
.step-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--border); }
.step-line:last-child { border-bottom: none; }
.step-line .sl-num { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.step-line .sl-body { flex: 1; }
.step-line .sl-body h4 { font-size: 15px; margin-bottom: 4px; }
.step-line .sl-body p { color: var(--text-3); font-size: 13px; white-space: pre-wrap; }
.step-line .sl-body .sl-ev { margin-top: 6px; font-size: 12px; color: var(--primary); }

.side-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.side-item:last-child { border-bottom: none; }
.side-item span { color: var(--text-3); }
.side-item b { color: var(--text); }
.side-price { font-size: 26px; color: var(--danger); font-weight: 700; text-align: center; padding: 16px 0; }
.side-price small { font-size: 13px; color: var(--text-3); font-weight: 400; }
.side-actions { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }

/* 工作台 */
.work-step { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px; border: 1px solid var(--border); }
.work-step.done { border-color: var(--success); background: #f0fdf4; }
.work-step .ws-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.work-step .ws-num { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.work-step.done .ws-num { background: var(--success); }
.work-step .ws-head h3 { font-size: 16px; }
.work-step .ws-status { margin-left: auto; font-size: 12px; padding: 3px 10px; border-radius: 20px; background: #f3f4f6; color: var(--text-2); }
.work-step.done .ws-status { background: #dcfce7; color: #16a34a; }
.work-step .ws-desc { color: var(--text-2); margin-bottom: 14px; white-space: pre-wrap; }
.work-step .ev-upload { border: 2px dashed var(--border); border-radius: 8px; padding: 20px; text-align: center; color: var(--text-3); cursor: pointer; transition: all .2s; }
.work-step .ev-upload:hover { border-color: var(--primary); color: var(--primary); }
.work-step .ev-preview { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.work-step .ev-preview img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }

/* 用户中心 */
.uc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 20px; }
.uc-side { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); height: fit-content; }
.uc-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; margin: 0 auto 10px; }
.uc-name { text-align: center; font-weight: 600; }
.uc-email { text-align: center; color: var(--text-3); font-size: 12px; margin-bottom: 16px; word-break: break-all; }
.uc-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; color: var(--text-2); margin-bottom: 2px; transition: all .15s; }
.uc-menu a:hover { background: var(--primary-light); color: var(--primary); }
.uc-menu a.active { background: var(--primary); color: #fff; }
.uc-main { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); min-height: 500px; }
.wallet-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.wallet-card { background: linear-gradient(135deg, #4f6ef7, #8b5cf6); color: #fff; border-radius: var(--radius); padding: 20px; }
.wallet-card.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.wallet-card.orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.wallet-card .wc-label { font-size: 13px; opacity: .85; }
.wallet-card .wc-value { font-size: 26px; font-weight: 700; margin-top: 6px; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; }
.table th { background: #f9fafb; color: var(--text-2); font-weight: 600; text-align: left; padding: 12px 14px; font-size: 13px; border-bottom: 1px solid var(--border); }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; }
.table tr:hover td { background: #fafbfc; }
.table .money { color: var(--danger); font-weight: 600; }
.table .money-in { color: var(--success); font-weight: 600; }

/* 标签页 */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.tabs a { padding: 10px 18px; color: var(--text-2); border-bottom: 2px solid transparent; font-size: 15px; }
.tabs a:hover { color: var(--primary); }
.tabs a.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

/* 进度条 */
.bar { height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), #8b5cf6); border-radius: 3px; }

/* 空状态 */
.empty { text-align: center; padding: 50px 0; color: var(--text-3); }
.empty i { font-size: 48px; display: block; margin-bottom: 12px; color: #c7d2fe; }

/* 广告中心 */
.ad-slot-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.ad-slot-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ad-slot-head h3 { font-size: 16px; }
.ad-slot-price { font-size: 22px; color: var(--danger); font-weight: 700; }
.ad-slot-price small { font-size: 13px; color: var(--text-3); }
.ad-current { background: var(--bg); border-radius: 8px; padding: 12px; margin: 12px 0; font-size: 13px; color: var(--text-2); }
.ad-current b { color: var(--primary); }
.ad-actions { display: flex; gap: 10px; margin-top: 12px; }
.ad-actions select, .ad-actions input { flex: 1; }

/* ============ 后台 ============ */
.admin-body { display: flex; min-height: 100vh; }
.admin-side { width: 220px; background: #1e293b; color: #fff; padding-top: 20px; position: fixed; top: 0; bottom: 0; left: 0; overflow-y: auto; }
.admin-side .admin-logo { padding: 0 20px 20px; font-size: 18px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.admin-side .admin-logo i { color: #8b5cf6; }
.admin-side .menu-group { margin-bottom: 6px; }
.admin-side .menu-group h4 { padding: 8px 20px; font-size: 12px; color: #64748b; font-weight: 400; }
.admin-side .menu-group a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: #cbd5e1; font-size: 14px; transition: all .15s; }
.admin-side .menu-group a:hover { background: rgba(255,255,255,.06); color: #fff; }
.admin-side .menu-group a.active { background: var(--primary); color: #fff; }
.admin-main { flex: 1; margin-left: 220px; background: var(--bg); min-height: 100vh; }
.admin-top { background: #fff; padding: 0 24px; height: 60px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.admin-top h2 { font-size: 18px; }
.admin-content { padding: 24px; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stat-card .sc-num { font-size: 28px; font-weight: 700; color: var(--primary); }
.stat-card .sc-label { color: var(--text-3); font-size: 13px; margin-top: 4px; }
.stat-card.orange .sc-num { color: var(--warning); }
.stat-card.green .sc-num { color: var(--success); }
.stat-card.red .sc-num { color: var(--danger); }
.admin-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.admin-card .ac-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.admin-card .ac-title i { color: var(--primary); }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .input { width: 240px; }

/* Toast */
#toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 9999; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { background: #fff; border-radius: 10px; padding: 12px 24px; box-shadow: 0 8px 24px rgba(0,0,0,.15); font-size: 14px; display: flex; align-items: center; gap: 8px; animation: toastIn .3s; max-width: 90vw; }
.toast.success { color: var(--success); }
.toast.error { color: var(--danger); }
.toast.info { color: var(--primary); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* 弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal-mask.show { display: flex; }
.modal { background: #fff; border-radius: 14px; width: 480px; max-width: 92vw; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.2); animation: modalIn .25s; }
@keyframes modalIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.modal h3 { font-size: 18px; margin-bottom: 16px; }
.modal .modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* 登录注册页 */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #4f6ef7, #8b5cf6); padding: 20px; }
.auth-card { background: #fff; border-radius: 16px; padding: 36px; width: 420px; max-width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.auth-card .auth-logo { text-align: center; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.auth-card .auth-logo i { color: var(--primary); }
.auth-card .auth-sub { text-align: center; color: var(--text-3); font-size: 13px; margin-bottom: 24px; }
.auth-card .form-group label { font-size: 13px; color: var(--text-2); }
.auth-foot { text-align: center; margin-top: 16px; color: var(--text-3); font-size: 13px; }
.code-row { display: flex; gap: 10px; }
.code-row .input { flex: 1; }
.code-row .btn { width: 120px; }

/* 页脚 */
.footer { background: #1e293b; color: #94a3b8; padding: 30px 0; margin-top: 50px; font-size: 13px; }
.footer .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer a { color: #94a3b8; margin-left: 16px; }
.footer a:hover { color: #fff; }

/* 响应式 */
@media (max-width: 992px) {
    .rec-grid, .hot-grid, .task-grid { grid-template-columns: repeat(2, 1fr); }
    .task-layout, .uc-layout, .detail-wrap { grid-template-columns: 1fr; }
    .task-side { display: none; }
    .wallet-cards { grid-template-columns: 1fr 1fr; }
    .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .nav { display: none; }
    .rec-grid, .hot-grid, .task-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .wallet-cards { grid-template-columns: 1fr; }
    .stats-row { gap: 20px; flex-wrap: wrap; }
    .admin-side { display: none; }
    .admin-main { margin-left: 0; }
    .hero h1 { font-size: 24px; }
}

/* ============ 站点Logo ============ */
.logo-img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ============ 热门任务角标 ============ */
.hot-badge { position: absolute; top: 10px; right: 10px; background: linear-gradient(135deg, #f59e0b, #ef4444); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; box-shadow: 0 2px 8px rgba(245,158,11,.4); }
.hot-mark .tc-cover { background: linear-gradient(135deg, #fff7ed, #fef3c7); }

/* ============ 平台公告弹窗 ============ */
.announcement-content { color: var(--text-2); line-height: 1.9; max-height: 50vh; overflow-y: auto; white-space: pre-wrap; font-size: 14px; background: var(--bg); border-radius: 8px; padding: 16px; }

/* ============ 手机底部导航 ============ */
.mobile-nav { display: none; }
@media (max-width: 768px) {
    body { padding-bottom: 62px; }
    .mobile-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; height: 56px; background: #fff; border-top: 1px solid var(--border); z-index: 200; align-items: stretch; }
    .mobile-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--text-3); font-size: 11px; }
    .mobile-nav a i { font-size: 18px; }
    .mobile-nav a.active { color: var(--primary); }
    .mobile-nav a.mobile-nav-main { color: #fff; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); margin: -12px 8px 0; border-radius: 50%; height: 46px; width: 46px; align-self: center; box-shadow: 0 4px 12px rgba(79,110,247,.4); flex: none; }
    .footer { margin-bottom: 56px; }
}

/* ============ 个人中心：资料卡 ============ */
.profile-card { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #eef1ff, #f9f5ff); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; flex-wrap: wrap; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { flex: 1; min-width: 140px; }
.profile-name { font-size: 18px; font-weight: 700; }
.profile-email { color: var(--text-3); font-size: 13px; margin-top: 2px; }
.profile-actions { display: flex; gap: 10px; }

/* ============ 个人中心：拉新 ============ */
.invite-box { background: linear-gradient(135deg, #eef1ff, #f9f5ff); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.invite-label { font-weight: 600; margin-bottom: 10px; font-size: 15px; }
.invite-row { display: flex; gap: 10px; }
.invite-row .input { flex: 1; background: #fff; }
.invite-tip { color: var(--text-3); font-size: 12px; margin-top: 8px; }
.invite-code { margin-top: 10px; font-size: 13px; color: var(--text-2); }
.invite-code b { color: var(--primary); font-size: 15px; }
.referral-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.referral-card { background: linear-gradient(135deg, #4f6ef7, #8b5cf6); color: #fff; border-radius: var(--radius); padding: 20px; text-align: center; }
.referral-card.green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.referral-card.orange { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.referral-card .rc-num { font-size: 28px; font-weight: 700; }
.referral-card .rc-label { font-size: 13px; opacity: .9; margin-top: 6px; }

/* ============ 发布任务：上传控件 ============ */
.qr-upload, .cover-upload, .avatar-upload { border: 2px dashed var(--border); border-radius: 8px; padding: 18px; text-align: center; color: var(--text-3); cursor: pointer; transition: all .2s; background: #fff; }
.qr-upload:hover, .cover-upload:hover, .avatar-upload:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.qr-upload i { font-size: 28px; display: block; margin-bottom: 6px; color: var(--primary); }
.cover-upload i { font-size: 22px; display: block; margin-bottom: 4px; color: var(--primary); }

/* ============ 详情页：操作方式 ============ */
.sl-action { margin-top: 8px; font-size: 13px; color: var(--text-2); }
.sl-action-value { margin-top: 8px; }
.sl-action-value img { max-width: 140px; border-radius: 8px; border: 1px solid var(--border); cursor: zoom-in; }
.sl-action-value a { word-break: break-all; color: var(--primary); font-size: 13px; }
.detail-cover { margin: 16px 0; }
.detail-cover img { max-height: 320px; object-fit: contain; border-radius: 12px; margin: 0 auto; }

/* ============ 工作台：操作方式 ============ */
.ws-action { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; margin-bottom: 14px; }
.ws-action-label { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ws-action-label i { color: var(--primary); }
.ws-qr { margin-top: 12px; text-align: center; }
.ws-qr img { max-width: 180px; border-radius: 10px; border: 1px solid var(--border); margin: 0 auto; cursor: zoom-in; }
.ws-link { margin-top: 10px; }
.ws-link a { word-break: break-all; color: var(--primary); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ============ 响应式优化 ============ */
@media (max-width: 992px) {
    .referral-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 576px) {
    /* 推荐任务在手机上保持 2*2 结构 */
    .rec-grid { grid-template-columns: repeat(2, 1fr); }
    .task-grid { grid-template-columns: repeat(2, 1fr); }
    .rec-card .rec-body h3 { font-size: 13px; }
    .rec-card .rec-price { font-size: 15px; }
    .profile-card { flex-direction: column; align-items: flex-start; }
    .profile-actions { width: 100%; }
    .profile-actions .btn { flex: 1; }
    .invite-row { flex-direction: column; }
    .referral-cards { grid-template-columns: 1fr 1fr; }
    .referral-card:last-child { grid-column: span 2; }
}

/* ============ 后台手机端导航 ============ */
.admin-menu-btn { display: none; background: transparent; border: none; font-size: 20px; color: var(--text-2); cursor: pointer; padding: 4px; }
.admin-mask { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 900; }
@media (max-width: 768px) {
    .admin-menu-btn { display: inline-flex; align-items: center; justify-content: center; }
    .admin-side { display: block; transform: translateX(-100%); transition: transform .25s ease; z-index: 1000; box-shadow: 2px 0 20px rgba(0,0,0,.3); }
    .admin-side.open { transform: translateX(0); }
    .admin-mask.show { display: block; }
}

/* ============ 手机版个人中心 ============ */
.m-uc { display: flex; flex-direction: column; gap: 14px; padding-bottom: 80px; }

/* 欢迎语 */
.m-uc-greeting { font-size: 12px; opacity: .85; margin-bottom: 14px; position: relative; z-index: 2; letter-spacing: .3px; }

/* 背景装饰 */
.m-uc-bg-decor { position: absolute; border-radius: 50%; pointer-events: none; }
.m-uc-bg-decor-1 { width: 200px; height: 200px; top: -90px; right: -60px; background: rgba(255,255,255,.08); }
.m-uc-bg-decor-2 { width: 130px; height: 130px; bottom: -70px; left: -30px; background: rgba(255,255,255,.05); }
.m-uc-bg-decor-3 { width: 60px; height: 60px; top: 30px; right: 60px; background: rgba(255,255,255,.06); }

.m-uc-real-badge { font-size: 11px; padding: 3px 10px; border-radius: 20px; backdrop-filter: blur(4px); background: rgba(255,255,255,.9); }
.m-uc-real-badge.tag-success { background: rgba(220,252,231,.95); }
.m-uc-real-badge.tag-warn { background: rgba(254,243,199,.95); }
.m-uc-real-badge.tag-danger { background: rgba(254,226,226,.95); }

/* 钱包数字发光 */
.m-uc-wallet { position: relative; }
.m-uc-wallet::before { content: ''; position: absolute; top: 0; left: 16px; right: 16px; height: 1px; background: linear-gradient(90deg, transparent, rgba(79,110,247,.18), transparent); }
.m-uc-wallet-value { font-variant-numeric: tabular-nums; }
.m-uc-wallet-item:nth-child(2) .m-uc-wallet-value { color: var(--warning); }
.m-uc-wallet-item:nth-child(3) .m-uc-wallet-value { color: var(--success); }

/* 快捷入口 hover */
.m-uc-quick-item { box-shadow: 0 6px 18px rgba(31,45,61,.08); }
.m-uc-quick-item:hover { box-shadow: 0 8px 22px rgba(79,110,247,.15); transform: translateY(-2px); }
.m-uc-quick-item i { font-size: 15px; }

/* 用户信息卡 */
.m-uc-card { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(79,110,247,.18); background: #fff; }
.m-uc-top { position: relative; background: linear-gradient(135deg, #5b7cfa 0%, #7c5cf0 60%, #8b5cf6 100%); padding: 26px 18px 20px; color: #fff; overflow: hidden; }
.m-uc-top::before { content: ''; position: absolute; top: -60px; right: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.10); }
.m-uc-top::after { content: ''; position: absolute; bottom: -80px; left: -30px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.06); }
.m-uc-profile { display: flex; align-items: center; gap: 16px; position: relative; z-index: 2; }
.m-uc-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,.22); border: 3px solid rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 700; cursor: pointer; position: relative; flex: none; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.22); transition: transform .2s; }
.m-uc-avatar:active { transform: scale(.94); }
.m-uc-avatar img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 50% !important; display: block; }
.m-uc-avatar-badge { position: absolute; right: -1px; bottom: -1px; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.25); border: 2px solid #fff; }
.m-uc-info { flex: 1; min-width: 0; }
.m-uc-name { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 4px rgba(0,0,0,.15); }
.m-uc-edit { color: rgba(255,255,255,.85); font-size: 13px; }
.m-uc-id { font-size: 12px; opacity: .9; margin-top: 5px; }
.m-uc-invite { font-size: 12px; opacity: .95; margin-top: 3px; }
.m-uc-invite b { font-size: 14px; letter-spacing: .5px; }
.m-uc-wallet { display: flex; background: #fff; padding: 16px 0 14px; position: relative; z-index: 2; }
.m-uc-wallet-item { flex: 1; text-align: center; border-right: 1px solid var(--border); }
.m-uc-wallet-item:last-child { border-right: none; }
.m-uc-wallet-label { font-size: 12px; color: var(--text-3); }
.m-uc-wallet-value { font-size: 20px; font-weight: 700; color: var(--text); margin-top: 4px; }
.m-uc-wallet-item:first-child .m-uc-wallet-value { color: var(--primary); }
.m-uc-actions { display: flex; gap: 12px; padding: 0 16px 18px; position: relative; z-index: 2; }
.m-uc-btn { flex: 1; text-align: center; padding: 12px 0; border-radius: 12px; font-size: 14px; font-weight: 600; transition: all .2s; }
.m-uc-btn.recharge { background: #eef1ff; color: var(--primary); }
.m-uc-btn.recharge:active { background: #e0e6ff; }
.m-uc-btn.withdraw { background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; box-shadow: 0 6px 16px rgba(79,110,247,.35); }
.m-uc-btn.withdraw:active { transform: scale(.97); }

/* 功能九宫格 */
.m-uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 8px; background: #fff; border-radius: 20px; box-shadow: 0 6px 20px rgba(31,45,61,.06); padding: 18px 12px; }
.m-uc-grid-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 10px 4px; border-radius: 14px; transition: all .2s; }
.m-uc-grid-item:active { background: var(--bg); transform: scale(.95); }
.m-uc-grid-icon { width: 50px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.m-uc-grid-label { font-size: 12px; color: var(--text-2); font-weight: 500; }

/* 快捷入口 */
.m-uc-quick { display: flex; gap: 12px; }
.m-uc-quick-item { flex: 1; background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(31,45,61,.06); padding: 14px; text-align: center; font-size: 13px; color: var(--primary); font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 6px; transition: all .2s; }
.m-uc-quick-item:active { transform: scale(.96); background: var(--primary-light); }

/* ============ 账号安全列表 ============ */
.uc-security-list { display: flex; flex-direction: column; gap: 12px; }
.sec-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.sec-info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.sec-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; }
.sec-title { font-size: 15px; font-weight: 600; }
.sec-desc { font-size: 12px; color: var(--text-3); margin-top: 3px; word-break: break-all; }
@media (max-width: 576px) {
    .sec-item { padding: 12px; }
    .sec-icon { width: 38px; height: 38px; font-size: 15px; }
}

/* ============ 手机端个人中心子页返回条 & 隐藏侧边栏 ============ */
.m-uc-back { display: none; }
@media (max-width: 768px) {
    .mobile-hidden { display: none !important; }
    .m-uc-back { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
    .m-uc-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-size: 13px; font-weight: 600; }
}

/* ============ 手机端个人中心子页面 ============ */
.m-sub-head { display: flex; align-items: center; gap: 10px; padding: 6px 2px 2px; }
.m-back-btn { width: 34px; height: 34px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(31,45,61,.08); display: flex; align-items: center; justify-content: center; color: var(--text-2); font-size: 15px; flex: none; transition: all .2s; }
.m-back-btn:active { transform: scale(.92); color: var(--primary); }
.m-sub-title { flex: 1; font-size: 17px; font-weight: 700; color: var(--text); }
.m-sub-title i { color: var(--primary); margin-right: 4px; }
.m-sub-add { width: 34px; height: 34px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none; box-shadow: 0 4px 14px rgba(79,110,247,.3); }
.m-sub-add:active { transform: scale(.92); }

.m-sub-card { background: #fff; border-radius: 18px; box-shadow: 0 6px 20px rgba(31,45,61,.06); padding: 16px; }
.m-sub-card + .m-sub-card { margin-top: 12px; }
.m-sub-title-sm { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.m-sub-title-sm i { color: var(--primary); }

.m-task-item { border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 10px; background: var(--bg); }
.m-task-item:last-child { margin-bottom: 0; }
.m-task-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.m-task-title { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.4; flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-task-price { color: var(--danger); font-weight: 700; font-size: 16px; flex: none; }
.m-task-st { flex: none; }
.m-task-meta { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--text-3); margin-top: 8px; flex-wrap: wrap; }
.m-task-meta b { color: var(--primary); }
.m-task-ops { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.m-task-ops .btn { border-radius: 10px; }

.m-empty { text-align: center; color: var(--text-3); font-size: 13px; padding: 30px 10px; }
.m-empty i { display: block; font-size: 30px; margin-bottom: 10px; color: var(--border-strong); }

.m-wallet-sum { display: flex; background: #fff; border-radius: 18px; box-shadow: 0 6px 20px rgba(31,45,61,.06); padding: 18px 0; }
.m-wallet-sum-item { flex: 1; text-align: center; border-right: 1px solid var(--border); }
.m-wallet-sum-item:last-child { border-right: none; }
.m-wallet-sum-item .label { font-size: 12px; color: var(--text-3); }
.m-wallet-sum-item .value { font-size: 18px; font-weight: 700; margin-top: 5px; }
.m-wallet-sum-item .value.primary { color: var(--primary); }
.m-wallet-sum-item .value.warning { color: var(--warning); }
.m-wallet-sum-item .value.success { color: var(--success); }
.m-wallet-actions { display: flex; gap: 12px; }
.m-wallet-actions .m-uc-btn { padding: 12px 0; border-radius: 12px; font-size: 14px; font-weight: 600; text-align: center; flex: 1; }
.m-wallet-actions .recharge { background: #eef1ff; color: var(--primary); }
.m-wallet-actions .withdraw { background: linear-gradient(135deg, var(--primary), #8b5cf6); color: #fff; box-shadow: 0 6px 16px rgba(79,110,247,.35); }

.m-flow-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.m-flow-item:last-child { border-bottom: none; }
.m-flow-left { flex: 1; min-width: 0; }
.m-flow-type { font-size: 14px; font-weight: 600; color: var(--text); }
.m-flow-time { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.m-flow-remark { font-size: 12px; color: var(--text-3); margin-top: 3px; word-break: break-all; }
.m-flow-amount { font-size: 16px; font-weight: 700; flex: none; }
.m-flow-amount.in { color: var(--success); }
.m-flow-amount.out { color: var(--danger); }

.m-invite-box { background: linear-gradient(135deg, #5b7cfa 0%, #7c5cf0 60%, #8b5cf6 100%); border-radius: 18px; padding: 20px 16px; box-shadow: 0 8px 24px rgba(79,110,247,.25); }
.m-invite-label { color: rgba(255,255,255,.9); font-size: 13px; margin-bottom: 10px; }
.m-invite-row { display: flex; gap: 8px; }
.m-invite-row .input { flex: 1; min-width: 0; border-radius: 10px; border: none; padding: 10px 12px; font-size: 13px; }
.m-invite-row .btn { border-radius: 10px; }
.m-invite-code { color: rgba(255,255,255,.95); font-size: 13px; margin-top: 10px; }
.m-invite-code b { font-size: 16px; letter-spacing: .5px; }

.m-referral-cards { display: flex; gap: 10px; }
.m-ref-card { flex: 1; background: #fff; border-radius: 16px; box-shadow: 0 6px 20px rgba(31,45,61,.06); padding: 14px 8px; text-align: center; }
.m-ref-card .num { font-size: 22px; font-weight: 800; color: var(--primary); }
.m-ref-card.green .num { color: var(--success); }
.m-ref-card.orange .num { color: var(--warning); }
.m-ref-card .label { font-size: 12px; color: var(--text-2); margin-top: 6px; }

.m-ref-user { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--border); }
.m-ref-user:last-child { border-bottom: none; }
.m-ref-user-name { font-size: 15px; font-weight: 600; color: var(--text); flex: 1; min-width: 0; }
.m-ref-user-meta { font-size: 12px; color: var(--text-3); }

.m-tip { background: #eef2ff; color: #4f46e5; border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.7; }
.m-tip b { color: var(--primary); }

.m-notice-item { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.m-notice-item:last-child { border-bottom: none; }
.m-notice-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.m-notice-top b { font-size: 14px; color: var(--text); }
.m-notice-top span { font-size: 12px; color: var(--text-3); flex: none; }
.m-notice-content { font-size: 13px; color: var(--text-2); margin-top: 6px; line-height: 1.7; word-break: break-all; }

.m-review-item { border: 1px solid var(--border); border-radius: 14px; padding: 14px; margin-bottom: 12px; background: var(--bg); }
.m-review-item:last-child { margin-bottom: 0; }
.m-review-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.m-review-head b { font-size: 15px; color: var(--text); }
.m-review-step { background: #fff; border-radius: 12px; border: 1px solid var(--border); padding: 12px; margin-bottom: 8px; }
.m-review-step-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.m-review-step-top b { color: var(--text); }
.m-review-step-top span { font-size: 12px; color: var(--text-3); flex: none; }
.m-review-evidence { margin-top: 8px; font-size: 13px; color: var(--text-2); word-break: break-all; }
.m-review-evidence img { max-width: 100%; max-height: 220px; border-radius: 10px; object-fit: cover; display: block; }
.m-review-no-evidence { margin-top: 8px; font-size: 12px; color: var(--text-3); }
.m-review-ops { margin-top: 10px; }
.m-review-ops .input { width: 100%; margin-bottom: 8px; }
.m-review-btns { display: flex; gap: 10px; }
.m-review-btns .btn { flex: 1; border-radius: 10px; }
.m-review-reason { margin-top: 10px; font-size: 13px; color: var(--danger); }
