/* Transaction lookup card (home page) */
.txl { position: relative; margin: 24px 0 4px; padding: clamp(16px, 2.4vw, 24px); border-radius: 20px; border: 1px solid #3a2a1c; overflow: hidden;
  background: radial-gradient(700px 220px at 100% 0%, rgba(247,147,26,.14), transparent 70%), linear-gradient(180deg, #1b1510, #120e0b); box-shadow: 0 18px 50px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,200,120,.05); }
.txl-head { display: flex; gap: 14px; align-items: flex-start; }
.txl-ico { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-size: 22px; background: linear-gradient(180deg, #ffb347, #f7931a); color: #2a1503; box-shadow: 0 6px 18px rgba(247,147,26,.3); }
.txl h2 { font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -.5px; }
.txl-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; max-width: 640px; }
.txl-form { display: flex; gap: 8px; margin-top: 14px; }
.txl-form input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid #3a2a1c; background: #0c0907; color: var(--text); font: 500 14px var(--mono); letter-spacing: .2px; outline: none; transition: border-color .15s, box-shadow .15s; }
.txl-form input::placeholder { color: #7d6e60; font-family: var(--sans); }
.txl-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(247,147,26,.2); }
.txl-form input[aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229,72,77,.18); }
.txl-go, .txl-clear, .txl-chips button { font: 700 14px var(--sans); border-radius: 12px; cursor: pointer; transition: transform .1s, filter .15s, background .15s; }
.txl-go { padding: 0 20px; border: 0; color: #2a1503; background: linear-gradient(180deg, #ffb347, #f7931a); box-shadow: 0 6px 16px rgba(247,147,26,.28); }
.txl-go:hover { filter: brightness(1.08); } .txl-go:active { transform: translateY(1px); } .txl-go:disabled { opacity: .6; cursor: progress; }
.txl-clear { padding: 0 14px; border: 1px solid #3a2a1c; color: var(--muted); background: transparent; } .txl-clear:hover { color: var(--text); background: rgba(255,255,255,.05); }
.txl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.txl-chips button { padding: 6px 12px; font-size: 12.5px; font-weight: 600; border: 1px solid rgba(247,147,26,.35); color: var(--orange2); background: rgba(247,147,26,.07); } .txl-chips button:hover { background: rgba(247,147,26,.16); }
.txl-err { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 13.5px; color: #ffb4b4; background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.4); }
.txl-err[hidden] { display: none; }

.txl-res:empty { display: none; }
.txl-res { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #3a2a1c; }
.txl-load { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font-size: 14px; }
.txl-load i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(247,147,26,.3); border-top-color: var(--orange); animation: txspin .8s linear infinite; }
@keyframes txspin { to { transform: rotate(360deg); } }
.txl-res.show { animation: txin .35s ease-out; } @keyframes txin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.txl-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.txl-st { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.txl-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 99px; font: 800 12px var(--mono); letter-spacing: .8px; text-transform: uppercase; }
.txl-chip.ok { color: #7dffb0; background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.45); }
.txl-chip.wait { color: var(--orange2); background: rgba(247,147,26,.12); border: 1px solid rgba(247,147,26,.5); }
.txl-chip.wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: pulse 1.4s infinite; }
.txl-chip.gone { color: #ffb4b4; background: rgba(229,72,77,.12); border: 1px solid rgba(229,72,77,.45); }
.txl-confs { font-size: 13px; color: var(--muted); }
.txl-link { font-size: 13px; font-weight: 600; }
.txl-id { margin: 8px 0 0; font: 12.5px var(--mono); color: #8d7d6d; word-break: break-all; }
.txl-just { margin-top: 10px; padding: 8px 12px; border-radius: 10px; font-weight: 700; color: #7dffb0; background: rgba(61,220,132,.12); border: 1px solid rgba(61,220,132,.4); animation: txjust 1.2s ease-out 2; }
@keyframes txjust { 0% { box-shadow: 0 0 0 0 rgba(61,220,132,.55); } 100% { box-shadow: 0 0 0 16px rgba(61,220,132,0); } }
.txl-res.just .txl-miner { animation: txjust 1.2s ease-out 2; }

.txl-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.txl-tile { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid #2a211b; min-width: 0; }
.txl-tile span { display: block; font: 600 10.5px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.txl-tile b { display: block; margin-top: 3px; font: 700 clamp(16px, 1.8vw, 20px)/1.25 var(--mono); letter-spacing: -.4px; } .txl-tile b small { font: 500 12px var(--sans); color: var(--muted); letter-spacing: 0; }
.txl-tile b .tm { font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.3; display: block; }
.txl-tile > small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }

.txl-mid { margin-top: 12px; }
.txl-miner { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--mc, #f7931a) 55%, #2a211b); background: linear-gradient(90deg, color-mix(in srgb, var(--mc, #f7931a) 14%, transparent), transparent 70%); }
.txl-port { flex: none; width: 64px; height: 64px; border-radius: 14px; border: 2px solid var(--mc, #f7931a); background: #0c0907; }
.txl-miner .k, .txl-out .k { font: 600 10.5px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.txl-miner .n { font: 800 17px var(--sans); }
.txl-miner .say { margin-top: 5px; padding: 7px 11px; border-radius: 4px 12px 12px 12px; background: linear-gradient(180deg, #ffb347, #f7931a); color: #1e1103; font-weight: 600; font-size: 13.5px; line-height: 1.35; display: inline-block; max-width: 560px; }
.txl-miner .say .who { display: block; font: 800 9.5px var(--mono); letter-spacing: .7px; text-transform: uppercase; color: #6b3600; }
.txl-mid.wait { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.txl-out { padding: 12px 14px 14px; border-radius: 14px; background: rgba(247,147,26,.06); border: 1px solid rgba(247,147,26,.28); min-width: 0; }
.txl-out .n { margin-top: 3px; font-weight: 700; font-size: 15px; line-height: 1.35; }
.txl-out.t0 { border-color: rgba(61,220,132,.5); background: rgba(61,220,132,.06); } .txl-out.t3 { border-color: rgba(229,72,77,.4); background: rgba(229,72,77,.06); }
.txl-meter { position: relative; height: 8px; margin: 26px 4px 52px; border-radius: 99px; background: linear-gradient(90deg, #4a2d17, #7a4a14 40%, #f7931a); }
.txl-meter .fill { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: rgba(255,255,255,.18); }
.txl-meter .you { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); box-shadow: 0 0 12px var(--orange); }
.txl-meter .you em { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); font: 700 11px var(--mono); font-style: normal; color: #fff; white-space: nowrap; }
.txl-meter .mk { position: absolute; top: 0; } .txl-meter .mk i { position: absolute; top: 10px; left: 0; width: 1px; height: 7px; background: #8d7d6d; }
.txl-meter .mk em { position: absolute; top: 19px; left: 0; font: 600 9.5px/1.2 var(--mono); font-style: normal; color: var(--muted); text-align: center; width: 92px; margin-left: -46px; left: 0; }
.txl-stream { width: 100%; height: 100%; min-height: 84px; border-radius: 14px; border: 1px solid #2a211b; background: linear-gradient(180deg, #0d0a08, #151009); display: block; }

.txl-io { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; margin-top: 12px; align-items: start; }
.txl-io h4 { margin: 0 0 6px; font: 600 11px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); } .txl-io h4 span { color: var(--orange2); letter-spacing: 0; text-transform: none; margin-left: 6px; }
.txl-io ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.txl-io li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.03); font: 12.5px var(--mono); min-width: 0; }
.txl-io li .a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; } .txl-io li .a.dim { color: var(--muted); font-family: var(--sans); }
.txl-io li b { font-weight: 600; color: var(--orange2); white-space: nowrap; } .txl-io li.more { color: var(--muted); justify-content: center; }
.txl-io .arrow { align-self: center; color: var(--orange); font-size: 22px; }
.txl-priv { margin: 12px 0 0; font-size: 11.5px; color: #7d6e60; }

@media (max-width: 760px) {
  .txl-form { flex-wrap: wrap; } .txl-form input { flex: 1 1 100%; } .txl-go { flex: 1; padding: 12px; }
  .txl-mid.wait { grid-template-columns: minmax(0, 1fr); } .txl-stream { min-height: 78px; }
  .txl-io { grid-template-columns: minmax(0, 1fr); } .txl-io .arrow { transform: rotate(90deg); justify-self: center; }
  .txl-head p { font-size: 13px; } .txl-miner { align-items: flex-start; } .txl-port { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .txl-res.show, .txl-just, .txl-load i, .txl-chip.wait i, .txl-res.just .txl-miner { animation: none !important; } }
