#rpgps-gate {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(0,0,0,.55);
}

#rpgps-gate.rpgps-hidden { display: none !important; }

.rpgps-card {
    width: min(460px, 92vw);
    max-height: 90vh;
    overflow: auto;
    padding: 28px 24px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.rpgps-title {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.rpgps-message {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.5;
}

#rpgps-verify,
.rpgps-continue {
    border: 0;
    border-radius: 6px;
    padding: 13px 22px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .03em;
}

#rpgps-verify:disabled {
    opacity: .65;
    cursor: wait;
}

#rpgps-status {
    min-height: 24px;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.45;
}

#rpgps-status.rpgps-error { color: #b42318; }
#rpgps-status.rpgps-success { color: #087443; }

.rpgps-map-wrap { display: none; margin-top: 18px; }
.rpgps-map-wrap.rpgps-map-visible { display: block; }

.rpgps-map-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
}

#rpgps-map {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    overflow: hidden;
}

.rpgps-continue {
    display: none;
    margin: 16px auto 0;
}

.rpgps-continue.rpgps-continue-visible {
    display: inline-block;
}
