body.npl-members-account .npl-login-intro,
body.npl-members-account .npl-member-dashboard {
    margin: 0 0 28px;
    padding: 32px 34px;
    border: 1px solid rgba(201, 162, 39, .48);
    border-radius: 10px;
    background: linear-gradient(135deg, #0d223d 0%, #071426 100%);
    color: #eef1f5;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
}

body.npl-members-account .npl-login-intro {
    margin-bottom: 24px;
    padding: 26px 30px;
}

body.npl-members-account .npl-member-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #d7a833;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body.npl-members-account .npl-login-intro h2,
body.npl-members-account .npl-member-dashboard h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.16;
}

body.npl-members-account .npl-login-intro p,
body.npl-members-account .npl-member-dashboard-header > p,
body.npl-members-account .npl-member-dashboard-message {
    margin: 0;
    color: #cbd3df;
    font-size: 15px;
    line-height: 1.7;
}

body.npl-members-account .npl-login-intro-note {
    margin-top: 18px;
    padding: 12px 14px;
    border-left: 3px solid #d7a833;
    background: rgba(215, 168, 51, .1);
    color: #dfe5ee;
    font-size: 13px;
}

body.npl-members-account .npl-member-dashboard-header {
    margin-bottom: 24px;
}

body.npl-members-account .npl-member-dashboard-message p {
    margin: 8px 0 0;
}

body.npl-members-account .npl-member-dashboard-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

body.npl-members-account .npl-member-action {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 19px;
    border: 1px solid rgba(215, 168, 51, .42);
    border-radius: 7px;
    background: rgba(4, 15, 30, .72);
    color: #eef1f5;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

body.npl-members-account .npl-member-action:hover {
    transform: translateY(-2px);
    border-color: #d7a833;
    background: rgba(18, 39, 66, .92);
    color: #fff;
}

body.npl-members-account .npl-member-action-primary {
    border-color: #d7a833;
    background: #c99529;
    color: #071426;
}

body.npl-members-account .npl-member-action-primary:hover {
    background: #e0b248;
    color: #071426;
}

body.npl-members-account .npl-member-action-label {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

body.npl-members-account .npl-member-action-arrow {
    font-size: 23px;
    line-height: 1;
}

body.npl-members-account .npl-member-dashboard-note {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(215, 168, 51, .24);
    color: #aeb9c8;
    font-size: 13px;
    line-height: 1.55;
}

body.npl-members-account .npl-member-dashboard-note strong {
    color: #e0b248;
}

body.npl-members-account .npl-member-dashboard-note a {
    color: #e0b248;
}

/* WooCommerce prints its default dashboard greeting directly in the
 * dashboard template, before the account-dashboard action. Hide only those
 * two default paragraphs on the dashboard view so other account endpoints
 * remain unchanged. */
body.npl-member-dashboard-view .woocommerce-MyAccount-content > p:first-of-type,
body.npl-member-dashboard-view .woocommerce-MyAccount-content > p:nth-of-type(2) {
    display: none;
}

body.npl-public-home-locked {
    overflow: hidden;
}

body.npl-public-home-locked > *:not(.npl-public-access-overlay) {
    filter: blur(6px);
    pointer-events: none;
    user-select: none;
}

.npl-public-access-overlay {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
    background: rgba(3, 10, 20, .66);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.npl-public-access-gate {
    max-width: 860px;
    width: min(860px, 100%);
    margin: 0 auto;
    padding: clamp(30px, 5vw, 64px);
    border: 1px solid rgba(201, 162, 39, .52);
    border-radius: 12px;
    background: linear-gradient(135deg, #0d223d 0%, #071426 100%);
    color: #eef1f5;
    text-align: center;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.npl-public-access-overlay .npl-public-access-gate {
    margin: 0;
}

.npl-public-access-gate .npl-member-eyebrow {
    display: block;
    margin-bottom: 13px;
    color: #d7a833;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.npl-public-access-gate h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.12;
}

.npl-public-access-gate > p:not(.npl-public-access-support) {
    max-width: 650px;
    margin: 0 auto;
    color: #cbd3df;
    font-size: 16px;
    line-height: 1.75;
}

.npl-public-access-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.npl-public-access-button {
    display: inline-flex;
    min-width: 190px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 18px;
    border: 1px solid rgba(215, 168, 51, .52);
    border-radius: 7px;
    background: rgba(4, 15, 30, .72);
    color: #eef1f5;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.npl-public-access-button:hover {
    transform: translateY(-2px);
    border-color: #d7a833;
    background: rgba(18, 39, 66, .92);
    color: #fff;
}

.npl-public-access-button-primary {
    border-color: #d7a833;
    background: #c99529;
    color: #071426;
}

.npl-public-access-button-primary:hover {
    background: #e0b248;
    color: #071426;
}

.npl-public-access-support {
    margin: 26px 0 0;
    color: #aeb9c8;
    font-size: 13px;
}

.npl-public-access-support a {
    color: #e0b248;
}

@media (max-width: 767px) {
    body.npl-members-account .npl-login-intro,
    body.npl-members-account .npl-member-dashboard {
        padding: 24px 20px;
    }

    body.npl-members-account .npl-member-dashboard-actions {
        grid-template-columns: 1fr;
    }

    .npl-public-access-gate {
        margin: 0;
        padding: 30px 20px;
    }

    .npl-public-access-overlay {
        padding: 16px;
    }

    .npl-public-access-actions {
        flex-direction: column;
    }

    .npl-public-access-button {
        width: 100%;
    }
}
