
#pergo-esnaf-mobile-download {
  display:none;
}

@media(max-width:767px) {
  #pergo-esnaf-mobile-download {
    display:block;
    position:fixed;
    left:12px;
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    z-index:2147483000;
    background:linear-gradient(140deg,#202020,#101010);
    color:#fff;
    border:1px solid rgba(245,198,57,.6);
    border-radius:22px;
    padding:19px;
    box-shadow:0 15px 45px rgba(0,0,0,.34);
    font-family:Arial,Helvetica,sans-serif;
    animation:pergo404enter .45s ease both;
  }

  #pergo-esnaf-mobile-download * {
    box-sizing:border-box;
  }

  #pergo-esnaf-mobile-download .pergo404-head {
    display:flex;
    align-items:center;
    gap:12px;
    padding-right:27px;
  }

  #pergo-esnaf-mobile-download .pergo404-logo {
    width:53px;
    height:53px;
    border-radius:50%;
    object-fit:cover;
    flex:none;
    background:#fff;
  }

  #pergo-esnaf-mobile-download .pergo404-title {
    font-size:17px;
    font-weight:900;
    color:#f1c94a;
    margin:0 0 4px;
    line-height:1.2;
  }

  #pergo-esnaf-mobile-download .pergo404-subtitle {
    font-size:12px;
    line-height:1.55;
    color:#e2e2e2;
    margin:0;
  }

  #pergo-esnaf-mobile-download .pergo404-close {
    position:absolute;
    right:12px;
    top:11px;
    width:32px;
    height:32px;
    background:#363636;
    color:#fff;
    border:0;
    border-radius:50%;
    cursor:pointer;
    font-size:21px;
    line-height:1;
  }

  #pergo-esnaf-mobile-download .pergo404-links {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    margin-top:17px;
  }

  #pergo-esnaf-mobile-download .pergo404-link {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:10px 7px;
    border-radius:12px;
    font-size:12px;
    font-weight:900;
    text-align:center;
    text-decoration:none;
    background:#f0c43b;
    color:#161616;
  }

  #pergo-esnaf-mobile-download .pergo404-link.apple {
    background:#fff;
    color:#151515;
  }

  #pergo-esnaf-mobile-download .pergo404-foot {
    margin:12px 0 0;
    color:#bfbfbf;
    font-size:11px;
    text-align:center;
    line-height:1.5;
  }

  @keyframes pergo404enter {
    from {opacity:0;transform:translateY(40px);}
    to {opacity:1;transform:translateY(0);}
  }
}

@media(prefers-reduced-motion:reduce) {
  #pergo-esnaf-mobile-download {
    animation:none!important;
  }
}
