/* ========================================
   CSS 变量体系 — 全站色彩、字体、间距统一管理
   ======================================== */
:root {
  /* --- 品牌色 --- */
  --gp-primary: #2563eb;
  --gp-primary-hover: #1d4ed8;
  --gp-primary-light: #dbeafe;
  --gp-primary-ghost: #eff6ff;

  /* --- 价格/强调色（暖橙，用于价格和发布 CTA） --- */
  --gp-accent: #e8590c;
  --gp-accent-hover: #c2410c;
  --gp-accent-light: #ffedd5;
  --gp-accent-ghost: #fff7ed;

  /* --- 状态色 --- */
  --gp-success: #16a34a;
  --gp-success-light: #dcfce7;
  --gp-danger: #dc2626;
  --gp-danger-light: #fee2e2;
  --gp-warning: #f59e0b;
  --gp-warning-light: #fef3c7;

  /* --- 文字色 --- */
  --gp-text: #0f172a;
  --gp-text-secondary: #475569;
  --gp-text-muted: #64748b;
  --gp-text-faint: #94a3b8;
  --gp-text-on-primary: #ffffff;

  /* --- 背景/边框 --- */
  --gp-bg: #f5f7fb;
  --gp-bg-card: #ffffff;
  --gp-bg-subtle: #f8fafc;
  --gp-border: #e8edf5;
  --gp-border-light: #e5e7eb;
  --gp-border-dashed: #cbd5e1;

  /* --- 阴影 --- */
  --gp-shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.05);
  --gp-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
  --gp-shadow-lg: 0 18px 45px rgba(37, 99, 235, 0.18);
  --gp-shadow-hover: 0 16px 35px rgba(15, 23, 42, 0.08);

  /* --- 圆角 --- */
  --gp-radius-sm: 10px;
  --gp-radius-md: 16px;
  --gp-radius-lg: 18px;
  --gp-radius-xl: 20px;
  --gp-radius-pill: 999px;

  /* --- 间距 --- */
  --gp-space-xs: 8px;
  --gp-space-sm: 12px;
  --gp-space-md: 16px;
  --gp-space-lg: 24px;
  --gp-space-xl: 36px;

  /* --- 字号 --- */
  --gp-font-xs: 12px;
  --gp-font-sm: 13px;
  --gp-font-base: 14px;
  --gp-font-md: 16px;
  --gp-font-lg: 18px;
  --gp-font-xl: 20px;
  --gp-font-2xl: 28px;

  /* --- 动画 --- */
  --gp-transition-fast: 0.15s ease;
  --gp-transition-base: 0.2s ease;
  --gp-transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.content {
  min-height: calc(100vh - 140px);
  padding-top: 80px;
  background: var(--gp-bg);
}

/* ========================================
   导航栏 — 毛玻璃 + 品牌渐变
   ======================================== */
.navbar-white {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 237, 245, 0.6);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
  transition: background var(--gp-transition-smooth);
}

.navbar-white .navbar-brand {
  font-weight: 800;
  color: var(--gp-primary);
  letter-spacing: -0.02em;
  font-size: 20px;
}

.navbar-white .navbar-nav > li > a {
  color: var(--gp-text-secondary);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 15px 18px;
  transition: color var(--gp-transition-fast);
}

.navbar-white .navbar-nav > li > a:hover,
.navbar-white .navbar-nav > li.active > a {
  color: var(--gp-primary);
  background: var(--gp-primary-ghost);
  border-radius: 6px;
}

/* 导航栏下拉菜单 — 卡片式弹出 */
.navbar-white .dropdown-menu {
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-sm);
  box-shadow: var(--gp-shadow-md);
  padding: 6px 0;
  min-width: 180px;
  animation: gpFadeIn 0.15s ease-out;
}

.navbar-white .dropdown-menu > li > a {
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gp-text-secondary);
  transition: background var(--gp-transition-fast), color var(--gp-transition-fast);
}

.navbar-white .dropdown-menu > li > a:hover {
  background: var(--gp-primary-ghost);
  color: var(--gp-primary);
}

.navbar-white .dropdown-menu > li > a i {
  width: 20px;
  text-align: center;
  margin-right: 6px;
  color: var(--gp-text-faint);
}

/* 导航栏头像 — 环形装饰 */
.navbar-white .avatar-img img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--gp-primary-light);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
  transition: border-color var(--gp-transition-fast);
}

.navbar-white .avatar-img img:hover {
  border-color: var(--gp-primary);
}

.navbar-white .navbar-toggle {
  border-color: var(--gp-border);
  margin-top: 12px;
  margin-bottom: 12px;
}

.navbar-white .navbar-toggle .icon-bar {
  background: var(--gp-text-secondary);
}

/* ========================================
   移动端底部导航 — 毛玻璃 + 动效
   ======================================== */
.gp-mobile-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  display: flex;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.06);
  border-top: 1px solid rgba(232, 237, 245, 0.5);
  height: 60px;
  padding: 4px 0;
}

.gp-tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gp-text-faint);
  text-decoration: none;
  font-size: 11px;
  gap: 3px;
  transition: color var(--gp-transition-fast), transform var(--gp-transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.gp-tabbar-item i {
  font-size: 19px;
  transition: transform var(--gp-transition-fast);
}

.gp-tabbar-item:active,
.gp-tabbar-item.active,
.gp-tabbar-item:hover {
  color: var(--gp-primary);
  text-decoration: none;
}

.gp-tabbar-item:active i,
.gp-tabbar-item.active i {
  transform: scale(1.15);
}

/* 活跃态顶部小圆点指示器 */
.gp-tabbar-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gp-primary);
  border-radius: 2px;
}

.gp-tabbar-publish {
  color: var(--gp-accent);
}

