@import url('/fonts.css');
:root{color-scheme:dark;--bg:#19181d;--fg:#e6e2ed;--muted:#96919f;--faint:#686370;--line:#302c37;--accent:#c2d8ae;--font:'IBM Plex Mono',ui-monospace,SFMono-Regular,Consolas,monospace}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--fg);font:13px/1.7 var(--font);overflow:hidden}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:var(--accent);text-decoration-color:#666a5f;text-underline-offset:4px}a:hover{color:#e1edd7}button:focus-visible,a:focus-visible{outline:1px solid var(--accent);outline-offset:4px}::selection{background:#50415b;color:#fff}[hidden]{display:none!important}
.terminal{display:flex;flex-direction:column;height:100svh}.terminal-scroll{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#49424f transparent}.terminal-log{padding:20px clamp(16px,2.4vw,32px) 36px;max-width:140ch}.line{white-space:pre-wrap;overflow-wrap:anywhere;min-height:1.7em;margin:0}.gap{height:.85em;min-height:.85em}.small{font-size:12px}.muted{color:var(--muted)}.intro{color:var(--fg);margin-bottom:12px}.command{margin:14px 0 8px}.prompt-label{color:var(--accent);white-space:nowrap;margin-right:1ch}.speaker{color:var(--accent);margin-right:1.5ch}.response{max-width:112ch}.source{font-size:12px}.key-value{display:grid;grid-template-columns:17ch minmax(0,1fr);gap:2ch;max-width:115ch}.key{color:var(--muted)}.prompt{display:flex;align-items:baseline;min-height:1.8em;margin-top:12px;position:relative}.input-field{position:relative;flex:1;min-width:0;display:block}.input-field input{position:relative;width:100%;border:0;outline:0;padding:0;background:transparent;color:var(--fg);caret-color:var(--accent);font:inherit;line-height:1.8;min-height:1.8em;border-radius:0}.input-echo{position:absolute;inset:0;pointer-events:none;display:flex;align-items:center}.has-text .input-echo{display:none}.block-caret{display:block;background:var(--accent);width:.65em;height:1.2em;animation:caret 1.1s step-end infinite}#command-input:focus{outline:none}.input-field:has(input:not(:focus)) .block-caret{opacity:.4;animation:none}#prompt:not(.has-text) input{caret-color:transparent}.mobile-send{display:none;border:0;background:transparent;padding:0 0 0 10px;color:var(--muted)}.terminal-status{flex:none;display:flex;align-items:center;gap:22px;border-top:1px solid var(--line);padding:6px clamp(16px,2.4vw,32px) max(8px,env(safe-area-inset-bottom));font-size:11px;line-height:1.5;color:var(--muted);min-height:34px}.status-brand{color:var(--accent)}.status-fill{flex:1}.terminal-status button{display:inline-flex;align-items:center;gap:6px;background:transparent;padding:0;border:0;color:var(--muted);white-space:nowrap}.terminal-status button:hover{color:var(--fg)}.terminal-status img{object-fit:contain;border-radius:50%;width:13px;height:13px}.blink{animation:caret 1s step-end infinite}.toast{position:fixed;left:50%;bottom:52px;transform:translate(-50%,8px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);background:#25212b;border:1px solid var(--line);color:var(--fg);padding:8px 14px;transition:opacity .15s,transform .15s;z-index:20;font-size:12px}.toast.visible{opacity:1;transform:translate(-50%,0)}
.modal{background:#201d25;color:var(--fg);border:1px solid #49414f;border-radius:4px;padding:22px;width:min(450px,calc(100% - 28px));max-height:calc(100svh - 40px);overflow:auto;scrollbar-width:thin;box-shadow:0 24px 90px #0006}.modal::backdrop{background:#0b090db8}.modal-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.modal-kicker{font-size:10px;letter-spacing:.12em;color:var(--muted)}.icon-button{background:none;border:0;color:var(--muted);font-size:24px;line-height:1;padding:0 4px}.modal h2{font-size:17px;line-height:1.5;font-weight:500;margin:0 0 8px}.modal-description{font-size:12px;color:var(--muted);margin:0 0 18px}.wallet-list,.network-list{display:flex;flex-direction:column}.wallet-choice,.network-choice{width:100%;display:flex;gap:13px;align-items:center;text-align:left;padding:12px 5px;background:none;border:0;border-bottom:1px solid var(--line);min-height:57px}.wallet-choice:hover,.network-choice:hover{background:#c2d8ae08}.wallet-choice img{object-fit:contain;width:28px;height:28px}.wallet-name{flex:1}.wallet-availability{font-size:10px;color:var(--faint)}.available{color:var(--accent)}.choice-arrow{color:var(--muted)}.wallet-help{font-size:11px;color:var(--muted);line-height:1.7;margin:18px 0 0}.wallet-help button,.back-wallets{background:none;border:0;padding:0;color:var(--accent);text-decoration:underline;text-underline-offset:3px}.dialog-feedback{font-size:12px;color:var(--accent);margin:14px 0 0;overflow-wrap:anywhere}.dialog-feedback:empty{display:none}.wallet-install{text-align:center}.wallet-install img{width:48px;height:48px;margin:0 0 18px}.wallet-install p{color:var(--muted);font-size:12px}.wide-button{display:block;border:1px solid #5b6153;padding:10px;margin:22px 0;text-decoration:none}.wallet-connected{text-align:center}.connected-wallet-icon{width:42px;height:42px;object-fit:contain}.connected-tag{color:var(--accent);font-size:10px;margin:10px}.wallet-address{font-size:11px;overflow-wrap:anywhere;color:var(--muted)}.account-balance{padding:20px 0}.account-balance small,.account-balance strong{display:block;font-weight:400}.account-balance strong{font-size:23px}.account-buttons{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.account-buttons button,.account-buttons a,.disconnect-button{background:none;border:1px solid #49414f;padding:6px 10px;text-decoration:none;font-size:11px}.disconnect-button{margin-top:18px;color:var(--muted);width:100%}.network-search{display:flex;gap:10px;align-items:center;border-bottom:1px solid #49414f;margin-bottom:10px;padding:8px 0}.network-search input{width:100%;background:none;border:0;outline:none;padding:0;color:var(--fg);border-radius:0}.network-choice img{object-fit:contain;flex:none;border-radius:50%}.network-choice>span:nth-child(2){flex:1;min-width:0}.network-choice strong{display:block;font-size:12px;font-weight:400}.network-choice small{display:block;font-size:10px;color:var(--muted)}.network-choice em{font-size:8px;font-style:normal;color:var(--accent);margin-left:9px}.checkmark{color:var(--accent)}.empty-tool{padding:20px 0;color:var(--muted)}
@keyframes caret{0%,49%{opacity:1}50%,100%{opacity:0}}
@media(max-width:600px){body{font-size:12px}.terminal-log{padding-top:18px}.terminal-status{gap:16px;font-size:10px}.terminal-status #network-button span{max-width:91px;overflow:hidden;text-overflow:ellipsis}.small{font-size:11px}.mobile-send{display:block;min-width:28px;min-height:30px}.key-value{grid-template-columns:13ch minmax(0,1fr);gap:1ch}.prompt-label{margin-right:.8ch}#command-input{font-size:16px;line-height:1.5}.input-echo{height:24px}.modal{padding:18px}.wallet-availability{font-size:9px}.terminal-status img{width:12px;height:12px}}
@media(prefers-reduced-motion:reduce){.block-caret,.blink{animation:none}.toast{transition:none}}
/* LEVORU 5: a terminal with its own visual identity. */
:root{--bg:#19191e;--fg:#dedce6;--muted:#8c879b;--faint:#676174;--line:#2d2b35;--accent:#bddda6;--lilac:#c3a2dd;--aqua:#a4d5ca}
body{font-size:14px;line-height:1.78;background:radial-gradient(ellipse 680px 400px at 8% 5%,#30342e22,transparent 80%),var(--bg)}
.terminal-log{padding:26px clamp(20px,2.8vw,44px) 60px;max-width:1120px}.terminal-scroll{scroll-padding-bottom:32px;scrollbar-color:#51465d transparent}.line{line-height:1.78;min-height:1.78em}.small{font-size:12px}.boot{max-width:960px;margin-bottom:26px}.boot-version{font-size:12px;letter-spacing:.03em;color:var(--muted);line-height:1.6}.boot-version span{color:var(--faint)}.wordmark{display:block;width:580px;max-width:88%;height:auto;margin:17px 0 9px;filter:drop-shadow(0 0 22px #b6d7a413);animation:boot-in .45s ease-out both}.signal-rule{height:8px;margin:13px 0 13px;background:url('/assets/terminal-rule.svg') repeat-x left center;mask-image:linear-gradient(90deg,#000 55%,#0005 95%,transparent)}.boot-status{font-size:13px;line-height:1.8}.boot-row{display:flex;align-items:baseline;gap:1ch;min-height:24px}.boot-check{color:#9bd7ab;min-width:6ch;white-space:pre}.boot-check.boot-wait{color:var(--faint)}.boot-key{color:#d5cfdf;min-width:7ch;font-weight:500}.boot-value{color:var(--aqua);overflow-wrap:anywhere}.terminal-rule{display:flex;align-items:center;gap:14px;margin:20px 0 12px;color:#d7d0e1;font-weight:500;font-size:11px;letter-spacing:.16em;line-height:1.5;text-transform:uppercase;white-space:nowrap}.terminal-rule:before,.terminal-rule:after{content:'';height:1px;flex:1;background:linear-gradient(90deg,#a17bbb70,#a17bbb)}.terminal-rule:after{background:linear-gradient(90deg,#a17bbb,#a17bbb22)}.boot-greeting{display:grid;grid-template-columns:7.7ch minmax(0,1fr);line-height:1.85;animation:boot-in .3s ease-out both}.boot-greeting:last-child{animation-delay:.06s}.speaker{color:var(--lilac);margin-right:0;white-space:nowrap}.speaker-arrow{color:#8b729f;margin-left:1px}.inline-command{font:inherit;padding:0;border:0;background:none;color:var(--fg);text-decoration:underline;text-decoration-color:#c3a2dd55;text-underline-offset:3px}.inline-command:hover{color:var(--accent)}.prompt{margin-top:18px;min-height:27px}.prompt-label{color:var(--aqua);font-weight:500;letter-spacing:-.02em;white-space:nowrap}.prompt-path{color:#a385b5}.prompt-dollar{color:var(--muted);margin-left:1px}.input-field input{min-height:27px;line-height:1.78}.block-caret{width:.65em;height:1.2em;background:var(--accent);box-shadow:0 0 10px #b6d7a414}.line.command{margin:22px 0 10px}.line.response{display:grid;grid-template-columns:7.7ch minmax(0,1fr);max-width:105ch}.response>span:last-child{min-width:0}.response strong{font-weight:500;color:#f0e6fa}.response code{color:#c5dcb9;font:inherit}.key-value{grid-template-columns:17ch minmax(0,1fr);gap:2ch;font-size:13px;max-width:110ch;margin-left:7.7ch}.key{color:#a999bd}.source,.line.small{margin-left:7.7ch}.source{font-size:12px;margin-top:4px}.gap{height:10px;min-height:10px}.command-hints{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;font-size:11px;padding:8px 0 0 2px;color:var(--muted)}.command-hints button{border:0;padding:0;background:none;color:#a999bd}.command-hints button:hover{color:var(--accent)}.hint-key{margin-left:4px;color:var(--faint);font-size:10px}.thinking{display:flex;align-items:baseline;gap:1.4ch;font-size:13px;color:var(--muted);margin:9px 0 10px}.thinking-text{color:var(--muted)}.thinking-dots{animation:caret 1.2s step-end infinite}.thinking button{background:none;border:0;padding:0;color:var(--faint);font-size:10px;margin-left:6px}.thinking button:hover{color:var(--fg)}.terminal-status{min-height:40px;padding-top:9px;padding-bottom:max(10px,env(safe-area-inset-bottom));padding-left:clamp(20px,2.8vw,44px);padding-right:clamp(20px,2.8vw,44px);gap:24px;font-size:11px;color:#82798f;background:#19191e}.status-brand{display:flex;align-items:center;gap:8px;color:#b6a3ca}.status-indicator{width:4px;height:4px;background:#b6d7a4;box-shadow:0 0 8px #b6d7a433}.status-tty{color:var(--faint);font-size:10px;letter-spacing:.02em}.terminal-status button{color:#8c819b}.terminal-status button:hover{color:var(--accent)}.terminal-status img{filter:saturate(.8)}.modal{border-color:#4c4257;box-shadow:0 20px 100px #0009;background:linear-gradient(145deg,#25212d,#1c1b22);border-radius:5px}.modal h2{font-size:18px}.modal-top{margin-bottom:21px}.wallet-choice,.network-choice{padding:14px 8px}.wallet-choice:hover,.network-choice:hover{background:#c3a2dd09}.network-choice.chosen{background:#b6d7a407}.network-search{border:1px solid #49414f;padding:10px 12px;margin-bottom:8px}.wallet-connected{padding-top:5px}
@keyframes boot-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){body{font-size:15px}.boot-status{font-size:14px}.boot-version{font-size:13px}.terminal-rule{font-size:12px}.key-value{font-size:14px}.terminal-log{padding-top:28px}.boot-row{min-height:26px}.terminal-status{font-size:12px}}
@media(max-width:600px){body{font-size:13px}.terminal-log{padding:21px 20px 48px}.boot{margin-bottom:23px}.boot-version{font-size:10px}.wordmark{width:100%;max-width:100%;margin:17px 0 12px}.signal-rule{margin:10px 0 13px;background-size:26px 6.5px;height:7px}.boot-status{font-size:11px}.boot-row{min-height:23px;gap:1ch}.boot-check{min-width:6ch}.boot-key{min-width:7ch}.terminal-rule{font-size:9px;letter-spacing:.12em;gap:10px;margin:17px 0 12px}.boot-greeting{grid-template-columns:7ch minmax(0,1fr);font-size:12px;line-height:1.9}.line.response{grid-template-columns:7ch minmax(0,1fr)}.key-value{grid-template-columns:11ch minmax(0,1fr);gap:1.2ch;margin-left:0;font-size:11px;padding:2px 0}.source,.line.small{margin-left:0}.small{font-size:10px}.source{font-size:10px}.prompt{margin-top:18px;min-height:28px}.prompt-label{font-size:12px;margin-right:.8ch}.terminal-status{gap:16px;font-size:10px;min-height:40px;padding-left:20px;padding-right:20px}.status-tty{display:none}.status-brand{gap:6px}.terminal-status #network-button span{max-width:85px}.terminal-status img{width:12px;height:12px}.command-hints{gap:8px 14px;font-size:10px}.hint-key{font-size:9px}.thinking{font-size:11px}.thinking button{font-size:9px;margin-left:0}.modal{width:calc(100% - 24px);padding:20px}.wallet-choice,.network-choice{padding:12px 3px}}
@media(max-width:350px){.terminal-status{gap:12px;padding-left:16px;padding-right:16px}.terminal-log{padding-left:16px;padding-right:16px}.terminal-status #network-button span{max-width:63px}.boot-version{font-size:9px}}
@media(prefers-reduced-motion:reduce){.wordmark,.boot-greeting,.thinking-dots{animation:none}}
.boot-greeting,.line.response{grid-template-columns:7ch minmax(0,1fr);column-gap:1.5ch}.key-value,.source,.line.small{margin-left:8.5ch}
@media(max-width:600px){.boot-greeting,.line.response{grid-template-columns:7ch minmax(0,1fr);column-gap:1.1ch}.key-value,.source,.line.small{margin-left:0}}
