/* ============================================================
   剪单 · 页面专用补充样式（文章/剪辑师主页/订单详情）
   ============================================================ */

/* ==================== 星级 ==================== */
.stars { display: inline-flex; gap: 1px; color: var(--brand-deep); font-size: 13px; }
.stars .star-empty { color: #d8d8d8; }
.rating-num { font-weight: 700; color: var(--text); margin-left: 4px; font-size: 13px; }

/* ==================== 剪辑师主页 ==================== */
.editor-hero {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 12px 0;
  box-shadow: var(--shadow-card);
  border: var(--border-card);
}
.editor-hero .eh-top { display: flex; gap: 14px; align-items: flex-start; }
.editor-hero .eh-name { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.editor-hero .eh-title { font-size: 13px; color: var(--text-2); margin-top: 6px; }
.editor-hero .eh-location { font-size: 12px; color: var(--text-3); margin-top: 5px; }
.editor-hero .eh-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.editor-hero .eh-actions { display: flex; gap: 10px; margin-top: 16px; }

/* 信用档案卡 */
.credit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 12px; }
.credit-item {
  background: #f8f9fb; border-radius: var(--radius-sm); padding: 12px 6px; text-align: center;
  border: 1px solid var(--line-soft);
}
.credit-item .n { font-size: 17px; font-weight: 800; color: var(--text); }
.credit-item .l { font-size: 10.5px; color: var(--text-3); margin-top: 3px; }

/* 标签/技能 */
.skill-tag {
  font-size: 12px; padding: 4px 11px; border-radius: var(--radius-full);
  background: var(--brand-soft); color: #7a5b00;
}
.plain-tag {
  font-size: 12px; padding: 4px 11px; border-radius: var(--radius-full);
  background: #f2f3f5; color: var(--text-2);
}

/* 作品详情（剪辑师主页内） */
.work-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: linear-gradient(135deg, #fff3cf, #ffe1c9);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-thumb .fallback-ico { font-size: 30px; }
.work-thumb .play-ico { font-size: 32px; color: rgba(255,255,255,.92); text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* 评价卡 */
.review-card {
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
}
.review-card:last-child { border-bottom: none; }
.review-card .rv-top { display: flex; gap: 9px; align-items: center; }
.review-card .rv-name { font-size: 13.5px; font-weight: 600; }
.review-card .rv-date { font-size: 11px; color: var(--text-3); }
.review-card .rv-content { font-size: 13.5px; color: var(--text); margin-top: 8px; line-height: 1.6; }

/* 违规记录 */
.violation-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: 12.5px;
}
.violation-row:last-child { border-bottom: none; }

/* 作品集瀑布（主页内） */
.works-waterfall { columns: 2; column-gap: 8px; }
.works-waterfall .wf-card { position: relative; }

/* ==================== 订单详情 ==================== */
.order-money-box {
  background: linear-gradient(135deg, #fff1ec, #fff8e7);
  border-radius: var(--radius);
  padding: 18px 14px; text-align: center; margin-bottom: 14px;
  border: 1px solid #ffe0d5;
}
.order-money-box .om-amount { font-size: 32px; font-weight: 800; color: var(--price); }
.order-money-box .om-amount .yuan { font-size: 17px; }
.order-money-box .om-label { font-size: 12px; color: var(--text-2); margin-top: 4px; }

.kv-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 13px; gap: 14px;
}
.kv-row:last-child { border-bottom: none; }
.kv-row .kv-k { color: var(--text-3); flex: none; }
.kv-row .kv-v { color: var(--text); text-align: right; word-break: break-all; min-width: 0; font-weight: 500; }

.action-bar {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px;
}

.deliver-note {
  background: #f8f9fb; border-radius: var(--radius-sm); padding: 10px 12px;
  font-size: 12.5px; color: var(--text-2); margin-bottom: 8px;
}

/* ==================== 钱包 ==================== */
.wallet-hero {
  background: linear-gradient(135deg, #2f3542, #4a5468);
  border-radius: var(--radius);
  padding: 20px 18px; color: #fff;
  margin-bottom: 12px;
  box-shadow: 0 6px 20px rgba(47,53,66,.25);
  position: relative; overflow: hidden;
}
.wallet-hero::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.wallet-hero .wh-balance { font-size: 34px; font-weight: 800; position: relative; z-index: 1; }
.wallet-hero .wh-label { font-size: 12px; opacity: .75; position: relative; z-index: 1; }
.wallet-hero .wh-row { display: flex; gap: 18px; margin-top: 16px; position: relative; z-index: 1; }
.wallet-hero .wh-row .n { font-size: 17px; font-weight: 700; }
.wallet-hero .wh-row .l { font-size: 11px; opacity: .7; }

/* ==================== 日历 ==================== */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head { text-align: center; font-size: 11px; color: var(--text-3); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border-radius: 8px; border: 1px solid var(--line);
  background: #fafafa; font-size: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
}
.cal-day.has-order { background: #fff4e5; border-color: #ffd9a8; color: #e67700; }
.cal-day.selected { background: var(--brand); border-color: var(--brand); color: #3d2c00; font-weight: 700; }
.cal-day.empty { border: none; background: transparent; }

/* ==================== 文章页（担保/关于） ==================== */
.article {
  background: var(--card); border-radius: var(--radius);
  padding: 18px 16px; margin: 10px 0;
  box-shadow: var(--shadow-card);
}
.article h1 { font-size: 21px; margin-bottom: 6px; }
.article h2 { font-size: 17px; margin: 20px 0 8px; }
.article p { color: var(--text-2); line-height: 1.9; margin-bottom: 10px; font-size: 14px; }
.article ul { padding-left: 20px; margin: 8px 0 12px; }
.article li { color: var(--text-2); line-height: 1.9; font-size: 14px; }

.escrow-step-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--card); border-radius: var(--radius-sm);
  padding: 14px; margin-bottom: 8px; box-shadow: var(--shadow-card);
}
.escrow-step-card .es-num {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--brand); color: #3d2c00; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.escrow-step-card h3 { font-size: 14.5px; margin-bottom: 3px; }
.escrow-step-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }

.faq-item {
  background: var(--card); border-radius: var(--radius-sm);
  padding: 13px 14px; margin-bottom: 8px; box-shadow: var(--shadow-card);
}
.faq-item h3 { font-size: 14px; margin-bottom: 5px; }
.faq-item p { font-size: 12.5px; color: var(--text-2); line-height: 1.7; }

/* ==================== 登录页 ==================== */
.login-wrap {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 30px 26px;
  background: linear-gradient(180deg, #FFF7DD 0%, #f4f5f7 45%);
}
.login-logo {
  width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 16px;
  background: var(--brand-grad); display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; color: #3d2c00;
  box-shadow: 0 10px 26px rgba(255,184,0,.4);
}
.login-tabs {
  display: flex; background: #eceef1; border-radius: var(--radius-full); padding: 4px;
  margin: 20px 0 22px;
}
.login-tab {
  flex: 1; border: none; background: transparent; padding: 10px 0; border-radius: var(--radius-full);
  font-size: 14px; color: var(--text-3); font-weight: 600; transition: all .15s;
}
.login-tab.active { background: var(--card); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.login-wrap .form-input {
  background: rgba(255,255,255,.9);
  border: 1px solid #d8d8d8;
}
.login-wrap .form-input:focus { background: #fff; border-color: var(--brand-deep); }

.role-picker { display: flex; gap: 10px; margin-bottom: 16px; }
.role-card {
  flex: 1; border: 2px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card); padding: 13px 8px; text-align: center;
}
.role-card.active { border-color: var(--brand-deep); background: var(--brand-soft); }
.role-card .rico { font-size: 24px; }
.role-card .rname { font-size: 13px; font-weight: 700; margin-top: 4px; }
.role-card .rdesc { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }

/* ============================================================
   v25 · 闲鱼风私信页（表情包/头像/时间分隔/美化）
   ============================================================ */
.chat-app {
  height: 100dvh; height: 100vh;
  background: #ededed;
  display: flex; flex-direction: column;
  overflow: hidden;
  padding-bottom: 0;
  box-shadow: none;
  max-width: var(--app-w); margin: 0 auto;
}
/* 头部 */
.chat-header {
  flex: none; background: #fff;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 6px;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.chat-header .back-btn { flex: none; }
.chat-h-avatar { flex: none; display: inline-flex; }
.chat-h-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.chat-h-info .title { font-size: 16px; text-align: left; font-weight: 700; }
.chat-h-status { font-size: 11px; color: #b0b0b0; display: flex; align-items: center; gap: 3px; }
.chat-h-status.pc-on { color: #3ba93b; }
.chat-h-status.pc-warn { color: #e8a100; }

/* 消息列表 */
.chat-msg-list {
  flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 14px 10px 10px;
}
.cm-time {
  text-align: center; font-size: 11px; color: #b0b0b0;
  margin: 16px 0 12px;
  background: rgba(0,0,0,.05); border-radius: 4px;
  display: inline-block; padding: 2px 8px; margin-left: 50%; transform: translateX(-50%);
}
.chat-msg {
  display: flex; align-items: flex-start; gap: 8px;
  margin-bottom: 14px;
}
.chat-msg.sent { flex-direction: row-reverse; }
.chat-msg.continuation { margin-bottom: 5px; }
.cm-avatar { flex: none; display: inline-flex; }
.cm-body { display: flex; flex-direction: column; max-width: 72vw; }
.chat-msg.sent .cm-body { align-items: flex-end; }
.cm-sender { font-size: 11px; color: var(--text-3); margin: 0 0 2px 4px; display: flex; align-items: center; gap: 4px; }

.cm-bubble {
  display: inline-block;
  padding: 9px 13px;
  border-radius: 4px 14px 14px 14px;
  background: #fff; color: #1c1c1c; font-size: 15px; line-height: 1.5;
  word-break: break-word; white-space: pre-wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  position: relative;
}
.chat-msg.sent .cm-bubble { background: #dff1b1; border-radius: 14px 4px 14px 14px; color: #1c1c1c; }

/* 图片消息 */
.cm-img {
  display: block; max-width: 58vw; max-height: 220px;
  border-radius: 12px; background: #e5e5e5; object-fit: cover;
}
/* 视频消息 */
.cm-video {
  display: block; max-width: 70vw; max-height: 240px;
  border-radius: 12px; background: #000;
}
/* 文件消息 */
.cm-file {
  display: flex; align-items: center; gap: 11px;
  width: 70vw; max-width: 290px;
  background: #fff; border-radius: 14px; padding: 12px 13px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.chat-msg.sent .cm-file { background: #dff1b1; }
.cmf-ico { font-size: 28px; flex: none; }
.cmf-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cmf-name {
  font-size: 13.5px; color: #1c1c1c; font-weight: 600;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cmf-size { font-size: 11px; color: #8a8a8a; }
.cmf-dl {
  flex: none; font-size: 12px; color: #5a8a17;
  border: 1px solid #a7c96a; border-radius: 12px; padding: 3px 11px;
  background: rgba(255,255,255,.4);
}

/* 底部输入条 */
.chat-compose {
  flex: none; display: flex; align-items: center; gap: 8px;
  background: #f7f7f7; border-top: 1px solid #e8e8e8;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.chat-emoji-toggle {
  flex: none; width: 36px; height: 36px; border: none; border-radius: 50%;
  background: transparent; font-size: 24px; line-height: 1; padding: 0;
  transition: background .15s;
}
.chat-emoji-toggle:active { background: rgba(0,0,0,.05); }
.chat-compose input {
  flex: 1; min-width: 0; height: 40px; border: 1px solid #e3e3e3; outline: none;
  background: #fff; border-radius: 20px; padding: 0 15px; font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.chat-compose input:focus { border-color: var(--brand-deep); box-shadow: 0 0 0 3px rgba(255,184,0,.12); }
.chat-plus-btn {
  flex: none; width: 36px; height: 36px; border: none; border-radius: 50%;
  background: transparent; font-size: 26px; line-height: 1; color: #666; padding: 0;
  transition: background .15s;
}
.chat-plus-btn:active { background: rgba(0,0,0,.05); }
.chat-send-btn {
  flex: none; border: none; border-radius: 20px; padding: 9px 18px;
  background: var(--brand-grad); color: #3a2c00; font-size: 14px; font-weight: 700;
  box-shadow: 0 2px 8px rgba(255,184,0,.35);
}

/* 表情包面板 */
.chat-emoji-panel[hidden], .chat-plus-panel[hidden] { display: none; }
.chat-emoji-panel {
  flex: none; background: #fff; border-top: 1px solid #e8e8e8;
  display: flex; flex-direction: column; height: 260px;
}
.emoji-tabs {
  flex: none; display: flex; border-bottom: 1px solid #f0f0f0;
  padding: 6px 8px 0; gap: 2px; overflow-x: auto;
}
.emoji-tab {
  flex: none; font-size: 12.5px; color: #888;
  padding: 7px 13px 9px; border-radius: 8px 8px 0 0;
  transition: color .15s;
}
.emoji-tab.active { color: #222; font-weight: 700; position: relative; }
.emoji-tab.active::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px; background: var(--brand-deep); border-radius: 2px; }
.emoji-grid {
  flex: 1; overflow-y: auto;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px;
  padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  background: #fafafa;
}
.emoji-one {
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; height: 36px; border-radius: 8px;
  transition: background .12s;
}
.emoji-one:active { background: #ececec; }

/* 加号扩展面板 */
.chat-plus-panel {
  flex: none; display: flex; gap: 22px;
  background: #fff; border-top: 1px solid #e8e8e8;
  padding: 18px 18px calc(16px + env(safe-area-inset-bottom));
}
.cpp-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 12px; color: #555;
  transition: opacity .12s;
}
.cpp-item:active { opacity: .6; }
.cpp-ico {
  width: 54px; height: 54px; border-radius: 16px;
  background: #f8f8f8; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* 图片全屏预览 */
.img-preview-mask {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.9);
  display: flex; align-items: center; justify-content: center;
  animation: .15s ease both fadeIn;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* 订单页对方信息卡 */
.peer-card {
  display: flex; align-items: center; gap: 11px;
  background: var(--card); border-radius: var(--radius);
  padding: 12px 13px; margin-bottom: 12px;
  box-shadow: var(--shadow-card);
}
.pc-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.pc-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pc-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 11.5px; color: #888; }
.pc-meta .pc-on { color: #3ba93b; }
.pc-meta .pc-warn { color: #e8a100; }
.pc-title {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ============ v25 大厅优化 · 左右结构 ============ */
.editor-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px;
}
.editor-card:active { transform: scale(.99); }
.ec-main { display: flex; gap: 10px; align-items: flex-start; flex: 1; min-width: 0; }
.ec-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ec-row1 { display: flex; align-items: center; gap: 5px; }
.ec-name { font-size: 15px; font-weight: 700; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 50%; }
.ec-lv { font-size: 10px; padding: 1px 6px; }
.ec-av { font-size: 10px; padding: 1px 6px; }
.ec-row2 { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-online { font-size: 11.5px; }
.ec-online.pc-on { color: #3ba93b; }
.ec-online.pc-warn { color: #e8a100; }
.ec-row3 { font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ec-rating { font-weight: 600; color: var(--text-2); }
.ec-sep { color: var(--line); }
.ec-row4 { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 2px; }
.ec-tag {
  font-size: 10.5px; padding: 1px 7px; border-radius: var(--radius-full);
  background: #f2f3f5; color: var(--text-2);
}
.cert-badge.sm { font-size: 10.5px; padding: 1px 6px; }

/* 右侧操作区 */
.ec-actions {
  flex: none; display: flex; flex-direction: column; gap: 8px;
  align-items: stretch;
}
.ec-actions .ec-btn { padding: 8px 14px; font-size: 12.5px; white-space: nowrap; min-width: 86px; text-align: center; }
.ec-actions .ec-chat { font-size: 12.5px; }

/* 擅长方向多选 */
.cat-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-check { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.cat-check input { accent-color: var(--brand-deep); width: 15px; height: 15px; }
.cat-check span { color: var(--text); }

/* ============ v25 消息页 · 咸鱼风格 ============ */
.msg-tabs {
  display: flex; background: #fff; border-radius: var(--radius);
  padding: 4px; margin: 10px 0 12px; box-shadow: var(--shadow-card);
}
.msg-tab {
  flex: 1; border: none; background: transparent; padding: 9px 0;
  font-size: 14px; color: var(--text-3); font-weight: 600;
  border-radius: var(--radius-sm); transition: all .15s;
  position: relative;
}
.msg-tab.active { background: var(--brand-grad); color: #3a2c00; }
/* v68: 「通知」子 tab 未读提示点 */
.msg-tab .mt-dot {
  position: absolute; top: 7px; right: 22%;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 2px #fff;
}
.msg-tab.active .mt-dot { box-shadow: 0 0 0 2px #ffe9a8; }
.msg-tab .mt-dot[hidden] { display: none; }

.msg-section { animation: .18s ease both fadeUp; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.chat-session {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px; background: #fff;
  border-bottom: 1px solid #f5f5f5;
  position: relative; cursor: pointer;
  transition: background .12s;
}
.chat-session:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.chat-session:last-child { border-bottom: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.chat-session:only-child { border-radius: var(--radius-sm); }
.chat-session:active { background: #f5f5f5; }
.cs-avatar { flex: none; position: relative; }
.cs-main { flex: 1; min-width: 0; }
.cs-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cs-name { font-size: 15.5px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.cs-time { font-size: 11px; color: var(--text-3); flex: none; }
.cs-msg { font-size: 12.5px; color: var(--text-3); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-badge {
  position: absolute; top: 12px; right: 14px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: #ff4d4f; color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(255,77,79,.4);
}

/* 通知 */
.notify-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 2px 10px; font-size: 12px; color: var(--text-3);
}
.nh-mark {
  border: none; background: var(--brand-soft); color: #7a5b00;
  font-size: 12px; padding: 5px 12px; border-radius: var(--radius-full);
  font-weight: 600;
}
.notify-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 14px; background: #fff;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer; position: relative;
  transition: background .12s;
}
.notify-item:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.notify-item:last-child { border-bottom: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.notify-item:only-child { border-radius: var(--radius-sm); }
.notify-item:active { background: #f5f5f5; }
.notify-item.is-read { opacity: .7; }
.ni-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.ni-main { flex: 1; min-width: 0; }
.ni-content { font-size: 13.5px; color: var(--text); line-height: 1.45; }
.ni-time { font-size: 11px; color: var(--text-3); margin-top: 5px; }
.ni-dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d4f; margin-top: 8px;
  box-shadow: 0 0 0 3px rgba(255,77,79,.2);
}

/* 筛选条件 chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.fchip {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0f3f8; color: #444; font-size: 12px;
  padding: 4px 9px; border-radius: 20px;
}
.fchip-x { cursor: pointer; color: #999; font-size: 11px; }
.fchip-x:hover { color: var(--text); }

/* 推荐位 */
.recommend-block {
  background: linear-gradient(135deg, #fff8e6 0%, #fff 100%);
  border-radius: var(--radius); padding: 12px 13px; margin-top: 10px;
  box-shadow: var(--shadow-card);
}
.rec-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.rec-title { font-weight: 700; font-size: 14px; }
.rec-row { display: flex; gap: 12px; overflow-x: auto; }
.rec-row::-webkit-scrollbar { display: none; }
.rec-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 60px; text-align: center;
}
.rec-name { font-size: 12px; font-weight: 600; max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-level { font-size: 10.5px; color: var(--brand-deep); font-weight: 700; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec-match {
  position: absolute; top: -2px; right: -2px;
  background: linear-gradient(135deg, #4caf50, #2e7d32);
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 1px 5px; border-radius: 8px;
  z-index: 2;
}
.rec-item { position: relative; }

/* 剪辑师档期快捷切换 */
.avail-quick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avail-label { font-size: 13px; font-weight: 600; color: #555; }
.avail-options { display: flex; gap: 6px; }
.avail-opt {
  border: 1px solid #ddd; background: #fff; border-radius: 20px;
  padding: 5px 12px; font-size: 12px; cursor: pointer; transition: all .15s;
}
.avail-opt.active { background: var(--brand, #0a9d62); color: #fff; border-color: var(--brand); }

/* 图片灯箱（当页查看） */
.img-viewer-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.9);
  z-index: 10001; display: flex; align-items: center; justify-content: center;
  animation: fadeIn .2s;
}
.img-viewer-img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 10px 50px rgba(0,0,0,.5);
}
.img-viewer-close {
  position: absolute; top: 20px; right: 24px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
}
.img-viewer-close:hover { background: rgba(255,255,255,.3); }

/* 需求卡片雇主标签 */
.emp-tag { font-weight: 600; font-size: 12px; color: #333; }

.pc-actions { flex: none; display: flex; gap: 7px; }

/* ==================== P1: 需求详情页 ==================== */
.demand-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); margin-top: 8px; }
.demand-desc { font-size: 13px; line-height: 1.8; color: var(--text); background: #f8f9fb; border-radius: 10px; padding: 12px 14px; }
.buyer-info { display: flex; align-items: center; gap: 10px; padding: 12px; background: #f8f9fb; border-radius: 10px; margin-top: 12px; }
.bid-card { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); cursor: pointer; transition: background .15s; }
.bid-card:last-child { border-bottom: none; }
.bid-card:hover { background: #f8f9fb; border-radius: 8px; }
.bid-card.bid-cur { background: #f0fdf4; border-radius: 8px; padding: 10px 8px; cursor: default; }
.ph-avail { margin-top: 6px; display: flex; align-items: center; cursor: pointer; }
.bid-info { flex: 1; min-width: 0; }
.bid-name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bid-meta { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.bid-actions { display: flex; gap: 6px; flex: none; }

/* P1: 评价星星 */
.star-pick { display: flex; align-items: center; gap: 2px; font-size: 22px; color: #ddd; }
.star-pick span { cursor: pointer; transition: all .15s; }

/* P1: 收益统计 */
.earnings-row { display: flex; gap: 8px; margin-top: 8px; }
.earnings-cell { flex: 1; background: #f8f9fb; border-radius: 10px; padding: 12px 8px; text-align: center; border: 1px solid var(--line-soft); }
.earnings-num { font-size: 17px; font-weight: 800; color: var(--price); }
.earnings-label { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.earnings-chart { display: flex; align-items: flex-end; gap: 6px; height: 100px; margin-top: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--line-soft); }
.ec-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ec-bar-fill { width: 100%; background: var(--brand-grad); border-radius: 4px 4px 0 0; min-height: 2px; transition: height .3s; }
.ec-label { font-size: 10px; color: var(--text-3); }

/* P2: 档期日历交互 */
.cal-day.avail-free { background: #e8f5e9; border-color: #66bb6a; color: #2e7d32; }
.cal-day.avail-busy { background: #ffebee; border-color: #ef5350; color: #c62828; }

/* P2: 后台漏斗看板 */
.funnel-bar { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
.funnel-label { width: 90px; font-size: 13px; color: #555; flex: none; }
.funnel-track { flex: 1; height: 22px; background: #f0f0f0; border-radius: 11px; overflow: hidden; position: relative; }
.funnel-fill { height: 100%; background: linear-gradient(90deg, #FFD233, #ff9800); border-radius: 11px; transition: width .4s; display: flex; align-items: center; padding-left: 10px; font-size: 11px; font-weight: 700; color: #333; min-width: 30px; }
.funnel-count { width: 50px; text-align: right; font-size: 13px; font-weight: 700; color: #333; flex: none; }

/* 空态 */
.empty-mini { text-align: center; padding: 20px; font-size: 12.5px; color: var(--text-3); }
.pc-ico-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: #f4f4f6; display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none;
}

/* 通知卡片可点击 */
.notify-card { cursor: pointer; }

/* ============================================================
   v19 · 头像上传
   ============================================================ */
.avatar-pick { position: relative; display: inline-flex; cursor: pointer; }
.avatar-cam {
  position: absolute; right: -2px; bottom: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}
/* 大厅卡片私信快捷钮 */
.card-chat-btn {
  position: absolute; right: 10px; bottom: 8px;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
  padding: 0;
}

/* ============================================================
   v39 · 新增样式（指定剪辑师/费用明细/需求缩略图/工期险）
   ============================================================ */

/* 需求列表卡片参考图缩略图 */
.lc-thumb {
  width: 88px; height: 88px; border-radius: var(--radius-sm); object-fit: cover;
  flex: none; margin-right: 10px; cursor: pointer;
  box-shadow: var(--shadow-card);
}

/* 指定剪辑师 · 模糊搜索结果行 */
.hire-row {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px; margin-top: 6px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--card); cursor: pointer; transition: all .15s;
}
.hire-row:hover { border-color: var(--brand-deep); background: var(--brand-soft); }

/* 已选剪辑师标签 */
.hire-picked {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; margin-top: 8px;
  background: var(--brand-soft); border: 1px solid var(--brand-deep);
  border-radius: var(--radius-full); font-size: 13px; font-weight: 600; color: var(--text);
}
.hire-picked span { cursor: pointer; color: var(--text-3); font-weight: 400; }

/* 费用明细 */
.fee-breakdown { margin-top: 4px; }
.fb-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px;
}
.fb-row:last-child { border-bottom: none; }
.fb-row span { color: var(--text-3); min-width: 0; overflow-wrap: break-word; }
.fb-row b { color: var(--text); font-weight: 600; flex: none; white-space: nowrap; }

/* 工期险购买卡 */
.insurance-card {
  background: linear-gradient(135deg, #fff8e7, #fff1ec);
  border: 1px solid #ffe0d5; border-radius: var(--radius);
  padding: 14px; margin-top: 10px; overflow: hidden;
}
.insurance-card .ic-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.insurance-card .ic-desc { font-size: 12.5px; color: var(--text-2); margin-top: 6px; line-height: 1.6; }
.insurance-card .ic-price { font-size: 20px; font-weight: 800; color: var(--price); margin-top: 8px; }
.insurance-card .ic-actions { display: flex; gap: 8px; margin-top: 12px; }
.insurance-card .ic-bought { font-size: 12.5px; color: #3ba93b; font-weight: 600; margin-top: 8px; }

/* ============================================================
   v41 · 瀑布流骨架屏
   ============================================================ */
.wf-card.skel { pointer-events: none; }
.sk-media {
  aspect-ratio: 4 / 3; border-radius: 12px;
  background: linear-gradient(100deg, #eceef1 40%, #f7f8fa 50%, #eceef1 60%);
  background-size: 200% 100%;
  animation: skShine 1.2s ease-in-out infinite;
}
.sk-line {
  height: 13px; border-radius: 6px;
  background: linear-gradient(100deg, #eceef1 40%, #f7f8fa 50%, #eceef1 60%);
  background-size: 200% 100%;
  animation: skShine 1.2s ease-in-out infinite;
}
.sk-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; }
.sk-btn {
  width: 52px; height: 22px; border-radius: 11px;
  background: linear-gradient(100deg, #eceef1 40%, #f7f8fa 50%, #eceef1 60%);
  background-size: 200% 100%;
  animation: skShine 1.2s ease-in-out infinite;
}
@keyframes skShine { to { background-position: -200% 0; } }

/* ============================================================
   v48 · 服务详情页（service.html）
   定价权归卖家：页面只做展示，不做任何"平台指导价"暗示
   ============================================================ */
.app-main-svc { padding-bottom: calc(var(--tabbar-h) + 24px); }

/* ---------- 封面 ---------- */
.svc-hero { position: relative; margin: 0 -12px; }
.svc-cover {
  width: 100%; aspect-ratio: 16 / 9;
  background-size: cover; background-position: center;
  background-color: #eef0f3;
}
.svc-cover-fallback {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #fff3cf 0%, #ffe1c9 100%);
}
.svc-cover-fallback span { font-size: 22px; font-weight: 800; color: #7a5b00; letter-spacing: 1px; }
.svc-cover-fallback em { font-size: 12.5px; color: #a8813a; font-style: normal; }
.svc-ribbon {
  position: absolute; right: 0; top: 14px;
  background: rgba(26,26,26,.82); color: #fff;
  font-size: 12px; padding: 5px 12px; border-radius: var(--radius-full) 0 0 var(--radius-full);
  backdrop-filter: blur(4px);
}

/* ---------- 标题价格卡 ---------- */
.svc-head { margin-top: -22px; position: relative; z-index: 2; border-radius: var(--radius); }
.svc-title { font-size: 17.5px; font-weight: 800; line-height: 1.4; color: var(--text); }
.svc-price-line { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.svc-price { font-size: 25px; font-weight: 800; color: var(--price); letter-spacing: -.5px; }
.svc-price-unit { font-size: 12.5px; color: var(--text-3); }
.svc-price-line .badge { margin-left: auto; align-self: center; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

/* ---------- 卖家条 ---------- */
.svc-seller { display: flex; align-items: center; gap: 11px; cursor: pointer; }
.svc-seller:active { background: #fafbfc; }
.svc-seller-name { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; flex-wrap: wrap; }
.svc-seller-meta { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.svc-seller-go { font-size: 12.5px; color: var(--text-3); flex: none; }

/* ---------- 通用分段 ---------- */
.svc-sec { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.svc-sec:last-of-type { border-bottom: none; }
.svc-sec .section-title { margin: 0 0 10px; font-size: 15.5px; }
.svc-sec-card { padding: 15px; }
.svc-sec-card .section-title { margin: 0 0 10px; font-size: 15.5px; }
.svc-desc { font-size: 13.5px; color: var(--text-2); line-height: 1.72; white-space: pre-wrap; word-break: break-word; }

/* ---------- 时长档位 ---------- */
.svc-tier { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.svc-tier-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 13px; background: #fbfcfd; font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.svc-tier-row:last-child { border-bottom: none; }
.svc-tier-label { color: var(--text-2); }
.svc-tier-price { font-weight: 700; color: var(--price); flex: none; }

/* ---------- 加急 ---------- */
.svc-rush { display: flex; gap: 9px; }
.svc-rush-item {
  flex: 1; background: #fff8ee; border: 1px solid #ffe2c4;
  border-radius: var(--radius-sm); padding: 12px 10px; text-align: center;
}
.svc-rush-item b { display: block; font-size: 13px; color: #b35900; }
.svc-rush-item span { display: block; font-size: 15px; font-weight: 800; color: var(--price); margin-top: 4px; }

/* ---------- 服务内容（含 / 不含） ---------- */
.svc-inc { display: flex; gap: 12px; align-items: flex-start; }
.svc-inc-col { flex: 1; min-width: 0; }
.svc-inc-h { font-size: 12.5px; font-weight: 700; margin-bottom: 7px; }
.svc-inc-yes { color: #0a9d62; }
.svc-inc-no { color: var(--text-3); }
.svc-inc-col ul { margin: 0; padding-left: 16px; }
.svc-inc-col li { font-size: 13px; color: var(--text-2); line-height: 1.85; word-break: break-word; }
.svc-inc-col li::marker { color: #d5d7db; }

/* ---------- 样例 ---------- */
.svc-sample-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 10.5px; color: #fff; padding: 3px 5px;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- TA 的其他服务 ---------- */
.svc-others {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px;
}
.svc-other { text-decoration: none; color: inherit; display: block; }
.svc-other-cover {
  aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
  background-color: #f2f4f7;
}
.svc-other-cover span { font-size: 11.5px; color: var(--text-3); text-align: center; padding: 0 4px; }
.svc-other-title {
  font-size: 12.5px; margin-top: 6px; line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-other-price { font-size: 12.5px; font-weight: 700; color: var(--price); margin-top: 3px; }

/* ---------- 信任条 ---------- */
.svc-trust {
  display: flex; gap: 8px; margin-top: 4px;
  background: #fbfcfd; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 13px 10px;
}
.svc-trust-item { flex: 1; text-align: center; }
.svc-trust-item b { display: block; font-size: 12.5px; color: var(--text); }
.svc-trust-item span { display: block; font-size: 10.5px; color: var(--text-3); margin-top: 3px; line-height: 1.4; }

/* ---------- 底部下单栏 ---------- */
.svc-bar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 100%; max-width: var(--app-w);
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); z-index: 400;
}
.svc-bar[hidden] { display: none; }
.svc-bar-l { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.svc-bar-price { font-size: 19px; font-weight: 800; color: var(--price); line-height: 1.2; }
.svc-bar-price em { font-size: 11.5px; font-style: normal; font-weight: 500; color: var(--text-3); margin-left: 2px; }
.svc-bar-tip { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.svc-bar .btn { flex: none; min-width: 132px; height: 42px; }

/* ---------- 下单面板选项 ---------- */
.svc-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.svc-opt {
  flex: 1 1 auto; min-width: 30%;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 12px; font-size: 13px;
  background: #f5f6f8; border: 1.5px solid transparent;
  border-radius: var(--radius-sm); color: var(--text-2);
  cursor: pointer; font-family: inherit; line-height: 1.35;
}
.svc-opt em { font-style: normal; font-size: 12px; color: var(--text-3); }
.svc-opt.on {
  background: var(--brand-soft); border-color: var(--brand-deep);
  color: #7a5b00; font-weight: 700;
}
.svc-opt.on em { color: #b35900; font-weight: 700; }

/* 费用合计行 */
.fb-row.fb-total { border-bottom: none; padding-top: 11px; margin-top: 2px; border-top: 1px dashed var(--line); }
.fb-row.fb-total span { color: var(--text-2); font-weight: 600; }
.fb-row.fb-total b { color: var(--price); font-size: 18px; font-weight: 800; }

/* ---------- 窄屏 ---------- */
@media (max-width: 380px) {
  .svc-price { font-size: 22px; }
  .svc-bar .btn { min-width: 112px; }
  .svc-inc { flex-direction: column; gap: 14px; }
  .svc-opt { min-width: 46%; }
}

/* 首页服务流：有封面时铺满 wf-media */
.svc-feed-cover { background-size: cover; background-position: center; background-color: #eef0f3; }

/* 样例网格（支持视频） */
.svc-samples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.svc-sample {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-sm);
  overflow: hidden; background: #eef0f3; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.svc-sample img, .svc-sample video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.svc-sample-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.45);
  background: rgba(0,0,0,.14); pointer-events: none;
}
.svc-sample-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 10.5px; color: #fff; padding: 4px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,.66));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none;
}

/* 视频预览层 */
.svc-video-mask {
  position: fixed; inset: 0; z-index: 900; background: rgba(0,0,0,.88);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.svc-video-mask.active { display: flex; animation: fadeIn .18s; }
.svc-video-inner { position: relative; width: 100%; max-width: var(--app-w); }
.svc-video-inner video { width: 100%; max-height: 78vh; border-radius: var(--radius-sm); background: #000; display: block; }
.svc-video-inner .sheet-close { top: -40px; right: 0; background: rgba(255,255,255,.16); color: #fff; }

@media (max-width: 380px) {
  .svc-samples { grid-template-columns: 1fr; }
}

/* ============================================================
   v48 · 卖家后台「我的服务包」
   ============================================================ */
.svc-dash-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.svc-dash-head .section-title { font-size: 17px; }
.svc-dash-card { display: flex; gap: 12px; padding: 12px; align-items: stretch; }
.svc-dash-cover {
  width: 96px; height: 76px; flex: none; border-radius: var(--radius-sm);
  background-size: cover; background-position: center; background-color: #eef0f3;
}
.svc-dash-cover-fb {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #fff3cf, #ffe1c9);
}
.svc-dash-cover-fb span { font-size: 11.5px; color: #a8813a; text-align: center; padding: 0 4px; }
.svc-dash-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svc-dash-title {
  font-size: 14.5px; font-weight: 700; line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-dash-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.svc-dash-price { font-size: 16px; font-weight: 800; color: var(--price); }
.svc-dash-sub { font-size: 11.5px; color: var(--text-3); margin-top: 5px; line-height: 1.5; }
.svc-dash-acts { display: flex; gap: 6px; margin-top: auto; padding-top: 9px; flex-wrap: wrap; }
.svc-dash-acts .btn { padding: 5px 10px; font-size: 12px; }
.svc-dash-acts .svc-del { color: var(--red); }

/* ---------- 编辑器：勾选行 / 封面 / 档位 / 样例 ---------- */
.svc-checkline { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.svc-checkline input { margin-top: 2px; flex: none; }

.svc-cover-pick { display: flex; gap: 12px; align-items: flex-start; }
.svc-cover-prev {
  width: 104px; height: 66px; flex: none; border-radius: var(--radius-sm);
  background: #f5f6f8; border: 1px dashed #d8dbe0;
  background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center;
}
.svc-cover-prev span { font-size: 11.5px; color: var(--text-3); }
.svc-cover-prev.has-img { border-style: solid; border-color: transparent; }

.svc-tier-edit, .svc-sample-edit {
  display: flex; align-items: center; gap: 7px; margin-bottom: 7px;
}
.svc-tier-edit .form-input { flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px; }
.svc-tier-edit .form-input[data-k="price"] { flex: 0 0 88px; }
.svc-tier-rm {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: none; background: #f5f6f8; color: var(--text-3);
  font-size: 12px; cursor: pointer; line-height: 1;
}
.svc-tier-rm:active { background: #ffeceb; color: var(--red); }

.svc-sample-edit .form-input { flex: 1; min-width: 0; padding: 8px 10px; font-size: 13px; }
.svc-sample-thumb {
  width: 46px; height: 34px; flex: none; border-radius: 6px; overflow: hidden;
  background: #eef0f3; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.svc-sample-thumb img, .svc-sample-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-sample-thumb i {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 12px; color: #fff; background: rgba(0,0,0,.25);
}

@media (max-width: 400px) {
  .svc-dash-cover { width: 78px; height: 64px; }
  .svc-dash-acts .btn { padding: 5px 8px; font-size: 11.5px; }
  .svc-cover-prev { width: 88px; height: 58px; }
}

/* 剪辑师主页 · 服务货架 */
.ed-shelf { display: flex; flex-direction: column; gap: 9px; }
.ed-shelf-item {
  display: flex; gap: 11px; align-items: center; text-decoration: none; color: inherit;
  background: var(--card); border-radius: var(--radius-sm); padding: 10px;
  box-shadow: var(--shadow-card); border: var(--border-card);
}
.ed-shelf-item:active { background: #fafbfc; }
.ed-shelf-cover {
  width: 78px; height: 62px; flex: none; border-radius: var(--radius-xs);
  background-size: cover; background-position: center; background-color: #eef0f3;
  display: flex; align-items: center; justify-content: center;
}
.ed-shelf-cover span { font-size: 11px; color: var(--text-3); text-align: center; padding: 0 4px; }
.ed-shelf-body { flex: 1; min-width: 0; }
.ed-shelf-title {
  font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ed-shelf-sub { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.ed-shelf-price { font-size: 15px; font-weight: 800; color: var(--price); margin-top: 5px; }

/* ============================================================
   v49 · 抢单：雇主侧方案卡 + 剪辑师侧案例选择
   ============================================================ */
.bid-row {
  background: #fbfcfd; border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 11px 12px; margin-bottom: 9px;
}
.bid-row:last-child { margin-bottom: 0; }
.bid-top { display: flex; align-items: center; gap: 8px; }
.bid-top .bid-name { flex: none; }
.bid-amount { margin-left: auto; font-size: 15px; font-weight: 800; color: var(--price); flex: none; }
.bid-msg { font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin-top: 7px; word-break: break-word; }
.bid-works { display: flex; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.bid-work {
  display: flex; flex-direction: column; gap: 3px; width: 74px;
  cursor: pointer; text-decoration: none;
}
.bid-work img, .bid-work i {
  width: 74px; height: 52px; border-radius: var(--radius-xs); object-fit: cover;
  background: #eef0f3; display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 18px;
}
.bid-work em {
  font-style: normal; font-size: 11px; color: var(--text-3); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.bid-acts { margin-top: 9px; }

/* 案例选择器（剪辑师抢单时用） */
.apply-works {
  display: flex; gap: 8px; flex-wrap: wrap;
  max-height: 190px; overflow-y: auto; padding: 2px;
}
.apply-work {
  position: relative; width: 82px; padding: 0; border: 2px solid transparent;
  border-radius: var(--radius-xs); background: #f7f8fa; cursor: pointer;
  display: flex; flex-direction: column; overflow: hidden; font-family: inherit;
}
.apply-work .aw-thumb {
  width: 100%; height: 58px; background: #eef0f3;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.apply-work .aw-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apply-work .aw-title {
  font-size: 10.5px; color: var(--text-2); padding: 3px 4px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.apply-work .aw-tag {
  position: absolute; top: 3px; left: 3px; font-size: 9.5px;
  background: rgba(0,0,0,.6); color: #fff; padding: 1px 4px; border-radius: 4px;
}
.apply-work.on { border-color: var(--brand-deep); background: var(--brand-soft); }
.apply-work.is-locked { opacity: .45; cursor: not-allowed; }
.apply-work.is-locked .aw-tag { background: rgba(0,0,0,.72); }
.apply-work:disabled { pointer-events: none; }
.apply-work.on::after {
  content: '✓'; position: absolute; top: 2px; right: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-deep); color: #fff; font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}

/* 需求页抢单卡：两行式（上排人+操作，下排案例通栏） */
.bid-card-v2 { display: block; padding: 11px 0; }
.bid-card-v2 .bid-row-top { display: flex; align-items: center; gap: 10px; }
.bid-card-v2 .bid-info { flex: 1; min-width: 0; }
.bid-card-v2 .bid-actions { flex: none; }
.bid-card-v2 .bid-works { margin-top: 9px; padding-left: 54px; }

/* 报价失效提示（雇主改过预算） */
.bid-stale {
  margin-top: 6px; font-size: 11.5px; color: #b35900;
  background: #fff4e5; border-radius: 6px; padding: 5px 8px; line-height: 1.5;
}

/* v50 冷启动扶持位：把后台的 new_shop_days 变成用户能看见的「新店」标记 */
.tag-new {
  font-style: normal; display: inline-block; font-size: 10px; line-height: 1;
  padding: 2px 4px; margin-left: 4px; border-radius: 4px;
  background: #FFF3C4; color: #8A6D00; font-weight: 700;
  vertical-align: 1px; white-space: nowrap;
}
.svc-seller-name .tag-new { margin-left: 2px; }
/* 贴封面角标：绝对定位，不参与底部文字行布局 */
.tag-new.tag-corner { position: absolute; left: 6px; top: 6px; margin-left: 0; z-index: 2; }
/* 在徽章行里作为首个元素时，改成右侧留白 */
.ec-row4 .tag-new { margin-left: 0; margin-right: 6px; align-self: center; }

/* v53 团队标：货架卡片上区分「团队在接单」与「个人在接单」 */
.tag-team {
  font-style: normal; display: inline-block; flex: none; font-size: 10px; line-height: 1;
  padding: 2px 4px; border-radius: 4px; white-space: nowrap;
  background: var(--brand-soft); color: var(--brand-deep); font-weight: 700;
}
/* 贴封面右上角：深色半透明，压在任何封面图上都读得清 */
.tag-team.tag-corner-r {
  position: absolute; right: 6px; top: 6px; z-index: 2;
  background: rgba(0, 0, 0, .58); color: #fff; font-weight: 600;
}
.svc-seller-name .tag-team { margin-left: 2px; vertical-align: 1px; }
/* 首页服务卡：已售/新上架挪到价格行右侧，把底部一行完整留给卖家（团队）名 */
.wf-price-svc { display: flex; align-items: baseline; gap: 2px; }
.wf-price-svc .wf-sold {
  margin-left: auto; font-size: 11px; font-weight: 400; color: var(--text-3); white-space: nowrap;
}
.wf-price-svc .unit { margin-left: 0; }
.wf-foot .wf-name-t {
  flex: 1 1 auto; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 详情页卖家条的团队副行 */
.svc-seller-team {
  font-size: 11.5px; color: var(--brand-deep); margin-top: 2px;
  display: flex; align-items: center; gap: 4px;
}

/* ==================== v50 工作室（团队入驻） ==================== */
.st-head { padding: 12px 14px; }
.st-head-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; padding: 5px 0;
}
.st-head-row b { font-size: 13.5px; }
.st-head-ops {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.st-list { padding: 2px 14px; }
.st-row {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.st-row:last-child { border-bottom: 0; }
.st-row-main { flex: 1; min-width: 0; }
.st-row-name {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.st-row-sub {
  font-size: 11.5px; color: var(--text-3); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.st-row-act { display: flex; gap: 6px; flex: none; }
.st-row-money {
  font-size: 14px; font-weight: 700; color: var(--brand-deep); flex: none;
}
@media (max-width: 380px) {
  .st-row { flex-wrap: wrap; }
  .st-row-act { width: 100%; justify-content: flex-end; }
  .st-row-sub { white-space: normal; }
}

/* v54 成员账号绑定 */
.st-bind { margin-top: 4px; white-space: normal; line-height: 1.55; }
.st-bind.muted { color: var(--text-3); opacity: .85; }
.st-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 1px; font-weight: 700; font-size: 11.5px;
  background: var(--brand-soft); color: var(--brand-deep);
  padding: 1px 6px; border-radius: 5px;
}
/* 邀请码弹层里的超大码，方便对屏手输 */
.st-invite-big {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px; font-weight: 800; letter-spacing: 5px; text-align: center;
  color: var(--brand-deep); background: var(--brand-soft);
  border-radius: 10px; padding: 16px 10px; margin: 4px 0 10px;
  user-select: all;
}

/* ==================== v55 工作室对外主页 ==================== */
.stt-mems { padding: 2px 14px; }
.stt-mem {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 0; border-bottom: 1px solid var(--line-soft);
  text-decoration: none; color: inherit;
}
.stt-mem:last-child { border-bottom: 0; }
a.stt-mem:active { opacity: .75; }
.stt-mem-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.stt-mem-fb {
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  background: var(--brand-soft); color: var(--brand-deep);
}
.stt-mem-body { flex: 1; min-width: 0; }
.stt-mem-name {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.stt-mem-sub {
  font-size: 11.5px; color: var(--text-3); margin-top: 3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.stt-mem-go { font-size: 12px; color: var(--text-3); flex: none; }

/* ==================== v56 工作室列表（studios.html） ==================== */
.stl-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; margin-bottom: 10px;
  background: var(--card); border-radius: var(--radius-sm);
  text-decoration: none; color: inherit;
}
.stl-item:active { opacity: .78; }
.stl-cover {
  width: 66px; height: 66px; border-radius: 12px; flex: none;
  background: var(--brand-soft) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--brand-deep);
}
.stl-body { flex: 1; min-width: 0; }
.stl-name {
  font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.35;
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.stl-meta { font-size: 11.5px; color: var(--text-3); margin-top: 4px; }
.stl-intro {
  font-size: 12px; color: var(--text-2); margin-top: 5px; line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.stl-foot {
  display: flex; align-items: center; gap: 10px;
  font-size: 11.5px; color: var(--text-3); margin-top: 6px;
}
.stl-foot .stl-go { margin-left: auto; color: var(--brand-deep); font-weight: 600; }

/* ==================== v58 个人主页团队条 / 大厅团队标 ==================== */
.eh-studio {
  display: flex; align-items: center; gap: 7px;
  margin-top: 10px; padding: 9px 12px;
  background: var(--brand-soft); border-radius: 10px;
  cursor: pointer;
}
.eh-studio:active { opacity: .8; }
.eh-studio-name { font-size: 13px; font-weight: 700; color: var(--brand-deep); flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eh-studio-sub { flex: 1; min-width: 0; font-size: 11.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.eh-studio-go { font-size: 12px; color: var(--brand-deep); font-weight: 600; flex: none; }
.ec-row4 .ec-team { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }

/* ===== v69 商品主图轮播（替换原来的单张封面） ===== */
.svc-hero-gal { padding: 0; overflow: hidden; }
.svc-gallery { position: relative; width: 100%; }
.svc-gal-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.svc-gal-track::-webkit-scrollbar { display: none; }
.svc-gal-item {
  flex: 0 0 100%; height: 232px; scroll-snap-align: center;
  position: relative; background: #f4f5f7; cursor: pointer;
}
.svc-gal-item img, .svc-gal-item video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.svc-gal-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,.45));
}
.svc-gal-dots {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 34px;
  display: flex; gap: 5px; align-items: center; pointer-events: none;
  padding: 4px 8px; border-radius: 12px; background: rgba(0,0,0,.28);
  backdrop-filter: blur(2px);
}
.svc-gal-dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.55); transition: all .18s;
}
.svc-gal-dots i.on { width: 14px; border-radius: 3px; background: #fff; }
.svc-gal-count {
  position: absolute; top: 10px; right: 12px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 11px;
  padding: 2px 8px; border-radius: 10px; line-height: 16px;
}

/* ===== v69 用户中心重构 ===== */
.uc-hero {
  background: var(--brand-grad); border-radius: 20px; padding: 16px 16px 14px;
  box-shadow: var(--shadow-brand); position: relative; overflow: hidden;
}
.uc-top { display: flex; align-items: center; gap: 12px; }
.uc-id { flex: 1; min-width: 0; }
.uc-name { font-size: 17px; font-weight: 800; color: #3a2c00; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.uc-name .badge { background: rgba(255,255,255,.75); color: #5a4400; border-color: transparent; }
.uc-sub { font-size: 12px; color: rgba(58,44,0,.62); margin-top: 4px; }
.uc-set {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.55); color: #5a4400; flex: none;
}
.uc-avail {
  display: flex; align-items: center; gap: 8px; margin-top: 12px;
  font-size: 12px; color: rgba(58,44,0,.7);
}
.uc-avail .badge { background: rgba(255,255,255,.85); border-color: transparent; }

.uc-quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  background: #fff; border-radius: 16px; padding: 14px 6px; margin-top: 12px;
  box-shadow: var(--shadow-card);
}
.uc-q { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; }
.uc-q-ico { color: var(--text-3); }
.uc-q-n { font-size: 18px; font-weight: 800; color: var(--text); line-height: 1.1; }
.uc-q-n.hot { color: var(--price); }
.uc-q-l { font-size: 11.5px; color: var(--text-3); }

.uc-primary { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.uc-p {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-card);
  color: var(--text); text-decoration: none;
}
.uc-p-ico {
  width: 38px; height: 38px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.uc-p-t { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 700; display: flex; flex-direction: column; gap: 2px; }
.uc-p-t em { font-style: normal; font-size: 11.5px; font-weight: 400; color: var(--text-3); }

.uc-more { margin-top: 16px; }
.uc-more-h { font-size: 12.5px; color: var(--text-3); margin: 0 4px 8px; }

/* ===== v69 自定义下单字段（编辑端行 + 订单展示行） ===== */
.svc-field-edit {
  border: 1px solid var(--line); border-radius: 10px;
  padding: 8px; margin-bottom: 8px; background: #fafbfc;
}
.sfe-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.sfe-row:last-child { margin-bottom: 0; }
.sfe-label { flex: 1; min-width: 0; }
.sfe-type { width: 108px; flex: none; }
.sfe-hint { flex: 1; min-width: 0; font-size: 12px; }
.sfe-req { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 4px; flex: none; }
.sfe-opts { font-size: 12px; }
.of-row { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13px; }
.of-row:last-child { border-bottom: none; }
.of-k { width: 96px; flex: none; color: var(--text-3); }
.of-v { flex: 1; min-width: 0; color: var(--text); word-break: break-all; }
.buy-img-wrap { margin-top: 4px; }
