:root {
    --primary-color: #00BEBD; /* BOSS直聘青 */
    --accent-color: #ff4d4f; /* 提醒红 */
    --bg-body: #f8f9fa;
    --text-main: #222;
    --text-sub: #666;
    --white: #ffffff;
}

* { 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.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Header --- */
.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; }

/* --- Breadcrumb 面包屑 --- */
.breadcrumb { max-width: 1200px; margin: 15px auto 0; padding: 0 15px; font-size: 13px; color: #888; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb span { margin: 0 5px; color: #ccc; }

/* --- Main Layout --- */
.container { max-width: 1200px; margin: 15px 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; } }

/* --- Detail Content --- */
.detail-main { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.detail-cover { width: 100%; height: 240px; object-fit: cover; display: block; background: #eee; }
@media (min-width: 1024px) { .detail-cover { height: 420px; } }

.detail-body { padding: 20px; }
.job-header { margin-bottom: 15px; }
.job-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.job-name { font-size: 22px; font-weight: bold; color: #111; flex: 1; line-height: 1.3; }
.job-price { color: var(--accent-color); font-size: 20px; font-weight: bold; white-space: nowrap; }

.job-status-bar { display: flex; gap: 20px; font-size: 13px; color: #999; margin: 10px 0 15px; border-bottom: 1px solid #f5f5f5; padding-bottom: 15px; }
.status-item b { color: #666; font-weight: 500; }

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

.section-title { font-size: 18px; font-weight: bold; margin: 30px 0 15px; display: flex; align-items: center; }
.section-title::before { content: ""; width: 4px; height: 18px; background: var(--primary-color); margin-right: 10px; border-radius: 2px; }
.detail-text { font-size: 15px; color: #444; line-height: 1.8; }

/* 动态标签样式 */
.live-tag {font-size: 10px;background: #e74c3c;color: #fff;padding: 2px 6px;border-radius: 10px;animation: blink 1.2s infinite;}
/* 介绍框背景效果 */
.dynamic-intro {position: relative;background: linear-gradient(145deg, #ffffff, #f9f9f9);border-left: 4px solid #ff4d4f;padding: 15px !important;overflow: hidden;line-height: 1.8;box-shadow: 0 4px 12px rgba(0,0,0,0.05);}

/* 蓝色扫描线动画，暗示信息实时抓取 */
.scan-line {position: absolute;top: 0;left: 0;width: 100%;height: 2px;background: rgba(231, 76, 60, 0.2);animation: scan 3s linear infinite;}

@keyframes blink {0%, 100% { opacity: 1; }50% { opacity: 0.3; }}

@keyframes scan {0% { top: 0; }100% { top: 100%; }}

.dynamic-intro strong {color: #2c3e50;border-bottom: 1px dashed #ff4d4f;}

/* --- Recommendation List --- */
.recommend-section { margin-top: 30px; }
.rec-card { background: var(--white); border: 1px solid #f0f0f0; border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.job-title-sub { font-size: 16px; font-weight: bold; color: #222; }

/* --- Sidebar --- */
.sidebar-box { background: var(--white); border-radius: 12px; padding: 20px; margin-bottom: 20px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.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; }

.leader-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.service-list li { font-size: 13px; color: #666; margin-bottom: 10px; display: flex; align-items: center; }
.service-list li::before { content: "✅"; margin-right: 8px; font-size: 12px; }

/* 商圈网格 */
.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 Bar --- */
.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: 46px; border-radius: 23px; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; }
@media (min-width: 1024px) { .bottom-bar { display: none; } }

.footer { text-align: center; padding: 40px 0; color: #999; font-size: 13px; background: var(--white); border-top: 1px solid #eee; margin-top: 40px; }
.footer p {margin-bottom:20px;}