/* =========================================================================
 * publish.css —— 发布中心视觉（参照 58「马上发」发布中心布局，品牌色换为艾米）
 * 全部使用 .pc- 前缀，不改动 app.css / v2.css 的既有组件。
 * ========================================================================= */

.pc-page { background: #fff; }
.pc-scroll { background: #fff; padding-bottom: 30px; }

/* ---------------- 顶部 banner ---------------- */
.pc-hero {
  position: relative;
  height: 172px;
  padding: 12px 16px 0;
  overflow: hidden;
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(220px 150px at 88% 22%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(118deg, #ffdfe8 0%, #fff0f1 48%, #e4f6ef 100%);
}
.pc-hero::before {
  content: '';
  position: absolute; right: -30px; top: 26px;
  width: 190px; height: 190px; border-radius: 42px;
  border: 16px solid rgba(255, 255, 255, .38);
  transform: rotate(22deg);
}
.pc-hero__nav { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
.pc-hero__back {
  width: 32px; height: 32px; border: 0; background: transparent;
  font-size: 24px; line-height: 1; color: #20242a; cursor: pointer;
}
.pc-hero__mine {
  position: absolute; z-index: 3; right: 16px; top: 12px;
  display: inline-flex; align-items: center; white-space: nowrap;
  border: 0; background: #fff; color: #ff4a22; font-weight: 800; font-size: 12px;
  padding: 7px 12px; border-radius: 18px; box-shadow: 0 4px 14px rgba(255, 106, 68, .18);
  cursor: pointer;
}
.pc-hero__mine i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-right: 4px; border-radius: 5px;
  background: #ff5a2b; color: #fff; font-style: normal; font-size: 10px;
}
.pc-hero__title {
  position: relative; z-index: 2; margin: 12px 0 0;
  font-size: 32px; font-weight: 900; letter-spacing: 1px; color: #1c1f24;
}
.pc-hero__title em { position: relative; font-style: normal; color: #fb2f18; }
.pc-hero__title em::after {
  content: ''; position: absolute; left: 2px; right: -2px; bottom: -5px;
  height: 6px; border-radius: 8px; background: #ff6a2b; transform: skewX(-16deg) rotate(-2deg);
}
.pc-hero__slogan {
  position: relative; z-index: 2; display: inline-block; margin: 10px 0 0;
  font-size: 15px; font-weight: 800; color: #f5331c; cursor: pointer;
}
.pc-hero__slogan i { font-style: normal; margin-left: 3px; }
.pc-hero__figure {
  position: absolute; z-index: 1; right: 6px; top: 30px;
  width: 130px; height: 136px; border-radius: 50% 50% 44% 44%;
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 214, 222, .65));
  display: flex; align-items: flex-end; justify-content: center;
  font-size: 80px; line-height: 1.05; overflow: hidden;
  box-shadow: inset 0 -18px 30px rgba(255, 150, 160, .18);
}
.pc-hero__figure span { transform: translateY(6px); }

/* ---------------- 板块与卡片 ---------------- */
.pc-body { padding: 20px 15px 0; }
.pc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 9px; margin-bottom: 9px; }
.pc-block { margin-bottom: 9px; }
.pc-card {
  position: relative; display: flex; align-items: center; gap: 9px;
  min-width: 0; max-width: 100%;
  min-height: 85px; padding: 18px 14px; border: 0; width: 100%; text-align: left;
  border-radius: 16px; cursor: pointer; color: #1f2329; font-family: inherit;
  transition: transform .12s ease;
}
.pc-card:active { transform: scale(.985); }
.pc-card__ico {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 5px 12px rgba(0, 0, 0, .08);
}
.pc-card__ico svg { width: 25px; height: 25px; fill: currentColor; }
.pc-card__txt { min-width: 0; flex: 1 1 auto; }
.pc-card__name { display: block; font-size: 17px; font-weight: 800; white-space: nowrap; }
.pc-card__name i { font-style: normal; font-size: 15px; font-weight: 500; margin-left: 3px; }
.pc-card__sub {
  display: block; margin-top: 5px; font-size: 11px; color: #8b857f;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc-card--single { min-height: 85px; padding: 16px 14px; gap: 12px; }
.pc-card--single .pc-card__ico { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
.pc-card--single .pc-card__ico svg { width: 27px; height: 27px; }
.pc-card--single .pc-card__name { font-size: 19px; }
.pc-card--single .pc-card__sub { font-size: 12px; }

/* 分类配色 */
.pc-tone-cream { background: #fff7e4; }
.pc-tone-cream .pc-card__ico { background: linear-gradient(140deg, #ffc24d, #ff9c18); }
.pc-tone-orange { background: #fff0e6; }
.pc-tone-orange .pc-card__ico { background: linear-gradient(140deg, #ffa45c, #ff7522); }
.pc-tone-teal { background: #e1f7f2; }
.pc-tone-teal .pc-card__ico { background: linear-gradient(140deg, #35c9ad, #0fa88d); }
.pc-tone-blue { background: #e6f1ff; }
.pc-tone-blue .pc-card__ico { background: linear-gradient(140deg, #6aa8ff, #2f73e8); }
.pc-tone-green { background: #e9f8e9; }
.pc-tone-green .pc-card__ico { background: linear-gradient(140deg, #6ed36f, #2fa84a); }

/* 招聘板块 */
.pc-job {
  position: relative; overflow: hidden; margin-bottom: 9px; padding: 8px;
  border-radius: 16px; background: linear-gradient(105deg, #ffb3a0 0%, #ff9277 100%);
}
.pc-job__badge {
  position: absolute; left: 0; top: 0; z-index: 2;
  background: #f2382a; color: #fff; font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 0 0 9px 0;
}
/* 真机：招全职卡占满两行，招兼职卡只在右上、比主卡矮一截，「免费发」落在其下方 */
.pc-job__grid {
  display: grid; grid-template-columns: minmax(0, 1.82fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr; gap: 9px; margin-top: 0;
  height: 69px; /* 8 + 69 + 8 = 真机 85dp 板块高 */
}
.pc-job .pc-card { min-height: 0; padding: 12px 10px; }
.pc-job .pc-card--main { grid-row: 1 / 3; min-height: 69px; background: rgba(255, 255, 255, .26); }
.pc-job .pc-card--side { grid-row: 1; align-self: start; min-height: 44px; background: #fff6f2; justify-content: center; }
.pc-job .pc-card--side .pc-card__name { font-size: 20px; }
.pc-job .pc-card__ico { background: linear-gradient(140deg, #ff7a3d, #f4481f); }
.pc-job .pc-card--side .pc-card__ico { display: none; }
.pc-job .pc-card__sub { color: rgba(90, 50, 38, .72); }
.pc-job__free {
  position: absolute; right: 12px; bottom: 8px;
  background: #fff; color: #f4481f; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 14px; box-shadow: 0 2px 8px rgba(180, 60, 30, .12);
}
/* 真机该位置是「文件+箭头」装饰插画，没有孤立箭头字符，先隐藏避免视觉噪点 */
.pc-job__arrow { display: none; }

/* 本地服务板块 */
.pc-service {
  margin-bottom: 9px; padding: 8px; border-radius: 16px;
  background: linear-gradient(105deg, #d8f6f0 0%, #e9fcf8 100%);
}
.pc-service__grid { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 9px; }
.pc-service .pc-card { min-height: 52px; padding: 8px 10px; background: rgba(255, 255, 255, .55); }
.pc-service .pc-card--side { align-self: start; min-height: 44px; background: #f4fffd; border: 2px solid #fff; justify-content: center; }
.pc-service .pc-card--side .pc-card__ico { display: none; }
.pc-service .pc-card__name { font-size: 17px; }
.pc-service .pc-card__sub { font-size: 10.5px; color: #4c8c82; }
.pc-service .pc-card__ico { width: 36px; height: 36px; flex-basis: 36px; }
.pc-quick { display: flex; gap: 7px; margin-top: 9px; overflow-x: auto; padding: 0 2px 2px 4px; }
.pc-quick::-webkit-scrollbar { height: 0; }
.pc-quick__item {
  flex: 0 0 auto; display: flex; align-items: center; gap: 4px;
  border: 0; background: #fff; color: #1f2329; font-family: inherit;
  font-size: 11px; padding: 6px 8px; border-radius: 8px; cursor: pointer;
  white-space: nowrap;
}
.pc-quick__dot {
  width: 14px; height: 14px; border-radius: 4px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-style: normal;
}
.pc-quick__dot--0 { background: #12b39a; }
.pc-quick__dot--1 { background: #16a673; }
.pc-quick__dot--2 { background: #ff6a3d; }
.pc-quick__dot--3 { background: #2fa84a; }
.pc-quick__dot--4 { background: #3b82f6; }

.pc-help { text-align: center; font-size: 12px; color: #99a1ab; padding: 18px 0 6px; }
.pc-help button { border: 0; background: transparent; color: #ff5a2b; font-weight: 700; font-size: 12px; cursor: pointer; }
.pc-note { text-align: center; font-size: 11px; color: #b3bac3; padding: 6px 0 0; }

/* ---------------- 发布表单 ---------------- */
.pc-form { padding: 12px 14px 20px; }
.pc-form__head {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  border-radius: 14px; margin-bottom: 6px; background: #fff6ec;
}
.pc-form__head .pc-card__ico {
  width: 36px; height: 36px; flex-basis: 36px;
  background: linear-gradient(140deg, #ffb43c, #ff9c18);
}
.pc-form__head__txt { min-width: 0; }
.pc-form__head__txt b { display: block; font-size: 15px; }
.pc-form__head__txt > span { display: block; font-size: 11.5px; color: #8b857f; margin-top: 2px; }
.pc-form__tip { font-size: 11.5px; color: #99a1ab; padding: 10px 2px 4px; line-height: 1.6; }
.pc-form__tip.is-warn { color: #e2671e; }
.pc-f { padding: 12px 2px 10px; border-bottom: 1px solid #f0f2f5; }
.pc-f__label { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.pc-f__label i { color: #ff4d2d; font-style: normal; margin-left: 3px; }
.pc-f__label small { font-weight: 400; color: #99a1ab; font-size: 11px; }
.pc-f input, .pc-f textarea {
  width: 100%; border: 0; outline: 0; background: transparent; color: #1f2329;
  font-size: 14px; font-family: inherit; padding: 2px 0;
}
.pc-f input::placeholder, .pc-f textarea::placeholder { color: #b3bac3; }
.pc-f textarea { min-height: 88px; resize: vertical; line-height: 1.6; }
.pc-f__select {
  width: 100%; text-align: left; border: 0; background: #f6f7f9; border-radius: 10px;
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: #1f2329; cursor: pointer;
}
.pc-f__select.is-empty { color: #b3bac3; }
.pc-form__foot { padding: 18px 14px 26px; }
.pc-form__foot .btn { width: 100%; }

/* ---------------- 我的发布 ---------------- */
.pc-seg { padding: 10px 14px 0; background: #fff; }
.pc-list { padding: 12px 14px 24px; }
.pc-post { background: #fff; border: 1px solid #eef0f3; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.pc-post__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pc-post__title { font-size: 15px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.pc-post__cat { display: inline-block; font-size: 10.5px; color: #8a9099; background: #f4f6f8; border-radius: 6px; padding: 2px 7px; margin-bottom: 7px; }
.pc-post__price { color: #FF552E; font-weight: 700; font-size: 15px; margin-top: 8px; }
.pc-post__meta { font-size: 11.5px; color: #99a1ab; margin-top: 7px; }
.pc-post__reason { font-size: 11.5px; color: #e64a45; margin-top: 7px; }
.pc-post__ops { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.pc-post__ops button {
  border: 1px solid #e3e7ec; background: #fff; color: #5c6570; font-family: inherit;
  border-radius: 15px; padding: 5px 13px; font-size: 12px; cursor: pointer;
}
.pc-post__ops button.is-primary { color: #FF552E; border-color: #ffd2b3; }
.pc-post__ops button.is-danger { color: #e64a45; border-color: #f7cfcd; }
.pc-detail { padding: 14px; }
.pc-detail__row { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid #f2f4f7; font-size: 13px; }
.pc-detail__row span { flex: 0 0 88px; color: #8a9099; }
.pc-detail__row b { flex: 1 1 auto; font-weight: 500; word-break: break-all; }
.pc-help-list { padding: 14px; }
.pc-help-item { background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.pc-help-item b { display: block; font-size: 14px; }
.pc-help-item p { font-size: 12.5px; color: #5c6570; line-height: 1.7; margin: 6px 0 0; }
