/* Stacked Deck app shell: additive to existing assets/style.css */
html { scroll-padding-top: 88px; }
body { overflow-x: hidden; }
.sd-header { position: sticky !important; top: 0; z-index: 10000; isolation: isolate; background: rgba(10,14,24,.97); border-bottom: 1px solid rgba(230,187,101,.35); padding-top: env(safe-area-inset-top); box-shadow: 0 8px 25px rgba(0,0,0,.35); }
.sd-header .brand { position: relative; z-index: 2; white-space: nowrap; }
.sd-menu-toggle { display: none; width: 46px; height: 44px; padding: 10px; border: 1px solid #b99350; border-radius: 8px; background: #181c2b; cursor: pointer; align-items: center; justify-content: space-around; flex-direction: column; }
.sd-menu-toggle span { display: block; height: 2px; width: 23px; background: #e8c57d; border-radius: 3px; }
.sd-nav a { text-decoration: none; }
.sd-nav a:focus-visible,.sd-menu-toggle:focus-visible { outline: 3px solid #f4d58c; outline-offset: 3px; }
@media (max-width: 820px) {
 .sd-header { min-height: 68px; display: flex !important; align-items: center; justify-content: space-between; flex-wrap: wrap; padding-left: 16px; padding-right: 16px; }
 .sd-menu-toggle { display: flex; margin-left: auto; }
 .sd-header .sd-nav { display: none !important; flex: 0 0 100%; order: 3; width: 100%; padding: 10px 0 14px; margin: 0; border-top: 1px solid rgba(230,187,101,.2); background: #0a0e18; }
 .sd-header.sd-open .sd-nav { display: flex !important; flex-direction: column; align-items: stretch; gap: 4px; }
 .sd-nav a { display: block; padding: 13px 12px; border-radius: 6px; font-size: 16px; }
 .sd-nav a:hover,.sd-nav a.active { background: rgba(230,187,101,.12); }
 .home-hero,.feature-grid,.pwa-banner { max-width: 100%; }
 .pwa-banner { gap: 18px; }
 .pwa-banner .install-button { max-width: 100%; white-space: normal; }
}
@media (min-width: 821px) { .sd-header .sd-nav { display: flex; } }
