/*!
 * partner.css — 「约个搭子」四页样式（P02-B 列表 / P13 详情 / P14 预约 / P15 我的搭子）
 * ---------------------------------------------------------------------------
 * 依据：docs/ui_design_client/07_搭子四页_设计规格_v1.0.md
 *
 * 三条硬约束（改动前先读）：
 *   1) 令牌零新增：颜色/圆角/阴影只用 wi-ds.css 既有 --wi-*；11px 走既有白名单
 *      （Tab 文字同款）。任何位置**不得**出现 --wi-accent（暖金）。
 *   2) 安全区是**独立两段**，不并入顶栏/Tab/底栏。顶栏 48、Tab 56、详情底栏 64、
 *      预约底栏 72 都是**外框总高**；1px 分隔线一律用 inset box-shadow 画，
 *      不占布局高度 —— 否则 390 档内容区会从 659 变 657，六段相加对不上屏高。
 *   3) 固定高的卡/条内部只用 flex 分配剩余空间，不给子元素留 flex-shrink 余量；
 *      卡高被压缩时会出现"文字被切一半"（设计规格 §12.3 的真坑）。
 */

/* ───────────────────────────── 页面骨架 ───────────────────────────── */

/* Tab 的 1px 归属（只作用于搭子四页）
   wi-ds.css 的 .wi-tabbar 是 content-box + border-top 1px + padding-bottom: env(...)，
   实占 = 56 + 1 + 安全区。设计规格要求 Tab 56 是**外框含 1px**、安全区独立一段，
   实占 = 56 + 安全区，六段相加才等于屏高。这里把这条 1px 改画成 inset 阴影，
   视觉不变、布局少 1px；body 开关由 app.js 的 go() 维护，其它页面完全不受影响。 */
body.mode-partner #tabbar {
  border-top: 0;
  box-shadow: inset 0 1px 0 var(--wi-line);
}
/* 二级页（详情 / 预约）没有 Tab —— 设计规格 §5.1 / §6.2 的段落表里就没有这一段 */
body.mode-partner-sub #tabbar { display: none; }

.p-pane {
  /* 安全区两段：env() 在真机上取值，几何自检用 CDP 的 setSafeAreaInsetsOverride 注入 */
  --p-sb-top: env(safe-area-inset-top, 0px);
  --p-sb-bottom: env(safe-area-inset-bottom, 0px);
  overflow: hidden;
  background: var(--wi-paper);
}

.p-sb { flex: 0 0 auto; height: var(--p-sb-top); background: var(--wi-card); }
.p-sb--b { height: var(--p-sb-bottom); }

/* 顶栏：48 外框，1px 分隔线用 inset 阴影 */
.p-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  box-sizing: border-box;
  padding: 0 8px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  box-shadow: inset 0 -1px 0 var(--wi-line);
  position: relative;
  z-index: 3;
}
.p-nav__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--wi-ink);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-nav__title--left { text-align: left; padding-left: 4px; }
.p-navbtn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 8px;
  color: var(--wi-ink-2);
  background: transparent;
  border: 0;
}
.p-navbtn:active { background: var(--wi-paper); }
.p-nav__slot { flex: 0 0 44px; }
.p-nav__meta { flex: 0 0 auto; font-size: 11px; line-height: 15px; color: var(--wi-muted); padding-right: 8px; }

/* 滚动区：唯一弹性段 */
.p-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ───────────────────────────── 分段控件 ───────────────────────────── */
/* 48 = 6 + 36 + 6；滑块 30 = 36 - 3×2；滑块宽 = (屏宽 - 38) / 2 */
.p-seg {
  flex: 0 0 auto;
  height: 48px;
  box-sizing: border-box;
  padding: 6px 16px;
  background: var(--wi-paper);
}
.p-seg__track {
  position: relative;
  height: 36px;
  box-sizing: border-box;
  padding: 3px;
  border-radius: 10px;
  background: #f3f2ee; /* wi-ds.css:1257 .wi-tag--neutral 既有底色，非新增色 */
  display: flex;
}
.p-seg__item {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  line-height: 30px;
  color: var(--wi-muted);
  transition: color 120ms ease;
}
.p-seg__item.is-on { color: var(--wi-primary); }
.p-seg__thumb {
  position: absolute;
  z-index: 1;
  top: 3px; left: 3px;
  width: calc((100% - 6px) / 2);
  height: 30px;
  border-radius: 8px;
  background: var(--wi-card);
  box-shadow: 0 1px 2px rgba(20, 32, 28, .10);
  transition: transform 220ms cubic-bezier(.4, 0, .2, 1);
}
.p-seg[data-on="b"] .p-seg__thumb { transform: translateX(100%); }

