/* ============================================
   武鸣招聘 - v7 温暖社区风 全面视觉升级
   色彩：活力橙 #E85D04 + 暖白 #FFFBF5
   字体：Noto Sans SC + PingFang SC
   目标：温暖、可靠、接地气
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
    /* iOS 滑动优化 */
    -webkit-overflow-scrolling: touch;
}
body {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #FFFBF5;
    color: #1C1917;
    font-size: 15px;
    line-height: 1.6;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100%;
    overflow-x: hidden;
    /* 安全区域 */
    padding: 0;
    /* 防止iOS点击高亮 */
    -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select { font-family: inherit; }

:root {
    --primary: #E85D04;
    --primary-dark: #C44A02;
    --primary-light: #FF8C42;
    --primary-bg: rgba(232,93,4,0.08);
    --green: #2B9348;
    --green-bg: rgba(43,147,72,0.08);
    --red: #DC2626;
    --red-bg: rgba(220,38,38,0.08);
    --orange: #E85D04;
    --orange-bg: rgba(232,93,4,0.08);
    --blue: #2563EB;
    --blue-bg: rgba(37,99,235,0.08);

    --bg: #FFFBF5;
    --bg-white: #FFFFFF;
    --card-bg: #FFFFFF;
    --card2: #FAF7F2;
    --text: #1C1917;
    --text2: #78716C;
    --text3: #A8A29E;
    --border: #E7E5E4;
    --border2: #D6D3D1;
    --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.06), 0 2px 4px -2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.03);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-xs: 6px;
}

/* ====== 页面容器 ====== */
.page {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 75px 0;
    max-width: 100%;
    background: var(--bg);
}

/* ====== Hero 头部区域 ====== */
.hero {
    background: linear-gradient(135deg, #E85D04 0%, #FF6B35 50%, #FF8C42 100%);
    padding: 22px 16px 28px;
    color: white;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.hero::before {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -8%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}
.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 8px;
    flex-wrap: wrap;
}
.hero h1 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}
.hero h1 .hero-accent {
    color: #FFD166;
    display: inline-block;
    position: relative;
}
.hero h1 .hero-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,209,102,0.4);
    border-radius: 2px;
}
.hero .hero-subtitle {
    font-size: 12px;
    opacity: 0.85;
    margin-top: 3px;
    letter-spacing: 0.3px;
}
.hero-user {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hero-user a {
    color: rgba(255,255,255,0.9);
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.2s;
}
.hero-user a:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-1px);
}

/* Hero 底部波浪 */
.hero-wave {
    height: 18px;
    margin-top: -1px;
    overflow: hidden;
    line-height: 0;
}

/* ====== 搜索栏 ====== */
.hero-search {
    display: flex;
    gap: 8px;
    max-width: 600px;
    margin-top: 2px;
    width: 100%;
}
.hero-search input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.92);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: all 0.25s;
}
.hero-search input::placeholder {
    color: var(--text3);
}
.hero-search input:focus {
    background: #ffffff;
    border-color: #FFD166;
    box-shadow: 0 0 0 3px rgba(255,209,102,0.25);
}
.hero-search button {
    flex-shrink: 0;
    background: #FFD166;
    border: none;
    border-radius: var(--radius-sm);
    padding: 11px 22px;
    color: #1C1917;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.hero-search button:hover {
    background: #FFC233;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,209,102,0.4);
}
.hero-search button:active {
    transform: scale(0.97);
}

/* ====== 快捷标签 ====== */

/* ===== 政务招聘入口 ===== */
.gov-entry {
    margin: 12px 0;
}
.gov-entry-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 1.5px solid #c8d8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}
.gov-entry-btn:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #e8eeff 0%, #dde6ff 100%);
    border-color: #a8c0e0;
}
.gov-icon {
    font-size: 22px;
}
.gov-text {
    flex: 1;
}
.gov-arrow {
    color: #6b8ec2;
    font-size: 16px;
}

.quick-tags {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.quick-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.9);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.2s;
    white-space: nowrap;
}
.quick-tag:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

