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;
}
/* The bundle draws a short "Recent requests" strip of its own beside the
   payout form. The history below is the single list of payouts the member
   sees, so the bundle's strip is taken out of the page here, in the sheet the
   shell loads in its head: no script has to run, and no route has to match,
   for it to go.

   Each payout is now a card with a decided shape of its own: a state ribbon
   across its top, the method and its mark on the left with the money on the
   right, a five-stop track showing how far the payout has travelled, the live
   release clock under it, and a receipt of every field the payout carries
   folded away at the bottom. A payout the member took back keeps its place in
   the history, greyed, so the record is whole. */
[data-testid="withdraw-ledger"] {
  display: none !important;
}

/* A stack of cards reads better than a run of ruled lines. */
#tf-tx-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.35rem;
}

#tf-tx-box .tf-tx-row {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 1.05rem 1.05rem 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(23, 32, 52, 0.72), rgba(11, 16, 30, 0.62));
  box-shadow: 0 20px 44px -32px rgba(0, 0, 0, 0.95);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

/* The ribbon across the top names the state of the payout before a word is
   read, and the card lifts a hair under the pointer. */
#tf-tx-box .tf-tx-row::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #64748b, rgba(100, 116, 139, 0.12));
}

#tf-tx-box .tf-tx-row[data-st="queued"]::before {
  background: linear-gradient(90deg, #fbbf24, rgba(251, 191, 36, 0.12));
}

#tf-tx-box .tf-tx-row[data-st="verified"]::before {
  background: linear-gradient(90deg, #818cf8, rgba(129, 140, 248, 0.12));
}

#tf-tx-box .tf-tx-row[data-st="processing"]::before {
  background: linear-gradient(90deg, #38bdf8, rgba(56, 189, 248, 0.12));
}

#tf-tx-box .tf-tx-row[data-st="sending"]::before {
  background: linear-gradient(90deg, #2dd4bf, rgba(45, 212, 191, 0.12));
}

#tf-tx-box .tf-tx-row[data-st="paid"]::before,
#tf-tx-box .tf-tx-row[data-st="sent"]::before {
  background: linear-gradient(90deg, #34d399, rgba(52, 211, 153, 0.12));
}

#tf-tx-box .tf-tx-row[data-st="cancelled"]::before,
#tf-tx-box .tf-tx-row[data-st="failed"]::before,
#tf-tx-box .tf-tx-row[data-st="refunded"]::before {
  background: linear-gradient(90deg, #fb7185, rgba(251, 113, 133, 0.12));
}

#tf-tx-box .tf-tx-row:hover {
  border-color: rgba(167, 139, 250, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 26px 54px -30px rgba(0, 0, 0, 0.95);
}

/* A payout that was taken back stays readable but visibly settled. */
#tf-tx-box .tf-tx-row[data-off="1"] {
  opacity: 0.62;
}

#tf-tx-box .tf-tx-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* The payout method's mark, boxed so a row is read at a glance. */
#tf-tx-box .tf-tx-ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(9, 14, 26, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#tf-tx-box .tf-tx-ico img {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
}

#tf-tx-box .tf-tx-brand {
  flex: 1 1 7rem;
  min-width: 0;
}

#tf-tx-box .tf-tx-method {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #f8fafc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tf-tx-box .tf-tx-ref {
  margin: 0.2rem 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.67rem;
  letter-spacing: 0.05em;
  color: #78869b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tf-tx-box .tf-tx-fig {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

#tf-tx-box .tf-tx-amt {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #f8fafc;
  font-variant-numeric: tabular-nums;
}

/* The state sits under the money as a dot and a word. */
#tf-tx-box .tf-tx-status {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0.35rem 0 0;
  padding: 0.16rem 0.5rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  opacity: 1;
}

#tf-tx-box .tf-tx-status::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
}

/* The five stops the payout moves through, joined by a rail. */
#tf-tx-box .tf-tx-steps {
  list-style: none;
  margin: 1.05rem 0 0;
  padding: 0.6rem 0 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px dashed rgba(148, 163, 184, 0.14);
}

#tf-tx-box .tf-tx-step {
  position: relative;
  text-align: center;
}

#tf-tx-box .tf-tx-step::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(148, 163, 184, 0.2);
}

#tf-tx-box .tf-tx-step:first-child::before {
  left: 50%;
}

#tf-tx-box .tf-tx-step:last-child::before {
  right: 50%;
}

