html.mjg-open { overflow: hidden; }
.mjg {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.mjg[hidden] { display: none !important; }
.mjg__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
}
.mjg__panel {
  position: relative;
  width: min(28rem, 100%);
  background: #fff;
  color: #0f172a;
  border-radius: 0.75rem;
  padding: 1.5rem 1.35rem 1.25rem;
  border: 1px solid #e2e8f0;
}
.mjg__close {
  position: absolute;
  top: 0.5rem;
  right: 0.65rem;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}
.mjg__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.mjg__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  line-height: 1.25;
  font-weight: 700;
}
.mjg__text {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.45;
}
.mjg__list {
  margin: 0 0 1.1rem;
  padding-left: 1.1rem;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.5;
}
.mjg__actions { display: grid; gap: 0.5rem; }
.mjg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 0.45rem;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
}
.mjg-btn--primary { background: #0f172a; color: #fff; }
.mjg-btn--secondary { background: #fff; color: #0f172a; border-color: #cbd5e1; }
.mjg__dismiss {
  display: block;
  width: 100%;
  margin-top: 0.65rem;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}
.mjg__legal {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.4;
}

/* inventory card barricade */
html.mjg-gated a.hotel-card.result-card,
html.mjg-gated a.result-card.hotel-card,
html.mjg-gated article.fg-card,
html.mjg-gated article.lifestyle-card,
html.mjg-gated a.vt-list-card,
html.mjg-gated a.flight-continue-btn {
  position: relative;
}
html.mjg-gated a.hotel-card.result-card::after,
html.mjg-gated a.result-card.hotel-card::after,
html.mjg-gated article.fg-card::after,
html.mjg-gated article.lifestyle-card::after,
html.mjg-gated a.vt-list-card::after,
  content: "Members";
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  padding: 0.22rem 0.5rem;
  border-radius: 0.3rem;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  line-height: 1.2;
}
html.mjg-gated a.hotel-card.result-card,
html.mjg-gated a.vt-list-card,
html.mjg-gated .fg-card-media-link,
html.mjg-gated .fg-card .fg-btn--primary,
html.mjg-gated article.lifestyle-card a.cta {
  cursor: pointer;
}