.gp-tabbar-publish i {
  font-size: 23px;
}

.gp-tabbar-publish:active i {
  transform: scale(1.15);
}

/* 页脚样式 */
/* ========================================
   Footer — 分隔线 + 层级
   ======================================== */
.gp-footer {
  clear: both;
  padding: 28px 0 20px;
  background: var(--gp-bg);
  border-top: 1px solid var(--gp-border);
  text-align: center;
}

.gp-footer .copyright {
  margin: 0;
  color: var(--gp-text-faint);
  font-size: var(--gp-font-sm);
  letter-spacing: 0.02em;
}

.gp-footer .copyright a {
  color: var(--gp-text-muted);
  transition: color var(--gp-transition-fast);
}

.gp-footer .copyright a:hover {
  color: var(--gp-primary);
}

.gp-page {
  padding-bottom: 40px;
}

/* ========================================
   全站标题层级 — 精致排版
   ======================================== */
h1, h2, h3, h4, h5 {
  letter-spacing: -0.01em;
  font-weight: 700;
  color: var(--gp-text);
}

/* ========================================
   Hero 区域 — 渐变卡片 + 微光效
   ======================================== */
.gp-hero {
  background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-hover) 45%, #0f172a 100%);
  color: #fff;
  border-radius: var(--gp-radius-xl);
  padding: var(--gp-space-xl);
  margin-bottom: var(--gp-space-lg);
  box-shadow: var(--gp-shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Hero 背景装饰光斑 */
.gp-hero::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.gp-hero::after {
  content: '';
  position: absolute;
  right: 40px;
  bottom: -40px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.gp-hero h1,
.gp-hero h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.gp-hero p {
  max-width: 760px;
  line-height: 1.8;
  opacity: 0.92;
}

.gp-actions {
  margin-top: 22px;
}

.gp-actions .btn {
  margin-right: 12px;
  margin-bottom: 10px;
}

/* ========================================
   Panel — 顶部装饰条 + 柔阴影
   ======================================== */
.gp-panel {
  background: var(--gp-bg-card);
  border-radius: var(--gp-radius-lg);
  padding: var(--gp-space-lg);
  margin-bottom: var(--gp-space-lg);
  box-shadow: var(--gp-shadow-md);
  border: 1px solid var(--gp-border);
  animation: gpFadeIn 0.3s var(--gp-transition-smooth);
  position: relative;
  overflow: hidden;
}

/* 面板顶部装饰渐变条 */
.gp-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gp-primary), var(--gp-accent));
  border-radius: var(--gp-radius-lg) var(--gp-radius-lg) 0 0;
  opacity: 0.7;
}

.gp-panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gp-border-light);
}

.gp-panel-title h3,
.gp-panel-title h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gp-panel-title h3 {
  font-size: 20px;
}

.gp-panel-title h4 {
  font-size: 17px;
}

.gp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

/* ========================================
   Stat 卡片 — 渐变底色 + icon
   ======================================== */
.gp-stat-card {
  background: var(--gp-bg-card);
  border-radius: var(--gp-radius-lg);
  padding: 22px;
  box-shadow: var(--gp-shadow-md);
  border: 1px solid var(--gp-border);
  transition: transform var(--gp-transition-smooth), box-shadow var(--gp-transition-smooth);
}

.gp-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-hover);
}

.gp-stat-label {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.gp-stat-value {
  color: var(--gp-text);
  font-size: var(--gp-font-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.gp-card {
  background: var(--gp-bg-card);
  border-radius: var(--gp-radius-lg);
  padding: 24px;
  height: 100%;
  box-shadow: var(--gp-shadow-md);
  border: 1px solid var(--gp-border);
  transition: transform var(--gp-transition-smooth), box-shadow var(--gp-transition-smooth);
}

.gp-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--gp-shadow-hover);
}

.gp-card h3,
.gp-card h4 {
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.gp-card p {
  color: var(--gp-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.gp-filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.gp-filter .form-control,
.gp-filter .btn {
  min-height: 42px;
}

.gp-filter .form-control {
  min-width: 160px;
}

.gp-task-list,
.gp-log-list {
  display: grid;
  gap: 16px;
}

/* ========================================
   Task 卡片 — 左边框状态色 + 微交互
   ======================================== */
.gp-task-card {
  background: var(--gp-bg-card);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  padding: 20px 20px 20px 24px;
  transition: transform var(--gp-transition-smooth), box-shadow var(--gp-transition-smooth), border-color var(--gp-transition-fast);
  position: relative;
  border-left: 4px solid var(--gp-border);
}

.gp-task-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-hover);
}

/* 状态左边框颜色 */
.gp-task-card.gp-status-open {
  border-left-color: var(--gp-primary);
}
.gp-task-card.gp-status-in_progress {
  border-left-color: var(--gp-accent);
}
.gp-task-card.gp-status-completed {
  border-left-color: var(--gp-success);
}
.gp-task-card.gp-status-canceled {
  border-left-color: var(--gp-text-faint);
}

.gp-task-head,
.gp-task-meta,
.gp-task-actions,
.gp-log-row,
.gp-wallet-head,
.gp-wallet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.gp-task-title {
  font-size: var(--gp-font-xl);
  font-weight: 700;
  color: var(--gp-text);
  margin: 0;
}

.gp-task-desc,
.gp-detail-desc {
  color: var(--gp-text-muted);
  line-height: 1.8;
  margin: 14px 0;
  white-space: pre-wrap;
}

/* ========================================
   Tags & Status — 精致胶囊标签
   ======================================== */
.gp-tag,
.gp-status {
  display: inline-flex;
  align-items: center;
  border-radius: var(--gp-radius-pill);
  padding: 5px 14px;
  font-size: var(--gp-font-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: opacity var(--gp-transition-fast);
}

.gp-status-open,
.gp-tag-blue {
  background: var(--gp-primary-light);
  color: var(--gp-primary-hover);
}

.gp-status-in_progress,
.gp-tag-orange {
  background: var(--gp-accent-light);
  color: var(--gp-accent-hover);
}

.gp-status-completed,
.gp-tag-green {
  background: var(--gp-success-light);
  color: #15803d;
}

.gp-status-canceled,
.gp-tag-gray {
  background: rgba(148, 163, 184, 0.12);
  color: var(--gp-text-secondary);
}

.gp-detail-grid,
.gp-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gp-detail-item {
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-md);
  padding: 18px;
  border: 1px solid var(--gp-border);
}

/* ========================================
   Wallet 卡片 — 余额卡渐变背景
   ======================================== */
.gp-wallet-card {
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-md);
  padding: 20px;
  border: 1px solid var(--gp-border);
  transition: transform var(--gp-transition-smooth);
}

.gp-wallet-card:hover {
  transform: translateY(-1px);
}

/* 余额卡专属渐变 */
.gp-wallet-card.gp-wallet-balance-card {
  background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-hover) 100%);
  border: none;
  color: var(--gp-text-on-primary);
}