/* ====== 品牌大公司轮播（v2 完全重写） ====== */
.brand-section {
    padding: 0 0 6px;
    background: var(--bg);
}
.brand-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 14px 8px;
}
.brand-header-icon {
    font-size: 18px;
}
.brand-header-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
}
.brand-header-sub {
    font-size: 11px;
    color: var(--text3);
    margin-left: auto;
}
.brand-carousel-wrap {
    background: var(--bg);
    padding: 0 0 4px;
    overflow: hidden;
    position: relative;
}
.brand-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 14px;
    scroll-behavior: smooth;
}
.brand-carousel::-webkit-scrollbar { display: none; }
.brand-slide {
    flex: 0 0 calc(25% - 8px);
    scroll-snap-align: start;
    border-radius: var(--radius);
    padding: 16px 14px;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-height: 85px;
    display: flex;
    flex-direction: column;
}
.brand-slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.brand-slide::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.brand-slide-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1;
    height: 100%;
}
.brand-logo {
    width: 32px; height: 32px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    overflow: hidden;
}
.brand-logo-char {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-name {
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    word-wrap: break-word;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.brand-jobs {
    font-size: 10px;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 1px;
}
.brand-dots {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 6px 0 2px;
}
.brand-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border2);
    cursor: pointer;
    transition: all 0.3s;
}
.brand-dot.active {
    width: 16px;
    border-radius: 3px;
    background: var(--primary);
}

/* ---- 品牌轮播箭头默认隐藏 ---- */
.brand-btn {
    display: none !important;
}

/* 桌面端箭头保留 */
@media screen and (min-width: 768px) {
    .brand-btn {
        display: flex !important;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: white;
        border: none;
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        cursor: pointer;
        z-index: 10;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--text2);
        transition: all 0.15s;
    }
    .brand-btn:active {
        transform: translateY(-50%) scale(0.9);
    }
    .brand-btn-left { left: -8px; }
    .brand-btn-right { right: -8px; }
    .brand-section { max-width: 1200px; margin: 0 auto; }
    .brand-carousel-wrap { padding: 0 20px; }
    .brand-carousel { padding: 0; }
    .brand-name { font-size: 13px; }
    .brand-logo { width: 36px; height: 36px; border-radius: 9px; font-size: 16px; }
    .brand-header { padding: 14px 20px 10px; }
    .brand-all-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px 10px !important; }
    .brand-slide { min-height: 95px; padding: 18px 14px; }
}

/* ====== 全部企业（折叠/展开） ====== */
.brand-all-wrap {
    padding: 0 14px 10px;
}
.brand-all-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 10px;
    padding: 12px 14px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: background 0.15s;
    margin-bottom: 0;
}
.brand-all-header:active { background: var(--card2); }
.brand-all-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}
.brand-all-count {
    font-size: 12px;
    color: var(--text3);
    font-weight: 400;
}
.brand-all-arrow {
    font-size: 11px;
    color: var(--text3);
    transition: transform 0.2s;
}
.brand-all-arrow.open {
    transform: rotate(90deg);
}
.brand-all-body {
    display: none;
    background: white;
    border-radius: 0 0 10px 10px;
    padding: 6px 14px 14px;
    margin-top: -4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    flex-wrap: wrap;
    gap: 6px;
}
.brand-all-body.open {
    display: flex;
}
.brand-all-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: var(--card2);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s;
    flex: 0 0 auto;
    min-width: calc(50% - 3px);
    max-width: calc(50% - 3px);
}
.brand-all-item:active { background: var(--border); }
.brand-all-char {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}
.brand-all-name {
    font-size: 12px;
    color: var(--text);
    font-weight: 500;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.brand-all-jobs {
    font-size: 10px;
    color: var(--text3);
    flex-shrink: 0;
}
@media screen and (min-width: 768px) {
    .brand-slide { flex: 0 0 280px; padding: 22px 20px; min-height: 110px; }
    .brand-logo { width: 48px; height: 48px; border-radius: 12px; font-size: 22px; }
    .brand-name { font-size: 17px; }
}

/* ====== 主体内容 ====== */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 14px 0;
}

/* ====== 统计横条 ====== */
.stats-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
}
.stats-bar::-webkit-scrollbar { display: none; }
.stat-chip {
    flex-shrink: 0;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 95px;
}
.stat-chip .stat-num {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary);
}
.stat-chip .stat-label {
    font-size: 11px;
    color: var(--text3);
    margin-top: 2px;
}

