/* ============================================================
   填写入驻资料（选平台 / 填写说明）
   只给 entry-form.html 与 entry-guide.html 两个页面用。
   尺寸与小程序 rpx/2 对齐，两边视觉一致；主色沿用 --brand。
   ============================================================ */

/* ---------- 广告位 ----------
   复用 app.js 的 initCarousel（认 .carousel > .track > .slide + .dots），
   只把 16:9 的比例改成 118px 定高：广告位是横条，不跟首页大图一个比例。 */
.ads-car { margin: 12px 12px 0; border-radius: 14px; }
.ads-car .slide {
  flex: 0 0 100%; height: 118px;
  display: flex; align-items: center;
  padding: 0 18px; box-sizing: border-box;
}
.ads-car .slide::before { display: none; }
.ads-car .slide.theme-dark { background-image: linear-gradient(135deg, #414C5E 0%, #1D2531 100%); }
.ads-car .slide.theme-gold { background-image: linear-gradient(135deg, #F4B740 0%, #DE8B08 100%); }
.ads-car .slide img.bg-full { width: 100%; height: 100%; object-fit: cover; }

.ad-tx { position: relative; color: #fff; }
.ad-tx .k { font-size: 10px; letter-spacing: 2px; font-weight: 600; opacity: .78; }
.ad-tx .b { font-size: 17.5px; font-weight: 800; margin-top: 4px; letter-spacing: .3px; line-height: 1.25; }
.ad-tx .s { font-size: 11.5px; line-height: 1.5; margin-top: 5px; opacity: .86; }

/* ---------- 分组标题 ---------- */
.entry-group { margin: 16px 12px 0; }
.entry-gh { display: flex; align-items: center; gap: 8px; margin: 0 2px 10px; }
.entry-gh h3 { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: var(--t1); letter-spacing: .5px; }
.entry-gh .ln {
  flex: 1 1 auto; height: 1px; min-width: 8px; margin: 0 8px;
  background-image: linear-gradient(90deg, #FFB894 0%, rgba(255, 184, 148, .12) 78%, rgba(255, 184, 148, 0) 100%);
}
.entry-gh .s {
  flex: 0 1 auto; min-width: 0;
  font-size: 10.5px; color: #6B7280; background: #DDE3EA;
  border-radius: 9px; padding: 3px 8px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 平台行 ---------- */
.pf-row {
  display: flex; align-items: center;
  background: #fff; border: 1px solid #EAEDF1; border-radius: 13px;
  padding: 13px; margin-bottom: 9px;
  text-decoration: none; color: inherit;
  transition: background .12s;
}
.pf-row:active { background: #FAFBFC; }
.pf-row .ico {
  position: relative; overflow: hidden;
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; margin-right: 11px;
}
.pf-row .ico.has-img { background: none !important; }
.pf-row .ico.has-img span { visibility: hidden; }
.pf-row .ico img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  border-radius: inherit; object-fit: cover;
}
.pf-row .tx { flex: 1; min-width: 0; }
.pf-row .tx b { display: block; font-size: 14px; font-weight: 700; color: var(--t1); }
.pf-row .tx em {
  display: block; font-style: normal; font-size: 11.5px; color: #8C939E;
  margin-top: 3px; line-height: 1.5;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.pf-row .cnt {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 700; color: #D2510F;
  background: #FFF1EB; border-radius: 7px; padding: 3px 7px; margin-left: 8px;
}
.pf-row .ar { flex: 0 0 auto; font-size: 16px; color: #C8CCD2; margin-left: 5px; }

.entry-note {
  margin: 15px 20px 0; font-size: 11px; color: #9AA0A6;
  line-height: 1.75; text-align: center;
}

/* ============================================================
   填写说明
   ============================================================ */
.eg-hero {
  padding: 20px 18px 22px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}
.eg-hero .row { display: flex; align-items: center; }
.eg-hero .ab {
  position: relative; overflow: hidden;
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; margin-right: 11px;
}
.eg-hero .ab.has-img { background: none !important; }
.eg-hero .ab.has-img span { visibility: hidden; }
.eg-hero .ab img {
  position: absolute; left: 0; top: 0; width: 100%; height: 100%;
  border-radius: inherit; object-fit: cover;
}
.eg-hero .tx { flex: 1; min-width: 0; }
.eg-hero .nm { font-size: 19px; font-weight: 800; letter-spacing: .3px; }
.eg-hero .meta {
  font-size: 11.5px; line-height: 1.5; margin-top: 4px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.eg-hero .need {
  display: inline-block; margin-top: 13px;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 8px;
}

.eg-card {
  margin: 12px 12px 0; background: #fff;
  border: 1px solid #EAEDF1; border-radius: 14px;
  padding: 14px 13px 5px;
}
.eg-ch { display: flex; align-items: center; margin-bottom: 10px; }
.eg-ch .dot { flex: 0 0 3px; width: 3px; height: 14px; border-radius: 2px; background: var(--brand); margin-right: 8px; }
.eg-ch h3 { flex: 0 0 auto; font-size: 15px; font-weight: 800; color: var(--t1); }
.eg-ch .n { flex: 0 0 auto; margin-left: auto; font-size: 10.5px; color: #9AA0A6; }

.eg-tips {
  font-size: 11px; color: #8A5A2B; line-height: 1.7;
  background: #FFF8F2; border-radius: 8px;
  padding: 8px 9px; margin-bottom: 4px;
}

.eg-mat { display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed #F0F2F5; }
.eg-mat:last-child { border-bottom: 0; }
.eg-mat .no {
  flex: 0 0 19px; width: 19px; height: 19px; border-radius: 6px;
  background: #F4F6F8; color: #8C939E;
  font-size: 10.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-right: 9px; margin-top: 1px;
}
.eg-mat .mtx { flex: 1; min-width: 0; }
.eg-mat .mt { font-size: 13.5px; font-weight: 600; color: var(--t1); line-height: 1.4; }
.eg-mat .md { font-size: 11px; color: #9AA0A6; line-height: 1.55; margin-top: 2px; }
.eg-mat .req {
  flex: 0 0 auto; margin-left: 7px; margin-top: 2px;
  font-size: 9.5px; padding: 2px 5px; border-radius: 4px; line-height: 1.2;
}
.eg-mat .req.must { background: #FFF1EB; color: #D2510F; }
.eg-mat .req.opt { background: #F2F4F7; color: #9AA0A6; }

.eg-empty { font-size: 11.5px; color: #9AA0A6; padding: 6px 0 12px; line-height: 1.7; }

.eg-step { display: flex; align-items: flex-start; padding: 3px 0 12px; }
.eg-step .sn {
  position: relative; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  background: #FFF1EB; color: var(--brand);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-right: 9px;
}
.eg-step .sn::after {
  content: ''; position: absolute; left: 10.5px; top: 22px;
  width: 1px; height: calc(100% + 2px); background: #F2E3DB;
}
.eg-step:last-child .sn::after { display: none; }
.eg-step .stx { flex: 1; min-width: 0; padding-top: 1px; }
.eg-step .st { font-size: 13.5px; font-weight: 600; color: var(--t1); }
.eg-step .sd { font-size: 11px; color: var(--t2); line-height: 1.65; margin-top: 3px; }

.eg-disc {
  margin: 13px 20px 0; font-size: 10px; color: #B0B4BC;
  line-height: 1.7; text-align: center;
}

/* 说明页底部常驻 */
.eg-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #fff; border-top: 1px solid #EAEDF1;
  box-shadow: 0 -6px 28px rgba(20, 30, 50, .07);
  padding: 8px 14px;
  padding-bottom: calc(8px + var(--safe-b));
  max-width: 480px; margin: 0 auto;
}
.eg-cta .note { font-size: 10px; color: #9AA0A6; text-align: center; margin-bottom: 6px; }
.eg-cta .go {
  display: flex; align-items: center; justify-content: center;
  height: 46px; border-radius: 23px;
  background: var(--grad); color: #fff;
  font-size: 15.5px; font-weight: 700; letter-spacing: 1px;
  box-shadow: 0 6px 18px rgba(255, 90, 43, .28);
}
.eg-cta .go:active { opacity: .92; }
.eg-cta .go .ar { font-size: 15px; margin-left: 4px; opacity: .9; }
.eg-cta .copy {
  display: block; margin-top: 6px; text-align: center;
  font-size: 10.5px; color: #8C939E; text-decoration: underline;
}
