/* =========================================================================
 * 58-parttime.css —— 找兼职（58 兼职频道）复刻
 * 基准：真机 411dp 宽截图（480px 截图 / 1.168 = dp），尺寸注释即 dp
 * 依赖：58-tokens.css（品牌色）、58-job.css（筛选面板 .j58-sheet*）
 * ========================================================================= */

.page--pt58 { background: #F5F5F5; }
.page--pt58 .page__scroll { background: #F5F5F5; }
.page--pt58 button { font-family: inherit; }

.pt58-i { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.pt58-i--sm { width: 11px; height: 11px; }

/* ---------------- 顶部（城市 + 搜索 + 我要招人） ---------------- */
.pt58-top {
  flex: 0 0 auto;
  background: #fff;
}

.pt58-nav {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
}

.pt58-back {
  width: 26px;
  height: 34px;
  margin-right: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: #111;
  font-size: 27px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.pt58-city {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 17px;
  font-weight: 700;
  color: #111;
  letter-spacing: .2px;
}
.pt58-city i {
  width: 0;
  height: 0;
  margin-top: 4px;
  border-left: 4.4px solid transparent;
  border-right: 4.4px solid transparent;
  border-top: 5.4px solid #111;
}

.pt58-searchrow {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 1px 12px 10px;
}

/* 搜索框：白底 + 1px #E6E6E6 描边 + 圆角 19；右侧黑色胶囊按钮 */
.pt58-search {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 4px 0 12px;
  border: 1px solid #E6E6E6;
  border-radius: 19px;
  background: #fff;
  color: #8C8C8C;
}
.pt58-search__kw {
  flex: 1 1 auto;
  margin: 0 8px;
  font-size: 14px;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pt58-search__go {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 17px;
  border: 0;
  border-radius: 15px;
  background: #1A1A1A;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.pt58-search__go:active { background: #000; }

.pt58-recruit {
  flex: 0 0 auto;
  width: 52px;
  padding: 2px 0 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.pt58-recruit__ico {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD9A6, #FFAE4F);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt58-recruit__ico .pt58-i { width: 17px; height: 17px; color: #B04A06; }
.pt58-recruit span { font-size: 11px; color: #333; line-height: 1; }

/* ---------------- 金刚区 5 项 ---------------- */
.pt58-cats {
  display: flex;
  padding: 2px 2px 12px;
  background: #fff;
}
.pt58-cat {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  border: 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pt58-cat img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}
.pt58-cat span {
  font-size: 12.5px;
  color: #333;
  line-height: 1.2;
  white-space: nowrap;
}
.pt58-cat.is-on span { color: #FF552E; font-weight: 600; }
.pt58-cat:active img { transform: scale(.94); }

/* ---------------- 推荐 / 店员营业员 tab（吸顶） ---------------- */
.pt58-tabs {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 12px 0 4px;
  background: #fff;
  border-bottom: .5px solid #F0F0F0;
}
.pt58-tabs__scroll {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding-left: 8px;
}
.pt58-tabs__scroll::-webkit-scrollbar { height: 0; }

.pt58-tab {
  position: relative;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 9px;
  border: 0;
  background: none;
  font-size: 15px;
  color: #555;
  white-space: nowrap;
}
.pt58-tab.is-on {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}
/* 选中态：橙色短下划线（宽 20 / 高 3 / 圆角 2，距底 5） */
.pt58-tab.is-on::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 20px;
  height: 3px;
  margin-left: -10px;
  border-radius: 2px;
  background: #FF552E;
}

.pt58-plus {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-left: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #1A1A1A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt58-plus .pt58-i { width: 15px; height: 15px; }

/* ---------------- 排序条 ---------------- */
.pt58-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 5px;
}
.pt58-chip {
  height: 27px;
  padding: 0 14px;
  border: 0;
  border-radius: 13.5px;
  background: #F5F6F8;
  font-size: 12.5px;
  color: #666;
}
/* 真机两枚排序 chip 均为中性灰底，选中只加粗加深，不用品牌色 */
.pt58-chip.is-on {
  background: #EDEFF2;
  color: #111;
  font-weight: 600;
}
.pt58-filter {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  color: #666;
}
.pt58-filter.is-on { color: #FF552E; font-weight: 600; }

/* ---------------- 职位卡 ---------------- */
.pt58-list { padding: 5px 10px 0; }

.pt58-card {
  position: relative;
  margin-bottom: 10px;
  padding: 13px 13px 12px;
  border-radius: 10px;
  background: #fff;
  transition: opacity .18s ease, transform .18s ease;
}
.pt58-card:active { background: #FCFCFC; }
.pt58-card.is-hide { opacity: 0; transform: translateX(24px); }

.pt58-card__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pt58-card__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.42;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pt58-card__pay {
  flex: 0 0 auto;
  max-width: 122px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #FF552E;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pt58-card__co {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: #666;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pt58-card__co em { font-style: normal; color: #999; }

.pt58-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pt58-tag {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 5px;
  border: .5px solid #E9E9E9;
  border-radius: 3px;
  font-style: normal;
  font-size: 11px;
  color: #666;
  background: #fff;
}
.pt58-tag--hot {
  border-color: transparent;
  background: #FFF0EB;
  color: #FF6A3D;
}

.pt58-card__foot {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.pt58-card__hr {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.pt58-ava {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #F2F3F5;
}
.pt58-card__hrmain { min-width: 0; }
.pt58-card__hrmain b {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #333;
  line-height: 1.25;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.pt58-card__hrmain b em { font-style: normal; color: #333; }
.pt58-card__hrmain span {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  color: #999;
  line-height: 1.2;
}
.pt58-card__hrmain span.is-hot { color: #FF7A45; }

.pt58-card__side {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

/* 申请按钮：64×30 / 圆角 15 / 橙红渐变 */
.pt58-apply {
  width: 64px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #FF8A45, #FF4E1E);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(255, 78, 30, .26);
}
.pt58-apply:active { transform: scale(.97); }
.pt58-apply.is-done {
  background: #F2F3F5;
  color: #999;
  box-shadow: none;
}

.pt58-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #999;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pt58-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  font-size: 14px;
  font-style: normal;
  line-height: 1;
  color: #C4C4C4;
}

.pt58-end {
  padding: 14px 0 22px;
  text-align: center;
  font-size: 11px;
  color: #C0C0C0;
}

.pt58-empty {
  margin: 24px 4px;
  padding: 36px 16px;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}
.pt58-empty b { display: block; font-size: 14px; color: #333; }
.pt58-empty p { margin: 6px 0 0; font-size: 12px; color: #999; }

/* ---------------- 报名 / 详情单 ---------------- */
.pt58-apply-sheet .j58-sheet__head { padding-bottom: 2px; }

.pt58-apply-job {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(120deg, #FFF4EE, #FFF9F6);
}
.pt58-apply-job h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  line-height: 1.4;
}
.pt58-apply-pay {
  margin-top: 4px;
  font-size: 17px;
  font-weight: 700;
  color: #FF552E;
  font-variant-numeric: tabular-nums;
}

.pt58-apply-rows { padding: 4px 2px 0; }
.pt58-apply-row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: .5px solid #F2F2F2;
  font-size: 13px;
  line-height: 1.45;
}
.pt58-apply-row span { flex: 0 0 62px; color: #999; }
.pt58-apply-row b { flex: 1 1 auto; font-weight: 400; color: #333; }

.pt58-apply-tip {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #FFF8F3;
  font-size: 11.5px;
  line-height: 1.5;
  color: #B4763F;
}
.pt58-apply-tip .pt58-i { width: 14px; height: 14px; margin-top: 1px; color: #FF8A45; }

.pt58-detail-title {
  margin: 6px 0 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}
.pt58-detail-pay {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
  font-size: 19px;
  font-weight: 700;
  color: #FF552E;
  font-variant-numeric: tabular-nums;
}
.pt58-detail-pay span {
  font-size: 11px;
  font-weight: 400;
  color: #999;
}
.pt58-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.pt58-detail-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: .5px solid #F2F2F2;
}
.pt58-detail-block > b {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  color: #111;
}
.pt58-detail-block p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: #555;
}
.pt58-detail-li { position: relative; padding-left: 10px; }
.pt58-detail-li::before {
  content: '';
  position: absolute;
  left: 1px;
  top: 8px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #D8D8D8;
}

.pt58-apply-sheet .j58-sheet__foot,
.pt58-detail-block + .j58-sheet__foot { margin-top: 18px; }
.pt58-apply-sheet .btn,
.pt58-detail-block + .j58-sheet__foot .btn {
  flex: 1 1 0;
  height: 42px;
  border-radius: 21px;
  font-size: 15px;
  font-weight: 600;
}