/* ====== 行业分类Tab ====== */
.cat-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 1px 10px;
    margin-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    min-width: 0;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px;
    min-width: 78px;
    transition: all 0.2s;
    cursor: pointer;
}
.cat-tab:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
.cat-tab .tab-icon { font-size: 20px; line-height: 1; }
.cat-tab .tab-label { font-size: 11px; color: var(--text2); margin-top: 3px; white-space: nowrap; }
.cat-tab .tab-count {
    font-size: 10px;
    color: var(--text3);
    margin-top: 2px;
    background: var(--card2);
    padding: 1px 7px;
    border-radius: 6px;
    font-weight: 500;
}
.cat-tab.active {
    background: var(--primary-bg);
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}
.cat-tab.active .tab-label {
    color: var(--primary);
    font-weight: 700;
}
.cat-tab.active .tab-count {
    background: var(--primary-bg);
    color: var(--primary);
}

/* ====== 筛选栏 ====== */
.filter-section {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    margin-bottom: 14px;
    box-shadow: var(--shadow);
}
.filter-label {
    font-size: 11px;
    color: var(--text3);
    margin: 6px 0 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.filter-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
}
.filter-row::-webkit-scrollbar { display: none; }

/* ====== 按钮 ====== */
.btn {
    display: inline-block;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}
.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,93,4,0.3);
}
.btn-sm {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--card2);
    color: var(--text2);
    font-size: 11px;
    font-weight: 500;
    margin: 2px;
    border: 1.5px solid var(--border);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s;
}
.btn-sm:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    background: var(--primary-bg);
}
.btn-sm.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ====== 激活筛选标签 ====== */
.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-bg);
    border: 1px solid var(--primary-light);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    color: var(--primary);
    margin: 2px;
    white-space: nowrap;
}
.active-filter-tag .clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--red-bg);
    color: var(--red);
    font-size: 10px;
    cursor: pointer;
    line-height: 1;
}

/* ====== 岗位卡片分类标签 ====== */
.job-cat-badge {
    display: inline-block;
    font-size: 10px;
    padding: 2px 9px;
    border-radius: 20px;
    background: var(--card2);
    color: var(--text3);
    margin-left: auto;
    border: 1px solid var(--border);
    font-weight: 500;
}

/* ====== 岗位列表 ====== */
.jobs-list { width: 100%; }
.jobs-list > a { display: block; }

/* ====== 岗位卡片 (全新设计) ====== */
.job-card {
    background: var(--bg-white);
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    transition: all 0.25s;
    box-shadow: var(--shadow);
    position: relative;
    cursor: pointer;
    word-break: break-all;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.job-card:hover {
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.job-card:active {
    transform: translateY(0);
}

/* 卡片顶部：薪资(左) + 标签(右) */
.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}
.job-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.job-salary {
    font-size: 20px;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -0.3px;
    white-space: nowrap;
    flex-shrink: 1;
    margin-left: 10px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 卡片主体 */
.job-meta {
    font-size: 12px;
    color: var(--text2);
    margin: 6px 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}
.company-link {
    color: var(--blue);
    font-weight: 500;
    transition: color 0.15s;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
}
.company-link:hover {
    color: var(--primary);
    text-decoration: underline;
}
.job-location {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.job-location::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2378716C' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.job-desc {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.5;
    max-height: 3em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 8px;
    word-break: break-all;
    width: 100%;
    box-sizing: border-box;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.job-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.job-tag {
    display: inline-block;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--card2);
    color: var(--text3);
    line-height: 1.4;
}

.job-time {
    font-size: 10px;
    color: var(--text3);
    flex-shrink: 0;
}

/* 新岗位徽章 */
.job-new-badge {
    display: inline-block;
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 4px;
    background: var(--red);
    color: white;
    font-weight: 700;
    animation: pulse 2s ease-in-out infinite;
    vertical-align: middle;
    margin-right: 6px;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.7; } }

/* ====== 底部导航 ====== */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 100;
    padding: 6px 0 6px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
    /* 微信兼容：不使用env()在主样式里，通过@supports单独处理 */
}
.nav a {
    flex: 1;
    text-align: center;
    padding: 8px 2px;
    color: var(--text3);
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    /* 增大点击区域 */
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.nav a .nav-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 2px;
    transition: transform 0.2s;
    line-height: 1;
}
.nav a.active {
    color: var(--primary);
    font-weight: 700;
}
.nav a.active .nav-icon {
    transform: scale(1.15);
}
.nav a .nav-text {
    display: block;
}
.nav a .nav-badge {
    position: absolute;
    top: 2px;
    right: 50%;
    transform: translateX(50%) translateX(14px);
    background: var(--red);
    color: white;
    font-size: 8px;
    min-width: 15px;
    height: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    font-weight: 700;
}

