body.profile-page {
    min-height: 100vh;
    background-color: #eef4f2;
    background-image:
        linear-gradient(135deg, rgba(255, 253, 247, 0.74), rgba(238, 247, 245, 0.88)),
        url("../images/homepage-heaven-background.png");
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}

body.profile-page main.container {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(47, 111, 127, 0.16);
    border-radius: 8px;
    background: rgba(255, 253, 247, 0.9);
    box-shadow: 0 28px 76px rgba(38, 59, 61, 0.14);
    backdrop-filter: blur(8px);
}

body.profile-page .table {
    --bs-table-bg: rgba(255, 255, 255, 0.82);
    --bs-table-striped-bg: rgba(236, 242, 239, 0.78);
}

body.profile-page form.bg-light,
body.profile-page .profile-pet-card {
    border-color: rgba(47, 111, 127, 0.14) !important;
    background-color: rgba(255, 253, 247, 0.88) !important;
    box-shadow: 0 10px 24px rgba(38, 59, 61, 0.07);
}

@media (max-width: 767.98px) {
    body.profile-page {
        background-attachment: scroll;
    }

    body.profile-page main.container {
        margin-top: 0;
        margin-bottom: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }
}

/* Profile: owner memorial archive */
body.profile-page {
    background-image:
        linear-gradient(120deg, rgba(10, 30, 34, 0.48), rgba(232, 242, 238, 0.78) 42%, rgba(255, 250, 240, 0.9)),
        repeating-linear-gradient(135deg, rgba(255, 250, 240, 0.12) 0 1px, transparent 1px 24px),
        url("../images/homepage-heaven-background.png");
}

body.profile-page main.container {
    border: 0;
    background: rgba(255, 250, 240, 0.92);
    box-shadow: 0 34px 90px rgba(10, 30, 34, 0.2);
}

body.profile-page h1 {
    color: var(--bmp-evergreen);
    font-weight: 800;
}

body.profile-page h1::after {
    content: "";
    display: block;
    width: 6rem;
    height: 0.24rem;
    margin-top: 0.6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bmp-petal), var(--bmp-gold));
}

body.profile-page form.bg-light,
body.profile-page .profile-pet-card {
    border: 1px solid rgba(18, 63, 70, 0.13) !important;
    background:
        linear-gradient(135deg, rgba(255, 250, 240, 0.98), rgba(232, 242, 238, 0.62)) !important;
    box-shadow: 0 16px 38px rgba(12, 35, 39, 0.1);
}

.profile-pet-thumbnail,
.profile-pet-card-picture {
    border-color: rgba(18, 63, 70, 0.16);
    background: #efe4cf;
}

/* Final paradise profile pass */
body.profile-page {
    background-color: #eaf8ff;
    background-image:
        linear-gradient(115deg, rgba(234, 248, 255, 0.88) 0%, rgba(255, 252, 240, 0.9) 52%, rgba(250, 232, 236, 0.84) 100%),
        url("../images/homepage-heaven-background.png");
}

body.profile-page main.container {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 252, 240, 0.92);
    box-shadow: 0 30px 90px rgba(49, 86, 106, 0.16);
}

body.profile-page h1 {
    color: #31566a;
}

body.profile-page form.bg-light,
body.profile-page .profile-pet-card,
body.profile-page .profile-invitation-card {
    border-color: rgba(49, 86, 106, 0.14) !important;
    background:
        radial-gradient(circle at 94% 0%, rgba(255, 245, 199, 0.44), transparent 38%),
        rgba(255, 255, 255, 0.62) !important;
    box-shadow: 0 18px 44px rgba(91, 151, 186, 0.12);
}

.profile-invitation-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(49, 86, 106, 0.14);
    border-radius: 8px;
}

.invitation-card-list {
    display: grid;
    gap: 0.85rem;
}

.invitation-status-card {
    padding: 1rem;
    border: 1px solid rgba(49, 86, 106, 0.14);
    border-radius: 8px;
    background:
        radial-gradient(circle at 94% 0%, rgba(255, 245, 199, 0.44), transparent 38%),
        rgba(255, 255, 255, 0.66);
    box-shadow: 0 16px 36px rgba(91, 151, 186, 0.12);
}

.invitation-status-email {
    color: #31566a;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.invitation-status-card .badge {
    border-radius: 999px;
}

.invitation-status-meta {
    display: grid;
    gap: 0.65rem;
}

.invitation-status-meta div {
    display: grid;
    gap: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(49, 86, 106, 0.12);
}

.invitation-status-meta dt {
    color: #52788d;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.invitation-status-meta dd {
    margin-bottom: 0;
    color: #31566a;
    font-weight: 650;
}

.profile-pet-thumbnail,
.profile-pet-card-picture {
    border-color: rgba(255, 255, 255, 0.84);
    border-radius: 8px;
    box-shadow: 0 12px 26px rgba(91, 151, 186, 0.16);
}

@media (max-width: 767.98px) {
    body.profile-page main.container {
        border: 0;
        background: rgba(255, 252, 240, 0.96);
    }

    .profile-invitation-card {
        align-items: flex-start;
        flex-direction: column;
    }
}
