/* ==========================================================
   Asylonia Verified Resident Hotspots v1
   Frontend layer for /verified-resident-block
   ========================================================== */

.verified-resident-claim-layer {
    position: absolute;
    inset: 0;
    z-index: 38;
    pointer-events: none;
}

.vr-plot-hotspot {
    position: absolute;
    border: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.vr-plot-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(circle at 36% 28%, #fff4b6 0%, #f5c95d 34%, #b87a18 78%, #6f4310 100%);
    border: 1px solid rgba(67, 42, 11, 0.68);
    box-shadow:
        0 0 0 2px rgba(255, 232, 145, 0.32),
        0 8px 16px rgba(7, 30, 58, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.vr-plot-hotspot.is-active .vr-plot-dot,
.vr-plot-hotspot.is-mine .vr-plot-dot {
    background: radial-gradient(circle at 36% 28%, #dffff1 0%, #60d394 42%, #148a4c 100%);
    box-shadow:
        0 0 0 2px rgba(96, 211, 148, 0.30),
        0 8px 16px rgba(7, 30, 58, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.vr-plot-hotspot.is-grace .vr-plot-dot {
    background: radial-gradient(circle at 36% 28%, #ffe2dc 0%, #ff8c6e 42%, #b13e29 100%);
    box-shadow:
        0 0 0 2px rgba(255, 140, 110, 0.30),
        0 8px 16px rgba(7, 30, 58, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.vr-plot-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    border: 1px solid rgba(255, 216, 132, 0.72);
    box-shadow: 0 0 24px rgba(255, 216, 132, 0.28);
    opacity: 0;
    transition: opacity .16s ease, transform .16s ease;
}

.vr-plot-hotspot:hover .vr-plot-ring,
.vr-plot-hotspot:focus-visible .vr-plot-ring {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

.vr-plot-label {
    position: absolute;
    left: 50%;
    top: 50%;
    min-width: 34px;
    transform: translate(-50%, -145%);
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(255, 252, 246, 0.96);
    border: 1px solid rgba(185, 146, 71, 0.48);
    color: #071e3a;
    font-size: 9px;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(7, 30, 58, 0.18);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}

.vr-plot-hotspot:hover .vr-plot-label,
.vr-plot-hotspot:focus-visible .vr-plot-label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -165%);
}

.vr-resident-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
}

.vr-resident-modal.is-open {
    display: block;
}

.vr-resident-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 31, 0.34);
    backdrop-filter: blur(5px);
}

.vr-resident-card {
    position: absolute;
    right: 28px;
    bottom: 84px;
    width: min(430px, calc(100vw - 40px));
    max-height: calc(100vh - 116px);
    overflow: auto;
    padding: 22px;
    border-radius: 26px;
    background: rgba(255, 252, 246, 0.97);
    border: 1px solid rgba(185, 146, 71, 0.48);
    box-shadow: 0 30px 84px rgba(7, 30, 58, 0.30);
    backdrop-filter: blur(16px);
}

.vr-resident-close {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #071e3a;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.vr-resident-eyebrow {
    margin: 0 42px 8px 0;
    color: #b17a12;
    font-size: .72rem;
    font-weight: 950;
    line-height: 1;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.vr-resident-title {
    margin: 0 42px 8px 0;
    color: #071e3a;
    font-size: clamp(2rem, 5vw, 2.85rem);
    font-weight: 950;
    line-height: .96;
    letter-spacing: -0.045em;
}

.vr-resident-meta {
    margin: 0 0 14px;
    color: #526071;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.35;
}

.vr-resident-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 14px;
}

.vr-resident-status,
.vr-resident-price {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 950;
}

.vr-resident-status {
    background: rgba(7, 30, 58, 0.08);
    color: #071e3a;
}

.vr-resident-status.is-available {
    background: rgba(255, 216, 132, 0.22);
    color: #8a5c06;
}

.vr-resident-status.is-active,
.vr-resident-status.is-mine {
    background: rgba(96, 211, 148, 0.20);
    color: #11633b;
}

.vr-resident-status.is-grace {
    background: rgba(255, 140, 110, 0.18);
    color: #a23a25;
}

.vr-resident-price {
    background: #071e3a;
    color: #fff;
}

.vr-resident-copy {
    margin: 0 0 16px;
    color: #334155;
    font-size: .94rem;
    line-height: 1.55;
}

.vr-resident-benefit {
    display: grid;
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(185, 146, 71, 0.10);
    border: 1px solid rgba(185, 146, 71, 0.24);
    margin: 14px 0;
}

.vr-resident-benefit strong {
    color: #071e3a;
    font-size: .9rem;
}

.vr-resident-benefit span {
    color: #526071;
    font-size: .84rem;
    line-height: 1.45;
}

.vr-resident-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.vr-resident-primary,
.vr-resident-secondary {
    min-height: 40px;
    border-radius: 999px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 950;
    cursor: pointer;
}

.vr-resident-primary {
    border: 0;
    background: #071e3a;
    color: #fff;
}

.vr-resident-primary:hover {
    color: #fff;
    filter: brightness(1.08);
}

.vr-resident-secondary {
    border: 1px solid rgba(185, 146, 71, 0.48);
    background: #fff;
    color: #8a5c06;
}

.vr-resident-primary:disabled,
.vr-resident-secondary:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.vr-resident-message {
    margin: 14px 0 0;
    padding: 11px 12px;
    border-radius: 15px;
    color: #071e3a;
    background: rgba(7, 30, 58, 0.06);
    font-size: .84rem;
    font-weight: 850;
    line-height: 1.4;
}

.vr-resident-message.is-error {
    color: #a23a25;
    background: rgba(255, 140, 110, 0.12);
}

.vr-resident-message.is-success {
    color: #11633b;
    background: rgba(96, 211, 148, 0.16);
}

@media (max-width: 760px) {
    .vr-plot-dot {
        width: 17px;
        height: 17px;
    }

    .vr-resident-card {
        left: 16px;
        right: 16px;
        bottom: 76px;
        width: auto;
        max-height: calc(100vh - 96px);
    }

    .vr-resident-actions {
        flex-direction: column;
    }

    .vr-resident-primary,
    .vr-resident-secondary {
        width: 100%;
    }
}


/* Sprint VR profile gateway popup */
.vr-resident-profile {
    display: grid;
    gap: 12px;
    margin: 14px 0;
    border-radius: 20px;
    border: 1px solid rgba(185, 146, 71, 0.26);
    background: rgba(255, 255, 255, 0.48);
    overflow: hidden;
}

.vr-resident-profile-image {
    min-height: 158px;
    background: rgba(7, 30, 58, 0.08);
}

.vr-resident-profile-image img {
    width: 100%;
    height: 178px;
    object-fit: cover;
    display: block;
}

.vr-resident-profile-copy {
    display: grid;
    gap: 5px;
    padding: 13px 14px 15px;
}

.vr-resident-profile-copy strong {
    color: #071e3a;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.28rem;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.vr-resident-profile-copy span {
    color: #8a5c06;
    font-size: .78rem;
    font-weight: 950;
}

.vr-resident-profile-copy p {
    margin: 4px 0 0;
    color: #334155;
    font-size: .88rem;
    line-height: 1.48;
}

.vr-resident-profile-copy small {
    display: inline-flex;
    width: fit-content;
    margin-top: 4px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(7, 30, 58, 0.07);
    color: #071e3a;
    font-weight: 900;
}

.vr-resident-profile-copy small[hidden],
.vr-resident-profile[hidden],
.vr-resident-profile-image[hidden] {
    display: none !important;
}

.vr-resident-benefit[hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .vr-resident-profile-image img {
        height: 150px;
    }
}
