[hidden]{display:none!important}dialog:not([open]){display:none!important}dialog::backdrop{background:#101b304f;backdrop-filter:blur(3px)}
.bsc-card{background:var(--surface,#fff);border-radius:1rem;padding:1.4rem;margin-bottom:1rem;box-shadow:0 0 0 1px #14223312,0 3px 10px #14223305;color:var(--ink,#152134)}
.bsc-card h2{font-size:1rem;font-weight:600;margin-bottom:.8rem}.bsc-card p,.bsc-card li{font-size:.9rem;line-height:1.7;color:var(--muted,#657083);margin:.6rem 0}.bsc-card a:not(.bsc-button){color:var(--accent,#447c9f);text-decoration:underline}.bsc-card ol{list-style:decimal;padding-left:1.5rem}.bsc-card pre{overflow:auto;padding:1rem;background:#f6f7f9;border-radius:.5rem;font-size:.85rem}
.bsc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.bsc-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.bsc-stat{display:block;font-size:2rem;font-weight:500;margin:.5rem 0}.bsc-note{background:#f4f6f8;padding:1rem;border-radius:.6rem;font-size:.85rem;line-height:1.6;margin:1rem 0;color:#5d697b}
.bsc-button{display:inline-flex;align-items:center;justify-content:center;min-height:2.3rem;border-radius:.4rem;padding:.5rem .9rem;background:var(--primary,#172338);color:var(--on-primary,#fff);font-size:.875rem;font-weight:500;cursor:pointer;border:0;text-decoration:none}.bsc-button.secondary{background:#f4f6f8;color:#172338;box-shadow:0 0 0 1px #15223315}.bsc-button:hover{filter:brightness(1.15)}.bsc-button:disabled{opacity:.45;cursor:not-allowed}.bsc-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.8rem 0}
.bsc-card form{display:grid;gap:1rem}.bsc-card label{display:grid;gap:.4rem;font-size:.875rem;font-weight:500}.bsc-card input,.bsc-card textarea,.bsc-card select{width:100%;padding:.65rem .8rem;border-radius:.4rem;background:white;box-shadow:0 0 0 1px #17233825;color:#172338;font:inherit}.bsc-card textarea{resize:vertical}.bsc-card code{font-family:var(--font-geist-mono,monospace)}.bsc-card :focus-visible{outline:2px solid #709ac7;outline-offset:3px}
#bsc-modal{max-width:32rem;width:calc(100% - 2rem);margin:auto;border:0;border-radius:1rem;padding:0}#bsc-modal .bsc-card{margin:0;box-shadow:none}.bsc-close{float:right;padding:.4rem .7rem;font-size:1.1rem;cursor:pointer}.bsc-toast{position:fixed;bottom:5rem;left:50%;transform:translateX(-50%);z-index:100;background:#172338;color:white;max-width:calc(100% - 2rem);padding:.9rem 1.3rem;border-radius:.7rem;box-shadow:0 5px 30px #0002;font-size:.9rem}
.bsc-banner{position:fixed;bottom:.6rem;left:.6rem;z-index:25;font-size:.75rem;background:#fffffff0;backdrop-filter:blur(10px);box-shadow:0 0 0 1px #14223315;border-radius:.4rem;padding:.35rem .65rem;color:#657083}.bsc-banner a{text-decoration:underline}.bsc-rental-grid{display:grid;gap:.6rem}.bsc-card img{max-height:16rem;object-fit:contain;border-radius:.5rem}
.bsc-gpu-hero{position:relative;isolation:isolate;width:100%;max-width:32rem;aspect-ratio:1/.875;margin-inline:auto;min-width:0;pointer-events:none}
.bsc-gpu-canvas{position:absolute;inset:0;opacity:0}.bsc-gpu-hero[data-renderer="webgl"] .bsc-gpu-canvas{opacity:1}
/* Keep the GPU visible on phones; the upstream hero hid it below 1024px. */
@media(max-width:1023px){#top>.mx-auto>.grid{gap:1.5rem}.bsc-gpu-hero{max-width:27rem;aspect-ratio:1/.8}}
/* Protect the original layouts as well as the reconstructed account screens. */
main,.bsc-card,.bsc-grid>*{min-width:0}.bsc-card code,.bsc-card [data-wallet-address]{overflow-wrap:anywhere}.bsc-card pre{max-width:100%}
#bsc-modal{max-height:calc(100dvh - 2rem);overflow-y:auto;overscroll-behavior:contain}.bsc-card input,.bsc-card select,.bsc-card textarea{min-width:0}
dialog[aria-label^="Search"]{max-height:calc(100dvh - 2rem);margin-top:min(12vh,3rem);overflow-y:auto}dialog[aria-label^="Search"] [role="listbox"]{min-height:0}
@media(max-width:639px){
  #top{padding-top:6.5rem}.bsc-gpu-hero{max-width:23rem;margin-block:.5rem 0}
  .bsc-card{padding:1.1rem}.bsc-card input,.bsc-card textarea,.bsc-card select,main textarea{font-size:1rem}
  .bsc-button{min-height:2.75rem}.bsc-actions{align-items:stretch}.bsc-actions>.bsc-button{flex:1 1 auto}
  button[role="radio"],button[role="tab"]{min-height:2.75rem}
  [role="tablist"]{grid-auto-columns:minmax(0,1fr);overflow-x:auto}button[role="tab"]{padding-inline:.5rem}
  .bsc-card pre{font-size:.8rem}.bsc-banner{bottom:max(.6rem,env(safe-area-inset-bottom));max-width:calc(100% - 5.5rem)}
}
@media(max-width:640px){.bsc-grid,.bsc-grid.three{grid-template-columns:1fr}.bsc-banner{max-width:70%;font-size:.7rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
