:root{ --blue-soft:#eff6ff; }
.user-row{ transition:.15s; }
.rec-loading{ padding:40px;text-align:center;color:var(--muted); }

/* ===== 推广提现模态框（专属 wd- 前缀，避免与 console-app.js 的 .ym-mask/.ym-dlg 全局组件冲突） ===== */
.wd-mask{
  position:fixed;
  inset:0;
  z-index:2147483001;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  opacity:0;
  transition:opacity .2s ease;
}
.wd-mask.show{ display:flex; opacity:1; }

.wd-dlg{
  width:min(520px, 100%);
  max-height:min(680px, 90vh);
  background:#fff;
  border-radius:14px;
  box-shadow:0 24px 80px rgba(0,0,0,.22);
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transform:translateY(10px) scale(.98);
  transition:transform .2s ease, opacity .2s ease;
}
.wd-mask.show .wd-dlg{ transform:translateY(0) scale(1); }

.wd-dlg__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 20px;
  border-bottom:1px solid #f1f5f9;
}
.wd-dlg__title{
  font-size:16px;
  font-weight:800;
  color:#1f2937;
  margin:0;
}
.wd-dlg__close{
  width:32px;
  height:32px;
  border:none;
  background:#f8fafc;
  border-radius:8px;
  color:#64748b;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s, color .15s;
}
.wd-dlg__close:hover{ background:#f1f5f9; color:#1f2937; }

.wd-dlg__body{
  padding:20px;
  overflow:auto;
}
.wd-dlg__footer{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:12px 20px 16px;
  border-top:1px solid #f1f5f9;
}

.wd-tabs{
  display:flex;
  gap:8px;
  margin-bottom:18px;
  padding:4px;
  background:#f8fafc;
  border-radius:10px;
}
.wd-tab{
  flex:1;
  padding:9px 0;
  border-radius:8px;
  border:none;
  background:transparent;
  color:#64748b;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all .15s;
}
.wd-tab.active{
  background:#fff;
  color:#1677ff;
  box-shadow:0 1px 3px rgba(0,0,0,.08);
  font-weight:700;
}

.wd-form-row{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:14px;
}
.wd-form-field{
  flex:1;
  min-width:200px;
}
.wd-form-field label,
.wd-form-field .wd-label{
  display:block;
  font-size:12px;
  color:#64748b;
  margin-bottom:6px;
}
.wd-form-field input,
.wd-form-field select{
  width:100%;
  padding:10px 12px;
  border:1px solid #e2e8f0;
  border-radius:10px;
  font-size:14px;
  box-sizing:border-box;
  outline:none;
  background:#fff;
  transition:border-color .15s, box-shadow .15s;
}
.wd-form-field input:focus,
.wd-form-field select:focus{
  border-color:#1677ff;
  box-shadow:0 0 0 3px rgba(22,119,255,.08);
}
.wd-form-hint{
  font-size:12px;
  color:#64748b;
  line-height:1.7;
  margin-bottom:16px;
  padding:10px 12px;
  background:#f8fafc;
  border-radius:8px;
}

.wd-btn{
  padding:9px 22px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  border:1px solid transparent;
  transition:opacity .15s, transform .05s;
}
.wd-btn:active{ transform:translateY(1px); }
.wd-btn:disabled{ opacity:.65; cursor:not-allowed; }
.wd-btn--secondary{
  background:#fff;
  color:#1f2937;
  border-color:#e2e8f0;
}
.wd-btn--secondary:hover{ background:#f8fafc; }
.wd-btn--primary{
  background:#1677ff;
  color:#fff;
  border-color:#1677ff;
}
.wd-btn--primary:hover{ background:#0f5fd7; }

.wd-records-box{ max-height:46vh; overflow:auto; }