/* ====== 分页 ====== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.pagination .page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: var(--radius-xs);
    background: var(--bg-white);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.pagination .page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .page-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.pagination .page-info {
    font-size: 12px;
    color: var(--text3);
    padding: 6px 12px;
}

/* ====== 空状态 ====== */
.empty {
    text-align: center;
    color: var(--text3);
    padding: 50px 20px;
}
.empty-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.4;
}
.empty-text {
    font-size: 15px;
    color: var(--text2);
    margin-bottom: 12px;
}

/* ====== 微信二维码区 ====== */
.qr-section {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin: 20px 0;
    box-shadow: var(--shadow);
    text-align: center;
}
.qr-section .qr-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}
.qr-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.qr-item {
    text-align: center;
    flex: 1;
    min-width: 110px;
    max-width: 150px;
}
.qr-box {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: white;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.25s;
}
.qr-box:hover {
    transform: scale(1.05);
}
.qr-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qr-item .qr-label {
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}
.qr-item .qr-desc {
    font-size: 11px;
    color: var(--text3);
    margin-top: 2px;
}

/* ====== 管理入口 ====== */
.admin-link {
    text-align: center;
    color: var(--text3);
    font-size: 11px;
    padding-bottom: 12px;
}
.admin-link a {
    color: var(--text3);
    text-decoration: none;
}
.admin-link a:hover {
    color: var(--primary);
}

/* ====== 回到顶部 ====== */
.scroll-top {
    position: fixed;
    bottom: 85px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(232,93,4,0.3);
    transition: all 0.3s;
}
.scroll-top.visible { display: flex; }
.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232,93,4,0.4);
}
.scroll-top:active { transform: scale(0.9); }

/* ====== 通知徽章 ====== */
.notif-badge {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--red);
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: 700;
}

/* ====== 加载动画 ====== */
.skeleton {
    background: linear-gradient(90deg, var(--card2) 25%, var(--border) 50%, var(--card2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-xs);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 10px;
    border: 1px solid var(--border);
}
.skeleton-line {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
.skeleton-line.h20 { height: 20px; }

/* ====== 薪资筛选 ====== */
.salary-filter {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
}
.salary-filter select {
    padding: 6px 12px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    background: var(--bg-white);
    color: var(--text);
    font-size: 12px;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716C' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    padding-right: 24px;
}
.salary-filter select:focus {
    border-color: var(--primary);
}

/* ====== 职位详情页 v3（合理优化） ====== */

/* == 渐变头部 == */
.job-detail-header {
    background: linear-gradient(135deg, #e85d04 0%, #f97316 50%, #ff8c42 100%);
    color: white;
    padding: 20px 16px 22px;
    position: relative;
    overflow: hidden;
}
.job-detail-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}

.jd-back {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.15s;
    text-decoration: none;
}
.jd-back:hover { opacity: 0.7; }

.jd-company-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.jd-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    flex-shrink: 0;
}
.jd-company-name {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}
.jd-publisher {
    font-size: 11px;
    opacity: 0.55;
    margin-top: 1px;
}

.jd-title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}
.jd-salary {
    font-size: 26px;
    font-weight: 800;
    color: #fef3c7;
    margin-bottom: 10px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.jd-salary-off {
    font-size: 18px;
    opacity: 0.85;
    color: #fef3c7;
}

.jd-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.jd-meta-tag {
    background: rgba(255,255,255,0.15);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* == 主体区域 == */
.jd-body {
    padding: 0 14px;
    margin-top: -10px;
}

/* 紧凑标签行 */
.jd-tags-row {
    background: white;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.jd-tags-row .tag {
    font-size: 11px;
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--primary-bg);
    color: var(--primary-dark);
    font-weight: 500;
}

/* 通用卡片节 */
.jd-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.jd-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.jd-card-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.jd-desc {
    font-size: 14px;
    line-height: 1.85;
    color: var(--text);
    white-space: pre-wrap;
    margin: 0;
}

/* 公司快捷入口 */
.jd-company-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card2);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background 0.15s;
}
.jd-company-card:active { background: var(--border); }
.jd-company-card-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.jd-company-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}
.jd-company-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.jd-company-card-arrow {
    font-size: 14px;
    color: var(--text3);
}

