* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f7fb; color: #1f2733; }
.topbar { display: flex; align-items: center; gap: 16px; padding: 12px 24px; background: #0d1b3e; color: #fff; position: sticky; top: 0; z-index: 20; }
.brand { font-size: 20px; font-weight: 700; }
.stats { display: flex; gap: 14px; font-size: 13px; opacity: .9; flex: 1; flex-wrap: wrap; }
.stats b { color: #ffd166; }
.member { margin-left: auto; }
.btn { border: none; border-radius: 8px; padding: 9px 16px; cursor: pointer; font-size: 14px; font-weight: 600; }
.btn.primary { background: #2f6bff; color: #fff; }
.btn.primary:disabled { background: #9bb4ee; cursor: not-allowed; }
.btn.ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn.ghost:hover { background: rgba(255,255,255,.1); }
.hero { text-align: center; padding: 36px 20px 24px; background: linear-gradient(135deg,#0d1b3e,#1c3a7a); color: #fff; }
.hero h1 { font-size: 30px; margin-bottom: 8px; }
.hero .sub { font-size: 14px; opacity: .85; max-width: 720px; margin: 0 auto 20px; line-height: 1.6; }
.search { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.search input, .search select { padding: 11px 14px; border-radius: 8px; border: 1px solid #d4dbe8; font-size: 14px; min-width: 160px; }
.search input { flex: 1; }
.list { max-width: 1100px; margin: 24px auto; padding: 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 10px rgba(20,40,90,.06); border: 1px solid #eef1f7; position: relative; }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card .city { display: inline-block; background: #eaf1ff; color: #2f6bff; font-size: 12px; padding: 2px 8px; border-radius: 6px; margin-bottom: 8px; }
.card .row { font-size: 13px; color: #4a5568; margin: 3px 0; line-height: 1.5; }
.card .row span { color: #1f2733; font-weight: 600; }
.card a { color: #2f6bff; word-break: break-all; font-size: 13px; }
.card .empty { color: #b0b8c6; }
.pager { max-width: 1100px; margin: 0 auto 40px; text-align: center; }
.pager button { margin: 0 4px; padding: 7px 12px; border-radius: 8px; border: 1px solid #d4dbe8; background: #fff; cursor: pointer; }
.pager button:disabled { opacity: .4; cursor: default; }
.pager .cur { background: #2f6bff; color: #fff; border-color: #2f6bff; }
.modal { position: fixed; inset: 0; background: rgba(8,14,30,.55); display: flex; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 14px; padding: 24px; width: 380px; max-width: 100%; position: relative; }
.modal-card.wide { width: 560px; max-height: 86vh; overflow: auto; }
.modal-card h3 { margin-bottom: 14px; }
/* 登录/注册多模式弹窗 */
.auth-tabs { display: flex; gap: 6px; margin-bottom: 14px; }
.auth-tabs .atab { flex: 1; padding: 8px 0; border: 1px solid #d4dbe8; background: #f5f7fb; color: #4a5568; border-radius: 8px; cursor: pointer; font-size: 13px; font-weight: 600; }
.auth-tabs .atab.active { background: #2f6bff; color: #fff; border-color: #2f6bff; }
.sms-row { display: flex; gap: 8px; }
.sms-row input { flex: 1; }
.sms-row .btn.ghost { width: auto; white-space: nowrap; margin-bottom: 10px; }
.auth-links { display: flex; justify-content: space-between; font-size: 13px; margin-top: 2px; }
.auth-links a { color: #2f6bff; text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.link { color: #2f6bff; text-decoration: none; font-size: 13px; }
.link:hover { text-decoration: underline; }
.modal-card h4 { margin: 16px 0 8px; font-size: 15px; }
.modal-card input { width: 100%; padding: 10px 12px; border: 1px solid #d4dbe8; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
.modal-card .btn { width: 100%; margin-bottom: 8px; }
.close { position: absolute; right: 14px; top: 12px; border: none; background: none; font-size: 18px; cursor: pointer; color: #888; }
.hint { font-size: 13px; color: #6b7280; line-height: 1.6; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { border: 1px solid #e3e8f2; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.opt .lbl { font-weight: 600; font-size: 14px; }
.opt .cost { font-size: 13px; color: #e0892f; }
.opt .btn { margin: 0; padding: 7px; font-size: 13px; }
.orders { font-size: 13px; }
.order { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed #eee; }
.tag-done { color: #1aa260; } .tag-pending { color: #e0892f; } .tag-rejected { color: #e0533f; }

/* 收藏按钮（职位卡片右上角） */
.favBtn { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e3e8f2; background: #fff; color: #b0b8c6; font-size: 17px; line-height: 1; cursor: pointer; transition: all .15s; }
.favBtn:hover { border-color: #ff9aa6; color: #ff6b81; }
.favBtn.on { background: #ffe9ec; border-color: #ff6b81; color: #ff3b5c; }

/* 会员中心 */
.mc-stats { display: flex; gap: 22px; margin: 6px 0 14px; font-size: 14px; color: #4a5568; }
.mc-stats b { color: #1f2733; font-size: 18px; }
.mc-actions { display: flex; gap: 10px; margin-bottom: 6px; }
.mc-actions .btn { width: auto; margin: 0; }
.fav-list { display: flex; flex-direction: column; gap: 10px; }
.fav-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #eef1f7; border-radius: 10px; padding: 12px 14px; background: #fafbff; }
.fav-item .fi-title { font-weight: 600; font-size: 14px; color: #1f2733; }
.fav-item .fi-sub { font-size: 12px; color: #8a93a6; margin-top: 3px; }
.fav-item .fi-actions { display: flex; gap: 8px; flex-shrink: 0; }
.fav-item .btn { width: auto; margin: 0; padding: 6px 12px; font-size: 12px; }
/* 广告弹窗 */
.modal.ad .ad-card { background: #11182c; border-radius: 14px; padding: 18px; width: 420px; max-width: 100%; color: #fff; }
.ad-tag { font-size: 12px; color: #9fb0d8; margin-bottom: 10px; }
.ad-screen { height: 220px; border-radius: 10px; position: relative; overflow: hidden; background: linear-gradient(135deg,#23306b,#3a2a6b); display: flex; align-items: center; justify-content: center; }
.ad-anim { position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle,#ffd166,#ff7b54); animation: pulse 2.4s infinite ease-in-out; opacity: .85; }
@keyframes pulse { 0%,100% { transform: scale(.8); } 50% { transform: scale(1.15); } }
.ad-tip { position: relative; z-index: 2; font-size: 15px; text-shadow: 0 1px 4px #000; }
.ad-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.ad-foot span { font-size: 14px; }
.ad-note { font-size: 11px; color: #8a98c0; margin-top: 10px; line-height: 1.5; }
.foot { max-width: 1100px; margin: 0 auto 40px; padding: 16px; font-size: 12px; color: #6b7280; line-height: 1.7; border-top: 1px solid #e6eaf2; }
.foot .tech { margin-top: 8px; color: #9aa3b2; }
.foot code { background: #eef1f7; padding: 1px 6px; border-radius: 4px; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: #0d1b3e; color: #fff; padding: 12px 20px; border-radius: 10px; z-index: 99; font-size: 14px; }
.toast[hidden] { display: none; }

/* 信息流广告位（优量汇原生模板） */
.ad-slot { max-width: 1100px; margin: 20px auto 0; padding: 0 16px; }
.ad-slot[hidden] { display: none; }
.ad-slot .ad-label { font-size: 11px; color: #9aa3b2; margin-bottom: 6px; letter-spacing: .5px; }
.ad-slot .ad-box { background: #fff; border: 1px solid #eef1f7; border-radius: 12px; padding: 12px; min-height: 96px; box-shadow: 0 2px 10px rgba(20,40,90,.06); overflow: hidden; }
.ad-slot .ad-box:empty::after { content: '广告加载中…'; display: flex; align-items: center; justify-content: center; min-height: 72px; color: #b0b8c6; font-size: 13px; }
