.cw-page { width: min(100%,560px); margin-inline:auto; box-sizing:border-box; padding:12px 20px 20px;
  border-radius:20px; background:#0c0b1c; color:#fafafa; }
.cw-header { display:grid; grid-template-columns:44px 1fr 44px; align-items:center; }
.cw-header h1 { grid-column:2; font-size:16px; font-weight:600; text-align:center; margin:0; }
.cw-back { min-height:44px; border:0; background:transparent; color:#fff; font-size:32px; }
.cw-info,.cw-receipt,.cw-recovery { margin-top:24px; padding:17px; background:#19182b; border:1px solid #ffffff20; border-radius:14px; }
.cw-page h2 { margin:0; font-size:17px; }
.cw-values { margin:12px 0 0; }
.cw-values > div,.cw-transfer { display:flex; justify-content:space-between; align-items:baseline; gap:14px; padding:5px 0; }
.cw-values dt,.cw-receipt span { color:#c2bfce; font-size:14px; }
.cw-values dd { margin:0; text-align:right; font-size:14px; font-weight:650; font-variant-numeric:tabular-nums; }
.cw-help { display:inline; }
.cw-help summary { display:inline-grid; place-items:center; min-width:26px; min-height:26px; cursor:pointer; color:#c7bbef; }
.cw-help summary::-webkit-details-marker { display:none; }
.cw-help p { margin:4px 0; max-width:30ch; font-size:13px; }
.cw-page .model-form,.cw-page .controls { max-width:none; min-width:0; margin:0; padding:0; border:0; }
.cw-page [hidden] { display:none !important; }
.cw-page .cw-method-heading { margin:20px 0 10px; }
.cw-methods { display:grid; gap:7px; }
.cw-option { display:flex; align-items:center; width:100%; gap:12px; padding:10px 14px; min-height:55px;
  text-align:left; border:1px solid #ffffff22; border-radius:12px; background:#171627; color:inherit; }
.cw-option[aria-checked=true] { border-color:#9473e9; background:#201b36; }
.cw-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:8px; font:18px 'Wallet Icons'; background:#ffffff0c; }
.cw-icon img { max-width:27px; max-height:22px; }
.cw-option-copy { flex:1; min-width:0; }
.cw-option-copy strong,.cw-option-copy small { display:block; }
.cw-option-copy small { color:#bfb9cb; margin-top:3px; }
.cw-radio { width:18px; height:18px; flex:none; border:1px solid #8a819e; border-radius:50%; }
.cw-option[aria-checked=true] .cw-radio { border:5px solid #b498ff; background:#fff; }
.cw-manage,.cw-nav { display:flex; gap:4px 18px; align-items:center; flex-wrap:wrap; }
.cw-link,.cw-change,.cw-refresh { display:inline-flex; align-items:center; min-height:40px; font-size:14px; color:#c3aaff; }
.cw-change { min-height:32px; }
.cw-manage { justify-content:center; }
.cw-transfer { margin:16px 0 10px; border-top:1px solid #ffffff20; padding-top:15px; font-size:14px; }
.cw-target { text-align:right; color:#d1ccd9; overflow-wrap:anywhere; }
.cw-page .actions { display:block; margin:10px 0 0; }
.cw-page .actions .button,.cw-confirm,.cw-cancel { min-height:52px; border-radius:99px; padding:0 20px; font-weight:700; border:0; }
.cw-page .actions .button,.cw-confirm { background:#fafafa; color:#16151d; }
.cw-page .actions .button { width:100%; }
.cw-legal { text-align:center; margin:12px auto 0; max-width:40ch; font-size:12px; color:#b9b5c9; }
.cw-legal a { display:inline; color:#ded5f7; text-decoration:underline; font-size:inherit; }
.cw-page .form-status:empty,.cw-refresh { display:none; }
.cw-page .form-status:has(button) + .cw-refresh { display:inline-flex; }
.cw-forfeiture { width:min(360px,calc(100% - 32px)); margin:auto; padding:22px; background:#1b192c; color:#fff; border:1px solid #ffffff2e; border-radius:18px; }
.cw-forfeiture::backdrop { background:#050410bd; }
.cw-forfeiture h2,.cw-warning,.cw-forfeiture p { text-align:center; }
.cw-warning { display:block; margin:22px auto 0; color:#f29947; font-size:26px; line-height:1.5; }
.cw-forfeiture p { color:#d4cfde; margin:12px 0 20px; line-height:1.45; }
.cw-choices { display:flex; gap:10px; }
.cw-choices button { flex:1; min-height:44px; }
.cw-cancel { background:#363249; color:#fff; }
.cw-paid { display:grid; justify-items:center; gap:8px; margin:26px 0; }
.cw-check { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; color:#b6efc3; background:#254236; }
.cw-amount { font-size:36px; font-variant-numeric:tabular-nums; }
.cw-receipt { display:grid; gap:6px; margin:12px 0; }
.cw-receipt small { color:#a9a3ba; overflow-wrap:anywhere; }
.cw-recovery p { margin:10px 0; }
.cw-recovery a + a { margin-left:12px; }
@media(max-width:760px) {
  main:has(> .cw-page) { padding:0 0 calc(64px + env(safe-area-inset-bottom)); }
  .cw-page { width:100%; min-height:calc(100svh - 112px); border-radius:0; padding-bottom:20px; }
  .cw-page:has(.cw-scroll) { padding-bottom:12px; }
  .cw-page .controls:has(.cw-scroll) { display:flex; flex-direction:column;
    height:max(380px,calc(100dvh - var(--mast) - 132px - env(safe-area-inset-bottom))); }
  .cw-scroll { flex:1; min-height:0; overflow-y:auto; scroll-padding:8px; }
  .cw-scroll .cw-info { margin-top:12px; padding:14px; }
  .cw-scroll .cw-values > div { padding:2px 0; }
  .cw-footer { flex:none; }
  .cw-transfer { margin-top:6px; padding-top:10px; }
}