.gp-wallet-card.gp-wallet-balance-card .gp-wallet-label {
  color: rgba(255, 255, 255, 0.85);
}

.gp-wallet-card.gp-wallet-balance-card .gp-wallet-value {
  color: var(--gp-text-on-primary);
  font-size: 32px;
}

.gp-wallet-card.gp-wallet-balance-card .gp-wallet-value small {
  color: rgba(255, 255, 255, 0.7);
}

.gp-detail-label,
.gp-wallet-label {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.gp-detail-value,
.gp-wallet-value {
  color: var(--gp-text);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gp-wallet-value small {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  font-weight: 500;
}

/* ========================================
   Side Tabs — 下划线活跃态 + 过渡
   ======================================== */
.gp-side-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  background: var(--gp-bg-subtle);
  padding: 6px;
  border-radius: var(--gp-radius-md);
}

.gp-side-tabs a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--gp-radius-sm);
  background: transparent;
  color: var(--gp-text-secondary);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--gp-transition-fast), color var(--gp-transition-fast), box-shadow var(--gp-transition-fast);
  text-decoration: none;
}

.gp-side-tabs a.active,
.gp-side-tabs a:hover {
  background: var(--gp-bg-card);
  color: var(--gp-primary);
  text-decoration: none;
  box-shadow: var(--gp-shadow-sm);
}

.gp-side-tabs a.active {
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

/* ========================================
   Empty State — 柔和背景 + 图标
   ======================================== */
.gp-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--gp-text-faint);
  background: var(--gp-bg-subtle);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  font-size: 15px;
  line-height: 1.6;
}

.gp-empty i {
  display: block;
  font-size: 48px;
  color: var(--gp-border-dashed);
  margin-bottom: 16px;
}

/* ========================================
   Pagination — 精致分页器
   ======================================== */
.gp-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.gp-pagination .btn {
  border-radius: var(--gp-radius-sm);
  font-weight: 600;
  font-size: 14px;
  min-width: 100px;
  transition: all var(--gp-transition-fast);
}

.gp-pagination .btn-link {
  color: var(--gp-text-muted);
  font-weight: 500;
  min-width: auto;
}

.gp-highlight {
  color: var(--gp-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.gp-form-help {
  margin-top: 8px;
  color: var(--gp-text-faint);
  font-size: var(--gp-font-xs);
  line-height: 1.6;
}

.gp-form-help strong {
  color: var(--gp-text-muted);
}

/* 规则列表样式 — 精致编号 */
.gp-rules-list,
.gp-steps {
  padding-left: 18px;
  color: var(--gp-text-muted);
  line-height: 2;
  margin-bottom: 0;
  font-size: 14px;
}

.gp-rules-list li,
.gp-steps li {
  margin-bottom: 4px;
  padding-left: 4px;
}
.gp-recharge-address {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background: linear-gradient(135deg, var(--gp-primary-ghost) 0%, var(--gp-success-light) 100%);
  border-radius: var(--gp-radius-md);
  border: 1px solid var(--gp-primary-light);
}

.gp-recharge-qrcode-wrap {
  position: relative;
  flex-shrink: 0;
}

.gp-recharge-qrcode-wrap #trc20-qrcode {
  width: 180px;
  height: 180px;
  background: var(--gp-bg-card);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--gp-shadow-sm);
}

.gp-recharge-qrcode-wrap #trc20-qrcode img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 4px;
}

.gp-recharge-qrcode-wrap #trc20-qrcode canvas {
  width: 100% !important;
  height: 100% !important;
}

.gp-recharge-network-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gp-primary);
  color: var(--gp-text-on-primary);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.gp-recharge-info {
  flex: 1;
  min-width: 0;
}

.gp-recharge-label {
  font-size: var(--gp-font-sm);
  color: var(--gp-text-muted);
  margin-bottom: 8px;
}

.gp-recharge-address-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--gp-text);
  word-break: break-all;
  line-height: 1.6;
  padding: 12px 16px;
  background: var(--gp-bg-card);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-sm);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.gp-recharge-actions {
  display: flex;
  gap: 8px;
}

.gp-recharge-copy-tip {
  font-size: var(--gp-font-xs);
  color: var(--gp-success);
  margin-left: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gp-recharge-copy-tip.show {
  opacity: 1;
}

.gp-danger {
  color: var(--gp-danger);
}

.gp-success {
  color: var(--gp-success);
}

.gp-muted {
  color: var(--gp-text-muted);
}

.gp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

/* 提现计算面板 */
.gp-panel-info {
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-md);
  padding: 18px;
  margin-top: 16px;
}

