/* Magic 1Xtra account view: constrain runaway navigation icons only.
   This patch does not alter link destinations, player state, or menu ownership. */
body[data-mx-route="account"] #bottomNav svg,
body[data-mx-route="account"] #desktopNav svg,
body[data-mx-route="account"] #mxPhoneNavUnified svg,
body[data-mx-route="account"] #mxHomeAirplayNavV14 svg,
body[data-mx-route="account"] #mxNavRescue svg,
body[data-mx-route="account"] #mxFlutterMarketTabs svg,
body[data-mx-route="account"] .flutter-nav-icon svg,
body[data-mx-route="account"] #page svg,
body:has(#page .flutter-settings-screen) #page svg,
body[data-mx-route="account"] .settings-quick svg,
body[data-mx-route="account"] .settings-hub-icon svg,
body[data-mx-route="account"] .settings-appbar svg,
body:has(#page .flutter-settings-screen) #bottomNav svg,
body:has(#page .flutter-settings-screen) #mxPhoneNavUnified svg,
body:has(#page .flutter-settings-screen) .flutter-nav-icon svg {
 width:24px!important;height:24px!important;min-width:0!important;min-height:0!important;
 max-width:24px!important;max-height:24px!important;flex:none!important;
 display:inline-block!important;object-fit:contain!important;
}
body[data-mx-route="account"] #bottomNav a,
body[data-mx-route="account"] #mxPhoneNavUnified a,
body[data-mx-route="account"] #mxHomeAirplayNavV14 a,
body:has(#page .flutter-settings-screen) #bottomNav a {
 min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
body[data-mx-route="account"] .settings-quick-grid,
body:has(#page .flutter-settings-screen) .settings-quick-grid {
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body[data-mx-route="account"] #page,
body:has(#page .flutter-settings-screen) #page {
 min-width:0!important;max-width:100%!important;overflow-x:clip!important;
}
@media (max-width:799px) {
 body[data-mx-route="account"] .flutter-settings-screen,
 body:has(#page .flutter-settings-screen) .flutter-settings-screen {
  padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))!important;
 }
}