/* ───────────────────────────── 分类条 / 筛选条 ───────────────────────────── */
/* R82：分类条升级为「大框 + 五宫格」（客户 2026-11-10 指定）——通栏 bar 改圆角卡片大框，
   框内网格固定 5 列：6 个项目（全部 + 5 分类）= 第一行 5 颗 + 第二行 1 颗，自动换行。
   高度交给内容，不再锁 min-height。 */
.p-catwrap {
  flex: 0 0 auto; position: relative; height: auto;
  margin: 8px 12px; padding: 8px; box-sizing: border-box;
  /* R97：大框改墨绿底（--wi-primary 令牌），白芯片浮出更醒目。
     ⚠️ 选中芯片 .pcat-item.is-on 原来是墨绿底白字 —— 在墨绿大框里会隐身，
     已同步改成浅绿底 + 墨绿描边（见下方 R97 注），与服务页 .is-active 同语言。 */
  background: var(--wi-primary);
  border: 1px solid var(--wi-primary);
  border-radius: var(--wi-r-md);
}
/* 这条右侧渐隐遮罩是给「横向滚动」用的提示：现在一格不少全放得下、不再滚动，
   留着只会把最后一颗分类的颜色洗白。R81 起关掉。 */
.p-catwrap::after { display: none; }
/* 分类条：等分铺满一行（R81 客户要求「五个分类做成五宫格」）。
   原来 .pcat-item 写死 width:70px，6 颗 = 6×70 + 5×8 = 460 > 343（390 屏），
   必须横滑，最后一颗「约看日出」被右边缘裁掉半颗 —— 客户截图就是这一屏。
   现在：全部 = auto 列，分类各占 1fr，一行放得下、不滚动。
   ⚠️ 列数由 partner.js 的 renderCats() 按分类数写 inline style。 */
/* R82：框内 .p-cat 不再自带 padding（外框已给 8px），列固定 5 等分；
   gap 6 / chip 横向 padding 4 是 R81 实测口径（8px gap 时「约看日出」会被省略成「约看日…」）。 */
.p-cat {
  box-sizing: border-box;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}
.pcat-item {
  width: 100%;
  min-width: 0;
  height: 30px;
  padding: 0 4px;
  border: 0;
  /* R83：客户明确「不是胶囊，是方框」——999px 药丸形改 8px 圆角矩形（--wi-r-sm） */
  border-radius: var(--wi-r-sm);
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  font-size: 12px;
  font-weight: 400;
  color: var(--wi-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* R97/R99：大框改墨绿后，选中芯片不能再用墨绿底（会隐身）——
   与「服务项目」页 .wi-quickchip.is-active **完全对齐**：同浅绿底（--wi-primary-050）、
   同边框色（#d7e5dc，wi-ds 里 is-active 用的就是这个值）、同深绿字（--wi-primary-700），
   保证两个页面的胶囊视觉一致。芯片内部只有这两处颜色变化，其它尺寸/圆角/字号不动。 */
.pcat-item.is-on {
  background: var(--wi-primary-050);
  box-shadow: inset 0 0 0 1px #d7e5dc;
  color: var(--wi-primary-700);
  font-weight: 600;
}

/* P15 筛选条：chip 自适应宽（5 项 330 < 343，不溢出） */
.p-cat--auto { padding: 7px 16px; }
.p-cat--auto .pcat-item { width: auto; padding: 0 12px; }

/* ───────────────────────────── P02-B 列表 ───────────────────────────── */

.p-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 8px 16px 24px;
  box-sizing: border-box;
}

/* R70：列表 2 宫格（客户要求一行两个）。间距走 gap，卡片的 margin-bottom 清零 */
#pListInner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* 卡片高度改自适应（原 235 = 封面 132 + 信息区 103 是按整行卡定的，
   两列后卡宽从 358 缩到 ~171，封面等比压到 104；1px 描边走 box-shadow（不占高度） */
.pcard {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: 0 0 0 1px var(--wi-line),
              0 1px 2px rgba(26, 36, 32, .045),
              0 6px 16px -6px rgba(26, 36, 32, .08);
  overflow: hidden;
  text-align: left;
}
/* R152：选中态 —— 顶部媒体卡正在展示的那一张。用 2px 主色描边（描边走 box-shadow，
   不占布局），与「服务项目」页 .m-svc__item.is-on 同语言。 */
.pcard.is-on {
  box-shadow: 0 0 0 2px var(--wi-primary),
              0 1px 2px rgba(26, 36, 32, .045),
              0 6px 16px -6px rgba(26, 36, 32, .08);
}
.pcard__cover {
  position: relative;
  width: 100%;
  /* R79：客户要求「搭子这里的图片做成 16:9 固定比例」（原为写死 height: 104px）。
     高度不再由数值定，改由宽度按 16:9 推：390 视口 2 宫格卡宽 173 ⇒ 实测 173×97.31；
     若列表回到单列 358 ⇒ 358×201。比例恒为 16:9，换列数/换屏宽都不必再改数值。 */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  /* 无图兜底：渐变底 + 首字水印（版式与有图完全一致） */
  background: linear-gradient(135deg, #16594a 0%, #0d3b30 62%, #14201c 100%);
}
.pcard__cover > img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.pcard__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 16, .52), rgba(8, 20, 16, .14) 30%, transparent 56%);
  pointer-events: none;
}
.pcard__mark {
  position: absolute;
  right: 12px; bottom: -6px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .11);
  pointer-events: none;
  user-select: none;
}
/* R127：原左上角「时长」胶囊（.pcard__dur）已随需求移除，样式一并删除；
   封面只剩右上成行角标与底部场次时间，不再有左右两颗胶囊争位的约束。 */

