/* AncestroWeb — Styles d’origine, cascade conservée. */

   .pcm-overlay {
    position: fixed;
    inset: 0;
    background: #0b201b88;
    z-index: 9998;
    display: none;
}

.pcm-overlay.visible {
    display: block;
}

.pcm-window {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: min(960px,94vw);
    height: min(760px,88vh);
    background: white;
    border-radius: 14px;
    box-shadow: 0 22px 80px #0007;
    z-index: 9999;
    display: none;
    overflow: hidden;
    border: 1px solid #c7d7ce;
}

.pcm-window.visible {
    display: flex;
    flex-direction: column;
}

.pcm-window.pcm-contact,
.pcm-window.pcm-about {
    height: min(650px,88vh);
}

.pcm-titlebar {
    background: #193e34;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    cursor: move;
    user-select: none;
    touch-action: none;
    font-weight: 700;
}

.pcm-close {
    background: #fff2;
    color: white;
    border: 0;
    border-radius: 7px;
    font-size: 23px;
    min-height: 32px;
    padding: 0 11px;
    cursor: pointer;
}

.pcm-frame {
    border: 0;
    width: 100%;
    flex: 1;
    min-height: 0;
    background: white;
    overflow: auto;
}

@media(max-width:600px) {
    .pcm-window {
        width: 98vw;
        height: 92vh;
    }
}
  
