/* lm-hdr.css v1 (owner 21 Nov 2026: "Search button is like sticking next to the logo"). Phone header.
   Loaded last in index.html so no later file undoes it. Remove: delete its link tag in index.html.
   - the logo keeps its full size and is never pushed under the search button
   - the name in the balance pill shortens first; the balance amount is never cut
   - below 386px the pill's small person icon is dropped to make room; below 341px the logo is a little smaller */
@media (max-width:480px){
.topbar>a.logo{flex-shrink:0}
.topbar>#authArea{margin-left:auto;min-width:0;flex:0 1 auto}
#authArea .balpill{min-width:auto}
#authArea .balpill>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
#authArea .balpill>b{white-space:nowrap;min-width:max-content}
}
@media (max-width:385px){
#authArea .balpill{padding-left:10px;grid-template-columns:auto}
#authArea .balpill::before{display:none}
#authArea .balpill>*{grid-column:auto}
}
@media (max-width:340px){
.topbar>a.logo img{width:60px!important;height:auto!important;max-width:none!important}
.topbar>#authArea{gap:4px}
#authArea .btn.primary{padding-left:7px;padding-right:7px}
}
