
/* ── CTA corner widget ───────────────────────────────────────────────────── */
#pfcta-wrap {
    position: absolute;
    bottom: 0;
    right: 0;
    pointer-events: none;
    opacity: 0;
    transform: translateY(280px);
    transition: transform 1.1s ease-out, opacity 0.6s ease-out;
}
#pfcta-wrap.pfcta-in {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#pfcta-canvas {
    display: block;
    width:  200px;
    height: 200px;
    cursor: pointer;
    margin-bottom: 6px;
}
#pfcta-dismiss {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .62);
    font-weight: 800;
    border: 2px solid #ffffffbd;
    cursor: pointer;
    color: #fff;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: background .15s;
}
#pfcta-wrap.pfcta-in #pfcta-dismiss {
    opacity: 1;
    pointer-events: auto;
    transition: background .15s, opacity 0.3s ease 1.0s;
}
#pfcta-dismiss:hover { background: rgba(0, 0, 0, .90); }

/* ── Capture loading spinner ─────────────────────────────────────────────── */
#pf-capture-spinner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.82);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 50;
    pointer-events: none;
    border-radius: 4px;
}
.pf-cap-ring {
    width: 38px; height: 38px;
    border: 3px solid #e0e0e0;
    border-top-color: #ff2439;
    border-radius: 50%;
    animation: pf-cap-spin 0.75s linear infinite;
}
#pf-capture-spinner span {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding: 0 16px;
}
@keyframes pf-cap-spin { to { transform: rotate(360deg); } }
