/* ═════════════════════════════════════════════════════════════════
   Add-to-Home-Screen instructional overlay
   ─────────────────────────────────────────────────────────────────
   Centered black card matching the site's ticker cube aesthetic.
   Shown when the visitor taps "Add to Home Screen" and no native
   install prompt is available (iOS Safari always, some others).
   ═════════════════════════════════════════════════════════════════ */

.gz-a2hs {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 5, 20, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: gzA2hsFadeIn .25s ease-out;
  padding: 1.25rem;
}
.gz-a2hs--leaving { animation: gzA2hsFadeOut .25s ease-in forwards; }

@keyframes gzA2hsFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes gzA2hsFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes gzA2hsCardIn {
  from { transform: translateY(20px) scale(.96); opacity: 0; }
  to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

.gz-a2hs__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 14px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: gzA2hsCardIn .3s cubic-bezier(.2, .8, .3, 1);
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  border: 1px solid rgba(255, 255, 255, .08);
}
/* Pink accent hairline along the top edge */
.gz-a2hs__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E91E63 30%, #C71585 70%, transparent);
  border-radius: 0 0 3px 3px;
}

.gz-a2hs__x {
  position: absolute;
  top: .6rem;
  right: .65rem;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, .5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  padding: 0;
  transition: color .15s, background .15s;
}
.gz-a2hs__x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.gz-a2hs__x:focus-visible { outline: 2px solid #E91E63; outline-offset: 2px; }

.gz-a2hs__head {
  text-align: center;
  margin-bottom: 1rem;
}
.gz-a2hs__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: 0;
  font-family: inherit;
  text-transform: none;
}
.gz-a2hs__head h2 br { display: none; }
.gz-a2hs__sparkle { display: none; }

.gz-a2hs__sub {
  text-align: center;
  color: rgba(255, 255, 255, .65);
  font-size: .82rem;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.gz-a2hs__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.gz-a2hs__steps li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}
.gz-a2hs__num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E91E63;
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.gz-a2hs__text {
  flex: 1;
  font-size: .9rem;
  color: rgba(255, 255, 255, .95);
  line-height: 1.5;
}
.gz-a2hs__text strong { color: #fff; font-weight: 700; }
.gz-a2hs__text em {
  font-style: normal;
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  margin: 0 .3rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.gz-a2hs__visual {
  margin-top: .6rem;
}

/* iOS/Chrome toolbar-icon hint — small subtle card showing the icon to
   look for. Rendered as a whisper — dashed border reads as reference
   material, not a button. */
.gz-a2hs__ui-hint {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .65rem;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .15);
  border-radius: 8px;
  font-size: .72rem;
  color: rgba(255, 255, 255, .55);
}
.gz-a2hs__ui-hint svg {
  width: 18px;
  height: 18px;
  color: #4a9eff;                 /* iOS Safari share-icon blue */
  flex-shrink: 0;
}

/* Mini-preview of Safari's Share sheet menu row — visually mimics the
   iOS menu-item look so the user identifies "that row" when they open
   Safari's Share sheet. Not a button. Not tappable-looking. */
.gz-a2hs__menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .85rem;
  background: rgba(255, 255, 255, .06);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  max-width: 240px;
}
.gz-a2hs__menu-label {
  font-size: .88rem;
  color: rgba(255, 255, 255, .95);
  font-weight: 500;
  flex: 1;
}
.gz-a2hs__menu-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border-radius: 6px;
  color: rgba(255, 255, 255, .85);
  flex-shrink: 0;
}
.gz-a2hs__menu-icon svg {
  width: 18px;
  height: 18px;
}

/* Legacy hooks — kept as no-ops so any residual markup doesn't break */
.gz-a2hs__icon-row,
.gz-a2hs__pill,
.gz-a2hs__arrow { display: none; }

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .gz-a2hs, .gz-a2hs--leaving, .gz-a2hs__card { animation: none !important; }
}
