/* In-app browser prompt: shown only inside Instagram, TikTok, Facebook and Snapchat.
   Flat panel, square corners, hairline border: no shadow. */
.iab-prompt-open,
.iab-prompt-open body { overflow: hidden; }

.iab-prompt {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: var(--gutter, 16px);
  overflow-y: auto;
  background: rgb(43 34 28 / 72%);
}
.iab-prompt__panel {
  display: grid;
  gap: 16px;
  width: min(100%, 26rem);
  padding: 28px 24px;
  color: var(--chocolate, #6E5640);
  background: var(--ivory, #F7F2EA);
  border: 1px solid var(--line, #DCCDB6);
}
.iab-prompt__title {
  margin: 0;
  color: var(--espresso, #3E3128);
  font: 400 clamp(28px, 7vw, 34px)/1.1 var(--display, serif);
}
html[lang="ar"] .iab-prompt__title { font-family: var(--arabic, sans-serif); font-weight: 500; line-height: 1.35; }
.iab-prompt__body,
.iab-prompt__steps { margin: 0; font-size: 15px; line-height: 1.55; }
.iab-prompt__steps { padding: 12px 14px; background: var(--parchment, #EFE4D2); color: var(--espresso, #3E3128); }
.iab-prompt .button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px;
  background: var(--espresso, #3E3128); color: var(--ivory, #F7F2EA); border: 1px solid var(--espresso, #3E3128);
  font: 500 14px/1.4 var(--text, sans-serif); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
}
html[lang="ar"] .iab-prompt .button { letter-spacing: 0; }
.iab-prompt__stay {
  justify-self: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--grey, #5F5D58);
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
/* Points up at the app's own menu, which stays top right in both languages. */
.iab-prompt__pointer {
  position: fixed;
  top: 4px;
  right: 20px;
  color: var(--ivory, #F7F2EA);
  font-size: 36px;
  line-height: 1;
  animation: iab-point 1s ease-in-out infinite alternate;
}
@keyframes iab-point { to { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .iab-prompt__pointer { animation: none; } }
