.sign { min-height: 100svh; background: radial-gradient(900px 520px at 20% 10%, rgba(61, 245, 160, 0.07), transparent 60%), var(--bg); }
.s-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.net { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); }
.net.mock { color: var(--gold); border-color: rgba(245, 197, 66, 0.35); }
.net.devnet { color: #7fb5ff; border-color: rgba(127, 181, 255, 0.35); }
.net.mainnet { color: var(--em); border-color: rgba(75, 227, 138, 0.35); }
.s-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(28px, 5vw, 80px); padding: clamp(20px, 5vw, 70px) 0 80px; align-items: start; }

/* the coin, styled like an item tooltip */
.s-card { position: sticky; top: 30px; }
.tooltip { position: relative; padding: 18px; background: linear-gradient(180deg, #0f2a20, #0a1410); border: 8px solid #2a3040; box-shadow: inset 0 0 0 1px #3a4255, 0 0 0 1px #1c212c, 0 50px 90px -40px #000; }
.tooltip::before, .tooltip::after { content: ""; position: absolute; width: 14px; height: 14px; background: var(--gold); top: -11px; left: -11px; }
.tooltip::after { top: auto; bottom: -11px; left: auto; right: -11px; box-shadow: none; }
.tt-img { position: relative; aspect-ratio: 1; background: #0b0d0a; overflow: hidden; }
.tt-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.tt-ph { position: absolute; inset: 0; background: repeating-linear-gradient(45deg, #151815 0 12px, #121412 12px 24px); display: none; }
.tt-body { padding: 18px 4px 4px; }
.tt-sym { font: 400 clamp(38px, 4.6vw, 60px)/1 var(--f-display); color: var(--gold); text-shadow: 0 5px 0 #8a5a0e; margin-top: 8px; word-break: break-all; }
.tt-name { font: 400 15px/1.3 var(--f-px); color: var(--ink); margin-top: 10px; letter-spacing: .03em; }
.tt-by { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 15px; }
.tt-by img { image-rendering: pixelated; border-radius: 2px; }
.tt-by b { color: var(--blue); font-weight: 600; }
.exp { margin-top: 14px; }

.s-panel h2 { font: 400 clamp(28px, 3vw, 42px)/1.05 var(--f-display); }
.s-panel .lead { margin-top: 12px; }
.field { display: grid; gap: 8px; margin-top: 22px; }
.field label { font: 500 12px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; background: #10130f; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 13px 14px; font: 400 16px var(--f-text); transition: border-color 0.2s; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--em); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); font: 500 14px var(--f-mono); transition: border-color 0.2s, background 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--em); color: #06120b; border-color: var(--em); }
.bill { margin-top: 26px; border-top: 1px solid var(--line); }
.bill div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.bill b { color: var(--ink); font-weight: 500; font-family: var(--f-mono); font-size: 14px; }
.bill .tot b { color: var(--gold); }
.wallets { display: grid; gap: 10px; margin-top: 26px; }
.wbtn { display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 600; transition: border-color 0.2s, transform 0.2s; text-align: left; }
.wbtn:hover:not([disabled]) { border-color: var(--em); transform: translateY(-1px); }
.wbtn[disabled] { opacity: 0.4; cursor: not-allowed; }
.wbtn .wi { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 600 14px var(--f-display); }
.wbtn small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: 13px; }
.go { width: 100%; justify-content: center; height: 58px; font-size: 17px; margin-top: 26px; }
.go[disabled] { opacity: 0.5; cursor: progress; transform: none; }
.connected { display: flex; align-items: center; gap: 10px; margin-top: 26px; padding: 12px 14px; border: 1px solid rgba(75, 227, 138, 0.3); border-radius: var(--r); font: 400 14px var(--f-mono); }
.connected i { width: 8px; height: 8px; background: var(--em); border-radius: 50%; box-shadow: 0 0 10px var(--em); }
.connected button { margin-left: auto; color: var(--muted); font-size: 13px; }
.err { margin-top: 18px; padding: 12px 14px; border-radius: var(--r); background: rgba(255, 107, 91, 0.08); border: 1px solid rgba(255, 107, 91, 0.3); color: #ffb3aa; font-size: 15px; }
.age { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14px; color: var(--muted); }
.age input { margin-top: 4px; accent-color: var(--em); }

.timeline { list-style: none; margin-top: 30px; border-left: 1px dashed var(--line); padding-left: 0; }
.timeline li { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0 12px 22px; color: var(--dim); }
.timeline li i { position: absolute; left: -6px; width: 11px; height: 11px; background: var(--bg); border: 1px solid var(--dim); }
.timeline li em { margin-left: auto; font: 400 12px var(--f-mono); font-style: normal; color: var(--muted); }
.timeline li.on { color: var(--ink); }
.timeline li.on i { border-color: var(--gold); background: var(--gold); animation: blink 0.8s steps(2) infinite; }
.timeline li.ok { color: var(--ink); }
.timeline li.ok i { border-color: var(--em); background: var(--em); }
.timeline li.bad i { border-color: var(--red); background: var(--red); }

.done { margin-top: 26px; padding: 26px; border: 1px solid rgba(75, 227, 138, 0.35); border-radius: var(--r); background: linear-gradient(180deg, rgba(75, 227, 138, 0.08), transparent); }
.done h3 { font: 400 26px/1.1 var(--f-display); }
.done p { color: #bdb8aa; margin-top: 10px; }
.done .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 18px; font: 400 13px var(--f-mono); color: var(--muted); word-break: break-all; }
.done .kv b { color: var(--ink); font-weight: 400; }
.done .row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.s-fine { margin-top: 34px; font-size: 13px; color: var(--dim); max-width: 60ch; }

@media (max-width: 860px) {
  .s-grid { grid-template-columns: 1fr; padding-top: 6px; }
  .s-card { position: static; }
  .tooltip { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; padding: 12px; }
  .tt-body { padding: 0; }
  .tt-sym { font-size: 32px; }
  .tt-name { font-size: 13px; }
  .tt-by { margin-top: 8px; font-size: 13px; }
}
