/* Wire · h9311e · Mobile Bottom Home Icon Final Alignment
 *
 * h9311c/h9311d proved the persistent icon approach works, but ::before is
 * already part of the bottom-nav active-state system. That collision is why
 * the Home house is still rendering oversized/high.
 *
 * h9311e moves ONLY the Home house to ::after, leaving ::before available to
 * the existing active indicator.
 */

@media(max-width:820px){
  nav.wire-mobile-nav-v230j
  > a.wire-mobile-nav-item[href="/home"]{
    position:relative!important;
  }

  nav.wire-mobile-nav-v230j
  > a.wire-mobile-nav-item[href="/home"]
  > svg{
    display:none!important;
  }

  nav.wire-mobile-nav-v230j
  > a.wire-mobile-nav-item[href="/home"]::before{
    /* Give the existing mobile-nav owner back control of ::before. */
    content:revert!important;
  }

  nav.wire-mobile-nav-v230j
  > a.wire-mobile-nav-item[href="/home"]::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    top:11px!important;
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:23px!important;
    min-width:23px!important;
    max-width:23px!important;
    height:23px!important;
    min-height:23px!important;
    max-height:23px!important;
    margin:0!important;
    padding:0!important;
    transform:translateX(-50%)!important;
    background-color:currentColor!important;
    -webkit-mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 11 9-8 9 8M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E")
      center/contain no-repeat!important;
    mask:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m3 11 9-8 9 8M5 10v10h14V10M9 20v-6h6v6'/%3E%3C/svg%3E")
      center/contain no-repeat!important;
    pointer-events:none!important;
  }

  nav.wire-mobile-nav-v230j
  > a.wire-mobile-nav-item[href="/home"].active::after{
    background-color:#fff!important;
  }
}

@media(display-mode:standalone) and (max-width:820px){
  nav.wire-mobile-nav-v230j
  > a.wire-mobile-nav-item[href="/home"]::after{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
}
