/* ==================================================================
   六大业务模块样式（bz- / pl- / tk- / gn- / bd- / fm- / mn-）
   规则：展示卡片与图片圆角统一 8px；胶囊按钮 / 搜索框保留胶囊形。
   全部为浅色移动端设计，max-width 480px 与 .phone 一致。
   ================================================================== */

.bz-page { min-height: 100vh; background: #f5f6fa; padding-bottom: 84px; overflow-x: hidden; }
.bz-page img { display: block; }
.bz-loading { text-align: center; color: #9aa0b4; font-size: 13px; padding: 34px 0; }
.bz-empty { text-align: center; color: #9aa0b4; font-size: 13px; padding: 42px 0; }
.bz-empty svg { display: block; margin: 0 auto 8px; }
.bz-more { text-align: center; color: #8a90a6; font-size: 12px; padding: 16px 0 24px; cursor: pointer; }
.bz-more.done { color: #c2c7d4; cursor: default; }

/* ---------- 小程序胶囊导航（所有页面共用） ---------- */
.bz-capbar { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; position: relative; }
.bz-cap-title { position: absolute; left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 700; color: #22263a; pointer-events: none; }
.bz-cap-left, .bz-cap-right { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 11px; border-radius: 16px; background: rgba(255,255,255,.72); border: 1px solid rgba(0,0,0,.06); z-index: 1; }
.bz-cap-left a { display: flex; align-items: center; }
.bz-cap-left i, .bz-cap-right i { width: 1px; height: 15px; background: rgba(0,0,0,.12); }
.bz-cap-right { gap: 7px; }
.bz-cap-dots { display: flex; gap: 3px; align-items: center; }
.bz-cap-dots b { width: 4px; height: 4px; border-radius: 50%; background: #333; display: block; }
.bz-cap-line { width: 13px; height: 2px; border-radius: 2px; background: #333; }
.bz-cap-ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #333; position: relative; }
.bz-cap-ring::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #333; left: 2.5px; top: 2.5px; }

/* ---------- 搜索 / 分类 ---------- */
.bz-search { display: flex; align-items: center; gap: 7px; height: 38px; background: #fff; border-radius: 20px; padding: 0 5px 0 13px; box-shadow: 0 2px 8px rgba(31,45,92,.05); }
.bz-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 13px; color: #333; }
.bz-search input::placeholder { color: #a8adbd; }
.bz-search-btn { flex: none; height: 30px; padding: 0 15px; border-radius: 16px; background: #6b5bf5; color: #fff; font-size: 12px; font-weight: 600; }
.bz-cats { display: flex; gap: 8px; overflow-x: auto; padding: 12px 12px 4px; scrollbar-width: none; }
.bz-cats::-webkit-scrollbar { display: none; }
.bz-cat { flex: none; padding: 6px 15px; border-radius: 18px; background: #fff; color: #6a7084; font-size: 12.5px; white-space: nowrap; border: 1px solid #f0f1f6; }
.bz-cat.on { background: #ff6a2b; color: #fff; border-color: #ff6a2b; font-weight: 700; }
/* 放左下：右下角是各列表卡的「报名 / 购买 / 关注」按钮，不能被悬浮按钮盖住 */
.bz-pub { position: fixed; left: calc(50% - 240px + 16px); bottom: 92px; width: 44px; height: 44px; border-radius: 50%; background: #6b5bf5; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(107,91,245,.4); z-index: 90; }
@media (max-width: 500px) { .bz-pub { left: 16px; } }

/* ==================================================================
   A. 找人脉（1:1 效果图）
   ================================================================== */
.pl-page { background: #fff7f2; }
.pl-head { background: linear-gradient(180deg,#fff2e9 0%,#fff7f2 100%); }
.pl-cap .bz-cap-left, .pl-cap .bz-cap-right { background: rgba(255,255,255,.85); }
.pl-search-wrap { padding: 4px 12px 0; }
.pl-cats { padding-top: 12px; }
.pl-cats .bz-cat { background: #fff; border-color: #fbe7db; }
.pl-cats .bz-cat.on { background: #ff6a2b; border-color: #ff6a2b; }
.pl-mycard { display: flex; align-items: center; gap: 12px; margin: 12px 12px 4px; padding: 15px 14px; border-radius: 8px; background: linear-gradient(110deg,#7b5cf5 0%,#9d6bff 100%); color: #fff; box-shadow: 0 5px 14px rgba(123,92,245,.24); }
.pl-mycard-ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex: none; }
.pl-mycard-txt { flex: 1; min-width: 0; }
.pl-mycard-txt b { display: block; font-size: 16px; letter-spacing: .5px; }
.pl-mycard-txt small { display: block; font-size: 11px; opacity: .85; margin-top: 3px; }
.pl-mycard-r { opacity: .85; }
.pl-list { padding: 8px 12px 0; }
.pl-card { background: #fff; border-radius: 8px; padding: 14px 13px 0; margin-bottom: 11px; box-shadow: 0 2px 10px rgba(60,40,20,.05); }
.pl-top { display: flex; align-items: flex-start; gap: 11px; }
.pl-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; flex: none; background: #eef0f6; }
.pl-id { flex: 1; min-width: 0; padding-top: 2px; }
.pl-name { font-size: 17px; font-weight: 800; color: #22263a; line-height: 1.25; }
.pl-basic { font-size: 12px; color: #7c8296; margin-top: 4px; }
.pl-exp { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 4px; background: #e8f1ff; color: #3d7bff; font-size: 11px; font-weight: 600; }
.pl-follow { flex: none; padding: 6px 13px; border-radius: 16px; background: #ff6a2b; color: #fff; font-size: 12px; font-weight: 700; margin-top: 2px; box-shadow: 0 3px 8px rgba(255,106,43,.25); }
.pl-follow.on { background: #f2f3f7; color: #9aa0b4; box-shadow: none; }
.pl-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 10px; }
.pl-tag { padding: 4px 8px; border-radius: 4px; background: #eaf2ff; color: #3d7bff; font-size: 11px; }
.pl-loc { display: flex; align-items: center; gap: 5px; color: #8a90a4; font-size: 11.5px; margin-bottom: 5px; }
.pl-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-stats { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 12px; border-top: 1px solid #f2f3f7; padding: 11px 0; }
.pl-stats span { text-align: center; font-size: 11px; color: #9aa0b4; border-right: 1px solid #f2f3f7; }
.pl-stats span:last-child { border-right: 0; }
.pl-stats b { display: inline-block; font-size: 13px; color: #4a5064; margin-right: 2px; font-weight: 700; }
.pl-stats b.hot { color: #ff6a2b; }

/* ==================================================================
   B. 找任务（1:1 效果图）
   ================================================================== */
.tk-page { background: #f4f6fd; padding-bottom: 78px; }
.tk-hero { background: linear-gradient(155deg,#4c7dff 0%,#2f5fe0 100%); padding: 0 12px 18px; border-radius: 0 0 22px 22px; position: relative; }
.tk-cap .bz-cap-left, .tk-cap .bz-cap-right { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.28); }
.tk-cap .bz-cap-left svg, .tk-cap .bz-cap-right { color: #fff; }
.tk-cap .bz-cap-left svg { stroke: #fff; }
.tk-cap .bz-cap-right i { background: rgba(255,255,255,.4); }
.tk-cap .bz-cap-dots b, .tk-cap .bz-cap-line, .tk-cap .bz-cap-ring { background: #fff; border-color: #fff; }
.tk-cap .bz-cap-ring::after { background: #fff; }
.tk-cap .bz-cap-title { color: #fff; }
.tk-hero-main { padding: 10px 0 12px; }
.tk-hero-t { font-size: 21px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.tk-hero-s { font-size: 11.5px; color: rgba(255,255,255,.82); margin-top: 4px; }
.tk-total { position: absolute; right: 14px; top: 62px; width: 66px; padding: 6px 0; border-radius: 8px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25); text-align: center; color: #fff; text-decoration: none; }
.tk-total b { display: block; font-size: 15px; line-height: 1.2; }
.tk-total span { font-size: 10px; opacity: .85; }
.tk-search-wrap .bz-search { background: #fff; }
.tk-search-wrap .bz-search-btn { background: #3d6bff; }
.tk-body { padding: 0 12px; margin-top: -8px; }
/* 实蓝色底：这一块悬在蓝色 hero 下沿，白字必须落在深底上才可读 */
.tk-quick { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; background: linear-gradient(135deg,#5b86ff 0%,#4468e8 100%); border: 1px solid rgba(255,255,255,.28); border-radius: 8px; padding: 12px 6px; margin-bottom: 10px; box-shadow: 0 5px 14px rgba(46,84,200,.18); }
.tk-quick-i { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #fff; font-size: 11px; }
.tk-quick-ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(20,50,140,.12); }
.tk-stats { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border-radius: 8px; padding: 13px 4px; box-shadow: 0 2px 10px rgba(31,45,92,.05); }
.tk-stat { text-align: center; border-right: 1px solid #f1f2f7; }
.tk-stat:last-child { border-right: 0; }
.tk-stat b { display: block; font-size: 17px; color: #3d6bff; font-weight: 800; }
.tk-stat span { font-size: 10.5px; color: #9aa0b4; }
.tk-notice { display: flex; align-items: center; gap: 7px; margin: 10px 0; padding: 9px 11px; border-radius: 8px; background: #fff8e6; border: 1px solid #ffedbd; color: #a8781f; font-size: 11.5px; overflow: hidden; }
.tk-notice span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-panel { background: #fff; border-radius: 8px; padding: 13px; margin-bottom: 10px; box-shadow: 0 2px 10px rgba(31,45,92,.05); }
.tk-panel-head { display: flex; align-items: center; justify-content: space-between; }
.tk-panel-head b { font-size: 14px; color: #2c3040; }
.tk-panel-head a { display: flex; align-items: center; gap: 2px; font-size: 11px; color: #9aa0b4; }
.tk-panel-sub { font-size: 10.5px; color: #a8adbd; margin: 2px 0 10px; }
.tk-income-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f5f6fa; }
.tk-income-row:last-child { border-bottom: 0; }
.tk-rank { width: 20px; height: 20px; border-radius: 50%; background: #f0f2f7; color: #9aa0b4; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.tk-income-row:nth-child(1) .tk-rank { background: #ffe9c9; color: #e8951f; }
.tk-income-row:nth-child(2) .tk-rank { background: #e9edf6; color: #8792ac; }
.tk-income-row:nth-child(3) .tk-rank { background: #f7e5d8; color: #c18357; }
.tk-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.tk-income-mid { flex: 1; min-width: 0; }
.tk-income-mid b { display: block; font-size: 12.5px; color: #33384a; }
.tk-income-mid small { font-size: 10px; color: #ff8a3d; background: #fff2e8; padding: 1px 5px; border-radius: 3px; }
.tk-income-r { text-align: right; }
.tk-income-r b { display: block; font-size: 13px; color: #f2595b; }
.tk-income-r small { font-size: 10px; color: #b4bacb; }
.tk-helper-scroll { display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tk-helper-scroll::-webkit-scrollbar { display: none; }
.tk-helper { flex: none; width: 148px; scroll-snap-align: start; display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid #eef0f6; border-radius: 8px; background: #fff; }
.tk-helper-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.tk-helper-info { min-width: 0; }
.tk-helper-info b { font-size: 12.5px; color: #2c3040; }
.tk-helper-badge { display: inline-block; font-size: 9px; color: #22b573; background: #e8f8f0; padding: 1px 4px; border-radius: 3px; margin-left: 3px; }
.tk-helper-info small { display: block; font-size: 10px; color: #a8adbd; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-dots { display: flex; justify-content: center; gap: 4px; margin-top: 9px; }
.tk-dots i { width: 5px; height: 5px; border-radius: 3px; background: #d9dde8; }
.tk-dots i.on { width: 13px; background: #3d6bff; }
.tk-cats { padding: 4px 0 8px; }
.tk-cats .bz-cat { background: #fff; border-color: #eef0f6; }
.tk-cats .bz-cat.on { background: #3d6bff; border-color: #3d6bff; }
.tk-list-title { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 700; color: #2c3040; padding: 4px 0 9px; }
.tk-list { display: flex; flex-direction: column; gap: 10px; }
.tk-task { background: #fff; border-radius: 8px; padding: 12px 13px; box-shadow: 0 2px 10px rgba(31,45,92,.05); }
.tk-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tk-tag { padding: 2px 7px; border-radius: 3px; background: #eaf2ff; color: #3d7bff; font-size: 10.5px; }
.tk-tag.gray { background: #f2f3f7; color: #9aa0b4; }
.tk-title { font-size: 14.5px; font-weight: 700; color: #2c3040; margin: 8px 0 5px; }
.tk-desc { font-size: 11.5px; color: #8a90a4; line-height: 1.65; }
.tk-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin: 9px 0; font-size: 10.5px; color: #a0a6b8; }
.tk-star { color: #ff9f2e; font-style: normal; }
.tk-meta-r { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; }
.tk-meta-r svg { vertical-align: -2px; }
.tk-foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f5f6fa; padding-top: 10px; }
.tk-price { color: #f2595b; font-size: 20px; font-weight: 800; }
.tk-price small { font-size: 12px; margin-right: 1px; }
.tk-bid { padding: 7px 16px; border-radius: 16px; background: #3d6bff; color: #fff; font-size: 12px; font-weight: 600; box-shadow: 0 3px 9px rgba(61,107,255,.25); }
.tk-fab { position: fixed; right: calc(50% - 240px + 16px); bottom: 92px; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 3px 12px rgba(31,45,92,.16); display: flex; align-items: center; justify-content: center; z-index: 90; }
@media (max-width: 500px) { .tk-fab { right: 16px; } }
.tk-tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; height: 62px; background: #fff; display: grid; grid-template-columns: repeat(5,1fr); align-items: center; box-shadow: 0 -2px 14px rgba(20,30,70,.08); z-index: 100; padding-bottom: env(safe-area-inset-bottom); }
.tk-tb { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9aa0b4; font-size: 10px; }
.tk-tb.mid { position: relative; top: -12px; }
.tk-tb-circle { width: 44px; height: 44px; border-radius: 50%; background: #3d6bff; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 14px rgba(61,107,255,.35); border: 3px solid #fff; }

/* ==================================================================
   C. 自设计四页通用
   ================================================================== */
.gn-page { background: #f6f7fb; }
.gn-head { background: #fff; padding-bottom: 4px; box-shadow: 0 2px 8px rgba(31,45,92,.04); }
.gn-search-wrap { padding: 4px 12px 0; }
.gn-search-wrap .bz-search { background: #f5f6fa; }
.gn-search-wrap .bz-search-btn { background: var(--gn,#6b5bf5); }
.gn-cats .bz-cat.on { background: var(--gn,#6b5bf5); border-color: var(--gn,#6b5bf5); }
.gn-sort { display: flex; align-items: center; gap: 16px; padding: 10px 14px 4px; }
.gn-sort a { font-size: 12.5px; color: #8a90a4; }
.gn-sort a.on { color: var(--gn,#6b5bf5); font-weight: 700; }
.gn-count { margin-left: auto; font-size: 11px; color: #b0b5c4; }
.gn-body { padding: 12px; }
.gn-banner { display: flex; align-items: center; justify-content: space-between; border-radius: 8px; padding: 16px 15px; color: #fff; margin-bottom: 12px; box-shadow: 0 5px 14px rgba(31,45,92,.12); }
.gn-banner b { display: block; font-size: 16px; }
.gn-banner span { display: block; font-size: 11.5px; opacity: .88; margin-top: 4px; }
.gn-banner-ic { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex: none; }
.gn-section-t { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: #2c3040; margin: 4px 0 10px; }
.gn-section-t a { margin-left: auto; font-size: 11.5px; font-weight: 500; color: var(--gn,#6b5bf5); }
.gn-list { display: flex; flex-direction: column; gap: 10px; }
.gn-card { display: flex; gap: 11px; background: #fff; border-radius: 8px; padding: 12px; box-shadow: 0 2px 9px rgba(31,45,92,.05); }
.gn-t { font-size: 14px; font-weight: 700; color: #2c3040; line-height: 1.4; }
.gn-sub { font-size: 11.5px; color: #9298ab; line-height: 1.55; margin-top: 4px; }
.gn-meta { display: flex; align-items: center; gap: 3px; font-size: 11px; color: #a0a6b8; margin-top: 6px; }
.gn-price { color: #f2595b; font-size: 17px; font-weight: 800; }
.gn-price em { font-size: 13px; font-style: normal; color: #22b573; }
.gn-price small { font-size: 10px; font-weight: 400; color: #a0a6b8; }
.gn-btn { padding: 6px 12px; border-radius: 15px; background: var(--gn,#6b5bf5); color: #fff; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.gn-tag { display: inline-block; padding: 2px 7px; border-radius: 4px; background: var(--gnl,#f0eeff); color: var(--gn,#6b5bf5); font-size: 10.5px; margin-right: 5px; }
/* 找活动 */
.ev-card { align-items: flex-start; }
.ev-date { width: 48px; flex: none; border-radius: 8px; background: var(--gnl,#fff0f5); text-align: center; padding: 7px 0; }
.ev-date b { display: block; font-size: 21px; color: var(--gn,#ff5b87); line-height: 1.1; }
.ev-date span { font-size: 10px; color: var(--gn,#ff5b87); opacity: .8; }
.ev-main { flex: 1; min-width: 0; }
.ev-cat { display: inline-block; font-size: 10px; color: var(--gn,#6b5bf5); background: var(--gnl,#f0eeff); padding: 2px 7px; border-radius: 4px; margin-bottom: 5px; }
.ev-bar { height: 5px; border-radius: 3px; background: #f0f1f6; overflow: hidden; margin: 9px 0 6px; }
.ev-bar i { display: block; height: 100%; border-radius: 3px; background: var(--gn,#ff5b87); }
.ev-foot { display: flex; align-items: center; gap: 8px; }
.ev-quota { font-size: 10px; color: #a8adbd; flex: 1; }
/* 找帮手 */
.hp-av { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex: none; }
.hp-main { flex: 1; min-width: 0; }
.hp-line { display: flex; align-items: center; gap: 6px; }
.hp-line b { font-size: 14.5px; color: #2c3040; }
.hp-cert { display: inline-flex; align-items: center; gap: 2px; background: #22b573; color: #fff; font-size: 9px; padding: 1px 5px; border-radius: 3px; }
.hp-tags { margin: 7px 0; }
.hp-foot { display: flex; align-items: center; gap: 7px; font-size: 10.5px; color: #a0a6b8; }
.hp-foot > span:first-child { display: flex; align-items: center; gap: 2px; flex: 1; }
/* 做网站 */
.st-card { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.st-cover { width: 100%; height: 120px; object-fit: cover; }
.st-body { padding: 12px; }
.st-feat { list-style: none; margin: 9px 0; }
.st-feat li { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #6a7084; padding: 2px 0; }
.st-foot { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid #f5f6fa; padding-top: 9px; }
.st-sales { display: block; font-size: 10px; color: #b0b5c4; }
.st-steps { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 8px; padding: 13px 10px; margin-bottom: 12px; }
.st-step { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; color: #6a7084; }
.st-step span { width: 30px; height: 30px; border-radius: 50%; background: var(--gnl,#f3eeff); display: flex; align-items: center; justify-content: center; }
.st-step b { display: none; }
.st-arrow { flex: 1; height: 1px; border-top: 1px dashed #d9dde8; margin: 0 4px; position: relative; top: -9px; }
/* 逛集市 */
.mk-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.mk-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 9px rgba(31,45,92,.05); }
.mk-cover { width: 100%; height: 118px; object-fit: cover; }
.mk-body { padding: 9px 10px 10px; }
.mk-body .gn-t { font-size: 12.5px; min-height: 35px; }
.mk-tags { margin: 5px 0; min-height: 18px; }
.mk-tags span { font-size: 10px; color: var(--gn,#22b573); background: var(--gnl,#eaf9f1); padding: 1px 6px; border-radius: 3px; }
.mk-price { display: flex; align-items: baseline; gap: 5px; }
.mk-price .gn-price { font-size: 16px; }
.mk-price del { font-size: 10px; color: #b4bacb; }
.mk-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.mk-foot small { font-size: 10px; color: #b0b5c4; }
.mk-buy { padding: 4px 10px; border-radius: 12px; background: var(--gn,#22b573); color: #fff; font-size: 10.5px; }

/* ==================================================================
   D. 详情页
   ================================================================== */
.bd-page { background: #f5f6fa; padding-bottom: 76px; }
.bd-head { background: #fff; box-shadow: 0 2px 8px rgba(31,45,92,.04); }
.bd-cover { width: 100%; height: 190px; object-fit: cover; }
.bd-card { background: #fff; border-radius: 8px; margin: 10px 12px; padding: 14px; box-shadow: 0 2px 9px rgba(31,45,92,.05); }
.bd-card h1 { font-size: 18px; font-weight: 800; color: #22263a; line-height: 1.4; }
.bd-cat { display: inline-block; font-size: 10.5px; color: var(--gn,#6b5bf5); background: #f2f0ff; padding: 2px 8px; border-radius: 4px; margin-bottom: 7px; }
.bd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 9px 0; }
.bd-tag { font-size: 10.5px; color: #3d7bff; background: #eaf2ff; padding: 3px 8px; border-radius: 4px; }
.bd-price-row { display: flex; align-items: flex-end; justify-content: space-between; border-top: 1px solid #f5f6fa; padding-top: 10px; }
.bd-price { color: #f2595b; font-size: 26px; font-weight: 800; line-height: 1; }
.bd-price small { font-size: 14px; }
.bd-price em { font-size: 12px; font-style: normal; color: #9aa0b4; font-weight: 400; }
.bd-price.free { color: #22b573; font-size: 21px; }
.bd-views { display: flex; align-items: center; gap: 3px; font-size: 11px; color: #a8adbd; }
.bd-sec-t { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; color: #2c3040; padding-bottom: 9px; border-bottom: 1px solid #f5f6fa; margin-bottom: 6px; }
.bd-kv { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 12.5px; }
.bd-kv span { color: #9aa0b4; flex: none; }
.bd-kv b { color: #4a5064; font-weight: 600; text-align: right; word-break: break-all; }
.bd-summary { font-size: 12.5px; color: #6a7084; line-height: 1.75; padding: 4px 0; }
.bd-content p { font-size: 12.5px; color: #6a7084; line-height: 1.85; margin: 8px 0; }
.bd-rels { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.bd-rel img { width: 100%; height: 62px; object-fit: cover; border-radius: 8px; }
.bd-rel span { display: block; font-size: 10.5px; color: #6a7084; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bd-tip { text-align: center; font-size: 10.5px; color: #b4bacb; padding: 6px 20px 16px; }
.bd-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; height: 62px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 12px env(safe-area-inset-bottom); box-shadow: 0 -2px 14px rgba(20,30,70,.08); z-index: 100; }
.bd-bar-home, .bd-bar-fav { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 10px; color: #8a90a4; width: 42px; }
.bd-bar-main { flex: 1; height: 40px; border-radius: 20px; background: var(--gn,#6b5bf5); color: #fff; font-size: 14px; font-weight: 700; }
.bd-bar-main.joined { background: #eef0f6; color: #8a90a4; }
/* 集市商品售罄：主按钮置灰，避免误点 */
.bd-bar-main.soldout { background: #eef0f6; color: #a8adbd; }
/* 本人发布的内容：主按钮变成「编辑」，与「关注」区分开（不再用模块主色） */
.bd-bar-main.mine { background: #fff; color: var(--gn,#6b5bf5); border: 1.5px solid var(--gn,#6b5bf5); }

/* 参与动作弹层 */
.bz-mask { position: fixed; inset: 0; background: rgba(20,25,40,.45); z-index: 300; display: flex; align-items: flex-end; justify-content: center; }
.bz-sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 16px 16px 0 0; padding: 16px 16px calc(20px + env(safe-area-inset-bottom)); }
.bz-sheet-t { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 700; color: #2c3040; margin-bottom: 10px; }
.bz-sheet-t a { font-size: 16px; color: #9aa0b4; font-weight: 400; }
.bz-sheet-item { font-size: 12.5px; color: #6a7084; background: #f6f7fb; border-radius: 8px; padding: 9px 10px; margin-bottom: 10px; }
.bz-sheet label { display: block; font-size: 12px; color: #6a7084; margin-bottom: 10px; }
.bz-sheet input, .bz-sheet textarea, .bz-sheet select { display: block; width: 100%; margin-top: 5px; border: 1px solid #e8eaf1; border-radius: 8px; padding: 9px 10px; font-size: 13px; color: #333; background: #fff; }
.bz-sheet textarea { resize: vertical; }
.bz-sheet-btn { width: 100%; height: 42px; border-radius: 21px; background: #6b5bf5; color: #fff; font-size: 14px; font-weight: 700; margin-top: 4px; }
.bz-sheet-btn:disabled { opacity: .6; }
.bz-sheet-tip { text-align: center; font-size: 10.5px; color: #b0b5c4; margin-top: 9px; }
/* 集市下单：定金（微信支付·平台服务费）+ 货款（线下当面付）说明块 */
.bz-fee { background: #fff8ec; border: 1px solid #ffe4bd; border-radius: 8px; padding: 8px 10px; margin: 4px 0 10px; }
.bz-fee-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; font-size: 12px; line-height: 1.7; color: #6a7084; }
.bz-fee-row + .bz-fee-row { margin-top: 2px; }
.bz-fee-k { color: #8a90a4; flex: none; }
.bz-fee-v { font-weight: 700; flex: none; }
.bz-fee-v.dep { color: #f08a1e; }
.bz-fee-v.pay { color: #22a06b; }
.bz-fee-row em { font-style: normal; font-size: 11px; color: #a8adbd; }
/* 商品详情页的同一块说明 */
.bd-fee { display: flex; gap: 8px; align-items: flex-start; background: #fff8ec; border: 1px solid #ffe4bd;
  border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.bd-fee > svg { flex: none; margin-top: 2px; }
.bd-fee-body { flex: 1 1 auto; min-width: 0; }
.od-paid { color: #22a06b !important; }
.od-unpaid { color: #f05a4a !important; }

/* ==================================================================
   E. 发布页 / 我的记录
   ================================================================== */
.fm-page, .mn-page { background: #f5f6fa; }
.fm-tip { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #7a8094; background: #fff; padding: 10px 14px; }
/* 活动发布费提示条（V3.11.0）：后台设了发布费时，发布页顶部明确告知要付多少 */
.fm-fee { display: flex; align-items: center; gap: 7px; margin: 0; padding: 9px 14px;
  background: #FFF6E8; border-top: 1px solid #FFE6C4; border-bottom: 1px solid #FFE6C4;
  font-size: 12px; color: #A9640B; line-height: 1.55; }
.fm-fee b { color: #E8641A; }
.fm-fee small { display: block; color: #B08A5A; font-size: 10.5px; margin-top: 2px; }
.fm-form { display: block; padding: 12px; }
.fm-field { display: block; background: #fff; border-radius: 8px; padding: 11px 12px; margin-bottom: 10px; }
.fm-field > span { display: block; font-size: 12px; color: #6a7084; margin-bottom: 6px; }
.fm-field i { color: #f2595b; font-style: normal; }
.fm-field input, .fm-field textarea, .fm-field select { width: 100%; border: 1px solid #e8eaf1; border-radius: 8px; padding: 9px 10px; font-size: 13px; color: #333; background: #fff; }
.fm-field textarea { resize: vertical; }
.fm-submit { display: block; width: 100%; height: 44px; border-radius: 22px; background: var(--gn,#6b5bf5); color: #fff; font-size: 14px; font-weight: 700; margin-top: 6px; }
.fm-submit:disabled { opacity: .6; }
.fm-cancel { display: block; text-align: center; font-size: 12.5px; color: #9aa0b4; margin: 14px 0; }
/* 所在地区：调用后台地址库的两级联动下拉（城市 → 镇街） */
.fm-region { display: flex; gap: 8px; }
.fm-field .fm-region select { width: 50%; flex: 1 1 0; min-width: 0; }
/* 发布表单里的图片控件（封面单图 / 详情图九宫格，复用 .pt-img* 缩略图样式） */
.fm-field .fm-imgs { grid-template-columns: repeat(3, 1fr); }
.fm-hint { display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: 11px; color: #9aa0b4; margin-top: 8px; }
.fm-hint em { font-style: normal; flex: none; color: #7a8094; }
.mn-tabs { display: flex; background: #fff; padding: 0 10px; border-bottom: 1px solid #eef0f6; overflow-x: auto; }
.mn-tabs a { padding: 11px 12px; font-size: 13px; color: #8a90a4; border-bottom: 2px solid transparent; white-space: nowrap; flex: none; }
.mn-tabs a.on { color: #6b5bf5; border-color: #6b5bf5; font-weight: 700; }
/* 我的记录页副标题（V3.2.1）：说明这一页到底是「我买到的」还是「我卖出的」 */
.mn-sub { background: #fff; padding: 10px 14px 0; font-size: 11.5px; color: #9aa0b4; line-height: 1.6; }
.mn-list { padding: 12px; }
.mn-card { position: relative; display: block; background: #fff; border-radius: 8px; padding: 12px 13px; margin-bottom: 10px; box-shadow: 0 2px 9px rgba(31,45,92,.05); }
/* 卖家视角标记：同一个订单在买家/卖家列表里要一眼分得清 */
.mn-role { display: inline-block; font-size: 10px; line-height: 1; padding: 3px 6px; border-radius: 4px;
  margin-bottom: 6px; color: #7a5bd6; background: #f1edff; }
.mn-role.sell { color: #d97706; background: #fff6e5; }
.mn-stars { display: flex; align-items: center; gap: 2px; margin-top: 7px; }
.mn-star { font-style: normal; font-size: 13px; color: #dfe2ec; }
.mn-star.on { color: #ffb020; }
.mn-stars em { font-style: normal; font-size: 11px; color: #f59e0b; margin-left: 4px; }
.mn-t { font-size: 13.5px; font-weight: 700; color: #2c3040; padding-right: 68px; }
.mn-m { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 7px; font-size: 11px; color: #9aa0b4; }
.mn-remark { font-size: 11px; color: #8a90a4; background: #f7f8fb; border-radius: 6px; padding: 6px 8px; margin-top: 8px; }
/* 托管待支付提示：钱没到账任务未发布，用黄色提醒（别用红色的报错语气） */
.mn-remark.esc { color: #a86a00; background: #fff8e6; border: 1px solid #ffe4a8; }
.mn-st { position: absolute; right: 12px; top: 12px; font-size: 10px; padding: 2px 7px; border-radius: 4px; }
.mn-st.ok { color: #22b573; background: #e8f8f0; }
.mn-st.wait { color: #ef9f2e; background: #fff5e3; }
.mn-st.no { color: #f2595b; background: #ffeded; }
.mn-st.off { color: #9aa0b4; background: #f2f3f7; }
.mn-links { display: flex; justify-content: center; gap: 18px; padding: 8px 0 20px; }
.mn-links a { font-size: 12px; color: #6b5bf5; }

/* ==================================================================
   F. 发布任务（1:1 参考图）
   ================================================================== */
.pt-page { background: #f3f5fb; padding-bottom: 86px; }
.pt-hero { height: 82px; background: linear-gradient(120deg,#4c7dff 0%,#4a5fe8 100%); padding: 0 12px; }
.pt-nav { height: 46px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.pt-back { display: flex; align-items: center; width: 30px; z-index: 1; }
.pt-nav-t { position: absolute; left: 0; right: 0; text-align: center; font-size: 15px; font-weight: 700; color: #fff; pointer-events: none; }
.pt-cap { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.3); }
.pt-cap i { background: rgba(255,255,255,.4); }
.pt-cap .bz-cap-dots b, .pt-cap .bz-cap-line, .pt-cap .bz-cap-ring { background: #fff; border-color: #fff; }
.pt-cap .bz-cap-ring::after { background: #fff; }
.pt-body { padding: 0 12px; margin-top: -36px; }
.pt-user { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 8px; padding: 11px 12px; margin-bottom: 10px;
  border: 2px solid transparent;
  background-image: linear-gradient(#fff,#fff), linear-gradient(110deg,#8b6bf5,#4c7dff);
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 4px 12px rgba(50,70,160,.12); }
.pt-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.pt-user-m { flex: 1; min-width: 0; }
.pt-user-m b { display: block; font-size: 14px; color: #2c3040; }
.pt-user-m span { font-size: 10.5px; color: #9aa0b4; }
.pt-user-r { width: 42px; border-radius: 8px; background: #eef0ff; text-align: center; padding: 5px 0; flex: none; }
.pt-user-r b { display: block; font-size: 16px; color: #6b5bf5; line-height: 1.1; }
.pt-user-r span { font-size: 9.5px; color: #8b91d8; }
.pt-card { background: #fff; border-radius: 8px; padding: 13px 13px 14px; margin-bottom: 10px; }
.pt-t { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: #2c3040; margin-bottom: 10px; }
.pt-t::before { content: ''; width: 3px; height: 13px; border-radius: 2px; background: #4c7dff; }
.pt-t i { color: #f2595b; font-style: normal; font-size: 12px; }
.pt-t em { font-style: normal; font-size: 10px; color: #a8adbd; font-weight: 400; background: #f4f5f9; padding: 1px 6px; border-radius: 4px; margin-left: auto; }
/* 带 SVG 功能图标的栏目标题：彩色圆角方块，替换旧竖条 */
.pt-t.with-ic { gap: 8px; }
.pt-t.with-ic::before { display: none; }
.pt-t.with-ic i { margin-left: -3px; }
.pt-t.with-ic em { margin-left: auto; }
.pt-tic { width: 23px; height: 23px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pt-tic svg { display: block; }
.pt-subtag svg, .pt-quick-t svg, .pt-chip svg, .pt-city svg { vertical-align: -2px; margin-right: 3px; display: inline-block; }
.pt-escrow-tip svg { vertical-align: -2px; margin-right: 3px; flex: none; }
.pt-input { display: block; width: 100%; border: 0; background: #f7f8fc; border-radius: 8px; padding: 11px 12px; font-size: 12.5px; color: #333; }

/* ---------- AI 起草（V3.18.0） ----------
   和「任务详情」标题同一行右侧的小按钮：淡紫底 + 紫字，右侧挂剩余次数。
   起草中变成转圈的 ✦；次数用完后置灰不可点。 */
.pt-t-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.pt-t-row .pt-t { margin-bottom: 10px; }
.pt-ai {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
  height: 26px; padding: 0 10px; margin-top: 1px; border-radius: 999px;
  border: 1px solid #e0e5ff; background: linear-gradient(135deg, #f2f4ff, #eef1ff);
  color: #5a4bf0; font-size: 11.5px; font-weight: 700; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
  font-family: inherit;
}
.pt-ai:hover { box-shadow: 0 4px 12px rgba(90, 75, 240, .18); }
.pt-ai:active { transform: translateY(1px); }
.pt-ai .pt-ai-sp { font-size: 12px; line-height: 1; color: #7c6bff; }
.pt-ai .pt-ai-n {
  font-style: normal; font-weight: 600; color: #9a93c9;
  padding-left: 5px; margin-left: 1px; border-left: 1px solid #dfe3fb;
}
.pt-ai.busy { opacity: .85; cursor: default; }
.pt-ai.busy .pt-ai-sp { display: inline-block; animation: ptAiSpin .9s linear infinite; }
.pt-ai.off {
  background: #f5f6fa; border-color: #eceef5; color: #b4bacb; cursor: not-allowed; box-shadow: none;
}
.pt-ai.off .pt-ai-n { color: #c3c8d6; border-left-color: #e6e9f2; }
/* AI 那行提示是「说明」不是「警告」，别用 .pt-hint 默认的橙色 */
.pt-hint #pt-ai-tip { color: #8b91a5; }
@keyframes ptAiSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.pt-input::placeholder { color: #b4bacb; }
textarea.pt-input { resize: vertical; line-height: 1.6; min-height: 96px; }
.pt-hint { display: flex; justify-content: space-between; font-size: 10.5px; color: #ef9f2e; margin-top: 6px; }
.pt-hint span:last-child { color: #b4bacb; }
.pt-hint.right { justify-content: flex-end; }
.pt-subtag { display: inline-block; font-size: 10.5px; color: #8a90a4; background: #f4f5f9; padding: 2px 8px; border-radius: 4px; margin-bottom: 9px; }
.pt-cats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.pt-cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; padding: 9px 2px 8px; border-radius: 8px; background: #f7f8fc; color: #6a7084;
  font-size: 11px; border: 1px solid transparent; }
.pt-cat-ic { width: 27px; height: 27px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex: none; }
.pt-cat-ic svg { display: block; }
.pt-cat.on { background: #eaf0ff; color: #3d6bff; border-color: #a9c0ff; font-weight: 700; }
.pt-budget { display: flex; align-items: center; gap: 6px; background: #f7f8fc; border-radius: 8px; padding: 10px 12px; }
.pt-budget svg { flex: none; display: block; }
.pt-budget input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; font-weight: 700; color: #2c3040; }
.pt-budget input::placeholder { font-size: 14px; font-weight: 400; color: #b4bacb; }
.pt-budget b { font-size: 12px; color: #9aa0b4; font-weight: 400; flex: none; }
.pt-quick-t { font-size: 10.5px; color: #a8adbd; margin: 10px 0 7px; }
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-chip { min-width: 46px; text-align: center; padding: 5px 10px; border-radius: 14px; background: #f5f6fa; color: #6a7084; font-size: 11.5px; }
.pt-chip.on { background: #eaf0ff; color: #3d6bff; font-weight: 700; }
.pt-date { display: flex; align-items: center; gap: 8px; background: #f7f8fc; border-radius: 8px; padding: 10px 12px; }
.pt-date input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 12.5px; color: #4a5064; }
.pt-date input::placeholder { color: #b4bacb; }
.pt-date span { color: #b4bacb; font-size: 16px; }
.pt-loc { display: flex; align-items: center; gap: 10px; background: #f7f8fc; border-radius: 8px; padding: 10px 12px; }
.pt-loc-ic { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg,#8b6bf5,#5b6bf5); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.pt-loc-t { flex: 1; min-width: 0; }
.pt-loc-t b { display: block; font-size: 12.5px; color: #4a5064; }
.pt-loc-t small { display: block; font-size: 10px; color: #a8adbd; margin-top: 2px; }
.pt-loc i { font-style: normal; font-size: 20px; color: #6b5bf5; line-height: 1; }
.pt-loc-box { margin-top: 9px; }
.pt-cities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pt-city { padding: 4px 10px; border-radius: 12px; background: #f5f6fa; color: #6a7084; font-size: 11px; }
.pt-city.on { background: #eaf0ff; color: #3d6bff; }
.pt-contact-box { display: flex; align-items: center; gap: 8px; background: #f7f8fc; border-radius: 8px; padding: 0 12px; }
.pt-contact-box svg { flex: none; }
.pt-contact-box .pt-input { background: transparent; padding-left: 0; }
.pt-phone { display: flex; align-items: center; gap: 9px; background: #f7f8fc; border-radius: 8px; padding: 10px 12px; margin-top: 9px; }
.pt-phone svg { flex: none; }
.pt-phone b { font-size: 13px; color: #4a5064; flex: none; }
.pt-phone input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 12.5px; color: #333; }
.pt-phone input::placeholder { color: #b4bacb; }
.pt-switch-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-sw-txt { flex: 1; min-width: 0; }
.pt-sw-txt b { display: block; font-size: 13px; color: #2c3040; }
.pt-sw-txt small { display: block; font-size: 10.5px; color: #a8adbd; margin-top: 3px; line-height: 1.5; }
.pt-switch { width: 42px; height: 24px; border-radius: 12px; background: #dfe2ec; position: relative; flex: none; cursor: pointer; transition: background .2s; }
.pt-switch i { position: absolute; left: 2px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); transition: left .2s; }
.pt-switch.on { background: #4c7dff; }
.pt-switch.on i { left: 20px; }
.pt-switch input { display: none; }
.pt-fund-t { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: #2c3040; padding-bottom: 11px; border-bottom: 1px solid #f2f3f7; margin-bottom: 11px; }
.pt-fund-t span { font-size: 10px; font-weight: 400; color: #22b573; background: #e8f8f0; padding: 1px 6px; border-radius: 4px; }
.pt-card .pt-switch-card + .pt-escrow-tip { margin-top: 10px; }
.pt-escrow-tip { font-size: 10px; color: #b0b5c4; line-height: 1.6; background: #fafbfe; border-radius: 6px; padding: 7px 9px; margin-top: 10px; }
/* 资金托管：金额输入 / 同预算 / 实时订单预览 */
.pt-escrow-box { margin-top: 11px; background: #f5fbf7; border: 1px solid #dcf2e6; border-radius: 8px; padding: 11px; }
.pt-escrow-label { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: #2c3040; margin-bottom: 8px; }
.pt-escrow-label svg { flex: none; }
.pt-escrow-label b { color: #f2595b; font-weight: 400; }
.pt-escrow-amount { background: #fff; border: 1px solid #e3f2e9; }
.pt-escrow-ops { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.pt-escrow-ops a { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: #3d6bff;
  background: #eaf0ff; border-radius: 12px; padding: 4px 10px; }
.pt-escrow-ops span { font-size: 10px; color: #22b573; }
/* 任务图片上传：九宫格缩略图 + 添加位（最多 5 张，第一张标封面） */
.pt-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pt-img { position: relative; padding-top: 100%; border-radius: 8px; overflow: hidden; background: #f3f5fa; }
.pt-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-img-x { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(20,26,45,.6); display: flex; align-items: center; justify-content: center; }
.pt-img-cover { position: absolute; left: 0; bottom: 0; font-size: 9px; color: #fff; background: rgba(61,107,255,.85);
  padding: 1px 6px; border-radius: 0 6px 0 8px; }
.pt-img-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  aspect-ratio: 1 / 1; min-height: 78px; border: 1px dashed #d6dcea; border-radius: 8px;
  background: #fafbfe; color: #9aa0b4; font-size: 10.5px; }
.pt-img-add:active { background: #f2f5fd; }
.pt-img-busy { display: flex; align-items: center; justify-content: center; border: 1px solid #e6ebf5; }
.pt-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #dbe2f2; border-top-color: #3d6bff;
  animation: ptspin .8s linear infinite; }
@keyframes ptspin { to { transform: rotate(360deg); } }
.pt-guards-h { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #4a5064;
  margin: 14px 2px 8px; }
.pt-guards-h svg { flex: none; }
.pt-guards-h em { font-style: normal; font-size: 10px; font-weight: 400; color: #a8adbd; margin-left: auto; }
.pt-guards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; background: #fff; border-radius: 8px; padding: 14px 6px; margin-bottom: 6px; }
.pt-guards > div { text-align: center; }
.pt-g { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; margin: 0 auto 5px; }
.pt-g.g1 { background: #ffeded; } .pt-g.g2 { background: #fff5e3; } .pt-g.g3 { background: #e8f8f0; }
.pt-guards b { display: block; font-size: 11px; color: #4a5064; }
.pt-guards small { display: block; font-size: 9.5px; color: #b4bacb; margin-top: 2px; }
.pt-fab { position: fixed; right: calc(50% - 240px + 16px); bottom: 88px; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 3px 12px rgba(31,45,92,.16); display: flex; align-items: center; justify-content: center; z-index: 90; }
@media (max-width: 500px) { .pt-fab { right: 16px; } }
.pt-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px;
  display: flex; align-items: center; gap: 9px; background: #fff; padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 14px rgba(20,30,70,.08); z-index: 100; }
.pt-bar #pt-submit { flex: 1; min-width: 0; height: 44px; border-radius: 22px; background: #d9dde8; color: #fff;
  font-size: 14px; font-weight: 700; border: 0; }
.pt-bar #pt-submit:not(:disabled) { background: linear-gradient(110deg,#6b5bf5,#4c7dff); box-shadow: 0 5px 14px rgba(76,125,255,.28); }
.pt-draft { width: 88px; height: 44px; flex: none; border-radius: 22px; border: 1px solid #dfe3ef; background: #f7f8fc;
  color: #6b5bf5; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 3px; }
.bd-escrow { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: #22b573; background: #e8f8f0; padding: 4px 9px; border-radius: 5px; margin-bottom: 9px; }
.mn-amt-escrow { color: #22b573; font-weight: 700; }
.mn-amt svg, .mn-amt-escrow svg { vertical-align: -1px; margin-right: 2px; }
/* 详情页任务图片 */
.bd-sec-n { font-style: normal; font-size: 10.5px; font-weight: 400; color: #a8adbd; margin-left: auto; }
.bd-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bd-img { position: relative; padding-top: 100%; border-radius: 8px; overflow: hidden; background: #f3f5fa; }
.bd-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 图片大图查看 */
.bz-viewer { position: fixed; inset: 0; z-index: 500; background: rgba(10,14,25,.92);
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.bz-viewer img { max-width: 100%; max-height: 100%; border-radius: 8px; object-fit: contain; }
.bz-viewer-x { position: absolute; top: 14px; right: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.16); color: #fff; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* ---------- 窄屏适配 ---------- */
@media (max-width: 375px) {
  .pl-avatar { width: 48px; height: 48px; }
  .pl-name { font-size: 15.5px; }
  .tk-hero-t { font-size: 19px; }
  .tk-stat b { font-size: 15px; }
  .tk-meta { font-size: 10px; }
  .mk-cover { height: 104px; }
}
@media (max-width: 360px) {
  .bz-cat { padding: 6px 12px; font-size: 12px; }
  .tk-quick-i { font-size: 10px; }
  .tk-helper { width: 138px; }
  .gn-btn { padding: 5px 9px; }
}

/* ==================================================================
   V3.1.0 集市交易闭环：卖家 / 评价 / 订单操作 / 订单详情页
   ================================================================== */
/* --- 我的记录：卡片内操作区 --- */
.mn-card .mn-link { display: block; }
.mn-ops { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; padding-top: 9px; border-top: 1px dashed #eef0f6; }
.mn-op { font-size: 12px; color: #6a7084; border: 1px solid #e2e5ee; border-radius: 14px; padding: 4px 12px; line-height: 1.4; }
.mn-op.primary { color: #6b5bf5; border-color: #d8d2ff; background: #f6f4ff; font-weight: 600; }
.mn-op.danger { color: #f2595b; border-color: #ffd6d6; background: #fff6f6; }
.mn-why { font-size: 11px; color: #b0b5c4; }
.mn-rated { font-size: 11px; color: #ef9f2e; }

/* --- 商品详情：卖家卡 / 销量 / 评价 --- */
.bd-seller-row { display: flex; align-items: center; gap: 10px; }
.bd-seller-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #f0f1f6; flex: 0 0 auto; }
.bd-seller-info { flex: 1; min-width: 0; }
.bd-seller-info b { display: block; font-size: 13.5px; color: #2c3040; }
.bd-seller-info small { display: block; font-size: 11px; color: #9aa0b4; margin-top: 2px; }
.bd-seller-tag { font-size: 10px; color: #22b573; background: #e8f8f0; border-radius: 4px; padding: 2px 6px; }
.bd-sold { font-size: 11px; color: #9aa0b4; margin-top: 6px; }
.bd-rv { padding: 10px 0; border-top: 1px solid #f2f3f7; }
.bd-rv:first-of-type { border-top: 0; }
.bd-rv-top { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: #8a90a4; }
.bd-rv-top b { color: #2c3040; font-size: 12px; }
.bd-rv-top em { margin-left: auto; font-style: normal; color: #b0b5c4; }
.bd-rv-stars { color: #e2e5ee; letter-spacing: 1px; }
.bd-rv-star.on, .bd-rv-stars i.on { color: #f5a623; }
.bd-rv-star { font-style: normal; color: #e2e5ee; }
.bd-rv-txt { font-size: 12.5px; color: #4a5064; line-height: 1.6; margin-top: 5px; }
.bd-rv-empty { font-size: 12px; color: #b0b5c4; padding: 6px 0; }

/* --- 评价弹层星级 --- */
.bz-rv-stars { text-align: center; font-size: 30px; color: #e2e5ee; letter-spacing: 6px; padding: 6px 0 14px; cursor: pointer; }
.bz-rv-stars i { font-style: normal; }
.bz-rv-stars i.on { color: #f5a623; }

/* --- 订单详情页 --- */
.od-page { background: #f5f6fa; padding-bottom: 24px; }
.od-status { padding: 20px 16px 16px; color: #fff; background: linear-gradient(135deg, #6b5bf5, #8b7bff); }
.od-status.wait { background: linear-gradient(135deg, #f0a13a, #ffc06a); }
.od-status.ship { background: linear-gradient(135deg, #3d6bff, #6b8bff); }
.od-status.done { background: linear-gradient(135deg, #1fae6f, #3ecf8e); }
.od-status.cancel { background: linear-gradient(135deg, #9aa0b4, #b7bccb); }
.od-st-t { font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.od-st-s { font-size: 12px; opacity: .92; margin-top: 5px; }
.od-steps { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.22); }
.od-step { position: relative; display: flex; gap: 10px; padding: 4px 0 4px 2px; }
.od-step i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .9; margin-top: 6px; flex: 0 0 auto; }
.od-step b { font-size: 12px; font-weight: 600; }
.od-step em { display: block; font-style: normal; font-size: 10.5px; opacity: .8; margin-top: 1px; }
.od-card { background: #fff; border-radius: 8px; margin: 12px 12px 0; padding: 13px 14px; box-shadow: 0 2px 9px rgba(31,45,92,.05); }
.od-sec { font-size: 13px; font-weight: 700; color: #2c3040; margin-bottom: 8px; }
.od-goods { display: flex; gap: 11px; align-items: flex-start; }
.od-goods img { width: 74px; height: 74px; border-radius: 8px; object-fit: cover; background: #f2f3f7; flex: 0 0 auto; }
.od-goods-info { flex: 1; min-width: 0; }
.od-goods-t { font-size: 13.5px; color: #2c3040; line-height: 1.45; }
.od-goods-m { font-size: 11.5px; color: #9aa0b4; margin-top: 5px; }
.od-goods-sum { font-size: 12px; color: #6a7084; margin-top: 6px; }
.od-goods-sum b { color: #f2595b; font-size: 15px; }
.od-row { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; line-height: 1.9; }
.od-row span { color: #8a90a4; flex: 0 0 auto; }
.od-row b { color: #2c3040; font-weight: 600; text-align: right; word-break: break-all; }
.od-row.col { display: block; }
.od-row.col b { display: block; text-align: left; margin-top: 2px; font-weight: 500; }
.od-express { color: #3d6bff !important; letter-spacing: .4px; }
.od-edit { display: inline-block; margin-top: 8px; font-size: 12px; color: #6b5bf5; border: 1px solid #d8d2ff; background: #f6f4ff; border-radius: 14px; padding: 4px 12px; }
.od-tip { font-size: 11px; color: #a8adbd; margin-top: 8px; line-height: 1.6; }
.od-rv { font-size: 12.5px; color: #4a5064; line-height: 1.7; }
.od-rv em { display: block; font-style: normal; font-size: 11px; color: #b0b5c4; margin-top: 4px; }
.od-stars { color: #f5a623; letter-spacing: 2px; font-size: 14px; margin-right: 6px; }
.od-stars i { font-style: normal; color: #e2e5ee; }
.od-stars i.on { color: #f5a623; }
.od-bar { display: flex; gap: 10px; padding: 16px 12px 4px; }
.od-btn { flex: 1 1 0; min-width: 0; height: 42px; line-height: 42px; text-align: center; border-radius: 21px; font-size: 14px; font-weight: 700; border: 1px solid #e2e5ee; color: #6a7084; background: #fff; }
.od-btn.primary { background: #6b5bf5; border-color: #6b5bf5; color: #fff; }
.od-btn.ghost { background: #fff; }
.od-btn:disabled { opacity: .6; }

/* ==================================================================
   付费置顶 V3.7.0：卡片高亮 + 置顶角标 + 详情页置顶卡 + 档位弹层
   ================================================================== */
.is-top { border: 1px solid #FFE0B2 !important; background: linear-gradient(180deg, #FFFBF2 0%, #fff 46%) !important; box-shadow: 0 6px 16px rgba(245, 166, 35, .16) !important; }
.mk-card.is-top { border-radius: 10px; }
.mk-card { position: relative; }
.bz-top-flag { position: absolute; top: 8px; left: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 7px 0 5px; border-radius: 5px; background: linear-gradient(135deg, #FFB01F, #FF7A1A); color: #fff; font-size: 10px; font-weight: 700; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.bz-top-tag { display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 6px 0 5px; margin-right: 5px; border-radius: 5px; background: linear-gradient(135deg, #FFB01F, #FF7A1A); color: #fff; font-size: 10px; font-weight: 700; vertical-align: middle; box-shadow: 0 2px 6px rgba(255, 122, 26, .28); }

/* 详情页：作者本人的置顶推广条 */
.bd-top-card { display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 11px 12px; border-radius: 10px; background: linear-gradient(120deg, #FFF6E4, #FFEFD2); border: 1px dashed #F5C069; }
.bd-top-card.on { background: linear-gradient(120deg, #FFF0D0, #FFE1AE); border-style: solid; border-color: #F0B24A; }
.bd-top-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #FFB01F, #FF7A1A); display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(255, 122, 26, .3); }
.bd-top-txt { flex: 1; min-width: 0; }
.bd-top-txt b { display: block; font-size: 13px; color: #8A5A00; }
.bd-top-txt small { display: block; font-size: 11px; color: #B58A3C; margin-top: 2px; line-height: 1.45; }
.bd-top-btn { flex: none; height: 30px; padding: 0 15px; border-radius: 15px; background: linear-gradient(135deg, #FFB01F, #FF7A1A); color: #fff; font-size: 12.5px; font-weight: 700; box-shadow: 0 3px 8px rgba(255, 122, 26, .25); }

/* 档位选择弹层 */
.bz-top-plans { display: flex; flex-direction: column; gap: 9px; margin: 2px 0 4px; }
.bz-top-plan { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: 1.5px solid #F0E3C8; border-radius: 10px; background: #FFFDF8; text-align: left; }
.bz-top-plan:active { border-color: #FFB01F; background: #FFF8EA; }
.bz-tp-days { flex: none; width: 48px; height: 44px; border-radius: 9px; background: linear-gradient(135deg, #FFF0D0, #FFE2B0); color: #B8720A; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 800; }
.bz-tp-days small { font-size: 11px; font-weight: 600; margin: 6px 0 0 1px; }
.bz-tp-name { flex: 1; font-size: 13.5px; font-weight: 700; color: #2C3040; }
.bz-tp-name em { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #FF7A1A; color: #fff; font-size: 10px; font-style: normal; font-weight: 600; }
.bz-tp-price { flex: none; font-size: 16px; font-weight: 800; color: #FF6B00; }

/* 发布页提示条状态（V3.25.0）：未认证待审核 / 可直接发 / 额度用完 */
.fm-tip.pub-wait { background: #fff8ec; border: 1px solid #f5dfae; color: #8a6a2a; border-radius: 8px; }
.fm-tip.pub-ok { background: #eefaf2; border: 1px solid #bfe8cd; color: #1f7a45; border-radius: 8px; }
.fm-tip.pub-off { background: #ffeeee; border: 1px solid #ffc9c9; color: #b3282f; border-radius: 8px; }

/* AI 生成合规标识（V3.25.1）：小程序审核要求提供 AI 生成能力须有显著说明 */
.pt-ai-note { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; padding: 8px 10px;
  background: #f4f6ff; border: 1px solid #dfe4ff; border-radius: 8px; }
.pt-ai-note-tag { flex: none; font-size: 10px; font-weight: 600; color: #fff; background: #5b6cff;
  border-radius: 4px; padding: 2px 5px; line-height: 1.5; }
.pt-ai-note-t { flex: 1; min-width: 0; font-size: 11.5px; color: #6a7191; line-height: 1.6; }
.pt-ai-mark { display: flex; align-items: flex-start; gap: 4px; margin: 6px 0 0; padding: 7px 9px;
  background: #fff8ec; border: 1px solid #f5dfae; border-radius: 8px;
  font-size: 11.5px; color: #8a6a2a; line-height: 1.6; }
.pt-ai-mark-i { color: #d89b2c; }
