@font-face { font-family: "Geist Pixel"; src: url("/fonts/GeistPixel-Square.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root { color-scheme: dark; font-family: "Geist Pixel", monospace; background: #0c0c0c; color: #f5f5f5; }
body { margin: 0; padding: 32px 24px; }
main { max-width: 480px; margin: 6vh auto; }
.brand-footer { display: flex; justify-content: center; margin-top: 48px; }
.brand-footer img { display: block; filter: brightness(0) invert(1); }
h1 { font-size: clamp(28px, 6vw, 38px); font-weight: 400; line-height: 1.15; letter-spacing: -.04em; margin: 16px 0; }
h2 { font-size: 16px; }
p { line-height: 1.6; color: #bbb; }
#message[data-state="error"] { color: #ff9a9a; background: #2b1717; border-left: 3px solid #ff7474; padding: 12px 16px; border-radius: 4px; }
label { display: block; margin-top: 28px; font-size: 13px; font-weight: 600; }
input { box-sizing: border-box; width: 100%; margin-top: 10px; padding: 18px 14px; background: #171717; border: 1px solid #666; border-radius: 8px; color: white; font: 28px monospace; letter-spacing: .12em; text-transform: uppercase; text-align: center; }
input::placeholder { color: #777; }
input[aria-invalid="true"] { border-color: #ff7474; }
.hint { font-size: 12px; color: #aaa; }
.hint { margin: 10px 0 22px; }
#recovery { margin-top: 24px; }
#recovery code { display: block; padding: 14px; background: #171717; border: 1px solid #444; border-radius: 6px; font-size: 12px; overflow-wrap: anywhere; user-select: all; }
#copy-command { margin-top: 10px; background: #252525; color: white; border: 1px solid #555; }
button { width: 100%; padding: 14px; border: none; border-radius: 6px; background: #fff; color: #111; font: inherit; font-weight: 600; cursor: pointer; }
.code-entry { border: 0; padding: 0; margin: 16px 0 0; min-width: 0; }
.code-entry legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.code-boxes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 0; }
.code-boxes input { box-sizing: border-box; width: 100%; min-width: 0; height: 60px; padding: 0; text-align: center; background: #202020; border: 1px solid #777; border-radius: 6px; color: white; font: 24px "Geist Pixel", monospace; text-transform: uppercase; }
@media (max-width: 420px) { .code-boxes { gap: 5px; } .code-boxes input { height: 48px; font-size: 22px; } }
button:disabled { opacity: .6; cursor: wait; }
#choices { display: grid; gap: 12px; margin: 32px 0 20px; }
#choices button { background: #ff7518; color: #101010; }
#choices button:hover:not(:disabled) { background: #ff9147; }
#save { display: block; padding: 14px; border-radius: 6px; background: #ff7518; color: #101010; text-align: center; text-decoration: none; font-weight: 600; }
#save[hidden] { display: none; }
:focus-visible { outline: 3px solid #87bfff; outline-offset: 3px; }
