/* Android V161 targeted restore: do not show info/tools/presets on wrong tabs */
.afcc-native-router{display:none!important;visibility:hidden!important;pointer-events:none!important;width:0!important;height:0!important;overflow:hidden!important;}
body.afcc-native-android .afcc-app-main{padding-bottom:0!important;}
body.afcc-native-android .afcc-section{padding-bottom:8px!important;}
body.afcc-native-android #checker .afcc-info-stack,
body.afcc-native-android #checker .afcc-panel--presets-info,
body.afcc-native-android #catalog .afcc-info-stack,
body.afcc-native-android #catalog .afcc-panel--presets-info,
body.afcc-native-android #favorites .afcc-info-stack,
body.afcc-native-android #favorites .afcc-panel--presets-info,
body.afcc-native-android #checker .afcc-universal-footer,
body.afcc-native-android #catalog .afcc-universal-footer,
body.afcc-native-android #favorites .afcc-universal-footer{display:none!important;}
body.afcc-native-android #info.afcc-screen:not(.is-active){display:none!important;}
body.afcc-native-android #info.afcc-screen.is-active{display:flex!important;flex-direction:column!important;min-height:calc(100vh - 8px)!important;padding-bottom:0!important;}
body.afcc-native-android #info .afcc-info-stack{margin-bottom:10px!important;}
body.afcc-native-android #info .afcc-universal-footer{display:block!important;margin:auto 0 0!important;}
body.afcc-native-android .afcc-universal-footer__inner{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:center;padding:18px 20px;border-radius:24px;border:1px solid rgba(98,221,255,.30);background:linear-gradient(135deg,rgba(15,72,91,.78),rgba(7,37,55,.78));box-shadow:inset 4px 0 0 rgba(32,242,210,.82),0 18px 44px rgba(0,0,0,.20);}
body.afcc-native-android .afcc-universal-footer__icon{display:grid;place-items:center;width:44px;height:44px;border-radius:999px;color:#d7fcff;font-size:24px;font-weight:900;background:radial-gradient(circle,rgba(32,242,210,.28),rgba(32,242,210,.10));border:1px solid rgba(32,242,210,.28);box-shadow:0 0 0 8px rgba(32,242,210,.05);}
body.afcc-native-android .afcc-universal-footer__copy strong{display:block;font-size:18px;line-height:1.15;margin-bottom:8px;color:#f4fdff;}
body.afcc-native-android .afcc-universal-footer__copy span{display:block;font-size:14px;line-height:1.48;color:#c7e7f1;}
@media(max-width:420px){body.afcc-native-android .afcc-universal-footer__inner{grid-template-columns:44px minmax(0,1fr);gap:12px;padding:14px 16px;border-radius:22px;}body.afcc-native-android .afcc-universal-footer__copy strong{font-size:15.5px;}body.afcc-native-android .afcc-universal-footer__copy span{font-size:12px;line-height:1.42;}}
/* Category cards: final panoramas are set immediately, so old fish backgrounds cannot flash first. */
#catalog #categoryTabs .afcc-category-tab[data-category="loaches"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/loaches.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="goldfish"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/goldfish.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="livebearers"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/livebearers.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="cyprinids"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/cyprinids.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="killifish"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/killifish.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="rainbowfish"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/rainbowfish.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="labyrinth"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/labyrinth.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="catfish"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/catfish.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="corydoras"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/corydoras.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="characins"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/characins.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="predators"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/predators.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="cichlids"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/cichlids.webp?v=v161-tabs-restore') !important;}
#catalog #categoryTabs .afcc-category-tab[data-category="unusual"]{--category-bg:url('/app-assets/aquarium-compatibility-calculator/assets/img/category-panoramas/unusual.webp?v=v161-tabs-restore') !important;}

/* Android V163: stable bottom info block and no wrong tools/presets on non-info tabs */
body.afcc-native-android #checker > .afcc-info-stack,
body.afcc-native-android #checker > .afcc-panel--presets-info,
body.afcc-native-android #catalog > .afcc-info-stack,
body.afcc-native-android #catalog > .afcc-panel--presets-info,
body.afcc-native-android #favorites > .afcc-info-stack,
body.afcc-native-android #favorites > .afcc-panel--presets-info{display:none!important;}
body.afcc-native-android #checker.afcc-screen.is-active,
body.afcc-native-android #catalog.afcc-screen.is-active,
body.afcc-native-android #info.afcc-screen.is-active{display:flex!important;flex-direction:column!important;min-height:calc(100vh - 10px)!important;padding-bottom:0!important;}
body.afcc-native-android #favorites .afcc-universal-footer{display:none!important;}
body.afcc-native-android #checker .afcc-universal-footer,
body.afcc-native-android #catalog .afcc-universal-footer,
body.afcc-native-android #info .afcc-universal-footer{display:block!important;margin:14px 0 0!important;padding:0!important;}
body.afcc-native-android #checker .afcc-universal-footer:last-child,
body.afcc-native-android #catalog .afcc-universal-footer:last-child,
body.afcc-native-android #info .afcc-universal-footer:last-child{margin-top:auto!important;}
body.afcc-native-android .afcc-universal-footer{position:relative!important;z-index:2!important;pointer-events:none!important;}
body.afcc-native-android .afcc-universal-footer *{pointer-events:none!important;}
