/* =========================================================
   淮安就业网 ha91 —— 前台样式
   ========================================================= */
:root {
    --primary: #1657d8;
    --primary-dark: #1043ab;
    --primary-light: #eaf1ff;
    --accent: #ff6a13;
    --accent-light: #fff2e9;
    --green: #12a06a;
    --text: #1d2433;
    --text-2: #5a6478;
    --text-3: #8a93a6;
    --line: #e6eaf2;
    --bg: #f5f7fb;
    --white: #fff;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 12px rgba(23, 47, 97, .06);
    --shadow-lg: 0 10px 30px rgba(23, 47, 97, .12);
    --max: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

a { color: inherit; text-decoration: none; transition: color .18s; }
a:hover { color: var(--primary); }
img { max-width: 100%; vertical-align: middle; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; line-height: 1.35; }
p { margin: 0 0 10px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: 14px; }
table { border-collapse: collapse; width: 100%; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-main { min-height: 60vh; }

/* ---------- 顶部条 ---------- */
.topbar {
    background: #0d2a5c;
    color: #c9d8f5;
    font-size: 12.5px;
    line-height: 34px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: #c9d8f5; }
.topbar a:hover { color: #fff; }
.topbar-left span { margin-right: 16px; }
.topbar-left i { font-style: normal; color: #ffb27a; margin-right: 4px; }
.topbar-links a { margin-left: 16px; }

/* ---------- 头部 ---------- */
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .container { display: flex; align-items: center; height: 72px; gap: 28px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 11px;
    background: linear-gradient(135deg, #2b7bf5, #0f47b8);
    color: #fff; font-weight: 800; font-size: 17px; letter-spacing: -.5px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 14px rgba(22, 87, 216, .28);
}
.logo-text b { display: block; font-size: 19px; letter-spacing: 1px; color: #10254d; }
.logo-text small { display: block; font-size: 11px; color: var(--text-3); letter-spacing: 2px; text-transform: uppercase; }

.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
    padding: 8px 14px; border-radius: 8px; font-size: 15px; color: #2c3547; font-weight: 500;
}
.nav a:hover { background: var(--primary-light); color: var(--primary); }
.nav a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }
.nav a.hot::after {
    content: "热"; display: inline-block; margin-left: 4px; font-size: 10px; line-height: 15px;
    background: var(--accent); color: #fff; border-radius: 4px; padding: 0 4px; vertical-align: 2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-user { display: flex; align-items: center; gap: 8px; }
.header-user .avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--primary-light); }
.header-user .avatar-ph {
    width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-weight: 600;
}

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 38px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent;
    background: #fff; color: var(--text); cursor: pointer; font-size: 14px; font-weight: 500;
    transition: all .18s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(22, 87, 216, .22); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(255, 106, 19, .25); }
.btn-accent:hover { color: #fff; filter: brightness(.96); }
.btn-ghost { border-color: var(--line); color: var(--text-2); background: #fff; }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: var(--primary-light); color: var(--primary); }
.btn-light:hover { background: #dfe9ff; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; border-radius: 6px; }
.btn-lg { height: 46px; padding: 0 28px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- 首页 Hero ---------- */
.hero {
    background: linear-gradient(115deg, #0e46b4 0%, #1667e8 45%, #2f8bf6 100%);
    color: #fff; padding: 46px 0 54px; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0) 65%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 { font-size: 34px; letter-spacing: 1px; margin-bottom: 10px; }
.hero h1 em { font-style: normal; color: #ffd08a; }
.hero p.sub { color: #d3e3ff; font-size: 15px; margin-bottom: 26px; }

.search-panel { background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--shadow-lg); display: flex; gap: 8px; }
.search-panel select, .search-panel input {
    height: 48px; border: none; outline: none; border-radius: 8px; padding: 0 14px; font-size: 15px; color: var(--text); background: #f5f7fb;
}
.search-panel select { width: 140px; flex-shrink: 0; cursor: pointer; }
.search-panel input { flex: 1; min-width: 0; }
.search-panel input::placeholder { color: var(--text-3); }
.search-panel .btn { height: 48px; padding: 0 30px; font-size: 16px; }

.hero-tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: #cfe0ff; }
.hero-tags a { color: #eaf2ff; background: rgba(255,255,255,.14); padding: 3px 10px; border-radius: 20px; }
.hero-tags a:hover { background: rgba(255,255,255,.26); color: #fff; }

.hero-stats { display: flex; gap: 34px; margin-top: 26px; }
.hero-stats div b { font-size: 24px; color: #fff; }
.hero-stats div span { font-size: 13px; color: #c8dcff; margin-left: 4px; }

/* ---------- 通用区块 ---------- */
.section { padding: 34px 0 6px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 21px; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 4px; height: 20px; background: var(--primary); border-radius: 3px; }
.section-title small { font-size: 13px; color: var(--text-3); font-weight: 400; margin-left: 4px; }
.section-more { font-size: 13px; color: var(--text-3); }
.section-more:hover { color: var(--primary); }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.panel { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 16px; }
.panel-title { font-size: 16px; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; }
.panel-title > span:first-child { display: inline-flex; align-items: center; }
.panel-title > span:first-child::before { content: ""; width: 3px; height: 15px; background: var(--primary); border-radius: 2px; margin-right: 8px; }

/* 两栏布局 */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; padding: 24px 0 40px; }
.layout-main { min-width: 0; }
.side-widget { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.side-widget + .side-widget { margin-top: 16px; }
.side-widget h3 { font-size: 15px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.side-widget h3::before { content: ""; width: 3px; height: 14px; background: var(--primary); border-radius: 2px; }

/* ---------- 职位卡片 ---------- */
.job-list { display: grid; gap: 12px; }
.job-list.grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.job-card {
    background: #fff; border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow);
    display: block; transition: transform .18s, box-shadow .18s; position: relative; border: 1px solid transparent;
}
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: #d7e4ff; }
.job-card-main { display: flex; justify-content: space-between; gap: 16px; }
.job-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.job-card h3 a:hover { color: var(--primary); }
.job-salary { color: var(--accent); font-weight: 700; font-size: 17px; white-space: nowrap; }
.job-salary small { font-weight: 400; font-size: 12px; color: #ff9b62; }
.job-meta { color: var(--text-3); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 10px; }
.job-meta span { display: inline-flex; align-items: center; gap: 4px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    font-size: 12px; padding: 2px 8px; border-radius: 4px; background: #f2f5fa; color: var(--text-2);
}
.tag.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag.tag-orange { background: var(--accent-light); color: #d8570a; }
.tag.tag-green { background: #e8f8f0; color: var(--green); }
.job-card-foot {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; font-size: 12.5px; color: var(--text-3);
}
.company-line { display: flex; align-items: center; gap: 8px; }
.company-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.badge-urgent {
    position: absolute; top: -1px; right: 16px; background: var(--accent); color: #fff;
    font-size: 11px; padding: 2px 8px; border-radius: 0 0 6px 6px;
}
.badge-top { background: var(--green); }
.job-card-list .job-card-main { align-items: flex-start; }

/* ---------- 企业卡片 ---------- */
.company-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.company-card {
    background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow);
    transition: transform .18s, box-shadow .18s; display: block;
}
.company-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.company-card .company-logo { width: 46px; height: 46px; font-size: 18px; border-radius: 10px; }
.company-card h4 { font-size: 14.5px; margin: 10px 0 4px; }
.company-card .meta { font-size: 12.5px; color: var(--text-3); }
.company-card .jobs { margin-top: 10px; font-size: 12.5px; color: var(--primary); }

/* ---------- 分类宫格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat-item {
    background: #fff; border-radius: var(--radius); padding: 16px 14px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 4px; transition: all .18s;
}
.cat-item:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.cat-item b { font-size: 14.5px; font-weight: 600; }
.cat-item span { font-size: 12px; color: var(--text-3); }
.cat-item:hover span { color: #dbe7ff; }

/* ---------- 区县 ---------- */
.area-strip { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.area-item { background: #fff; border-radius: 10px; padding: 12px 8px; text-align: center; box-shadow: var(--shadow); }
.area-item b { display: block; font-size: 14px; }
.area-item span { font-size: 12px; color: var(--accent); }
.area-item:hover { background: var(--primary-light); }

/* ---------- 临时工专区 ---------- */
.temp-band {
    background: linear-gradient(120deg, #fff6ec, #ffe9d6);
    border: 1px solid #ffe0c4; border-radius: var(--radius); padding: 18px 22px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.temp-band h2 { font-size: 20px; color: #b8460a; }
.temp-band p { color: #9a5a2c; font-size: 13px; margin: 4px 0 0; }
.temp-band .btn { background: var(--accent); color: #fff; }

/* ---------- 筛选器 ---------- */
.filter-bar { background: #fff; border-radius: var(--radius); padding: 6px 20px; box-shadow: var(--shadow); }
.filter-row { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.filter-row:last-child { border-bottom: none; }
.filter-label { width: 72px; color: var(--text-3); flex-shrink: 0; }
.filter-opts { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.filter-opts a { padding: 3px 10px; border-radius: 5px; color: var(--text-2); }
.filter-opts a:hover { color: var(--primary); background: var(--primary-light); }
.filter-opts a.active { background: var(--primary); color: #fff; }

.sort-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border-radius: var(--radius); padding: 12px 18px; box-shadow: var(--shadow); margin: 14px 0;
}
.sort-tabs { display: flex; gap: 4px; align-items: center; }
.sort-tabs a { padding: 5px 12px; border-radius: 6px; color: var(--text-2); font-size: 13.5px; }
.sort-tabs a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.result-count { font-size: 13px; color: var(--text-3); }
.result-count b { color: var(--accent); font-size: 15px; }

/* ---------- 详情页 ---------- */
.detail-head { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.detail-head h1 { font-size: 25px; margin-bottom: 10px; }
.detail-salary { color: var(--accent); font-size: 26px; font-weight: 700; }
.detail-salary small { font-size: 14px; font-weight: 400; }
.detail-info { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: 13.5px; margin: 12px 0 0; }
.detail-info b { color: var(--text); font-weight: 500; }
.detail-body { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); margin-top: 16px; }
.detail-body h2 { font-size: 17px; margin: 26px 0 12px; padding-left: 10px; border-left: 3px solid var(--primary); }
.detail-body h2:first-child { margin-top: 0; }
.detail-body .rich { color: #3b465c; font-size: 14.5px; line-height: 2; white-space: pre-wrap; }
.detail-body .rich p { margin-bottom: 8px; }
.company-box { display: flex; gap: 16px; align-items: flex-start; }
.company-box .company-logo { width: 60px; height: 60px; font-size: 22px; border-radius: 12px; }
.company-box h3 { font-size: 17px; margin-bottom: 6px; }
.apply-bar {
    position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line);
    padding: 12px 0; display: flex; gap: 10px; align-items: center; margin-top: 20px; z-index: 20;
}

/* ---------- 表格 / 表单 ---------- */
.table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; vertical-align: middle; }
.table th { background: #f8fafd; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #fafcff; }

.form-row { margin-bottom: 18px; }
.form-row > label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 7px; }
.form-row > label em { color: #e5484d; font-style: normal; margin-right: 3px; }
.input, .select, .textarea {
    width: 100%; border: 1px solid #dfe5ef; border-radius: 8px; padding: 10px 12px;
    font-size: 14px; color: var(--text); background: #fff; outline: none; transition: border-color .18s, box-shadow .18s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22, 87, 216, .1); }
.textarea { min-height: 110px; resize: vertical; line-height: 1.8; }
.select { height: 42px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 18px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.form-actions { display: flex; gap: 10px; padding-top: 6px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-2); cursor: pointer; margin-right: 16px; }
.check input { width: 15px; height: 15px; accent-color: var(--primary); }

/* ---------- 分页 ---------- */
.pager { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.page-btn {
    min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 7px; background: #fff; border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.page-btn.disabled { color: #b9c1d1; cursor: not-allowed; }
.page-dots { color: var(--text-3); }
.page-total { color: var(--text-3); font-size: 13px; margin-left: 8px; }

/* ---------- 侧栏列表 ---------- */
.side-list li { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.side-list li:last-child { border-bottom: none; }
.side-list li a { display: flex; gap: 8px; }
.side-list li .idx { color: var(--text-3); width: 16px; flex-shrink: 0; }
.side-list li:nth-child(-n+3) .idx { color: var(--accent); font-weight: 700; }
.side-list li .t { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-list li .n { color: var(--text-3); font-size: 12px; }

/* ---------- 用户中心 ---------- */
.uc-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 20px; padding: 24px 0 44px; align-items: start; }
.uc-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.uc-user { padding: 20px; text-align: center; background: linear-gradient(135deg, #1657d8, #2f8bf6); color: #fff; }
.uc-user .avatar, .uc-user .avatar-ph {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 10px; object-fit: cover;
    background: rgba(255,255,255,.24); color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 600; border: 2px solid rgba(255,255,255,.5);
}
.uc-user b { font-size: 16px; }
.uc-user span { display: block; font-size: 12px; color: #d5e5ff; margin-top: 2px; }
.uc-nav { padding: 8px; }
.uc-nav a { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 7px; color: var(--text-2); font-size: 14px; }
.uc-nav a:hover { background: #f4f7fc; color: var(--primary); }
.uc-nav a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.uc-nav a .num { background: #ffe9d6; color: #c85a0d; font-size: 11px; border-radius: 10px; padding: 0 6px; }
.uc-head { background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.uc-head h1 { font-size: 19px; }
.uc-head p { font-size: 13px; color: var(--text-3); margin: 3px 0 0; }

.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.stat-card { background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.stat-card b { font-size: 26px; color: var(--primary); }
.stat-card span { display: block; color: var(--text-3); font-size: 13px; }
.stat-card.accent b { color: var(--accent); }
.stat-card.green b { color: var(--green); }

/* ---------- 状态标签 ---------- */
.st { font-size: 12px; padding: 2px 8px; border-radius: 4px; display: inline-block; }
.st-0 { background: #eef2fa; color: #5a6478; }
.st-1 { background: #e9f3ff; color: #1a63c7; }
.st-2 { background: #fff0e6; color: #c85a0d; }
.st-3 { background: #e8f8f0; color: var(--green); }
.st-4 { background: #fdecec; color: #cb2a2a; }

/* ---------- 文字排版 ---------- */
.article { background: #fff; border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); }
.article h1 { font-size: 25px; line-height: 1.5; margin-bottom: 12px; }
.article .meta { color: var(--text-3); font-size: 13px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 22px; display: flex; gap: 18px; flex-wrap: wrap; }
.article .content { font-size: 15.5px; line-height: 2; color: #2f3a4d; }
.article .content p { margin-bottom: 14px; }
.article .content h3 { font-size: 17px; margin: 24px 0 10px; color: #16233c; }
.article .content .tip { background: #fff8ec; border-left: 3px solid #f0a643; padding: 12px 16px; color: #8a5a12; font-size: 14px; border-radius: 0 6px 6px 0; }
.article-nav { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); }
.article-nav p { margin-bottom: 6px; }

/* ---------- 提示条 ---------- */
.flash { padding: 11px 16px; border-radius: 9px; font-size: 13.5px; margin-bottom: 14px; display: flex; gap: 8px; align-items: flex-start; }
.flash-success { background: #e9f8f1; color: #0f7a51; border: 1px solid #c6efdd; }
.flash-error { background: #fdeeee; color: #b32222; border: 1px solid #f7d2d2; }
.flash-info { background: #eef4ff; color: #1a54b8; border: 1px solid #d3e2ff; }
.empty { text-align: center; padding: 56px 20px; color: var(--text-3); font-size: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.empty b { display: block; font-size: 16px; color: var(--text-2); margin-bottom: 6px; }

/* ---------- 登录注册 ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 110px); }
.auth-side {
    background: linear-gradient(150deg, #0e46b4, #1667e8 55%, #2f8bf6); color: #fff;
    padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.auth-side h2 { font-size: 30px; line-height: 1.5; margin-bottom: 16px; }
.auth-side p { color: #d2e2ff; font-size: 14.5px; margin-bottom: 26px; }
.auth-side ul li { padding: 7px 0; color: #e6efff; font-size: 14px; }
.auth-side ul li::before { content: "✓"; color: #8fd3a8; margin-right: 8px; font-weight: 700; }
.auth-form { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; background: #fff; }
.auth-form h1 { font-size: 25px; margin-bottom: 6px; }
.auth-form .sub { color: var(--text-3); font-size: 13.5px; margin-bottom: 26px; }
.auth-form .form-row { margin-bottom: 16px; }
.auth-form .btn-lg { height: 48px; }
.auth-tabs { display: flex; gap: 8px; margin-bottom: 22px; background: #f2f5fa; padding: 4px; border-radius: 9px; }
.auth-tabs a { flex: 1; text-align: center; padding: 8px; border-radius: 7px; font-size: 14px; color: var(--text-2); }
.auth-tabs a.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.auth-alt { margin-top: 16px; font-size: 13px; color: var(--text-3); text-align: center; }
.auth-alt a { color: var(--primary); }

/* ---------- 页脚 ---------- */
.footer { background: #0e1a30; color: #9fb0cc; padding: 42px 0 0; margin-top: 40px; font-size: 13px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: #9fb0cc; }
.footer a:hover { color: #fff; }
.footer li { padding: 5px 0; }
.footer-brand b { color: #fff; font-size: 18px; letter-spacing: 1px; }
.footer-brand p { line-height: 1.9; margin: 10px 0 0; }
.footer-bottom { border-top: 1px solid #1e2c47; padding: 16px 0; color: #7d8ea9; font-size: 12.5px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* ---------- 面包屑 ---------- */
.crumb { font-size: 12.5px; color: var(--text-3); padding: 16px 0 0; }
.crumb a { color: var(--text-3); }
.crumb a:hover { color: var(--primary); }
.crumb span { margin: 0 6px; }

/* ---------- 提示条 ---------- */
.notice-bar { background: #fff8ec; border: 1px solid #ffe6c2; color: #8a5a12; font-size: 13px; border-radius: 9px; padding: 10px 16px; margin: 16px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .area-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .job-list.grid2 { grid-template-columns: 1fr; }
    .layout { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .header .container { height: auto; padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
    .nav { order: 3; width: 100%; overflow-x: auto; }
    .hero h1 { font-size: 24px; }
    .search-panel { flex-wrap: wrap; }
    .search-panel select, .search-panel input, .search-panel .btn { width: 100%; }
    .hero-stats { gap: 18px; flex-wrap: wrap; }
    .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .uc-layout { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .article { padding: 22px 18px; }
    .container { padding: 0 14px; }
    .topbar-left span:nth-child(n+2) { display: none; }
}

/* ==================== 广告位 ==================== */
.ad-slot { margin: 8px auto 4px; }
.ad-slot + .ad-slot { margin-top: 10px; }
.ad-banner { display: block; position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 10px rgba(20, 40, 80, .08); }
.ad-banner img { display: block; width: 100%; height: auto; }
.ad-banner .ad-flag, .ad-text .ad-flag {
    position: absolute; top: 8px; right: 8px; font-size: 11px; line-height: 1;
    padding: 3px 5px; border-radius: 3px; background: rgba(0, 0, 0, .35); color: #fff; font-style: normal;
}
.ad-text {
    position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    background: linear-gradient(90deg, #eef4ff 0%, #f7fbff 100%);
    border: 1px solid #dbe7fb; border-radius: 12px; padding: 13px 16px; color: var(--text-1);
}
.ad-text .ad-flag { position: static; background: #dfe9fb; color: #5b7396; }
.ad-text b { font-size: 14.5px; }
.ad-text-body { color: var(--text-2); font-size: 13.5px; flex: 1; }
.ad-text em { color: var(--primary); font-style: normal; font-size: 13px; font-weight: 600; }

/* 友链 */
.footer-links { border-top: 1px solid rgba(255, 255, 255, .1); padding: 14px 0 4px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: 13px; }
.footer-links b { color: rgba(255, 255, 255, .55); font-weight: 400; }
.footer-links a { color: rgba(255, 255, 255, .72); }
.footer-links a:hover { color: #fff; }

/* =========================================================
   移动端 H5：手机浏览器 / 微信内置浏览器
   ========================================================= */
.m-menu-btn, .m-drawer, .m-mask, .m-tabbar { display: none; }

@media (max-width: 760px) {
    html { -webkit-tap-highlight-color: transparent; }
    body { font-size: 14.5px; }
    .wrap-main { overflow-x: clip; }
    .container { padding: 0 14px; }
    /* iOS 输入框聚焦时字号小于 16px 会自动放大页面 */
    input, select, textarea { font-size: 16px; }
    .btn { min-height: 40px; }
    .btn-sm { min-height: 32px; }

    /* ---------- 顶部条 / 头部 ---------- */
    .topbar { display: none; }
    .header .container { height: 56px; padding: 0 14px; gap: 10px; flex-wrap: nowrap; }
    .logo { gap: 8px; }
    .logo-mark { width: 34px; height: 34px; border-radius: 9px; font-size: 14px; box-shadow: none; }
    .logo-text b { font-size: 16px; letter-spacing: .5px; }
    .logo-text small { display: none; }
    .nav { display: none; }
    .header-actions { margin-left: auto; gap: 8px; }
    .header-actions .btn { display: none; }
    .header-user .avatar, .header-user .avatar-ph { width: 30px; height: 30px; }
    .m-menu-btn {
        display: flex; flex-direction: column; justify-content: center; gap: 4px;
        width: 38px; height: 38px; padding: 0 8px; margin-left: 2px; flex: none;
        border: 0; border-radius: 8px; background: transparent; cursor: pointer;
    }
    .m-menu-btn span { display: block; width: 100%; height: 2px; border-radius: 2px; background: #23324d; }
    .m-menu-btn:active { background: var(--primary-light); }

    /* ---------- 抽屉导航 ---------- */
    .m-mask {
        display: block; position: fixed; inset: 0; z-index: 1001;
        background: rgba(8, 20, 40, .46); opacity: 0; visibility: hidden; transition: opacity .24s;
    }
    .m-mask.open { opacity: 1; visibility: visible; }
    .m-drawer {
        display: flex; flex-direction: column; position: fixed; top: 0; left: 0; bottom: 0;
        width: 84%; max-width: 320px; z-index: 1002; background: #fff;
        transform: translateX(-102%); visibility: hidden;
        transition: transform .26s ease, visibility .26s;
        box-shadow: 8px 0 30px rgba(10, 25, 55, .18);
    }
    .m-drawer.open { transform: translateX(0); visibility: visible; }
    .m-drawer-head {
        display: flex; align-items: center; gap: 10px; padding: 18px 16px;
        background: linear-gradient(135deg, #1657d8, #2f8bf6); color: #fff;
    }
    .m-drawer-head .logo-mark { width: 36px; height: 36px; font-size: 13px; border-radius: 9px; background: #fff; color: var(--primary); }
    .m-drawer-title { flex: 1; min-width: 0; }
    .m-drawer-title b { display: block; font-size: 16px; }
    .m-drawer-title small { display: block; font-size: 11px; opacity: .85; }
    .m-drawer-close { width: 32px; height: 32px; border: 0; border-radius: 8px; background: rgba(255,255,255,.18); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
    .m-drawer-links { flex: 1; overflow-y: auto; padding: 6px 0; }
    .m-drawer-links a { display: flex; align-items: center; gap: 12px; padding: 13px 18px; font-size: 15px; color: #2c3547; border-bottom: 1px solid #f1f4f9; }
    .m-drawer-links a svg { width: 20px; height: 20px; flex: none; color: #7a89a5; }
    .m-drawer-links a i { margin-left: auto; font-style: normal; font-size: 18px; color: #b7c1d2; }
    .m-drawer-links a.active { color: var(--primary); background: var(--primary-light); font-weight: 600; }
    .m-drawer-links a.active svg { color: var(--primary); }
    .m-drawer-foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
    .m-drawer-foot .btn { margin-bottom: 9px; }
    .m-drawer-foot p { margin: 4px 0 0; text-align: center; font-size: 12px; color: var(--text-3); }
    .m-drawer-foot p a { color: var(--primary); }
    body.m-lock { overflow: hidden; }

    /* ---------- 底部快捷导航 ---------- */
    .m-tabbar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
        height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
        background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -2px 14px rgba(20, 40, 80, .07);
    }
    .m-tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: #7c879c; }
    .m-tabbar a svg { width: 22px; height: 22px; }
    .m-tabbar a.active { color: var(--primary); font-weight: 600; }
    .m-tabbar a.m-tab-hot svg { color: var(--accent); }
    .m-tabbar a.m-tab-hot.active { color: var(--accent); }

    /* ---------- 内容版式 ---------- */
    .hero { padding: 28px 0 26px; }
    .hero h1 { font-size: 22px; }
    .hero p.sub { font-size: 13.5px; margin-bottom: 18px; }
    .hero-stats { gap: 14px; }
    .search-panel { padding: 8px; border-radius: 12px; }
    .search-panel .btn { height: 42px; font-size: 15px; }
    .company-grid { grid-template-columns: 1fr; }
    .cat-grid, .area-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .job-card { padding: 14px; }
    .job-card h3 { font-size: 15px; }
    .panel { padding: 16px 14px; border-radius: 10px; }
    .layout, .uc-layout { padding: 16px 0 24px; gap: 14px; }
    .stat-cards { gap: 10px; }
    .table { border-radius: 10px; }
    .table th, .table td { padding: 10px; font-size: 12.5px; white-space: normal; word-break: break-word; }
    .crumb { padding-top: 12px; }
    .article { padding: 18px 14px; }
    .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
    .footer { margin-top: 28px; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { font-size: 11.5px; }
}

@media (max-width: 380px) {
    .logo-text b { font-size: 15px; }
    .cat-grid, .area-strip { gap: 8px; }
    .m-tabbar a { font-size: 10.5px; }
}

