/* 积分转账 · 品牌青绿轻盈布局 */
.tf-phone {
  --tf-ink: #1a2210;
  --tf-muted: rgba(26, 34, 16, 0.48);
  --tf-orange: #f0731f;
  --tf-green: #16a34a;
  background:
    radial-gradient(100% 70% at 100% 0%, rgba(137, 248, 0, 0.28), transparent 50%),
    linear-gradient(180deg, #f2f8e6 0%, #f7f8f4 100%);
}
.tf-scroll {
  height: calc(100% - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px 28px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.tf-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.tf-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(26, 34, 16, 0.04);
  overflow: hidden;
}
.tf-tab {
  flex: 1;
  height: 46px;
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: rgba(26, 34, 16, 0.42);
  cursor: pointer;
  position: relative;
}
.tf-tab.is-on {
  color: var(--tf-ink);
  font-weight: 800;
}
.tf-tab.is-on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 28px;
  height: 3px;
  margin-left: -14px;
  border-radius: 2px;
  background: var(--tf-orange);
}
.tf-balance {
  border-radius: 20px;
  padding: 18px 16px 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 34, 16, 0.05);
  margin-bottom: 14px;
}
.tf-balance-label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: rgba(26, 34, 16, 0.62);
}
.tf-balance-value {
  margin: 6px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tf-ink);
  font-variant-numeric: tabular-nums;
}
.tf-balance-tip {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(26, 34, 16, 0.55);
}
.tf-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 34, 16, 0.05);
}
.tf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tf-field span {
  font-size: 12px;
  font-weight: 600;
  color: var(--tf-muted);
}
.tf-field input {
  height: 44px;
  border: 1px solid #ecefe6;
  border-radius: 12px;
  padding: 0 12px;
  font-size: 15px;
  color: var(--tf-ink);
  background: #fafbf7;
  outline: none;
}
.tf-field input:focus {
  border-color: #89f800;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(137, 248, 0, 0.18);
}
.tf-submit {
  margin-top: 4px;
  height: 46px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(100deg, #c8ff5a, #89f800 55%, #9dff1a);
  color: #142008;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(137, 248, 0, 0.28);
}
.tf-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.tf-records {
  margin-top: 18px;
}
.tf-rec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.tf-rec-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--tf-ink);
}
.tf-rec-head span {
  font-size: 11px;
  color: var(--tf-muted);
}
.tf-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tf-rec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(26, 34, 16, 0.04);
}
.tf-rec-main {
  min-width: 0;
  flex: 1;
}
.tf-rec-top {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tf-chip {
  flex-shrink: 0;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 22px;
}
.tf-chip.out {
  background: rgba(240, 115, 31, 0.12);
  color: var(--tf-orange);
}
.tf-chip.in {
  background: rgba(22, 163, 74, 0.12);
  color: var(--tf-green);
}
.tf-rec-title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--tf-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tf-rec-time {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--tf-muted);
}
.tf-rec-amt {
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.tf-rec-amt.out { color: var(--tf-orange); }
.tf-rec-amt.in { color: var(--tf-green); }
.tf-empty {
  text-align: center;
  padding: 36px 12px;
  color: var(--tf-muted);
  font-size: 13px;
  background: #fff;
  border-radius: 16px;
}
