.baw-sheet {
  width: min(440px, calc(100% - 28px));
  max-height: min(84vh, 760px);
  max-height: min(88dvh, 760px);
  overflow: auto;
  padding: clamp(19px, 4vw, 30px);
  color: var(--ink);
  background: var(--ivory);
  border: 1px solid #aa9671;
  border-top: 3px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 8px 0 #816e4e2e, 0 25px 90px #0e273955;
}
.baw-sheet::backdrop { background: #0d232dc7; }
.baw-sheet [hidden] { display: none !important; }
.baw-heading { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 13px; }
.baw-heading img { object-fit: contain; }
.baw-close {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 4px;
  background: #f6efdc; font-size: 23px; line-height: 1; color: var(--ink);
}
.baw-sheet h2 { font-size: clamp(21px, 4vw, 28px); line-height: 1.2; letter-spacing: -.035em; }
.baw-intro,.baw-notice { margin: 13px 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.baw-notice { color: #8f350e; }
.baw-qr { display: grid; place-items: center; }
.baw-qr img { border-radius: 5px; border: 1px solid var(--line); background: #fff; max-width: 100%; height: auto; }
.baw-code { display: flex; align-items: center; justify-content: space-between; margin: 12px 0; padding: 10px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.baw-code strong { color: var(--ink); font: 700 20px/1 var(--mono); letter-spacing: .12em; }
.baw-address { display: block; padding: 12px; border: 1px solid var(--line); overflow-wrap: anywhere; background: #f5edda; }
.baw-launch { display: flex; width: 100%; min-height: 43px; }
.baw-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.baw-actions:empty { display: none; }
.baw-details { display: grid; grid-template-columns: minmax(5em, auto) 1fr; margin: 8px 0 15px; font-size: 13px; }
.baw-details dt,.baw-details dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.baw-details dt { color: var(--muted); }
.baw-details dd { padding-left: 14px; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#orderExplorer { font-size: 14px; color: var(--red); }
#orderRecovery summary { cursor: pointer; color: var(--muted); font-size: 13px; }
#orderRecovery label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 5px; }
#orderHash { width: 100%; border: 1px solid var(--line); padding: 10px; background: white; }
#connectBtn { max-width: min(240px, 43vw); overflow: hidden; text-overflow: ellipsis; display: block; }
@media(max-width:420px){ .top-inner { flex-wrap: wrap; padding-block: 6px; } .top-right { margin-left: auto; } }
