:root { color-scheme: light; font-family: Arial, Helvetica, sans-serif; color: black; background: white; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; overflow-x: hidden; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid black; outline-offset: 4px; }
#chaos { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
main { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 45px 24px; }
.center { width: min(100%, 520px); text-align: center; background: white; padding: 18px 20px 16px; }
.wordmark { position: relative; width: 100%; height: 155px; margin: 0; overflow: hidden; }
.wordmark img { position: absolute; left: 50%; top: 50%; width: 200%; height: auto; max-width: none; transform: translate(-50%, -50%); }
.actions { max-width: 340px; margin: 25px auto 0; position: relative; }
.contract { width: 100%; min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid black; border-radius: 0; padding: 11px 12px; background: white; color: black; cursor: pointer; }
.contract:disabled { color: #606060; cursor: default; }
#contract-value { font: 11px/1.5 monospace; text-align: left; overflow-wrap: anywhere; }
.contract svg { width: 17px; height: 17px; flex-shrink: 0; }
.buy { display: grid; place-items: center; margin-top: 10px; min-height: 52px; background: black; color: white; font-size: 22px; font-weight: 800; text-decoration: none; }
.buy[aria-disabled="true"] { cursor: default; }
.buy[href]:hover { background: #303030; }
.buy-note { margin: 10px 0 0; font: 10px monospace; color: #606060; }
.motion-toggle { border: 0; background: white; color: #666; padding: 6px 10px; margin-top: 7px; font-size: 10px; text-decoration: underline; cursor: pointer; }
.feedback { margin: 8px 0 0; font-size: 11px; }
.feedback:empty { display: none; }
.noscript { position: relative; text-align: center; background: white; font-size: 12px; }
@media (max-width: 620px) {
  main { padding: 35px 22px; }
  .center { padding: 16px 13px 10px; }
  .wordmark { height: clamp(76px, 29vw, 155px); }
  .actions { margin-top: 20px; }
  #contract-value { font-size: 10px; }
}
