.mhp-preview {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
}

.mhp-preview::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 120px;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(244, 242, 236, 0) 0%,
        rgba(244, 242, 236, 0.42) 38%,
        rgba(244, 242, 236, 0.86) 76%,
        rgba(244, 242, 236, 1) 100%
    );
}

.mhp-paywall,
.mhp-account {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fffdfa 55%, #f8f4ec 100%);
}

.mhp-paywall::before,
.mhp-account::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, #111827 0%, #a98442 50%, #111827 100%);
}

.mhp-paywall::after,
.mhp-account::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(169, 132, 66, .14) 0%, rgba(169, 132, 66, 0) 72%);
    pointer-events: none;
}

.mhp-paywall {
    width: min(100%, 1080px);
    margin: 34px auto 2rem;
    box-shadow: 0 24px 50px rgba(17, 24, 39, .08), 0 6px 16px rgba(17, 24, 39, .04);
}

.mhp-account {
    width: min(100%, 860px);
    margin: 0 auto 2rem;
    box-shadow: 0 22px 46px rgba(17, 24, 39, .07), 0 5px 14px rgba(17, 24, 39, .04);
}

.mhp-paywall__inner,
.mhp-account {
    position: relative;
    z-index: 1;
    padding: clamp(28px, 5vw, 50px);
    text-align: center;
}

.mhp-paywall__eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(17, 24, 39, .72);
}

.mhp-paywall h3,
.mhp-account h3 {
    max-width: 760px;
    margin: 0 auto 14px;
    font-size: clamp(28px, 4.2vw, 40px);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: #111827;
}

.mhp-paywall p,
.mhp-account p {
    max-width: 700px;
    margin: 0 auto 20px;
    color: rgba(17, 24, 39, .88);
    font-size: clamp(16px, 2vw, 20px) !important;
    line-height: 1.65;
}

.mhp-paywall__price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 22px;
    padding: 10px 18px;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,244,236,.98) 100%);
    box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    color: #111827;
}

.mhp-paywall__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 6px 0 14px;
}

.mhp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(180deg, #16213a 0%, #0f172a 100%);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .14);
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background .18s ease;
}

.mhp-button:hover,
.mhp-button:focus {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, .18);
}

.mhp-button--secondary {
    background: linear-gradient(180deg, #4b5563 0%, #374151 100%);
}

.mhp-button--outline {
    border-color: rgba(17, 24, 39, .24);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
    color: #111827 !important;
}

.mhp-button--outline:hover,
.mhp-button--outline:focus {
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(17, 24, 39, .08);
}

.mhp-paywall__form,
.mhp-account__subscribe {
    margin: 0 0 14px;
}

.mhp-paywall__small,
.mhp-paywall__notice {
    max-width: 580px;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    font-size: 15px !important;
    line-height: 1.7;
    color: rgba(17, 24, 39, .66) !important;
}

.mhp-paywall__small a {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mhp-account__summary {
    max-width: 460px;
    margin: 0 auto 22px;
    padding: 16px 18px;
    border: 1px solid rgba(17, 24, 39, .10);
    border-radius: 14px;
    background: rgba(255, 255, 255, .68);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.mhp-account__summary p {
    margin: 6px auto;
}

.mhp-api-lock {
    margin-top: 1rem;
    padding: 1rem;
    border-left: 4px solid currentColor;
}

@media (max-width: 700px) {
    .mhp-paywall,
    .mhp-account {
        border-radius: 18px;
    }

    .mhp-paywall {
        margin-top: 24px;
    }

    .mhp-paywall__inner,
    .mhp-account {
        padding: 24px 18px 26px;
    }

    .mhp-paywall h3,
    .mhp-account h3 {
        font-size: clamp(24px, 9vw, 36px);
    }
}

@media (max-width: 600px) {
    .mhp-paywall__actions .mhp-button,
    .mhp-paywall__form .mhp-button,
    .mhp-account .mhp-button {
        width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    body.mhp-force-light-paywall .mhp-paywall,
    body.mhp-force-light-paywall .mhp-account {
        background: #fff;
        color: #111827;
    }
}