/* == 联系方式 == */
.jd-contact-card {
    background: linear-gradient(135deg, #fff7f0 0%, #ffede0 100%);
    border: 1px solid rgba(232,93,4,0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    margin-bottom: 10px;
}
.jd-contact-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 8px;
    box-shadow: 0 3px 10px rgba(232,93,4,0.2);
}
.jd-contact-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1px;
}
.jd-contact-label {
    font-size: 11px;
    color: var(--text3);
    margin-bottom: 10px;
}
.jd-contact-phone {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding: 6px 14px;
    background: white;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* == 操作按钮 == */
.jd-actions {
    margin-bottom: 10px;
}
.jd-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}
.jd-action-btn:active {
    transform: scale(0.97);
}
.jd-action-btn + .jd-action-btn {
    margin-top: 8px;
}
.jd-btn-call {
    background: linear-gradient(135deg, var(--primary), #ff7a2e);
    box-shadow: 0 3px 12px rgba(232,93,4,0.3);
}
.jd-btn-call:active { box-shadow: 0 1px 6px rgba(232,93,4,0.15); }
.jd-btn-share {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 3px 12px rgba(232,93,4,0.2);
}
.jd-btn-share:active { box-shadow: 0 1px 6px rgba(232,93,4,0.1); }

/* == 登录提示 == */
.jd-login-card {
    background: linear-gradient(135deg, #fff7f0 0%, #ffede0 100%);
    border: 1px solid rgba(232,93,4,0.1);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    margin-bottom: 10px;
}
.jd-login-icon { font-size: 36px; margin-bottom: 8px; opacity: 0.5; }
.jd-login-text {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 14px;
}
.jd-login-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 11px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(232,93,4,0.2);
    transition: transform 0.15s;
}
.jd-login-link:active { transform: scale(0.97); }

/* == 同类推荐 == */
.jd-similar-card {
    display: block;
    text-decoration: none;
    padding: 12px 14px;
    border-left: 3px solid var(--primary);
    background: var(--card2);
    border-radius: 0 10px 10px 0;
    margin-bottom: 8px;
    transition: background 0.15s;
}
.jd-similar-card:active { background: var(--border); }
.jd-similar-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 3px;
}
.jd-similar-meta {
    font-size: 11px;
    color: var(--text2);
    display: flex;
    align-items: center;
    gap: 8px;
}
.jd-similar-salary {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}

/* == 渐入动画 == */
.jd-body > * {
    animation: jdFadeUp 0.35s ease-out both;
}
.jd-body > *:nth-child(1) { animation-delay: 0s; }
.jd-body > *:nth-child(2) { animation-delay: 0.05s; }
.jd-body > *:nth-child(3) { animation-delay: 0.1s; }
.jd-body > *:nth-child(4) { animation-delay: 0.15s; }
.jd-body > *:nth-child(5) { animation-delay: 0.2s; }
.jd-body > *:nth-child(6) { animation-delay: 0.25s; }

@keyframes jdFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .jd-body { padding: 0 12px; }
    .job-detail-header { padding: 16px 14px 20px; }
    .jd-title { font-size: 19px; }
    .jd-salary { font-size: 24px; }
}

/* ====== 表单 ====== */
input[type="text"],
input[type="tel"],
input[type="password"],
textarea {
    background: var(--bg-white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text);
    font-size: 14px;
    outline: none;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

/* ====== 渐入动画 ====== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeInUp 0.3s ease-out;
}

/* ====== 标签页 ====== */
.tab-bar {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 12px;
}
.tab-item {
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text2);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s;
}
.tab-item.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
}

/* ====== 聊天气泡 ====== */
.msg { margin-bottom: 10px; max-width: 85%; }
.msg.mine {
    margin-left: auto;
    background: var(--primary);
    color: white;
    padding: 10px 14px;
    border-radius: 16px 16px 4px 16px;
}
.msg.theirs {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 16px 16px 16px 4px;
}
.msg .time {
    font-size: 10px;
    opacity: 0.6;
    margin-top: 4px;
}

