:root{color-scheme:light;--blue:#003399;font-family:'Courier New',Courier,monospace;color:var(--blue);background:#fff;font-synthesis:none}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:#fff}
h1,h2,h3,p{margin:0}
p{line-height:1.5;overflow-wrap:anywhere}
a{color:inherit}
main{position:relative;min-height:100svh;width:100%;margin:0;background:#fff}
.masthead{position:absolute;top:24px;left:24px;z-index:1}
.masthead h1{font-size:18px;font-weight:normal;line-height:1;letter-spacing:-.04em}
.masthead p{display:none}
.cell{min-width:0;border:0}
.wizard{min-height:100svh;padding:100px 24px 112px;display:flex;flex-direction:column;justify-content:center;align-items:center}
.wizard-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;width:min(100%,400px);margin-bottom:24px}
h2,label,small,.note,#account,.consequences,.technical,#status,.text-button{font-size:12px;line-height:1.5;font-weight:normal}
.network-tag{position:absolute;top:26px;right:24px;font-size:10px;opacity:.6}
#account{font-size:10px;opacity:.6}
.step{width:min(100%,400px)}
.intro{width:min(100%,400px);margin-bottom:40px;font-size:12px}
.post-links{display:grid;gap:12px;margin:20px 0 4px}
.post-link{display:block;border:1px solid var(--blue);padding:12px;text-decoration:none;font-size:13px}
.post-link:hover{background:#f5f7fc}
.to-dashboard{margin-top:20px;text-align:center}
#step-post button+.note{margin-top:12px}
.wizard:has(#step-wallet:not([hidden])) .intro{position:absolute;top:calc(50svh - 56px);left:50%;transform:translate(-50%,-100%);width:min(400px,calc(100% - 48px));margin:0;text-align:center}
.step>p+p{margin-top:12px}
label{display:block;margin-bottom:8px;text-transform:uppercase}
button,input{font:inherit;color:inherit;border:1px solid var(--blue);border-radius:0;background:#fff;min-width:0;width:100%;min-height:48px;padding:12px}
button{cursor:pointer;text-align:left}
.step button{margin-top:20px}
.step>button:first-child{margin-top:0}
button:hover:enabled{background:#f5f7fc}
button:disabled,input:disabled{opacity:.5;cursor:not-allowed}
:focus-visible{outline:3px double var(--blue);outline-offset:3px}
input{font-size:28px}
.amount-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin-top:8px}
.quote{font-size:clamp(26px,4vw,42px);line-height:1.2;margin:22px 0;overflow-wrap:anywhere}
#status{max-width:400px;margin-top:22px}
#status[data-error=true]{font-weight:normal}
.sr-only,#status:not([data-error=true]){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.secondary-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 28px;width:min(100%,400px);margin-top:16px}
.text-button{width:auto;border:0;padding:10px 0;text-decoration:underline;text-underline-offset:3px;min-height:44px}
#refresh{font-size:20px;text-decoration:none;width:44px;text-align:center}
#edit-amount{display:block;margin-top:8px}
/* Entry: the actual connect control, not its surrounding panel, is centered. */
.wizard:has(#step-wallet:not([hidden])) #step-wallet{position:absolute;top:50svh;left:50%;transform:translate(-50%,-50%);width:min(220px,calc(100% - 48px))}
#step-wallet button{text-align:center;min-height:52px;font-size:13px;letter-spacing:.01em}
.wizard:has(#step-wallet:not([hidden])) #step-title,.wizard:has(#step-wallet:not([hidden])) #account{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wizard:has(#step-wallet:not([hidden])) .wizard-heading{margin:0;height:0}
.wizard:has(#step-wallet:not([hidden])) .secondary-actions{position:absolute;bottom:18px;right:18px;width:44px;margin:0}
.wizard:has(#step-wallet:not([hidden])) #status[data-error=true]{position:absolute;top:calc(50svh + 42px);left:50%;transform:translateX(-50%);width:min(400px,calc(100% - 48px));margin:0;text-align:center}
.technical{position:absolute;bottom:24px;left:24px;width:calc(100% - 96px);max-width:600px;background:#fff}
.technical summary{cursor:pointer;min-height:32px;display:flex;align-items:center;width:max-content}
.technical[open]{max-height:40svh;overflow:auto;padding:12px 12px 0 0}
.technical[open] summary{margin-bottom:16px}
.technical p+p,.technical #confirmed{margin-top:12px}
.technical #confirmed a{display:inline-block;margin-top:8px}
#portfolio{width:min(100%,600px)}
.portfolio-position{border-top:1px solid var(--blue);padding-top:18px;margin-top:20px}
.portfolio-position h3{font-size:16px;font-weight:normal}
.portfolio-position>p{font-size:14px;margin:4px 0 12px}
.portfolio-position img{display:block;max-width:100%;max-height:420px;object-fit:contain;margin:16px 0}
.portfolio-position details{font-size:12px;line-height:1.5}
.portfolio-position summary{min-height:44px;cursor:pointer;padding:10px 0}
.portfolio-position details p{margin:8px 0}
.skip{position:absolute;left:-9999px}
.skip:focus{left:8px;top:8px;background:#fff;z-index:2}
/* Mint verification: activity animation, never a fabricated progress meter. */
#step-recovery{text-align:center}
.mint-loading{display:flex;flex-direction:column;align-items:center;gap:28px;padding:24px 0}
.mint-imprint{position:relative;width:84px;height:48px;border:1px solid var(--blue);display:grid;place-items:center;animation:mint-stamp 2.4s ease-in-out infinite}
.mint-imprint span{font-size:20px;letter-spacing:-.06em}
.mint-imprint i{position:absolute;width:4px;height:4px;background:var(--blue);animation:mint-pixel 1.6s steps(2,end) infinite}
.mint-imprint i:nth-of-type(1){top:7px;left:7px}.mint-imprint i:nth-of-type(2){top:7px;right:7px;animation-delay:.2s}.mint-imprint i:nth-of-type(3){bottom:7px;right:7px;animation-delay:.4s}.mint-imprint i:nth-of-type(4){bottom:7px;left:7px;animation-delay:.6s}
.mint-typewriter{max-width:100%;width:max-content}
#mint-loading-label{font-size:13px;line-height:1.6;white-space:nowrap;overflow:hidden;width:100%;border-right:1px solid var(--blue);animation:mint-type 1.2s steps(24,end) both,mint-cursor .8s step-end infinite}
.wizard:has(#step-recovery:not([hidden])) #step-title,.wizard:has(#step-recovery:not([hidden])) #account{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wizard:has(#step-recovery:not([hidden])) .wizard-heading{height:0;margin:0}
.wizard:has(#step-recovery:not([hidden])) #status{display:none}
.wizard:has(#step-recovery:not([hidden])) .secondary-actions{justify-content:center}
.wizard:has(#step-recovery:not([hidden])) #refresh{width:auto;font-size:12px;text-decoration:underline}
.wizard:has(#mint-loading:not([hidden])) .secondary-actions{visibility:hidden;height:0;margin:0;overflow:hidden}
@keyframes mint-stamp{0%,100%{transform:translateY(2px);opacity:.45}50%{transform:translateY(-2px);opacity:1}}
@keyframes mint-pixel{0%,100%{opacity:.15}50%{opacity:1}}
@keyframes mint-type{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes mint-cursor{50%{border-color:transparent}}
@media(prefers-reduced-motion:reduce){.mint-imprint,.mint-imprint i,#mint-loading-label{animation:none}.mint-imprint{opacity:1}#mint-loading-label{border:0}}
@media(max-width:639px){.masthead{top:20px;left:20px}.masthead h1{font-size:16px}.network-tag{top:22px;right:20px}.wizard{padding-left:20px;padding-right:20px}.wizard-heading{gap:8px;flex-wrap:wrap}.technical{left:20px;bottom:20px;font-size:11px}.quote{margin:18px 0}}
/* Individual notes: the faces you are about to receive, and the notes you hold. */
.faces,.notes{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.faces{grid-template-columns:repeat(auto-fill,minmax(64px,1fr));margin:0 0 4px}
.notes{grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:20px 16px;border-top:1px solid var(--blue);padding-top:18px;margin-top:20px}
.faces li,.notes li{font-size:10px;line-height:1.5;min-width:0}
.notes li{font-size:12px}
.faces img,.notes img{display:block;width:100%;aspect-ratio:1;object-fit:contain;image-rendering:pixelated;margin-bottom:4px}
.wizard:has(#step-result:not([hidden])){justify-content:flex-start}
#step-result{width:min(100%,600px)}
#step-result .quote{margin:0 0 4px}

.testnet-funds{width:min(100%,400px);margin:0 0 32px}
.testnet-funds a{color:inherit}
.wizard:has(#step-wallet:not([hidden])) .testnet-funds{position:absolute;top:calc(50svh + 96px);left:50%;transform:translateX(-50%);width:min(400px,calc(100% - 48px));margin:0;text-align:center}
.pay-method{display:grid;grid-template-columns:1fr 1fr;margin-bottom:20px}
.step .pay-method button{margin-top:0;text-align:center;font-size:12px;min-height:40px}
.pay-method button+button{border-left:0}
.pay-method button[aria-checked=true]{background:var(--blue);color:#fff}
#eth-cost{margin:-12px 0 22px}
.stage{position:relative;min-height:100svh}
@media(max-width:639px){.mc{width:calc(100% - 40px)}}
