#income .income-card {
  border-color: #fff3;
  border-right-color: #fff2;
  border-bottom-color: #fff2;
  background: #241f19;
  box-shadow: none;
}

#income .income-overview {
  overflow: hidden;
  gap: 5px;
  min-height: 134px;
  background: linear-gradient(90deg, #634c3a, #3f3024 18%, #150f07 83%);
}

#income .income-head {
  gap: 4px;
}

#income .income-head h2 {
  font-size: 16px;
}

#income .income-amount,
#income .income-today dd,
#income .income-totals dd {
  font-family: Akrobat, "Arial Narrow", system-ui, sans-serif;
}

#income .income-amount {
  margin-top: 3px;
  line-height: 34px;
}

.income-watermark {
  position: absolute;
  z-index: -1;
  right: 45px;
  bottom: 0;
  width: 92px;
  height: 96px;
  pointer-events: none;
}

.income-watermark-person {
  position: absolute;
  inset: 0;
  color: #fff1dd13;
}

.income-watermark-person::before,
.income-watermark-person::after {
  position: absolute;
  display: block;
  background: currentColor;
  content: "";
}

.income-watermark-person::before {
  top: 0;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.income-watermark-person::after {
  inset: auto 0 -29px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(currentColor, transparent 90%);
}

.income-watermark-peer {
  transform: translateX(36px);
}

.income-watermark-peer::before {
  clip-path: inset(0 0 0 52% round 0 50% 50% 0);
}

.income-watermark-peer::after {
  clip-path: inset(0 0 0 64%);
}

.income-watermark-team::before {
  position: absolute;
  top: 15px;
  left: -53px;
  width: 61px;
  height: 61px;
  background: #fff1dd11;
  clip-path: polygon(37% 0, 63% 0, 63% 37%, 100% 37%, 100% 63%, 63% 63%, 63% 100%, 37% 100%, 37% 63%, 0 63%, 0 37%, 37% 37%);
  content: "";
}

#income .income-settlement {
  gap: 10px;
  min-height: 102px;
  padding-top: 12px;
  border-top: 0;
  background: linear-gradient(#241f19, #1a1814);
}

#income .income-records {
  min-height: 30px;
  border-color: #b8996936;
  color: #fff3e4;
}

#income .income-totals {
  margin-inline: -8px;
}

#income .income-totals > div + div {
  border-left-color: #ffffff22;
}

.income-claim-symbol {
  display: grid;
  width: 15px;
  height: 13px;
  place-items: center;
  border-radius: 3px;
  background: #f5e7d7;
  color: #594943;
  font: 900 12px/1 system-ui, sans-serif;
}

#income .income-agency {
  padding-block: 12px;
  background:
    linear-gradient(125deg, transparent 50%, #5a473419 50.2%, #5a47343d),
    linear-gradient(#251e15, #21100d);
  box-shadow: none;
}

#income .income-agency-art {
  width: min(42%, 143px);
  bottom: -5px;
}

#income .income-agency p {
  color: #d8b878;
  font-size: 12px;
}

#income .income-agency .income-action {
  min-width: 102px;
}

.income-agency-symbol {
  width: 15px;
  height: 14px;
  background: #f5e7d7;
  clip-path: polygon(2% 46%, 96% 10%, 83% 91%, 49% 68%, 79% 32%, 41% 62%);
}

@media (max-width: 350px) {
  #income .income-overview,
  #income .income-settlement {
    padding-inline: 12px;
  }

  #income .income-agency h2 {
    font-size: 14px;
  }
}

/* 2026.11.22 文档第 5 条：招商代理图原来底部超出卡片被裁掉一半 → 整张图放进卡片里，上下居中 */
#income .income-agency-art {
  top: 50%;
  bottom: auto;
  right: 6px;
  width: auto;
  height: min(118px, calc(100% - 4px));
  max-width: 44%;
  object-fit: contain;
  transform: translateY(-50%);
  opacity: 1;
}
#income .income-agency > div { max-width: 60%; }
#income .income-agency .income-agency-note { margin: 0; color: #c4a994; font-size: 12px; }

/* 返水 / 返佣详情：游戏分类标签 + VIP 返水比例表（照原版） */
.income-rate-section { margin-top: 12px; }
.income-rate-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.income-rate-tabs::-webkit-scrollbar { display: none; }
.income-rate-tabs button {
  flex: none;
  min-height: 30px;
  padding: 4px 14px;
  border: 1px solid #ffffff26;
  border-radius: 15px;
  background: #ffffff0a;
  color: #cdb9a3;
  font-size: 13px;
}
.income-rate-tabs button[aria-selected="true"] { border-color: #d8b878; color: #f6dfb8; background: #d8b8781a; }
.income-rate-table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff08;
  font-size: 13px;
}
.income-rate-table th, .income-rate-table td { padding: 7px 16px; text-align: center; }
.income-rate-table thead th { color: #f1e4d3; font-weight: 500; text-align: left; border-bottom: 1px solid #d8b87866; }
.income-rate-table thead th:last-child, .income-rate-table td { text-align: right; }
.income-rate-table tbody th { color: #cdb9a3; font-weight: 400; }
.income-rate-table td { color: #fff; font-variant-numeric: tabular-nums; }
#income .income-agency h2 { font-size: 15px; white-space: nowrap; }