/* ====== AI匹配结果 ====== */
.match-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--green-bg);
    color: var(--green);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}
.match-reason {
    font-size: 12px;
    color: var(--text2);
    margin-top: 4px;
    line-height: 1.6;
}

/* ====== 卡片通用 ====== */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}
.card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

/* 特色展示 */
.featured-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.featured-grid > a { margin-bottom: 0; }

/* ====== 桌面版 (>= 768px) ====== */
@media screen and (min-width: 768px) {
    html { scrollbar-gutter: stable; }

    .hero {
        padding: 28px 24px 32px;
    }
    .hero h1 { font-size: 28px; }
    .hero-content { max-width: 1000px; margin: 0 auto; }
    .hero-search { max-width: 520px; }
    .hero-subtitle { font-size: 13px; }

    .main-content { padding: 20px 20px 0; }

    .nav {
        bottom: auto;
        top: 0;
        padding: 0 20px;
        background: rgba(255,255,255,0.96);
        border-top: none;
        border-bottom: 1px solid var(--border);
        justify-content: center;
        gap: 4px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 1px 8px rgba(0,0,0,0.04);
        padding-bottom: 0;
    }
    .nav a {
        flex: 0 0 auto;
        padding: 14px 24px;
        font-size: 13px;
        min-height: auto;
        flex-direction: row;
    }
    .nav a .nav-icon {
        display: inline;
        font-size: 16px;
        margin-bottom: 0;
        margin-right: 6px;
        vertical-align: middle;
    }
    .nav a .nav-text { display: inline; }
    .nav a.active {
        border-bottom: 2px solid var(--primary);
    }
    .nav a .nav-badge {
        top: 8px;
        right: 12px;
        transform: none;
    }
    body { padding-top: 52px; }

    .cat-tabs {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .cat-tab { min-width: 90px; padding: 12px 20px; }

    .jobs-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .job-card {
        margin-bottom: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    .job-card .job-footer { margin-top: auto; }
    .job-title { font-size: 16px; }
    .job-salary { font-size: 22px; }
    .job-desc {
        font-size: 12px;
        max-height: 4.8em;
        -webkit-line-clamp: 3;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .featured-grid > a { margin-bottom: 0; }

    .filter-row {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .filter-row .btn-sm { font-size: 12px; padding: 6px 16px; }
    .btn-sm { font-size: 12px; padding: 6px 16px; }
    .card-title { font-size: 16px; }

    .stats-bar { gap: 12px; }
    .stat-chip { min-width: 110px; padding: 12px 20px; }
    .stat-chip .stat-num { font-size: 22px; }

    .qr-grid { gap: 24px; }
}

@media screen and (min-width: 1200px) {
    .main-content { max-width: 1200px; }
    .hero-content { max-width: 1200px; }
    .jobs-list { grid-template-columns: 1fr 1fr 1fr; }
    .featured-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* ======================================
   移动端专项优化 (iPhone/Android 全适配)
   ====================================== */

/* 极小屏 (iPhone SE, 320-374px) */
@media screen and (max-width: 374px) {
    .hero { padding: 16px 12px 22px; }
    .hero h1 { font-size: 18px; }
    .hero .hero-subtitle { font-size: 10px; }
    .hero-search input { padding: 9px 12px; font-size: 13px; }
    .hero-search button { padding: 9px 14px; font-size: 13px; }
    
/* ===== 政务招聘入口 ===== */
.gov-entry {
    margin: 12px 0;
}
.gov-entry-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 1.5px solid #c8d8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}
.gov-entry-btn:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #e8eeff 0%, #dde6ff 100%);
    border-color: #a8c0e0;
}
.gov-icon {
    font-size: 22px;
}
.gov-text {
    flex: 1;
}
.gov-arrow {
    color: #6b8ec2;
    font-size: 16px;
}

.quick-tags { gap: 4px; }
    .quick-tag { padding: 3px 9px; font-size: 10px; }

    .main-content { padding: 12px 10px 0; }
    .job-card { padding: 12px; margin-bottom: 10px; }
    .job-title { font-size: 14px; }
    .job-salary { font-size: 17px; }

    .brand-header { padding: 10px 10px 6px; }
    .brand-carousel { padding: 0 10px; }
    .brand-logo { width: 28px; height: 28px; border-radius: 6px; font-size: 12px; }
    .brand-name { font-size: 11px; }
    .brand-all-wrap { padding: 0 10px 8px; }

    .nav a { padding: 6px 1px; font-size: 10px; min-height: 40px; }
    .nav a .nav-icon { font-size: 20px; }

    .cat-tab { min-width: 64px; padding: 8px 12px; }
    .cat-tab .tab-icon { font-size: 17px; }
    .cat-tab .tab-label { font-size: 10px; }

    .stat-chip { min-width: 78px; padding: 8px 12px; }
    .stat-chip .stat-num { font-size: 16px; }
}

/* 标准手机 (375-428px) - iPhone / 主流Android */
@media screen and (min-width: 375px) and (max-width: 428px) {
    .hero { padding: 20px 16px 26px; }
    .hero h1 { font-size: 20px; }
    .job-card { padding: 14px; }
}

/* iOS Safari 安全区域通用 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .nav { padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
    .page { padding-bottom: calc(75px + env(safe-area-inset-bottom)); }
}

/* 防止 iOS 表单自动缩放 */
@media screen and (max-width: 768px) {
    input, textarea, select { font-size: 16px !important; }
    .hero-search input { font-size: 16px !important; }
}

/* 点击态反馈 */
a:active, button:active, .job-card:active, .brand-slide:active {
    opacity: 0.85;
    transition: none;
}

/* 底部导航点击反馈 */
.nav a:active {
    background: var(--primary-bg);
    border-radius: 8px;
}

/* 禁用长按菜单 (按钮上) */
.nav a, .btn, .quick-tag, .brand-slide, .job-card {
    -webkit-touch-callout: none;
    user-select: none;
}

/* ====== 微信浏览器专项修复 ====== */
/* 微信X5内核：修复固定底部导航被微信工具栏遮挡 */
.wx .nav {
    /* 微信底部有工具栏（约50px），导航栏上移 */
    bottom: 0;
}
/* 微信X5：页码和电话链接正常显示 */
.wx a[href^="tel:"] {
    color: var(--primary);
    font-weight: 600;
}
/* 微信X5：修复flex-wrap在X5不换行问题 */
.wx 
/* ===== 政务招聘入口 ===== */
.gov-entry {
    margin: 12px 0;
}
.gov-entry-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    border: 1.5px solid #c8d8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}
.gov-entry-btn:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #e8eeff 0%, #dde6ff 100%);
    border-color: #a8c0e0;
}
.gov-icon {
    font-size: 22px;
}
.gov-text {
    flex: 1;
}
.gov-arrow {
    color: #6b8ec2;
    font-size: 16px;
}

.quick-tags {
    display: block;
}
.wx .quick-tag {
    display: inline-block;
    margin: 3px;
}

/* ====== 时间筛选（今日/本周/本月） ====== */
.quick-tag-time {
    background: linear-gradient(135deg, #E85D04, #FF6B35) !important;
    color: white !important;
    font-weight: 700 !important;
    position: relative;
}
.quick-tag-time.active {
    box-shadow: 0 0 0 2px white, 0 0 0 4px #E85D04;
}
.quick-tag-time .time-badge {
    display: inline-block;
    background: rgba(255,255,255,0.25);
    color: white;
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    font-weight: 800;
    margin-left: 3px;
    line-height: 1.4;
}
.new-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #E85D04;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 8px;
    line-height: 1.3;
    box-shadow: 0 2px 6px rgba(232,93,4,0.4);
    z-index: 2;
}
.job-card { position: relative; }
/* 微信X5：修复scroll-snap不支持问题 */
.wx .brand-carousel {
    scroll-snap-type: none;
    -webkit-scroll-snap-type: none;
}
/* 微信X5：暗黑模式手动适配（X5不认prefers-color-scheme） */
@media (prefers-color-scheme: dark) {
    .wx .hero { background: linear-gradient(135deg, #C44A02 0%, #E85D04 50%, #FF6B35 100%) !important; }
    .wx .job-card { border-color: #2a2a4e !important; }
    .wx .nav { border-top-color: #2a2a4e !important; background: #16213e !important; }
    .wx .nav a { color: #707088 !important; }
    .wx .nav a.active { color: var(--primary) !important; }
}