.gp-form-info-item {
  text-align: center;
  padding: 10px;
}

.gp-form-info-label {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  margin-bottom: 6px;
}

.gp-form-info-value {
  color: var(--gp-text);
  font-size: var(--gp-font-xl);
  font-weight: 700;
}

/* 规则列表样式 */
.gp-rules-list {
  padding-left: 18px;
  color: var(--gp-text-muted);
  line-height: 1.9;
  margin-bottom: 0;
}

@keyframes gpFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- JS 渲染 HTML 的 utility 类名（替代 inline style） --- */
.gp-log-memo {
  font-size: var(--gp-font-md);
}

.gp-log-amount {
  font-size: var(--gp-font-2xl);
  font-weight: 700;
}

.gp-detail-status {
  font-size: var(--gp-font-base);
  vertical-align: middle;
  margin-left: 10px;
  font-weight: normal;
}

.gp-detail-icon-gap {
  margin-right: 5px;
  width: 12px;
  text-align: center;
}

.gp-detail-bid-tag {
  font-size: var(--gp-font-xs);
  margin-left: 5px;
  font-weight: normal;
}

.gp-detail-applicants-count {
  color: var(--gp-accent);
}

.gp-list-title-gap {
  margin-bottom: 15px;
}

.gp-login-actions {
  margin-top: var(--gp-space-md);
}

.gp-avatar-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.gp-recharge-qr-fallback {
  width: 156px;
  height: 156px;
  border-radius: 4px;
}

.gp-user-task-card {
  margin-top: var(--gp-space-sm);
  background: var(--gp-bg-subtle);
}

.gp-user-task-name {
  font-size: var(--gp-font-md);
}

.gp-user-applicant-empty {
  margin-top: var(--gp-space-sm);
}

/* ========================================
   资金流水明细卡片
   ======================================== */
.gp-log-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gp-bg-card);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius-lg);
  padding: 18px 20px;
  box-shadow: var(--gp-shadow-sm);
  transition: transform var(--gp-transition-smooth), box-shadow var(--gp-transition-smooth), border-color var(--gp-transition-fast);
  animation: gpFadeIn 0.25s ease-out;
  border-left: 4px solid var(--gp-border);
}

.gp-log-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--gp-shadow-hover);
}

.gp-log-card.gp-log-income {
  border-left-color: var(--gp-success);
}

.gp-log-card.gp-log-expense {
  border-left-color: var(--gp-danger);
}

.gp-log-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  background: var(--gp-bg-subtle);
  color: var(--gp-text-muted);
  transition: transform var(--gp-transition-fast);
}

.gp-log-card.gp-log-income .gp-log-icon {
  background: var(--gp-success-light);
  color: var(--gp-success);
}

.gp-log-card.gp-log-expense .gp-log-icon {
  background: var(--gp-danger-light);
  color: var(--gp-danger);
}

.gp-log-card:hover .gp-log-icon {
  transform: scale(1.08);
}

.gp-log-info {
  flex: 1;
  min-width: 0;
}

.gp-log-title {
  font-size: var(--gp-font-md);
  font-weight: 700;
  color: var(--gp-text);
  margin-bottom: 6px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-log-time {
  font-size: var(--gp-font-xs);
  color: var(--gp-text-muted);
}

.gp-log-right {
  flex-shrink: 0;
  text-align: right;
  min-width: 110px;
}

.gp-log-amount {
  font-size: var(--gp-font-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  line-height: 1.2;
}

.gp-log-card.gp-log-income .gp-log-amount {
  color: var(--gp-success);
}

.gp-log-card.gp-log-expense .gp-log-amount {
  color: var(--gp-danger);
}

.gp-log-balance {
  font-size: var(--gp-font-xs);
  color: var(--gp-text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.gp-log-balance .fa {
  font-size: 10px;
  color: var(--gp-text-faint);
}

/* --- 骨架屏/加载动画 --- */
.gp-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-md);
}

.gp-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: gpSkeletonSlide 1.5s infinite;
}

@keyframes gpSkeletonSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.gp-skeleton-line {
  height: 14px;
  margin-bottom: 10px;
  border-radius: 4px;
}

.gp-skeleton-line:last-child {
  width: 60%;
}

/* ========================================
   按钮系统 — 微渐变 + 精致阴影
   ======================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-hover) 100%);
  border-color: var(--gp-primary-hover);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--gp-radius-sm);
  transition: transform var(--gp-transition-fast), box-shadow var(--gp-transition-fast), opacity var(--gp-transition-fast);
}

.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
  box-shadow: none;
}

.btn-success {
  background: linear-gradient(135deg, var(--gp-success) 0%, #15803d 100%);
  border-color: #15803d;
  font-weight: 600;
  border-radius: var(--gp-radius-sm);
  transition: transform var(--gp-transition-fast), box-shadow var(--gp-transition-fast);
}

.btn-success:hover {
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
  transform: translateY(-1px);
}

.btn-success:active {
  transform: scale(0.97);
  box-shadow: none;
}

/* btn-danger 覆盖为品牌 accent 色 */
.btn-danger {
  background: linear-gradient(135deg, var(--gp-accent) 0%, var(--gp-accent-hover) 100%);
  border-color: var(--gp-accent-hover);
  font-weight: 600;
  border-radius: var(--gp-radius-sm);
  color: #fff;
  transition: transform var(--gp-transition-fast), box-shadow var(--gp-transition-fast);
}

.btn-danger:hover {
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.3);
  transform: translateY(-1px);
  color: #fff;
}