#tf-tx-box .tf-tx-step i {
  position: relative;
  z-index: 1;
  display: block;
  width: 0.62rem;
  height: 0.62rem;
  margin: 0 auto 0.35rem;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.45);
  background: #0b1220;
}

#tf-tx-box .tf-tx-step span {
  font-size: 0.57rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #5d6b80;
}

#tf-tx-box .tf-tx-step.is-done::before {
  background: #38bdf8;
}

#tf-tx-box .tf-tx-step.is-done i {
  border-color: #38bdf8;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.55);
}

#tf-tx-box .tf-tx-step.is-done span {
  color: #bae6fd;
}

#tf-tx-box .tf-tx-step.is-now i {
  transform: scale(1.25);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.85);
}

#tf-tx-box .tf-tx-step.is-now span {
  color: #e0f2fe;
}

/* The release clock, kept as a chip so it is not lost in the copy. */
#tf-tx-box .tf-tx-cd {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0.26rem 0.66rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  color: #7dd3fc;
}

#tf-tx-box .tf-tx-cd::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
}

#tf-tx-box .tf-tx-cd b {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: #e0f2fe;
}

#tf-tx-box .tf-tx-cd.is-live {
  border-color: rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.1);
  color: #5eead4;
}

#tf-tx-box .tf-tx-cd.is-hold {
  border-color: rgba(251, 191, 36, 0.32);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

#tf-tx-box .tf-tx-cd.is-wait {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
}

#tf-tx-box .tf-tx-cd.is-done {
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
}

#tf-tx-box .tf-tx-cd.is-off {
  border-color: rgba(251, 113, 133, 0.3);
  background: rgba(251, 113, 133, 0.08);
  color: #fda4af;
}

/* The receipt: every field on the payout, two to a line, wide facts running
   the full width. */
#tf-tx-box .tf-tx-receipt {
  margin: 0.9rem 0 0;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.95rem;
  background: rgba(6, 10, 22, 0.55);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1rem;
}

#tf-tx-box .tf-tx-receipt > div {
  min-width: 0;
}

#tf-tx-box .tf-tx-receipt > div.is-wide {
  grid-column: 1 / -1;
}

#tf-tx-box .tf-tx-receipt dt {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

#tf-tx-box .tf-tx-receipt dd {
  margin: 0.16rem 0 0;
  font-size: 0.84rem;
  color: #e2e8f0;
  overflow-wrap: anywhere;
}

#tf-tx-box .tf-tx-receipt dd.tf-tx-addr {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.77rem;
  letter-spacing: 0.02em;
  color: #7dd3fc;
}

#tf-tx-box .tf-tx-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

#tf-tx-box .tf-tx-actions button {
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.72);
  color: #dbe3ee;
  border-radius: 0.65rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.73rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

#tf-tx-box .tf-tx-actions button:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.2);
  color: #ede9fe;
}

#tf-tx-box .tf-tx-actions .is-warn {
  border-color: rgba(251, 113, 133, 0.36);
  color: #fecdd3;
}

#tf-tx-box .tf-tx-actions .is-warn:hover {
  border-color: rgba(251, 113, 133, 0.6);
  background: rgba(244, 63, 94, 0.16);
  color: #ffe4e6;
}

#tf-tx-box .tf-tx-tab {
  transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

#tf-tx-box .tf-tx-tab:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: #ede9fe;
}

#tf-tx-box .tf-tx-empty {
  padding: 1.1rem 0.2rem 0.6rem;
  font-size: 0.86rem;
  color: #94a3b8;
}

#tf-tx-box .st-paid,
#tf-tx-box .st-sent {
  background: rgba(52, 211, 153, 0.16);
  color: #6ee7b7;
}

#tf-tx-box .st-sending {
  background: rgba(45, 212, 191, 0.18);
  color: #5eead4;
  animation: tf-tx-send 1.8s ease-in-out infinite;
}

#tf-tx-box .st-cancelled,
#tf-tx-box .st-failed,
#tf-tx-box .st-refunded {
  background: rgba(251, 113, 133, 0.16);
  color: #fda4af;
}

@keyframes tf-tx-send {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

/* On a phone the receipt folds to one column and the actions take their own
   line under the facts. */
@media (max-width: 560px) {
  #tf-tx-box .tf-tx-receipt {
    grid-template-columns: minmax(0, 1fr);
  }
  #tf-tx-box .tf-tx-step span {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }
  #tf-tx-box .tf-tx-actions {
    justify-content: stretch;
  }
  #tf-tx-box .tf-tx-actions button {
    flex: 1 1 auto;
  }
}
