/* igf-popup.css – popup z Instagramu (#popup), igf-popup.js, 27. 11. 2026. Barvy webu: #010010, #00cfff, #ff02ff, #ffe500, šedá #9b9db7.
   z-index 9990 = nad hlavičkou (20) a spodní lištou, pod cookie lištou (9998) a jejím panelem (10000). */
.crp-overlay {
  position: fixed; inset: 0; z-index: 9990;
  display: flex; align-items: center; justify-content: center; padding: 28px 18px; box-sizing: border-box;
  background: rgba(1, 0, 16, 0.84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.25s ease, visibility 0.25s;
}
.crp-overlay.in { opacity: 1; visibility: visible; pointer-events: auto; }
.crp-card { position: relative; line-height: 0; outline: none; transform: scale(0.96); transition: transform 0.25s ease; }
.crp-overlay.in .crp-card { transform: none; }
.crp-img {
  display: block; width: auto; height: auto; max-width: min(560px, 92vw); max-height: calc(100vh - 70px); max-height: calc(100svh - 70px);
  border: 1px solid #00cfff; border-radius: 10px; cursor: default; user-select: none; -webkit-user-select: none;
  box-shadow: 0 0 0 1px rgba(0, 207, 255, 0.15), 0 0 26px rgba(0, 207, 255, 0.4), 0 20px 60px rgba(0, 0, 0, 0.7);
}
.crp-close {
  position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #010010; border: 1px solid #00cfff; color: #00cfff; font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 207, 255, 0.45); transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.crp-close:hover, .crp-close:focus-visible { background: #ff02ff; border-color: #ff02ff; color: #010010; box-shadow: 0 0 16px rgba(255, 2, 255, 0.6); outline: none; }
@media (max-width: 600px) {
  .crp-overlay { padding: 24px 12px; }
  .crp-close { top: -14px; right: -8px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .crp-overlay, .crp-card { transition: none; } }