.btn-danger:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn-warning {
  background: linear-gradient(135deg, var(--gp-warning) 0%, #d97706 100%);
  border-color: #d97706;
  font-weight: 600;
  border-radius: var(--gp-radius-sm);
  transition: transform var(--gp-transition-fast), box-shadow var(--gp-transition-fast);
}

.btn-warning:active {
  transform: scale(0.97);
}

.btn-default {
  border-radius: var(--gp-radius-sm);
  font-weight: 500;
  color: var(--gp-text-secondary);
  border-color: var(--gp-border);
  background: var(--gp-bg-card);
  transition: all var(--gp-transition-fast);
}

.btn-default:hover {
  background: var(--gp-bg-subtle);
  border-color: var(--gp-border-light);
  color: var(--gp-text);
}

/* 按钮通用活跃态缩放 */
.btn-primary:active,
.btn-success:active,
.btn-warning:active {
  transform: scale(0.97);
}

.btn-sm {
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ========================================
   表单输入 — 加深 focus 光圈 + 标签
   ======================================== */
.form-control {
  transition: border-color var(--gp-transition-fast), box-shadow var(--gp-transition-fast);
  border-radius: var(--gp-radius-sm);
  border-color: var(--gp-border);
}

.form-control:focus {
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 4px var(--gp-primary-light);
}

/* 表单 label 加粗 + 间距 */
.form-group label {
  font-weight: 600;
  color: var(--gp-text);
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group .text-danger {
  font-weight: 700;
}

/* --- 分类热门标签 --- */
.gp-hot-cat-link {
  margin-right: 10px;
  color: var(--gp-text-secondary);
  transition: color var(--gp-transition-fast);
}

.gp-hot-cat-link:hover {
  color: var(--gp-primary);
  text-decoration: none;
}

/* --- 区段间距 --- */
.gp-section-gap {
  margin-top: 30px;
}

/* --- 行内空状态（分类区） --- */
.gp-empty-inline {
  color: var(--gp-text-faint);
  padding: 20px;
  font-size: 14px;
  text-align: center;
}

/* --- 验证反馈 --- */
.gp-field-error {
  border-color: var(--gp-danger) !important;
  box-shadow: 0 0 0 3px var(--gp-danger-light) !important;
}

.gp-field-success {
  border-color: var(--gp-success) !important;
  box-shadow: 0 0 0 3px var(--gp-success-light) !important;
}

.gp-error-msg {
  color: var(--gp-danger);
  font-size: var(--gp-font-xs);
  margin-top: 4px;
}

/* --- 列表加载过渡 --- */
.gp-task-list,
.gp-log-list,
#task-list,
#wallet-log-list {
  animation: gpFadeIn 0.25s ease-out;
}

/* --- 面板通用动画 --- */
.gp-stat-card,
.gp-card,
.gp-wallet-card,
.gp-detail-item {
  animation: gpFadeIn 0.3s ease-out;
}

@media (max-width: 991px) {
  .content {
    padding-top: 72px;
  }

  .gp-stats,
  .gp-grid,
  .gp-detail-grid,
  .gp-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 移动端内容区底部留出 tabbar 空间 */
  .content {
    padding-bottom: 56px;
  }

  /* 底部导航栏仅在小屏显示 */
  .gp-mobile-tabbar {
    display: flex;
  }
}

@media (min-width: 992px) {
  .gp-mobile-tabbar {
    display: none !important;
  }

  .content {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .content {
    padding-top: 66px;
  }

  .gp-hero,
  .gp-panel,
  .gp-card,
  .gp-stat-card {
    padding: 18px;
    border-radius: 16px;
  }

  .gp-stats,
  .gp-grid,
  .gp-detail-grid,
  .gp-wallet-grid {
    grid-template-columns: 1fr;
  }

  .gp-filter {
    flex-direction: column;
  }

  .gp-filter .form-control,
  .gp-filter .btn,
  .gp-actions .btn,
  .gp-task-actions .btn,
  .gp-wallet-actions .btn {
    width: 100%;
  }

  /* 充值地址区域竖向排列 */
  .gp-recharge-address {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .gp-recharge-qrcode-wrap #trc20-qrcode {
    width: 160px;
    height: 160px;
  }
}

/* ========================================
   增强移动端适配 — 手机横屏 & 小平板 (576-767px)
   ======================================== */
@media (max-width: 767px) and (min-width: 576px) {
  /* 钱包卡片可以在横屏时双列 */
  .gp-wallet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 任务卡片操作区横向排列 */
  .gp-task-actions {
    flex-direction: row;
  }
  .gp-task-actions .btn {
    width: auto;
    flex: 1;
  }
}

/* ========================================
   增强移动端适配 — 手机竖屏 (≤575px)
   ======================================== */
@media (max-width: 575px) {
  /* 内容区上间距缩小 */
  .content {
    padding-top: 60px;
  }

  /* 容器去掉左右内边距，充分利用屏幕 */
  .gp-page.container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* 面板内边距进一步缩小 */
  .gp-hero,
  .gp-panel,
  .gp-card,
  .gp-stat-card {
    padding: 14px;
    border-radius: 12px;
  }

  /* Hero 标题缩小 */
  .gp-hero h1 {
    font-size: 22px;
  }
  .gp-hero h2 {
    font-size: 18px;
  }
  .gp-hero p {
    font-size: 14px;
  }

  /* 面板标题紧凑化 */
  .gp-panel-title h3 {
    font-size: 17px;
  }
  .gp-panel-title h4 {
    font-size: 15px;
  }
  .gp-panel-title {
    margin-bottom: 14px;
  }

  /* 统计数值缩小 */
  .gp-stat-value,
  .gp-detail-value,
  .gp-wallet-value {
    font-size: 18px;
  }

  /* 任务卡片标题缩小 */
  .gp-task-title {
    font-size: 17px;
  }
  .gp-task-card {
    padding: 14px;
  }

  /* 侧标签页：横向滚动 */
  .gp-side-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 14px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  }
  .gp-side-tabs a {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  /* 操作按钮紧凑化 */
  .gp-actions {
    margin-top: 16px;
  }
  .gp-actions .btn {
    margin-right: 0;
    margin-bottom: 8px;
  }

  /* 分页器紧凑化 */
  .gp-pagination {
    gap: 8px;
    margin-top: 16px;
  }
  .gp-pagination .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* 表单输入框增大触控区域 */
  .form-control {
    min-height: 44px;
    font-size: 16px; /* 防止 iOS 缩放 */
  }
  textarea.form-control {
    min-height: 100px;
  }

  /* 资金流水明细卡片：小屏紧凑化 */
  .gp-log-card {
    padding: 14px;
    gap: 12px;
    border-radius: 14px;
  }

  .gp-log-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .gp-log-title {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .gp-log-amount {
    font-size: 18px;
  }

  .gp-log-time,
  .gp-log-balance {
    font-size: 11px;
  }

  .gp-log-balance .fa {
    font-size: 9px;
  }

  .gp-log-right {
    min-width: 95px;
  }

  /* 空状态缩小 */
  .gp-empty {
    padding: 28px 14px;
    font-size: 14px;
  }

  /* 工具栏堆叠 */
  .gp-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .gp-toolbar .btn {
    width: 100%;
  }

  /* 提现计算面板：三列改一列 */
  .gp-panel-info .row > [class*="col-"] {
    width: 100%;
    margin-bottom: 8px;
  }
  .gp-form-info-value {
    font-size: 18px;
  }
}

/* ========================================
   触控设备优化
   ======================================== */
@media (hover: none) and (pointer: coarse) {
  /* 按钮最小触控高度 44px */
  .btn,
  .gp-side-tabs a,
  .gp-filter-item {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* 移除 hover 变换避免移动端粘滞 */
  .gp-task-card:hover {
    transform: none;
  }

  /* 下拉菜单项增大触控区域 */
  .navbar-nav .dropdown-menu > li > a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* ========================================
   深色模式适配
   ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --gp-primary: #60a5fa;
    --gp-primary-hover: #3b82f6;
    --gp-primary-light: rgba(96, 165, 250, 0.15);
    --gp-primary-ghost: rgba(96, 165, 250, 0.08);

    --gp-accent: #fb923c;
    --gp-accent-hover: #f97316;
    --gp-accent-light: rgba(251, 146, 60, 0.15);
    --gp-accent-ghost: rgba(251, 146, 60, 0.08);

    --gp-success: #4ade80;
    --gp-success-light: rgba(74, 222, 128, 0.15);
    --gp-danger: #f87171;
    --gp-danger-light: rgba(248, 113, 113, 0.15);
    --gp-warning: #fbbf24;
    --gp-warning-light: rgba(251, 191, 36, 0.15);

    --gp-text: #e2e8f0;
    --gp-text-secondary: #cbd5e1;
    --gp-text-muted: #94a3b8;
    --gp-text-faint: #64748b;
    --gp-text-on-primary: #ffffff;

    --gp-bg: #0f172a;
    --gp-bg-card: #1e293b;
    --gp-bg-subtle: #334155;
    --gp-border: #334155;
    --gp-border-light: #475569;
    --gp-border-dashed: #475569;

    --gp-shadow-sm: 0 6px 18px rgba(0, 0, 0, 0.3);
    --gp-shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --gp-shadow-lg: 0 18px 45px rgba(96, 165, 250, 0.12);
    --gp-shadow-hover: 0 16px 35px rgba(0, 0, 0, 0.4);
  }

  /* --- 全局覆盖 --- */
  body {
    background: var(--gp-bg);
    color: var(--gp-text);
  }

  /* 导航栏深色 — 毛玻璃 */
  .navbar-white {
    background: rgba(30, 41, 59, 0.82);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom-color: var(--gp-border);
  }

  .navbar-white .navbar-brand {
    color: var(--gp-primary);
  }

  .navbar-white .navbar-nav > li > a:hover,
  .navbar-white .navbar-nav > li.active > a {
    background: rgba(96, 165, 250, 0.12);
  }

  .navbar-white .avatar-img img {
    border-color: var(--gp-primary-light);
  }

  /* 移动端底部导航深色 — 毛玻璃 */
  .gp-mobile-tabbar {
    background: rgba(30, 41, 59, 0.88);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-top-color: var(--gp-border);
  }

  /* Hero 渐变深色 */
  .gp-hero {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 45%, var(--gp-bg) 100%);
  }

  /* 面板深色 — 顶部装饰条调暗 */
  .gp-panel::before {
    opacity: 0.4;
  }

  .gp-panel {
    border-color: var(--gp-border);
  }

  .gp-panel-title {
    border-bottom-color: var(--gp-border);
  }

  /* 充值地址区域深色 */
  .gp-recharge-address {
    background: linear-gradient(135deg, var(--gp-primary-ghost) 0%, rgba(74, 222, 128, 0.08) 100%);
    border-color: var(--gp-border);
  }

  .gp-recharge-address-text {
    background: var(--gp-bg);
    border-color: var(--gp-border);
    color: var(--gp-text);
  }

  .gp-recharge-qrcode-wrap #trc20-qrcode {
    background: var(--gp-bg-card);
  }

  /* 状态标签深色 */
  .gp-status-open,
  .gp-tag-blue {
    background: var(--gp-primary-light);
    color: var(--gp-primary);
  }

  .gp-status-in_progress,
  .gp-tag-orange {
    background: var(--gp-accent-light);
    color: var(--gp-accent);
  }

  .gp-status-completed,
  .gp-tag-green {
    background: var(--gp-success-light);
    color: var(--gp-success);
  }

  .gp-status-canceled,
  .gp-tag-gray {
    background: rgba(148, 163, 184, 0.12);
    color: var(--gp-text-muted);
  }

  /* 骨架屏深色 */
  .gp-skeleton {
    background: var(--gp-bg-subtle);
  }

  .gp-skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  }

  /* Bootstrap 表单深色 */
  .form-control {
    background: var(--gp-bg-subtle);
    border-color: var(--gp-border);
    color: var(--gp-text);
  }

  .form-control:focus {
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 3px var(--gp-primary-light);
  }

  .form-control::placeholder {
    color: var(--gp-text-faint);
  }

  /* Bootstrap 按钮 */
  .btn-default {
    background: var(--gp-bg-subtle);
    border-color: var(--gp-border);
    color: var(--gp-text);
  }

  .btn-default:hover {
    background: var(--gp-bg);
    border-color: var(--gp-border-light);
  }

  .btn-primary {
    background: linear-gradient(135deg, var(--gp-primary) 0%, var(--gp-primary-hover) 100%);
    border-color: var(--gp-primary-hover);
  }

  .btn-success {
    background: linear-gradient(135deg, var(--gp-success) 0%, #15803d 100%);
    border-color: #15803d;
    color: #0f172a;
  }

  .btn-danger {
    background: linear-gradient(135deg, var(--gp-accent) 0%, var(--gp-accent-hover) 100%);
    border-color: var(--gp-accent-hover);
    color: #fff;
  }

  /* 资金流水明细卡片深色 */
  .gp-log-card {
    background: var(--gp-bg-card);
    border-color: var(--gp-border);
  }

  .gp-log-icon {
    background: var(--gp-bg-subtle);
  }

  .gp-log-card.gp-log-income .gp-log-icon {
    background: rgba(74, 222, 128, 0.15);
  }

  .gp-log-card.gp-log-expense .gp-log-icon {
    background: rgba(248, 113, 113, 0.15);
  }

  .gp-log-balance .fa {
    color: var(--gp-text-muted);
  }

  /* 通用文本色 */
  .text-danger { color: var(--gp-danger) !important; }
  .text-success { color: var(--gp-success) !important; }
  .text-muted { color: var(--gp-text-faint) !important; }
  .text-right { color: var(--gp-text); }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
  .navbar,
  .footer,
  .gp-side-tabs,
  .gp-actions,
  .gp-pagination,
  .sidebar-toggle {
    display: none !important;
  }
  .content {
    padding-top: 0;
  }
  .gp-panel {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* ========================================
   工作台（交付/验收）样式
   ======================================== */

.gp-workbench {
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-lg);
  padding: 16px;
}

.gp-delivery-item {
  background: var(--gp-bg);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  padding: 12px 16px;
  margin-bottom: 12px;
  transition: all var(--gp-transition);
}

.gp-delivery-item:last-child {
  margin-bottom: 0;
}

.gp-delivery-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.gp-delivery-author {
  font-weight: 600;
  color: var(--gp-text);
}

.gp-delivery-time {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
}

.gp-delivery-content {
  color: var(--gp-text);
  line-height: 1.6;
  margin-bottom: 8px;
}

.gp-delivery-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.gp-delivery-attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--gp-primary);
  font-size: var(--gp-font-sm);
  padding: 4px 8px;
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-sm);
  text-decoration: none;
  transition: all var(--gp-transition);
}

