/* 套现预警模块样式 —— 与全站苹果风一致 */
.ws-wrap { max-width: 1180px; }

.ws-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ws-head h2 { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.02em; }
.ws-sub { font-size: 12.5px; color: var(--t3); }

/* 统计卡 */
.ws-stats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 16px;
}
.ws-card {
  background: linear-gradient(180deg, #fff, #fdfdff);
  border: .5px solid var(--hair); border-radius: 14px;
  box-shadow: var(--sh-1), 0 0 0 .5px var(--hair-2);
  padding: 13px 14px;
}
.ws-card.a { background: linear-gradient(135deg, rgba(255,90,102,.09), rgba(255,90,102,.03)); border-color: rgba(255,90,102,.18); }
.ws-k { font-size: 11.5px; color: var(--t2); font-weight: 520; }
.ws-v { font-size: 24px; font-weight: 700; font-family: var(--mono); letter-spacing: -.04em; margin-top: 2px; }
.ws-card.a .ws-v { color: #d93b47; }
.ws-s { font-size: 10.5px; color: var(--t3); margin-top: 1px; }

/* Tab */
.ws-tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: .5px solid var(--hair); }
.ws-tab {
  border: 0; background: transparent; padding: 9px 15px;
  font-size: 13.5px; font-weight: 560; color: var(--t2);
  border-bottom: 2px solid transparent; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
}
.ws-tab.on { color: var(--blue); border-bottom-color: var(--blue); }
.ws-tab i {
  font-style: normal; font-size: 10.5px; background: rgba(10,108,255,.12);
  color: var(--blue); padding: 1px 6px; border-radius: 999px; font-weight: 600;
}

/* 筛选 */
.ws-filter { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ws-filter select {
  border: .5px solid var(--hair); background: var(--card-2);
  border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--text);
  -webkit-appearance: none; appearance: none; min-width: 118px;
}

/* 按钮 */
.ws-btn {
  border: .5px solid var(--hair); border-radius: 999px;
  padding: 8px 18px; font-size: 13px; font-weight: 560;
  background: linear-gradient(180deg, #fff, #f2f4f8); color: var(--text);
  box-shadow: 0 1px 2px rgba(16,17,20,.07), inset 0 1px 0 #fff; cursor: pointer;
}
.ws-btn.pri {
  background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
  border-color: transparent; box-shadow: 0 3px 12px rgba(10,108,255,.3);
}
.ws-btn[disabled] { opacity: .42; box-shadow: none; cursor: not-allowed; }
.ws-btn:active { transform: scale(.97); }

.ws-mini {
  border: .5px solid rgba(10,108,255,.2); background: rgba(10,108,255,.08);
  color: #0653c4; font-size: 11.5px; font-weight: 600;
  padding: 4px 11px; border-radius: 999px; cursor: pointer;
}
.ws-mini.danger { border-color: rgba(230,57,70,.2); background: rgba(230,57,70,.08); color: #c92f3b; }
.ws-dim2 { font-size: 11.5px; color: var(--t3); }

/* 表格 */
.ws-tablewrap {
  background: #fff; border: .5px solid var(--hair); border-radius: 14px;
  box-shadow: var(--sh-1), 0 0 0 .5px var(--hair-2); overflow: auto;
}
.ws-tb { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.ws-tb th {
  text-align: left; font-weight: 600; font-size: 11.5px; color: var(--t3);
  padding: 11px 12px; border-bottom: .5px solid var(--hair); white-space: nowrap;
  background: rgba(120,128,142,.035); position: sticky; top: 0;
}
.ws-tb td { padding: 10px 12px; border-bottom: .5px solid var(--hair-2); vertical-align: middle; }
.ws-tb tr:last-child td { border-bottom: 0; }
.ws-tb tr.sel td { background: rgba(10,108,255,.05); }
.ws-tb th.ck, .ws-tb td.ck { width: 34px; text-align: center; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: -.01em; }
.mono.sm { font-size: 11.5px; color: var(--t2); }
.ws-tb td.card { white-space: nowrap; }
.ws-tb td.hit b { font-size: 15px; font-family: var(--mono); }
.ws-tb td.hit i { font-style: normal; font-size: 11px; color: var(--t3); }
.ws-tb td.ops { text-align: right; white-space: nowrap; }

/* 徽标 */
.ws-b { font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px; display: inline-block; }
.ws-b.pend { background: rgba(244,161,26,.15); color: #9a6200; }
.ws-b.went { background: rgba(10,108,255,.12); color: #0653c4; }
.ws-b.ok   { background: rgba(24,165,88,.14); color: #0f7d42; }
.ws-b.dim-day   { background: rgba(255,90,102,.13); color: #c92f3b; }
.ws-b.dim-week  { background: rgba(244,161,26,.15); color: #9a6200; }
.ws-b.dim-month { background: rgba(10,108,255,.12); color: #0653c4; }

.ws-actions {
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  padding: 13px 4px 0; font-size: 12.5px; color: var(--t2);
}
.ws-actions b { color: var(--text); font-family: var(--mono); font-size: 14px; }

.ws-empty { padding: 34px 22px; text-align: center; font-size: 13px; color: var(--t3); line-height: 1.9; }

/* 白名单 */
.ws-add { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ws-add input {
  border: .5px solid var(--hair); background: var(--card-2);
  border-radius: 10px; padding: 9px 12px; font-size: 13px; color: var(--text);
  flex: 1; min-width: 130px;
}
.ws-add input:focus { outline: none; border-color: var(--blue); background: #fff; }

/* 阈值 */
.ws-cfg {
  background: #fff; border: .5px solid var(--hair); border-radius: 14px;
  box-shadow: var(--sh-1), 0 0 0 .5px var(--hair-2); padding: 20px 22px; max-width: 620px;
}
.ws-tip { font-size: 12.5px; color: var(--t2); background: rgba(10,108,255,.06);
  border-radius: 10px; padding: 10px 13px; margin-bottom: 16px; line-height: 1.7; }
.cfg-row { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; font-size: 13.5px; }
.cfg-row label { width: 62px; font-weight: 600; color: var(--text); }
.cfg-row span { color: var(--t2); font-size: 12.5px; }
.cfg-row input {
  width: 72px; border: .5px solid var(--hair); background: var(--card-2);
  border-radius: 9px; padding: 8px 10px; font-size: 16px; font-weight: 650;
  font-family: var(--mono); text-align: center; color: var(--text);
}
.cfg-row input:focus { outline: none; border-color: var(--blue); background: #fff; }
.ws-meta { margin-top: 16px; font-size: 11.5px; color: var(--t3); }

/* toast */
.ws-toast {
  position: fixed; left: 50%; top: 24px; transform: translateX(-50%); z-index: 99;
  background: rgba(16,17,20,.9); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-size: 13px; font-weight: 520; backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(16,17,20,.28);
}
.ws-foot { margin-top: 18px; font-size: 11px; color: var(--t3); text-align: center; }

@media (max-width: 980px) {
  .ws-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .ws-stats { grid-template-columns: repeat(2, 1fr); }
  .ws-head h2 { font-size: 19px; }
}
