/* INTEREST POPUP
   Themed via --ip-bg / --ip-text / --ip-primary / --ip-primary-hover /
   --ip-border, aliased by whatever page enqueues this (see
   includes/interest-popup/engine.php). Undeclared on a page = this
   file's own fallback (site default dark + brand red). */

.tgv-ip-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.tgv-ip-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.tgv-ip-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 380px;
  background: var(--ip-bg, #141414);
  color: var(--ip-text, rgba(255, 255, 255, 0.92));
  border-radius: 18px;
  padding: 24px 26px 28px;
  text-align: center;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}
.tgv-ip-overlay.is-open .tgv-ip-card {
  transform: translateY(0);
}

/* Default .tgv-modal-close assumes a light card (dark icon on a light
   translucent circle) — this card's background can be light (Ladies
   Weekend) or dark (archive, Concert, Home of Heroes), so override just
   background/color (CLAUDE.md — Modal Close Buttons rule 4) to a neutral
   mid-tone that reads on either. */
.tgv-ip-card .tgv-modal-close {
  align-self: flex-end;
  color: var(--ip-text, rgba(255, 255, 255, 0.92));
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  transform: translate(35%, -35%);
  background: rgba(127, 127, 127, 0.9);
}
.tgv-ip-card .tgv-modal-close:hover,
.tgv-ip-card .tgv-modal-close:focus-visible {
  background: rgba(127, 127, 127, 0.32);
}

.tgv-ip-question {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.tgv-ip-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tgv-ip-btn {
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.tgv-ip-btn--yes {
  border: none;
  background: var(--ip-primary, #ff0013);
  color: #fff;
}
.tgv-ip-btn--yes:hover {
  background: var(--ip-primary-hover, #cc000f);
  transform: translateY(-1px);
}

.tgv-ip-btn--no {
  border: 1.5px solid var(--ip-border, rgba(255, 255, 255, 0.2));
  background: transparent;
  color: var(--ip-text, rgba(255, 255, 255, 0.92));
}
.tgv-ip-btn--no:hover {
  background: rgba(127, 127, 127, 0.12);
}

@media (max-width: 480px) {
  .tgv-ip-card {
    padding: 20px 20px 24px;
  }
}
