#hgp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* background, backdrop-filter gelir inline style'dan */
}
#hgp-overlay.hgp-hidden { display: none; }

#hgp-modal {
    background: var(--hgp-modal-bg, #ffffff);
    border-radius: 16px;
    padding: 40px 48px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.22);
    animation: hgpIn .25s ease;
}
@keyframes hgpIn {
    from { opacity: 0; transform: translateY(14px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

#hgp-image-wrap { margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
#hgp-image-wrap img { max-width: 180px; max-height: 80px; object-fit: contain; }

#hgp-icon {
    width: 60px; height: 60px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: #dc2626;
}

#hgp-modal h2  { font-size: 18px; font-weight: 600; margin: 0 0 10px; line-height: 1.4; }
#hgp-modal p   { font-size: 14px; margin: 0 0 20px; line-height: 1.6; opacity: .7; }
#hgp-modal strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 24px; }

#hgp-buttons { display: flex; gap: 12px; }
#hgp-buttons button {
    flex: 1; padding: 13px 0; border: none; border-radius: 10px;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: background .15s, color .15s, transform .1s;
}
#hgp-buttons button:active { transform: translateY(0) !important; }

#hgp-yes              { background: var(--hgp-yes-bg, #16a34a);  color: var(--hgp-yes-c, #fff); }
#hgp-yes:hover        { background: var(--hgp-yes-hbg, #15803d); color: var(--hgp-yes-hc, #fff); transform: translateY(-1px); }
#hgp-yes:focus        { background: var(--hgp-yes-fbg, #14532d); color: var(--hgp-yes-fc, #fff); outline: 3px solid var(--hgp-yes-fbg, #14532d); outline-offset: 2px; }

#hgp-no               { background: var(--hgp-no-bg, #f3f4f6);  color: var(--hgp-no-c, #374151); }
#hgp-no:hover         { background: var(--hgp-no-hbg, #e5e7eb); color: var(--hgp-no-hc, #111827); transform: translateY(-1px); }
#hgp-no:focus         { background: var(--hgp-no-fbg, #d1d5db); color: var(--hgp-no-fc, #111827); outline: 3px solid var(--hgp-no-fbg, #d1d5db); outline-offset: 2px; }

@media (max-width: 480px) {
    #hgp-modal    { padding: 28px 20px; }
    #hgp-buttons  { flex-direction: column; }
}
