.of-reset-wallet {
  margin-block: 20px 4px;
  padding-block: 18px 4px;
  border-top: 1px solid var(--reset-split, #ffffff1e);
}
.of-reset-wallet [hidden] { display:none !important; }
.of-reset-wallet h4 { margin:0; font-size:1.02rem; }
.of-reset-wallet-fields {
  display:grid;
  align-items:end;
  grid-template-columns:1fr 1fr;
  gap:9px 14px;
  margin-bottom:12px;
}
.of-reset-wallet-fields .of-reset-button { justify-self:start; grid-column:1/-1; }
.of-reset-wallet-fields select {
  min-width:0;
  min-height:44px;
  width:100%;
  border:0;
  border-bottom:1px solid #aaaac44a;
  border-radius:8px 8px 0 0;
  padding:6px;
  font:inherit;
  color:inherit;
  color-scheme:dark;
  background:#ffffff0a;
}
.of-reset-wallet-transfer {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:18px;
  margin:12px 0;
}
.of-reset-wallet-qr {
  display:block;
  width:148px;
  max-width:100%;
  height:auto;
  background:white;
  border-radius:4px;
  image-rendering:pixelated;
}
.of-reset-wallet-amount {
  color:#f5f5ff;
  font:650 clamp(1.2rem,3vw,1.65rem)/1.3 var(--mono,monospace);
  overflow-wrap:anywhere;
}
.of-reset-wallet-address { display:block; overflow-wrap:anywhere; color:#e7e8f5; }
.of-reset-wallet-details .of-reset-secondary { margin-block:6px 10px; }
html[data-motion="on"] .of-reset-wallet [data-reset-wallet-invoice]:not([hidden]) { animation:of-wallet-invoice-in 340ms cubic-bezier(.22,.75,.25,1) both; }
@keyframes of-wallet-invoice-in {
  from { opacity:0; transform:translateY(8px) scale(.98); }
  to { opacity:1; transform:none; }
}
@media(max-width:500px) {
  .of-reset-wallet-transfer { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-motion="on"] .of-reset-wallet [data-reset-wallet-invoice]:not([hidden]) { animation:none; }
}

/* onlyfast: transaction-hash form under the payment details */
.of-reset-wallet-proof { display: grid; gap: 10px; justify-items: start; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--reset-divider, #cbd2ef24); }
.of-reset-wallet-proof .of-reset-field { width: 100%; }
.of-reset-wallet-proof input { font-family: var(--mono, ui-monospace, Consolas, monospace); font-size: .82rem; }

/* onlyfast: the countdown of the payment window */
.of-reset-wallet-clock { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0 14px; padding:10px 14px; border:1px solid #cbd2ef2e; border-radius:10px; background:#b9c5fb10; color:#c9cde0; font-size:.9rem; }
.of-reset-wallet-clock strong { font:650 1.55rem/1 var(--mono, ui-monospace, Consolas, monospace); font-variant-numeric:tabular-nums; letter-spacing:.03em; color:#f5f5ff; }
.of-reset-wallet-clock[data-urgent] { border-color:#ffb4a866; background:#ffb4a814; color:#ffd9d2; }
.of-reset-wallet-clock[data-urgent] strong { color:#ffc4b9; }
.of-reset-wallet-keep { margin:-6px 0 14px; font-size:.86rem; line-height:1.55; color:#ffdcae; }
.of-reset-wallet-keep strong { color:#ffe9c9; }
