/* =========================================================================
 * 58-screens.css —— 发布页 / 社区页 / 我的页（58 同城 1:1 复刻）
 * 视觉基准：真机截图 _ops/58real/r_publish.png / r_comm.png / r_mine.png
 *           （1080x2400 / 420dpi / 411dp 宽）
 * 换算：px ÷ 2.625 = dp；页面坐标 = 截图坐标 − 30.5（状态栏）
 * 设计前提：已登录 + 默认身份「求职者」
 * ========================================================================= */

/* =======================================================  发布页  ======= */
.page--pub58 { background: #fff; }

.pub58 { position: relative; padding-bottom: 6px; }

/* 顶部渐变 + 插画 + 标题（整块取自真机，压 198dp 高） */
.pub58__hero {
  position: relative;
  height: 198px;
  background: #FFF3E6 url("../img/58/pub/hero.png") no-repeat 0 0 / 100% 100%;
}
.pub58__hit {
  position: absolute; border: 0; padding: 0; background: transparent;
  -webkit-tap-highlight-color: transparent;
}
.pub58__hit--back { left: 0; top: 0; width: 62px; height: 46px; }
.pub58__hit--mine { right: 8px; top: 2px; width: 120px; height: 42px; }
.pub58__hit--cta  { left: 10px; top: 124px; width: 216px; height: 30px; }

.pub58__body { padding: 0 15px; }
.pub58__row { display: flex; gap: 6px; }
.pub58__row + .pub58__row { margin-top: 9px; }
.pub58__row > .pc58 { flex: 1 1 0; min-width: 0; }

/* ---------------------------------------------------------- 卡片通用 -- */
.pc58 {
  position: relative; display: block; width: 100%; margin: 0; padding: 0;
  border: 0; border-radius: 12px; overflow: hidden; text-align: left;
  font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent;
}
.pc58:active { opacity: .92; }
.pc58--cream   { background: linear-gradient(100deg, #FFF8E4 0%, #FFF2CE 100%); }
.pc58--salmon  { background: linear-gradient(100deg, #FACDBC 0%, #F9B69B 100%); }
.pc58--salmon2 { background: #FBD1C0; }
.pc58--mint    { background: #DCFBF7; }
.pc58--mint2   { background: #DFFAF6; }
.pc58--blue    { background: linear-gradient(100deg, #EDF7FF 0%, #DFF1FF 100%); }
.pc58--green   { background: linear-gradient(100deg, #F0FEEB 0%, #E4FDE0 100%); }

/* 行高：83 / 83 / 84 / 111 / 84 / 84 */
.pc58--h1 { height: 83px; }
.pc58--h2 { height: 84px; }
.pc58--h3 { height: 84px; }
.pc58--h4 { height: 111px; }
.pc58--h5 { height: 84px; }
.pc58--h6 { height: 84px; }

.pc58__ic {
  position: absolute; left: 14px; top: 26px; width: 32px; height: 32px;
  /* 素材图右侧带竖排文字残留：按高度等比缩放 + 左对齐，只露出图标本体 */
  background-repeat: no-repeat; background-position: left center; background-size: auto 100%;
}
.pc58__t {
  position: absolute; left: 56px; top: 22px;
  font-size: 19px; line-height: 24px; font-weight: 700; color: #111; letter-spacing: -.2px;
}
.pc58__t i { font-style: normal; color: #FF552E; font-weight: 700; margin-left: 1px; }
.pc58__ar { font-style: normal; margin-left: 2px; color: #8C8C8C; font-weight: 400; }
.pc58__s {
  position: absolute; left: 56px; top: 49px;
  font-size: 11.5px; line-height: 16px; color: #666;
}
.pc58__badge {
  position: absolute; left: 0; top: 0; height: 18px; padding: 0 8px 0 7px;
  border-radius: 12px 0 12px 0; background: linear-gradient(90deg, #FF7043, #FF2D1F);
  color: #fff; font-size: 11px; line-height: 18px; font-weight: 600;
}

/* -------------------------------------------------------- 招全职区块 -- */
.pub58__job { display: flex; gap: 6px; margin-top: 9px; }
.pub58__job > .pc58:first-child { flex: 0 0 61.6%; }
.pub58__jobside { flex: 1 1 auto; display: flex; flex-direction: column; gap: 6px; }
.pub58__jobside .pc58--part { height: 42px; }
.pub58__jobside .pc58--free {
  height: 37px;
  background: url("../img/58/pub/free_card.png") no-repeat center center / 100% 100%;
}
.pub58__jobside .pc58__t { top: 9px; }

/* -------------------------------------------------------- 本地服务区块 -- */
.pub58__svc {
  position: relative; margin-top: 9px; height: 111px;
  border-radius: 12px; background: #DCFBF7; overflow: hidden;
}
.pub58__svc .pc58 { position: absolute; right: 0; top: 0; width: 36.8%; height: 42px; }
.pub58__svc .pc58__t { top: 9px; }
.pub58__svc > .pc58__ic { left: 15px; }
.pub58__svc > .pc58__t { left: 57px; }
.pub58__svc > .pc58__s { left: 57px; }

.pub58__chips {
  position: absolute; left: 0; right: 0; top: 73px;
  display: flex; gap: 6px; padding: 0 2px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.pub58__chips::-webkit-scrollbar { height: 0; }
.pub58__chip {
  flex: 0 0 auto; display: flex; align-items: center; gap: 2px;
  height: 22px; padding: 0 3px 0 6px; border: 0; border-radius: 8px;
  background: #fff; color: #111; font-size: 12.5px; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.pub58__chip i {
  width: 15px; height: 15px;
  background: no-repeat left center / auto 100%;
}
.pub58__chip--more { background: #DFFAF6; padding: 0 4px; }

.pub58__help {
  margin-top: 25px; padding-bottom: 16px; text-align: center;
  font-size: 13px; color: #999;
}
.pub58__help b { color: #FF552E; font-weight: 600; margin-left: 3px; }
.pub58__help b:after { content: "›"; margin-left: 1px; }

/* =======================================================  社区页  ======= */
.page--c58 { background: #F7F8FA; }

.c58 {
  min-height: 100%;
  background: linear-gradient(180deg, #FDF9E8 0, #F8FAF2 96px, #F7F8FA 180px);
  padding-bottom: 12px;
}

.c58__head { position: relative; padding: 8px 12px 0; height: 44px; }
.c58__brand {
  display: flex; align-items: flex-end;
  font-size: 22px; line-height: 28px; font-weight: 800; color: #111; letter-spacing: -.4px;
}
.c58__brand em {
  font-style: normal; font-size: 12.5px; line-height: 16px; font-weight: 600;
  color: #2A2A2A; margin: 0 0 2px 4px;
}
.c58__squiggle {
  width: 22px; height: 24px; margin: 0 0 1px 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M3 20c2-4 5-6 8-3s4 5 8 2' fill='none' stroke='%2367E36B' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;
}
.c58__acts { position: absolute; right: 12px; top: 4px; display: flex; align-items: center; gap: 13px; }
.c58__bell { position: relative; width: 26px; height: 26px; border: 0; background: none; padding: 0; }
.c58__bell svg { width: 24px; height: 24px; }
.c58__bell b {
  position: absolute; right: -4px; top: -4px; min-width: 16px; height: 16px; padding: 0 3px;
  border-radius: 8px; background: #FF3B30; color: #fff; font-size: 11px; line-height: 16px;
  font-weight: 600; text-align: center;
}
.c58__me {
  width: 26px; height: 26px; border-radius: 50%; border: 0; padding: 0;
  background: #fff url("../img/58/hr/au1.png") no-repeat center/cover;
}

.c58__search {
  display: flex; align-items: center; gap: 8px;
  margin: 4px 11px 0; height: 34px; padding: 0 12px;
  border: 1.5px solid #1A1A1A; border-radius: 17px; background: #fff;
}
.c58__search svg { width: 17px; height: 17px; flex: 0 0 auto; }
.c58__search span { font-size: 15.5px; color: #222; }

.c58__tabs {
  display: flex; gap: 25px; margin-top: 12px; padding: 0 11px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.c58__tabs::-webkit-scrollbar { height: 0; }
.c58__tab {
  flex: 0 0 auto; border: 0; background: none; padding: 0;
  font-size: 18px; line-height: 24px; color: #4A4A4A; font-family: inherit;
}
.c58__tab.is-on { color: #111; font-weight: 700; }

.c58__feed { display: flex; gap: 10px; padding: 14px 11px 0; align-items: flex-start; }
.c58__col { flex: 1 1 0; min-width: 0; }

.c58c {
  display: block; width: 100%; margin: 0 0 10px; padding: 0; border: 0;
  background: #fff; border-radius: 12px; overflow: hidden; text-align: left;
  font-family: inherit; -webkit-tap-highlight-color: transparent;
}
.c58c__img { display: block; width: 100%; background: #F2F3F5; }
.c58c__img img { display: block; width: 100%; }
.c58c__b { padding: 9px 11px 11px; }
.c58c__t {
  font-size: 15px; line-height: 21px; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c58c__m { display: flex; align-items: center; margin-top: 10px; font-size: 12.5px; color: #999; }
.c58c__ava {
  display: inline-block; width: 19px; height: 19px; border-radius: 50%; margin-right: 6px;
  background: #E4E6EA no-repeat center/70% auto;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B9BDC4'%3E%3Ccircle cx='12' cy='8.4' r='4.1'/%3E%3Cpath d='M12 13.6c-4.2 0-7.4 2.6-7.4 6.2h14.8c0-3.6-3.2-6.2-7.4-6.2Z'/%3E%3C/svg%3E");
}
.c58c__m em { font-style: normal; flex: 1 1 auto; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.c58c__v { display: flex; align-items: center; gap: 3px; }
.c58c__v svg { width: 15px; height: 15px; }

/* =======================================================  我的页  ======= */
.page--m58 { background: #F6F7F9; }

.m58 {
  min-height: 100%; padding-bottom: 12px;
  background: linear-gradient(180deg, #FDD2A2 0, #FEE8CB 70px, #FEF8EF 130px, #FFFFFF 190px);
}

.m58__top { position: relative; height: 52px; padding: 0 14px; display: flex; }
.m58__switch {
  display: flex; align-items: center; gap: 7px; margin-top: 19px;
  border: 0; background: none; padding: 0; font-family: inherit;
}
.m58__switch svg { width: 20px; height: 20px; }
.m58__switch span { font-size: 16px; line-height: 22px; color: #111; }

.m58__tools { position: absolute; right: 12px; top: 2px; display: flex; gap: 12px; }
.m58__tool {
  width: 44px; display: flex; flex-direction: column; align-items: center;
  border: 0; background: none; padding: 0; font-family: inherit;
}
.m58__tool svg { width: 27px; height: 27px; }
.m58__tool span { margin-top: 3px; font-size: 13px; line-height: 17px; color: #1A1A1A; }

.m58__user { position: relative; padding: 9px 12px 0 15px; height: 78px; }
.m58__ava {
  position: absolute; left: 15px; top: 9px; width: 51px; height: 51px;
  border-radius: 50%; overflow: hidden; background: #DCF3F0 no-repeat center/cover;
}
.m58__uname { position: absolute; left: 72px; right: 130px; top: 12px; font-size: 19px; line-height: 24px; font-weight: 700; color: #111; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m58__follow { position: absolute; left: 72px; right: 130px; top: 41px; font-size: 14px; line-height: 18px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m58__follow i { font-style: normal; margin: 0 7px; color: #CFCFCF; }
.m58__verify {
  position: absolute; right: 11px; top: 19px; display: flex; align-items: center; gap: 4px;
  height: 32px; padding: 0 12px 0 13px; border: 0; border-radius: 16px;
  background: #fff; box-shadow: 0 1px 6px rgba(190, 140, 90, .16);
  font-size: 15px; color: #666; font-family: inherit;
}
.m58__verify svg { width: 17px; height: 17px; }

.m58__assets {
  display: flex; margin: 8px 11px 0; height: 65px;
  background: #fff; border-radius: 16px;
}
.m58__asset { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.m58__asset b { font-size: 20px; line-height: 26px; font-weight: 700; color: #111; }
.m58__asset span { margin-top: 2px; font-size: 15px; line-height: 20px; color: #333; }

.m58__quick { display: flex; margin: 13px 11px 0; height: 84px; background: #fff; border-radius: 16px; }
.m58__qi { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 0; background: none; padding: 0; font-family: inherit; }
.m58__qi i { width: 32px; height: 32px; background: no-repeat 0 0/100% 100%; }
.m58__qi span { margin-top: 7px; font-size: 14px; line-height: 18px; color: #333; }

.m58__tabs {
  display: flex; gap: 26px; margin-top: 17px; padding: 0 12px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.m58__tabs::-webkit-scrollbar { height: 0; }
.m58__tab {
  position: relative; flex: 0 0 auto; border: 0; background: none; padding: 0 0 9px;
  font-size: 18px; line-height: 24px; color: #333; font-family: inherit;
}
.m58__tab.is-on { font-weight: 700; color: #111; }
.m58__tab.is-on:after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 24px; height: 5px;
  margin-left: -12px; border-radius: 3px;
  background: linear-gradient(90deg, #FFB08A, #FF5A2C);
}

.m58__banner {
  position: relative; margin: 3px 11px 0; height: 114px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(100deg, #FFF1EF 0%, #FFF6F3 60%, #FFF1F0 100%);
}
.m58__banner .art {
  position: absolute; right: 0; bottom: 0; width: 139px; height: 117px;
  background: url("../img/58/mine/banner_art.png") no-repeat 0 0/100% 100%;
}
.m58__banner h3 { position: absolute; left: 17px; top: 14px; font-size: 22px; line-height: 29px; font-weight: 700; color: #3A3A3A; }
.m58__banner p { position: absolute; left: 17px; top: 84px; font-size: 13px; line-height: 18px; color: #9A9A9A; }
.m58__banner p:after { content: "›"; margin-left: 2px; }

.m58__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 11px 11px 0; padding: 12px 0 10px; background: #fff; border-radius: 16px;
}
.m58__gi {
  display: flex; flex-direction: column; align-items: center; padding: 6px 0;
  border: 0; background: none; font-family: inherit;
}
.m58__gi i { width: 33px; height: 33px; background: no-repeat 0 0/100% 100%; }
.m58__gi span { margin-top: 8px; font-size: 15px; line-height: 20px; color: #333; }

.m58__segs { display: flex; gap: 10px; padding: 17px 11px 0; }
.m58__seg {
  height: 27px; padding: 0 14px; border: 0; border-radius: 14px;
  background: #F0F1F3; color: #222; font-size: 15px; font-family: inherit;
}
.m58__seg.is-on { background: #FFF0EC; color: #FF4A1E; box-shadow: inset 0 0 0 1px #FFC7B4; }

.m58__feed { display: flex; gap: 10px; padding: 15px 11px 0; align-items: flex-start; }
.m58__col { flex: 1 1 0; min-width: 0; }

/* 我的页 · 瀑布流职位卡 */
.m58j {
  display: block; width: 100%; margin: 0 0 10px; padding: 12px 12px 14px;
  border: 0; border-radius: 12px; background: #fff; text-align: left;
  font-family: inherit; -webkit-tap-highlight-color: transparent;
}
.m58j:active { opacity: .92; }
.m58j__top { display: flex; gap: 8px; }
.m58j__t {
  flex: 1 1 auto; min-width: 0;
  font-size: 17px; line-height: 24px; font-weight: 700; color: #111;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.m58j__hr { flex: 0 0 44px; display: flex; flex-direction: column; align-items: center; }
.m58j__ava {
  width: 28px; height: 28px; border-radius: 50%; background: #E4E6EA;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B9BDC4'%3E%3Ccircle cx='12' cy='8.4' r='4.1'/%3E%3Cpath d='M12 13.6c-4.2 0-7.4 2.6-7.4 6.2h14.8c0-3.6-3.2-6.2-7.4-6.2Z'/%3E%3C/svg%3E");
  background-size: 70% auto; background-position: center; background-repeat: no-repeat;
}
.m58j__hr span {
  margin-top: 4px; max-width: 44px; font-size: 12.5px; line-height: 16px; color: #666;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m58j__pay { margin-top: 10px; font-size: 18px; line-height: 24px; font-weight: 700; color: #FF4114; }

/* ================================================  商家认证引导页  ======= */
/* 未认证商家点「切换为商家」落地页；已认证直接进商家首页，不经此页 */
.page--mchauth { background: #fff; }

.mchauth__bar {
  flex: 0 0 auto; height: 44px; padding: 0 10px 0 4px;
  display: flex; align-items: center; justify-content: space-between; background: #fff;
}
.mchauth__back {
  width: 38px; height: 38px; border: 0; background: none; padding: 0;
  font-size: 26px; line-height: 38px; color: #111; font-family: inherit;
}
.mchauth__seeker {
  border: 0; background: none; padding: 0 6px;
  font-size: 14px; line-height: 20px; color: #333; font-family: inherit;
}

.mchauth__notice {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 2px; padding: 9px 14px;
  background: #FFF6F2; color: #C2410C; font-size: 12.5px; line-height: 18px;
}
.mchauth__notice i { flex: 0 0 15px; width: 15px; height: 15px; color: #FF552E; }
.mchauth__notice i svg { width: 15px; height: 15px; }
.mchauth__notice span { flex: 1 1 auto; min-width: 0; }
.mchauth__notice em { font-style: normal; color: #E9A98F; font-size: 15px; }

.mchauth__head { padding: 22px 16px 0; }
.mchauth__title {
  margin: 0; font-size: 25px; line-height: 34px; font-weight: 700;
  color: #111; letter-spacing: -.4px;
}
.mchauth__sub { margin: 7px 0 0; font-size: 13px; line-height: 19px; color: #8C8C8C; }

.mchauth__list { padding: 18px 12px 0; }

.mchauth__item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 14px; border: 1px solid #F0F0F0; border-radius: 12px;
  background: #fff; text-align: left; font-family: inherit;
  -webkit-tap-highlight-color: transparent;
}
.mchauth__item + .mchauth__item { margin-top: 10px; }
.mchauth__item:active { background: #FAFAFA; }

.mchauth__ico {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-weight: 700;
}
.mchauth__ico svg { width: 22px; height: 22px; }
.mchauth__ico b { font-size: 18px; line-height: 1; }
.mchauth__ico--lic { background: #FFF1EA; color: #FF552E; }
.mchauth__ico--ali { background: #1677FF; color: #fff; }
.mchauth__ico--eli { background: #EAF3FF; color: #1677FF; }
.mchauth__ico--leg { background: #F2EFFF; color: #6A58E8; }

.mchauth__txt { flex: 1 1 auto; min-width: 0; }
.mchauth__txt b {
  display: flex; align-items: center; gap: 6px;
  font-size: 15.5px; line-height: 22px; font-weight: 600; color: #111;
}
.mchauth__txt span { display: block; margin-top: 3px; font-size: 12px; line-height: 17px; color: #9A9A9A; }
.mchauth__rec {
  font-style: normal; font-weight: 500; font-size: 10.5px; line-height: 16px;
  padding: 0 5px; border-radius: 3px; background: #FF552E; color: #fff;
}
.mchauth__ar { flex: 0 0 auto; font-style: normal; font-size: 17px; color: #C8C8C8; }

.mchauth__more, .mchauth__skip {
  display: block; margin: 0 auto; border: 0; background: none;
  font-family: inherit; text-align: center;
}
.mchauth__more { margin-top: 18px; padding: 8px 14px; font-size: 13.5px; line-height: 19px; color: #444; }
.mchauth__skip { margin-top: 2px; padding: 8px 14px; font-size: 13px; line-height: 19px; color: #A0A0A0; }

.mchauth__foot {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 22px 0 26px; font-size: 12px; line-height: 17px; color: #BDBDBD;
}
.mchauth__foot button {
  border: 0; background: none; padding: 4px 2px; font-family: inherit;
  font-size: 12px; line-height: 17px; color: #BDBDBD;
}
.mchauth__foot i { font-style: normal; color: #E4E4E4; }

/* 商家首页底部「切回求职者」按钮（沿用 list-foot 排版） */
.bossback {
  display: block; width: 100%; border: 0; background: none; padding: 18px 14px;
  font-family: inherit; font-size: 12.5px; line-height: 18px; color: #FF552E;
}

@media (min-width: 520px) {
  .pub58__body, .c58__feed, .m58__feed { max-width: 480px; margin-left: auto; margin-right: auto; }
}