.gp-delivery-attachment-link:hover {
  background: var(--gp-primary-ghost);
  color: var(--gp-primary);
}

.gp-delivery-review-notes {
  background: var(--gp-bg-subtle);
  border-left: 3px solid var(--gp-accent);
  padding: 8px 12px;
  margin-top: 8px;
  font-size: var(--gp-font-sm);
  color: var(--gp-text);
}

.gp-delivery-form {
  margin-top: 16px;
  padding: 16px;
  background: var(--gp-bg);
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
}

.gp-delivery-form-title {
  font-weight: 700;
  font-size: var(--gp-font-lg);
  color: var(--gp-text);
  margin-bottom: 12px;
}

.gp-delivery-input {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--gp-border);
  border-radius: var(--gp-radius);
  padding: 12px;
  font-size: 16px; /* 防 iOS 缩放 */
  resize: vertical;
  transition: all var(--gp-transition);
  background: var(--gp-bg);
  color: var(--gp-text);
}

.gp-delivery-input:focus {
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  outline: none;
}

.gp-delivery-form-actions {
  margin-top: 12px;
  text-align: right;
}

.gp-tag-green {
  background: #e8f5e9;
  color: #2e7d32;
}

.gp-tag-red {
  background: #ffebee;
  color: #c62828;
}

