/* 打手中心「仿k77UI」款式 —— 后台装修 goonStyle=simple 时启用
   1:1 复刻目标稿视觉：浅灰底 #F4F4F6 + 黄色 #FFE135 主色 + 黑色 2px 描边 pill 按钮
   + 白底 20px 圆角卡片 + 黄色标签牌 + 彩色圆底功能图标(4列) + 黑/红粗体数字。
   仅控制外观，所有数值仍由真实 DOM 动态渲染（保留真实数据）。
   修复记录 20261128：沿用 reference-* 真实 class，兼容旧 .card/.funds-* 模板。 */

html[data-ds-goon="simple"] body.pages-goons-goons {
  --k77-bg:#F4F4F6; --k77-card:#FFFFFF; --k77-ink:#1A1A1A; --k77-sub:#999999;
  --k77-yellow:#FFE135; --k77-black:#1A1A1A; --k77-red:#E8453D; --k77-line:#EEEEEE;
  --k77-green:#3FA65A; --k77-green-bg:#EAF7EF;
}

/* ===== 1. 页面底色：浅灰，去暖金/深色背景 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons,
html[data-ds-goon="simple"] body.pages-goons-goons uni-page-body,
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] {
  background:#F4F4F6 !important;
  background-image:none !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .page-container,
html[data-ds-goon="simple"] body.pages-goons-goons .reference-backdrop,
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-backdrop {
  background:#F4F4F6 !important;
  background-image:none !important;
}
html[data-ds-goon="simple"] .reference-backdrop.ds-center-has-background {
  background-image:none !important;
}

/* ===== 2. 顶部标题栏：白底黑字 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-navbar {
  background:#FFFFFF !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-nav-title {
  color:var(--k77-ink) !important;
  font-weight:800 !important;
}

/* ===== 3. 身份区：黄色圆头像 + 黑名 + 绿色等级胶囊 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-profile {
  background:transparent !important;
  padding-top:calc(var(--center-unit) * 4) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-avatar {
  width:64px !important; height:64px !important;
  border:2px solid var(--k77-black) !important;
  background:var(--k77-yellow) !important;
  box-shadow:2px 2px 0 rgba(26,26,26,.15) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-name {
  color:var(--k77-ink) !important;
  font-weight:900 !important;
  font-size:18px !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-id,
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-signature {
  color:var(--k77-sub) !important;
  font-size:12px !important;
}
/* 在线/离线状态胶囊：黑描边 + 圆角，在线黄底，离线红字红边 */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-status {
  border:2px solid var(--k77-black) !important;
  border-radius:12px !important;
  background:var(--k77-yellow) !important;
  color:var(--k77-black) !important;
  box-shadow:2px 2px 0 rgba(26,26,26,.15) !important;
  font-weight:800 !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-status.is-offline {
  background:#FFFFFF !important;
  color:var(--k77-red) !important;
  border-color:var(--k77-red) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-status-dot {
  background:currentColor !important;
}

/* ===== 4. 卡片：白底 20px 圆角 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-card,
html[data-ds-goon="simple"] body.pages-goons-goons .card,
html[data-ds-goon="simple"] body.pages-goons-goons .stats-hall-card,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-card {
  background:#FFFFFF !important;
  background-image:none !important;
  border-radius:20px !important;
  box-shadow:0 2px 10px rgba(26,26,26,.05) !important;
}

/* ===== 5. 卡片标题：黄色标签牌（黑描边 pill） ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-card-title,
html[data-ds-goon="simple"] body.pages-goons-goons .card-title {
  display:inline-block !important;
  background:var(--k77-yellow) !important;
  border:2px solid var(--k77-black) !important;
  border-radius:12px !important;
  padding:5px 14px !important;
  color:var(--k77-black) !important;
  font-size:13px !important;
  font-weight:800 !important;
  line-height:1.3 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .card-title-row > .title-bar,
html[data-ds-goon="simple"] .reference-main .title-bar {
  background:var(--k77-yellow) !important;
  border:2px solid var(--k77-black) !important;
  border-radius:12px !important;
}

/* ===== 6. 统计数字：黑色粗体，标签灰色 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-number,
html[data-ds-goon="simple"] body.pages-goons-goons .stats-num,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-num {
  color:var(--k77-ink) !important;
  font-weight:900 !important;
  font-size:27px !important;
  font-variant-numeric:tabular-nums !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-stat-label,
html[data-ds-goon="simple"] body.pages-goons-goons .stats-text,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-text {
  color:var(--k77-sub) !important;
  font-size:12px !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-stats-grid,
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-hall-grid {
  row-gap:calc(var(--center-unit) * 4) !important;
}

/* ===== 7. 接单大厅分类：黄色选中态 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-hall-category {
  color:var(--k77-sub) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-hall-category.is-selected {
  color:var(--k77-black) !important;
  font-weight:800 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .is-selected .reference-category-icon {
  border-color:var(--k77-yellow) !important;
  box-shadow:0 0 0 2px var(--k77-yellow) !important;
  opacity:1 !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-category-icon {
  border-radius:11px !important;
  border:1px solid var(--k77-line) !important;
}

/* ===== 8. 功能宫格：4列 + 彩色圆底图标 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-shortcuts {
  grid-template-columns:repeat(4, minmax(0,1fr)) !important;
  row-gap:calc(var(--center-unit) * 4.5) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-shortcut {
  gap:calc(var(--center-unit) * 1.6) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-shortcut-icon,
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-shortcut-icon > div {
  width:40px !important; height:40px !important;
  border-radius:11px !important;
  overflow:hidden !important;
  background-size:contain !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-shortcut-icon img {
  display:none !important;
}
/* 彩色圆底兜底（无背景图时按序上色） */
html[data-ds-goon="simple"] .reference-shortcuts .reference-shortcut:nth-child(4n+1) .reference-shortcut-icon{background-color:#FFF6E0 !important}
html[data-ds-goon="simple"] .reference-shortcuts .reference-shortcut:nth-child(4n+2) .reference-shortcut-icon{background-color:#E8F0FE !important}
html[data-ds-goon="simple"] .reference-shortcuts .reference-shortcut:nth-child(4n+3) .reference-shortcut-icon{background-color:#E7F7EE !important}
html[data-ds-goon="simple"] .reference-shortcuts .reference-shortcut:nth-child(4n+4) .reference-shortcut-icon{background-color:#FDE9EC !important}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-shortcut-label {
  color:var(--k77-ink) !important;
  font-size:12px !important;
}

/* ===== 9. 资金区：可用余额红色粗体 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .funds-num-available,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-detail-num-penalty {
  color:var(--k77-red) !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .funds-num {
  font-size:16px !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .funds-grid,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-detail-grid {
  row-gap:18px !important;
}

/* ===== 10. 公告：浅灰底 + 圆角 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-notice,
html[data-ds-goon="simple"] body.pages-goons-goons .reference-notice {
  background:var(--k77-bg) !important;
  border-radius:10px !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-notice-content {
  color:var(--k77-sub) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-daily-tip {
  background:#FFF6E0 !important;
  color:#A16623 !important;
  border-radius:10px !important;
}

/* ===== 11. 身份切换 / 待办：黄色 pill 按钮 ===== */
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] .reference-identity button.goon-identity-switch,
html[data-ds-goon="simple"] body.pages-goons-goons .goon-identity-switch {
  background:var(--k77-yellow) !important;
  border:2px solid var(--k77-black) !important;
  border-radius:12px !important;
  color:var(--k77-black) !important;
  font-weight:800 !important;
  box-shadow:2px 2px 0 rgba(26,26,26,.15) !important;
}
html[data-ds-goon="simple"] .reference-center[data-v-49a62307] button.reference-pending {
  border:2px solid var(--k77-black) !important;
  border-radius:12px !important;
  background:#FFFFFF !important;
}

/* ===== 12. 兜底：清除残留暖金/蓝色系 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .hall-category-switch-item.active,
html[data-ds-goon="simple"] body.pages-goons-goons .hall-category-switch-total:active {
  border-color:var(--k77-yellow) !important;
  background:#FFFBEA !important;
}
