/* hit_areas.css (hit1): invisible bigger tap areas for small HUD buttons. The visuals do not change: each rule only adds a transparent ::after
   that reaches past the button. Reach is cut back wherever another button sits close (rows of the Town HUD are 3-6px apart, medals 5px apart,
   Gate back/mute 1px apart), so no extension overlaps a neighbour. Town HUD rules apply to the phone-portrait HUD layout only. */
@media (orientation: portrait) and (max-width: 699px) {
  .town-home .slim-bar .settings-btn, .town-home .slim-bar .menu-btn, .town-home .slim-bar .pouch-btn, .town-home .event-medals .medal { position: relative; }
  .town-home .slim-bar .settings-btn::after, .town-home .slim-bar .menu-btn::after, .town-home .slim-bar .pouch-btn::after, .town-home .event-medals .medal::after {
    content: ""; position: absolute; background: transparent; border-radius: 0; }
  /* the buttons above become positioned; keep the settings/menu wrappers painting over the chips exactly as before (their shadow falls on Heroes) */
  .town-home .slim-bar .settings-wrap, .town-home .slim-bar .menu-wrap { z-index: 1; }
  /* NB: inset is measured from the padding box, so each value = wanted reach + the button's border (settings/menu 2px, chips 1.5px, medals 2.5px).
     row 1: settings and menu sit 5px apart (2px each side); top reaches the screen edge, bottom stops 4px above the Heroes chip */
  .town-home .slim-bar .settings-btn::after { inset: -8px -4px -4px -4px; }
  .town-home .slim-bar .menu-btn::after { inset: -8px -9px -4px -4px; }
  /* row 2: Heroes chip is 3px above Goals/Bags and 6px below the menu: +3px up, +2px down (chips are already 60-68px wide, so height only) */
  #btnHeroes::after { inset: -4.5px -1.5px -3.5px -1.5px; }
  /* row 3: nothing tappable under Goals/Bags, so they grow downward 19px (44px tall); the top stays flush (3px below Heroes) */
  #btnGoals::after, #btnPouch::after { inset: -1.5px -1.5px -20.5px -1.5px; }
  /* event medals: 5px apart (2px each side); 6px under Play Campaign (4px up), free below */
  .town-home .event-medals .medal::after { inset: -6.5px -4.5px -6.5px -4.5px; }
}
/* Gate HUD: back and mute are 1px apart (so no reach between them), Go sits in the pre-wave row */
body:not(.gd-art) .gd-back, body:not(.gd-art) .gd-mute { position: relative; }
.gd-back::after { content: ""; position: absolute; background: transparent; inset: -8px -2px -8px -10px; }
.gd-mute::after { content: ""; position: absolute; background: transparent; inset: -10px -18px -10px -2px; }
.gd-go { position: relative; }
.gd-go::after { content: ""; position: absolute; background: transparent; inset: -18px -2px -2px -2px; }
