/* ─────────── 职位管理列表（/team-manage/jobs，Read.cv「Careers」形态）───────────
   主行结构：头像(团队 logo) + 职位名/雇佣信息 + 编辑/删除/排序；统计信息按需另起一行。
   行间用 line-1 细线分隔（§1.5 允许的 stack row 横线）。 */
/* 用两类选择器 .me-joblist.me-joblist--manage 升特异性 —— 基础 .me-joblist{padding:0;
   margin:0} 在本规则之后、同特异性会把 padding/margin 盖掉(同 display 那处的坑)。
   负 margin 外扩 24px + 行内 padding 24px 抵消：行内容仍与头部左对齐(x=0)，
   但行的背景/拖拽圆角高亮向两侧各外扩 24px，留出更多呼吸感。 */
.me-joblist.me-joblist--manage {
  margin: 12px -24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (max-width: 900px) {
  /* MeShell 在移动端已经提供 16px 左右留白；桌面列表的 -16px 外扩会把它完全抵消，
     让行卡从视口左边一直铺到右边。窄屏只保留顶部间距，让列表边缘与上方卡片对齐。 */
  .me-joblist.me-joblist--manage { margin: 12px 0 0; }
}
/* 用两类选择器提高特异性 —— 基础 .me-joblist-row{display:flex} 在本规则之后，
   单类同特异性会被它盖掉 display，这里 .me-joblist--manage .me-joblist-row 升一级。
   行形态：muted 灰底圆角卡（参照 shadcn Item 的 variant-muted 行）——行的边界由
   底色划出，行间靠 12px gap，不画分割线。
   ⚠️ design-ok: 灰底行卡与 §1「卡片一律纯白」冲突，2026-08-18 Vincent 指定按
   shadcn Item muted 行试这一版；要回退把 background 去掉、gap 归零即可。 */
.me-joblist--manage .me-joblist-row {
  display: block;
  /* 上下 18 / 左右 24：行内是「头像 + 两行文字」，桌面端向两侧多留一档呼吸感。 */
  padding: 18px 24px;
  cursor: pointer; /* 整行可点 → 开投递弹窗 */
  /* 底色 50% 透明（2026-08-18 用户嫌实底太重）：白底上渲染 ≈ #fafafb，
     hover 回到不透明的同一支灰 —— 深一档但不引入新色值。 */
  background: rgba(245, 245, 247, 0.5);
  border-radius: 20px;
  -webkit-corner-shape: squircle;
  corner-shape: squircle;
  transition: background 0.15s;
}
.me-joblist--manage .me-joblist-row:hover {
  background: #f5f5f7;
}
/* 拖拽中的行：抬起感(阴影 + 圆角)。放在 :hover 之后 → 拖拽态仍保持白卡。 */
.me-joblist--manage .me-joblist-row.is-dragging,
.me-joblist--manage .me-joblist-row.is-dragging:hover {
  background: #ffffff;
  box-shadow: 0 14px 44px -10px rgba(0, 0, 0, 0.14);
  border-radius: 20px;
  -webkit-corner-shape: squircle;
  corner-shape: squircle;
}
/* 职位分组——只给「待发布」显示标题；已发布列表直接承接「职位」页头。
   标题左缘对齐行内容线（x=0，不缩进）；组间留白，不画分割线 / 不填背景（对齐设计系统）。
   标题与本组列表的间距由下方 .me-joblist--manage 自带的 8px 上边距给出。 */
.me-joblist-group + .me-joblist-group {
  margin-top: 32px;
}
.me-joblist-grouphead {
  margin: 0;
  font-size: 13px;
  color: rgba(134, 134, 139, 0.7);
}
/* 认证告警组标题（--warn/--action）已整体退场：认证的现状与入口由页顶 TeamKybBanner
   一次说全，列表不再重复（2026-08-18）。「待发布」保留橙色纯文字标题。 */
.me-joblist-grouphead--draft {
  color: #c2730c;
}
/* 主体行：媒体位(团队 logo) + 标题块 + 投递统计 + 图标动作。
   2026-08-18 曾把头像整列删掉（理由：自己后台里每行同一个 logo 零信息），Vincent 拍板
   恢复 —— 灰底卡行需要左侧一个媒体锚点撑住行的重心（参照 shadcn Item 的 media 位），
   零信息但有版面职能。 */
.me-jobrow-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
/* 标题块吃满：投递数已并入 meta 行文本（2026-08-18），行内不再有第二列。 */
.me-jobrow-head .me-joblist-main {
  flex: 1;
}
.me-jobrow-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
/* 媒体位：圆形（2026-08-18 用户从圆角方框改回圆）+ 细描边白底，灰底卡上不挂阴影。 */
.me-jobrow-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-corner-shape: round;
  corner-shape: round;
}
.me-jobrow-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.me-jobrow-avatar-fb {
  font-size: 14px;
  font-weight: 500;
  color: #86868b;
}
.me-joblist-row--manage .me-joblist-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}
/* 标题 500 + meta 小一号灰字（参照 shadcn Item 的 title font-medium / description xs）。
   ⚠️ design-ok: 与 §3「主副同字号同字重」冲突，2026-08-18 Vincent 指定字重布局按
   shadcn Item 参照试这一版。两行都截断：meta 带「更新于 X」，窄列宽必须收得住，
   不能换行把行高撑成两档（行高参差比截断难读得多）。 */
