.real-app #draft-review #draft-review-save-anchor:has(#testnet-fund-launch:not([hidden])) { display:grid; gap:8px; }
.real-app #draft-review #draft-review-save-anchor:has(#testnet-fund-launch:not([hidden])) #save-shared-draft { box-shadow:none; }
.real-app #draft-review.is-testnet-funding { width:min(560px,calc(100vw - 32px)); }
.real-app #draft-review.is-testnet-funding > :not(.modal-close):not(#testnet-funding-panel) { display:none!important; }
.real-app #testnet-funding-panel { min-height:0; overflow:auto; padding:2px 2px 0; }
.real-app .testnet-heading > span { display:inline-flex; padding:5px 8px; border-radius:999px; background:#e8f0ff; color:#174f9e; font-size:10px; font-weight:760; letter-spacing:.06em; text-transform:uppercase; }
.real-app .testnet-heading h2 { margin:12px 0 4px; color:#152238; font-size:28px; line-height:1.15; letter-spacing:-.035em; }
.real-app .testnet-heading p { margin:0; color:#56677e; font-size:14px; line-height:1.5; }
.real-app .testnet-position { margin:20px 0 10px; padding:16px 18px; border-radius:14px; background:#0f2c4b; color:#fff; }
.real-app .testnet-position small { display:block; color:#b9cee6; font-size:11px; font-weight:650; }
.real-app .testnet-position strong { display:block; margin-top:5px; font-size:18px; line-height:1.35; overflow-wrap:anywhere; }
.real-app .testnet-costs { margin:0; }
.real-app .testnet-costs > div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; padding:9px 2px; color:#56677e; font-size:13px; border-bottom:1px solid #e2e8f0; }
.real-app .testnet-costs dd { margin:0; color:#172b46; font-weight:680; font-variant-numeric:tabular-nums; }
.real-app .testnet-costs > div:last-child { margin-top:4px; padding:12px 14px; border:0; border-radius:10px; background:#edf4ff; }
.real-app .testnet-costs > div:last-child :is(dt,dd) { color:#124fab; font-weight:750; }
.real-app .testnet-steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; margin:20px 0 14px; padding:0; list-style:none; }
.real-app .testnet-steps li { display:grid; justify-items:center; gap:5px; color:#738197; font-size:10px; font-weight:650; }
.real-app .testnet-steps li span { width:26px; height:26px; display:grid; place-items:center; border:1px solid #cad5e3; border-radius:50%; background:#fff; }
.real-app .testnet-steps li.is-complete,.real-app .testnet-steps li[aria-current] { color:#164d97; }
.real-app .testnet-steps li.is-complete span { border-color:#b7d8c5; background:#edf8f1; color:#17633d; }
.real-app .testnet-steps li[aria-current] span { border-color:#1769ff; background:#eaf2ff; color:#1456bd; box-shadow:0 0 0 3px #1769ff1a; }
.real-app .testnet-status { min-height:21px; margin:0 0 10px; color:#455b75; font-size:13px; line-height:1.55; }
.real-app .testnet-receipt { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:8px 0 12px; padding:14px; border:1px solid #b9ddc8; border-radius:10px; background:#eff9f3; color:#165a39; font-size:13px; }
.real-app .testnet-receipt a { color:#1558bd; font-weight:650; }
.real-app .testnet-rules { margin-top:4px; border-top:1px solid #e2e8f0; }
.real-app .testnet-rules summary { min-height:44px; display:flex; align-items:center; cursor:pointer; color:#35516f; font-size:13px; font-weight:650; }
.real-app .testnet-rules dl { margin:0 0 8px; }
.real-app .testnet-rules dl > div { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); gap:12px; padding:7px 0; color:#56677e; font-size:12px; line-height:1.45; }
.real-app .testnet-rules dd { margin:0; color:#243b58; text-align:right; overflow-wrap:anywhere; }
.real-app .testnet-actions { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:10px; margin-top:14px; }
.real-app .testnet-actions .button { min-height:48px; margin:0; }
.real-app .testnet-gas { width:max-content; max-width:100%; min-height:44px; display:flex; align-items:center; justify-content:center; margin:6px auto 0; color:#35516f; font-size:12px; font-weight:650; }
.real-app #testnet-funding-panel[hidden],.real-app #testnet-receipt[hidden],.real-app #testnet-fund-launch[hidden] { display:none!important; }
@media(max-width:520px){
  .real-app #draft-review.is-testnet-funding { width:calc(100vw - 20px); }
  .real-app .testnet-heading h2 { font-size:24px; }
  .real-app .testnet-actions { grid-template-columns:minmax(0,1fr); }
  .real-app .testnet-rules dl > div { grid-template-columns:minmax(0,1fr); gap:3px; }
  .real-app .testnet-rules dd { text-align:left; }
}
