/* Shared entry point in the initial simulation modal. */
.cx-wallet {
  width: 100%; min-height: 48px; margin-bottom: 10px; border-radius: 14px;
  font-size: 16px; font-weight: 700; color: #04150d;
  background: linear-gradient(180deg, #4ff0ad, #22d488);
  box-shadow: 0 6px 30px #37e39b30;
}
.cx-sheet .cx-go { background: #ffffff08; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.cx-wallet:hover { filter: brightness(1.1); }
.sim-view[data-v="connect"] { overflow-y: auto; }
.sim-view[data-v="connect"] .cx-hero { min-height: 180px; }
.sim-view[data-v="connect"] .cx-sheet { flex-shrink: 0; }

.wallet-guide-page #board { display: none; }
.wallet-guide-page #simRoot { flex: 1; min-height: 0; order: 1; display: flex; }
.wallet-guide-page .statusbar { order: 2; }
.wallet-guide {
  display: flex; flex-direction: column; flex: 1; min-width: 0; min-height: 0;
  max-width: 966px; margin: 0 auto; padding: 0;
  border: 0; border-radius: 0; color: #f8f8f8; background: #080808;
  font-family: Inter, Arial, sans-serif; overflow: hidden;
  box-shadow: none;
}
.wallet-guide button { cursor: pointer; font-family: inherit; }
.wallet-guide button:focus-visible, .cx-wallet:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.wg-header {
  min-height: 60px; flex-shrink: 0; display: flex; align-items: center; gap: 16px;
  padding: 0 10px 0 18px; border-bottom: 1px solid #303030; background: #111;
}
.wg-header h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.wg-header h2 i { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex-shrink: 0; }
.wg-count { margin-left: auto; color: #a0aaa8; font: 500 9px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; white-space: nowrap; }
.wg-close { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: 1px solid #555; background: transparent; color: #ddd; font-size: 22px; }
.wg-close:hover { background: #222; }
.wg-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 40% 60%; overflow-y: auto; }
.wg-illustration { min-height: 0; background: #000; border-right: 1px solid #303030; display: flex; align-items: center; overflow: hidden; }
.wg-illustration svg { display: block; width: 100%; height: 100%; }
.wg-copy { display: flex; flex-direction: column; justify-content: center; padding: 32px 34px; }
.wg-eyebrow { margin: 0 0 18px; text-transform: uppercase; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.wg-copy h3, .wg-ready h3 { margin: 0; font-size: clamp(25px, 3.4vw, 34px); font-weight: 600; letter-spacing: -1.2px; line-height: 1.3; }
.wg-footer { flex-shrink: 0; padding: 12px 18px 16px; background: #111; border-top: 1px solid #303030; }
.wg-progress-label { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; color: #a0aaa3; font: 500 9px var(--mono); text-transform: uppercase; letter-spacing: .5px; }
.wg-pause { margin-left: auto; padding: 0 4px; border: 0; background: none; color: #bbb; text-transform: uppercase; font-size: 9px; letter-spacing: .5px; }
.wg-percent { margin-left: auto; min-width: 28px; text-align: right; }
.wg-pause:not([hidden]) + .wg-percent { margin-left: 0; }
.wg-track { height: 2px; background: #343434; overflow: hidden; }
.wg-fill { height: 100%; background: #fff; transform: scaleX(0); transform-origin: left center; }
.wg-complete .wg-body { display: flex; align-items: center; justify-content: center; }
.wg-ready { width: 100%; text-align: center; padding: 32px 48px; }
.wg-check { display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 24px; border: 1px solid #505050; border-radius: 50%; background: #171717; }
.wg-check svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2.5; }
.wg-ready h3 { max-width: 720px; margin: 0 auto 30px; }
.wg-connect { min-width: 230px; height: 52px; padding: 0 28px; border: 0; border-radius: 99px; background: #fff; color: #080808; font-size: 14px; font-weight: 700; }
.wg-connect:hover { background: #e5e5e5; }
@media (max-width: 640px) {
  .wg-header { min-height: 56px; gap: 10px; padding-left: 12px; }
  .wg-header h2 { font-size: 8px; letter-spacing: 1px; gap: 7px; }
  .wg-count { font-size: 8px; letter-spacing: .5px; }
  .wg-close { width: 36px; height: 36px; }
  .wg-body { display: flex; flex-direction: column; }
  .wg-illustration { flex: 1; min-height: 200px; border-right: 0; border-bottom: 1px solid #303030; }
  .wg-copy { flex-shrink: 0; padding: 22px; }
  .wg-copy h3, .wg-ready h3 { font-size: 23px; letter-spacing: -.6px; }
  .wg-eyebrow { margin-bottom: 12px; }
  .wg-ready { padding: 28px 22px; margin: auto; }
  .wg-complete .wg-body { display: block; }
}
