a[data-tf-tx-nav] {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
}
#tf-tx-box {
  margin: 1.25rem 0 0;
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 1.25rem;
  background: rgba(8, 10, 22, 0.72);
  color: #e2e8f0;
  padding: 1.05rem 1.05rem 0.85rem;
  font-family: Figtree, system-ui, sans-serif;
}

#tf-tx-box .tf-tx-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
}

#tf-tx-box .tf-tx-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a78bfa;
}

#tf-tx-box h2 {
  margin: 0.15rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
}

#tf-tx-box .tf-tx-lead {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: #94a3b8;
}

#tf-tx-box .tf-tx-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

#tf-tx-box .tf-tx-tab {
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: transparent;
  color: #cbd5e1;
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

#tf-tx-box .tf-tx-tab.is-on {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(124, 58, 237, 0.2);
  color: #ede9fe;
}

#tf-tx-box .tf-tx-empty {
  padding: 1.1rem 0.2rem 0.6rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

#tf-tx-box .tf-tx-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem 0.8rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#tf-tx-box .tf-tx-amt {
  margin: 0;
  font-weight: 700;
  color: #f8fafc;
}

#tf-tx-box .tf-tx-meta {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #94a3b8;
}

#tf-tx-box .tf-tx-status {
  display: inline-flex;
  margin-left: 0.4rem;
  padding: 0.08rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#tf-tx-box .st-queued {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
}

#tf-tx-box .st-verified {
  background: rgba(129, 140, 248, 0.18);
  color: #c7d2fe;
}

#tf-tx-box .st-processing {
  background: rgba(56, 189, 248, 0.16);
  color: #7dd3fc;
}

#tf-tx-box .st-sent {
  background: rgba(45, 212, 191, 0.16);
  color: #5eead4;
}

#tf-tx-box .st-cancelled {
  background: rgba(248, 113, 113, 0.14);
  color: #fda4af;
}

#tf-tx-box .tf-tx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-self: center;
}

#tf-tx-box .tf-tx-actions button {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.6);
  color: #e2e8f0;
  border-radius: 0.55rem;
  padding: 0.32rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

#tf-tx-box .tf-tx-actions .is-warn {
  border-color: rgba(251, 113, 133, 0.4);
  color: #fecdd3;
}

#tf-tx-dlg {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

#tf-tx-dlg[hidden] {
  display: none !important;
}

#tf-tx-dlg .tf-tx-back {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 16, 0.72);
}

#tf-tx-dlg .tf-tx-card {
  position: relative;
  width: min(28rem, 100%);
  border-radius: 1.2rem;
  border: 1px solid rgba(196, 181, 253, 0.22);
  background: #0b1220;
  padding: 1.15rem 1.15rem 1rem;
  color: #e2e8f0;
}

#tf-tx-dlg h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

#tf-tx-dlg p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: #cbd5e1;
}

#tf-tx-dlg label {
  display: block;
  margin: 0.55rem 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

#tf-tx-dlg input,
#tf-tx-dlg textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.7rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #0f172a;
  color: #f8fafc;
  padding: 0.55rem 0.7rem;
  font: inherit;
}

#tf-tx-dlg .tf-tx-dlg-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

#tf-tx-dlg button {
  border: 0;
  border-radius: 0.65rem;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

#tf-tx-dlg .tf-tx-save {
  background: linear-gradient(135deg, #22d3ee, #7c3aed);
  color: #071018;
}

#tf-tx-dlg .tf-tx-x {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}
.tf-pend-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.55rem;
  margin-top: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.08);
}

.tf-pend-row .tf-pend-k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fcd34d;
}

.tf-pend-row .tf-pend-v {
  font-size: 1rem;
  font-weight: 700;
  color: #fef3c7;
}

.tf-pend-row .tf-pend-h {
  flex-basis: 100%;
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Let the money-copy sit back visually without muting the actions. */
#tf-tx-box .tf-tx-kicker,
#tf-tx-box .tf-tx-lead,
#tf-tx-box .tf-tx-meta,
#tf-tx-box .tf-tx-empty,
#tf-tx-box .tf-tx-tab,
#tf-tx-dlg p,
#tf-tx-dlg label,
.tf-pend-row .tf-pend-k,
.tf-pend-row .tf-pend-h {
  opacity: 0.62;
}

#tf-tx-box .tf-tx-status {
  opacity: 0.72;
}

/* The in-player "Trueflix" pill is cloned from the Withdraw button, so it
   inherits that button's solid teal-to-coral fill and drop shadow. Strip both
   so the pill reads as see-through, and lighten the copy so the word stays
   legible over video. */
a[data-tf-tx-nav] {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #eef2ff !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

a[data-tf-tx-nav]:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  opacity: 1 !important;
}
nt;
  opacity: 1 !important;
}
