.cw { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.cw[hidden] { display: none; }
.cw-back { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(6px); animation: cwf .2s ease; }
.cw-card { position: relative; width: min(380px, 100%); padding: 18px; border-radius: 10px; background: #12110e; border: 1px solid rgba(236,228,210,.12); box-shadow: 0 40px 100px rgba(0,0,0,.8); color: var(--ink); font-family: var(--body); animation: cwu .25s cubic-bezier(.2,.8,.2,1); }
.cw-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.cw-head h2 { margin: 0; font: 400 28px var(--disp); }
.cw-x { width: 30px; height: 30px; border-radius: 5px; border: 0; background: rgba(236,228,210,.06); color: var(--ink); font-size: 20px; cursor: pointer; }
.cw-list { display: grid; gap: 4px; }
.cw-w { display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 6px; background: rgba(236,228,210,.04); color: var(--ink); cursor: pointer; text-align: left; }
.cw-w:hover, .cw-w:focus-visible { background: rgba(236,228,210,.09); outline: none; }
.cw-w span:last-child { display: grid; gap: 2px; }
.cw-w b { font: 600 14px var(--body); }
.cw-w small { font: 400 12px var(--body); color: var(--ink-2); }
.cw-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: #ece4d2; color: #0c0b09; font: 600 15px var(--body); }
.cw-msg { margin: 14px 2px 2px; font: 400 13px/1.5 var(--body); color: var(--ink-2); }
.cw-msg.on { color: var(--ink); }
@keyframes cwf { from { opacity: 0; } }
@keyframes cwu { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.cw-ic { overflow: hidden; background: #1b1915 !important; }
.cw-ic img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cw-w { position: relative; }
.cw-w .cw-tag { margin-left: auto; font: 500 12px var(--body); font-style: normal; color: var(--ink); padding: 5px 10px; border-radius: 5px; background: rgba(236,228,210,.08); }
.cw-w .cw-tag.dim { color: var(--ink-2); background: none; }
.cw-w.busy { opacity: .6; pointer-events: none; }
.cw-w.busy .cw-tag { color: var(--ink-2); }
.cw-acct { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 6px; background: rgba(236,228,210,.05); }
.cw-acct > span:last-child { display: grid; gap: 2px; }
.cw-acct b { font: 600 15px "Geist Mono", monospace; }
.cw-acct small { font: 400 12px var(--body); color: var(--ink-2); }
.cw-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.cw-a { display: grid; place-items: center; height: 40px; border: 0; border-radius: 6px; background: rgba(236,228,210,.06); color: var(--ink); font: 500 13px var(--body); text-decoration: none; cursor: pointer; }
.cw-a:hover { background: rgba(236,228,210,.11); }
.cw-a.primary { grid-column: 1 / -1; background: #ece4d2; color: #0c0b09; }
.cw-mini { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; }
[data-connect].is-connected.btn-pill { font-family: "Geist Mono", monospace !important; gap: 8px; }
[data-connect].wrong-net.btn-pill { background: #e7b8a8 !important; }
[data-connect].wrong-net.btn-pill { background: linear-gradient(180deg, #5a2f26, #3f1f19) !important; }