/* 成行角标：22 高 / 11px / 圆点 5 / tabular-nums */
.pbadge {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  /* R127：左侧时长胶囊移除后，本角标是封面顶部唯一元素，内边距沿用 R79 的 6px，
     视觉尺寸保持不变（不回改 8px，避免上线后卡片观感变化）。 */
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 600;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pbadge i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 5px;
}
.pbadge--ok { color: var(--wi-success); box-shadow: inset 0 0 0 1px #d5e9dd; }
.pbadge--warn { color: var(--wi-warn); box-shadow: inset 0 0 0 1px #efe3be; }
.pbadge--full { color: var(--wi-muted); box-shadow: inset 0 0 0 1px var(--wi-line); background: rgba(255, 255, 255, .88); }

.pcard__next {
  position: absolute;
  left: 11px; bottom: 9px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  line-height: 15px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pcard__next svg { display: block; }
.pcard__next.is-empty { color: rgba(255, 255, 255, .72); text-shadow: none; }

.pcard__bd {
  box-sizing: border-box;
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
}
.pcard__row { display: flex; align-items: flex-start; gap: 6px; }
.pcard__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 19px;
  color: var(--wi-ink);
  /* R70：两列后卡宽减半，局名 8~10 字单行截成 3~4 字没法认，
     允许两行（clamp），同行卡片由 grid stretch 对齐高度 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcard__price {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--wi-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.pcard__price b { font-size: 10px; font-weight: 600; opacity: .72; }
.pcard__price em { font-size: 17px; font-weight: 700; line-height: 20px; font-style: normal; }
.pcard__price s { font-size: 10px; font-weight: 600; text-decoration: none; }
.pcard__sub {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  color: var(--wi-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__foot {
  margin-top: 8px;
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pcard__who {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pcard__avas { display: flex; align-items: center; padding-left: 5px; }
.pcard__ava {
  width: 17px; height: 17px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--wi-primary-050);
  color: var(--wi-primary-700);
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 2.5px var(--wi-line);
  overflow: hidden;
}
.pcard__avatx {
  font-size: 10px;
  line-height: 14px;
  color: var(--wi-muted);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pcard__go {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 24px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: var(--wi-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
}
.pcard__go svg { display: block; }

/* ───────────────────────────── 四态（列表内，不覆盖全屏） ───────────────────────────── */

.p-state { padding: 48px 16px; text-align: center; }
.p-state__icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wi-muted);
}
.p-state__title { font-size: 15px; font-weight: 600; line-height: 22px; color: var(--wi-ink); }
.p-state__desc { margin-top: 4px; font-size: 12px; line-height: 18px; color: var(--wi-muted); }
.p-state__code {
  margin-top: 8px;
  font-size: 11px;
  line-height: 15px;
  color: #b2605a;
  font-family: var(--wi-font-mono);
  word-break: break-all;
}
.p-state__acts { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.p-state__btn {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--wi-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.p-state__btn--ghost {
  background: var(--wi-card);
  color: var(--wi-ink-2);
  box-shadow: inset 0 0 0 1px var(--wi-line);
}

/* 骨架：与真卡同构（132 + 16/11/11），总高 235 */
.pskel {
  height: 235px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: 0 0 0 1px var(--wi-line);
  overflow: hidden;
}
.pskel__cov {
  height: 132px;
  background: linear-gradient(90deg, #f0eee8 25%, #f7f6f3 37%, #f0eee8 63%);
  background-size: 400% 100%;
  animation: pshine 1.4s ease infinite;
}
.pskel__bd { padding: 11px 12px; }
.pskel__line {
  height: 16px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0eee8 25%, #f7f6f3 37%, #f0eee8 63%);
  background-size: 400% 100%;
  animation: pshine 1.4s ease infinite;
}
.pskel__line + .pskel__line { margin-top: 7px; height: 11px; }
.pskel__line:last-child { width: 46%; }
@keyframes pshine { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ───────────────────────────── P13 详情 ───────────────────────────── */

/* R115：头图统一 16:9 —— 与服务详情 .m-detail__cover 同比例。
   原来是三档固定高（120/152/168），同屏宽下比服务详情矮一截；
   改 aspect-ratio 后高度随屏宽自适应，img 仍是 object-fit: cover
   （absolute inset:0），任何原始比例的图都裁剪填充，不会拉伸变形。 */
.p-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  background: linear-gradient(135deg, #16594a 0%, #0d3b30 62%, #14201c 100%);
}
.p-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.p-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8, 20, 16, .48), rgba(8, 20, 16, .10) 42%, transparent 70%);
}
.p-hero__mark {
  position: absolute;
  right: 16px; bottom: -10px;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: rgba(255, 255, 255, .11);
  user-select: none;
}
.p-hero__chip {
  position: absolute;
  left: 16px; bottom: 12px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 11px;
  font-weight: 500;
  line-height: 22px;
  color: var(--wi-ink-2);
  white-space: nowrap;
}

/* 标题区 93 = 14 + 24 + 6 + 17 + 10 + 22 */
.p-titleblk {
  height: 93px;
  box-sizing: border-box;
  padding: 14px 16px 0;
  background: var(--wi-card);
}
.p-titleblk__t {
  font-size: 17px;
  font-weight: 600;
  line-height: 24px;
  color: var(--wi-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-titleblk__s {
  margin-top: 6px;
  font-size: 12px;
  line-height: 17px;
  color: var(--wi-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-titleblk__tags { margin-top: 10px; height: 22px; display: flex; gap: 6px; overflow: hidden; }
.ptag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
}
.ptag--warn { color: var(--wi-warn); background: var(--wi-warn-bg); box-shadow: inset 0 0 0 1px #efe3be; }
.ptag--ok { color: var(--wi-success); background: var(--wi-success-bg); box-shadow: inset 0 0 0 1px #d5e9dd; }
.ptag--mute { color: var(--wi-muted); background: var(--wi-card); box-shadow: inset 0 0 0 1px var(--wi-line); }
.ptag i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* 安全提示条 60：常驻、不可折叠、不截断（合规五项要素见 §5.5） */
.p-safebar {
  position: relative;
  flex: 0 0 auto;
  height: 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px 0 15px;
  background: var(--wi-warn-bg);
  box-shadow: inset 0 1px 0 #efe3be, inset 0 -1px 0 #efe3be;
  overflow: hidden;
}
.p-safebar::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--wi-warn);
}
.p-safebar__ic { flex: 0 0 auto; color: var(--wi-warn); display: flex; }
.p-safebar__txt { flex: 1 1 auto; min-width: 0; }
.p-safebar__l1 {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: var(--wi-ink-2);
  white-space: normal;
}
.p-safebar__l2 {
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  color: var(--wi-warn);
  white-space: normal;
}
.p-safebar__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px #e8c9c6;
  color: var(--wi-danger);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* 区块头 44 */
.p-sechead {
  height: 44px;
  box-sizing: border-box;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--wi-paper);
}
.p-sechead__t { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wi-ink); }
.p-sechead__x { font-size: 11px; line-height: 15px; color: var(--wi-muted); white-space: nowrap; }

/* 日期横滑 84 = 8 + 68 + 8 */
.p-dates {
  height: 84px;
  box-sizing: border-box;
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  background: var(--wi-paper);
}
.p-dates::-webkit-scrollbar { display: none; }
.p-date-item {
  flex: 0 0 62px;
  width: 62px;
  height: 68px;
  box-sizing: border-box;
  padding: 9px 0;
  border: 0;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.p-date-item b {
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  color: var(--wi-muted);
}
.p-date-item em {
  font-size: 17px;
  font-weight: 600;
  line-height: 20px;
  font-style: normal;
  color: var(--wi-ink);
  font-variant-numeric: tabular-nums;
}
.p-date-item s {
  font-size: 11px;
  font-weight: 400;
  line-height: 13px;
  color: var(--wi-muted);
  text-decoration: none;
}
.p-date-item.is-on { background: var(--wi-primary); box-shadow: none; }
.p-date-item.is-on b, .p-date-item.is-on s { color: rgba(255, 255, 255, .72); }
.p-date-item.is-on em { color: #fff; }
.p-date-item:disabled { background: var(--wi-paper); box-shadow: inset 0 0 0 1px var(--wi-line-2); }
.p-date-item:disabled b, .p-date-item:disabled em, .p-date-item:disabled s { color: #a8b0a9; }

/* 场次项 60 */
.p-sessions { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }
.p-slot {
  width: 100%;
  height: 60px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.p-slot__l { flex: 1 1 auto; min-width: 0; }
.p-slot__t {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: var(--wi-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-slot__s {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 400;
  line-height: 15px;
  color: var(--wi-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-slot__r { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.p-slot.is-on { background: var(--wi-primary-050); box-shadow: inset 0 0 0 1px var(--wi-primary), inset 0 0 0 2px var(--wi-primary-050); }
.p-slot.is-on .p-slot__t { color: var(--wi-primary); }
.p-slot.is-full { background: var(--wi-paper); box-shadow: inset 0 0 0 1px var(--wi-line-2); }
.p-slot.is-full .p-slot__t { color: var(--wi-muted); font-weight: 500; }
.p-slot__next {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 11px;
  line-height: 15px;
  color: var(--wi-primary);
  text-decoration: underline;
}

.ptag-s {
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 22px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.ptag-s i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.ptag-s--ok { color: var(--wi-success); background: var(--wi-success-bg); }
.ptag-s--warn { color: var(--wi-warn); background: var(--wi-warn-bg); }
.ptag-s--danger { color: var(--wi-danger); background: var(--wi-danger-bg); }
.ptag-s--mute { color: var(--wi-muted); background: var(--wi-paper); box-shadow: inset 0 0 0 1px var(--wi-line); }

/* 某日无场次的占位（不铺满，不抢走顶栏/日期条的入口） */
.p-empty-inline {
  padding: 16px 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  font-size: 12px;
  line-height: 18px;
  color: var(--wi-muted);
  text-align: center;
}

/* 满场提示条 56 */
.p-fulltip {
  margin: 0 16px 12px;
  height: 56px;
  box-sizing: border-box;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--wi-warn-bg);
  box-shadow: inset 0 0 0 1px #efe3be;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  line-height: 18px;
  color: var(--wi-warn);
}

/* 集合地点卡 128 */
.p-meet {
  height: 128px;
  box-sizing: border-box;
  margin: 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  flex-direction: column;
}
.p-meet__hd { height: 18px; display: flex; align-items: center; justify-content: space-between; }
/* R360：K 歌多一行歌曲偏好（16px 行高 + 4px 间距）⇒ 卡片同步加高 20px，
   地图区高度不变。不改 .p-meet 的基础高度是因为另外 7 个服务共用 128px，
   加高会把它们的版式一起顶下去。 */
/* 带「偏好行」（唱 / 喝）的集合卡：128 + 20 = 148。
   .p-meet--ktv 是 R360 的旧名，保留同高是为了老页面缓存里已生成的 DOM 不塌。 */
.p-meet--pref, .p-meet--ktv { height: 148px; }
.p-meet__k { font-size: 12px; font-weight: 600; line-height: 18px; color: var(--wi-ink-2); }
.p-meet__n { margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wi-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-meet__a { font-size: 12px; line-height: 17px; color: var(--wi-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* R360：K 歌场次的歌曲偏好（「唱 华语流行 · 粤语老歌」）。
   卡在地址与地图之间，用 accent 色 + 麦克风图标 —— 与需求单卡片上的
   .dm-item__ktv 同一套语义色，用户在两处看到的"这首歌"是同一个东西。 */
.p-meet__song {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--wi-accent);
}
.p-meet__song svg { width: 13px; height: 13px; display: block; }
.p-meet__map {
  margin-top: 6px;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, rgba(13, 59, 48, .06) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, rgba(13, 59, 48, .06) 0 1px, transparent 1px 14px),
    var(--wi-primary-050);
  position: relative;
  overflow: hidden;
}
.p-meet__pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  font-size: 11px;
  font-weight: 500;
  line-height: 22px;
  color: var(--wi-primary);
  white-space: nowrap;
}
.p-meet__nav {
  position: absolute;
  right: 6px; bottom: 6px;
  height: 24px;
  padding: 0 8px;
  border: 0;
  border-radius: 999px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  color: var(--wi-ink-2);
}

/* 成行规则卡 80 */
.p-rule {
  height: 80px;
  box-sizing: border-box;
  margin: 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.p-rule__t { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--wi-ink); }
.p-rule__l { font-size: 11px; font-weight: 400; line-height: 15px; color: var(--wi-muted); }
.p-rule__l b { font-weight: 600; color: var(--wi-ink-2); }

/* 陪伴师区 152 = 44 + 8 + 84 + 16 */
.p-coachhd { height: 44px; box-sizing: border-box; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; }
.p-coachrow {
  height: 84px;
  box-sizing: border-box;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}
.p-coachrow::-webkit-scrollbar { display: none; }
.pcoach {
  flex: 0 0 188px;
  width: 188px;
  height: 84px;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  gap: 10px;
  text-align: left;
  border: 0;
}
.pcoach__ava {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
}
.pcoach__ava[data-tone="0"] { background: var(--wi-primary-050); color: var(--wi-primary-700); }
.pcoach__ava[data-tone="1"] { background: var(--wi-info-bg); color: var(--wi-info); }
.pcoach__ava[data-tone="2"] { background: var(--wi-warn-bg); color: var(--wi-warn); }
.pcoach__ava[data-tone="3"] { background: var(--wi-success-bg); color: var(--wi-success); }
.pcoach__bd { flex: 1 1 auto; min-width: 0; }
.pcoach__n { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wi-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcoach__m { font-size: 11px; line-height: 15px; color: var(--wi-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.pcoach__v { margin-top: 2px; font-size: 11px; line-height: 15px; color: var(--wi-success); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-coachpad { height: 16px; }

/* 详情底栏 64：10 + 44 + 10，1px 上边框用 inset 阴影 */
.p-cta {
  flex: 0 0 auto;
  height: 64px;
  box-sizing: border-box;
  padding: 10px 16px;
  background: rgba(255, 255, 255, .97);
  box-shadow: inset 0 1px 0 var(--wi-line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.p-cta--book {
  height: 72px;
  padding: 10px 16px;
  align-items: flex-start;
  gap: 12px;
}
.p-cta__info { flex: 1 1 auto; min-width: 0; }
.p-cta__price {
  display: flex;
  align-items: baseline;
  color: var(--wi-ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.p-cta__price b { font-size: 11px; font-weight: 600; opacity: .72; }
.p-cta__price em { font-size: 19px; font-weight: 700; line-height: 22px; font-style: normal; }
.p-cta__price s { font-size: 11px; font-weight: 600; text-decoration: none; }
.p-cta__desc {
  height: 14px;
  font-size: 11px;
  line-height: 14px;
  color: var(--wi-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-cta__safe {
  height: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--wi-muted);
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-cta__safe svg { flex: 0 0 auto; color: var(--wi-warn); }
.p-btn {
  flex: 0 0 auto;
  height: 44px;
  min-width: 112px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--wi-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.p-btn--block { flex: 1 1 auto; }
.p-btn:disabled { background: #c9d3ce; color: #fff; }
.p-cta--book .p-btn { margin-top: 4px; }

/* ───────────────────────────── P14 预约 ───────────────────────────── */

/* 步骤条 60 = 8 + 26 + 4 + 14 + 8 */
.p-steps {
  flex: 0 0 auto;
  height: 60px;
  box-sizing: border-box;
  padding: 8px 16px;
  display: flex;
  background: var(--wi-card);
  box-shadow: inset 0 -1px 0 var(--wi-line-2);
}
.pstep {
  flex: 1 1 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pstep__dot {
  position: relative;
  z-index: 2;
  width: 26px; height: 26px;
  border-radius: 50%;
  box-sizing: border-box;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--wi-muted);
  line-height: 1;
}
.pstep__lb { font-size: 11px; line-height: 14px; color: var(--wi-muted); white-space: nowrap; }
.pstep__ln {
  position: absolute;
  top: 13px;
  right: 50%;
  left: -50%;
  height: 1px;
  background: var(--wi-line);
  z-index: 1;
}
.pstep:first-child .pstep__ln { display: none; }
.pstep.is-done .pstep__dot { background: var(--wi-primary); box-shadow: none; color: #fff; }
.pstep.is-done .pstep__lb { color: var(--wi-ink-2); }
.pstep.is-done .pstep__ln { background: var(--wi-primary); }
.pstep.is-on .pstep__dot { box-shadow: inset 0 0 0 1px var(--wi-primary), 0 0 0 3px var(--wi-primary-050); color: var(--wi-primary); }
.pstep.is-on .pstep__lb { color: var(--wi-primary); font-weight: 600; }

.pb-step { display: none; padding: 12px 0 24px; }
.pb-step.is-active { display: block; }

/* 服务摘要卡 92 */
.p-sum {
  height: 92px;
  box-sizing: border-box;
  margin: 0 16px 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  gap: 12px;
}
.p-sum__cv {
  flex: 0 0 56px;
  width: 56px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #16594a 0%, #0d3b30 62%, #14201c 100%);
  color: rgba(255, 255, 255, .9);
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-sum__cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-sum__bd { flex: 1 1 auto; min-width: 0; }
.p-sum__t { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wi-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-sum__l { font-size: 11px; line-height: 15px; color: var(--wi-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 区块头 24 + 8 */
.p-bhead {
  padding: 0 16px;
  height: 32px;
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.p-bhead__t { font-size: 13px; font-weight: 600; line-height: 24px; color: var(--wi-ink); }
.p-bhead__x { font-size: 11px; line-height: 24px; color: var(--wi-muted); white-space: nowrap; }

/* 步骤 1 集合地点（卡 80） */
.p-meet-mini {
  margin: 0 16px;
  min-height: 80px;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
}
.p-meet-mini__n { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wi-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-meet-mini__a { font-size: 12px; line-height: 17px; color: var(--wi-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-meet-mini__r { margin-top: 4px; font-size: 11px; line-height: 15px; color: var(--wi-muted); }
/* R360：报名页 K 歌的歌曲偏好（同 .p-meet__song 的语义色，两页一致） */
.p-meet-mini__s {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
  color: var(--wi-accent);
}
.p-meet-mini__s svg { width: 12px; height: 12px; display: block; }

/* 步骤 2 步进器 56 */
.p-stepper {
  height: 56px;
  box-sizing: border-box;
  margin: 0 16px 12px;
  padding: 0 10px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.p-stepper__btn {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  color: var(--wi-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-stepper__btn:disabled { background: var(--wi-paper); color: #c3c8c2; box-shadow: inset 0 0 0 1px var(--wi-line-2); }
.p-stepper__mid { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.p-stepper__n { font-size: 20px; font-weight: 600; line-height: 26px; color: var(--wi-ink); font-variant-numeric: tabular-nums; }
.p-stepper__u { font-size: 11px; line-height: 13px; color: var(--wi-muted); }

/* 成行卡 81 */
.p-prog {
  height: 81px;
  box-sizing: border-box;
  margin: 0 16px 12px;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
}
.p-prog__hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 20px; }
.p-prog__t { font-size: 13px; font-weight: 600; line-height: 20px; color: var(--wi-warn); }
.p-prog__t.is-ok { color: var(--wi-success); }
.p-prog__n { font-size: 11px; line-height: 15px; color: var(--wi-muted); font-variant-numeric: tabular-nums; }
.pb-pbar {
  margin-top: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--wi-line-2);
  overflow: hidden;
}
.pb-pbar > i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--wi-warn);
  transition: width 180ms ease;
}
.pb-pbar > i.is-ok { background: var(--wi-success); }
.p-prog__d { margin-top: 6px; font-size: 11px; line-height: 15px; color: var(--wi-muted); }

/* 费用卡 80 */
.p-fee {
  min-height: 80px;
  box-sizing: border-box;
  margin: 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
}
.p-fee__t { font-size: 13px; font-weight: 600; line-height: 20px; color: var(--wi-ink); font-variant-numeric: tabular-nums; }
.p-fee__l { margin-top: 2px; font-size: 11px; line-height: 15px; color: var(--wi-muted); }

/* 步骤 3 表单 */
.p-form { padding: 0 16px; }
.p-field { margin-bottom: 12px; }
.p-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--wi-ink-2); }
.p-label i { color: var(--wi-danger); font-style: normal; margin-left: 2px; }
.p-input {
  display: block;
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  font-size: 14px;
  color: var(--wi-ink);
  font-family: inherit;
}
.p-input::placeholder { color: var(--wi-muted); }
.p-input:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--wi-primary); }
.p-textarea {
  display: block;
  width: 100%;
  height: 72px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  font-size: 14px;
  line-height: 20px;
  color: var(--wi-ink);
  font-family: inherit;
  resize: none;
}
.p-hint { margin-top: 4px; font-size: 11px; line-height: 15px; color: var(--wi-muted); }
.p-grp {
  margin: 16px 0 10px;
  padding-top: 14px;
  box-shadow: inset 0 1px 0 var(--wi-line);
  display: flex;
  align-items: center;
  gap: 6px;
}
.p-grp__t { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--wi-warn); }
.p-grp__d { margin-bottom: 12px; font-size: 11px; line-height: 16px; color: var(--wi-muted); }
.p-formerr {
  margin: 0 16px 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--wi-warn-bg);
  box-shadow: inset 0 0 0 1px #efe3be;
}
.p-formerr__t { font-size: 13px; font-weight: 600; line-height: 18px; color: var(--wi-warn); }
.p-formerr__c { margin-top: 2px; font-size: 11px; line-height: 15px; color: #b2605a; font-family: var(--wi-font-mono); word-break: break-all; }
.p-formerr__d { margin-top: 2px; font-size: 11px; line-height: 15px; color: var(--wi-warn); }

/* ───────────────────────────── P15 我的搭子 ───────────────────────────── */

.p-ordlist { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 16px 24px; box-sizing: border-box; }

/* 订单卡 164；子元素一律 flex: 0 0 auto（高度固定时任何一行被压缩都会切字） */
.pord {
  height: 164px;
  box-sizing: border-box;
  padding: 12px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--wi-card);
  box-shadow: var(--wi-sh-sm), inset 0 0 0 1px var(--wi-line);
  display: flex;
  flex-direction: column;
}
.pord:last-child { margin-bottom: 0; }
.pord > * { flex: 0 0 auto; }
.pord__r1 { height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pord__t { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--wi-ink); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pord__n { margin-top: 6px; height: 18px; font-size: 13px; line-height: 18px; color: var(--wi-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pord__a { margin-top: 6px; height: 17px; display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 17px; color: var(--wi-muted); }
.pord__a span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pord__hr { margin: 9px 0 0; height: 1px; background: var(--wi-line-2); }
.pord__r4 { margin-top: 9px; height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pord__p { display: flex; align-items: baseline; gap: 0; font-size: 11px; color: var(--wi-muted); white-space: nowrap; }
.pord__p em { font-size: 15px; font-weight: 600; font-style: normal; color: var(--wi-ink); font-variant-numeric: tabular-nums; }
.pord__acts { display: flex; gap: 8px; }
.pordbtn {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--wi-card);
  box-shadow: inset 0 0 0 1px var(--wi-line);
  font-size: 12px;
  font-weight: 500;
  color: var(--wi-ink-2);
  white-space: nowrap;
}
.pordbtn--primary { background: var(--wi-primary); color: #fff; box-shadow: none; }
.pord__r5 { margin-top: 7px; height: 15px; display: flex; align-items: center; gap: 4px; font-size: 11px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pord__r5 svg { flex: 0 0 auto; }
.pord__r5.is-warn { color: var(--wi-warn); }
.pord__r5.is-ok { color: var(--wi-success); }
.pord__r5.is-mute { color: var(--wi-muted); }
.pord__r5.is-danger { color: var(--wi-danger); }

/* ───────────────────────────── 响应式 ─────────────────────────────
   R115：原「三档头图」（120/152/168px）已撤销 —— 头图改 16:9 自适应，
   不再按屏宽给固定高度。 */

/* 2026-11-20 创作页分段（形象照 / 短视频 / 账号管理）：胶囊小方框等分三段 */
#studioSeg.wi-tabs {
  display: flex;
  gap: 4px;
  align-items: stretch;
  padding: 4px;
  margin: 8px 0 10px;
  background: #f1f4f2;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}
#studioSeg .wi-tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 8px 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  transition: background .18s ease, color .18s ease;
}
#studioSeg .wi-tab::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
}
#studioSeg .wi-tab.is-active {
  background: var(--wi-primary, #0d3b30);
  color: #fff;
  font-weight: 600;
}

/* ── segfix-20261120b：胶囊分段修复
   问题：创作页 .m-pane 是 flex 列，算力条 + 分段 + 滚动区三段共用高度，
   分段控件缺 flex:0 0 auto 被压成半截（文字上半被裁），且与算力条贴死。
   修法：强制不参与收缩、给足最小高度、上下留白、去掉裁切。 */
#studioSeg.wi-tabs {
  flex: 0 0 auto;
  height: auto;
  min-height: 40px;
  margin: 10px 16px 12px;
  padding: 4px;
  display: flex;
  gap: 4px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  overflow: visible;
  background: #f1f4f2;
  border: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 999px;
}
#studioSeg .wi-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 32px;
  padding: 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}
#studioSeg .wi-tab::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
}

/* ── segfix2-20261120c：胶囊分段再兜一层硬高度，彻底避免被算力条压扁 */
#studioSeg.wi-tabs {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  margin: 10px 16px 12px !important;
  padding: 4px !important;
  box-sizing: border-box;
  overflow: visible !important;
  border-radius: 999px;
  background: #f1f4f2;
  position: relative;
  z-index: 3;
}
#studioSeg .wi-tab {
  height: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  padding: 0 6px;
}

/* 算力不足：收款码出口（R250） */
.m-short__btns { display: flex; gap: 8px; margin-top: 10px; }
.m-short__btns .wi-btn { flex: 1 1 0; }
.m-short__qrs { display: flex; gap: 10px; justify-content: center; margin: 12px 0 4px; }
.m-short__qr { width: 46%; max-width: 220px; border-radius: 10px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); }