.gp-tag-gray {
  background: #f5f5f5;
  color: #616161;
}

/* ========================================
   争议样式
   ======================================== */

.gp-dispute-card {
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius-lg);
  padding: 16px;
}

.gp-dispute-reason {
  font-weight: 600;
  color: var(--gp-text);
  margin-bottom: 8px;
}

.gp-dispute-desc {
  color: var(--gp-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.gp-dispute-parties {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  margin-bottom: 12px;
}

.gp-dispute-parties span {
  color: var(--gp-text);
  font-weight: 500;
}

.gp-dispute-status {
  margin-bottom: 12px;
}

.gp-dispute-actions {
  display: flex;
  gap: 8px;
}

.gp-dispute-note {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  margin-bottom: 12px;
  line-height: 1.5;
}

.gp-dispute-resolution {
  font-weight: 600;
  margin-bottom: 8px;
}

.gp-dispute-detail {
  color: var(--gp-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.gp-dispute-time {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
}

.gp-dispute-evidence {
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius);
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: var(--gp-font-sm);
  color: var(--gp-text-muted);
}

.gp-dispute-evidence-item {
  color: var(--gp-text);
  padding: 4px 0;
  word-break: break-all;
  line-height: 1.5;
}

/* ========================================
   用户简介弹窗样式
   ======================================== */

.gp-profile-popup {
  padding: 20px;
}

.gp-profile-popup-header {
  text-align: center;
  margin-bottom: 16px;
}

.gp-profile-popup-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 8px;
  background: var(--gp-bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gp-primary-light);
  color: var(--gp-primary);
}

.gp-profile-popup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gp-profile-popup-avatar i {
  font-size: 28px;
}

.gp-profile-popup-name {
  font-weight: 700;
  color: var(--gp-text);
  font-size: var(--gp-font-lg);
}

.gp-profile-popup-stats {
  color: var(--gp-text-muted);
  font-size: var(--gp-font-sm);
  margin-top: 4px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.gp-profile-popup-bio {
  color: var(--gp-text);
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 12px;
  background: var(--gp-bg-subtle);
  border-radius: var(--gp-radius);
}

.gp-profile-popup-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* 深色模式适配 */
@media (prefers-color-scheme: dark) {
  .gp-tag-green { background: #1b5e20; color: #a5d6a7; }
  .gp-tag-red { background: #b71c1c; color: #ef9a9a; }
  .gp-tag-gray { background: #424242; color: #bdbdbd; }
  .gp-delivery-review-notes { border-left-color: #e8590c; background: rgba(255,255,255,0.05); }
  .gp-msg-item { background: #2a2a2a; border-color: #444; }
  .gp-msg-item-unread { background: #1a3a1a; }
  .gp-msg-tabs { background: #2a2a2a; }
  .gp-msg-tab.active { background: var(--gp-primary); color: #fff; }
}

/* ========================================
   站内信消息样式
   ======================================== */

/* 导航栏未读气泡 */
.gp-msg-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: var(--gp-accent, #e8590c);
  border-radius: 9px;
  vertical-align: super;
  margin-left: 2px;
}

/* 移动端底部导航气泡 */
.gp-msg-badge-mobile {
  position: absolute;
  top: 2px;
  right: 8px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 3px;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: var(--gp-accent, #e8590c);
  border-radius: 8px;
}

.gp-tabbar-msg {
  position: relative;
}

/* 消息页面 */
.gp-msg-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 类型筛选标签 */
.gp-msg-tabs {
  display: flex;
  gap: 0;
  padding: 12px 0;
  background: #f5f5f5;
  border-radius: var(--gp-radius-md, 8px);
  overflow: hidden;
}

.gp-msg-tab {
  padding: 8px 16px;
  font-size: var(--gp-font-sm, 13px);
  color: var(--gp-text-muted, #888);
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 0;
}

.gp-msg-tab:hover {
  color: var(--gp-primary, #2563eb);
}

.gp-msg-tab.active {
  background: var(--gp-primary, #2563eb);
  color: #fff;
  font-weight: 600;
}

/* 消息列表 */
.gp-msg-list {
  margin-top: 16px;
}

.gp-msg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid var(--gp-border, #e5e7eb);
  border-radius: var(--gp-radius-md, 8px);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}

.gp-msg-item:hover {
  border-color: var(--gp-primary, #2563eb);
  box-shadow: 0 2px 8px rgba(37,99,235,0.1);
  transform: translateY(-1px);
}

.gp-msg-item-unread {
  background: #f0f7ff;
  border-left: 3px solid var(--gp-primary, #2563eb);
}

.gp-msg-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gp-bg-subtle, #f5f5f5);
  border-radius: 50%;
  font-size: 16px;
  color: var(--gp-primary, #2563eb);
  flex-shrink: 0;
}

.gp-msg-item-unread .gp-msg-icon {
  background: var(--gp-primary, #2563eb);
  color: #fff;
}

.gp-msg-body {
  flex: 1;
  min-width: 0;
}

.gp-msg-title {
  font-weight: 600;
  font-size: var(--gp-font-md, 14px);
  color: var(--gp-text, #111827);
  margin-bottom: 4px;
}

.gp-msg-item-unread .gp-msg-title {
  color: var(--gp-primary, #2563eb);
}

.gp-msg-content {
  font-size: var(--gp-font-sm, 13px);
  color: var(--gp-text-muted, #888);
  line-height: 1.5;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.gp-msg-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gp-font-xs, 12px);
  color: var(--gp-text-faint, #aaa);
}

.gp-msg-type-tag {
  padding: 2px 6px;
  background: var(--gp-bg-subtle, #f5f5f5);
  border-radius: 3px;
  font-size: var(--gp-font-xs, 12px);
}

.gp-msg-dot {
  width: 8px;
  height: 8px;
  background: var(--gp-accent, #e8590c);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 14px;
}

/* 分页 */
.gp-msg-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 16px 0;
}

.gp-msg-page {
  padding: 6px 12px;
  font-size: var(--gp-font-sm, 13px);
  color: var(--gp-text-muted, #888);
  border: 1px solid var(--gp-border, #e5e7eb);
  border-radius: var(--gp-radius-sm, 4px);
  text-decoration: none;
  transition: all 0.2s;
}

.gp-msg-page:hover {
  border-color: var(--gp-primary, #2563eb);
  color: var(--gp-primary, #2563eb);
}

.gp-msg-page.active {
  background: var(--gp-primary, #2563eb);
  color: #fff;
  border-color: var(--gp-primary, #2563eb);
}
