.afilpwa-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 99999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #1f1f1f;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  font-size: 14px;
}
.afilpwa-banner__text { flex: 1 1 auto; line-height: 1.3; }
.afilpwa-banner__button,
.afilpwa-banner__close {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.afilpwa-banner__button { background: #fff; color: #1f1f1f; font-weight: 700; }
.afilpwa-banner__close { background: transparent; color: #fff; opacity: .85; }
.afilpwa-mini-install {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 99998;
  border: 0;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(0,0,0,.20);
}
.afilpwa-toast {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 78px;
  z-index: 100000;
  background: #1f1f1f;
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
}
.afilpwa-toast--show { opacity: 1; transform: translateY(0); }
.afilpwa-splash {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .35s ease;
}
.afilpwa-splash--hide { opacity: 0; }
.afilpwa-splash__logo {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: #1f1f1f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
}
.afilpwa-splash__title { margin-top: 16px; font-size: 24px; font-weight: 800; color: #1f1f1f; }
.afilpwa-splash__sub { margin-top: 4px; font-size: 14px; color: #666; }
.afilpwa-shortcuts {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 99997;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.afilpwa-shortcuts a {
  display: block;
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
  background: #f3f3f3;
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
@media (min-width: 768px) {
  .afilpwa-banner {
    max-width: 360px;
    left: auto;
    right: 18px;
    bottom: 18px;
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 12px;
  }
  .afilpwa-banner__button,
  .afilpwa-banner__close {
    padding: 7px 9px;
    font-size: 12px;
  }
  .afilpwa-mini-install {
    right: 18px;
    bottom: 18px;
    padding: 8px 11px;
    font-size: 12px;
    transform: scale(.88);
    transform-origin: right bottom;
  }
  .afilpwa-shortcuts { max-width: 460px; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 420px) {
  .afilpwa-banner { flex-wrap: wrap; }
  .afilpwa-banner__text { flex-basis: 100%; }
}


.afilpwa-mini-install__icon {
  margin-right: 5px;
}

.afilpwa-mini-install__label {
  vertical-align: middle;
}

@media (min-width: 1024px) {
  .afilpwa-mini-install__icon {
    margin-right: 0;
  }
  .afilpwa-mini-install__label {
    display: none;
  }
  .afilpwa-mini-install {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
  }
}
