/* Baloo 2 is bundled locally; its SIL Open Font License is in assets/fonts. */
@font-face {
  font-family: Baloo2;
  src: url("assets/fonts/baloo-2.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
/* Include helper panels whose own styles use Arial or system fonts. Keep their
   sizes and line heights, including the 16px minimum for mobile form fields. */
html body, html body *, html body *::before, html body *::after {
  font-family: Baloo2, Arial, sans-serif !important;
}

/* Replace image lettering with live Baloo 2 labels; button hit areas stay intact. */
#mf-menu #btn-loja {
  overflow:hidden;
  border:2px solid #256719!important;
  border-radius:14px;
  background:linear-gradient(135deg,#7cf242,#2bcd4c)!important;
  box-shadow:inset 0 0 0 2px #a4ff78,inset 0 -7px 0 #078329;
}
#mf-menu #btn-loja img {clip-path:inset(0 0 41% 0);pointer-events:none}
#mf-menu .mf-hud-shop-label {
  position:absolute;left:6%;right:6%;top:62%;height:28%;
  display:grid;place-items:center;pointer-events:none;
  font:800 25px/1 Baloo2,Arial,sans-serif;color:white;
  -webkit-text-stroke:3px #174e14;paint-order:stroke fill;
  text-shadow:0 2px 0 #174e14;
}
#mf-menu #btn-bau .mf-hud-chest-label {
  position:absolute;left:19%;top:18%;width:62%;height:17%;
  display:grid;place-items:center;pointer-events:none;white-space:nowrap;
  border-radius:2px;background:linear-gradient(#99552c,#a86337 45%,#874322);
  font:800 8px/1 Baloo2,Arial,sans-serif;letter-spacing:-.2px;
  color:#ffdc63;text-shadow:0 1px #472609;
}

/* A single outline avoids offset copies at mobile HUD scales. */
body #hud-fazenda-text {
  font-weight:800;
  text-shadow:none!important;
  -webkit-text-stroke:1px #24380d;
  paint-order:stroke fill;
}
body #hud-fazenda-nome {text-shadow:none!important}
#mf-garage .claro, #mf-garage .verde {
  font-weight:700;
  text-shadow:none!important;
  -webkit-text-stroke:0;
}

/* Keep the shop heading crisp when the panel scales down on phones. */
body #mf-shop .mfs-title {
  font-weight:800;
  letter-spacing:0;
  text-shadow:none!important;
  -webkit-text-stroke:2px #6b3a12;
  paint-order:stroke fill;
}
