/* Bitcoin terminal boot presentation: browser-local visual, independent from the proof demo. */
body.btc-boot-active{overflow:hidden}
.btc-boot{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:clamp(12px,4vh,40px) clamp(16px,5vw,64px);background:#fff;color:#23262a;font-family:BTCMono,'Courier New',monospace;transition:opacity 180ms linear;isolation:isolate;overflow:auto;overscroll-behavior:contain}
.btc-boot *, .btc-boot *:before, .btc-boot *:after{box-sizing:border-box}
.btc-boot[hidden]{display:none}
.btc-boot.is-leaving{opacity:0;pointer-events:none}
.btc-boot-panel{width:min(950px,100%);min-width:0;border:1px solid #dce0e3;border-top:3px solid #f7931a;background:#fff}
.btc-boot-chrome{display:flex;align-items:center;gap:10px;padding:12px 18px;border-bottom:1px solid #dce0e3;background:#f9fafb;font-size:10px;line-height:1.6;color:#697078}
.btc-boot-dot{width:7px;height:7px;flex:none;background:#f7931a;border:1px solid #d08121}
.btc-boot-close{margin-left:auto;flex:none;min-height:34px;padding:6px 9px;border:1px solid #dce0e3;color:#23262a;background:#fff;font:10px BTCMono,'Courier New',monospace;cursor:pointer}
.btc-boot-close:hover{background:#fff2e4;border-color:#d08121}
.btc-boot-close:focus-visible{outline:2px solid #9b4f00;outline-offset:3px}
.btc-boot-content{padding:clamp(18px,3vh,30px) clamp(20px,4vw,36px)}
.btc-boot-prompt{margin:0 0 24px;font-size:11px;line-height:1.8;color:#697078;overflow-wrap:anywhere}
.btc-boot-prompt span{color:#9b4f00}
.btc-boot-wordmark{display:block;width:min(310px,100%);margin:0;background:#f7931a}
.btc-boot-wordmark img{display:block;width:100%;height:auto}
.btc-boot-log-cursor{animation:btc-boot-cursor 700ms steps(1,end) infinite}
.btc-boot-subtitle{margin:14px 0 26px;color:#697078;font-size:10px;letter-spacing:.11em;line-height:1.8}
.btc-boot-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}
.btc-boot-log{display:grid;gap:12px;min-height:141px;font-size:10px;line-height:1.5}
.btc-boot-line{display:flex;align-items:baseline;gap:9px;opacity:0;transform:translateY(3px);transition:opacity 140ms linear,transform 140ms ease;min-width:0}
.btc-boot-line.is-active,.btc-boot-line.is-done{opacity:1;transform:none}
.btc-boot-line.is-done{color:#697078}
.btc-boot-line.is-active{color:#23262a}
.btc-boot-line>span:first-child{flex:none;color:#a17c00}
.btc-boot-line code{font:inherit;min-width:0;overflow-wrap:anywhere}
.btc-boot-line.is-active>span:first-child{background:#f7931a;color:#23262a}
.btc-boot-circuit{margin:0;min-width:0;border-left:1px solid #eef0f2;padding-left:24px}
.btc-boot-circuit svg{display:block;width:100%;height:auto;overflow:visible}
.btc-boot-circuit figcaption{margin-top:6px;color:#7a8289;font-size:8px;line-height:1.6;letter-spacing:.05em}
.btc-boot-gridline{stroke:#edf0f1;stroke-width:1;fill:none}
.btc-boot-wire{stroke:#aeb5ba;stroke-width:1.1;fill:none}
.btc-boot-gate{fill:#fff;stroke:#6b737a;stroke-width:1}
.btc-boot-gate-gold{fill:#f7931a;stroke:#d08121;stroke-width:1}
.btc-boot-circuit text{font-family:BTCMono,'Courier New',monospace;fill:#5e666e;font-size:10px}
.btc-boot-circuit .btc-boot-gate-label{fill:#23262a;font-size:13px}
.btc-boot-pulse{fill:none;stroke:#eabd00;stroke-width:2.5;stroke-dasharray:12 220;animation:btc-boot-flow 1500ms linear infinite}
.btc-boot-pulse.second{animation-delay:-500ms}
.btc-boot-pulse.third{animation-delay:-1000ms}
.btc-boot-status{margin-top:27px;padding-top:15px;border-top:1px dashed #dce0e3;display:flex;align-items:center;gap:12px;color:#697078;font-size:9px;line-height:1.6;min-width:0}
.btc-boot-status-label{flex:1;overflow-wrap:anywhere}
.btc-boot-percent{flex:none;font-variant-numeric:tabular-nums}
.btc-boot-progress{height:3px;margin-top:10px;background:#eef0f2;overflow:hidden}
.btc-boot-progress span{display:block;height:100%;width:0;background:#f7931a;transition:width 180ms linear}
.btc-boot-footer{display:flex;justify-content:space-between;gap:12px;padding:12px 18px;border-top:1px solid #dce0e3;color:#7a8289;font-size:8px;line-height:1.6}
@keyframes btc-boot-flow{to{stroke-dashoffset:-232}}
@keyframes btc-boot-cursor{50%{opacity:.15}}
@media(max-width:580px){.btc-boot{padding:12px}.btc-boot-chrome{padding:8px 12px;gap:7px;font-size:9px}.btc-boot-close{font-size:9px;padding:6px;min-height:32px}.btc-boot-content{padding:23px 19px}.btc-boot-prompt{font-size:10px;margin-bottom:17px}.btc-boot-subtitle{font-size:9px;letter-spacing:.05em;margin-bottom:24px}.btc-boot-grid{grid-template-columns:minmax(0,1fr);gap:18px}.btc-boot-log{font-size:10px;gap:10px;min-height:134px}.btc-boot-circuit{border-left:0;border-top:1px solid #eef0f2;padding:16px 0 0}.btc-boot-circuit svg{width:100%;max-width:310px;margin:0 auto}.btc-boot-circuit figcaption{text-align:center;font-size:7px}.btc-boot-status{margin-top:21px;font-size:8px}.btc-boot-footer{padding:10px 12px;font-size:7px}}
@media(max-height:620px) and (max-width:580px){.btc-boot-content{padding:16px}.btc-boot-prompt{margin-bottom:12px}.btc-boot-wordmark{width:190px}.btc-boot-subtitle{margin:8px 0 14px}.btc-boot-grid{gap:10px}.btc-boot-log{min-height:100px;gap:6px}.btc-boot-circuit{padding-top:8px}.btc-boot-circuit svg{max-width:190px}.btc-boot-status{margin-top:12px}.btc-boot-footer{padding-block:8px}}
@media(prefers-reduced-motion:reduce){.btc-boot,.btc-boot *{animation:none!important;transition:none!important}}

.btc-boot-wordmark-text{display:block;font-size:clamp(44px,7vw,72px);font-weight:400;line-height:1.15;padding:7px 16px;letter-spacing:-.06em}.btc-boot-wordmark{width:max-content;max-width:100%}
