:root{--bg:#000;--bg-card:#111;--bg-card-hover:#1a1a1a;--border:#222;--text:#e4e8f1;--text-muted:#8892a8;--accent:#4ea1c2;--accent-hover:#6edcf0;--green:#0ecb81;--red:#f6465d;--blue:#1e90ff;--radius:12px;--font:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--bg);color:var(--text);font-family:var(--font);line-height:1.6}.app{flex-direction:column;min-height:100vh;display:flex}.dryrun-banner{color:#fff;text-align:center;letter-spacing:.05em;text-transform:uppercase;background:#f6465d;padding:.4rem;font-size:.75rem;font-weight:700}.header{border-bottom:1px solid var(--border);background:var(--bg-card);justify-content:space-between;align-items:center;padding:1rem 2rem;display:flex}.header-brand{align-items:center;gap:1rem;display:flex}.logo{object-fit:cover;width:auto;height:40px}.header h1{font-size:1.3rem;font-weight:700}.subtitle{color:var(--text-muted);font-size:.85rem}.wallet-info{align-items:center;gap:.75rem;display:flex}.wallet-address{background:var(--bg);color:var(--accent);border-radius:8px;padding:.4rem .8rem;font-family:monospace;font-size:.85rem}.btn{cursor:pointer;border:none;border-radius:8px;padding:.6rem 1.2rem;font-size:.9rem;font-weight:600;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-secondary{color:var(--text-muted);border:1px solid var(--border);background:0 0}.btn-secondary:hover:not(:disabled){border-color:var(--text-muted);color:var(--text)}.btn-large{width:100%;margin-top:1rem;padding:.8rem 2rem;font-size:1rem}.main{flex:1;width:100%;max-width:720px;margin:0 auto;padding:2rem 1rem}.card{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);margin-bottom:1.5rem;padding:1.5rem}.card h2{margin-bottom:1rem;font-size:1.2rem}.welcome{text-align:center}.welcome p{color:var(--text-muted);margin-bottom:.75rem}.stats-grid{grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}.stat{background:var(--bg);text-align:center;border-radius:8px;padding:1rem}.stat-label{color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.3rem;font-size:.75rem;display:block}.stat-value{font-size:1.4rem;font-weight:700}.stat-value.highlight{color:var(--green)}.breakdown{margin-bottom:1.5rem}.breakdown h3{color:var(--text-muted);margin-bottom:.5rem;font-size:.9rem}.breakdown table{border-collapse:collapse;width:100%}.breakdown td{border-bottom:1px solid var(--border);padding:.5rem 0}.breakdown .amount{text-align:right;font-family:monospace}.breakdown .fee-row .amount{color:var(--red)}.breakdown .total-row td{border-bottom:none;padding-top:.75rem;font-size:1.05rem}.tooltip{background:var(--border);width:16px;height:16px;color:var(--text-muted);cursor:help;vertical-align:middle;border-radius:50%;justify-content:center;align-items:center;margin-left:.3rem;font-size:.7rem;display:inline-flex}.tx-info{background:var(--bg);border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem}.tx-info p{color:#fff;font-size:.85rem}.phase-indicator{align-items:center;margin-bottom:1.5rem;display:flex;overflow-x:auto}.phase-step{color:var(--text-muted);white-space:nowrap;flex-direction:column;align-items:center;gap:.35rem;font-size:.7rem;display:flex}.phase-step.active{color:var(--accent);font-weight:600}.phase-step.completed{color:var(--green)}.phase-dot{border:2px solid var(--border);width:28px;height:28px;color:var(--text-muted);background:0 0;border-radius:50%;justify-content:center;align-items:center;font-size:.75rem;font-weight:600;display:flex}.phase-step.active .phase-dot{border-color:var(--accent);background:var(--accent);color:#fff}.phase-step.completed .phase-dot{border-color:var(--green);background:var(--green);color:#fff}.phase-line{background:var(--border);flex:1;min-width:20px;height:2px;margin-bottom:1.2rem}.phase-line.completed{background:var(--green)}.progress-section{margin-bottom:1.5rem}.progress-bar{background:var(--bg);border-radius:4px;height:8px;margin-bottom:.5rem;overflow:hidden}.progress-fill{background:linear-gradient(90deg, var(--accent), var(--green));border-radius:4px;height:100%;transition:width .3s}.progress-text{color:var(--text-muted);text-align:center;font-size:.85rem}.error-box{border:1px solid var(--red);color:var(--red);background:#f6465d1a;border-radius:8px;margin-bottom:1rem;padding:.75rem 1rem;font-size:.9rem}.error-box .btn{margin-top:.5rem}.success-box{border:1px solid var(--green);text-align:center;background:#0ecb811a;border-radius:8px;padding:1.5rem}.success-box h3{color:var(--green);margin-bottom:.5rem}.tx-log{border-top:1px solid var(--border);margin-top:1.5rem;padding-top:1rem}.tx-log-header{justify-content:space-between;align-items:center;margin-bottom:.5rem;display:flex}.tx-log h4{color:var(--text-muted);margin:0;font-size:.85rem}.btn-copy-log{border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:4px;align-items:center;padding:.2rem .35rem;transition:color .2s,border-color .2s;display:flex}.btn-copy-log:hover{color:var(--text);border-color:var(--text-muted)}.log-entries{background:var(--bg);border-radius:8px;min-height:140px;max-height:140px;padding:.5rem;overflow-y:auto}.log-entry{padding:.2rem .5rem;font-family:monospace;font-size:.8rem}.log-time{color:var(--text-muted);margin-right:.5rem}.faq{margin-top:2rem}.faq h2{margin-bottom:1rem;font-size:1.2rem}.faq-item{background:var(--bg-card);border:1px solid var(--border);cursor:pointer;border-radius:8px;margin-bottom:.5rem;transition:background .2s}.faq-item:hover{background:var(--bg-card-hover)}.faq-question{justify-content:space-between;align-items:center;padding:1rem 1.25rem;font-size:.95rem;font-weight:600;display:flex}.faq-toggle{color:var(--text-muted);text-align:center;width:24px;font-size:1.2rem}.faq-answer{color:var(--text-muted);padding:0 1.25rem 1rem;font-size:.9rem;line-height:1.7}.loading{text-align:center;color:var(--text-muted);padding:2rem}.tip-section{background:var(--card-bg);border:1px solid var(--border);text-align:left;border-radius:8px;margin-top:1.5rem;padding:1.25rem}.tip-section p{color:var(--text-muted);margin-bottom:1rem;line-height:1.6}.tip-selector{align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.tip-selector label{color:var(--text-muted);white-space:nowrap}.tip-selector select{background:var(--bg);color:var(--text);border:1px solid var(--border);cursor:pointer;border-radius:6px;padding:.5rem .75rem;font-size:1rem}.tip-selector .tip-amount{color:var(--accent);white-space:nowrap;font-weight:600}.tip-buttons{gap:.75rem;display:flex}.tip-note{color:var(--text-muted);margin-top:.75rem;font-size:.85rem;line-height:1.5}.footer{text-align:center;color:var(--text-muted);border-top:1px solid var(--border);padding:1.5rem;font-size:.8rem}@media (width<=600px){.header{flex-direction:column;gap:1rem;padding:1rem}.stats-grid{grid-template-columns:1fr}.phase-indicator{flex-wrap:wrap}}
