.plco-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 24px;
    overflow: auto;
}

.plco-message-panel {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    line-height: 1.5;
    text-align: center;
}

.plco-message-panel > :first-child {
    margin-top: 0;
}

.plco-message-panel > :last-child {
    margin-bottom: 0;
}

.plco-message-panel h1,
.plco-message-panel h2,
.plco-message-panel h3,
.plco-message-panel h4,
.plco-message-panel h5,
.plco-message-panel h6 {
    color: inherit;
}

body.admin-bar .plco-overlay {
    top: 32px;
    height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .plco-overlay {
        top: 46px;
        height: calc(100vh - 46px);
    }

    .plco-overlay {
        padding: 16px;
    }
}
