:root {
    --primary-color: #00BEBD; /* BOSS直聘青 */
    --accent-color: #ff4d4f; /* 提醒红 */
    --bg-body: #f8f9fa;
    --text-main: #222;
    --text-sub: #666;
    --white: #ffffff;
    --top-bg: #f0fdfa; /* 置顶卡片淡青背景 */
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, system-ui, "Microsoft YaHei", sans-serif; background: var(--bg-body); color: var(--text-main); line-height: 1.5; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Header & Navigation --- */
.header { background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-top { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 15px; }
.logo { font-size: 20px; font-weight: bold; color: var(--primary-color); display: flex; align-items: center; }
.logo strong { font-size: 12px; background: var(--primary-color); color: #fff; padding: 1px 4px; border-radius: 3px; margin-left: 5px; font-weight: normal; }
.nav-scroll { border-top: 1px solid #f0f0f0; background: var(--white); overflow-x: auto; white-space: nowrap; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-content { max-width: 1200px; margin: 0 auto; display: flex; padding: 0 10px; }
.nav-item { padding: 12px 15px; font-size: 15px; color: var(--text-sub); position: relative; }
.nav-item:hover {color: var(--primary-color); font-weight: bold; }
.nav-item.active { color: var(--primary-color); font-weight: bold; }
.nav-item.active::after { content: ""; position: absolute; bottom: 0; left: 15px; right: 15px; height: 3px; background: var(--primary-color); border-radius: 3px 3px 0 0; }

/* --- Main Layout --- */
.container { max-width: 1200px; margin: 5px auto; padding: 0 12px; display: grid; grid-template-columns: 1fr; gap: 20px; padding-bottom: 80px; }
@media (min-width: 1024px) { .container { grid-template-columns: 1fr 320px; } }

/* --- Recruitment List --- */
.card { background: var(--white); border-radius: 12px; padding: 16px; margin-bottom: 15px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); transition: transform 0.2s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-2px); }

/* 置顶推荐样式增强 */
.card-top { background: var(--top-bg); border: 1px solid rgba(0,190,189,0.2); }
.top-badge { position: absolute; top: 0; right: 0; background: #ff4d4f; color: #fff; font-size: 10px; padding: 2px 8px; border-radius: 0 0 0 8px; font-weight: bold; }
#top-tit {color: #ff4d4f;}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.job-title { font-size: 18px; font-weight: bold; color: #000; flex: 1; margin-right: 10px; }
.job-salary { color: var(--accent-color); font-size: 17px; font-weight: bold; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tag { background: #f2f2f5; color: #666; font-size: 12px; padding: 3px 8px; border-radius: 4px; }
.tag-highlight { background: #e6f7f7; color: var(--primary-color); }

.company-info { display: flex; align-items: center; border-top: 1px solid #f5f5f5; padding-top: 12px; }
.company-logo { width: 40px; height: 40px; border-radius: 8px; background: #eee; margin-right: 12px; object-fit: cover; }
.company-detail { flex: 1; }
.company-name { font-size: 14px; font-weight: 500; }
.company-meta { font-size: 12px; color: #999; }

/* --- Sidebar --- */
.sidebar-box { background: var(--white); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.sidebar-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; display: flex; align-items: center; }
.sidebar-title::before { content: ""; width: 4px; height: 16px; background: var(--primary-color); margin-right: 8px; border-radius: 2px; }

.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.city-link { background: #f8f8f8; text-align: center; padding: 8px; font-size: 13px; border-radius: 6px; border: 1px solid #eee; }
.city-link:hover { background: var(--primary-color); color: #fff; }

/* 夜场资讯列表 */
.news-list li { border-bottom: 1px dashed #eee; padding: 10px 0; }
.news-list li:last-child { border-bottom: none; }
.news-list a { font-size: 14px; color: #444; display: block; overflow: hidden; text-overflow: ellipsis; white-space: normal; }
.news-list a:hover { color: var(--primary-color); }
.news-date { font-size: 11px; color: #bbb; margin-top: 4px; }

/* --- Bottom Contact Bar (WAP) --- */
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); padding: 10px 15px; box-shadow: 0 -2px 15px rgba(0,0,0,0.1); display: flex; gap: 10px; z-index: 2000; }
.btn-contact { flex: 1; height: 45px; border-radius: 25px; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 15px; color: #fff; }
.btn-wechat { background: #07c160; }
.btn-phone { background: var(--primary-color); }

@media (min-width: 1024px) { .bottom-bar { display: none; } }

/* --- Footer --- */
.footer { text-align: center; padding: 40px 0; color: #999; font-size: 13px; background: #fff; border-top: 1px solid #eee; }
.footer p {margin-bottom:20px;}