/* railway-ask store chrome, phone layer (chrome.go storeChromeStylesheet):
   linked after the theme's portal-footer.css and portal-consent.css on pages
   that draw the store footer. The theme owns the tab-bar phone chrome below
   960 px (opaque consent panel, 48 px sentence-case buttons, 44 px footer
   links, no footer brand or mission); this layer adds only what the store
   needs beyond it, colours stay the theme's:
   - The cookie banner sits in the page flow after the footer, so it never
     covers a form action.
   - Long consent button labels wrap inside the button.
   - The footer's AI notice link is a 44 px target like the other rows; the
     More sheet lists the same pages (shell_more.go legalMoreItems). */
@media (max-width: 959.98px) {
  body:has(.ui-tabbar) .portal-consent { position: static; inset: auto; padding: 0 1rem 1rem; }
  body:has(.ui-tabbar) .portal-consent-simple-actions { flex-wrap: wrap; }
  body:has(.ui-tabbar) .portal-consent-button { padding-block: .5rem; line-height: 1.25; white-space: normal; }
  body:has(.ui-tabbar) .portal-consent-customize { vertical-align: middle; }
  body:has(.ui-tabbar) .portal-footer-ai-notice a { display: inline-flex; align-items: center; min-height: 44px; }
}
