*{box-sizing:border-box;margin:0;padding:0}
button {
  display: flex;
  align-items: center;
  justify-content: center;
}
#detailFav {
  background: none;
}
:root{
  --primary:#2563eb;
  --primary2:#4f8cff;
  --blue-bg:#eef5ff;
  --text:#172033;
  --sub:#718096;
  --muted:#9aa5b5;
  --line:#edf0f5;
  --bg:#f5f7fb;
  --card:#fff;
  --green:#16a56b;
  --orange:#ff8a34;
  --red:#f05252;
  --shadow:0 8px 30px rgba(31,45,72,.07);
}
html,body{height:100%;background:#eef1f6}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
button,input{font:inherit;border:0;outline:none}
button{cursor:pointer}
.app{
  width:100%;
  max-width:480px;
  height:100vh;
  min-height:680px;
  margin:auto;
  background:var(--bg);
  position:relative;
  overflow:hidden;
}
@media(min-width:600px){
  .app{height:900px;margin:25px auto;border-radius:30px;box-shadow:0 20px 70px rgba(20,35,60,.16)}
}
.page{
  position:absolute;
  inset:0;
  padding-bottom:76px;
  overflow-y:auto;
  scrollbar-width:none;
}
.page::-webkit-scrollbar{display:none}
.hidden{display:none!important}

/* Header */
.header{
  padding:18px 18px 12px;
  background:var(--bg);
  position:sticky;
  top:0;
  z-index:10;
}
.topline{display:flex;align-items:center;justify-content:space-between}
.brand{
  display:flex;
  align-items:center;
  gap:9px;
  font-size:21px;
  font-weight:800;
}
.logo{
  width:35px;height:35px;border-radius:11px;
  background:linear-gradient(135deg,#2475ff,#55a1ff);
  color:#fff;display:grid;place-items:center;
  box-shadow:0 6px 16px rgba(37,99,235,.25);
}
.location{
  display:flex;align-items:center;gap:5px;
  color:#596579;font-size:13px;
}
.iconbtn{
  width:38px;height:38px;border-radius:12px;
  background:#fff;color:#4e5a6d;
  box-shadow:0 3px 15px rgba(40,55,80,.06);
  position:relative;
}
.dot{
  position:absolute;width:7px;height:7px;border-radius:50%;
  background:#ff5757;right:8px;top:7px;border:2px solid #fff;
}

/* Search */
.search{
  margin-top:15px;height:46px;background:#fff;
  border-radius:14px;display:flex;align-items:center;
  padding:0 14px;gap:9px;
  box-shadow:0 5px 20px rgba(40,55,80,.05);
}
.search span{font-size:18px}
.search input{flex:1;color:var(--text);font-size:14px;background:transparent}
.search input::placeholder{color:#a2aaba}
.search .filter{color:var(--primary);font-size:18px}

/* Banner */
.banner{
  margin:6px 16px 15px;
  border-radius:20px;
  min-height:145px;
  padding:21px;
  color:#fff;
  overflow:hidden;
  position:relative;
  background:linear-gradient(120deg,#2268e9,#579cff);
  box-shadow:0 12px 28px rgba(37,99,235,.2);
}
.banner:after{
  content:"";
  position:absolute;width:180px;height:180px;border-radius:50%;
  right:-45px;top:-60px;background:rgba(255,255,255,.12);
}
.banner h2{font-size:22px;position:relative;z-index:2}
.banner p{font-size:12px;opacity:.85;margin-top:8px;position:relative;z-index:2}
.banner button{
  margin-top:15px;padding:8px 14px;border-radius:9px;
  color:#2669e9;background:#fff;font-size:12px;font-weight:700;
  position:relative;z-index:2;
}

/* Sections */
.section{padding:0 16px;margin-bottom:18px}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.section-head h3{font-size:17px}
.more{font-size:12px;color:#8b95a5}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.quick{
  background:#fff;border-radius:15px;padding:13px 4px;
  text-align:center;box-shadow:0 4px 16px rgba(30,45,70,.04)
}
.quick .qicon{
  width:38px;height:38px;border-radius:12px;margin:auto auto 7px;
  display:grid;place-items:center;font-size:19px;
}
.quick span{font-size:11px;color:#596579}

/* Job card */
.job-list{display:flex;flex-direction:column;gap:11px}
.job{
  background:#fff;border-radius:17px;padding:15px;
  box-shadow:0 4px 18px rgba(30,45,70,.045);
}
.job-top{display:flex;gap:11px}
.company-logo{
  width:43px;height:43px;border-radius:12px;
  background:#eef4ff;color:#3376eb;
  display:grid;place-items:center;font-size:19px;flex:none;
}
.job-info{min-width:0;flex:1}
.job-title{font-size:15px;font-weight:700;margin-bottom:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.company{font-size:11px;color:#8b95a5}
.salary{font-size:17px;color:#f06b28;font-weight:800;white-space:nowrap}
.salary small{font-size:10px;font-weight:500}
.tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0 10px}
.tag{
  padding:4px 7px;background:#f5f7fa;color:#697588;
  border-radius:5px;font-size:10px;
}
.tag.blue{color:#3777df;background:#edf4ff}
.job-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0f2f6;padding-top:10px}
.location-text{font-size:10px;color:#9099a8}
.job-action{display:flex;gap:8px;align-items:center}
.star{font-size:20px;color:#c3c9d2;background:none}
.star.active{color:#ffb11b}
.apply-mini{
  background:#edf4ff;color:#286de0;padding:6px 12px;
  border-radius:8px;font-size:11px;font-weight:600;
}

/* Jobs page */
.jobs-head{padding:16px 16px 8px}
.filter-row{display:flex;gap:8px;overflow:auto;padding-bottom:5px}
.filter-row::-webkit-scrollbar{display:none}
.filter-chip{
  flex:none;padding:8px 13px;border-radius:10px;background:#fff;
  color:#697588;font-size:12px;
}
.filter-chip.active{background:#eaf2ff;color:#286de0;font-weight:600}
.jobs-container{padding:5px 16px}

/* Detail */
.detail-header{
  height:58px;padding:0 16px;display:flex;align-items:center;
  justify-content:space-between;background:#fff;position:sticky;top:0;z-index:20;
}
.back{font-size:25px;background:none;color:#333}
.detail-hero{background:#fff;padding:20px 18px 22px}
.detail-company{display:flex;gap:13px;align-items:center}
.detail-logo{width:57px;height:57px;border-radius:15px;background:#eaf2ff;display:grid;place-items:center;font-size:25px}
.detail-title{font-size:19px;font-weight:800}
.detail-company p{font-size:12px;color:#8a94a4;margin-top:6px}
.detail-salary{font-size:25px;font-weight:800;color:#ef702c;margin-top:18px}
.detail-salary span{font-size:12px;font-weight:500}
.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);margin-top:18px;background:#f7f9fc;border-radius:13px;padding:13px 0}
.stat{text-align:center;border-right:1px solid #e7eaf0}
.stat:last-child{border:0}
.stat b{display:block;font-size:13px}
.stat span{font-size:10px;color:#969fad;display:block;margin-top:4px}
.detail-body{padding:14px 16px 100px}
.info-card{background:#fff;border-radius:16px;padding:16px;margin-bottom:12px}
.info-card h3{font-size:15px;margin-bottom:12px}
.desc{font-size:12px;color:#687386;line-height:1.9}
.info-row{display:flex;gap:10px;margin:11px 0;font-size:12px;color:#687386}
.info-row b{color:#303b4e;min-width:55px}
.fixed-apply{
  position:absolute;bottom:0;left:0;right:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:rgba(255,255,255,.94);backdrop-filter:blur(12px);
  display:flex;gap:10px;border-top:1px solid #edf0f4;z-index:30;
}
.favorite-btn{width:48px;border-radius:13px;background:#f4f6f9;font-size:21px}
.primary-btn{flex:1;background:linear-gradient(135deg,#2670ed,#438cff);color:#fff;border-radius:13px;font-weight:700}

/* Bottom nav */
.bottom{
  position:absolute;bottom:0;left:0;right:0;height:70px;
  background:rgba(255,255,255,.96);backdrop-filter:blur(14px);
  border-top:1px solid #edf0f4;display:flex;z-index:50;
  padding-bottom:env(safe-area-inset-bottom);
}
.nav{flex:1;background:none;color:#9aa3b2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
.nav .ni{font-size:21px;line-height:20px}
.nav span{font-size:10px}
.nav.active{color:#286de0}
.nav.active .ni{transform:translateY(-1px)}

/* Profile */
.profile-top{
  background:linear-gradient(135deg,#2169e9,#589aff);
  color:#fff;padding:28px 18px 23px;
}
.profile-user{display:flex;align-items:center;gap:13px}
.avatar{width:57px;height:57px;border-radius:50%;background:#fff;color:#3779e8;display:grid;place-items:center;font-size:24px;font-weight:800}
.profile-name{font-size:18px;font-weight:800}
.profile-phone{font-size:11px;opacity:.78;margin-top:5px}
.profile-edit{margin-left:auto;padding:7px 12px;background:rgba(255,255,255,.16);color:#fff;border-radius:9px;font-size:11px}
.profile-stats{display:grid;grid-template-columns:repeat(2,1fr);margin-top:24px}
.ps{text-align:center;border-right:1px solid rgba(255,255,255,.2)}
.ps:last-child{border:0}
.ps b{font-size:17px}.ps span{display:block;font-size:10px;opacity:.75;margin-top:4px}
.menu{margin:13px 16px;background:#fff;border-radius:16px;overflow:hidden}
.menu-item{height:53px;display:flex;align-items:center;padding:0 15px;border-bottom:1px solid #f0f2f5;gap:11px}
.menu-item:last-child{border:0}
.mi{width:30px;height:30px;border-radius:9px;background:#eef4ff;display:grid;place-items:center}
.menu-item label{font-size:13px;flex:1}
.menu-item em{font-style:normal;color:#c1c7d0;font-size:18px}

/* Messages */
.msg-list{padding:8px 16px}
.msg{
  background:#fff;padding:15px;border-radius:15px;margin-bottom:10px;
  display:flex;gap:12px;
}
.msg-icon{width:43px;height:43px;border-radius:13px;background:#edf4ff;display:grid;place-items:center;font-size:20px}
.msg-body{flex:1}
.msg-title{font-size:13px;font-weight:700}
.msg-time{float:right;font-size:9px;color:#a4acb8;font-weight:400}
.msg p{font-size:11px;color:#818b9b;line-height:1.5;margin-top:5px}

/* Modal */
.mask{
  position:absolute;inset:0;background:rgba(20,28,43,.46);
  z-index:100;display:flex;align-items:flex-end;
}
.modal{
  background:#fff;width:100%;border-radius:24px 24px 0 0;
  padding:20px 18px calc(20px + env(safe-area-inset-bottom));
  max-height:88%;overflow:auto;animation:up .25s ease;
}
@keyframes up{from{transform:translateY(100%)}to{transform:translateY(0)}}
.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.modal-head h3{font-size:18px}
.close{background:#f2f4f7;border-radius:50%;width:30px;height:30px}
.form-group{margin-bottom:13px}
.form-group label{display:block;font-size:11px;color:#657185;margin-bottom:7px}
.form-input,.form-select,.form-textarea{
  width:100%;background:#f6f8fb;border:1px solid #eef1f5;
  border-radius:11px;padding:12px;font-size:13px;color:#273247;
}
.form-textarea{height:90px;resize:none}
.modal-submit{width:100%;height:46px;border-radius:12px;background:#286fe9;color:#fff;font-weight:700;margin-top:5px}

/* Toast */
.toast{
  position:absolute;z-index:200;left:50%;bottom:90px;transform:translateX(-50%) translateY(15px);
  background:rgba(25,32,46,.92);color:#fff;padding:10px 15px;border-radius:9px;
  font-size:12px;opacity:0;pointer-events:none;transition:.25s;white-space:nowrap;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* Empty */
.empty{text-align:center;padding:60px 20px;color:#9ba4b2}
.empty .ei{font-size:45px;margin-bottom:10px}
.empty p{font-size:12px}

/* Login */
.login-modal{align-items:center;padding:18px}
.login-modal .modal{border-radius:22px;padding:25px 20px}
.login-logo{text-align:center;margin:5px 0 22px}
.login-logo .logo{margin:auto;width:50px;height:50px;font-size:23px}
.login-logo h2{font-size:20px;margin-top:10px}
.login-logo p{font-size:11px;color:#9aa3b2;margin-top:5px}
.code-row{display:flex;gap:8px}
.code-row input{flex:1}
.code-row button{width:95px;background:#eaf2ff;color:#286fe9;border-radius:11px;font-size:11px}
.agree{font-size:10px;color:#9aa3b2;margin:12px 0 15px;text-align:center}