/* In-app browser notice overlay (TikTok, Instagram, Facebook, X,
   Pinterest, LinkedIn, Snapchat). Loaded only on pages that include
   the overlay markup + js/inapp-browser.js. */

.inapp-overlay{
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10,5,20,.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Same specificity as the class rule above, so it must come after —
   otherwise "display: flex" wins the cascade and the [hidden]
   attribute is silently ignored, showing this to every visitor. */
.inapp-overlay[hidden]{
  display: none;
}

.inapp-card{
  max-width: 420px;
  width: 100%;
  margin: auto 0; /* keeps the card reachable when it's taller than the viewport, even in older WebKit flex+overflow combos */
  padding: 32px 28px;
  border-radius: 20px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  text-align: center;
  animation: fadeIn .5s ease-out both;
}

.inapp-card .logo{
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
}

.inapp-card .overline{
  margin: 0 0 12px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.inapp-card h2{
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.inapp-card p.inapp-body{
  margin: 0 0 24px;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.7);
}

.inapp-steps{
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.inapp-step{
  flex: 1;
  padding: 16px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
}
.inapp-step svg{
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  color: rgba(255,255,255,.85);
}
.inapp-step p{
  margin: 0;
  font-size: .78rem;
  line-height: 1.4;
  color: rgba(255,255,255,.75);
}
.inapp-step strong{ color: #fff; }

.inapp-continue{
  display: inline-block;
  min-height: 44px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color .2s ease;
  position: relative;
  z-index: 1;
}
.inapp-continue:hover{ color: rgba(255,255,255,.8); }

@media (max-width: 420px){
  .inapp-card{ padding: 28px 20px; }
  .inapp-steps{ gap: 10px; }
}
