/* Platform owns responsive navigation for every registered game. */
#mobileMenuToggle{display:none}
@media(max-width:700px), (max-height:620px) and (pointer:coarse){
 body>header{position:relative;flex-wrap:nowrap!important;height:64px!important;min-height:64px;padding:0 16px!important;gap:12px!important;z-index:400}
 body>header>b{display:flex!important;align-items:center;white-space:nowrap;font-size:22px!important;gap:6px}
 body>header>b .brand-paw{width:30px!important;height:30px!important}
 body>header>span{display:none!important}
 #mobileMenuToggle{display:block;margin-left:auto;min-height:44px;padding:8px 16px;background:#173f35;color:#fffaf0}
 body>header>#platformNavigation{display:none!important}
 body>header.mobile-menu-open>#platformNavigation{display:flex!important;position:absolute;top:100%;right:12px;flex-direction:column;align-items:stretch;flex-wrap:nowrap;width:min(280px,calc(100vw - 24px));max-height:calc(100dvh - 76px);overflow:auto;padding:12px;background:#fffaf0;border:1px solid #ddd3bf;border-radius:14px;box-shadow:0 12px 28px #142b2530;gap:4px}
 #platformNavigation :is(#pet,#myStats,#new){min-height:44px;text-align:left;white-space:nowrap;padding:10px 12px!important}
 #platformNavigation #statsMenu{position:static;margin:0 0 0 12px;min-width:0!important}
 #platformNavigation #statsMenu button{min-height:44px}
 /* Short phone screens must expose modal actions through their own scroll surface. */
 dialog{max-height:calc(100dvh - 24px);overflow:auto}
 .mini-overlay,.win-overlay,.newgame-dialog{overflow-y:auto!important;align-items:start!important}
}

/* Loss detection identifies the friends currently on the cards. */
#solverLossPets .win-pet-photo{width:100px;border-width:3px}
#solverLossPets.multiple .win-pet-photo{width:clamp(48px,14vw,72px)}