.me-joblist-row--manage .me-joblist-role,
.me-joblist-row--manage .me-joblist-meta {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.me-joblist-row--manage .me-joblist-role {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.me-joblist-titleline {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.me-joblist-titleline .me-joblist-role {
  min-width: 0;
}
.me-jobrow-matching-orb {
  flex: 0 0 auto;
}
.me-joblist-row--manage .me-joblist-meta {
  font-size: 13px;
}
/* 行尾动作组：margin-left auto 自己负责贴行尾 —— 不依赖前面的兄弟元素存在与否。 */
.me-jobrow-right {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
/* 未读小蓝点：回到头像右上角（数字气泡形态）。它是「有事要办」的唯一行级信号，
   和右块的总数各占一处、互不重复。 */
.me-jobrow-unread {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  transform: translate(6px, -6px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2e84fa;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}
/* 图标动作：编辑 / 删除 / 拖拽手柄 —— 36px 按钮、SVG 显示 22px、组内 gap 16px。
   图标默认深色(对齐设计稿，原来误填了浅灰)；hover 加底/危险态变红；都 stopPropagation。 */
.me-jobrow-icons {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.me-jobrow-icon {
  appearance: none;
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d1d1f;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.me-jobrow-icon svg {
  width: 20px;
  height: 20px;
}
.me-jobrow-icon:hover {
  background: #f0f0f0;
  color: #1d1d1f;
}
/* 待发布职位的主动作常驻在 ⋯ 左侧；比 36px 图标按钮上下各收 2px，桌面和触屏都不靠 hover。 */
.me-btn.me-jobrow-publish {
  flex-shrink: 0;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
  white-space: nowrap;
  justify-content: center;
}
.me-btn.me-jobrow-publish[aria-busy="true"] {
  cursor: progress;
}
.me-joblist-row--manage .me-jobrow-icon {
  color: #000;
}
.me-joblist-row--manage .me-jobrow-icon:hover {
  color: #000;
}
.me-jobrow-handle {
  cursor: grab;
  touch-action: none;
}
.me-jobrow-handle:active {
  cursor: grabbing;
}
/* 拖拽和编辑只在指针悬停 / 键盘聚焦时浮现 ——「⋯」不藏：全部动作藏进 hover 后行尾
   彻底空白，静止态的右缘没有任何锚点，看起来像布局 bug（2026-08-18 实际用户反馈）。
   常驻一颗 ⋯ 是行式列表的通行做法（Linear / GitHub / shadcn data-table 的行尾）。
   只动 opacity、位置照旧占住：hover 时行内容不会左右跳（§4 / §5.3）。
   ⚠️ 必须由 (hover: hover) 兜住。触屏没有 hover 态，藏起来就再也出不来 ——
   触屏那一档在下面 720 断点里收敛成常驻「发布」（待发布）+「⋯」。 */
@media (hover: hover) and (pointer: fine) {
  .me-joblist-row--manage .me-jobrow-handle,
  .me-joblist-row--manage .me-jobrow-icon--edit {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
  }
  .me-joblist-row--manage:hover .me-jobrow-handle,
  .me-joblist-row--manage:hover .me-jobrow-icon--edit,
  .me-joblist-row--manage:focus-within .me-jobrow-handle,
  .me-joblist-row--manage:focus-within .me-jobrow-icon--edit {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ── 移动端职位行：头像(带未读点) + 内容 + 发布（待发布）/「⋯」固定同一行 ──
   .me-jobrow-right 用 display: contents 拆开统计与操作，让它们各占一列。 */
@media (max-width: 720px) {
  /* 窄屏宽度更紧，保留原来的 16px 行内留白。 */
  .me-joblist--manage .me-joblist-row { padding-inline: 16px; }
  .me-jobrow-unread { font-size: 11px; min-width: 18px; height: 18px; }
  .me-joblist-row--manage .me-jobrow-head {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
  }
  .me-joblist-row--manage .me-jobrow-avatar-wrap {
    grid-column: 1;
    grid-row: 1;
    width: 32px;
    height: 32px;
  }
  .me-joblist-row--manage .me-jobrow-head .me-joblist-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: 100%;
  }
  .me-joblist-row--manage .me-jobrow-right {
    display: contents;
  }
  /* 触屏没有 hover，低频动作收进「⋯」，常用的发布按钮按本次交互要求继续常驻。
     ⚠️ 代价是触屏用不了拖拽排序 —— 菜单里的「置顶」覆盖最高频的那一种，完整排序留桌面。 */
  .me-joblist-row--manage .me-jobrow-icon--edit,
  .me-joblist-row--manage .me-jobrow-handle {
    display: none;
  }
  .me-joblist-row--manage .me-jobrow-icons {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: 0;
  }
}

/* 列表空态（设计系统：白底 + 留白居中，不用 border / 不用 tint 底；层级靠颜色不靠字重）。
   引导力交给一颗真正的品牌主按钮（accent-promo），比虚线 drop-zone 更干净、更贴系统。 */
.me-joblist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  /* 顶部多留一截（48→88）：空态与上方「职位」标题行拉开，视觉不挤。 */
  padding: 88px 24px 48px;
  text-align: center;
  /* 整块可点 → 发 JD 向导（本身是 <Link>）。 */
  text-decoration: none;
  cursor: pointer;
}
/* hover 整块时 tonal 按钮跟着亮起，给「这一整片都能点」的反馈（按钮已降级成 span，
   自身 :hover 不一定覆盖到，这里由外层 hover 驱动）。 */
.me-joblist-empty:hover .me-joblist-empty-cta {
  background: #ececec;
  border-color: #ececec;
}
.me-joblist-empty:hover .me-joblist-empty-cta .me-btn-arr {
  transform: translate(1px, -1px);
}
/* 图标绑 ink-3（§1.6：不默认黑）。 */
.me-joblist-empty-icon {
  display: inline-flex;
  color: #86868b;
  margin-bottom: 2px;
}
/* Main+Sub 文本对（§1.1 / §5）：同字号同字重，靠 ink-1 / ink-3 区分层级。 */
.me-joblist-empty-title {
  margin: 0;
  font-size: 15px;
  color: #1d1d1f;
}
.me-joblist-empty-sub {
  margin: 0;
  font-size: 15px;
  color: #86868b;
  line-height: 1.5;
}
.me-joblist-empty-cta {
  margin-top: 8px;
}

/* ─────────── 二次确认弹窗（删除职位等不可逆动作）───────────
   复用 .me-modal-root 遮罩；容器是更紧凑的小卡（非全表单弹窗）。 */
.me-confirm {
  background: #ffffff;
  border-radius: 20px;
  -webkit-corner-shape: squircle;
  corner-shape: squircle;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 30px 80px -20px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 420px;
  padding: 28px;
  animation: me-modal-rise 0.22s cubic-bezier(.2, 0, 0, 1);
}
.me-confirm-title {
  margin: 0;
  font-size: 19px;
  /* 小确认弹窗标题:克制不上 600,靠字号 + ink-1 即够突出 */
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1d1d1f;
}
.me-confirm-body {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #86868b;
}
.me-confirm-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.me-confirm-actions form {
  margin: 0;
}
/* 第三动作（如「不保存」）：单独靠左，与右侧「继续编辑 / 保存」这一组拉开距离 ——
   它是放弃内容的出口，不该和两颗「继续往前」的按钮排在一起被顺手点到。
   形态是纯文字：去掉描边、左右内边距和 500 字重，比「继续编辑」更轻，文字直接落在
   标题 / 正文那条内容线上。 */
.me-confirm-actions .me-confirm-alt {
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  border-color: transparent;
  font-weight: 400;
}
/* 没有内边距了，再刷 .me-btn 基类那块 #f5f5f5 底就是紧贴三个字的一小块灰，很廉价。
   纯文字按钮的 hover 走墨色阶退一档（基类已有 color .15s 过渡）。 */
.me-confirm-actions .me-confirm-alt:hover {
  background: transparent;
  color: #86868b;
}
.me-confirm-actions .me-btn[disabled],
.me-confirm-actions .me-btn[aria-busy="true"] {
  opacity: 0.7;
  cursor: progress;
}

/* 付费收银台弹窗：遮罩只压暗、不磨砂（区别于默认 .me-modal-root 的 blur）。
   双类选择器提优先级，盖过样式表更靠后的 .me-modal-root 的 backdrop-filter。 */
.me-modal-root.tib-paywall-root {
  background: rgba(15, 23, 42, 0.5);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  animation: tib-paywall-backdrop-in .28s cubic-bezier(.22, 1, .36, 1);
}

@keyframes tib-paywall-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tib-paywall-dialog-in {
  0% { opacity: 0; transform: translateY(18px) scale(.965); }
  68% { opacity: 1; transform: translateY(-2px) scale(1.004); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tib-pay-success-dialog-in {
  0% { opacity: 0; transform: translateY(16px) scale(.96); }
  65% { opacity: 1; transform: translateY(-2px) scale(1.006); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tib-pay-specialist-in {
  from { opacity: 0; transform: translateY(8px) scale(.84); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes tib-pay-specialist-guide-in {
  from { opacity: 0; transform: translate(5px, 4px) rotate(-2deg); }
  to { opacity: 1; transform: translate(0, 0) rotate(-2deg); }
}

/* 与首页「加入找工互助群」一致的 3.4s 淡蓝呼吸光。 */
@keyframes tib-pay-specialist-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(29,103,241,.025),
      0 0 15px 0 rgba(29,103,241,.035);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(29,103,241,.04),
      0 0 24px 3px rgba(29,103,241,.06);
  }
}

@keyframes tib-pay-coupon-in {
  from { opacity: 0; transform: translateY(-7px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* 收银台卡：参照订阅方案卡的信息层级。 */
.tib-pay {
  --tib-pay-visual-size: 216px;
  position: relative;
  max-width: 580px;
  max-height: calc(100dvh - 48px);
  padding: 26px;
  overflow-y: auto;
  transform-origin: center 45%;
  animation: tib-paywall-dialog-in .42s cubic-bezier(.22, 1, .36, 1);
}
.tib-pay-x { position: absolute; top: 26px; right: 16px; width: 32px; height: 32px; border: 0; background: transparent; }
.tib-pay-x:hover { background: #f2f2f4; }
.tib-pay-specialist-avatar { position: absolute; right: 16px; bottom: 14px; z-index: 3; width: 52px; height: 52px; box-sizing: border-box; padding: 4px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.06); border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(29,103,241,.04), 0 0 15px 0 rgba(29,103,241,.05); cursor: pointer; text-decoration: none; transition: transform .18s cubic-bezier(.2,0,0,1); animation: tib-pay-specialist-in .38s .3s cubic-bezier(.22,1,.36,1) backwards, tib-pay-specialist-breathe 3.4s .68s ease-in-out infinite; }
@media (min-width: 721px) {
  .tib-pay .tib-pay-specialist-avatar { width: 64px; height: 64px; }
  .tib-pay .tib-pay-specialist-guide { right: 64px; bottom: 36px; width: 164px; height: 56px; }
  .tib-pay .tib-pay-specialist-guide span { right: 37px; top: 1px; font-size: 19px; }
  .tib-pay .tib-pay-specialist-guide svg { right: 16px; bottom: 0; width: 48px; height: 32px; }
}
.tib-pay-specialist-avatar:hover { transform: translateY(-2px) scale(1.035); box-shadow: 0 11px 26px rgba(29,29,31,.22); }
.tib-pay-specialist-avatar:focus-visible { outline: 3px solid rgba(46,132,250,.24); outline-offset: 3px; }
.tib-pay-specialist-avatar img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; transform: scale(1.06); transform-origin: center 38%; }
.tib-pay-specialist-guide { position: absolute; right: 60px; bottom: 42px; z-index: 2; width: 144px; height: 50px; color: #1d67f1; pointer-events: none; animation: tib-pay-specialist-guide-in .36s .48s cubic-bezier(.22,1,.36,1) both; }
.tib-pay-specialist-guide span { position: absolute; right: 35px; top: 2px; font-family: "Bradley Hand", "Comic Sans MS", cursive; font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .01em; white-space: nowrap; }
.tib-pay-specialist-guide svg { position: absolute; right: 8px; bottom: 0; width: 42px; height: 28px; overflow: visible; }
.tib-pay-specialist-guide path { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* 加载 / 开通中 / 错误等占位态：保持弹窗尺寸稳定，不在异步返回后突然放大。 */
.tib-pay-state { margin-top: 22px; font-size: 14px; line-height: 1.5; color: #86868b; }
.tib-pay-loading { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #86868b; font-size: 13px; }

.tib-pay-head {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* 商品由服务端预先确定；左上只展示本次购买内容。 */
.tib-pay-product-title {
  min-width: 0;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: #1d1d1f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.tib-pay-product-bang { flex: 0 0 auto; color: #2e84fa; }

/* 支付方式：右上角分段切换，不再抢占卡片主信息流。 */
.tib-pay-methods { align-self: center; flex: 0 0 auto; margin: 16px auto 0; padding: 3px; display: flex; align-items: center; justify-content: center; gap: 2px; border-radius: 999px; background: #f0f1f3; }
.tib-pay-method { position: relative; appearance: none; min-width: 0; min-height: 30px; display: flex; align-items: center; justify-content: center; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #68686d; font: inherit; text-align: center; cursor: pointer; transition: background .15s, box-shadow .15s, color .15s, transform .15s; }
.tib-pay-method:hover:not([data-selected]) { background: rgba(255,255,255,.5); color: #1d1d1f; }
.tib-pay-method[data-selected] { background: #fff; color: #1d1d1f; box-shadow: 0 1px 3px rgba(15,23,42,.15); }
.tib-pay-method[data-selected]::after { content: none; }
.tib-pay-method:active:not(:disabled) { transform: scale(.99); }
.tib-pay-method:disabled { opacity: .62; cursor: wait; }
.tib-pay-method-mark { display: none; }
.tib-pay-method-mark[data-provider="wechat"] { background: rgba(7,193,96,.1); color: #07a94f; }
.tib-pay-method-mark[data-provider="alipay"] { background: rgba(22,119,255,.1); color: #1677ff; }
.tib-pay-method-mark[data-provider="bank_transfer"] { background: #f0f1f3; color: #596579; }
.tib-pay-method > span:last-child { min-width: 0; display: flex; align-items: center; }
.tib-pay-method-title { color: inherit; font-size: 12px; font-weight: 500; white-space: nowrap; }

.tib-pay-checkout { margin-top: 28px; display: grid; grid-template-columns: 1fr; align-items: start; }
.tib-pay-visual { width: 100%; min-height: 0; margin-top: 20px; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(0,0,0,.04); border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 8px 24px -12px rgba(0,0,0,.06); }
.tib-pay-checkout[data-provider="wechat"] .tib-pay-visual,
.tib-pay-checkout[data-provider="alipay"] .tib-pay-visual { align-self: center; width: var(--tib-pay-visual-size); height: var(--tib-pay-visual-size); min-height: var(--tib-pay-visual-size); }
.tib-pay-checkout[data-provider="wechat"] .tib-pay-visual { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.tib-pay-checkout[data-provider="alipay"] .tib-pay-visual { padding: 12px; box-shadow: none; }
.tib-pay-qr-wrap { display: flex; justify-content: center; }
.tib-pay-qr-code { position: relative; width: var(--tib-pay-visual-size); height: var(--tib-pay-visual-size); box-sizing: border-box; padding: 6px; overflow: hidden; border: 1px solid rgba(0,0,0,.06); border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 8px 24px -12px rgba(0,0,0,.12); }
.tib-pay-qr { width: 100%; height: 100%; display: block; border-radius: 7px; }
.tib-pay-qr-brand { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; box-sizing: border-box; display: grid; place-items: center; border: 0; border-radius: 9px; background: #07c160; color: #fff; box-shadow: none; transform: translate(-50%, -50%); }
.tib-pay-qr-brand[data-provider="alipay"] { background: #1677ff; }
.tib-pay-qr-box { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 7px; background: #f0f1f3; }
.tib-pay-qr-box .tib-pay-spinner { width: 26px; height: 26px; border-width: 2px; border-color: rgba(134,134,139,.24); border-top-color: #86868b; }
.tib-pay-qr-expired { position: absolute; inset: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 7px; background: rgba(255,255,255,.92); color: #1d1d1f; text-align: center; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.tib-pay-qr-expired span { font-size: 13px; font-weight: 600; line-height: 1.4; }
.tib-pay-qr-expired button { appearance: none; min-height: 32px; padding: 0 14px; border: 1px solid rgba(46,132,250,.18); border-radius: 999px; background: #2e84fa; color: #fff; font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; box-shadow: 0 6px 16px rgba(46,132,250,.18); transition: background .15s, transform .15s; }
.tib-pay-qr-expired button:hover:not(:disabled) { background: #1f73e8; transform: translateY(-1px); }
.tib-pay-qr-expired button:focus-visible { outline: 3px solid rgba(46,132,250,.22); outline-offset: 2px; }
.tib-pay-qr-expired button:disabled { opacity: .65; cursor: wait; }
.tib-pay-qr-retry { appearance: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; color: #68686d; font: inherit; text-align: center; cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .15s; }
.tib-pay-qr-retry > svg { color: #2e84fa; }
.tib-pay-qr-retry span { max-width: 170px; font-size: 12px; line-height: 1.45; }
.tib-pay-qr-retry strong { color: #2e84fa; font-size: 13px; font-weight: 500; line-height: 1.4; }
.tib-pay-qr-retry:hover:not(:disabled) { border-color: rgba(46,132,250,.2); background: #f7faff; color: #1d1d1f; transform: translateY(-1px); }
.tib-pay-qr-retry:focus-visible { outline: 3px solid rgba(46,132,250,.22); outline-offset: 3px; }
.tib-pay-qr-retry:disabled { cursor: wait; }
.tib-pay-visual-wait { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #86868b; font-size: 12px; }
.tib-pay-channel-card { padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.tib-pay-channel-logo { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-size: 26px; font-weight: 600; box-shadow: 0 8px 20px rgba(15,23,42,.1); }
.tib-pay-channel-card--alipay .tib-pay-channel-logo { width: 46px; height: 46px; border-radius: 13px; background: #1677ff; box-shadow: none; }
.tib-pay-channel-card--wechat .tib-pay-channel-logo { background: #07c160; }
.tib-pay-channel-card--bank .tib-pay-channel-logo { border: 1px solid #e5e5e7; background: #fff; color: #1d1d1f; }
.tib-pay-channel-card strong { margin-top: 3px; color: #1d1d1f; font-size: 14px; font-weight: 500; }
.tib-pay-channel-card > span:not(.tib-pay-channel-logo) { color: #98989d; font-size: 11px; line-height: 1.45; }
.tib-pay-channel-card .me-btn { margin-top: 10px; }
.tib-pay-channel-card--alipay .me-btn { min-height: 32px; height: 32px; padding: 0 14px; font-size: 12px; }
.tib-pay-channel-card .me-btn--primary { border-color: #2e84fa; background: #2e84fa; color: #fff; box-shadow: 0 6px 16px rgba(46,132,250,.2); }
.tib-pay-channel-card.tib-pay-channel-card--alipay .me-btn--primary { box-shadow: none; }
.tib-pay-channel-card .me-btn--primary:hover:not(:disabled) { border-color: #1f73e8; background: #1f73e8; opacity: 1; }
.tib-pay-channel-card .me-btn--primary:focus-visible { outline: 3px solid rgba(46,132,250,.22); outline-offset: 2px; }

.tib-pay-summary { min-width: 0; padding: 0 0 36px; display: flex; flex-direction: column; align-items: flex-start; }
.tib-pay-price { width: 100%; display: flex; align-items: flex-start; justify-content: flex-start; gap: 4px; color: #1d1d1f; }
.tib-pay-currency { margin-top: 5px; color: rgba(29,29,31,.48); font-size: 17px; font-weight: 500; line-height: 1; letter-spacing: -.01em; }
.tib-pay-price b { font-size: 38px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.tib-pay-coupon-summary { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 4px 10px; color: #98989d; font-size: 11px; line-height: 16px; }
.tib-pay-coupon-summary em { color: #20ad5c; font-style: normal; }
.tib-pay-assist-slot { width: 100%; min-height: 58px; display: flex; align-items: flex-end; }
.tib-pay-assist-actions { width: 100%; min-height: 28px; margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px 18px; }
.tib-pay-assist-entry { appearance: none; min-height: 28px; padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; color: #2e84fa; font: inherit; font-size: 14px; line-height: 1.35; text-decoration: none; cursor: pointer; }
.tib-pay-assist-entry:hover { color: #176fd5; }
.tib-pay-assist-entry:focus-visible { outline: 3px solid rgba(46,132,250,.18); outline-offset: 3px; border-radius: 4px; }
.tib-pay-coupon { width: 100%; margin: 0; transform-origin: bottom center; animation: tib-pay-coupon-in .24s cubic-bezier(.22,1,.36,1); }
.tib-pay-coupon-form { display: grid; grid-template-columns: minmax(0, 1fr) auto 28px; gap: 8px; }
.tib-pay-coupon-form input { min-width: 0; height: 36px; box-sizing: border-box; padding: 0 10px; border: 1px solid #e5e5e7; border-radius: 9px; background: #fff; color: #1d1d1f; font: inherit; font-size: 12px; outline: none; text-transform: uppercase; }
.tib-pay-coupon-form input:focus { border-color: #2e84fa; box-shadow: 0 0 0 3px rgba(46,132,250,.1); }
.tib-pay-coupon-form input[aria-invalid="true"] { border-color: #e35454; }
.tib-pay-coupon-form button, .tib-pay-coupon-applied button { appearance: none; padding: 0 4px; border: 0; background: transparent; color: #2e84fa; font: inherit; font-size: 12px; cursor: pointer; }
.tib-pay-coupon-form button:disabled { color: #a1a1a6; cursor: default; }
.tib-pay-coupon-form .tib-pay-coupon-close { width: 28px; height: 28px; align-self: center; padding: 0; display: grid; place-items: center; border-radius: 50%; background: #f2f2f4; color: #86868b; }
.tib-pay-coupon-form .tib-pay-coupon-close:hover:not(:disabled) { background: #e8e8eb; color: #1d1d1f; }
.tib-pay-coupon-error { margin: 6px 0 0; color: #b42318; font-size: 11px; line-height: 16px; }
.tib-pay-coupon-applied { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #4a4a4f; font-size: 12px; }
.tib-pay-coupon-applied b { color: #1d1d1f; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .me-modal-root.tib-paywall-root,
  .tib-pay,
  .tib-pay--success,
  .tib-pay-specialist-avatar,
  .tib-pay-specialist-guide,
  .tib-pay-coupon { animation: none; }
  .tib-pay-specialist-avatar { box-shadow: 0 0 0 3.5px rgba(29,103,241,.06); }
}
.tib-pay-buyer {
  width: 100%; margin-top: 16px; padding: 12px; box-sizing: border-box; display: grid;
  grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px;
  border: 1px solid #ececef; border-radius: 11px; background: #fafafa;
}
.tib-pay-buyer span { grid-column: 1 / -1; margin-bottom: 3px; color: #98989d; font-size: 11px; line-height: 16px; }
.tib-pay-buyer strong { min-width: 0; overflow: hidden; color: #1d1d1f; font-size: 12px; font-weight: 500; line-height: 17px; text-overflow: ellipsis; white-space: nowrap; }
.tib-pay-buyer small { grid-column: 1; color: #68686d; font-size: 10px; line-height: 15px; overflow-wrap: anywhere; }
.tib-pay-buyer em { grid-column: 2; grid-row: 2 / span 2; align-self: center; color: #18794e; font-size: 10px; font-style: normal; line-height: 15px; white-space: nowrap; }
.tib-pay-benefits { width: 100%; margin-top: 22px; }
.tib-pay-notes { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; color: #4a4a4f; font-size: 12px; line-height: 1.45; }
.tib-pay-notes li { display: flex; align-items: center; gap: 8px; }
.tib-pay-notes li > svg { flex: 0 0 auto; color: #68686d; }
.tib-pay-hint { margin: 16px 0 0; color: #68686d; font-size: 12px; line-height: 1.5; text-align: left; }
.tib-pay-err { margin: 12px 0 0; color: #b42318; font-size: 12px; line-height: 1.5; }
.tib-pay-retry { appearance: none; margin-top: 12px; padding: 0; border: 0; background: transparent; color: #2e84fa; font: inherit; font-size: 12px; cursor: pointer; }

.tib-pay-bank-form { width: 100%; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.tib-pay-bank-form input { width: 100%; height: 38px; box-sizing: border-box; padding: 0 11px; border: 1px solid #e5e5e7; border-radius: 10px; background: #fff; color: #1d1d1f; font: inherit; font-size: 13px; outline: none; }
.tib-pay-bank-form input:focus { border-color: #2e84fa; box-shadow: 0 0 0 3px rgba(46,132,250,.1); }
.tib-pay-bank-form-actions { margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.tib-pay-bank-details { width: 100%; margin-top: 16px; }
.tib-pay-bank-details dl { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tib-pay-bank-details dl > div { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 10px; font-size: 12px; line-height: 1.45; }
.tib-pay-bank-details dt { color: #98989d; }
.tib-pay-bank-details dd { margin: 0; color: #1d1d1f; overflow-wrap: anywhere; }
.tib-pay-bank-payer { margin: -4px -6px; padding: 4px 6px; border-radius: 8px; cursor: pointer; transition: background .15s; }
.tib-pay-bank-payer:hover { background: #f5f7fa; }
.tib-pay-bank-payer:focus-visible { outline: 2px solid rgba(46,132,250,.45); outline-offset: 1px; }
.tib-pay-bank-payer dd { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tib-pay-bank-payer-action { flex: 0 0 auto; color: #2e84fa; font-size: 11px; }
.tib-pay-bank-details > p { margin: 12px 0 0; color: #68686d; font-size: 11px; line-height: 1.5; }
.tib-pay-bank-wait { width: 100%; min-height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #86868b; font-size: 12px; }

.tib-pay-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #e5e5e7;
  border-top-color: #2e84fa;
  animation: tib-pay-spin 0.8s linear infinite;
}
@keyframes tib-pay-spin { to { transform: rotate(360deg); } }

/* 成功态：复用创建团队完成页的描边勾与撒花，并让付款结果有独立入场。 */
.tib-pay--success {
  min-height: 320px;
  display: grid;
  place-items: center;
  animation: tib-pay-success-dialog-in .52s cubic-bezier(.22, 1, .36, 1);
}
.tib-pay-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}
.tib-pay-result-ic {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.tib-pay-result-ic--ok { background: rgba(52, 168, 83, 0.12); color: #1e8e3e; }
.tib-pay-result .me-confirm-actions { justify-content: center; width: 100%; }

@media (max-width: 720px) {
  .tib-pay { --tib-pay-visual-size: 164px; max-height: calc(100dvh - 24px); padding: 22px 18px; }
  .tib-pay-x { top: 12px; right: 12px; }
  .tib-pay-specialist-avatar { right: 12px; bottom: 12px; width: 46px; height: 46px; }
  .tib-pay-specialist-guide { right: 50px; bottom: 36px; transform-origin: right bottom; scale: .9; }
  .tib-pay-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .tib-pay-product-title { max-width: calc(100% - 40px); }
  .tib-pay-methods { width: auto; min-width: 180px; margin: 16px auto 0; box-sizing: border-box; }
  .tib-pay-method { flex: 0 0 82px; padding: 0 10px; }
  .tib-pay-checkout { margin-top: 24px; }
  .tib-pay-visual { padding: 16px; }
  .tib-pay-checkout[data-provider="alipay"] .tib-pay-visual { margin-top: 28px; margin-bottom: 8px; padding: 8px; }
  .tib-pay-price b { font-size: 34px; }
}

/* ─────────── Dashboard 模块卡 ───────────
   .me-mod 跟 .me-section 视觉同款（白底 + shadow-3 + 大间距），
   但用于 Dashboard 上的功能模块；section 留给编辑表单段。 */
/* 未绑定 Bonnie 时常驻右下角：复用 Specialist 的头像与呼吸光，
   但移动端仍保持 fixed，保证它始终是随手可触达的通知绑定入口。 */
@keyframes me-dashboard-bonnie-wiggle {
  0%, 12%, 100% { transform: translateX(0) rotate(0); }
  2% { transform: translateX(-4px) rotate(-4deg); }
  4% { transform: translateX(4px) rotate(4deg); }
  6% { transform: translateX(-3px) rotate(-3deg); }
  8% { transform: translateX(3px) rotate(3deg); }
  10% { transform: translateX(-1px) rotate(-1deg); }
}
@keyframes me-dashboard-bonnie-breathe {
  0%, 100% {
    box-shadow:
      0 0 0 6px rgba(29,103,241,.025),
      0 0 30px 0 rgba(29,103,241,.035);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(29,103,241,.04),
      0 0 48px 6px rgba(29,103,241,.06);
  }
}
@keyframes me-dashboard-bonnie-bubble-rise {
  0%, 30%, 100% {
    opacity: 0;
    transform: translate3d(var(--me-bonnie-bubble-start-x), 8px, 0) rotate(0) scale(.62);
  }
  35% {
    opacity: 1;
    transform: translate3d(var(--me-bonnie-bubble-start-x), 2px, 0) rotate(0) scale(.78);
  }
  65% {
    opacity: 1;
    transform: translate3d(var(--me-bonnie-bubble-mid-x), -30px, 0) rotate(var(--me-bonnie-bubble-rotate)) scale(1);
  }
  88% {
    opacity: 0;
    transform: translate3d(var(--me-bonnie-bubble-end-x), -62px, 0) rotate(var(--me-bonnie-bubble-rotate-end)) scale(.86);
  }
}
.me-dashboard-bonnie {
  --me-bonnie-magnet-x: 0px;
  --me-bonnie-magnet-y: 0px;
  --me-bonnie-magnet-duration: 300ms;
  --me-bonnie-magnet-easing: cubic-bezier(0, 0, 0.7, 1);
  position: fixed;
  right: calc(32px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 20;
  width: 70px;
  height: 70px;
  pointer-events: auto;
}
.me-dashboard-bonnie-wiggle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-origin: center bottom;
  animation: me-dashboard-bonnie-wiggle 6.4s 1.6s ease-in-out infinite both;
}
.me-dashboard-bonnie:hover .me-dashboard-bonnie-wiggle { animation-play-state: paused; }
.me-dashboard-bonnie-bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}
.me-dashboard-bonnie-bubble {
  position: absolute;
  left: calc(50% - 14px);
  bottom: 43px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  /* 只留 emoji 本体：原来的白底圆片 + 描边 + 阴影把 emoji 框成了一枚「按钮」，
     而它其实只是从 Bonnie 头上飘出来的情绪符号，不该有可点的实体感。 */
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  animation: me-dashboard-bonnie-bubble-rise var(--me-bonnie-bubble-duration) var(--me-bonnie-bubble-delay) cubic-bezier(.22,1,.36,1) infinite both;
}
.me-dashboard-bonnie-bubble:nth-child(1) {
  --me-bonnie-bubble-start-x: -10px;
  --me-bonnie-bubble-mid-x: -22px;
  --me-bonnie-bubble-end-x: -34px;
  --me-bonnie-bubble-rotate: -8deg;
  --me-bonnie-bubble-rotate-end: -14deg;
  --me-bonnie-bubble-duration: 6.4s;
  --me-bonnie-bubble-delay: -3.7s;
}
.me-dashboard-bonnie-bubble:nth-child(2) {
  --me-bonnie-bubble-start-x: 3px;
  --me-bonnie-bubble-mid-x: 12px;
  --me-bonnie-bubble-end-x: 24px;
  --me-bonnie-bubble-rotate: 8deg;
  --me-bonnie-bubble-rotate-end: 14deg;
  --me-bonnie-bubble-duration: 7.1s;
  --me-bonnie-bubble-delay: -1.4s;
}
.me-dashboard-bonnie-bubble:nth-child(3) {
  --me-bonnie-bubble-start-x: -2px;
  --me-bonnie-bubble-mid-x: -5px;
  --me-bonnie-bubble-end-x: -13px;
  --me-bonnie-bubble-rotate: -4deg;
  --me-bonnie-bubble-rotate-end: -8deg;
  --me-bonnie-bubble-duration: 6.8s;
  --me-bonnie-bubble-delay: -5.5s;
}
.me-dashboard-bonnie .tib-pay-specialist-avatar {
  right: 0;
  bottom: 0;
  width: 70px;
  height: 70px;
  padding: 6px;
  pointer-events: auto;
  animation:
    tib-pay-specialist-in .38s .3s cubic-bezier(.22,1,.36,1) backwards,
    me-dashboard-bonnie-breathe 3.4s .68s ease-in-out infinite;
}
.me-dashboard-bonnie-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 4;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2e84fa;
  box-shadow: 0 0 0 3px #fff;
  pointer-events: none;
}
.me-dashboard-bonnie-avatar img { object-position: center 32%; }
@media (hover: hover) and (pointer: fine) {
  .me-dashboard-bonnie {
    transform: translate3d(
      var(--me-bonnie-magnet-x),
      var(--me-bonnie-magnet-y),
      0
    );
    transition: transform var(--me-bonnie-magnet-duration) var(--me-bonnie-magnet-easing);
    will-change: transform;
  }
  .me-dashboard-bonnie[data-magnetic-active="true"] {
    --me-bonnie-magnet-duration: 300ms;
  }
  .me-dashboard-bonnie[data-magnetic-active="true"][data-magnetic-settled="true"] {
    --me-bonnie-magnet-duration: 140ms;
  }
}
@media (prefers-reduced-motion: reduce) {
  .me-dashboard-bonnie {
    transform: none;
    transition: none;
    will-change: auto;
  }
  .me-dashboard-bonnie-wiggle { animation: none; }
  .me-dashboard-bonnie-bubbles { display: none; }
  .me-dashboard-bonnie .tib-pay-specialist-avatar {
    animation: none;
    box-shadow: 0 0 0 7px rgba(29,103,241,.06), 0 0 30px rgba(29,103,241,.05);
  }
}
.me-mod {
  /* 平铺(对齐已有的 .me-section / 团队页 .t4-sec)—— 纯白页面上靠
     section-title + 56px 间距分组,不做投影 / 不做卡片边界。
     白卡叠白底全靠 shadow 撑、竖向堆叠起来太重(滥用 Block 阴影)。 */
  background: transparent;
  padding: 0;
  margin-bottom: 56px;
}
.me-mod-empty {
  font-size: 14px;
  color: #86868b;
  margin: 16px 0 0;
}
.me-mod-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* 概览模块 ——「团队信息概览」用 OwnerTeamHeroCard 直接套公开页 .t4-topcard。
   .t4-topcard 原本在 TeamDetail 里 margin: 96px -32px 20px（依赖 .t4-doc 32px
   水平 padding 向外撑）。Dashboard 没有那个父级，用 .t4--in-dashboard 修饰
   把上 / 左右 margin 收回到 0。下方 CTA 用 me-mod-actions--hero 留 24px gap。 */
.t4--in-dashboard .t4-topcard {
  margin: 0;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  /* 只在 dashboard 收轻阴影（跟 .me-shell-side 同款），不动公开 /team 页的 .t4-topcard。
     公开页通常单卡，重 shadow-3 没问题；dashboard 多卡同屏叠起来才发灰。 */
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 24px -12px rgba(0, 0, 0, 0.06);
}
.t4--in-dashboard .t4-topcard:hover {
  /* dashboard 上的 hero 是只读卡片，去掉公开页的 hover lift —— 没人会"点开"它 */
  transform: none;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 8px 24px -12px rgba(0, 0, 0, 0.06);
}
/* 可点变体（整卡进团队资料编辑页）：给回 cursor + hover 抬升 + 加深阴影，表明可点
   （§1.4：卡片 hover 用 shadow + translateY，不变色）。特异性 0,3,1 盖过上面的只读 :hover。 */
.t4--in-dashboard .t4-topcard--clickable {
  cursor: pointer;
  transition: box-shadow 0.2s cubic-bezier(0.2, 0, 0, 1), transform 0.2s cubic-bezier(0.2, 0, 0, 1);
}
.t4--in-dashboard .t4-topcard--clickable:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 16px 36px -12px rgba(0, 0, 0, 0.12);
}
.t4--in-dashboard .t4-topcard--clickable:focus-visible {
  outline: 2px solid #2e84fa;
  outline-offset: 2px;
}
/* dashboard 上 owner 看自己的团队，几个公开页的元素都不必要：
   - .t4-hero-id-row：「去官网 / 去投递」pill，自己看自己没意义
   - .t4-hero-chiprow：融资/规模/地点 chip 行，dashboard 简化呈现
   公开页 /team/[slug] 和 /me/team/preview 不挂 .t4--in-dashboard，不受影响。 */
.t4--in-dashboard .t4-hero-id-row,
.t4--in-dashboard .t4-hero-chiprow {
  display: none;
}
/* dashboard 上 logo + 标题收小一档 —— 公开页那套 80px logo / 24px 大标题在管理后台
   显得"傻大"。只在 .t4--in-dashboard 作用域改，公开页 hero 不动。 */
.t4--in-dashboard .t4-hero-top {
  gap: 16px;
  align-items: center;
}
.t4--in-dashboard .t4-hero-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.t4--in-dashboard .t4-hero-headline {
  padding-top: 0;
}
.t4--in-dashboard .t4-hero-name {
  font-size: 19px;
}
.t4--in-dashboard .t4-hero-tag {
  font-size: 15px;
  margin-top: 6px;
}
/* .t4 a { color: inherit }（team.css）会盖过 .me-btn 的 color，导致 Link 形态
   的按钮变成深色文本。这里显式覆盖（specificity 0,2,0 > 0,1,1）。 */
.t4 .me-btn { color: #1d1d1f; }
.t4 .me-btn--primary { color: #ffffff; }
.t4 .me-btn--disabled { color: #a1a1a6; }
.me-hero-section {
  /* 56px:对齐团队页 hero → 首个 section 的间距,跟下方 flat 模块节奏一致 */
  margin-bottom: 56px;
}
.me-mod-actions--hero {
  margin-top: 16px;
  align-items: center;
}
/* 「你上次编辑于 X」独立一行，紧贴 hero 内容之后、按钮之前。
   ink-3 灰文本 + 关键时间 ink-1 加粗，扫一眼就能看到。 */
.me-hero-updated {
  margin: 36px 0 0;
  font-size: 14px;
  color: #86868b;
  line-height: 1.5;
}
.me-hero-updated strong {
  color: #1d1d1f;
  font-weight: 500;
}
@media (max-width: 720px) {
  .me-hero-section { margin-bottom: 24px; }
  .me-dashboard-bonnie { right: calc(16px + env(safe-area-inset-right)); bottom: calc(88px + env(safe-area-inset-bottom)); width: 61px; height: 61px; }
  .me-dashboard-bonnie .tib-pay-specialist-avatar { right: 0; bottom: 0; width: 61px; height: 61px; padding: 6px; }
  .t4--in-dashboard .t4-topcard--clickable { transition: none; }
  .t4--in-dashboard .t4-topcard,
  .t4--in-dashboard .t4-topcard--clickable:hover {
    /* me-modal.css 的同断点基础态也是 20px 24px；hover 必须保持完全相同，
       否则指针进入时上下 padding 各少 10px，卡片会瞬间缩矮 20px。 */
    padding: 20px 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transform: none;
  }
  .t4--in-dashboard .t4-hero { padding: 0; }
  .t4--in-dashboard .t4-hero-top { gap: 10px; }
  .t4--in-dashboard .t4-hero-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }
  .me-mod-actions--hero { margin-top: 12px; }
  .me-hero-updated { margin-top: 28px; }
  .t4--in-dashboard .t4-hero-tag {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

/* JD 列表（read-only） */
.me-joblist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.me-joblist-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 15px;
}
/* 行之间不画分割线(参考团队页 .t4-jobs)—— 靠 padding 间距区分,不用 stack row 横线 */
.me-joblist-role {
  color: #1d1d1f;
}
.me-joblist-meta {
  color: #86868b;
  font-size: 13px;
}

/* 通用 按钮 */
.me-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #1d1d1f;
  background: #ffffff;
  border: 1px solid #ececef;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
/* 默认变体（白底 + #ececef 描边）的 hover 反馈：轻微灰底，不再变黑框。
   §1 允许 #f5f5f5 做按钮 hover 的临时态，黑描边则太重、且在有底色的变体上很难看。

   ⚠️ `:not()` 里包一层 `:where()` 是关键，别拆掉。`:where()` 本身不贡献特异度，
   所以整条选择器只有 (0,2,0)——比任何 `.me-btn--x:hover…` 变体规则都低，变体的
   hover 永远赢，以后新增变体也不会被这条污染。
   之前它是 `.me-btn:hover:not(.me-btn--disabled):not(.me-btn--primary)` = (0,4,0)，
   反过来把 (0,3,0) 的 --tonal / --soft / --danger 全压掉了：tonal 的 #ececec、
   danger 的红边都变成一圈黑描边。历史上为此给 --primary 和 .me-modal-toolbar
   各打过一次补丁，那是打地鼠；降特异度才是根治。

   排除清单里的变体都自带底色和自己的 hover，不能被这条刷成灰底（primary 的 hover
   只写了 opacity，不排除的话蓝底会被这里的 #f5f5f5 顶掉）。 */
.me-btn:hover:not(:where(
  .me-btn--disabled,
  .is-wip,
  .me-btn--primary,
  .me-btn--brand,
  .me-btn--tonal,
  .me-btn--soft,
  .me-btn--danger
)) {
  /* design-ok: 按钮的 hover 临时态，正是 §1 允许 #f5f5f5 的两种用法之一 */
  background: #f5f5f5;
}
.me-btn--primary {
  background: #2e84fa;
  color: #ffffff;
  border-color: #2e84fa;
}
.me-btn--primary:hover {
  opacity: 0.85;
}
/* 定夺条（浮动 pill）里的次级按钮「返回编辑」：hover 不要变黑框（太抢眼），改成轻微灰底。 */
.me-modal-toolbar .me-btn:hover:not(.me-btn--disabled):not(.me-btn--primary) {
  border-color: #ececef;
  background: #f5f5f5;
}
/* 次级动作：灰底无描边（编辑页底栏「下一步」等 —— 比白描边轻、比 primary 弱） */
.me-btn--soft {
  background: #f5f5f7;
  border-color: transparent;
}
.me-btn--soft:hover:not(.me-btn--disabled) {
  background: #ececef;
  border-color: transparent;
}
.me-btn--disabled {
  color: #a1a1a6;
  cursor: not-allowed;
  background: #ffffff;
}
.me-btn--danger {
  color: #b91c1c;
}
.me-btn--danger:hover:not(:disabled) {
  border-color: #b91c1c;
  background: #fff5f5;
}

/* ── 上线前临时门禁：禁用态按钮 + hover「施工中」tooltip ──
   功能就绪后，按钮去掉 .is-wip 与外层 .me-wip 包裹即可恢复。 */
.me-btn.is-wip {
  opacity: 0.5;
  cursor: not-allowed;
}
.me-btn.is-wip:hover {
  /* 压掉 me-btn / me-btn--brand 的 hover 态，禁用按钮不要有“可点”反馈 */
  border-color: #ececef;
}
.me-wip {
  position: relative;
  display: inline-flex;
}
/* tooltip 右对齐锚定：左侧按钮往左展开、右侧按钮也不会顶出视口右边 */
.me-wip::after {
  content: attr(data-wip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  width: max-content;
  max-width: 260px;
  padding: 8px 12px;
  border-radius: 10px;
  -webkit-corner-shape: squircle;
  corner-shape: squircle;
  background: rgba(29, 29, 31, 0.92);
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  white-space: normal;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  pointer-events: none;
}
.me-wip:hover::after,
.me-wip:focus-within::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .me-wip::after { transition: none; transform: none; }
}
/* 品牌蓝实心按钮（新建职位等主操作）—— 公开站 #2e84fa 同款 + 白字 + 白箭头。 */
.me-btn--brand {
  background: #2e84fa;
  border-color: #2e84fa;
  color: #ffffff;
}
.me-btn--brand:hover:not(:disabled) {
  background: #2374e8;
  border-color: #2374e8;
}
.me-btn--brand .me-btn-arr {
  color: #ffffff;
}
.me-btn--brand:hover .me-btn-arr {
  color: #ffffff;
  transform: translate(1px, -1px);
}
/* Tonal 变体：灰底 + 品牌蓝字/箭头（accent-promo）。比实心蓝更轻，用作次级引导 CTA。
   无描边（border 与底同色）；hover 走 bg-soft 深一档。箭头随文字走蓝，见下方基类排除。 */
.me-btn--tonal {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #1d67f1;
}
.me-btn--tonal:hover:not(:disabled) {
  background: #ececec;
  border-color: #ececec;
}
.me-btn--tonal .me-btn-arr {
  color: #1d67f1;
}
.me-btn--tonal:hover .me-btn-arr {
  color: #1d67f1;
  transform: translate(1px, -1px);
}
/* 跳转指示箭头 ——「↗」放在按钮文本左侧，跟 .t4-id-pill 的 .t4-id-arr 同款。
   hover 时整体往右上微动 1px，给一个轻微的"指向"反馈。 */
.me-btn-arr {
  flex-shrink: 0;
  color: #86868b;
  transition: transform 0.15s cubic-bezier(.2,0,0,1), color 0.15s ease;
}
/* 品牌实心按钮的箭头 hover 仍是白色（见下方 --brand 规则）；这里排除掉它，
   否则本规则(5 类特异性)会盖过 .me-btn--brand:hover .me-btn-arr(3 类)，箭头变黑。 */
.me-btn:hover:not(.me-btn--disabled):not(:disabled):not(.me-btn--brand):not(.me-btn--tonal) .me-btn-arr {
  color: #1d1d1f;
  transform: translate(1px, -1px);
}
.me-form-foot {
  margin: 24px 0 0;
  font-size: 13px;
  color: #86868b;
}
.tib-pay-bank-form { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 2px; }
.tib-pay-bank-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #3c3c43; }
.tib-pay-bank-form label > span { font-weight: 500; }
.tib-pay-bank-form input { height: 38px; padding: 0 12px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 8px; font-size: 14px; background: #fff; }
.tib-pay-bank-form input:focus { outline: none; border-color: #2e84fa; }
.tib-pay-bank-form small { color: #8a8a8e; font-size: 12px; line-height: 1.6; }
.tib-pay-bank-form em { color: #d4380d; font-size: 12px; font-style: normal; }
.tib-pay-visual--bank { display: block; }
.tib-pay-bank-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.tib-pay-bank-head strong { font-size: 14px; }
.tib-pay-bank-copy-all { border: 0; background: #2e84fa; color: #fff; border-radius: 999px; padding: 5px 14px; font-size: 12px; cursor: pointer; }
.tib-pay-bank-copy-all:hover { background: #1f72e6; }
.tib-pay-bank-rows { display: flex; flex-direction: column; }
.tib-pay-bank-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 13px; }
.tib-pay-bank-row + .tib-pay-bank-row { border-top: 1px solid rgba(0, 0, 0, 0.04); }
.tib-pay-bank-row > span:first-child { color: #8a8a8e; flex-shrink: 0; }
.tib-pay-bank-value { display: inline-flex; align-items: baseline; gap: 8px; text-align: right; word-break: break-all; }
.tib-pay-bank-value button { border: 0; background: none; padding: 0; font-size: 12px; color: #2e84fa; cursor: pointer; flex-shrink: 0; }
.tib-pay-bank-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px; letter-spacing: 0.04em; }
.tib-pay-bank-notice { margin: 10px 0 0; padding: 8px 10px; border-radius: 8px; background: rgba(46, 132, 250, 0.08); color: #1f73e8; font-size: 12px; line-height: 1.7; }
.tib-pay-bank-tips { margin-top: 12px; font-size: 12px; color: #6e6e73; }
.tib-pay-bank-tips > span { display: inline-block; font-weight: 500; color: #3c3c43; margin-bottom: 4px; }
.tib-pay-bank-tips ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 3px; line-height: 1.7; }
.tib-pay-bank-tips em { font-style: normal; color: #1d1d1f; font-weight: 500; }

/* 悬浮提示位的那句后果说明。常态收起，hover / 键盘聚焦时才展开 ——
   概览页不该常驻一行警告，但用户把指针移过去时得知道这个头像是干嘛的。
   ⚠️ 只动 transform / opacity（§5.3）；宽度靠 max-width 会触发重排，改用位移+淡入。 */
.me-dashboard-bonnie-note {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 6px 20px -8px rgba(0, 0, 0, 0.18);
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms cubic-bezier(0.2, 0, 0, 1);
}
.me-dashboard-bonnie:hover .me-dashboard-bonnie-note,
.me-dashboard-bonnie:focus-within .me-dashboard-bonnie-note {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
/* 窄屏放不下这条气泡（右边距只有 16），直接不展示 —— 头像本身仍可点开二维码 */
@media (max-width: 720px) {
  .me-dashboard-bonnie-note { display: none; }
}
