/* SCDO shared ledger + x402 seal bar (2026-10-29). Points/chips only. Rollback via /root/backups/shared-seal-x402-* */
#scdo-lseal {
  position: fixed; z-index: 55; left: 10px; right: 10px; bottom: 10px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  pointer-events: none; font: 600 13px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif;
}
#scdo-lseal * { box-sizing: border-box; }
#scdo-lseal .lseal-bar {
  pointer-events: auto; display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  background: rgba(12, 18, 32, 0.92); color: #e8eefc; border: 1px solid rgba(120, 160, 255, 0.35);
  border-radius: 999px; padding: 6px 8px 6px 12px; box-shadow: 0 8px 24px rgba(0,0,0,.35);
  max-width: min(560px, 100%);
}
#scdo-lseal button, #scdo-lseal a.lseal-btn {
  border: 0; border-radius: 999px; padding: 8px 12px; cursor: pointer; font: inherit; font-weight: 700;
  text-decoration: none; color: #0b1220; background: #9ec1ff;
}
#scdo-lseal button.lseal-seal { background: linear-gradient(180deg, #ffe08a, #f0b429); color: #2a1c05; }
#scdo-lseal button.lseal-tip { background: #ff9f6e; color: #fff; }
#scdo-lseal button:disabled { opacity: .45; cursor: default; }
#scdo-lseal .lseal-status { font-size: 11px; color: #a9b7d6; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#scdo-lseal .lseal-status a { color: #9ec1ff; }
#scdo-lseal-modal {
  position: fixed; inset: 0; z-index: 9998; background: rgba(6,10,20,.55);
  display: none; align-items: center; justify-content: center; padding: 16px;
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif;
}
#scdo-lseal-modal.open { display: flex; }
#scdo-lseal-modal .bx {
  width: min(420px, 100%); max-height: 90vh; overflow: auto; background: #0f172a; color: #e8eefc;
  border-radius: 16px; padding: 16px 18px; border: 1px solid rgba(120,160,255,.3);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
#scdo-lseal-modal h2 { margin: 0 0 8px; font-size: 18px; }
#scdo-lseal-modal .muted { color: #93a4c7; font-size: 12px; }
#scdo-lseal-modal .paywall-line { font-size: 15px; font-weight: 700; margin: 8px 0; }
#scdo-lseal-modal .paywall-addr {
  width: 100%; font: 12px ui-monospace, Menlo, monospace; padding: 8px; border-radius: 8px;
  border: 1px solid rgba(120,160,255,.25); background: #0b1220; color: #e8eefc;
}
#scdo-lseal-modal ol { margin: 6px 0 10px 18px; padding: 0; }
#scdo-lseal-modal .row { display: flex; gap: 8px; margin-top: 12px; }
#scdo-lseal-modal .row button {
  flex: 1; border: 0; border-radius: 999px; padding: 10px; font: inherit; font-weight: 700; cursor: pointer;
  background: #9ec1ff; color: #0b1220;
}
#scdo-lseal-modal .row button.g { background: transparent; color: #e8eefc; border: 1px solid rgba(120,160,255,.35); }
#scdo-lseal-modal pre {
  white-space: pre-wrap; word-break: break-word; background: #0b1220; padding: 8px; border-radius: 8px;
  font-size: 11px; max-height: 160px; overflow: auto;
}
@media (max-width: 480px) {
  #scdo-lseal { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  #scdo-lseal .lseal-status { display: none; }
}
