/* Add-to-home-screen install nudge — bottom-docked, slides up, clears the sponsor ticker. */
.a2hs {
  position: fixed; left: 50%; bottom: 70px;
  transform: translate(-50%, 150%);
  width: calc(100% - 24px); max-width: 444px; z-index: 1300;
  background: #0e2419; border: 1px solid #1c4630; border-radius: 14px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .55);
  color: #eafff2; font-family: inherit;
  padding: 12px;
  opacity: 0; transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .34s ease;
}
.a2hs--show { transform: translate(-50%, 0); opacity: 1; }

.a2hs__row { display: flex; align-items: center; gap: 11px; }
.a2hs__logo { border-radius: 9px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.a2hs__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.a2hs__body > b { font-size: .86rem; font-weight: 800; }
.a2hs__body > span { font-size: .74rem; color: #a9cebb; line-height: 1.36; }
.a2hs__body span b { color: #eafff2; }

/* inline iOS-blue Share chip inside the instruction text */
.a2hs__share {
  display: inline-flex; align-items: center; justify-content: center; vertical-align: -5px;
  width: 22px; height: 22px; border-radius: 5px; background: #0a84ff; color: #fff; margin: 0 2px;
}

.a2hs__add {
  flex: none; appearance: none; border: none; cursor: pointer;
  background: #00c853; color: #04210f; font-weight: 900; font-size: .82rem; letter-spacing: .03em;
  padding: 11px 18px; border-radius: 10px;
}
.a2hs__add:hover { background: #0bdc63; }

.a2hs__x {
  flex: none; appearance: none; border: none; background: transparent; color: #8fb7a1;
  font-size: 1.45rem; line-height: 1; cursor: pointer; width: 30px; height: 30px; border-radius: 8px;
  align-self: flex-start;
}
.a2hs__x:hover { background: rgba(255, 255, 255, .06); color: #eafff2; }

/* iOS coachmark arrow points down toward the Safari Share button */
.a2hs--ios .a2hs__arrow {
  position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%) rotate(45deg);
  width: 16px; height: 16px; background: #0e2419;
  border-right: 1px solid #1c4630; border-bottom: 1px solid #1c4630;
}

@media (max-width: 380px) {
  .a2hs__body > b { font-size: .8rem; }
  .a2hs__body > span { font-size: .7rem; }
  .a2hs__add { padding: 10px 14px; }
}
