* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --phone-width: 360px;
  --phone-height: 812px;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f5f5; color: #333; }
.hidden { display: none !important; }

.phone {
  width: var(--phone-width); min-height: var(--phone-height); max-width: 100%; margin: 0 auto;
  background: #fff; position: relative; display: flex; flex-direction: column;
  box-shadow: 0 0 24px rgba(0,0,0,.08);
}
.status-bar { height: 44px; background: #fff; flex-shrink: 0; }
.page-body { flex: 1; overflow-y: auto; padding-bottom: 56px; }

/* 宿主 Tab */
.host-tabbar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 56px;
  display: flex; background: #fff; border-top: 1px solid #eee; z-index: 10;
}
.host-tabbar a, .host-tabbar span {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; color: #999; text-decoration: none; cursor: pointer;
}
.host-tabbar .active { color: #07c160; }
.host-tabbar .host-tab-stub { color: #ccc; cursor: default; opacity: .75; }
.host-tabbar .icon { font-size: 20px; margin-bottom: 2px; }

/* 江湖分包 Tab 底栏（COMP-001）— 四 Tab 页固定底部导航 */
.phone.jianghu-shell {
  display: flex; flex-direction: column;
  height: var(--phone-height); min-height: var(--phone-height); max-height: var(--phone-height);
  overflow: hidden;
}
.phone.jianghu-shell .page-body {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.jh-tabbar {
  flex-shrink: 0;
  position: relative;
  height: 56px;
  min-height: 56px;
  display: flex;
  background: #2c1810;
  border-top: 1px solid #5c4030;
  box-shadow: 0 -2px 12px rgba(0,0,0,.25);
  z-index: 20;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.jh-tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px; color: #a08060; text-decoration: none;
  padding: 6px 2px 4px; transition: color .15s;
  border-top: 2px solid transparent;
}
.jh-tabbar a.active {
  color: #e8c872;
  border-top-color: #e8c872;
  background: rgba(232,200,114,.08);
}
.jh-tabbar .icon { font-size: 20px; margin-bottom: 3px; line-height: 1; }
.jh-tabbar .tab-label { line-height: 1.2; text-align: center; white-space: nowrap; }

/* 旧版 absolute 定位（宿主页仍可用） */
.phone:not(.jianghu-shell) .jh-tabbar {
  position: absolute; bottom: 0; left: 0; right: 0;
}

/* 江湖分包：沉浸式，无顶栏 */
.phone.jianghu-shell .status-bar { display: none; }
.phone.jianghu-shell:has(.jh-float-back) .page-body:not(.hero-top) { padding-top: 52px; }

.jh-float-back {
  position: absolute; top: 12px; left: 12px; z-index: 30;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 18px;
  backdrop-filter: blur(4px);
}
.jh-float-back:active { background: rgba(0,0,0,.6); }

.jh-header {
  display: flex; align-items: center; padding: 12px 16px;
  background: linear-gradient(135deg, #3d2317, #2c1810); color: #f5e6c8;
}
.jh-header .back { font-size: 20px; margin-right: 12px; cursor: pointer; text-decoration: none; color: inherit; }
.jh-header h1 { font-size: 17px; font-weight: 600; }

.hero {
  background: linear-gradient(180deg, #3d2317 0%, #5c3828 100%);
  color: #f5e6c8; padding: 24px 20px 20px; text-align: center;
}
.hero h2 { font-size: 22px; margin-bottom: 8px; letter-spacing: 2px; }
.hero p { font-size: 13px; line-height: 1.6; opacity: .9; }

.slogan-wrap {
  position: relative;
  line-height: 0;
}
.slogan-banner {
  width: 100%; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 62%, transparent 100%);
}
.slogan-rule-btn,
.slogan-float-btn {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 8px 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(232,200,114,.65);
  color: #5c3828;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(44,24,16,.18);
  white-space: nowrap;
  line-height: 1.4;
  cursor: pointer;
  border-style: solid;
  font-family: inherit;
}
.slogan-rule-btn:active,
.slogan-float-btn:active { background: rgba(255,255,255,.95); transform: translateX(-50%) scale(.98); }

.slogan-float-btns {
  position: absolute;
  left: 12px; right: 12px; bottom: 14px;
  z-index: 2;
  display: flex; gap: 10px; justify-content: center;
}
.slogan-float-btns .slogan-float-btn {
  position: static;
  left: auto; bottom: auto;
  transform: none;
  flex: 1;
  max-width: 150px;
  padding: 8px 10px;
  font-size: 12px;
}
.slogan-float-btns .slogan-float-btn:active {
  transform: scale(.98);
}

/* COMP-015 已公开的悦己照 */
.my-yueji-section { padding: 8px 12px 20px; }
.my-yueji-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin: 0 4px 12px;
}
.my-yueji-title {
  margin: 0; font-size: 16px; font-weight: 600;
  color: #2c1810; line-height: 1.4; flex: 1; min-width: 0;
}
.my-yueji-album-link {
  flex-shrink: 0; border: none; background: none; padding: 4px 0;
  font-size: 13px; font-weight: 500; color: #8b6914; cursor: pointer;
  font-family: inherit; line-height: 1.4;
}
.my-yueji-album-link:active { opacity: .75; }
.my-yueji-card .feed-waterfall-meta { padding: 8px 8px 10px; }
.my-yueji-card-intro {
  margin: 0;
  font-size: 12px; line-height: 1.45; color: #5c3828;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; word-break: break-word;
}
.jianghu-modal-scroll .rate-compare { margin: 0; }
.jianghu-modal-scroll .rate-compare-table { box-shadow: none; }

/* PAGE-MP-009 晒美照 */
.share-photo-page {
  min-height: 100%;
  display: flex; flex-direction: column;
  background: #f7f3ef;
  padding: 52px 16px 24px;
  box-sizing: border-box;
}
.share-photo-demo-bar {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 12px; padding: 8px;
  background: #fff; border-radius: 8px;
  font-size: 10px;
}
.share-photo-demo-bar button {
  padding: 4px 8px; border: 1px solid #ddd; border-radius: 12px;
  background: #fafafa; color: #666; cursor: pointer; font-size: 10px;
}
.share-photo-demo-bar button.active {
  border-color: #c9a227; background: #fff8e6; color: #5c3828; font-weight: 600;
}
.share-photo-main { flex: 1; display: flex; flex-direction: column; }
.share-photo-frame {
  margin: 12px 0 14px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(44,24,16,.08);
  line-height: 0;
}
.share-photo-img {
  width: 100%; height: auto; display: block;
  border-radius: 8px; object-fit: contain;
}
.share-photo-img.hidden { display: none; }
.share-photo-placeholder {
  min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; border-radius: 8px;
  background: linear-gradient(160deg, #eee 0%, #e4e4e4 100%);
  color: #999; font-size: 13px; line-height: 1.4;
}
.share-photo-placeholder.hidden { display: none; }
.share-photo-placeholder-icon { font-size: 40px; opacity: .5; }
.share-photo-desc-owner { margin: 0 0 12px; }
.share-photo-desc-owner.hidden { display: none; }
.share-photo-desc-input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px; border: 1px solid #e8dfd4; border-radius: 10px;
  background: #fff; font-size: 14px; line-height: 1.55; color: #5c3828;
  resize: vertical; min-height: 84px; font-family: inherit;
}
.share-photo-desc-input:focus {
  outline: none; border-color: #c9a227;
}
.share-photo-desc-counter {
  margin: 6px 0 0; text-align: right;
  font-size: 12px; color: #aaa;
}
.share-photo-desc-visitor {
  margin: 0 0 14px; padding: 12px 14px;
  font-size: 14px; line-height: 1.6; color: #5c3828;
  background: #fff; border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.share-photo-desc-visitor.hidden { display: none; }
.share-photo-meta { margin: 0 0 16px; }
.share-photo-meta.hidden { display: none; }
.share-photo-private-hint {
  margin: 0 0 10px; padding: 10px 12px;
  font-size: 13px; line-height: 1.55; color: #888;
  text-align: center; background: #fff; border-radius: 8px;
}
.share-photo-private-hint.hidden { display: none; }
.share-photo-invite {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 14px; border: none; border-radius: 10px;
  background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.05);
  cursor: pointer; font-family: inherit;
}
.share-photo-invite:active { background: #faf6f1; }
.share-photo-invite-label { font-size: 13px; color: #888; }
.share-photo-invite-code { font-size: 15px; font-weight: 600; color: #5c3828; letter-spacing: .5px; }
.share-photo-invite-action { font-size: 12px; color: #8b6914; }
.share-photo-owner-panel { margin-bottom: 16px; }
.share-photo-public-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; background: #fff; border-radius: 10px;
  font-size: 15px; color: #2c1810; box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.share-photo-public-label { flex-shrink: 0; }
.share-photo-public-actions {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.share-photo-switch {
  position: relative; display: inline-flex; align-items: center;
  flex-shrink: 0; cursor: pointer;
}
.share-photo-switch-input {
  position: absolute; opacity: 0; width: 0; height: 0; margin: 0;
}
.share-photo-switch-ui {
  width: 44px; height: 24px; border-radius: 12px;
  background: #d8d0c8; position: relative;
  transition: background .2s ease;
}
.share-photo-switch-ui::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.share-photo-switch-input:checked + .share-photo-switch-ui { background: #c9a227; }
.share-photo-switch-input:checked + .share-photo-switch-ui::after { transform: translateX(20px); }
.share-photo-switch-input:disabled + .share-photo-switch-ui { opacity: .45; cursor: not-allowed; }
.share-photo-share-btn {
  padding: 6px 12px; border: none; border-radius: 16px;
  background: linear-gradient(135deg, #8b6914, #c9a227);
  color: #fff; font-size: 13px; font-weight: 500;
  cursor: pointer; font-family: inherit; line-height: 1.2;
}
.share-photo-share-btn:disabled {
  background: #e8e0d8; color: #aaa; cursor: not-allowed;
}
.share-photo-share-btn:not(:disabled):active { opacity: .85; }
.share-photo-owner-panel.hidden { display: none; }
.share-photo-footer {
  display: flex; gap: 12px; padding-top: 8px; flex-shrink: 0;
}
.share-photo-footer.hidden { display: none; }
.share-photo-footer--single { justify-content: center; }
.share-photo-footer--dual .share-photo-btn { flex: 1; }
.share-photo-btn {
  padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: inherit; border: none;
}
.share-photo-btn-cancel {
  background: #fff; border: 1px solid #d4c4b0; color: #5c4030;
}
.share-photo-btn-save, .share-photo-btn-register, .share-photo-btn-chujiang {
  background: linear-gradient(135deg, #8b6914, #c9a227); color: #fff;
}
.share-photo-footer--single .share-photo-btn-register {
  width: 100%; min-width: 0; font-size: 14px; line-height: 1.4; padding: 12px 10px;
}
.share-photo-footer--single .share-photo-btn-chujiang {
  width: 100%; min-width: 0; font-size: 14px; line-height: 1.4; padding: 12px 10px;
}

.role-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  padding: 16px; background: #f7f3ef;
}

/* COMP-008 四大身份轮播选择器 */
.role-carousel { padding: 16px 12px; background: #f7f3ef; }
.role-tabs {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 6px; padding: 0 4px;
}
.role-tab {
  flex: 1; border: none; background: transparent; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center;
}
.role-avatar-wrap {
  position: relative; display: inline-block; line-height: 0;
}
.role-tab .role-avatar {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover;
  object-position: center top; border: 2px solid transparent;
  opacity: .55; transform: scale(.92);
  transition: opacity .25s, transform .25s, border-color .25s, box-shadow .25s;
  background: #eee;
}
.role-tab.active .role-avatar {
  opacity: 1; transform: scale(1.05);
  border-color: #e8c872;
  box-shadow: 0 4px 12px rgba(232,200,114,.35);
}
.role-badge {
  position: absolute; right: -2px; bottom: -2px;
  min-width: 20px; height: 20px; padding: 0 4px;
  border-radius: 10px; border: 2px solid #fff;
  background: #5c3828; color: #f5e6c8;
  font-size: 11px; font-weight: 700; line-height: 16px;
  text-align: center; box-shadow: 0 1px 4px rgba(44,24,16,.25);
  pointer-events: none;
}
.role-tab.active .role-badge {
  background: #e8c872; color: #2c1810; border-color: #fff;
}
.role-tab .role-name {
  font-size: 10px; color: #8b7355; margin-top: 6px; white-space: nowrap;
  transition: color .25s, font-weight .25s;
}
.role-tab.active .role-name { color: #2c1810; font-weight: 600; }
.role-tab.is-soon { cursor: default; }
.role-detail {
  background: #fff; border-radius: 12px; padding: 16px 14px;
  margin-top: 14px; text-align: center;
  box-shadow: 0 2px 8px rgba(44,24,16,.08);
  min-height: 88px;
  transition: opacity .2s;
}
.role-detail.is-fading { opacity: 0; }
.role-detail p { font-size: 13px; color: #666; line-height: 1.55; margin: 0; }
.role-detail .role-action {
  display: inline-block; margin-top: 10px; font-size: 12px; color: #8b4513;
  text-decoration: none; border: none; background: none; border-bottom: 1px solid #e8c872;
  cursor: pointer; padding: 0; font-family: inherit;
}
.role-detail .role-action:active { color: #5c3828; }

/* 身份说明弹窗 */
.role-modal-box {
  position: relative; width: 300px; max-height: 80%; overflow-y: auto;
  background: #fff; border-radius: 16px; padding: 24px 20px 20px;
  text-align: center; color: #333;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.role-modal-box .close {
  position: absolute; top: 10px; right: 12px; width: 28px; height: 28px;
  border-radius: 50%; background: #f0f0f0; color: #666;
  border: none; font-size: 18px; cursor: pointer; line-height: 28px;
}
.role-modal-head { display: flex; flex-direction: column; align-items: center; margin-bottom: 12px; }
.role-modal-head .role-avatar-wrap { margin-bottom: 10px; }
.role-modal-head .role-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  border: 2px solid #e8c872; opacity: 1; transform: none;
}
.role-modal-head h3 { font-size: 18px; font-weight: 600; color: #2c1810; margin-bottom: 6px; }
.role-modal-head .role-badge { position: static; display: inline-block; margin: 0; }
.role-modal-body { font-size: 14px; color: #555; line-height: 1.75; text-align: left; }
.role-modal-body p { margin-bottom: 10px; }
.role-modal-body p:last-child { margin-bottom: 0; }

.role-modal-body p:last-child { margin-bottom: 0; }

.role-card {
  background: #fff; border-radius: 12px; padding: 14px 10px 12px;
  text-align: center; box-shadow: 0 2px 8px rgba(44,24,16,.08);
  text-decoration: none; color: inherit; display: block;
}
.role-card:active { transform: scale(.98); }
.role-card .role-avatar {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  object-position: center top; margin: 0 auto 10px;
  border: 2px solid #e8c872; background: #eee;
}
.role-card h4 { font-size: 15px; font-weight: 600; color: #2c1810; margin-bottom: 6px; }
.role-card .role-tag { font-size: 11px; color: #8b4513; margin-bottom: 6px; font-weight: 500; }
.role-card p { font-size: 11px; color: #666; line-height: 1.45; padding: 0 4px; }
.role-card.is-soon { opacity: .72; }

.bond-stats {
  display: flex; justify-content: space-around; text-align: center; font-size: 12px; color: #666;
}
.bond-stats .num { display: block; font-size: 20px; font-weight: 700; color: #2c1810; margin-bottom: 4px; }

.bond-search-wrap { padding: 0 16px 10px; }
.bond-search-input {
  width: 100%; padding: 10px 12px 10px 36px; font-size: 14px;
  border: 1px solid #e8e0d8; border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 12px center;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.bond-search-input::placeholder { color: #bbb; }
.bond-search-input:focus { outline: none; border-color: #c9a227; }

.bond-search-empty {
  text-align: center; padding: 24px 16px; font-size: 13px; color: #999;
  background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgba(44,24,16,.06);
}
.bond-search-empty.hidden { display: none; }

.bond-list { padding: 0 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.bond-photographer-card {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  background: #fff; border-radius: 12px; padding: 14px 12px 14px 14px;
  box-shadow: 0 2px 8px rgba(44,24,16,.06);
  cursor: pointer;
}
.bond-photographer-card.is-bonded { padding-top: 16px; }
.bond-status-badge {
  position: absolute; top: 10px; right: 10px; z-index: 1;
  font-size: 10px; font-weight: 600; line-height: 1.2;
  padding: 3px 8px; border-radius: 10px;
  background: #fff8e6; color: #8b6914; border: 1px solid #e8c872;
  pointer-events: none;
}
.bond-photographer-card:not(.is-bonded) .bond-avatar { border-color: #e8e4df; }
.bond-card-main { display: flex; align-items: center; gap: 12px; }
.bond-photographer-card:active { opacity: .92; transform: scale(.995); }
.bond-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  object-position: center top; flex-shrink: 0;
  border: 2px solid #e8c872; background: #eee;
}
.bond-info { flex: 1; min-width: 0; }
.bond-info strong { display: block; font-size: 15px; color: #2c1810; margin-bottom: 4px; }
.bond-info small { font-size: 12px; color: #999; }
.bond-arrow {
  flex-shrink: 0; font-size: 22px; color: #c4a882; line-height: 1; padding-left: 4px;
}

.bond-chasers-row {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px; padding-top: 10px; border-top: 1px solid #f5f0eb;
}
.bond-chasers-row.clickable {
  cursor: pointer; border-radius: 0 0 10px 10px; margin: 10px -16px -16px; padding: 10px 16px 12px;
}
.bond-chasers-row.clickable:active { background: #faf7f3; }
.bond-chasers-row.clickable .bond-chasers-more { margin-left: auto; font-size: 11px; color: #c4a882; }
.bond-chasers-label { font-size: 12px; color: #999; flex-shrink: 0; }
.bond-chasers-avatars { display: flex; align-items: center; padding-left: 2px; }
.chaser-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; background: #eee; box-shadow: 0 0 0 1px #f0ebe6;
  margin-left: -8px; position: relative;
}
.chaser-avatar:first-child { margin-left: 0; z-index: 3; }
.chaser-avatar:nth-child(2) { z-index: 2; }
.chaser-avatar:nth-child(3) { z-index: 1; }

.card { background: #fff; border-radius: 12px; margin: 12px 16px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.section-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; color: #333; }

.roles { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 12px; }
.role-item {
  flex-shrink: 0; width: 88px; padding: 12px 8px; background: rgba(255,255,255,.12);
  border-radius: 10px; text-align: center; color: #f5e6c8; font-size: 12px;
}
.role-item .r-icon { font-size: 24px; margin-bottom: 6px; }

.feed-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.feed-item:last-child { border: none; }
.feed-thumb { width: 80px; height: 80px; border-radius: 8px; background: linear-gradient(135deg, #ddd, #bbb); flex-shrink: 0; }

/* COMP-009 双列瀑布流 */
/* COMP-014 江湖同袍行动区 */
.tongpao-actions { margin: 4px 12px 16px; padding: 8px 0 0; background: transparent; }
.tongpao-actions-title { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: #2c1810; text-align: center; line-height: 1.45; letter-spacing: .5px; }
.tongpao-actions-btns { display: flex; gap: 12px; }
.tongpao-btn {
  flex: 1; padding: 16px 10px; border: none; border-radius: 10px;
  font-size: 17px; font-weight: 600; cursor: pointer; letter-spacing: 1px;
}
.tongpao-btn-photo { background: linear-gradient(135deg, #5c7a9e, #3d5a80); color: #fff; }
.tongpao-btn-hero { background: linear-gradient(135deg, #8b6914, #c9a227); color: #fff; }
.tongpao-btn:active { opacity: .88; transform: scale(.98); }

.feed-section { padding: 0 12px 12px; }
.feed-waterfall { column-count: 2; column-gap: 8px; }
.feed-waterfall-item {
  break-inside: avoid; margin-bottom: 8px; background: #fff;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 2px 6px rgba(44,24,16,.06); cursor: pointer;
}
.feed-waterfall-item:active { opacity: .92; }
.feed-waterfall-thumb {
  position: relative; width: 100%; height: 0;
  background: #ddd center/cover no-repeat;
}
.feed-type-tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 700; line-height: 1;
  padding: 4px 6px; border-radius: 4px;
}
.feed-type-tag.is-photo { background: rgba(139,69,19,.9); color: #fff; }
.feed-type-tag.is-guest { background: rgba(3,105,161,.9); color: #fff; }
.feed-waterfall-meta { padding: 6px 8px 8px; font-size: 11px; color: #666; }
.feed-author { font-weight: 500; color: #444; }

.feed-info h4 { font-size: 14px; margin-bottom: 4px; }
.feed-info p { font-size: 12px; color: #999; }

.btn-primary {
  display: block; width: calc(100% - 32px); margin: 16px auto; padding: 14px;
  background: linear-gradient(135deg, #8b4513, #5c3828); color: #f5e6c8;
  border: none; border-radius: 24px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; text-decoration: none;
}
.btn-outline {
  padding: 10px 20px; border: 1px solid #8b4513; color: #8b4513;
  border-radius: 20px; background: #fff; font-size: 14px; cursor: pointer;
}

/* 浮层海报 */
.overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.55); z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.overlay.hidden { display: none; }
.poster-box {
  position: relative; width: 280px; background: linear-gradient(160deg, #4a2820, #2c1810);
  border-radius: 16px; padding: 24px 20px; text-align: center; color: #f5e6c8;
  box-shadow: 0 8px 32px rgba(0,0,0,.3); cursor: pointer;
}
.poster-box .close {
  position: absolute; top: 8px; right: 12px; width: 28px; height: 28px;
  border-radius: 50%; background: rgba(255,255,255,.2); color: #fff;
  border: none; font-size: 18px; cursor: pointer; line-height: 28px;
}
.poster-box h3 { font-size: 20px; margin: 12px 0 8px; }
.poster-box p { font-size: 13px; opacity: .85; line-height: 1.5; }
.poster-box .cta { margin-top: 16px; padding: 10px; background: #e8c872; color: #2c1810; border-radius: 20px; font-size: 14px; font-weight: 600; }

/* 我的页 */
.profile-header { padding: 24px 16px; background: #fff; display: flex; align-items: center; gap: 16px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #07c160, #06ae56); }
.menu-list { background: #fff; margin-top: 12px; }
.menu-item { padding: 14px 16px; border-bottom: 1px solid #f5f5f5; font-size: 15px; color: #333; }

/* 分润双卡 */
.rate-cards { display: flex; gap: 10px; }
.rate-card { flex: 1; padding: 14px; border-radius: 10px; font-size: 12px; }
.rate-card.platform { background: #fff8e6; border: 1px solid #e8c872; }
.rate-card.grass { background: #f0faf0; border: 1px solid #07c160; }
.rate-card h4 { font-size: 14px; margin-bottom: 6px; }
.rate-card .tag { font-size: 10px; color: #999; margin-top: 6px; }

.seg { display: flex; margin: 12px 16px; background: #eee; border-radius: 8px; padding: 3px; }
.seg--quad button { font-size: 12px; padding: 8px 4px; }
.seg button { flex: 1; padding: 8px; border: none; background: transparent; border-radius: 6px; font-size: 13px; cursor: pointer; }
.seg button.active { background: #fff; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.seg.hidden { display: none; }
.card.hidden { display: none; }

.wallet-top {
  position: relative;
  background: linear-gradient(135deg, #3d2317, #5c3828); color: #f5e6c8;
  padding: 24px 12px 20px; margin: 12px 16px; border-radius: 12px;
}
.wallet-help-btn {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.5);
}
.wallet-withdraw-block {
  position: relative;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wallet-withdraw-help {
  position: absolute; top: 8px; right: 0;
  background: rgba(0,0,0,.5);
  z-index: 1;
}
.wallet-stat-row {
  display: flex; align-items: stretch;
}
.wallet-stat-row + .wallet-stat-row {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wallet-withdraw-block .wallet-stat-row {
  margin-top: 0; padding-top: 0; border-top: none;
  padding-right: 22px;
}
.wallet-stat-row .wallet-stat-item {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4px 2px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.wallet-stat-row .wallet-stat-item:last-child { border-right: none; }
.wallet-stat-row--2 .wallet-stat-item { flex: 1; }
.wallet-stat-row--3 .wallet-stat-item { flex: 1; }
.wallet-stat-grid { display: grid; gap: 10px 12px; }
.wallet-stat-grid--2 { grid-template-columns: 1fr 1fr; margin-bottom: 4px; }
.wallet-stat-grid--3 { grid-template-columns: 1fr 1fr 1fr; }
.wallet-stat-item { min-width: 0; }
.wallet-stat-label { font-size: 11px; opacity: .78; margin-bottom: 4px; line-height: 1.25; }
.wallet-stat-value { font-size: 14px; font-weight: 600; line-height: 1.25; }
.wallet-stat-value--emph { font-size: 15px; font-weight: 700; }
.wallet-stat-section-title { font-size: 12px; opacity: .78; }
.wallet-withdraw-section {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wallet-withdraw-row {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.wallet-withdraw-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.wallet-withdraw-rules-btn {
  border: none; background: none; padding: 0;
  font-size: 12px; color: rgba(245,230,200,.9);
  cursor: pointer; font-family: inherit; line-height: 1.4;
  text-decoration: underline; text-underline-offset: 2px;
}
.wallet-withdraw-rules-btn:active { opacity: .75; }
.yuanbao-amount--withdraw { font-size: 24px; font-weight: 700; margin-top: 4px; }
.field-help-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px; padding: 0; border: none; border-radius: 50%;
  background: #1a1a1a; color: #fff; font-size: 10px; font-weight: 700;
  line-height: 1; cursor: pointer; vertical-align: middle; margin-left: 4px;
  font-family: inherit; flex-shrink: 0;
}
.wallet-top .field-help-btn { background: rgba(0,0,0,.5); }
.wallet-list-head {
  margin: 0; font-size: 14px; font-weight: 600; color: #2c1810;
}
.wallet-detail-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 8px 16px 0; padding: 0 4px; gap: 12px;
}
.wallet-mode-toggle {
  display: flex; flex-shrink: 0;
  background: #e8e4df; border-radius: 8px; padding: 2px;
}
.wallet-mode-toggle button {
  padding: 6px 14px; border: none; background: transparent;
  border-radius: 6px; font-size: 13px; cursor: pointer; font-family: inherit;
  color: #666; line-height: 1.3;
}
.wallet-mode-toggle button.active {
  background: #fff; color: #2c1810; font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.yuanbao-amount--withdraw-out { color: #8b6914; font-weight: 600; }
.wallet-help-body { padding: 0 4px 8px; }
.wallet-help-item { margin-bottom: 16px; }
.wallet-help-item h4 { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: #2c1810; }
.wallet-help-item p { margin: 0; font-size: 13px; line-height: 1.65; color: #666; }
.list-row-main strong { display: block; font-size: 14px; color: #2c1810; margin-bottom: 2px; }
.list-row-main small { font-size: 11px; color: #999; }
.yuanbao-amount--gain { color: #5c3828; font-weight: 600; }
.wallet-top .amount { font-size: 32px; font-weight: 700; margin: 8px 0; }
.wallet-income-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}
.wallet-income-item { min-width: 0; }
.wallet-income-item .wallet-top-label { margin-bottom: 6px; }
.yuanbao-amount--md { font-size: 20px; font-weight: 700; }
.yuanbao-amount--md .yuanbao-icon { width: 16px; height: 10px; }
.yuanbao-amount--md .yuanbao-unit { font-size: 13px; }
.yuanbao-icon {
  display: inline-block; width: 14px; height: 9px; margin-right: 3px;
  background: linear-gradient(180deg, #ffe9a0 0%, #e8b923 55%, #c9a227 100%);
  border-radius: 50% 50% 42% 42% / 68% 68% 32% 32%;
  box-shadow: 0 1px 2px rgba(0,0,0,.2); vertical-align: middle;
  position: relative; top: -1px;
}
.yuanbao-amount { display: inline-flex; align-items: center; font-weight: 600; white-space: nowrap; }
.yuanbao-amount--lg { display: flex; align-items: center; }
.yuanbao-amount--lg .yuanbao-icon { width: 18px; height: 11px; margin-right: 6px; }
.yuanbao-amount--lg .yuanbao-unit { font-size: 18px; font-weight: 500; margin-left: 4px; opacity: .9; }
.yuanbao-unit { font-size: 12px; font-weight: 500; margin-left: 2px; }
.yuanbao-amount--gain { font-weight: 600; }
.yuanbao-amount--gain.grass { color: #07c160; }
.yuanbao-amount--gain.platform { color: #8b6914; }
.wallet-top .yuanbao-unit { color: #f5e6c8; }

/* COMP-016 提现规则占位 */
.withdraw-rules-placeholder {
  margin: 24px 8px 32px; text-align: center;
  font-size: 14px; line-height: 1.75; color: #888;
}

.list-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.list-row .tag-p { background: #fff8e6; color: #8b6914; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.list-row .tag-g { background: #f0faf0; color: #07a050; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.list-row .tag-settle { font-size: 10px; padding: 2px 6px; border-radius: 4px; margin-left: 2px; }
.list-row .tag-settle--credited { background: #eef6ff; color: #3a6ea5; }
.list-row .tag-settle--pending { background: #f5f0eb; color: #9a7b4f; }
.list-row .tag-settle--closed { background: #f0f0f0; color: #999; }
.list-row--closed { opacity: .72; }
.yuanbao-amount--closed { color: #aaa; font-weight: 500; }

.home-banner { height: 160px; margin: 12px 16px; border-radius: 12px; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; }
.home-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; }
.grid-item { text-align: center; font-size: 12px; color: #666; }
.grid-item .gi { width: 48px; height: 48px; margin: 0 auto 6px; border-radius: 12px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; font-size: 22px; }

.link-text { color: #8b4513; font-size: 13px; text-decoration: none; display: inline-block; margin: 8px 16px; }

.badge { display: inline-block; background: #e8c872; color: #2c1810; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin-left: 8px; }

.toggle-demo { margin: 12px 16px; text-align: center; }
.toggle-demo button { padding: 6px 16px; font-size: 12px; border: 1px solid #ccc; border-radius: 16px; background: #fff; cursor: pointer; }

/* COMP-010 分佣比例对比表 */
.rate-compare { margin: 0 16px; }
.rate-compare-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.rate-compare-table th, .rate-compare-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #f0ebe6; }
.rate-compare-table th { background: #faf6f1; color: #8b6914; font-weight: 600; font-size: 12px; }
.rate-compare-table .metric { text-align: left; color: #666; font-size: 12px; padding-left: 12px; }
.rate-compare-table .highlight { color: #c9a227; font-weight: 700; }
.rate-compare-glossary { margin-top: 12px; font-size: 11px; color: #888; line-height: 1.65; }
.rate-rule-defs { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0ebe6; }
.rate-def-row { font-size: 12px; color: #666; line-height: 1.65; margin-bottom: 10px; }
.rate-def-row:last-child { margin-bottom: 0; }
.rate-def-row strong { display: block; color: #5c4030; font-size: 12px; margin-bottom: 4px; }
.rate-def-row span { display: block; font-size: 11px; color: #888; }

/* 身份行动卡片 */
.action-cards { display: flex; flex-direction: column; gap: 0; margin: 16px; }
.action-card { background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.action-card-head-row {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 10px;
}
.action-id-col {
  display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 64px;
}
.action-id-col .action-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
  border: 2px solid #f0ebe6; margin-bottom: 6px;
}
.action-card.lingzhu .action-id-col .action-avatar { border-color: #e8c872; }
.action-id-col .action-card-title {
  font-size: 13px; font-weight: 600; color: #2c1810; text-align: center; line-height: 1.25;
}
.guest-stats-module {
  flex: 1; min-width: 0; background: #faf7f3; border-radius: 10px; padding: 10px 12px;
  cursor: pointer; border: 1px solid #f0ebe6;
}
.guest-stats-module:active { background: #f5f0eb; }
.guest-stats-module.disabled {
  cursor: default; opacity: .65; pointer-events: none;
}
.guest-stats-title { font-size: 12px; color: #8b6914; font-weight: 600; margin-bottom: 6px; }
.guest-stats-nums {
  display: flex; gap: 14px; font-size: 11px; color: #999; margin-bottom: 8px;
}
.guest-stats-nums strong { font-size: 15px; color: #2c1810; font-weight: 700; margin-left: 2px; }
.guest-stats-nums .plus { color: #c9a227; }
.guest-stats-avatars { display: flex; align-items: center; }
.guest-stats-avatars .chaser-avatar { width: 22px; height: 22px; }
.action-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.action-card-head .action-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #f0ebe6; }
.action-card.lingzhu .action-card-head .action-avatar { border-color: #e8c872; }
.action-card .action-card-title { font-size: 16px; font-weight: 600; color: #2c1810; margin-bottom: 2px; }
.action-card .action-card-desc { font-size: 12px; color: #888; margin-bottom: 12px; line-height: 1.5; }
.action-card-btns { display: flex; flex-direction: column; gap: 10px; }
.action-card-btns-row { display: flex; gap: 10px; }
.action-card-btns-row .btn-action { flex: 1; padding: 10px 6px; border: none; border-radius: 8px; font-size: 13px; cursor: pointer; }
.action-card-btns-row .btn-action.full { width: 100%; flex: none; }
.action-card-btns .btn-action { padding: 10px 6px; border: none; border-radius: 8px; font-size: 13px; cursor: pointer; }
.action-card.yueji .btn-action { background: #f5ebe0; color: #5c4030; }
.action-card.yueji .btn-action.secondary { background: #fff; border: 1px solid #d4c4b0; color: #8b6914; }
.action-card.lingzhu .btn-action.primary { background: linear-gradient(135deg,#8b6914,#c9a227); color: #fff; }
.action-card.lingzhu .btn-action:not(.primary):not(.disabled) { background: #fff; border: 1px solid #d4c4b0; color: #5c4030; }
.action-card.lingzhu .btn-action.disabled { background: #eee; color: #bbb; cursor: not-allowed; border: none; }

.btn-upgrade-lingzhu {
  display: block; width: 100%; margin-top: 12px; padding: 12px 16px;
  border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg,#8b6914,#c9a227); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: .5px;
  box-shadow: 0 2px 10px rgba(139,105,20,.25);
}
.btn-upgrade-lingzhu:active { opacity: .92; transform: scale(.995); }

.action-upgrade { display: flex; flex-direction: column; align-items: center; padding: 6px 0; color: #c9a227; }
.action-upgrade .upgrade-arrow { font-size: 20px; line-height: 1; opacity: .85; }
.action-upgrade .upgrade-label { font-size: 12px; font-weight: 600; margin-top: 2px; letter-spacing: 2px; }

/* COMP-019 客源用户卡片 · 二级列表页 */
.secondary-page-head {
  padding: 52px 16px 12px; background: #fff; border-bottom: 1px solid #f0ebe6;
}
.guest-list-hero {
  padding: 8px 8px 4px; text-align: center;
}
.guest-list-hero-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 12px;
}
.guest-list-hero-side {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  gap: 6px; justify-content: center;
}
.guest-list-hero-side--left { align-items: flex-end; padding-right: 2px; }
.guest-list-hero-side--right { align-items: flex-start; padding-left: 2px; }
.guest-list-hero-tag {
  display: inline-block; padding: 4px 9px; border-radius: 14px;
  font-size: 10px; line-height: 1.25; white-space: nowrap;
  border: 1px solid transparent;
}
.guest-list-hero-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 3px solid #e8c872; background: #eee; box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.guest-list-hero-foot {
  font-size: 14px; color: #2c1810; line-height: 1.4;
}
.guest-list-hero-name { font-weight: 600; }
.guest-list-hero-stat { color: #888; font-weight: 400; }
.secondary-page-head h2 { font-size: 15px; font-weight: 600; color: #8b6914; margin: 0; }
.secondary-page-head p { font-size: 12px; color: #999; margin-top: 4px; }
.guest-search-wrap { padding: 12px 16px 8px; background: #f7f3ef; }
.guest-search-filter {
  display: flex; align-items: center; gap: 8px;
  padding: 0 16px 10px; background: #f7f3ef;
}
.guest-search-filter label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #666; cursor: pointer; user-select: none;
}
.guest-search-filter input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: #8b6914; cursor: pointer; flex-shrink: 0;
}
.guest-search-input {
  width: 100%; padding: 10px 14px; border: 1px solid #e8e0d8; border-radius: 20px;
  font-size: 14px; background: #fff; outline: none;
}
.guest-search-input:focus { border-color: #c9a227; }
.guest-user-list { padding: 0 16px 24px; }
.guest-user-card {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 14px; margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.guest-user-card-badge {
  position: absolute; top: 8px; right: 10px;
  font-size: 10px; line-height: 1.2; padding: 2px 7px; border-radius: 10px;
  background: #fff8e6; color: #8b6914; border: 1px solid #e8c872;
  pointer-events: none;
}
.guest-user-card .guest-user-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid #f0ebe6; background: #eee;
}
.guest-user-card .guest-user-info { flex: 1; min-width: 0; }
.guest-user-card .guest-user-name { font-size: 15px; font-weight: 600; color: #2c1810; margin-bottom: 4px; }
.guest-user-card .guest-user-meta { font-size: 12px; color: #999; }
.guest-list-empty {
  text-align: center; padding: 48px 16px; font-size: 13px; color: #bbb;
}
.guest-list-empty.hidden { display: none; }

.rate-compare-section { margin: 16px 16px 24px; }
.rate-compare-section .section-title { margin-bottom: 10px; }

/* COMP-011 平台海报分享弹窗 */
.poster-share-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.poster-share-modal.hidden { display: none; }
.poster-share-mask { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.poster-share-box { position: relative; z-index: 1; width: 88%; max-width: 320px; background: #fff; border-radius: 14px; padding: 16px; }
.poster-share-close { position: absolute; top: 8px; right: 12px; border: none; background: none; font-size: 24px; color: #999; cursor: pointer; line-height: 1; }
.poster-share-preview { margin: 8px 0 16px; }
.platform-poster-mock {
  background: linear-gradient(160deg,#3d2317 0%,#5c3828 50%,#8b6914 100%);
  border-radius: 10px; padding: 20px 16px; color: #f5e6c8; text-align: center; min-height: 280px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
}
.platform-poster-mock .ppm-head { font-size: 14px; font-weight: 600; letter-spacing: 1px; }
.platform-poster-mock .ppm-code-stack {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 8px auto 4px;
}
.platform-poster-mock .ppm-code-stack .ppm-suncode {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.platform-poster-mock .ppm-code-stack .ppm-suncode img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  display: block;
}
.platform-poster-mock .ppm-code-stack .ppm-avatar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 70px;
  height: 70px;
}
.platform-poster-mock .ppm-code-stack .ppm-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  display: block;
}
.platform-poster-mock .ppm-invite { display: block; text-align: center; font-size: 11px; opacity: .85; margin-top: 4px; }

.jianghu-content-modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-end; justify-content: center; }
.jianghu-content-modal.hidden { display: none; }
.jianghu-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.jianghu-modal-box {
  position: relative; z-index: 1; width: 100%; max-width: 360px; max-height: 78vh;
  background: #fff; border-radius: 16px 16px 0 0; padding: 16px 16px 24px;
  display: flex; flex-direction: column;
}
.jianghu-modal-close { position: absolute; top: 12px; right: 12px; border: none; background: none; font-size: 24px; color: #999; cursor: pointer; line-height: 1; z-index: 2; }
.jianghu-modal-title { font-size: 17px; font-weight: 600; color: #2c1810; margin: 0 32px 12px 0; flex-shrink: 0; }
.jianghu-modal-scroll { overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; }

/* COMP-013 江湖要讲利益 · 分佣说明 */
.benefit-comm-wrap { font-size: 13px; line-height: 1.7; color: #555; }
.benefit-comm-intro { font-size: 12px; color: #888; margin: 0 0 14px; line-height: 1.65; }
.benefit-comm-block { border-radius: 10px; padding: 14px; margin-bottom: 12px; }
.benefit-comm-block.platform { background: #fffaf0; border: 1px solid #f0e0c0; }
.benefit-comm-block.grass { background: #f5faf6; border: 1px solid #d0ead8; }
.benefit-comm-block.dividend { background: #f8f4fc; border: 1px solid #e4d8f0; }
.benefit-comm-title { font-size: 15px; font-weight: 600; color: #2c1810; margin: 0 0 10px; }
.benefit-comm-meta { margin: 0 0 8px; font-size: 12px; line-height: 1.65; color: #666; }
.benefit-comm-meta .lbl { display: inline-block; min-width: 4.5em; color: #5c4030; font-weight: 600; margin-right: 2px; vertical-align: top; }
.benefit-comm-list { margin: 2px 0 0; padding-left: 1.15em; font-size: 12px; color: #666; }
.benefit-comm-list li { margin-bottom: 6px; line-height: 1.6; }
.benefit-comm-list li:last-child { margin-bottom: 0; }
.benefit-comm-foot { padding: 12px 14px; background: #faf6f1; border-radius: 8px; font-size: 12px; color: #666; line-height: 1.65; }
.benefit-comm-foot p { margin: 0; }
/* PAGE-MP-007 令主海报编辑器 */
.poster-editor-page { background: #f7f3ef; padding-bottom: 16px; }
.poster-editor-heading { font-size: 17px; color: #2c1810; padding: 16px 16px 0; margin: 0; }
.poster-editor-hint { font-size: 12px; color: #888; padding: 4px 16px 12px; margin: 0; }
.poster-editor-actions {
  display: flex; gap: 10px; margin: 0 16px 12px;
}
.poster-editor-btn {
  flex: 1; padding: 11px 8px; border: 1px solid #d4c4b0; border-radius: 8px;
  background: #fff; color: #5c4030; font-size: 14px; font-weight: 500; cursor: pointer;
}
.poster-editor-btn:active { background: #faf6f1; }
.poster-editor-preview-card { margin: 0 16px 12px; }
.poster-editor-mock {
  position: relative; overflow: hidden; min-height: 240px; margin: 0;
  background: transparent;
}
.poster-editor-mock .ppm-bg-crop {
  position: absolute; inset: 0; overflow: hidden; z-index: 0;
}
.poster-editor-mock .ppm-bg-crop.is-default-bg {
  background: linear-gradient(160deg, #3d2317 0%, #5c3828 50%, #8b6914 100%);
}
.poster-editor-mock .ppm-bg-crop.is-default-bg .ppm-bg-img { display: none; }
.poster-editor-mock .ppm-bg-img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center center;
}
.poster-editor-mock .ppm-content {
  position: relative; z-index: 1;
  min-height: 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 20px 16px; color: #f5e6c8;
}
.poster-editor-save {
  display: block; width: calc(100% - 32px); margin: 0 16px; padding: 12px;
  border: none; border-radius: 8px;
  background: linear-gradient(135deg, #8b6914, #c9a227); color: #fff;
  font-size: 15px; cursor: pointer;
}
.poster-title-modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
}
.poster-title-modal.hidden { display: none; }
.poster-title-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.poster-title-box {
  position: relative; z-index: 1; width: 86%; max-width: 300px;
  background: #fff; border-radius: 12px; padding: 18px 16px 14px;
}
.poster-title-modal-h { margin: 0 0 12px; font-size: 16px; font-weight: 600; color: #2c1810; }
.poster-title-box input {
  width: 100%; box-sizing: border-box; padding: 10px;
  border: 1px solid #e0d8d0; border-radius: 8px; font-size: 14px;
}
.poster-title-tip { font-size: 11px; color: #aaa; margin: 6px 0 14px; }
.poster-title-actions { display: flex; gap: 10px; }
.poster-title-cancel, .poster-title-ok {
  flex: 1; padding: 10px; border-radius: 8px; font-size: 14px; cursor: pointer;
}
.poster-title-cancel { border: 1px solid #ddd; background: #fff; color: #666; }
.poster-title-ok { border: none; background: linear-gradient(135deg, #8b6914, #c9a227); color: #fff; }

.poster-share-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.poster-share-actions button { flex: 1; min-width: 80px; padding: 8px 6px; font-size: 11px; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; cursor: pointer; }
.poster-share-actions button:first-child { background: #07c160; color: #fff; border-color: #07c160; }

.poster-preview { height: 200px; margin: 12px 16px; border-radius: 12px; background: linear-gradient(160deg, #4a2820, #2c1810); display: flex; flex-direction: column; align-items: center; justify-content: center; color: #f5e6c8; }
.action-row { display: flex; gap: 10px; padding: 0 16px 16px; }
.action-row button { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid #8b4513; background: #fff; color: #8b4513; cursor: pointer; font-size: 13px; }
.action-row button.primary { background: #8b4513; color: #fff; border-color: #8b4513; }

.empty { text-align: center; padding: 48px 24px; color: #999; }
.empty .icon { font-size: 48px; margin-bottom: 12px; }

.condition { padding: 8px 0; font-size: 14px; display: flex; justify-content: space-between; }
.condition .ok { color: #07c160; }
.condition .no { color: #999; }

/* 摄影师主包页 · 标准顶栏 */
.mp-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; background: #fff; border-bottom: 1px solid #eee; flex-shrink: 0;
}
.mp-nav-back {
  width: 32px; font-size: 20px; color: #333; text-decoration: none; line-height: 1;
}
.mp-nav-title { flex: 1; text-align: center; font-size: 17px; font-weight: 600; color: #333; margin: 0 8px; }
.mp-nav-spacer { width: 32px; flex-shrink: 0; }
.mp-nav-action {
  width: 32px; border: none; background: none; font-size: 18px; color: #666; cursor: pointer; text-align: right;
}

/* COMP-020 / COMP-022 列表 */
.mp-page-body { flex: 1; overflow-y: auto; background: #f7f7f7; padding-bottom: 24px; }
.mp-seg-tabs {
  display: flex; background: #fff; border-bottom: 1px solid #eee; margin-bottom: 0;
}
.mp-seg-tabs button {
  flex: 1; padding: 12px 4px; border: none; background: none;
  font-size: 13px; color: #999; cursor: pointer;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.mp-seg-tabs button.active { color: #07c160; border-bottom-color: #07c160; font-weight: 600; }

.mp-customer-card {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 12px; padding: 14px; margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04); cursor: pointer; text-decoration: none; color: inherit;
}
.mp-customer-card:active { opacity: .92; }
.mp-customer-card .mp-card-avatar {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid #f0f0f0; background: #eee;
}
.mp-customer-card .mp-card-info { flex: 1; min-width: 0; }
.mp-customer-card .mp-card-name { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 4px; }
.mp-customer-card .mp-card-meta { font-size: 12px; color: #999; }
.mp-customer-card .mp-card-chevron { font-size: 18px; color: #ccc; flex-shrink: 0; }
.mp-customer-card { padding-top: 26px; }
.mp-customer-card-order {
  position: absolute; top: 8px; left: 10px;
  font-size: 10px; line-height: 1.2; padding: 2px 7px; border-radius: 10px;
  background: #f0faf0; color: #07c160; border: 1px solid #b8e6c8;
  pointer-events: none;
}
.mp-customer-card.has-referrer { padding-top: 28px; }
.mp-customer-card-referrer {
  position: absolute; top: 8px; right: 10px;
  display: flex; align-items: center; gap: 4px; max-width: 52%;
  pointer-events: none;
}
.mp-customer-card-referrer img {
  width: 18px; height: 18px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1px solid #eee; background: #f5f5f5;
}
.mp-customer-card-referrer span {
  font-size: 10px; color: #8b6914; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* PAGE-MP-012 客户来源条 */
.mp-customer-source-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff; padding: 0 16px 14px; margin-bottom: 8px;
}
.mp-customer-source-bar .source-label { font-size: 12px; color: #999; margin-right: 6px; }
.mp-customer-source-bar .source-value { font-size: 13px; color: #333; font-weight: 500; }
.mp-customer-source-left { display: flex; align-items: center; flex-shrink: 0; }
.mp-customer-source-referrer {
  display: flex; align-items: center; gap: 6px; min-width: 0; flex: 1; justify-content: flex-end;
  text-decoration: none; color: inherit; cursor: pointer;
}
.mp-customer-source-referrer:active { opacity: .85; }
.mp-customer-source-referrer .ref-chevron { font-size: 14px; color: #ccc; flex-shrink: 0; margin-left: 2px; }
.mp-customer-source-referrer img {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 1px solid #eee; background: #f5f5f5;
}
.mp-customer-source-referrer .ref-name {
  font-size: 12px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 72px;
}
.mp-customer-source-referrer .ref-count {
  font-size: 11px; color: #07c160; white-space: nowrap; flex-shrink: 0;
}
.mp-customer-card .mp-card-stat {
  flex-shrink: 0; text-align: right; min-width: 56px;
}
.mp-customer-card .mp-card-stat-val { font-size: 18px; font-weight: 600; color: #07c160; line-height: 1.2; }
.mp-customer-card .mp-card-stat-lbl { font-size: 10px; color: #999; margin-top: 2px; }

/* PAGE-MP-012 客户详情顶区 */
.mp-customer-detail-head {
  display: flex; align-items: center; gap: 12px;
  background: #fff; padding: 16px 16px 12px; margin-bottom: 0;
}
.mp-customer-detail-head .detail-avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid #f0f0f0; background: #eee;
}
.mp-customer-detail-head .detail-info { flex: 1; min-width: 0; }
.mp-customer-detail-head .detail-remark { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 4px; }
.mp-customer-detail-head .detail-phone { font-size: 13px; color: #666; }
.mp-customer-detail-head .detail-settings {
  border: none; background: #f5f5f5; color: #666; font-size: 13px;
  padding: 6px 12px; border-radius: 16px; cursor: pointer; flex-shrink: 0;
}
.mp-customer-detail-head .detail-settings:active { background: #eee; }

.mp-detail-panel { display: none; padding: 0 16px 24px; }
.mp-detail-panel.active { display: block; }

.mp-order-list { margin-top: 8px; }
.mp-order-row {
  background: #fff; border-radius: 12px; padding: 14px; margin-top: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.mp-order-row .order-no { font-size: 13px; color: #666; margin-bottom: 6px; }
.mp-order-row .order-package { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 8px; }
.mp-order-row .order-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: #999;
}
.mp-order-row .order-amount { font-size: 15px; font-weight: 600; color: #e94560; }
.mp-order-row .order-status {
  font-size: 11px; padding: 2px 8px; border-radius: 10px;
  background: #f0faf0; color: #07c160;
}
.mp-order-row .order-status.pending { background: #fff8e6; color: #b87820; }

/* COMP-021 客户备注设置弹窗 */
.customer-settings-modal {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
}
.customer-settings-modal.hidden { display: none; }
.customer-settings-mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.customer-settings-box {
  position: relative; z-index: 1; width: 88%; max-width: 320px;
  background: #fff; border-radius: 14px; padding: 20px 16px 16px;
}
.customer-settings-box h3 { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 16px; text-align: center; }
.customer-settings-field { margin-bottom: 14px; }
.customer-settings-field label { display: block; font-size: 13px; color: #666; margin-bottom: 6px; }
.customer-settings-field input {
  width: 100%; padding: 10px 12px; border: 1px solid #e8e8e8; border-radius: 8px;
  font-size: 14px; outline: none;
}
.customer-settings-field input:focus { border-color: #07c160; }
.customer-settings-actions { display: flex; gap: 10px; margin-top: 8px; }
.customer-settings-actions button {
  flex: 1; padding: 10px; border-radius: 8px; font-size: 14px; cursor: pointer; border: 1px solid #ddd; background: #fafafa;
}
.customer-settings-actions button.primary { background: #07c160; color: #fff; border-color: #07c160; }
