.a2hs-layer[hidden] {
  display: none;
}

.a2hs-layer {
  position: fixed;
  inset: 0;
  z-index: 280;
}

.a2hs-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 8, 6, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.a2hs-sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 18px 14px 14px;
  border-radius: 24px;
  border: 1px solid rgba(243, 198, 95, 0.12);
  background: linear-gradient(180deg, rgba(14, 22, 17, 0.98), rgba(8, 12, 10, 0.98));
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.42);
  color: #f3eee1;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.a2hs-layer.is-visible .a2hs-sheet {
  transform: translateY(0);
  opacity: 1;
}

.a2hs-sheet::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 198, 95, 0.34), transparent);
  opacity: 0.8;
}

.a2hs-layer[data-mode="android"] .a2hs-sheet {
  border-color: rgba(255, 244, 214, 0.18);
  background:
    radial-gradient(circle at top center, rgba(243, 198, 95, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(20, 24, 18, 0.98), rgba(8, 12, 10, 0.98));
}

.a2hs-layer[data-mode="android-open-chrome"] .a2hs-sheet {
  border-color: rgba(255, 244, 214, 0.14);
  background:
    radial-gradient(circle at top center, rgba(243, 198, 95, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(16, 22, 18, 0.98), rgba(8, 12, 10, 0.98));
}

.a2hs-layer[data-mode="android-guide"] .a2hs-sheet {
  border-color: rgba(255, 255, 255, 0.08);
}

.a2hs-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(243, 198, 95, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #e8ddb5;
  font-size: 16px;
}

.a2hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffe792;
  font: 800 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.a2hs-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f3c65f;
  box-shadow: 0 0 9px rgba(243, 198, 95, 0.26);
}

.a2hs-title {
  margin-top: 10px;
  font: 800 24px/1.02 "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.a2hs-copy {
  margin-top: 8px;
  color: #aab6ae;
  font-size: 12px;
  line-height: 1.45;
}

.a2hs-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.a2hs-benefit {
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #f4e3b6;
  font: 800 9px/1 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(247, 215, 127, 0.12), rgba(243, 198, 95, 0.04));
  border: 1px solid rgba(243, 198, 95, 0.14);
}

.a2hs-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.a2hs-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(243, 198, 95, 0.08);
  background:
    radial-gradient(circle at top right, rgba(243, 198, 95, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(16, 26, 20, 0.92), rgba(10, 15, 12, 0.96));
}

.a2hs-step__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #f3c65f;
  background: rgba(243, 198, 95, 0.08);
  border: 1px solid rgba(243, 198, 95, 0.12);
}

.a2hs-step__icon svg {
  width: 18px;
  height: 18px;
}

.a2hs-step__title {
  color: #f5efdf;
  font-size: 13px;
  font-weight: 800;
}

.a2hs-step__body {
  margin-top: 4px;
  color: #9baa9f;
  font-size: 11px;
  line-height: 1.4;
}

.a2hs-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 10px;
  margin-top: 14px;
}

.a2hs-secondary,
.a2hs-primary {
  min-height: 46px;
  border-radius: 16px;
  font: 800 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.a2hs-secondary {
  border: 1px solid rgba(243, 198, 95, 0.14);
  background: linear-gradient(180deg, rgba(247, 215, 127, 0.1), rgba(243, 198, 95, 0.04));
  color: #ecdcae;
}

.a2hs-primary {
  border: 1px solid rgba(255, 244, 214, 0.44);
  background: linear-gradient(180deg, #f6dc8d 0%, #efc75f 58%, #e2ae3b 100%);
  color: #08100b;
  box-shadow:
    0 6px 16px rgba(215, 146, 35, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.a2hs-layer[data-mode="android-open-chrome"] .a2hs-primary {
  border-color: rgba(255, 244, 214, 0.24);
  background: linear-gradient(180deg, rgba(247, 215, 127, 0.18), rgba(243, 198, 95, 0.08));
  color: #fff0cf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.a2hs-layer[data-mode="android-guide"] .a2hs-primary,
.a2hs-layer[data-mode="ios"] .a2hs-primary,
.a2hs-layer[data-mode="ios-webview"] .a2hs-primary {
  border-color: rgba(255, 244, 214, 0.18);
  background: linear-gradient(180deg, rgba(247, 215, 127, 0.14), rgba(243, 198, 95, 0.06));
  color: #fff0cf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.a2hs-helper {
  margin-top: 12px;
  color: #8ea197;
  font-size: 10px;
  line-height: 1.45;
}

@media (min-width: 760px) {
  .a2hs-layer {
    display: none !important;
  }
}

@media (display-mode: standalone) {
  .a2hs-layer {
    display: none !important;
  }
}
