/* MannBets theme v2: header logo size + gloss. Loads last. */
header>.logo{overflow:visible!important;position:relative!important}
header>.logo .mannbets-brand-logo,
.logo>img.mannbets-brand-logo{
  width:clamp(128px,34vw,215px)!important;max-width:none!important;height:auto!important;aspect-ratio:1859/520;
  max-height:62px!important;
  filter:drop-shadow(0 2px 5px rgba(0,0,0,.55)) saturate(1.05) contrast(1.04);
}
/* gloss: fixed top highlight + one slow sheen, both masked to the logo's own shape */
header>.logo::before,header>.logo::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:3;
  -webkit-mask:url(./mannbets-logo-clean.png) left center/contain no-repeat;
          mask:url(./mannbets-logo-clean.png) left center/contain no-repeat;
}
header>.logo::before{background:linear-gradient(180deg,rgba(255,255,255,.34) 0%,rgba(255,255,255,.06) 42%,transparent 55%)}
header>.logo::after{
  background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.75) 50%,transparent 62%);
  background-size:300% 100%;background-position:130% 0;
  animation:mbSheen 6s ease-in-out 1.2s infinite;
}
@keyframes mbSheen{0%,55%{background-position:130% 0}100%{background-position:-30% 0}}
@media (prefers-reduced-motion:reduce){header>.logo::after{animation:none;opacity:0}}

/* give the logo real room: logo | wallet | actions */
@media(max-width:620px){
  header{grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:8px!important}
  header>.logo{min-width:128px!important}
  header>.wallet-pill.neo-wallet-field,header>.neo-wallet-field{width:100%!important;max-width:156px!important;min-width:0!important}
  header .neo-wallet-balance{padding-left:10px!important;padding-right:8px!important;gap:6px!important;min-width:0!important}
  header .neo-wallet-balance img,header .neo-wallet-balance svg{max-width:22px!important;max-height:22px!important}
}
@media(max-width:360px){header>.logo{min-width:112px!important}header>.logo .mannbets-brand-logo{width:112px!important}}
