/**
 * 蛙蛙TK 前端公共样式（移动端H5，绿色主题，1:1复刻原站风格）
 */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f6f8; color: #1a1a1a; max-width: 750px; margin: 0 auto;
  min-height: 100vh; padding-bottom: 60px;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; font-size: 14px; border: none; outline: none; background: none; }
button { border: none; background: none; font-family: inherit; cursor: pointer; }
ul, li { list-style: none; }

/* ============ 通用 ============ */
.green { color: #ff5000; }
.flex { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.muted { color: #8f8f8f; }
.card { background: #fff; border-radius: 12px; }

/* 页面顶部导航条 */
.navbar {
  position: sticky; top: 0; z-index: 100; height: 48px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600;
}
.navbar .back { position: absolute; left: 12px; font-size: 22px; color: #333; line-height: 1; }
.navbar .right { position: absolute; right: 12px; font-size: 14px; font-weight: 400; }

/* 主按钮 */
.btn-primary {
  display: block; width: 100%; height: 46px; line-height: 46px; text-align: center;
  background: #ff5000; color: #fff; font-size: 16px; font-weight: 600; border-radius: 23px;
}
.btn-primary:active { opacity: .85; }
.btn-plain {
  display: inline-block; padding: 0 16px; height: 34px; line-height: 34px;
  border: 1px solid #ff5000; color: #ff5000; border-radius: 17px; font-size: 13px;
}

/* 空状态 */
.empty { padding: 80px 0; text-align: center; color: #b0b0b0; font-size: 13px; }
.empty::before {
  content: ""; display: block; width: 120px; height: 100px; margin: 0 auto 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80'%3E%3Crect x='25' y='20' width='50' height='40' rx='4' fill='%23e8e8e8'/%3E%3Cpath d='M25 25 L50 45 L75 25' stroke='%23ccc' fill='none' stroke-width='2'/%3E%3C/svg%3E") no-repeat center/contain;
}
.empty::after { content: "没有可以显示的数据"; }

/* Toast */
#toast {
  position: fixed; top: 40%; left: 50%; transform: translate(-50%, -50%);
  background: rgba(0,0,0,.75); color: #fff; padding: 12px 20px; border-radius: 8px;
  font-size: 14px; z-index: 9999; max-width: 80%; text-align: center; display: none;
}

/* 弹窗 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 900;
  display: none; align-items: center; justify-content: center;
}
.modal-mask.show { display: flex; }
.modal-box { width: 82%; max-width: 320px; background: #fff; border-radius: 12px; overflow: hidden; }
.modal-body { padding: 28px 20px; text-align: center; font-size: 14px; color: #333; line-height: 1.6; }
.modal-foot { display: flex; border-top: 1px solid #f0f0f0; }
.modal-foot button {
  flex: 1; height: 48px; font-size: 15px; color: #333; background: #fff;
}
.modal-foot button + button { border-left: 1px solid #f0f0f0; }
.modal-foot button.ok { color: #ff5000; }
/* 底部弹层（选择模特等） */
.modal-box.sheet {
  width: 100%; max-width: 100%; border-radius: 16px 16px 0 0;
  align-self: flex-end; max-height: 78vh; display: flex; flex-direction: column;
}
.sheet-head { display: flex; align-items: center; justify-content: center; position: relative; padding: 16px; font-size: 16px; font-weight: 700; }
/* 游览设置：底部年月日滚轮 */
.date-sheet {
  width: 100%; max-width: 100%; align-self: flex-end;
  background: #fff; border-radius: 16px 16px 0 0; overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.date-head { display: flex; justify-content: space-between; align-items: center; padding: 15px 18px; border-bottom: 1px solid #f2f2f2; font-size: 15px; }
.date-head .cancel { color: #666; }
.date-head .ok { color: #1677ff; font-weight: 600; }
.sheet-title { position: relative; text-align: center; padding: 16px; font-size: 16px; font-weight: 700; }
.sheet-title .close { position: absolute; right: 16px; top: 12px; color: #999; font-size: 18px; padding: 4px; }
.set-box { margin: 4px 16px 20px; padding: 16px; border: 1.5px dotted #ff7a1a; border-radius: 10px; }
.set-label { font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; }
.set-row { display: flex; gap: 10px; align-items: center; }
.set-row input { flex: 1; height: 38px; background: #f7f7f7; border: 1px solid #eee; border-radius: 4px; padding: 0 10px; font-size: 14px; color: #333; }
.pick-btn {
  display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0;
  background: #ff5000; color: #fff; font-size: 14px; padding: 10px 14px; border-radius: 6px;
}
.set-tip { margin-top: 12px; font-size: 13px; color: #8f8f8f; }
.date-wheels { position: relative; display: flex; height: 200px; }
.date-wheels::before, .date-wheels::after {
  content: ''; position: absolute; left: 8%; right: 8%; height: 1px; background: #ededed; z-index: 2; pointer-events: none;
}
.date-wheels::before { top: 80px; }
.date-wheels::after { top: 120px; }
.wheel {
  flex: 1; height: 100%; overflow-y: auto; scroll-snap-type: y mandatory;
  padding: 80px 0; text-align: center; scrollbar-width: none; -ms-overflow-style: none;
}
.wheel::-webkit-scrollbar { display: none; }
.wheel .it {
  height: 40px; line-height: 40px; font-size: 14px; color: #c8c8c8;
  scroll-snap-align: center; white-space: nowrap;
}
.wheel .it.on { color: #1a1a1a; font-weight: 700; font-size: 16px; }
.sheet-head .x { position: absolute; right: 12px; top: 10px; font-size: 18px; color: #999; padding: 4px 8px; }
.sheet-search { margin: 0 14px 10px; background: #f5f6f8; border-radius: 20px; padding: 9px 16px; font-size: 13px; border: none; width: calc(100% - 28px); }
.sheet-list { overflow-y: auto; padding: 0 14px 20px; }
.pick-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f5f5f5; }
.pick-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pick-row .nm { font-size: 14px; font-weight: 600; }
.pick-row .sub { font-size: 11px; color: #8f8f8f; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.pick-row .go { margin-left: auto; flex-shrink: 0; border: 1px solid #ff5000; color: #ff5000; border-radius: 15px; padding: 5px 14px; font-size: 12px; }

/* ============ 模特列表活动广告位（占一个格子，一直存在） ============ */
.mad-ad .in { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.mad-cover { position: relative; width: 100%; flex: 0 0 auto; height: 390px; background: #ffe6f2; }
.mad-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mad-txt { position: absolute; left: 0; right: 0; top: 8px; text-align: center; pointer-events: none; }
.mad-txt .s {
  font-size: 11px; color: #ffd86b; letter-spacing: 3px;
  text-shadow: 0 1px 3px rgba(255, 60, 120, .55);
}
.mad-txt .b {
  font-size: 22px; font-weight: 900; color: #ff4f9a; letter-spacing: 2px; margin-top: 2px;
  text-shadow: 0 0 2px #fff, 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff,
    2px 3px 6px rgba(255, 60, 120, .35);
}
.mad-txt .d {
  display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 10px;
  background: rgba(255, 255, 255, .78); font-size: 10px; color: #ff4f9a;
}
/* 后台已配置广告图时，隐藏内置文案 */
.mad-ad .in.plain .mad-txt { display: none; }

/* ============ 充值蛙币底部弹层 ============ */
.rec-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 950; display: none; }
.rec-mask.show { display: block; }
.rec-sheet {
  position: absolute; bottom: 0; left: 0; right: 0; max-width: 750px; margin: 0 auto;
  background: #fff; border-radius: 16px 16px 0 0; display: flex; flex-direction: column; max-height: 92vh;
}
.rec-head {
  position: relative; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; border-bottom: 1px solid #f0f0f0;
}
.rec-close {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-style: normal; color: #333; line-height: 1; padding: 4px;
}
.rec-body { overflow-y: auto; padding: 0 16px 4px; }
.rec-balance { padding: 14px 0 10px; font-size: 15px; font-weight: 700; }
/* 套餐三列格子 */
.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rec-cell {
  border: 1px solid #ececec; border-radius: 6px; overflow: hidden;
  background: #fff; text-align: center; cursor: pointer;
}
.rec-cell.on { border-color: #ff5000; }
.rec-coin { width: 26px; height: 26px; display: block; margin: 14px auto 0; }
.rec-num { font-size: 15px; font-weight: 800; color: #1a1a1a; margin-top: 8px; }
.rec-ratio { font-size: 12px; color: #b3b3b3; margin-top: 6px; padding-bottom: 10px; }
.rec-price {
  height: 36px; line-height: 36px; border-top: 1px solid #f0f0f0;
  font-size: 14px; color: #666;
}
.rec-cell.on .rec-price { background: #ff5000; border-top-color: #ff5000; color: #fff; }
.rec-custom { padding-top: 12px; }
.rec-custom input {
  width: 100%; box-sizing: border-box; border: 1px solid #ececec; border-radius: 6px;
  padding: 12px; font-size: 14px; outline: none;
}
/* 底部按钮 */
.rec-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-shrink: 0; }
.rec-foot button {
  width: 100%; height: 48px; border-radius: 6px; background: #ff5000;
  color: #fff; font-size: 16px; font-weight: 700;
}

/* ============ 底部 TabBar ============ */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 750px; height: 56px; background: #fff;
  border-top: 1px solid #f0f0f0; display: flex; z-index: 800;
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 11px; color: #8f8f8f;
}
.tabbar a.active { color: #ff5000; }
.tabbar svg { width: 24px; height: 24px; margin-bottom: 2px; }

/* ============ 首页 ============ */
.home-banner { width: 100%; display: block; aspect-ratio: 16/12; object-fit: cover; }
.home-invite {
  margin: -40px 12px 0; position: relative; z-index: 2;
  background: #ff5000; border: 2px solid #151515; border-bottom: none;
  border-radius: 14px 14px 0 0; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
}
.home-invite .txt { color: #fff; font-size: 14px; font-weight: 600; }
.home-invite .btns { display: flex; gap: 8px; }
.home-invite .b1 {
  padding: 5px 12px; border-radius: 14px; font-size: 12px; font-weight: 600;
  background: linear-gradient(90deg, #d4f04a, #a8e063); color: #1a1a1a;
}
.home-invite .b2 {
  padding: 5px 12px; border-radius: 14px; font-size: 12px; font-weight: 600;
  background: #0f0f0f; color: #f6d86a; border: 1px solid #f6d86a;
}
.home-vip {
  margin: 0 12px 12px; background: #fff; border-radius: 0 0 14px 14px;
  border: 2px solid #151515; border-top: none; padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.home-vip .diamond { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.home-vip .t1 { font-size: 15px; font-weight: 700; }
.home-vip .t2 { font-size: 12px; color: #8f8f8f; margin-top: 3px; }
/* 首页两个大图标入口：两卡等比 200:170（宽:高），四角圆角，中间窄斜缝 */
.home-menu2 { position: relative; display: flex; align-items: stretch; gap: 6px; margin: 12px; }
.home-menu2 a {
  flex: 1; aspect-ratio: 200 / 170; background: #fff; border-radius: 12px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; font-weight: 700; color: #1a1a1a;
}
/* 左卡右上斜切：背景色三角遮罩（直角在右上，斜边 \） */
.home-menu2::before {
  content: ''; position: absolute; top: 0; bottom: 0; right: calc(50% + 3px); width: 10px;
  background: #f5f6f8; clip-path: polygon(0 0, 100% 0, 100% 100%); z-index: 2; pointer-events: none;
}
/* 右卡左下斜切：背景色三角遮罩（直角在左下，斜边 \） */
.home-menu2::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: calc(50% + 3px); width: 10px;
  background: #f5f6f8; clip-path: polygon(0 0, 0 100%, 100% 100%); z-index: 2; pointer-events: none;
}
.home-menu2 img { height: 130px; width: auto; display: block; }
/* 首页活动中心：白色圆角背景块，标题在卡内 */
.home-act {
  margin: 4px 12px 12px; background: #fff; border-radius: 14px; padding: 14px 12px 12px;
}
.home-act .act-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.act-card { position: relative; display: block; border-radius: 14px; overflow: hidden; }
.act-card img { width: 100%; display: block; aspect-ratio: 21/10; object-fit: cover; }
.act-card .act-text { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.act-card .t1 { font-size: 22px; font-weight: 900; color: #ffca28; -webkit-text-stroke: 1px #6d4c00; text-shadow: 1px 2px 0 #6d4c00; line-height: 1.35; }
.act-card .t2 { font-size: 11px; color: #fff; margin-top: 8px; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.home-icp { text-align: center; color: #787878; font-size: 9px; padding: 8px 0; }

/* ============ 模特列表 ============ */
.mlist-head {
  position: sticky; top: 0; z-index: 100; background: #fff; padding: 8px 12px 0;
}
.mlist-head .top { display: flex; align-items: center; gap: 10px; }
.mlist-head .logo {
  height: 26px; padding: 0 10px; background: #ff5000; color: #fff; font-weight: 900; font-style: italic;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
  border-radius: 3px; transform: skewX(-8deg); flex-shrink: 0;
}
.mlist-head .search {
  flex: 1; height: 32px; background: #f5f6f8; border-radius: 16px; padding: 0 14px; font-size: 13px; color: #333;
}
.mlist-head .sbtn { color: #ff5000; font-size: 14px; flex-shrink: 0; }
.mlist-head .fbtn {
  flex-shrink: 0; color: #ff5000; font-size: 13px; background: #fff;
  border: 1px solid #ff5000; border-radius: 6px; padding: 4px 8px;
}
.mlist-tabs {
  display: flex; align-items: center;
  padding: 12px 0 4px 0;
}
.mlist-tabs .tab {
  position: relative; font-size: 15px; color: #1a1a1a; padding: 2px 10px;
  flex-shrink: 0; transition: color .2s;
}
.mlist-tabs .tab.on { color: #ff5000; font-weight: 700; }
.mlist-tabs .tab .new-dot {
  position: absolute; right: -8px; top: -14px; background: #ff5000; color: #fff;
  font-size: 8px; padding: 1px 4px; border-radius: 8px; font-style: normal; font-weight: 700;
  line-height: 1.2; transform: scale(.9);
}
.mlist-tabs .phb-link {
  margin-left: auto; flex-shrink: 0;
  background: #1a1a1a; color: #fff; font-size: 11px;
  padding: 5px 10px; border-radius: 12px; white-space: nowrap;
}
.tab-dots {
  display: flex; justify-content: flex-start; gap: 4px; padding: 0 0 4px 22px;
}
.tab-dots .d {
  width: 4px; height: 4px; border-radius: 50%; background: #e0e0e0;
}
.tab-dots .d.on { background: #ff5000; }

/* ============ 筛选页（独立页面对齐目标站） ============ */
.ft-page { background: #f5f6f8; min-height: 100vh; padding: 10px 12px 80px; box-sizing: border-box; }
.ft-card { background: #fff; border-radius: 12px; padding: 16px 14px; }
.ft-t { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 18px 0 10px; }
.ft-t:first-child { margin-top: 0; }
.ft-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-tag {
  font-size: 13px; color: #333; background: #f2f3f5;
  padding: 6px 16px; border-radius: 17px; border: 1px solid transparent; cursor: pointer;
}
.ft-tag.on { background: #fff; color: #ff5000; border-color: #ff5000; }
.ft-pv-panel {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px;
  background: #f8f9fa; border-radius: 8px; padding: 10px; max-height: 200px; overflow-y: auto;
}
.ft-vip-banner {
  margin: 20px 0 4px; background: linear-gradient(90deg, #ff8a3d, #ff5000);
  color: #fff; font-size: 15px; font-weight: 700; text-align: center;
  padding: 12px 0; border-radius: 24px;
}
.ft-slabel { font-size: 12px; color: #8f8f8f; margin-bottom: 6px; }
/* 绿色滑块 */
.ft-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px;
  background: #e5e5e5; border-radius: 2px; outline: none; margin: 6px 0 4px;
}
.ft-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 18px; height: 18px;
  border-radius: 50%; background: #ff5000; border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer;
}
.ft-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #ff5000;
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer;
}
.ft-vip-zone { position: relative; }
/* 非会员：整区半透明白遮罩置灰，拦截所有点击 */
.ft-vip-zone.locked::before {
  content: ''; position: absolute; left: -14px; right: -14px; top: 0; bottom: 0;
  background: rgba(255,255,255,.6); z-index: 2; cursor: not-allowed;
}
.ft-vip-btn {
  position: relative; z-index: 3; /* 高于锁定遮罩，保证可点 */
  margin: 18px auto; width: 52%; text-align: center;
  border: 1px solid #ff5000; color: #ff5000; font-size: 13px; font-weight: 600;
  padding: 9px 0; border-radius: 6px; cursor: pointer; background: #fff;
}
/* 底部固定操作栏 */
.ft-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: #fff; display: flex; gap: 12px; padding: 10px 14px;
  box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.ft-reset {
  flex: 1; height: 44px; background: #fff; color: #333;
  border: 1px solid #ddd; border-radius: 22px; font-size: 15px;
}
.ft-confirm {
  flex: 2.2; height: 44px; background: #ff5000; color: #fff;
  border-radius: 22px; font-size: 15px; font-weight: 600;
}
.ft-confirm:active, .ft-reset:active { opacity: .85; }
.mlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 10px 20px; }
.mcard { width: auto; padding: 0; display: flex; min-width: 0; }
.mcard .in {
  flex: 1; width: 100%; display: flex; flex-direction: column; min-width: 0;
  background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
/* 封面固定 260px，信息区固定 130px，整卡高度 390px，所有行等高 */
.mcard .cover { position: relative; width: 100%; flex: 0 0 auto; height: 260px; background: #e8e8e8; }
.mcard .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcard .cover .lock {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.7); color: #fff; border-radius: 14px; padding: 5px 12px; font-size: 11px;
  background: rgba(0,0,0,.3); backdrop-filter: blur(2px); white-space: nowrap;
}
.mcard .cover .badges { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; }
.mcard .badge { font-size: 10px; color: #fff; padding: 2px 7px; border-radius: 3px; font-weight: 500; }
.mcard .badge.o { background: #ff9500; } /* 异地 */
.mcard .badge.g { background: #ff5000; } /* 更新/置顶 */
.mcard .info { flex: 0 0 auto; height: 130px; overflow: hidden; padding: 8px 10px 10px; }
.mcard .name { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard .spec {
  margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px;
}
.mcard .spec span {
  font-size: 11px; color: #ff5000; background: #fff; border: 1px solid #ff5000;
  padding: 2px 7px; border-radius: 4px; line-height: 1.3;
}
.mcard .spec span.g { background: #ff5000; color: #fff; border-color: #ff5000; }
.mcard .sche {
  margin-top: 6px; font-size: 11px; color: #8f8f8f; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ 模特详情（目标风格 v4） ============ */
.md-cover {
  position: relative;
  width: 100%;
  height: 46vh;
  min-height: 340px;
  max-height: 480px;
  background: #1a1a1a;
  overflow: hidden;
}
.md-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: center 35%;
}
.md-cover .md-back {
  position: absolute; top: 14px; left: 14px; z-index: 5;
  width: 34px; height: 34px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.md-card {
  position: relative;
  margin-top: -14px;
  padding: 0 0 16px;
  min-height: 50vh;
}

/* 顶部信息卡（名字+价格+统计+Tab）——白色圆角卡片 */
.md-top-card {
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 18px 16px 14px;
}

/* section —— 白底圆角独立卡片 */
.md-section {
  margin: 12px 12px 0;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

/* 头部信息 */
.md-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 10px;
  margin-bottom: 12px;
}
.md-head-left { flex: 1; min-width: 0; }
.md-name {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.md-name .md-title {
  font-size: 22px; font-weight: 800; color: #1a1a1a; line-height: 1.3;
}
.md-no {
  font-size: 11px; color: #fff; font-weight: 600;
  background: #ff4757; padding: 2px 8px; border-radius: 10px;
  line-height: 1.4; display: inline-block;
}
.md-act-row {
  display: flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 12px; color: #8f8f8f;
}
.md-act-text { flex: 1; }
.md-fav {
  font-size: 12px; color: #8f8f8f; flex-shrink: 0;
  display: flex; align-items: center; gap: 3px;
  padding: 4px 0;
}
.md-fav .star { color: #ffb800; font-size: 14px; }
.md-fav .star.off { color: #ccc; }
.md-fav.on { color: #ff4757; }

/* 价格条（浅绿渐变 + 黑字 + 实心绿按钮） */
.md-price-bar {
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(90deg, #cdfaea, #35dfb0);
  color: #111; padding: 12px 16px; border-radius: 10px;
  margin-bottom: 14px;
}
.md-price-left { display: flex; align-items: baseline; gap: 6px; }
.md-price-val { font-size: 16px; font-weight: 800; color: #111; }
.md-price-unit { font-size: 16px; font-weight: 800; color: #111; }
.md-price-ori { font-size: 13px; color: #4a4a4a; }
.md-support-btn {
  background: #ff5000; color: #fff; border: none;
  padding: 8px 18px; border-radius: 18px; font-size: 13px; font-weight: 600;
  cursor: pointer;
}
.md-support-btn:active { opacity: .9; }

/* 统计行 4列（白底、黑字、无分隔线） */
.md-stats {
  display: flex; background: #fff;
  padding: 16px 0 4px; margin-bottom: 6px;
}
.md-stat { flex: 1; text-align: center; }
.md-stat .v { font-size: 22px; font-weight: 800; color: #111; line-height: 1.2; }
.md-stat .k { font-size: 12px; color: #999; margin-top: 6px; }

/* Tab —— 独立一条（灰底，与上方白卡分开），居中，激活项绿色粗体 + 三个绿点 */
.md-tabs {
  display: flex; justify-content: center; align-items: center; gap: 40px;
  font-size: 15px; border-bottom: none;
  padding: 14px 0 10px; margin: 0;
}
.md-tabs span {
  color: #999; cursor: pointer; position: relative;
}
.md-tabs span.on { color: #ff5000; font-weight: 700; }
.md-tabs span.on::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  width: 16px; height: 4px;
  background-image: radial-gradient(circle, #ff5000 1.5px, transparent 1.6px);
  background-size: 6px 4px; background-repeat: repeat-x;
}

/* section —— 白底圆角卡片 */
.md-section {
  margin-top: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.md-section-t {
  font-size: 15px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.md-section-t .section-sub {
  font-size: 12px; color: #8f8f8f; font-weight: normal; margin-left: auto;
}
.md-intro {
  font-size: 13px; line-height: 1.75; color: #555;
  background: #fafafa; padding: 12px; border-radius: 8px;
}

/* 视频 —— 多视频标签切换播放器 */
.md-video-tabs {
  display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap;
}
.md-video-tab {
  padding: 6px 14px; font-size: 13px; background: #f2f3f5; color: #666;
  border-radius: 16px; cursor: pointer; transition: all .2s;
}
.md-video-tab.on {
  background: #ff5000; color: #fff; font-weight: 600;
}
.md-video-player {
  width: 100%; border-radius: 10px; overflow: hidden;
  background: #000;
}
.md-video-player video {
  width: 100%; height: auto; object-fit: contain; display: block;
  background: #000;
}

/* 模特评分 */
.md-section-t.bar::before {
  content: ""; width: 3px; height: 15px; border-radius: 2px;
  background: #ff5000; margin-right: 2px;
}
.score-count { font-size: 14px; font-weight: 700; color: #1a1a1a; }
.score-main { display: flex; align-items: center; gap: 10px; padding-top: 2px; }
.score-left { display: flex; align-items: center; gap: 8px; flex: none; }
.score-left .sl { font-size: 15px; color: #999; }
.score-left .stars { display: flex; gap: 2px; font-size: 21px; line-height: 1; }
.score-left .stars .star { color: #d8d8d8; }
.score-left .stars .star.on { color: #00c896; }
.score-right { display: flex; flex: 1; justify-content: space-around; }
.score-cell { text-align: center; }
.score-cell .v { font-size: 18px; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.score-cell .k { font-size: 12px; color: #8f8f8f; margin-top: 4px; white-space: nowrap; }

/* 通告 */
.notice-item {
  background: #fff7e6; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px;
  border-left: 3px solid #ff9500;
}
.notice-t { font-size: 13px; font-weight: 600; color: #1a1a1a; }
.notice-c { font-size: 12px; color: #666; margin-top: 4px; line-height: 1.5; }

/* 评论 —— 每条独立白卡，内含模特信息灰色小卡 */
.comment-tip { font-size: 12px; color: #8f8f8f; margin: 12px 14px 10px; }
.comment-item {
  background: #fff; border-radius: 12px; padding: 16px;
  margin: 0 12px 12px;
}
.comment-item .urow { display: flex; gap: 10px; align-items: center; }
.comment-item .ava { width: 38px; height: 38px; border-radius: 50%; background: #e8e8e8; object-fit: cover; }
.comment-item .uinfo { flex: 1; }
.comment-item .nick { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.comment-item .time { font-size: 11px; color: #b0b0b0; margin-top: 4px; }
.comment-item .comment-body {
  font-size: 15px; margin-top: 14px; line-height: 1.75; color: #333; word-break: break-word;
}

/* 评论里的模特信息小卡 */
.cm-model { background: #f4f5f6; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.cm-mrow { display: flex; justify-content: space-between; align-items: center; }
.cm-mname { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.cm-mlink { font-size: 12px; color: #9a9a9a; }
.cm-mrow2 { margin-top: 14px; align-items: flex-start; }
.cm-complex { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9a9a9a; }
.cm-stars { font-size: 14px; color: #00c896; letter-spacing: 1px; }
.cm-stars .off { color: #cfd3d8; }
.cm-metrics { display: flex; gap: 22px; }
.cm-metric { text-align: center; }
.cm-mv { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.cm-mk { font-size: 11px; color: #9a9a9a; margin-top: 4px; }

/* 评论配图 */
.cm-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.cm-imgs img {
  width: 100%; height: 160px; object-fit: cover; border-radius: 8px; display: block;
}

/* 底部固定按钮 */
.md-foot {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 750px; background: #fff;
  padding: 10px 14px 16px; z-index: 800;
  box-shadow: 0 -2px 12px rgba(0,0,0,.06);
}
.md-foot-btn {
  width: 100%; height: 46px; border: none; border-radius: 23px;
  background: linear-gradient(90deg, #ffc299, #ff5000);
  color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,200,150,.3);
}
/* 评论页的「发布评论」——实心绿小圆角 */
.md-foot-btn.solid {
  background: #ff5000; border-radius: 7px;
  box-shadow: 0 4px 14px rgba(0,200,150,.25);
}

/* 回到顶部 */
.md-backtop {
  position: fixed; bottom: 92px; right: calc(50% - 375px + 14px);
  width: 42px; height: 42px; border-radius: 50%;
  background: #e6e8ea; color: #9aa0a6;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; z-index: 700;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.md-backtop.show { opacity: 1; pointer-events: auto; }
@media (max-width: 780px) { .md-backtop { right: 14px; } }

/* 照片 */
.photo-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-grid .ph { width: 120px; }
.photo-grid .ph img { width: 120px; height: 150px; object-fit: cover; border-radius: 8px; display: block; }
.blur { filter: blur(18px); }

/* tag */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-row .tag { background: #fff1e6; color: #ff5000; font-size: 12px; padding: 4px 10px; border-radius: 12px; }
.tag-row .tag.green { background: #e6f4ff; color: #1677ff; }

.muted { color: #8f8f8f; }
.tiny { font-size: 11px; }

/* ============ 广场 ============ */
.square-tabs { display: flex; justify-content: space-around; background: #fff; padding: 10px 0; position: sticky; top: 0; z-index: 100; }
.square-tabs span { font-size: 15px; color: #333; padding-bottom: 6px; position: relative; }
.square-tabs span.on { color: #ff5000; font-weight: 600; }
.square-tabs span.on::after {
  content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 18px; height: 3px; background: #ff5000; border-radius: 2px;
}
.post-card { background: #fff; border-radius: 12px; margin: 12px; padding: 16px; }
/* 置顶广告位：绿色虚线边框 + 右上角置顶标 */
.post-card.top { border: 1.5px dotted #ff7a1a; position: relative; }
.post-card .urow { display: flex; align-items: center; gap: 12px; }
.post-card .ava { width: 44px; height: 44px; border-radius: 50%; background: #e8e8e8; object-fit: cover; }
.post-card .pc-uinfo { flex: 1; }
.post-card .nick { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.post-card .time { font-size: 12px; color: #b0b0b0; margin-top: 5px; }
.post-card .top-badge {
  position: absolute; right: 14px; top: 14px;
  background: #ff5000; color: #fff; font-size: 11px;
  padding: 4px 10px; border-radius: 4px;
}
.post-card .content { margin: 14px 0 0; font-size: 15px; line-height: 1.75; color: #333; word-break: break-word; }
.post-card .imgs { display: flex; flex-wrap: wrap; margin: 10px -3px 0; }
.post-card .imgs img { width: 33.33%; padding: 3px; height: 115px; object-fit: cover; border-radius: 6px; }
/* 单图：整行宽、高度限制 210px（裁切，不再撑满整屏） */
.post-card .imgs.one img { width: 100%; height: 210px; padding: 0; border-radius: 6px; }
/* 置顶广告位单图：完整展示海报，不裁切 */
.post-card.top .imgs.one img { height: auto; max-height: 520px; object-fit: cover; }
.post-card .act { display: flex; align-items: center; gap: 20px; margin-top: 12px; color: #9a9a9a; font-size: 12px; }
.post-card .act .on { color: #ff5000; }

/* 广场卡片里的模特信息灰卡 */
.pc-model { background: #f4f5f6; border-radius: 10px; padding: 12px 14px; margin-top: 12px; }
.pc-mrow { display: flex; justify-content: space-between; align-items: center; }
.pc-mname { font-size: 15px; font-weight: 700; color: #1a1a1a; }
.pc-mcity { font-size: 12px; color: #9a9a9a; margin-left: 8px; }
.pc-mlink { font-size: 12px; color: #9a9a9a; }
.pc-mrow2 { margin-top: 14px; align-items: flex-start; }
.pc-complex { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9a9a9a; }
.pc-stars { font-size: 14px; color: #00c896; letter-spacing: 1px; }
.pc-stars .off { color: #cfd3d8; }
.pc-metrics { display: flex; gap: 22px; }
.pc-metric { text-align: center; }
.pc-mv { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.pc-mk { font-size: 11px; color: #9a9a9a; margin-top: 4px; }
.pay-lock {
  margin: 10px 0; background: #f8f9fa; border-radius: 8px; padding: 20px; text-align: center;
  color: #8f8f8f; font-size: 13px;
}
.pay-lock .pbtn { display: inline-block; margin-top: 10px; background: #ff5000; color: #fff; padding: 6px 20px; border-radius: 16px; font-size: 13px; }
.fab {
  position: fixed; right: 16px; bottom: 76px; width: 48px; height: 48px; border-radius: 50%;
  background: #ff5000; color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center;
  z-index: 700; box-shadow: 0 4px 12px rgba(0,200,150,.4);
}

/* ============ 我的 ============ */
.me-head {
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 18px, transparent 18px 55px),
    linear-gradient(135deg, #ff7a1a, #ff5000);
  padding: 28px 16px 64px; color: #fff;
}
.me-head .urow { display: flex; align-items: center; gap: 14px; }
.me-head .ava { width: 64px; height: 64px; border-radius: 50%; background: #fff; object-fit: cover; border: 2px solid rgba(255,255,255,.5); }
.me-head .nick { font-size: 20px; font-weight: 700; }
.me-head .uid { font-size: 12px; opacity: .9; margin-top: 4px; }
.me-vipcard {
  margin: -50px 12px 12px; background: #1a1a1a; border-radius: 12px; padding: 16px;
  display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2;
}
.me-vipcard .l { display: flex; align-items: center; gap: 10px; }
.me-vipcard .crown { width: 30px; height: 30px; }
.me-vipcard .t1 { color: #f5d9a0; font-size: 15px; font-weight: 700; }
.me-vipcard .t2 { color: #8f8f8f; font-size: 11px; margin-top: 3px; }
.me-vipcard .open {
  background: linear-gradient(90deg, #f5d9a0, #e8b96a); color: #1a1a1a;
  padding: 6px 14px; border-radius: 15px; font-size: 12px; font-weight: 700;
}
.me-menu { margin: 0 12px; background: #fff; border-radius: 12px; overflow: hidden; }
.me-menu a {
  display: flex; align-items: center; padding: 16px 14px; font-size: 14px; border-bottom: 1px solid #f5f6f8;
}
.me-menu a:last-child { border-bottom: none; }
.me-menu .ico { width: 20px; height: 20px; margin-right: 12px; color: #333; }
.me-menu .arrow { margin-left: auto; color: #c8c8c8; font-size: 16px; }
.me-menu .val { margin-left: auto; color: #ff5000; font-size: 13px; }
.me-menu .val + .arrow { margin-left: 6px; }
/* 我的解锁 hot 徽章 */
.hot-badge {
  margin-left: 6px; background: linear-gradient(90deg, #ff9a3d, #ff6b00); color: #fff;
  font-size: 9px; font-style: normal; font-weight: 700; padding: 1px 5px;
  border-radius: 8px 8px 8px 2px; transform: translateY(-4px);
}
/* 账户验证两行 */
.verify-row .vr-mid { flex: 1; }
.verify-row .vr-sub { font-size: 11px; color: #b0b0b0; margin-top: 3px; }
.verify-row .vr-right { margin-left: auto; text-align: right; }
.verify-row .vr-status { font-size: 12px; color: #00c896; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.verify-row .vr-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #00c896; }
.verify-row .vr-status.off { color: #ff4d4f; }
.verify-row .vr-status.off .dot { background: #ff4d4f; }
.verify-row .vr-mail { font-size: 11px; color: #b0b0b0; margin-top: 3px; }
.verify-row .arrow { margin-left: 8px; }
/* 退出登录：独立白色卡片按钮 */
.me-logout {
  margin: 12px; background: #fff; border-radius: 12px; text-align: center;
  padding: 16px 0; font-size: 15px; color: #1a1a1a; cursor: pointer;
}
.me-logout:active { opacity: .8; }

/* ============ 会员中心 ============ */
.mber { background: #151531; min-height: 100vh; padding-bottom: 20px; }
.mber .navbar { background: transparent; color: #fff; }
.mber .navbar .back { color: #fff; }
.mber-user {
  margin: 10px 14px 0; background: linear-gradient(135deg, #f7dfae, #eec27e); border-radius: 12px;
  padding: 16px; display: flex; align-items: center; gap: 12px;
}
.mber-user .ava { width: 48px; height: 48px; border-radius: 50%; background: #fff; object-fit: cover; }
.mber-user .nick { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.mber-user .st { font-size: 12px; color: #7a5c2e; margin-top: 3px; }
.mber-list { display: flex; flex-wrap: wrap; padding: 14px 8px; }
.mber-item { width: 33.33%; padding: 6px; }
.mber-item .in { background: #fff; border-radius: 10px; padding: 16px 6px; text-align: center; }
.mber-item .n { font-size: 13px; font-weight: 600; }
.mber-item .p { font-size: 20px; font-weight: 800; margin: 6px 0 2px; }
.mber-item .p i { font-style: normal; font-size: 12px; }
.mber-item .op { font-size: 11px; color: #b0b0b0; text-decoration: line-through; }
.mber-item.free .in { background: linear-gradient(135deg, #f7dfae, #eec27e); }
.mber-item.free .p { color: #d4480f; }
.mber-tip {
  margin: 10px 14px; background: #23234a; color: #f7dfae; text-align: center;
  padding: 12px; border-radius: 10px; font-size: 13px;
}
.mber .open-btn { margin: 14px; }

/* ============ 订单 ============ */
.order-card { background: #fff; border-radius: 10px; margin: 12px; padding: 14px; }
.order-card .no { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.order-card .row { display: flex; font-size: 13px; margin: 7px 0; }
.order-card .row .k { color: #8f8f8f; width: 70px; flex-shrink: 0; }
.order-card .row .v { color: #333; }
.order-card .ops { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }
.order-card .ops button { border: 1px solid #ddd; border-radius: 15px; padding: 5px 14px; font-size: 12px; color: #666; }
.order-card .ops button.pri { border-color: #ff5000; color: #ff5000; }

/* ============ 表单页（登录/注册/资料） ============ */
.form-page { background: #fff; min-height: 100vh; padding: 30px 24px; }
.form-logo { width: 90px; height: 40px; background: #ff5000; color: #fff; font-weight: 900; font-style: italic; display: flex; align-items: center; justify-content: center; font-size: 18px; border-radius: 4px; margin-bottom: 30px; }
.form-title { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.form-item { border-bottom: 1px solid #f0f0f0; padding: 14px 0; display: flex; align-items: center; }
.form-item input { flex: 1; font-size: 15px; }
.form-item .code-btn { color: #ff5000; font-size: 13px; flex-shrink: 0; }
.form-tabs { display: flex; gap: 20px; margin-bottom: 20px; font-size: 14px; color: #8f8f8f; }
.form-tabs span.on { color: #1a1a1a; font-weight: 700; }
.form-agree { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #8f8f8f; margin: 16px 0; }
.form-agree .cb { width: 16px; height: 16px; border: 1px solid #ccc; border-radius: 50%; flex-shrink: 0; margin-top: 1px; }
.form-agree .cb.on { background: #ff5000; border-color: #ff5000; }
.form-agree a { color: #ff5000; }
.form-link { text-align: center; font-size: 13px; color: #8f8f8f; margin-top: 20px; }
.form-link a { color: #ff5000; }

/* ============ 聊天 ============ */
.chat-body { padding: 12px 12px 70px; }
.msg-row { display: flex; margin: 14px 0; gap: 8px; }
.msg-row .ava { width: 38px; height: 38px; border-radius: 50%; background: #e8e8e8; object-fit: cover; flex-shrink: 0; }
.msg-row .bub {
  max-width: 70%; background: #fff; border-radius: 4px 12px 12px 12px; padding: 10px 12px;
  font-size: 14px; line-height: 1.5; word-break: break-all;
}
.msg-row.mine { flex-direction: row-reverse; }
.msg-row.mine .bub { background: #95ec69; border-radius: 12px 4px 12px 12px; }
.msg-row .bub img { max-width: 160px; border-radius: 6px; }
.chat-foot {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 750px; background: #f7f7f7; padding: 8px 10px;
  display: flex; align-items: center; gap: 8px; z-index: 800;
}
.chat-foot input { flex: 1; height: 38px; background: #fff; border-radius: 6px; padding: 0 10px; font-size: 14px; }
.chat-foot .send { background: #ff5000; color: #fff; padding: 0 16px; height: 38px; line-height: 38px; border-radius: 6px; font-size: 14px; }
.chat-foot .tool { font-size: 24px; color: #8f8f8f; }

/* ============ 排行榜 ============ */
.phb {
  position: relative; overflow-x: hidden; min-height: 100vh; padding-bottom: 92px;
  background: linear-gradient(180deg, #ddf7ea 0%, #eefcf6 42%, #ffffff 100%);
}
/* 背景大字水印（卡片内顶部，被卡片圆角裁切） */
.phb-wm {
  position: absolute; top: -6px; left: 0; right: 0; z-index: 0;
  text-align: center; font-size: 38px; font-weight: 800; letter-spacing: 8px;
  color: #c4eedb; white-space: nowrap; pointer-events: none; user-select: none;
}
.phb .navbar { position: relative; z-index: 2; background: transparent; }
.phb-tabs { display: flex; gap: 22px; }
.phb-tabs span { font-size: 15px; color: #5c6f68; }
.phb-tabs span.on { font-size: 16px; font-weight: 800; color: #1a1a1a; }
.phb-region { font-size: 13px; color: #0d8a63; }

/* 主白卡 */
.phb-card {
  position: relative; z-index: 1; margin: 6px 12px 0; overflow: hidden;
  background: #fff; border-radius: 16px; box-shadow: 0 4px 16px rgba(0, 140, 96, .06);
}
.phb-top { position: relative; z-index: 1; padding: 16px 16px 10px; }
.phb-top .t1 { font-size: 17px; font-weight: 800; color: #1a1a1a; }
.phb-top .t2 { font-size: 12px; color: #9aa3a0; margin-top: 8px; }
.phb-top .row2 { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.phb-top .row2 span { font-size: 12px; color: #9aa3a0; }
.phb-frog { position: absolute; right: 2px; top: -4px; width: 92px; pointer-events: none; }

/* 月榜 / 总榜 */
.phb-scope { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 2px 16px 4px; }
.phb-scope span[data-s] {
  padding: 4px 14px; border-radius: 12px; font-size: 12px;
  background: #f1faf6; color: #6b7a74;
}
.phb-scope span[data-s].on { background: #a8efcd; color: #0b6b4c; font-weight: 700; }
.phb-scope .reset { margin-left: auto; font-size: 11px; color: #23b37f; }

/* 前三名领奖台 */
.phb-podium { display: flex; align-items: flex-end; justify-content: center; gap: 6px; padding: 26px 12px 8px; }
.pd-col { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; }
.pd-col.c1 { flex: 1.16; }
.pd-crown { position: absolute; top: -15px; line-height: 0; z-index: 1; }
.pd-ava {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden;
  background: #f3f5f4; border: 3px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
.pd-col.c1 .pd-ava { width: 64px; height: 64px; }
.pd-ava img { width: 100%; height: 100%; object-fit: cover; }
.pd-ava svg { width: 62%; height: 62%; }
.pd-col.c1 .pd-ava { box-shadow: 0 0 0 4px rgba(110, 224, 176, .32); }
.pd-col.c2 .pd-ava { box-shadow: 0 0 0 3px rgba(127, 214, 205, .26); }
.pd-col.c3 .pd-ava { box-shadow: 0 0 0 3px rgba(247, 188, 214, .3); }
.pd-stand {
  width: 100%; min-height: 64px; margin-top: 8px; border-radius: 8px; padding: 10px 2px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; font-size: 12px; font-weight: 700; line-height: 1.45;
}
.pd-col.c1 .pd-stand { min-height: 80px; background: linear-gradient(180deg, #a6efcb, #69dcac); }
.pd-col.c2 .pd-stand { background: linear-gradient(180deg, #a2e6dd, #74cfc4); }
.pd-col.c3 .pd-stand { background: linear-gradient(180deg, #fbd6e5, #f3b6cf); }

/* 非会员提示区 */
.phb-lock { text-align: center; padding: 4px 16px 16px; }
.phb-lock img { width: 140px; display: block; margin: 0 auto; }
.phb-lock .lock-txt { font-size: 13px; color: #3f4a46; }
.phb-lock .lock-sub { font-size: 11px; color: #b6bfbb; margin-top: 10px; }

/* 完整榜单（会员可见） */
.phb-list { position: relative; z-index: 1; margin: 10px 12px 0; background: #fff; border-radius: 14px; padding: 6px 14px; }
.phb-item { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid #f5f6f8; }
.phb-item:last-child { border-bottom: none; }
.phb-item .rank { width: 30px; font-size: 16px; font-weight: 800; color: #b0b0b0; font-style: italic; }
.phb-item .rank.r1 { color: #ff9b30; } .phb-item .rank.r2 { color: #9e9e9e; } .phb-item .rank.r3 { color: #d48a56; }
.phb-item .ava { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #eee; margin-right: 10px; }
.phb-item .info { flex: 1; min-width: 0; }
.phb-item .name { font-size: 14px; font-weight: 600; }
.phb-item .sub { font-size: 11px; color: #8f8f8f; margin-top: 2px; }
.phb-item .hot { margin-left: auto; color: #ff5000; font-size: 13px; font-weight: 600; }

/* 底部固定黑卡 */
.phb-foot {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 900;
  max-width: 726px; margin: 0 auto;
  background: #111; border-radius: 14px; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
}
.phb-foot .l { display: flex; align-items: center; gap: 10px; }
.phb-foot .ico {
  width: 30px; height: 30px; border-radius: 50%; background: #ff5000; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.phb-foot .ico svg { width: 19px; height: 19px; }
.phb-foot .t1 { color: #fff; font-size: 14px; font-weight: 600; }
.phb-foot .t2 { color: #8f8f8f; font-size: 11px; margin-top: 3px; }
.phb-foot .go { background: #ff5000; color: #fff; padding: 8px 18px; border-radius: 16px; font-size: 13px; flex-shrink: 0; }

/* ============ 邀请好友 ============ */
.invite {
  min-height: 100vh; color: #fff;
  background: linear-gradient(180deg, #0b0f2b 0%, #101538 55%, #0d1233 100%);
  padding-bottom: 24px;
}
.invite .navbar { background: transparent; color: #fff; }
.invite .navbar .back { color: #fff; }

/* 顶部主视觉 */
.iv-hero { position: relative; padding-top: 22px; }
.iv-hero-inner { display: flex; flex-direction: column; align-items: center; }
.iv-title {
  font-size: 52px; font-weight: 900; line-height: 1.14; text-align: center; letter-spacing: 2px;
  background: linear-gradient(180deg, #fff6d8 0%, #f6d78e 45%, #e0a94e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.45));
}
.iv-pill {
  margin-top: 18px; padding: 6px 20px; border-radius: 14px;
  background: #f2dfae; color: #6b4a18; font-size: 13px; font-weight: 600;
}
.iv-pic { width: 100%; margin-top: 12px; line-height: 0; }
.iv-pic img { width: 100%; display: block; }
.iv-detail {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  width: 46%; height: 36px; line-height: 36px; text-align: center;
  background: rgba(13,19,45,.62); color: #fff; font-size: 15px; font-weight: 700;
  border-radius: 4px;
}

/* 统计两卡 */
.iv-stat { display: flex; gap: 12px; margin: 16px 16px 0; }
.iv-cell {
  background: #1a2149;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 5px);
  border: 1px solid rgba(255,255,255,.06); border-radius: 4px;
  padding: 14px 16px 12px; color: #fff;
}
.iv-cell.sm { width: 37%; }
.iv-cell.lg { flex: 1; }
.iv-cell .k { font-size: 13px; color: #d5d9ee; display: flex; align-items: center; }
.iv-cell .k em { font-style: normal; margin-left: 4px; color: #d5d9ee; }
.iv-cell .v { font-size: 30px; font-weight: 800; margin-top: 8px; line-height: 1; }
.iv-cell .v i { font-style: normal; font-size: 13px; font-weight: 400; margin-left: 2px; }

/* 邀请链接行 */
.iv-link-row { display: flex; gap: 10px; margin: 12px 16px 0; }
.iv-link {
  flex: 1; min-width: 0; height: 40px; line-height: 38px; padding: 0 10px;
  border: 1px dashed rgba(242,223,174,.5); border-radius: 3px;
  font-size: 14px; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.iv-copy {
  flex-shrink: 0; width: 92px; height: 40px; border-radius: 3px;
  background: #232c5c; border: 1px solid rgba(242,223,174,.35);
  color: #fff; font-size: 14px;
}
.iv-link-tip { margin: 6px 16px 0; text-align: right; font-size: 12px; color: #ff8a3d; }

/* 活动规则 */
.iv-rule {
  margin: 12px 16px 0; padding: 14px 16px; border-radius: 4px;
  background: #171d43; border: 1px solid rgba(255,255,255,.05);
}
.iv-rule .h { font-size: 15px; font-weight: 700; color: #fff; }
.iv-rule .c { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #a9b0cf; }

/* 底部按钮 */
.iv-actions { margin: 18px 14px 0; }
.iv-btn {
  display: block; width: 100%; height: 48px; border-radius: 6px;
  font-size: 17px; font-weight: 700;
}
.iv-btn.gold { background: #f2dfae; color: #4a3410; }
.iv-btn.indigo { background: #2c3a8e; color: #fff; margin-top: 12px; }
.iv-btn:active { opacity: .85; }

/* ============ 收银台 ============ */
.cash-card { background: #fff; border-radius: 12px; margin: 12px; padding: 16px; }
.cash-card .amt { text-align: center; padding: 16px 0; }
.cash-card .amt .v { font-size: 34px; font-weight: 800; }
.cash-card .amt .v i { font-style: normal; font-size: 16px; }
.pay-way { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid #f5f6f8; font-size: 15px; }
.pay-way .radio { width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 50%; margin-left: auto; }
.pay-way .radio.on { border-color: #ff5000; background: #ff5000; box-shadow: inset 0 0 0 4px #fff; }
.qr-box { text-align: center; padding: 16px; }
.qr-box img { width: 220px; height: 220px; margin: 0 auto; border-radius: 8px; }

/* ============ 拼单 ============ */
.pd-time-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0; }
.pd-time {
  width: calc(33.33% - 6px); text-align: center; padding: 10px 4px; border-radius: 8px;
  background: #f5f6f8; font-size: 12px; color: #333;
}
.pd-time.on { background: #ff5000; color: #fff; }
.pd-time.dis { background: #f0f0f0; color: #c0c0c0; }
.pd-date-t { font-size: 14px; font-weight: 700; margin: 14px 0 6px; }

/* ============ 发布评论页 ============ */
.pub-wrap { padding: 12px; }
.pub-mod-bar {
  background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 10px;
  font-size: 13px; color: #666;
}
.pub-mod-bar .green { color: #ff5000; font-weight: 600; }
.pub-card { background: #fff; border-radius: 10px; padding: 14px; margin-bottom: 10px; }
.pub-title-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-bottom: 10px; }
.pub-title { font-weight: 700; font-size: 15px; color: #1a1a1a; }
.pub-title-bar .pub-title { margin-bottom: 0; }
.pub-sub { font-size: 11px; color: #8f8f8f; }
.pub-score-tag { color: #8f8f8f; }

/* ===== 滑块打分 ===== */
.rate-slider {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid #f5f5f5;
  font-size: 13px; color: #333;
}
.rate-slider:last-child { border-bottom: none; }
.rate-slider .rk { flex-shrink: 0; }
.rate-slider .rs { display: flex; align-items: center; gap: 6px; }
.rate-slider .rb {
  width: 26px; height: 26px; border-radius: 13px;
  background: #f2f3f5; color: #666; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rate-slider .rb:active { background: #e0e0e0; }
.rate-slider .rv {
  display: inline-block; min-width: 32px; text-align: center;
  font-size: 14px; font-weight: 700; color: #ff5000;
}
.rate-slider .rb-full {
  padding: 4px 10px; border-radius: 12px;
  background: #fff1e6; color: #ff5000; font-size: 12px; font-weight: 600;
}

/* ===== 主页面标签行 ===== */
.pub-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; align-items: center; }
.pub-tag-sel {
  font-size: 12px; padding: 5px 12px; border-radius: 14px;
  background: #f2f3f5; color: #666; cursor: pointer;
}
.pub-tag-sel.on { background: #ff5000; color: #fff; }
.pub-tag-more {
  font-size: 12px; padding: 5px 12px; border-radius: 14px;
  background: #f8f9fa; color: #8f8f8f; cursor: pointer;
}

/* ===== 标签选择 sheet ===== */
.pub-tag-sheet {
  width: 100%; max-width: 100%; border-radius: 14px 14px 0 0;
  padding-bottom: 0;
}
.sheet-head {
  position: relative; text-align: center; padding: 16px 14px;
  border-bottom: 1px solid #f2f2f2;
}
.sheet-t { font-size: 16px; font-weight: 700; color: #1a1a1a; }
.sheet-x {
  position: absolute; right: 14px; top: 16px;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  color: #999; font-size: 18px; cursor: pointer;
}
.pub-tag-all {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 16px;
  max-height: 50vh; overflow-y: auto;
}
.pub-tag-all-item {
  font-size: 13px; padding: 7px 16px; border-radius: 16px;
  background: #f2f3f5; color: #666; cursor: pointer;
  border: 1px solid transparent;
}
.pub-tag-all-item.on { background: #ff5000; color: #fff; }
.pub-sheet-confirm {
  display: block; width: calc(100% - 28px); margin: 10px 14px 18px;
  height: 46px; line-height: 46px; text-align: center;
  background: #ff5000; color: #fff; font-size: 15px; font-weight: 600;
  border-radius: 23px;
}
.pub-sheet-confirm:active { opacity: .85; }

/* ===== 文本域/输入 ===== */
.pub-textarea {
  width: 100%; border: none; background: #f8f9fa; border-radius: 8px;
  padding: 12px; font-size: 14px; box-sizing: border-box;
  resize: none; min-height: 100px;
}
.pub-input {
  width: 100%; border: none; background: #f8f9fa; border-radius: 8px;
  padding: 12px; font-size: 14px; box-sizing: border-box; margin-top: 4px;
}

/* ===== 媒体上传区 ===== */
.pub-media-upload { display: flex; flex-wrap: wrap; margin-top: 10px; gap: 6px; }
.pub-uploader {
  width: 64px; height: 64px; border-radius: 6px; background: #f2f3f5;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: #c0c0c0; cursor: pointer;
}
.pub-ph img, .pub-ph video {
  width: 64px; height: 64px; object-fit: cover; border-radius: 6px; background: #000;
}

/* ===== 确认发布大按钮 ===== */
.pub-submit-big {
  display: block; width: 100%; height: 50px; line-height: 50px; text-align: center;
  background: #ff5000; color: #fff; font-size: 16px; font-weight: 600;
  border-radius: 25px; margin-top: 16px; box-shadow: 0 2px 10px rgba(0,200,150,.3);
}
.pub-submit-big:active { opacity: .85; }

/* ===== 模特认证申请表 ===== */
.apply-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.apply-row > label { width: 76px; flex-shrink: 0; font-size: 14px; color: #333; }
.apply-row input, .apply-row select {
  flex: 1; height: 38px; background: #f7f7f7; border-radius: 6px;
  padding: 0 10px; font-size: 14px; box-sizing: border-box; min-width: 0;
}
.apply-row .multi { display: flex; flex: 1; gap: 8px; min-width: 0; }
.apply-row .multi input { flex: 1; }
.apply-textarea {
  width: 100%; background: #f7f7f7; border-radius: 6px; padding: 10px;
  font-size: 14px; min-height: 90px; box-sizing: border-box; resize: none;
}
.apply-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.apply-tags label {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: #333; background: #f7f7f7;
  padding: 6px 10px; border-radius: 14px;
}
.apply-tags input { width: auto; height: auto; }
.apply-cover { width: 100px; height: 130px; object-fit: cover; border-radius: 6px; }
.apply-media { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.apply-media .item { position: relative; }
.apply-media img, .apply-media video {
  width: 72px; height: 96px; object-fit: cover; border-radius: 6px; background: #000;
}
.apply-media .del {
  position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; line-height: 16px;
  text-align: center; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 12px;
}
.apply-uploader {
  width: 72px; height: 96px; border-radius: 6px; background: #f2f3f5;
  display: flex; align-items: center; justify-content: center; font-size: 30px; color: #c0c0c0;
}
.apply-status-card {
  background: #fff; border-radius: 10px; padding: 24px 16px; margin-bottom: 10px;
  text-align: center; font-size: 14px; color: #333; line-height: 1.8;
}
.apply-status-card .big { font-size: 18px; font-weight: 700; color: #00c896; margin-bottom: 6px; }
.apply-status-card .reject { color: #ff4757; }

/* 动态视频区 */
.cm-videos { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 12px; }
.cm-videos video { width: 100%; border-radius: 8px; background: #000; }

/* 图片全屏预览 */
.img-viewer {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center; cursor: zoom-out;
}
.img-viewer.show { display: flex; }
.img-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; }
.img-viewer .close {
  position: absolute; top: 14px; right: 16px; color: #fff; font-size: 26px;
  line-height: 1; padding: 8px; z-index: 2;
}
.cm-imgs img { cursor: zoom-in; }
.photo-grid .ph img { cursor: zoom-in; }
