/* 打手中心「简洁UI」款式 —— 后台装修 goonStyle=simple 时启用
   修复记录 20261128：旧版选择器误用 .more-grid / .more-icon / .feature-tile-image /
   .user-section / .stats-num 等不存在的 class，导致整套简洁UI几乎不生效。
   本版全部改用真实 DOM 的 reference-* 系列 class。
   参考图：清爽浅灰底 + 白底卡片 + 彩色圆形功能图标 + 柔和大圆角，去掉小怪兽暖金渐变。 */

/* ===== 1. 页面底色：去掉暖金渐变 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons,
html[data-ds-goon="simple"] body.pages-goons-goons uni-page-body {
  background-color: #f4f6f9 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .page-container {
  background: #f4f6f9 !important;
  background-image: none !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-backdrop {
  background: linear-gradient(180deg, #e8f0ff 0, #f4f6f9 240px) !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-center {
  background-color: #f4f6f9 !important;
  background-image: none !important;
}

/* ===== 2. 顶部用户资料区：白卡 + 圆形头像 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-profile {
  background: #ffffff !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 18px rgba(24, 39, 75, .07) !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-avatar,
html[data-ds-goon="simple"] body.pages-goons-goons .reference-avatar img {
  border-radius: 50% !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-name {
  color: #111827 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-id,
html[data-ds-goon="simple"] body.pages-goons-goons .reference-signature {
  color: #8a92a3 !important;
}

/* ===== 3. 统计区：白卡、数字加深 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-orders,
html[data-ds-goon="simple"] body.pages-goons-goons .reference-stats-grid {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(24, 39, 75, .06) !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-number,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-num {
  color: #111827 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-stat-label,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-text {
  color: #8a92a3 !important;
}

/* ===== 4. 通用卡片：白底 + 大圆角 + 柔和阴影 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-card,
html[data-ds-goon="simple"] body.pages-goons-goons .card,
html[data-ds-goon="simple"] body.pages-goons-goons .funds-card {
  background: #ffffff !important;
  background-image: none !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 18px rgba(24, 39, 75, .06) !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .card-title-row > .title-bar,
html[data-ds-goon="simple"] body.pages-goons-goons .title-bar {
  background: #3b82f6 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-card-title,
html[data-ds-goon="simple"] body.pages-goons-goons .card-title {
  color: #111827 !important;
}

/* ===== 5. 功能图标：彩色圆形底板 + 白色图标（核心视觉差异） ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-shortcut {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  padding: 4px 0 !important;
}
/* 图标 SVG 自身已带彩色圆底 + 白色图案（center-*.svg），
   因此这里只放大并加柔和阴影，不做反白/不额外上色，避免抹掉图案。 */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-shortcut-icon {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background-color: transparent !important;
  box-shadow: 0 4px 10px rgba(24, 39, 75, .14) !important;
}
/* uni-image 用内部 div 的 background-image 显示图标，img 仅占位（opacity:0） */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-shortcut-icon > div {
  width: 100% !important;
  height: 100% !important;
  filter: none !important;
  background-size: contain !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-shortcut-icon img {
  display: none !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-shortcut-label {
  color: #374151 !important;
  font-size: 12px !important;
  margin-top: 8px !important;
}

/* ===== 6. 接单大厅分类：蓝色选中态，去掉暖金 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-hall-category.is-selected {
  border-color: #3b82f6 !important;
  background: #eff6ff !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .reference-category-icon {
  border-radius: 12px !important;
}

/* ===== 7. 公告 / 身份切换：柔和蓝灰 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .reference-notice {
  background: #f0f6ff !important;
  border-radius: 10px !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .goon-identity-switch {
  background: #eaf1ff !important;
  color: #2563eb !important;
}

/* ===== 8. 兜底：清除残留的小怪兽暖金色系 ===== */
html[data-ds-goon="simple"] body.pages-goons-goons .hall-category-switch-item.active {
  border-color: #3b82f6 !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .hall-category-switch-total:active {
  border-color: #3b82f6 !important;
  background: #eff6ff !important;
}
html[data-ds-goon="simple"] body.pages-goons-goons .goon-identity-switch:focus-visible,
html[data-ds-goon="simple"] body.pages-goons-goons .hall-category-switch-item:focus-visible,
html[data-ds-goon="simple"] body.pages-goons-goons .hall-category-switch-total:focus-visible {
  outline-color: #3b82f6 !important;
}
