:root {
    --ink: #241d22;
    --muted: #766b72;
    --rose: #df466f;
    --deep: #831f42;
    --cream: #fff9f5;
    --line: #eadfe2;
    --green: #2b8b59;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "DM Sans", sans-serif;
    color: var(--ink);
    background: #fff;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    display: block;
    width: 100%;
}
button,
input,
select {
    font: inherit;
}
.wrap {
    width: min(1200px, calc(100% - 44px));
    margin: auto;
}
.header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.nav {
    width: min(1240px, calc(100% - 44px));
    height: 86px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 42px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
    color: #fff;
}
.logo-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px 12px 12px 4px;
    background: #fff;
    color: var(--rose);
    font-size: 20px;
    transform: rotate(-4deg);
}
.logo > span:last-child {
    display: flex;
    flex-direction: column;
}
.logo strong {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -1px;
}
.logo small {
    margin-top: 4px;
    font-size: 8px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.7;
}
.links {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-left: auto;
}
.links a {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}
.links a:hover {
    color: #fff;
}
.account {
    display: flex;
    align-items: center;
    gap: 16px;
}
.login {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.join {
    padding: 12px 17px;
    border-radius: 9px;
    background: #fff;
    color: var(--deep);
    font-size: 12px;
    font-weight: 800;
}
.menu {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
}
.menu span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px;
    background: #fff;
}
.hero {
    position: relative;
    min-height: 810px;
    overflow: hidden;
}
.hero-photo {
    position: absolute;
    inset: 0;
    background: url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=2200&q=92")
        center 44% / cover no-repeat;
    transform: scale(1.01);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(29, 14, 21, 0.88) 0%,
        rgba(44, 19, 28, 0.63) 42%,
        rgba(44, 19, 28, 0.12) 72%,
        rgba(0, 0, 0, 0.05) 100%
    );
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 44px));
    min-height: 810px;
    margin: auto;
    display: flex;
    align-items: center;
    padding-top: 90px;
}
.hero-copy {
    max-width: 720px;
    color: #fff;
}
.pill {
    display: inline-flex;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.hero h1 {
    margin-top: 23px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(56px, 6.1vw, 88px);
    line-height: 0.98;
    letter-spacing: -4.2px;
}
.hero h1 em {
    font-style: normal;
    color: #ff9bb5;
}
.hero-copy > p {
    max-width: 580px;
    margin-top: 25px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 34px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 15px 21px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}
.btn-primary {
    background: var(--rose);
    color: #fff;
    box-shadow: 0 15px 35px rgba(108, 23, 53, 0.3);
}
.watch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
}
.play {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    font-size: 11px;
}
.hero-proof {
    display: flex;
    gap: 34px;
    margin-top: 52px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    max-width: 600px;
}
.hero-proof div {
    display: flex;
    flex-direction: column;
}
.hero-proof strong {
    font-family: "Manrope";
    font-size: 16px;
}
.hero-proof span {
    margin-top: 3px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
}
.finder {
    position: relative;
    z-index: 5;
    margin-top: -65px;
    padding: 0 22px;
}
.finder-card {
    width: min(1200px, 100%);
    margin: auto;
    padding: 25px 27px 28px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(65, 31, 44, 0.14);
}
.finder-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}
.finder-title span,
.overline {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--rose);
}
.finder-title h2 {
    font-family: "Manrope";
    font-size: 25px;
    letter-spacing: -0.7px;
}
.finder form {
    display: grid;
    grid-template-columns: 1fr 1.35fr 1.5fr auto;
    gap: 12px;
}
.finder label {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.finder label > span {
    font-size: 10px;
    font-weight: 800;
    color: #76676e;
}
.finder select,
.finder input {
    height: 48px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    outline: none;
}
.age-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}
.age-row b {
    font-size: 10px;
    color: #9b8e94;
}
.finder button {
    align-self: end;
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 9px;
    background: #291b21;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.members {
    padding: 105px 0 95px;
}
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 38px;
}
.section-head h2 {
    margin-top: 8px;
    font-family: "Manrope";
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -2px;
}
.section-head > p {
    max-width: 510px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.profile {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(50, 27, 36, 0.06);
    transition: 0.25s;
}
.profile:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(50, 27, 36, 0.11);
}
.photo {
    position: relative;
    height: 390px;
    overflow: hidden;
}
.photo img {
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.profile:hover .photo img {
    transform: scale(1.025);
}
.status {
    position: absolute;
    left: 15px;
    bottom: 15px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.94);
    font-size: 9px;
    font-weight: 800;
    color: var(--green);
}
.status.offline {
    color: #75676d;
}
.photo button {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    font-size: 20px;
    color: var(--rose);
    cursor: pointer;
}
.profile-body {
    padding: 20px;
}
.name-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.name-row h3 {
    font-family: "Manrope";
    font-size: 25px;
    letter-spacing: -0.7px;
}
.name-row h3 span {
    font-weight: 500;
    color: #796c72;
}
.name-row p {
    margin-top: 3px;
    font-size: 11px;
    color: var(--muted);
}
.name-row i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3d8fca;
    color: #fff;
    font-size: 11px;
    font-style: normal;
}
.bio {
    min-height: 66px;
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.65;
    color: #655a60;
}
.details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 16px 0;
}
.details span {
    padding: 6px 8px;
    border-radius: 6px;
    background: #fff2f5;
    font-size: 9px;
    font-weight: 700;
    color: #76535f;
}
.profile-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid #f0e7e9;
}
.profile-foot > span {
    display: flex;
    flex-direction: column;
    font-size: 9px;
    color: #85787e;
}
.profile-foot b {
    margin-bottom: 2px;
    color: #51454b;
}
.profile-foot a {
    font-size: 11px;
    font-weight: 800;
    color: var(--deep);
}
.members-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 38px;
}
.members-action a {
    padding: 13px 20px;
    border: 1px solid #d9bdc6;
    border-radius: 9px;
    color: var(--deep);
    font-size: 12px;
    font-weight: 800;
}
.members-action small {
    color: #9a8c92;
    font-size: 10px;
}
.why {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 690px;
    background: #5c1731;
}
.why-photo {
    min-height: 690px;
}
.why-photo img {
    height: 100%;
    object-fit: cover;
}
.why-copy {
    align-self: center;
    padding: 70px clamp(40px, 6vw, 90px);
    color: #fff;
}
.light {
    color: #ff9ab4;
}
.why-copy h2 {
    max-width: 580px;
    margin-top: 12px;
    font-family: "Manrope";
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.02;
    letter-spacing: -3px;
}
.lead {
    max-width: 600px;
    margin: 21px 0 29px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);
}
.why-points {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}
.why-points article {
    display: flex;
    gap: 15px;
}
.why-points b {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;
    color: #ff9ab4;
    font-size: 10px;
}
.why-points h3 {
    font-family: "Manrope";
    font-size: 16px;
}
.why-points p {
    max-width: 520px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 11px;
    line-height: 1.6;
}
.btn-light {
    background: #fff;
    color: var(--deep);
}
.safety {
    padding: 92px 0;
    background: var(--cream);
}
.compact {
    align-items: center;
}
.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.safety-grid article {
    padding: 27px 24px;
    border: 1px solid #eadfe2;
    border-radius: 14px;
    background: #fff;
}
.safety-grid article > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ffe9ef;
    color: var(--rose);
    font-weight: 800;
}
.safety-grid h3 {
    margin: 17px 0 7px;
    font-family: "Manrope";
    font-size: 17px;
}
.safety-grid p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
}
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 65px max(22px, calc((100vw - 1200px) / 2));
    background: linear-gradient(110deg, #df466f, #a32750);
    color: #fff;
}
.cta-copy span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.cta h2 {
    max-width: 780px;
    margin-top: 8px;
    font-family: "Manrope";
    font-size: clamp(32px, 4vw, 49px);
    line-height: 1.08;
    letter-spacing: -2px;
}
.cta p {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
}
.btn-white {
    flex: 0 0 auto;
    background: #fff;
    color: var(--deep);
}
footer {
    background: #21181c;
    color: #fff;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 0.8fr 1.2fr;
    gap: 38px;
    padding-top: 65px;
    padding-bottom: 48px;
}
.footer-logo {
    color: #fff;
}
.footer-logo .logo-icon {
    background: var(--rose);
    color: #fff;
}
.footer-about p,
.newsletter p {
    margin-top: 19px;
    color: #9f9298;
    font-size: 11px;
    line-height: 1.7;
}
.social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}
.social a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #493a40;
    border-radius: 8px;
    font-size: 11px;
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-col h4,
.newsletter h4 {
    margin-bottom: 14px;
    font-family: "Manrope";
    font-size: 13px;
}
.footer-col a {
    margin: 6px 0;
    color: #a99ca2;
    font-size: 10px;
}
.footer-col a:hover {
    color: #fff;
}
.newsletter form {
    display: flex;
    margin-top: 14px;
}
.newsletter input {
    min-width: 0;
    flex: 1;
    height: 42px;
    padding: 0 11px;
    border: 1px solid #493a40;
    border-radius: 8px 0 0 8px;
    background: #2b2025;
    color: #fff;
    outline: none;
}
.newsletter button {
    width: 43px;
    border: 0;
    border-radius: 0 8px 8px 0;
    background: var(--rose);
    color: #fff;
}
.newsletter small {
    display: block;
    margin-top: 8px;
    color: #71636a;
    font-size: 8px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 26px;
    border-top: 1px solid #382c31;
    color: #786b71;
    font-size: 9px;
}
@media (max-width: 1050px) {
    .links {
        gap: 15px;
    }
    .finder form {
        grid-template-columns: 1fr 1fr;
    }
    .finder button {
        grid-column: span 2;
    }
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile:last-child {
        display: none;
    }
    .safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .newsletter {
        grid-column: span 3;
        max-width: 520px;
    }
}
@media (max-width: 880px) {
    .nav {
        height: 74px;
    }
    .menu {
        display: block;
    }
    .links,
    .account {
        display: none;
        position: absolute;
        left: 0;
        width: 100%;
        background: #2b1b22;
    }
    .links.open {
        top: 74px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 12px 22px;
    }
    .links.open a {
        width: 100%;
        padding: 11px 0;
    }
    .account.open {
        top: 286px;
        display: flex;
        padding: 14px 22px 20px;
    }
    .hero-inner {
        padding-top: 74px;
    }
    .hero-photo {
        background-position: 63% center;
    }
    .why {
        grid-template-columns: 1fr;
    }
    .why-photo {
        min-height: 500px;
    }
    .why-copy {
        padding: 55px 38px;
    }
    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
    .cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter {
        grid-column: span 2;
    }
}
@media (max-width: 620px) {
    .wrap,
    .nav,
    .hero-inner,
    .footer-main,
    .footer-bottom {
        width: min(100% - 30px, 1200px);
    }
    .logo {
        min-width: 0;
    }
    .logo small {
        display: none;
    }
    .hero,
    .hero-inner {
        min-height: 735px;
    }
    .hero-photo {
        background-position: 68% center;
    }
    .hero-overlay {
        background: linear-gradient(90deg, rgba(29, 14, 21, 0.9), rgba(44, 19, 28, 0.48));
    }
    .hero h1 {
        font-size: clamp(48px, 14vw, 67px);
        letter-spacing: -3px;
    }
    .hero-copy > p {
        font-size: 15px;
    }
    .hero-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }
    .hero-proof {
        gap: 16px;
    }
    .finder {
        margin-top: -40px;
        padding: 0 15px;
    }
    .finder-card {
        padding: 20px;
    }
    .finder-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    .finder form {
        grid-template-columns: 1fr;
    }
    .finder button {
        grid-column: auto;
    }
    .members {
        padding: 75px 0;
    }
    .cards {
        grid-template-columns: 1fr;
    }
    .profile:last-child {
        display: block;
    }
    .photo {
        height: 420px;
    }
    .why-photo {
        min-height: 410px;
    }
    .why-copy {
        padding: 45px 23px;
    }
    .safety-grid {
        grid-template-columns: 1fr;
    }
    .footer-main {
        grid-template-columns: 1fr;
    }
    .newsletter {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}
/* Larger, bolder main navigation */
.links a {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.15px;
}

.login {
    font-size: 16px;
    font-weight: 800;
}

.join {
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 880px) {
    .links.open a {
        font-size: 18px;
        font-weight: 800;
        padding: 13px 0;
    }
}

/* Navigation emphasis */
.links a {
    position: relative;
    transition: 0.22s ease;
}
.links a:hover,
.links a.active {
    color: #ff6f98;
}
.links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: #ff6f98;
    transition: 0.22s ease;
}
.links a:hover::after,
.links a.active::after {
    width: 100%;
}
.links .nav-login {
    color: #fff;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 18px;
}
.links .nav-create {
    padding: 12px 17px;
    border-radius: 9px;
    background: #fff;
    color: var(--deep);
}
.links .nav-create:hover {
    color: #ff4f84;
    background: #fff;
}
.links .nav-create::after,
.links .nav-login::after {
    display: none;
}

/* Date section redesign */
.why-date {
    grid-template-columns: 1.08fr 0.92fr;
}
.date-photo {
    position: relative;
    overflow: hidden;
}
.date-photo img {
    height: 100%;
    min-height: 690px;
    object-fit: cover;
}
.date-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(25, 12, 18, 0.02) 25%,
        rgba(53, 20, 34, 0.28) 60%,
        rgba(78, 24, 46, 0.88) 100%
    );
}
.date-caption {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 38px;
    color: #fff;
    z-index: 2;
}
.date-caption h3 {
    max-width: 560px;
    margin-top: 10px;
    font-family: "Manrope";
    font-size: 35px;
    line-height: 1.08;
    letter-spacing: -1.5px;
}
.date-caption p {
    max-width: 560px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
}

/* Meet with more control redesign */
.redesigned-safety {
    background: linear-gradient(180deg, #fffaf8 0%, #fff 100%);
}
.control-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.control-card {
    display: flex;
    gap: 18px;
    padding: 28px;
    border: 1px solid #eadfe2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(64, 30, 43, 0.06);
}
.control-card.featured {
    background: linear-gradient(135deg, #fff7fa, #fff);
    border-color: #f0cdd8;
}
.control-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.control-icon.shield {
    background: linear-gradient(135deg, #ffe5ed, #ffd4e0);
    color: #bd315b;
}
.control-icon.lock {
    background: linear-gradient(135deg, #f3e9ff, #eadbff);
    color: #7741a4;
}
.control-icon.report {
    background: linear-gradient(135deg, #fff2dc, #ffe4b8);
    color: #b06b00;
}
.control-icon.heart {
    background: linear-gradient(135deg, #e8f8f1, #d6f1e6);
    color: #27845a;
}
.control-tag {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.3px;
    color: var(--rose);
}
.control-card h3 {
    font-family: "Manrope";
    font-size: 20px;
    letter-spacing: -0.4px;
}
.control-card p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .links a {
        font-size: 15px;
    }
    .why-date {
        grid-template-columns: 1fr;
    }
    .date-photo img {
        min-height: 520px;
    }
}
@media (max-width: 880px) {
    .links.open .nav-login {
        border-left: 0;
        padding-left: 0;
    }
    .links.open .nav-create {
        margin-top: 8px;
        display: inline-flex;
        width: auto;
    }
    .control-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .date-caption {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }
    .date-caption h3 {
        font-size: 29px;
    }
    .control-card {
        padding: 22px;
    }
}

.rounded-members-showcase {
    padding: 92px 0 82px;
    background: linear-gradient(180deg, #fff7f8 0%, #fff 100%);
}
.rounded-members-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}
.rounded-members-head h2 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(34px, 4vw, 50px);
    letter-spacing: -2px;
}
.rounded-members-head > p {
    max-width: 470px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}
.rounded-members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.round-member-card {
    text-align: center;
    padding: 28px 18px 22px;
    border: 1px solid #ebdce1;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(67, 31, 45, 0.07);
    transition: 0.25s ease;
}
.round-member-card:hover {
    transform: translateY(-6px);
    border-color: #e1a6b7;
    box-shadow: 0 18px 42px rgba(95, 36, 59, 0.13);
}
.round-photo {
    position: relative;
    display: block;
    width: 158px;
    height: 158px;
    margin: 0 auto 20px;
    padding: 6px;
    border: 3px solid #e95e86;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 8px 24px rgba(223, 70, 111, 0.16);
}
.round-photo::before {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid #f2bccb;
    border-radius: 50%;
    pointer-events: none;
}
.round-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.round-online {
    position: absolute;
    right: 11px;
    bottom: 14px;
    width: 17px;
    height: 17px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #35b875;
}
.round-online.away {
    background: #f2a53b;
}
.round-member-card h3 {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    letter-spacing: -0.5px;
}
.round-member-card > p {
    margin-top: 4px;
    color: #897a80;
    font-size: 11px;
}
.round-intent {
    display: inline-flex;
    margin-top: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #fff0f4;
    color: #a82e53;
    font-size: 9px;
    font-weight: 800;
}
.round-view {
    display: block;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0e6e9;
    color: var(--deep);
    font-size: 11px;
    font-weight: 900;
}
.rounded-members-action {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}
.rounded-members-action a {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 13px 20px;
    border: 1px solid #ddb6c2;
    border-radius: 10px;
    color: var(--deep);
    background: #fff;
    font-size: 12px;
    font-weight: 900;
}
@media (max-width: 1000px) {
    .rounded-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .rounded-members-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }
    .rounded-members-grid {
        grid-template-columns: 1fr;
    }
    .round-member-card {
        max-width: 390px;
        width: 100%;
        margin: auto;
    }
    .round-photo {
        width: 172px;
        height: 172px;
    }
}

/* Compact rounded member images directly below search */
.member-bubbles {
    padding: 44px 0 50px;
    background: #fff;
}
.member-bubbles-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}
.member-bubbles-title h2 {
    margin-top: 5px;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    letter-spacing: -1.2px;
}
.member-bubbles-title > a {
    color: var(--deep);
    font-size: 12px;
    font-weight: 900;
}
.member-bubbles-row {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 18px;
}
.member-bubble {
    min-width: 0;
    text-align: center;
}
.member-bubble-photo {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 13px;
    padding: 5px;
    border: 3px solid #df466f;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 7px 20px rgba(123, 37, 68, 0.12);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}
.member-bubble:hover .member-bubble-photo {
    transform: translateY(-4px);
    border-color: #a32750;
}
.member-bubble-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.member-bubble strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
}
.member-bubble small {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #8b7d83;
    font-size: 9px;
}
@media (max-width: 1100px) {
    .member-bubbles-row {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 28px;
    }
}
@media (max-width: 620px) {
    .member-bubbles {
        padding: 35px 0 40px;
    }
    .member-bubbles-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    .member-bubbles-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 16px;
    }
    .member-bubble-photo {
        width: 122px;
        height: 122px;
    }
}

/* Reduce gap between Members Near You and People to Discover */
.member-bubbles {
    padding-bottom: 18px;
}

.members {
    padding-top: 28px;
}

@media (max-width: 620px) {
    .member-bubbles {
        padding-bottom: 14px;
    }

    .members {
        padding-top: 24px;
    }
}

/* =========================
   LOGIN / SIGN-UP PAGE FIX
   ========================= */
.auth-page {
    min-height: 100vh;
    background: #fff9f5;
}

.auth-page .header {
    background: rgba(42, 17, 28, 0.68);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: #fff;
}

.auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #4b172b;
}

.auth-visual img {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
}

.auth-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(38, 12, 23, 0.05) 8%,
        rgba(65, 17, 37, 0.18) 48%,
        rgba(74, 20, 43, 0.88) 100%
    );
}

.auth-visual-copy {
    position: absolute;
    z-index: 2;
    left: 54px;
    right: 54px;
    bottom: 58px;
    color: #fff;
}

.auth-visual-copy .overline {
    color: #ffd1dc;
}

.auth-visual-copy h1 {
    max-width: 650px;
    margin-top: 10px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -3px;
}

.auth-visual-copy p {
    max-width: 560px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.75;
}

.auth-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 125px 42px 60px;
    background: #fff;
}

.auth-card {
    width: min(100%, 520px);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin-bottom: 34px;
    color: var(--ink);
}

.auth-brand > span:last-child {
    display: flex;
    flex-direction: column;
}

.auth-brand strong {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -1px;
}

.auth-brand small {
    margin-top: 4px;
    color: #85777e;
    font-size: 8px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.auth-brand .logo-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px 12px 12px 4px;
    background: var(--rose);
    color: #fff;
    font-size: 20px;
}

.auth-card h2 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.auth-card .intro {
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.auth-form {
    display: grid;
    gap: 15px;
    margin-top: 28px;
}

.auth-form label {
    display: grid;
    gap: 7px;
    color: #5f5057;
    font-size: 11px;
    font-weight: 800;
}

.auth-form input,
.auth-form select {
    width: 100%;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #e8dce0;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-form input::placeholder {
    color: #aa9ca2;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: #dc6a8a;
    box-shadow: 0 0 0 3px rgba(223, 70, 111, 0.1);
}

.auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.auth-options label {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 7px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}

.auth-options input {
    width: auto;
    height: auto;
    accent-color: var(--rose);
}

.auth-options a {
    color: var(--rose);
    font-size: 10px;
    font-weight: 800;
}

.auth-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(163, 39, 80, 0.2);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 30px rgba(163, 39, 80, 0.27);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 23px 0;
    color: #aa9ca2;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee4e7;
}

.auth-alt {
    text-align: center;
    color: var(--muted);
    font-size: 11px;
}

.auth-alt a {
    color: var(--rose);
    font-weight: 900;
}

.auth-note {
    margin-top: 18px;
    padding: 13px 14px;
    border: 1px solid #f4dce4;
    border-radius: 9px;
    background: #fff5f7;
    color: #765c66;
    font-size: 10px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 440px;
    }

    .auth-visual img {
        min-height: 440px;
    }

    .auth-panel {
        padding: 60px 24px;
    }
}

@media (max-width: 620px) {
    .auth-visual {
        min-height: 380px;
    }

    .auth-visual img {
        min-height: 380px;
    }

    .auth-visual-copy {
        left: 24px;
        right: 24px;
        bottom: 28px;
    }

    .auth-visual-copy h1 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .auth-row {
        grid-template-columns: 1fr;
    }

    .auth-panel {
        padding: 50px 18px;
    }
}

/* WOW scroll animation refinements */
.wow {
    visibility: hidden;
}
.wow.animate__animated {
    --animate-duration: 0.85s;
}
@media (prefers-reduced-motion: reduce) {
    .wow {
        visibility: visible !important;
        animation: none !important;
    }
}

/* Animated navigation polish */
.header .logo.animate__animated,
.header .links a.animate__animated {
    --animate-duration: 0.65s;
}
@media (hover: hover) and (pointer: fine) {
    .header .links a {
        transition:
            color 0.2s ease,
            transform 0.2s ease;
    }
    .header .links a:hover {
        transform: translateY(-2px);
    }
}

/* Larger, clearer search form typography */
.finder-title span,
.finder label > span {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.3px;
}

.finder-title h2 {
    font-size: 29px;
}

.finder select,
.finder input {
    font-size: 15px;
    font-weight: 600;
}

.finder input::placeholder {
    font-size: 14px;
    color: #9a8b91;
}

.age-row b {
    font-size: 13px;
    font-weight: 800;
}

.finder button {
    font-size: 14px;
    font-weight: 900;
}

.members-search .finder-card label > span {
    font-size: 13px;
}

.members-search .finder-card select,
.members-search .finder-card input {
    font-size: 15px;
}

/* Header animation across every page */
.header .logo.wow,
.header .links a.wow {
    visibility: hidden;
}

.header .logo.animate__animated,
.header .links a.animate__animated {
    --animate-duration: 0.68s;
}

@media (max-width: 620px) {
    .finder-title span,
    .finder label > span {
        font-size: 12px;
    }

    .finder select,
    .finder input,
    .finder button {
        font-size: 14px;
    }
}

/* =========================
   VIEW PROFILE PAGE
   ========================= */
.profile-header {
    background: rgba(43, 16, 28, 0.7);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}
.profile-page {
    background: #fff9f7;
}
.profile-hero {
    position: relative;
    padding: 145px 0 72px;
    background:
        linear-gradient(135deg, rgba(84, 23, 48, 0.94), rgba(150, 45, 82, 0.88)),
        url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=2000&q=90")
            center/cover no-repeat;
    overflow: hidden;
}
.profile-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.14), transparent 34%);
}
.profile-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 56px;
    align-items: center;
}
.profile-photo-card {
    position: relative;
    border: 8px solid rgba(255, 255, 255, 0.88);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(50, 13, 30, 0.28);
}
.profile-photo-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.profile-photo-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: #27945d;
    font-size: 11px;
    font-weight: 900;
}
.profile-hero-copy {
    color: #fff;
}
.profile-name-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.profile-name-line h1 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(50px, 6vw, 76px);
    line-height: 1;
    letter-spacing: -3.5px;
}
.verified-badge {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #4a99d2;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}
.profile-location {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
}
.profile-intro {
    max-width: 700px;
    margin-top: 23px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 16px;
    line-height: 1.8;
}
.profile-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.profile-meta-row span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 150px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.75);
}
.profile-meta-row b {
    color: #fff;
    font-size: 9px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}
.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.profile-message-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 21px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}
.profile-content {
    padding: 72px 0 95px;
}
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
}
.profile-main {
    display: grid;
    gap: 22px;
}
.profile-panel,
.profile-side-card {
    border: 1px solid #eadfe2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(62, 29, 42, 0.055);
}
.profile-panel {
    padding: 30px;
}
.profile-panel h2 {
    margin-top: 7px;
    font-family: "Manrope", sans-serif;
    font-size: 28px;
    letter-spacing: -1px;
}
.profile-panel > p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}
.profile-tags span {
    padding: 9px 12px;
    border-radius: 999px;
    background: #fff0f4;
    color: #94415d;
    font-size: 11px;
    font-weight: 800;
}
.profile-goals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.profile-goals-grid article {
    display: flex;
    gap: 13px;
    padding: 17px;
    border: 1px solid #eee3e6;
    border-radius: 13px;
    background: #fffafa;
}
.profile-goals-grid article > span {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 10px;
    background: #ffe8ef;
    color: #c23e66;
    font-weight: 900;
}
.profile-goals-grid h3 {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}
.profile-goals-grid p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}
.profile-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.profile-gallery img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 14px;
}
.profile-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}
.profile-side-card {
    padding: 24px;
}
.profile-detail-list {
    display: grid;
    margin-top: 15px;
}
.profile-detail-list div,
.masked-contact div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0e6e9;
}
.profile-detail-list div:last-child,
.masked-contact div:last-child {
    border-bottom: 0;
}
.profile-detail-list span,
.masked-contact span {
    color: #8c7d84;
    font-size: 10px;
}
.profile-detail-list b,
.masked-contact b {
    color: #43353b;
    font-size: 11px;
}
.contact-card h3 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}
.contact-card > p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}
.masked-contact {
    margin: 16px 0;
    padding: 0 13px;
    border-radius: 10px;
    background: #fff6f8;
}
.contact-card > a {
    color: var(--deep);
    font-size: 11px;
    font-weight: 900;
}
.safety-note {
    display: flex;
    gap: 13px;
    background: linear-gradient(135deg, #fff7f9, #fff);
}
.safety-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: 11px;
    background: #e6f6ee;
    color: #2a8a5d;
    font-weight: 900;
}
.safety-note h3 {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}
.safety-note p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}
@media (max-width: 950px) {
    .profile-hero-inner {
        grid-template-columns: 280px 1fr;
        gap: 32px;
    }
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
    .profile-sidebar .safety-note {
        grid-column: span 2;
    }
}
@media (max-width: 700px) {
    .profile-hero {
        padding-top: 110px;
    }
    .profile-hero-inner {
        grid-template-columns: 1fr;
    }
    .profile-photo-card {
        max-width: 380px;
        margin: auto;
    }
    .profile-name-line h1 {
        font-size: 52px;
    }
    .profile-goals-grid,
    .profile-gallery,
    .profile-sidebar {
        grid-template-columns: 1fr;
    }
    .profile-sidebar .safety-note {
        grid-column: auto;
    }
}

/* =========================================
   SITE-WIDE SMALL TEXT READABILITY UPGRADE
   ========================================= */

/* Navbar and brand microcopy */
.logo small {
    font-size: 10px;
}
.links a {
    font-size: 17px;
}
.login {
    font-size: 16px;
}
.join,
.links .nav-create {
    font-size: 15px;
}

/* Search area */
.finder-title span,
.finder label > span {
    font-size: 14px;
}
.finder-title h2 {
    font-size: 30px;
}
.finder select,
.finder input {
    font-size: 16px;
}
.finder input::placeholder {
    font-size: 15px;
}
.age-row b {
    font-size: 14px;
}
.finder button {
    font-size: 15px;
}

/* Hero and overview microcopy */
.pill {
    font-size: 12px;
}
.hero-proof span {
    font-size: 12px;
}
.hero-proof strong {
    font-size: 18px;
}
.overline {
    font-size: 12px;
}

/* Existing member cards */
.name-row p {
    font-size: 13px;
}
.bio {
    font-size: 14px;
}
.details span {
    font-size: 11px;
}
.profile-foot > span {
    font-size: 11px;
}
.profile-foot a {
    font-size: 13px;
}
.members-action small {
    font-size: 12px;
}

/* Rounded members below search */
.member-bubble strong {
    font-size: 15px;
}
.member-bubble small {
    font-size: 11px;
}

/* Why/date section */
.why-points p {
    font-size: 13px;
}
.why-points h3 {
    font-size: 18px;
}
.date-caption p {
    font-size: 14px;
}

/* Safety/control cards */
.control-tag {
    font-size: 11px;
}
.control-card p {
    font-size: 13px;
}
.control-card h3 {
    font-size: 21px;
}

/* CTA */
.cta-copy span {
    font-size: 12px;
}
.cta p {
    font-size: 14px;
}

/* Footer */
.footer-about p,
.newsletter p {
    font-size: 13px;
}
.footer-col h4,
.newsletter h4 {
    font-size: 15px;
}
.footer-col a {
    font-size: 12px;
}
.newsletter small {
    font-size: 10px;
}
.footer-bottom {
    font-size: 11px;
}

/* Login / signup */
.auth-brand small {
    font-size: 10px;
}
.auth-card .intro {
    font-size: 14px;
}
.auth-form label {
    font-size: 13px;
}
.auth-options label,
.auth-options a {
    font-size: 12px;
}
.auth-submit {
    font-size: 15px;
}
.auth-divider {
    font-size: 11px;
}
.auth-alt {
    font-size: 13px;
}
.auth-note {
    font-size: 12px;
}

/* View profile page */
.profile-photo-badge {
    font-size: 13px;
}
.profile-location {
    font-size: 16px;
}
.profile-intro {
    font-size: 17px;
}
.profile-meta-row span {
    font-size: 13px;
}
.profile-meta-row b {
    font-size: 11px;
}
.profile-panel > p {
    font-size: 15px;
}
.profile-tags span {
    font-size: 13px;
}
.profile-goals-grid h3 {
    font-size: 16px;
}
.profile-goals-grid p {
    font-size: 12px;
}
.profile-detail-list span,
.masked-contact span {
    font-size: 12px;
}
.profile-detail-list b,
.masked-contact b {
    font-size: 13px;
}
.contact-card > p {
    font-size: 13px;
}
.contact-card > a {
    font-size: 13px;
}
.safety-note h3 {
    font-size: 16px;
}
.safety-note p {
    font-size: 12px;
}

/* Video call placeholder button */
.video-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 21px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}
.video-call-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}
.video-call-btn .video-icon {
    font-size: 17px;
}

@media (max-width: 620px) {
    .links a {
        font-size: 18px;
    }
    .finder-title span,
    .finder label > span {
        font-size: 13px;
    }
    .finder select,
    .finder input,
    .finder button {
        font-size: 15px;
    }
}

/* Video call button + paid member modal */
.video-call-btn {
    border: 0;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
    color: #fff;
    box-shadow: 0 12px 28px rgba(123, 44, 191, 0.28);
    cursor: pointer;
}
.video-call-btn:hover {
    background: linear-gradient(135deg, #6f21ad, #c936dc);
    box-shadow: 0 15px 32px rgba(123, 44, 191, 0.36);
}
.video-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.video-modal.is-open {
    display: flex;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 15, 25, 0.72);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}
.video-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(33, 14, 25, 0.3);
    text-align: center;
}
.video-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f8eef2;
    color: #6d4c59;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.video-modal-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f2e8ff, #ffe2fb);
    color: #9b2bd1;
}
.video-modal-dialog h2 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 30px;
    letter-spacing: -1px;
}
.video-modal-dialog p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}
.video-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}
.video-upgrade-btn,
.video-cancel-btn {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
}
.video-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
}
.video-cancel-btn {
    border: 1px solid #e4d7dc;
    background: #fff;
    color: #65555c;
    cursor: pointer;
}
.modal-open {
    overflow: hidden;
}
@media (max-width: 560px) {
    .video-modal-actions {
        flex-direction: column;
    }
    .video-upgrade-btn,
    .video-cancel-btn {
        width: 100%;
    }
}

/* =====================================================
   WORKING JAVASCRIPT VIDEO CALL MEMBERSHIP POPUP
   ===================================================== */
#videoModal.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    width: 100%;
    height: 100%;
    padding: 20px;
    align-items: center;
    justify-content: center;
    background: rgba(25, 10, 20, 0.76);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

#videoModal.video-modal.show {
    display: flex !important;
}

.video-modal-box {
    position: relative;
    width: min(100%, 480px);
    padding: 38px 34px 32px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 30px 90px rgba(24, 8, 18, 0.38);
    animation: videoModalPop 0.25s ease-out;
}

@keyframes videoModalPop {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.video-modal-box .video-modal-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
    color: #fff;
    box-shadow: 0 12px 28px rgba(123, 44, 191, 0.25);
}

.video-modal-box h2 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 31px;
    color: #241d22;
}

.video-modal-box p {
    margin: 12px auto 0;
    max-width: 360px;
    color: #756b80;
    font-size: 16px;
    line-height: 1.65;
}

.video-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f7edf1;
    color: #6e5360;
    font-size: 26px;
    cursor: pointer;
}

.video-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.video-upgrade-btn,
.video-cancel-btn {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 900;
}

.video-upgrade-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
}

.video-cancel-btn {
    border: 1px solid #e4d7dc;
    background: #fff;
    color: #65555c;
    cursor: pointer;
}

@media (max-width: 520px) {
    .video-modal-actions {
        flex-direction: column;
    }
    .video-upgrade-btn,
    .video-cancel-btn {
        width: 100%;
    }
}

/* ==============================
   $50 VIDEO ACCESS PAYMENT PAGE
   ============================== */
.payment-page {
    background: #fff7f8;
    min-height: 100vh;
}
.payment-header {
    background: rgba(52, 18, 33, 0.72);
    backdrop-filter: blur(9px);
}
.payment-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 86px;
}
.payment-summary {
    padding: 90px clamp(35px, 7vw, 110px);
    background: linear-gradient(135deg, #5e1836, #a92e5a);
    color: #fff;
}
.payment-summary h1 {
    margin-top: 12px;
    font-family: "Manrope";
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -3px;
}
.payment-summary h1 em {
    font-style: normal;
    color: #ffc5d5;
}
.payment-summary > p {
    max-width: 570px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.75;
}
.payment-member {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 35px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
}
.payment-member img {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
}
.payment-member span,
.payment-member p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.68);
}
.payment-member h3 {
    font-family: "Manrope";
    font-size: 21px;
}
.payment-benefits {
    display: grid;
    gap: 17px;
    margin-top: 30px;
}
.payment-benefits > div {
    display: flex;
    gap: 13px;
    align-items: flex-start;
}
.payment-benefits > div > span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: #a92e5a;
    font-weight: 900;
}
.payment-benefits p {
    display: flex;
    flex-direction: column;
}
.payment-benefits b {
    font-size: 14px;
}
.payment-benefits small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
}
.payment-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 35px;
    background: #fff;
}
.payment-card {
    width: min(100%, 520px);
}
.payment-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eee2e6;
}
.payment-price-row span {
    font-size: 13px;
    color: var(--muted);
}
.payment-price-row h2 {
    margin-top: 4px;
    font-family: "Manrope";
    font-size: 40px;
}
.payment-secure {
    padding: 7px 9px;
    border-radius: 8px;
    background: #eef9f3;
    color: #297a52 !important;
    font-weight: 800;
}
.payment-warning {
    margin: 22px 0;
    padding: 13px 14px;
    border: 1px solid #f0d6de;
    border-radius: 10px;
    background: #fff6f8;
    color: #775863;
    font-size: 12px;
    line-height: 1.6;
}
.credit-form {
    display: grid;
    gap: 15px;
}
.credit-form label {
    display: grid;
    gap: 7px;
    color: #5b4c53;
    font-size: 13px;
    font-weight: 800;
}
.credit-form input {
    width: 100%;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #e3d7db;
    border-radius: 10px;
    outline: none;
    font-size: 16px;
}
.credit-form input:focus {
    border-color: #db6688;
    box-shadow: 0 0 0 3px rgba(219, 102, 136, 0.1);
}
.card-number-wrap {
    position: relative;
}
.card-number-wrap input {
    padding-right: 48px;
}
.card-number-wrap span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 21px;
}
.credit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.payment-error {
    min-height: 18px;
    color: #b42345;
    font-size: 12px;
    font-weight: 700;
}
.pay-now-btn {
    height: 54px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(163, 39, 80, 0.22);
}
.payment-small {
    margin-top: 13px;
    text-align: center;
    color: #92838a;
    font-size: 11px;
    line-height: 1.5;
}
.payment-success-modal,
.call-access-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(25, 10, 20, 0.76);
    backdrop-filter: blur(7px);
}
.payment-success-modal.show,
.call-access-modal.show {
    display: flex;
}
.payment-success-box,
.call-access-box {
    width: min(100%, 470px);
    padding: 36px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 30px 90px rgba(24, 8, 18, 0.38);
}
.payment-success-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e8f7ef;
    color: #2d8b5f;
    font-size: 30px;
    font-weight: 900;
}
.payment-success-box h2,
.call-access-box h2 {
    margin-top: 8px;
    font-family: "Manrope";
    font-size: 30px;
}
.payment-success-box p,
.call-access-box p {
    margin: 11px auto 22px;
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
.start-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}
.back-profile-link {
    display: block;
    margin-top: 13px;
    color: var(--deep);
    font-size: 12px;
    font-weight: 800;
}

/* ==============================
   VIDEO CALL ROOM
   ============================== */
.call-page {
    min-height: 100vh;
    background: #130e15;
    color: #fff;
}
.call-topbar {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 16px 28px;
    border-bottom: 1px solid #322536;
    background: #1a121d;
}
.call-topbar .logo {
    color: #fff;
}
.call-person {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.call-person div {
    display: flex;
    flex-direction: column;
}
.call-person b {
    font-size: 13px;
}
.call-person small {
    color: #8f818f;
    font-size: 10px;
}
.call-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #38bf78;
    box-shadow: 0 0 0 4px rgba(56, 191, 120, 0.12);
}
.leave-call-link {
    padding: 10px 13px;
    border-radius: 9px;
    background: #3a283d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.video-room {
    padding: 24px;
}
.remote-video-panel {
    position: relative;
    max-width: 1350px;
    margin: auto;
    min-height: 620px;
    border-radius: 24px;
    overflow: hidden;
    background: #221724;
}
.remote-placeholder {
    position: absolute;
    inset: 0;
}
.remote-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.02);
}
.remote-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(20, 13, 22, 0.4), rgba(20, 13, 22, 0.82));
}
.remote-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}
.remote-avatar {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #df466f, #8d2cb4);
    font-family: "Manrope";
    font-size: 32px;
    font-weight: 900;
}
.remote-copy h2 {
    margin-top: 18px;
    font-family: "Manrope";
    font-size: 30px;
}
.remote-copy p {
    max-width: 580px;
    margin-top: 8px;
    color: #aaa0ad;
    font-size: 13px;
    line-height: 1.6;
}
.local-video-wrap {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 260px;
    aspect-ratio: 4/3;
    border: 3px solid #fff;
    border-radius: 18px;
    overflow: hidden;
    background: #302434;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}
.local-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.camera-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 15px;
    text-align: center;
    color: #b5a9b8;
    font-size: 12px;
    background: #302434;
}
.call-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px auto 0;
}
.call-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #413246;
    border-radius: 12px;
    background: #211825;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.call-control.active {
    background: #2e2133;
}
.call-control.primary {
    border: 0;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
}
.call-control.hangup {
    border: 0;
    background: #b42345;
}
.call-notice {
    max-width: 900px;
    margin: 18px auto 0;
    padding: 12px 14px;
    border: 1px solid #3b2d40;
    border-radius: 10px;
    background: #1c1420;
    color: #9e929f;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 900px) {
    .payment-shell {
        grid-template-columns: 1fr;
    }
    .payment-summary {
        padding-top: 70px;
    }
    .payment-panel {
        padding: 50px 22px;
    }
}
@media (max-width: 620px) {
    .credit-row {
        grid-template-columns: 1fr;
    }
    .call-topbar {
        flex-wrap: wrap;
    }
    .call-person {
        order: 3;
        width: 100%;
        margin-left: 0;
    }
    .remote-video-panel {
        min-height: 500px;
    }
    .local-video-wrap {
        width: 150px;
        right: 12px;
        bottom: 12px;
    }
}

/* =========================================
   WEBRTC TWO-PERSON VIDEO CALL MOCKUP
   ========================================= */
.rtc-page {
    min-height: 100vh;
    margin: 0;
    background: #120d14;
    color: #fff;
}
.rtc-header {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 15px 28px;
    border-bottom: 1px solid #342738;
    background: #1a121d;
}
.rtc-header .logo {
    color: #fff;
}
.rtc-call-info {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-left: auto;
}
.rtc-call-info > div {
    display: flex;
    flex-direction: column;
}
.rtc-call-info strong {
    font-size: 14px;
}
.rtc-call-info small {
    margin-top: 2px;
    color: #9e909f;
    font-size: 11px;
}
.rtc-status-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.rtc-status-dot.connecting {
    background: #e2a044;
    box-shadow: 0 0 0 5px rgba(226, 160, 68, 0.12);
}
.rtc-status-dot.ready {
    background: #36bf79;
    box-shadow: 0 0 0 5px rgba(54, 191, 121, 0.12);
}
.rtc-status-dot.error {
    background: #d64a65;
    box-shadow: 0 0 0 5px rgba(214, 74, 101, 0.12);
}
.rtc-timer {
    min-width: 70px;
    padding: 9px 12px;
    border: 1px solid #443448;
    border-radius: 9px;
    background: #251a29;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}
.rtc-shell {
    padding: 24px;
}
.rtc-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    max-width: 1440px;
    margin: auto;
}
.rtc-video-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #3d3041;
    border-radius: 22px;
    background: #231827;
}
.rtc-video-card.remote {
    min-height: 650px;
}
.rtc-video-card.local {
    min-height: 255px;
}
.rtc-video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rtc-label {
    position: absolute;
    z-index: 4;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.rtc-label > div {
    display: flex;
    align-items: center;
    gap: 9px;
}
.rtc-label > div > div {
    display: flex;
    flex-direction: column;
}
.rtc-label strong {
    font-size: 12px;
}
.rtc-label small {
    color: #a99ca9;
    font-size: 9px;
}
.rtc-avatar {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #df466f, #8730af);
    font-size: 12px;
    font-weight: 900;
}
.rtc-avatar.user {
    width: 42px;
    border-radius: 10px;
    background: #3a2d3f;
    font-size: 10px;
}
.rtc-quality {
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(26, 18, 29, 0.75);
    color: #ddd4dd;
    font-size: 9px;
    font-weight: 800;
}
.rtc-placeholder {
    position: absolute;
    inset: 0;
}
.rtc-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px);
    transform: scale(1.02);
}
.rtc-placeholder-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 10, 17, 0.36), rgba(18, 12, 21, 0.86));
}
.rtc-placeholder-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
}
.rtc-big-avatar {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: linear-gradient(135deg, #df466f, #7b2cbf);
    font-family: "Manrope";
    font-size: 34px;
    font-weight: 900;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.rtc-placeholder-content h2 {
    margin-top: 18px;
    font-family: "Manrope";
    font-size: 30px;
}
.rtc-placeholder-content p {
    max-width: 560px;
    margin-top: 8px;
    color: #ada1af;
    font-size: 13px;
    line-height: 1.65;
}
.rtc-pulse {
    display: flex;
    gap: 7px;
    margin-top: 20px;
}
.rtc-pulse span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c89bd8;
    animation: rtcPulse 1.15s infinite ease-in-out;
}
.rtc-pulse span:nth-child(2) {
    animation-delay: 0.15s;
}
.rtc-pulse span:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes rtcPulse {
    0%,
    80%,
    100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}
.rtc-side-panel {
    display: grid;
    align-content: start;
    gap: 20px;
}
.rtc-local-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
    background: #2b1e30;
    color: #a89aaa;
}
.rtc-local-placeholder span {
    font-size: 34px;
}
.rtc-local-placeholder p {
    font-size: 11px;
}
.rtc-feature-panel {
    padding: 22px;
    border: 1px solid #3d3041;
    border-radius: 20px;
    background: #1d151f;
}
.rtc-feature-panel h3 {
    margin-top: 7px;
    font-family: "Manrope";
    font-size: 20px;
}
.rtc-feature-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}
.rtc-feature-list > div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.rtc-feature-list > div > span {
    display: grid;
    place-items: center;
    flex: 0 0 27px;
    height: 27px;
    border-radius: 50%;
    background: #2b2130;
    color: #d58be6;
    font-size: 10px;
    font-weight: 900;
}
.rtc-feature-list p {
    display: flex;
    flex-direction: column;
}
.rtc-feature-list b {
    font-size: 12px;
}
.rtc-feature-list small {
    margin-top: 2px;
    color: #948794;
    font-size: 10px;
    line-height: 1.45;
}
.rtc-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1000px;
    margin: 20px auto 0;
}
.rtc-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid #443548;
    border-radius: 12px;
    background: #211824;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}
.rtc-control:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.rtc-control.primary {
    border: 0;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
}
.rtc-control.off {
    background: #352531;
    color: #c5b9c4;
}
.rtc-control.end {
    border: 0;
    background: #b42345;
}
.rtc-control-icon {
    font-size: 16px;
}
.rtc-security-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    max-width: 1000px;
    margin: 18px auto 0;
    padding: 14px 16px;
    border: 1px solid #3b2d40;
    border-radius: 12px;
    background: #1b141e;
}
.rtc-security-icon {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 10px;
    background: #2b2130;
}
.rtc-security-note h3 {
    font-family: "Manrope";
    font-size: 13px;
}
.rtc-security-note p {
    margin-top: 4px;
    color: #9a8d9b;
    font-size: 11px;
    line-height: 1.55;
}
.rtc-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 9, 16, 0.8);
    backdrop-filter: blur(8px);
}
.rtc-modal.show {
    display: flex;
}
.rtc-modal-card {
    position: relative;
    width: min(100%, 520px);
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    color: #241d22;
    text-align: center;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}
.rtc-modal-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f3eaf4;
    color: #604a62;
    font-size: 25px;
    cursor: pointer;
}
.rtc-modal-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eee5ff, #ffe3fb);
    color: #8e2db2;
    font-size: 27px;
    font-weight: 900;
}
.rtc-modal-icon.locked {
    font-size: 24px;
}
.rtc-modal-card h2 {
    margin-top: 7px;
    font-family: "Manrope";
    font-size: 28px;
}
.rtc-modal-text {
    margin: 12px auto 20px;
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}
.rtc-flow {
    display: grid;
    gap: 9px;
    margin-top: 20px;
    text-align: left;
}
.rtc-flow > div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid #eee4ef;
    border-radius: 10px;
    background: #fff9ff;
}
.rtc-flow b {
    display: grid;
    place-items: center;
    flex: 0 0 29px;
    height: 29px;
    border-radius: 50%;
    background: #f0e4f7;
    color: #7b2cbf;
    font-size: 10px;
}
.rtc-flow span {
    font-size: 12px;
}
.rtc-modal-ok,
.rtc-modal-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 20px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.rtc-modal-back {
    display: block;
    margin-top: 12px;
    color: var(--deep);
    font-size: 12px;
    font-weight: 800;
}

@media (max-width: 1000px) {
    .rtc-stage {
        grid-template-columns: 1fr;
    }
    .rtc-side-panel {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    .rtc-header {
        flex-wrap: wrap;
        padding: 14px 16px;
    }
    .rtc-call-info {
        order: 3;
        width: 100%;
        margin-left: 0;
    }
    .rtc-shell {
        padding: 14px;
    }
    .rtc-video-card.remote {
        min-height: 500px;
    }
    .rtc-side-panel {
        grid-template-columns: 1fr;
    }
    .rtc-video-card.local {
        min-height: 240px;
    }
    .rtc-control {
        flex: 1 1 45%;
    }
}

/* =========================================
   TWO MEMBER TALKING MOCKUP
   ========================================= */
.rtc-active-mock {
    background: #1f1622;
}
.rtc-active-mock img {
    filter: none;
    transform: none;
}
.rtc-live-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 10, 17, 0.05) 45%, rgba(15, 10, 17, 0.72) 100%),
        linear-gradient(90deg, rgba(15, 10, 17, 0.12), transparent 35%);
}
.rtc-live-caption {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(20, 13, 23, 0.66);
    backdrop-filter: blur(8px);
}
.rtc-live-caption > div {
    display: flex;
    flex-direction: column;
}
.rtc-live-caption strong {
    font-size: 12px;
}
.rtc-live-caption small {
    margin-top: 2px;
    color: #b7abb8;
    font-size: 9px;
}
.rtc-live-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5d7d;
    box-shadow: 0 0 0 5px rgba(255, 93, 125, 0.13);
    animation: liveTalking 1.2s infinite ease-in-out;
}
.rtc-live-dot.green {
    background: #39c37c;
    box-shadow: 0 0 0 5px rgba(57, 195, 124, 0.13);
}
@keyframes liveTalking {
    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.18);
        opacity: 1;
    }
}
.rtc-local-mock {
    min-height: 300px;
}
.rtc-local-photo {
    display: block;
    padding: 0;
    background: #241827;
}
.rtc-local-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rtc-local-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 10, 17, 0.03) 50%, rgba(15, 10, 17, 0.66) 100%);
}
.rtc-local-speaking {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(20, 13, 23, 0.68);
    backdrop-filter: blur(7px);
}
.rtc-local-speaking small {
    color: #f0e8f1;
    font-size: 10px;
    font-weight: 700;
}

/* Keep the mock image visible until real camera starts */
.rtc-local-mock video {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.rtc-local-mock .rtc-label {
    z-index: 5;
}

/* =====================================
   PREMIUM VIDEO CONFERENCE DASHBOARD
   ===================================== */
.conference-page {
    margin: 0;
    min-height: 100vh;
    background: #f5f6f8;
    color: #192033;
}
.conference-topbar {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 0 24px;
    border-bottom: 1px solid #e2e5ea;
    background: #fff;
}
.conference-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 250px;
}
.conference-heart {
    color: #ef3f70;
    font-size: 47px;
    line-height: 1;
}
.conference-brand strong {
    color: #111;
    font-family: "Manrope";
    font-size: 31px;
    letter-spacing: -1.5px;
}
.conference-search {
    position: relative;
    width: min(420px, 31vw);
}
.conference-search input {
    width: 100%;
    height: 46px;
    padding: 0 44px 0 16px;
    border: 1px solid #dfe3e9;
    border-radius: 9px;
    background: #fafbfc;
    color: #3d4656;
    font-size: 14px;
    outline: none;
}
.conference-search span {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #5f6878;
}
.conference-topnav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    margin-left: auto;
}
.conference-topnav > a:not(.conference-user) {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #171d29;
    font-size: 22px;
}
.conference-topnav small {
    font-size: 12px;
}
.badge-wrap {
    position: relative;
}
.badge-wrap b {
    position: absolute;
    top: -9px;
    right: -11px;
    display: grid;
    place-items: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #ef394c;
    color: #fff;
    font-size: 10px;
}
.conference-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #171d29;
    font-weight: 700;
}
.conference-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}
.conference-shell {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);
    gap: 22px;
    padding: 20px 24px 34px;
}
.conference-sidebar {
    padding: 18px 0;
    border: 1px solid #eceef1;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(31, 39, 54, 0.035);
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px 18px;
    border-bottom: 1px solid #edf0f3;
}
.sidebar-user img {
    width: 53px;
    height: 53px;
    border-radius: 50%;
    object-fit: cover;
}
.sidebar-user h3 {
    font-family: "Manrope";
    font-size: 15px;
}
.sidebar-user span {
    display: inline-block;
    margin-top: 5px;
    padding: 3px 5px;
    border-radius: 5px;
    background: #fff0f4;
    color: #5d4250;
    font-size: 10px;
}
.sidebar-menu {
    display: grid;
    gap: 5px;
    padding: 10px;
}
.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 43px;
    padding: 0 10px;
    border-radius: 7px;
    color: #3a4354;
    font-size: 13px;
}
.sidebar-menu a > span {
    width: 19px;
    text-align: center;
    font-size: 16px;
}
.sidebar-menu a > b {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ef394c;
    color: #fff;
    font-size: 10px;
}
.sidebar-menu a > b.blue {
    background: #3f7edb;
}
.sidebar-menu a.active {
    background: linear-gradient(135deg, #f44a77, #ef2d66);
    color: #fff;
}
.sidebar-separator {
    height: 1px;
    margin: 4px 18px 14px;
    background: #edf0f3;
}
.sidebar-label {
    display: block;
    padding: 0 18px;
    color: #8a94a4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.7px;
}
.account-menu {
    margin-top: 3px;
}
.premium-box {
    margin: 14px 12px 0;
    padding: 18px;
    border: 1px solid #f4c3d0;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff6f8, #fff);
}
.premium-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.premium-title span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffdbe6;
    color: #ef3f70;
}
.premium-title h3 {
    font-family: "Manrope";
    font-size: 14px;
}
.premium-box p {
    margin-top: 11px;
    color: #596174;
    font-size: 11px;
    line-height: 1.55;
}
.premium-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 15px;
    border-radius: 7px;
    background: #ef3f70;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}
.conference-main {
    min-width: 0;
}
.conference-call-header {
    min-height: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    padding: 0 20px;
    border: 1px solid #eceef1;
    border-radius: 10px 10px 0 0;
    background: #fff;
}
.conference-call-header > a {
    color: #253044;
    font-size: 13px;
    font-weight: 700;
}
.conference-member {
    display: flex;
    align-items: center;
    gap: 10px;
}
.conference-member img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.conference-member h3 {
    font-family: "Manrope";
    font-size: 16px;
}
.conference-member span {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: #596174;
    font-size: 10px;
}
.conference-member i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #25b95c;
}
.conference-call-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    color: #465164;
    font-size: 11px;
}
.conference-call-meta .secure {
    color: #18953d;
    font-weight: 700;
}
.conference-video-card {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    background: #222;
}
.conference-remote {
    position: relative;
    height: min(650px, 68vw);
    min-height: 500px;
}
.conference-remote img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.conference-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.02) 60%, rgba(12, 12, 12, 0.18) 100%);
}
.remote-name {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    padding: 7px 12px;
    border-radius: 6px;
    background: rgba(22, 22, 22, 0.78);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.conference-self-view {
    position: absolute;
    z-index: 4;
    right: 24px;
    bottom: 128px;
    width: 310px;
    aspect-ratio: 16/10;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 11px;
    background: #222;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.27);
}
.conference-self-view img,
.conference-self-view video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.conference-self-view video {
    position: absolute;
    inset: 0;
    display: none;
}
.conference-self-view > span {
    position: absolute;
    z-index: 3;
    left: 10px;
    bottom: 9px;
    padding: 5px 8px;
    border-radius: 5px;
    background: rgba(20, 20, 20, 0.72);
    color: #fff;
    font-size: 10px;
}
.conference-controls {
    min-height: 116px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    padding: 12px 20px;
    background: linear-gradient(180deg, #242424, #141414);
}
.conference-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.conference-control > span {
    display: grid;
    place-items: center;
    width: 51px;
    height: 51px;
    border: 1px solid #777;
    border-radius: 50%;
    background: #242424;
    font-size: 20px;
}
.conference-control small {
    font-size: 11px;
}
.conference-control.end > span {
    border-color: #ef2e3d;
    background: #ef2e3d;
}
.conference-control.off > span {
    background: #4d3035;
}
.conference-encryption {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    margin-top: 16px;
    padding: 0 18px;
    border: 1px solid #eceef1;
    border-radius: 9px;
    background: #fff;
    color: #677184;
}
.conference-encryption > span {
    color: #64738b;
    font-size: 18px;
}
.conference-encryption p {
    font-size: 11px;
}
.conference-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 15px;
}
.conference-feature {
    display: flex;
    gap: 11px;
    padding: 16px;
    border: 1px solid #e8ebef;
    border-radius: 9px;
    background: #fff;
}
.conference-feature > span {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: #edf8f1;
    color: #269456;
    font-size: 11px;
    font-weight: 900;
}
.conference-feature h3 {
    font-family: "Manrope";
    font-size: 13px;
}
.conference-feature p {
    margin-top: 3px;
    color: #778091;
    font-size: 10px;
    line-height: 1.5;
}
.conference-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(20, 23, 30, 0.62);
    backdrop-filter: blur(6px);
}
.conference-modal.show {
    display: flex;
}
.conference-modal-card {
    position: relative;
    width: min(100%, 460px);
    padding: 30px;
    border-radius: 15px;
    background: #fff;
}
.conference-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 35px;
    height: 35px;
    border: 0;
    border-radius: 50%;
    background: #f2f3f5;
    font-size: 23px;
    cursor: pointer;
}
.conference-modal-card h2 {
    margin: 6px 0 18px;
    font-family: "Manrope";
    font-size: 25px;
}
.conference-modal-card label {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    color: #536073;
    font-size: 12px;
    font-weight: 700;
}
.conference-modal-card select {
    height: 45px;
    padding: 0 10px;
    border: 1px solid #dde2e8;
    border-radius: 8px;
    background: #fff;
}
.conference-camera-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    border: 0;
    border-radius: 8px;
    background: #ef3f70;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}
#conferenceCameraMessage {
    margin-top: 10px;
    color: #657084;
    font-size: 11px;
}

@media (max-width: 1100px) {
    .conference-topnav > a:not(.conference-user) {
        display: none;
    }
    .conference-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }
    .conference-self-view {
        width: 240px;
    }
    .conference-controls {
        gap: 24px;
    }
}
@media (max-width: 820px) {
    .conference-topbar {
        flex-wrap: wrap;
        padding: 15px;
    }
    .conference-brand {
        min-width: auto;
    }
    .conference-search {
        order: 3;
        width: 100%;
    }
    .conference-shell {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .conference-sidebar {
        display: none;
    }
    .conference-call-header {
        grid-template-columns: 1fr auto;
    }
    .conference-member {
        order: 3;
        grid-column: span 2;
        padding-bottom: 12px;
    }
    .conference-call-meta {
        gap: 10px;
    }
    .conference-call-meta .secure {
        display: none;
    }
    .conference-remote {
        min-height: 430px;
    }
    .conference-self-view {
        right: 12px;
        bottom: 110px;
        width: 180px;
    }
    .conference-controls {
        gap: 12px;
    }
    .conference-details {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 520px) {
    .conference-user span {
        display: none;
    }
    .conference-call-header {
        padding: 12px;
    }
    .conference-call-header > a span {
        display: none;
    }
    .conference-controls {
        gap: 8px;
        justify-content: space-around;
    }
    .conference-control {
        min-width: 55px;
    }
    .conference-control > span {
        width: 44px;
        height: 44px;
    }
    .conference-control small {
        font-size: 9px;
    }
    .conference-self-view {
        width: 145px;
    }
}

/* =========================================
   PHP / MYSQL APPLICATION ADDITIONS
   ========================================= */
.flash-wrap {
    width: min(1200px, calc(100% - 44px));
    margin: 105px auto -75px;
    position: relative;
    z-index: 40;
}
.flash {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}
.flash.success {
    background: #e8f8ef;
    color: #23764d;
    border: 1px solid #ccebd9;
}
.flash.error {
    background: #fff0f3;
    color: #a52f4f;
    border: 1px solid #f1ced8;
}
.form-error {
    padding: 11px 13px;
    border-radius: 8px;
    background: #fff0f3;
    color: #a42e4d;
    font-size: 12px;
    line-height: 1.55;
}
.logged-user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.logged-user img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
}
.profile-edit-shell {
    padding: 130px 0 90px;
    background: #fff9f7;
    min-height: 100vh;
}
.profile-edit-card {
    width: min(760px, calc(100% - 32px));
    margin: auto;
    padding: 32px;
    border: 1px solid #eadfe2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(65, 31, 44, 0.08);
}
.profile-edit-card h1 {
    font-family: "Manrope";
    font-size: 38px;
    letter-spacing: -1.5px;
}
.profile-edit-card > p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 14px;
}
.profile-edit-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}
.profile-edit-form .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}
.profile-edit-form label {
    display: grid;
    gap: 7px;
    color: #5d5056;
    font-size: 13px;
    font-weight: 800;
}
.profile-edit-form input,
.profile-edit-form select,
.profile-edit-form textarea {
    width: 100%;
    padding: 0 13px;
    border: 1px solid #e4d8dc;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    outline: none;
}
.profile-edit-form input,
.profile-edit-form select {
    height: 49px;
}
.profile-edit-form textarea {
    min-height: 125px;
    padding-top: 12px;
    resize: vertical;
}
.profile-edit-form input:focus,
.profile-edit-form select:focus,
.profile-edit-form textarea:focus {
    border-color: #dc6a8a;
    box-shadow: 0 0 0 3px rgba(223, 70, 111, 0.1);
}
.profile-save-btn {
    height: 50px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}
.member-empty {
    grid-column: 1/-1;
    padding: 40px;
    border: 1px dashed #dccbd1;
    border-radius: 15px;
    text-align: center;
    color: #81747a;
}
.paid-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    border: 1px solid #d7eadf;
    border-radius: 12px;
    background: #effaf3;
}
.paid-banner strong {
    color: #23774c;
}
.php-payment-box {
    max-width: 620px;
    margin: 0 auto;
}
.php-payment-box .payment-warning {
    font-size: 13px;
}
.payment-demo-button {
    width: 100%;
    height: 54px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
}
@media (max-width: 650px) {
    .profile-edit-form .two {
        grid-template-columns: 1fr;
    }
    .flash-wrap {
        width: calc(100% - 30px);
    }
}

/* =========================================
   PHOTO SETUP / GALLERY UPLOAD PAGE
   ========================================= */
.photo-setup-shell {
    min-height: 100vh;
    padding: 140px 0 90px;
    background: linear-gradient(180deg, #fff8f8, #fff);
}
.photo-setup-head {
    max-width: 760px;
    margin-bottom: 30px;
}
.photo-setup-head h1 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(42px, 5vw, 62px);
    letter-spacing: -2.5px;
}
.photo-setup-head p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}
.photo-upload-form {
    display: grid;
    gap: 26px;
}
.passport-upload-card {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 34px;
    align-items: center;
    padding: 30px;
    border: 1px solid #ecdde2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(70, 34, 47, 0.06);
}
.passport-copy {
    display: flex;
    gap: 16px;
}
.photo-step {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffe9ef;
    color: #b93159;
    font-size: 11px;
    font-weight: 900;
}
.passport-copy h2,
.gallery-upload-title h2 {
    margin-top: 7px;
    font-family: "Manrope", sans-serif;
    font-size: 27px;
    letter-spacing: -1px;
}
.passport-copy p {
    max-width: 600px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}
.passport-preview {
    position: relative;
    width: 200px;
    aspect-ratio: 4/5;
    margin: auto;
    overflow: hidden;
    border: 3px solid #df466f;
    border-radius: 20px;
    background: #fff5f7;
    box-shadow: 0 10px 26px rgba(223, 70, 111, 0.13);
}
.passport-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.passport-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 6px;
    color: #956c7a;
}
.passport-placeholder span {
    font-size: 38px;
}
.passport-placeholder b {
    font-size: 14px;
}
.passport-placeholder small {
    font-size: 10px;
}
.photo-file-label {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 1px dashed #dbb8c4;
    border-radius: 10px;
    background: #fff8fa;
    color: #842946;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.photo-file-label input,
.gallery-file-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.gallery-upload-section {
    padding: 30px;
    border: 1px solid #ecdde2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(70, 34, 47, 0.06);
}
.gallery-upload-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
}
.gallery-upload-title > div {
    display: grid;
}
.gallery-upload-title .photo-step {
    margin-bottom: 10px;
}
.gallery-upload-title > p {
    max-width: 470px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}
.gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.gallery-upload-card {
    position: relative;
    min-width: 0;
    padding: 13px;
    border: 1px solid #eee2e6;
    border-radius: 14px;
    background: #fffafa;
}
.gallery-number {
    position: absolute;
    z-index: 3;
    top: 8px;
    left: 8px;
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 8px;
    background: rgba(45, 26, 34, 0.78);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
}
.gallery-image-preview {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 10px;
    background: #f7eef1;
}
.gallery-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: #9a7d87;
}
.gallery-image-placeholder span {
    font-size: 30px;
}
.gallery-image-placeholder small {
    font-size: 9px;
}
.gallery-upload-card label {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    color: #5b4c53;
    font-size: 11px;
    font-weight: 800;
}
.gallery-upload-card input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #e6dadd;
    border-radius: 8px;
    font-size: 12px;
    outline: none;
}
.gallery-file-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
    background: #fff0f4;
    color: #9a3153 !important;
    cursor: pointer;
}
.photo-form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}
.photo-save-btn {
    min-height: 50px;
    padding: 0 22px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}
.photo-form-actions > a {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}
.profile-gallery-item {
    margin: 0;
}
.profile-gallery-item figcaption {
    padding: 8px 4px 0;
    color: #62555b;
    font-size: 12px;
    font-weight: 800;
}
@media (max-width: 1100px) {
    .gallery-upload-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 760px) {
    .passport-upload-card {
        grid-template-columns: 1fr;
    }
    .gallery-upload-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .gallery-upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .photo-setup-shell {
        padding-top: 115px;
    }
    .gallery-upload-grid {
        grid-template-columns: 1fr;
    }
    .photo-form-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* ==================================================
   PROFILE PAGE: VISIBLE NAVIGATION + MEMBER PHOTO
   ================================================== */

/* The standard header uses white links because it sits over the homepage image.
   Give profile.php a solid dark header so every navigation item is readable. */
.profile-page-body .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(90deg, #51132c, #7f2043);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 22px rgba(53, 16, 32, 0.18);
}

.profile-page-body .logo {
    color: #fff;
}

.profile-page-body .logo-icon {
    background: #fff;
    color: var(--rose);
}

.profile-page-body .links a {
    color: #fff;
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.14);
}

.profile-page-body .links a:hover,
.profile-page-body .links a.active {
    color: #ff9ab4;
}

.profile-page-body .links .nav-login {
    color: #fff;
}

.profile-page-body .links .nav-create {
    background: #fff;
    color: var(--deep);
}

.profile-page-body .menu span {
    background: #fff;
}

.profile-page-body .profile-edit-shell {
    padding-top: 128px;
}

.profile-page-body .profile-edit-card {
    width: min(900px, calc(100% - 32px));
    padding: 0;
    overflow: hidden;
}

.profile-account-hero {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    padding: 30px;
    background: radial-gradient(circle at 92% 8%, rgba(223, 70, 111, 0.12), transparent 30%),
        linear-gradient(135deg, #fff7f9, #fff);
    border-bottom: 1px solid #eee0e5;
}

.profile-account-photo {
    position: relative;
    width: 220px;
    aspect-ratio: 4/5;
    margin: auto;
    overflow: hidden;
    border: 5px solid #fff;
    border-radius: 22px;
    background: #f4e7eb;
    box-shadow: 0 15px 36px rgba(91, 24, 49, 0.16);
}

.profile-account-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-account-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8dfe7, #f3c9d6);
    color: #b6385d;
    font-size: 48px;
}

.profile-account-online {
    position: absolute;
    left: 12px;
    bottom: 12px;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.94);
    color: #2b8b59;
    font-size: 10px;
    font-weight: 900;
}

.profile-account-summary h1 {
    margin-top: 7px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(35px, 5vw, 50px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.profile-account-location {
    margin-top: 8px;
    color: #766b72;
    font-size: 15px;
    font-weight: 700;
}

.profile-account-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.profile-account-chips span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #ffeaf0;
    color: #8f2e4e;
    font-size: 11px;
    font-weight: 800;
}

.profile-account-email {
    margin-top: 15px;
    color: #7b6e74;
    font-size: 13px;
}

.profile-account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.profile-account-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid #dec8d0;
    border-radius: 9px;
    background: #fff;
    color: #752641;
    font-size: 12px;
    font-weight: 900;
}

.profile-account-actions a:last-child {
    border-color: transparent;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
}

.profile-edit-heading {
    padding: 27px 32px 0;
}

.profile-edit-heading h2 {
    margin-top: 6px;
    font-family: "Manrope", sans-serif;
    font-size: 29px;
    letter-spacing: -1px;
}

.profile-edit-heading p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 14px;
}

.profile-page-body .profile-edit-card > .flash,
.profile-page-body .profile-edit-card > .form-error {
    margin: 18px 32px 0;
}

.profile-page-body .profile-edit-form {
    padding: 0 32px 32px;
}

@media (max-width: 760px) {
    .profile-account-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-account-photo {
        width: 190px;
    }

    .profile-account-chips,
    .profile-account-actions {
        justify-content: center;
    }

    .profile-page-body .links.open {
        background: #51132c;
    }
}

/* ==================================================
   SIX-IMAGE PROFILE GALLERY + LIGHTBOX
   ================================================== */
.profile-gallery-six {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.profile-gallery-item {
    margin: 0;
}

.gallery-lightbox-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #eee;
    cursor: pointer;
}

.gallery-lightbox-trigger img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition:
        transform 0.25s ease,
        filter 0.25s ease;
}

.gallery-lightbox-trigger:hover img {
    transform: scale(1.035);
    filter: brightness(0.9);
}

.gallery-zoom-icon {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #8f2e50;
    font-size: 17px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(5px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.gallery-lightbox-trigger:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

.profile-gallery-item figcaption {
    padding: 9px 3px 0;
    color: #51444a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.profile-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.profile-lightbox.is-open {
    display: flex;
}

.profile-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 10, 17, 0.84);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profile-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 760px);
    max-height: 92vh;
    padding: 16px 16px 20px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 35px 100px rgba(0, 0, 0, 0.42);
    text-align: center;
    animation: galleryLightboxIn 0.22s ease-out;
}

@keyframes galleryLightboxIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-lightbox-dialog img {
    display: block;
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 13px;
    background: #f3eef0;
}

.profile-lightbox-dialog h3 {
    margin: 12px 44px 0;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.profile-lightbox-close {
    position: absolute;
    z-index: 4;
    top: 24px;
    right: 24px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(30, 20, 25, 0.78);
    color: #fff;
    font-size: 27px;
    cursor: pointer;
}

.gallery-modal-open {
    overflow: hidden;
}

/* ==================================================
   DISCARD IMAGE BEFORE UPLOAD
   ================================================== */
.passport-file-actions,
.gallery-file-actions {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.passport-file-actions {
    grid-column: 1/-1;
}

.passport-file-actions .photo-file-label,
.gallery-file-actions .gallery-file-button {
    flex: 1;
}

.discard-selected-image {
    min-height: 40px;
    padding: 0 13px;
    border: 1px solid #e7cbd4;
    border-radius: 8px;
    background: #fff;
    color: #a22e52;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.discard-selected-image:hover:not(:disabled) {
    background: #fff0f4;
    border-color: #dc9caf;
}

.discard-selected-image:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.gallery-discard-button {
    margin-top: 12px;
}

@media (max-width: 760px) {
    .profile-gallery-six {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .profile-gallery-six {
        grid-template-columns: 1fr;
    }

    .passport-file-actions,
    .gallery-file-actions {
        flex-direction: column;
    }

    .gallery-discard-button {
        margin-top: 0;
    }
}

/* ==================================================
   THREE PROFILE VIDEO UPLOADS
   ================================================== */
.video-upload-section {
    padding: 30px;
    border: 1px solid #ecdde2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(70, 34, 47, 0.06);
}

.video-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.video-upload-card {
    position: relative;
    min-width: 0;
    padding: 14px;
    border: 1px solid #eee2e6;
    border-radius: 14px;
    background: #fffafa;
}

.video-preview-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 11px;
    background: #251a29;
}

.video-preview-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: #fff;
    background: radial-gradient(circle at 70% 20%, rgba(223, 70, 111, 0.25), transparent 30%),
        linear-gradient(135deg, #4f1730, #24141d);
}

.video-placeholder span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    font-size: 20px;
}

.video-placeholder b {
    font-size: 13px;
}

.video-placeholder small {
    color: rgba(255, 255, 255, 0.65);
    font-size: 9px;
}

.video-upload-card label {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    color: #5b4c53;
    font-size: 11px;
    font-weight: 800;
}

.video-upload-card input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 10px;
    border: 1px solid #e6dadd;
    border-radius: 8px;
    background: #fff;
    font-size: 12px;
    outline: none;
}

.video-file-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.video-file-actions .gallery-file-button {
    flex: 1;
    margin-top: 0;
}

.video-file-actions .discard-selected-image {
    margin: 0;
}

@media (max-width: 900px) {
    .video-upload-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   PHOTOS PAGE NAVBAR CONTRAST FIX
   ================================================== */
.photos-page-body .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(90deg, #51132c, #7f2043);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 22px rgba(53, 16, 32, 0.18);
}

.photos-page-body .logo {
    color: #fff;
}

.photos-page-body .logo-icon {
    background: #fff;
    color: var(--rose);
}

.photos-page-body .links a {
    color: #fff;
    opacity: 1;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.photos-page-body .links a:hover {
    color: #ff9ab4;
}

.photos-page-body .links .nav-login {
    color: #fff;
}

.photos-page-body .links .nav-create {
    background: #fff;
    color: var(--deep);
}

.photos-page-body .menu span {
    background: #fff;
}

.photos-page-body .photo-setup-shell {
    padding-top: 135px;
}

@media (max-width: 760px) {
    .photos-page-body .links.open {
        background: #51132c;
        box-shadow: 0 12px 26px rgba(40, 12, 25, 0.24);
    }
}

/* ==================================================
   VIEW PROFILE - MEMBER VIDEOS
   ================================================== */
.profile-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.profile-video-item {
    margin: 0;
}

.profile-video-frame {
    overflow: hidden;
    border-radius: 14px;
    background: #1d151f;
    box-shadow: 0 10px 25px rgba(40, 18, 29, 0.09);
}

.profile-video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #111;
}

.profile-video-item figcaption {
    padding: 9px 3px 0;
    color: #51444a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.profile-video-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed #decbd2;
    border-radius: 13px;
    background: #fff9fb;
}

.profile-video-empty > span {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffeaf0;
    color: #a72e52;
    font-size: 17px;
}

.profile-video-empty h3 {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}

.profile-video-empty p {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 900px) {
    .profile-video-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage six-card personality grid */
#members .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    #members .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    #members .cards {
        grid-template-columns: 1fr;
    }
}

/* Six member video grid */
.profile-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .profile-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .profile-video-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   PROFESSIONAL GALLERY CARD REDESIGN
   ================================================== */
.profile-gallery-six {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 22px;
}

.profile-gallery-item {
    position: relative;
    margin: 0;
    padding: 10px;
    border: 1px solid #eadde2;
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fff9fb);
    box-shadow: 0 10px 28px rgba(61, 25, 42, 0.06);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}

.profile-gallery-item:hover {
    transform: translateY(-4px);
    border-color: #dfb7c5;
    box-shadow: 0 18px 36px rgba(61, 25, 42, 0.11);
}

.gallery-lightbox-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #ece6e8;
    cursor: pointer;
}

.gallery-lightbox-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(24, 10, 18, 0.22));
    opacity: 0;
    transition: opacity 0.22s ease;
}

.gallery-lightbox-trigger:hover::after {
    opacity: 1;
}

.gallery-lightbox-trigger img {
    display: block;
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    transition:
        transform 0.28s ease,
        filter 0.28s ease;
}

.gallery-lightbox-trigger:hover img {
    transform: scale(1.045);
    filter: brightness(0.94);
}

.gallery-zoom-icon {
    position: absolute;
    z-index: 3;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #8e2e50;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    font-size: 17px;
    font-weight: 900;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.gallery-lightbox-trigger:hover .gallery-zoom-icon {
    opacity: 1;
    transform: translateY(0);
}

.profile-gallery-item figcaption {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 5px 2px;
    color: #45383e;
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

/* ==================================================
   LIGHTBOX WITH PREVIOUS / NEXT ARROWS
   ================================================== */
.profile-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(94vw, 860px);
    max-height: 94vh;
    padding: 18px 64px 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 40px 110px rgba(0, 0, 0, 0.46);
    text-align: center;
    animation: galleryLightboxIn 0.22s ease-out;
}

.profile-lightbox-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    max-height: 76vh;
    overflow: hidden;
    border-radius: 15px;
    background: #f2ecef;
}

.profile-lightbox-dialog img {
    display: block;
    width: 100%;
    max-height: 76vh;
    object-fit: contain;
    border-radius: 15px;
}

.gallery-image-swap {
    animation: galleryImageSwap 0.2s ease-out;
}

@keyframes galleryImageSwap {
    from {
        opacity: 0.3;
        transform: scale(0.985);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.profile-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #5b1831;
    color: #fff;
    box-shadow: 0 8px 22px rgba(60, 20, 36, 0.25);
    font-size: 35px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.profile-lightbox-nav:hover {
    background: #8f2d50;
    transform: translateY(-50%) scale(1.05);
}

.profile-lightbox-nav.prev {
    left: 12px;
}

.profile-lightbox-nav.next {
    right: 12px;
}

.profile-lightbox-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 2px 0;
}

.profile-lightbox-meta h3 {
    margin: 0;
    text-align: left;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
}

.profile-lightbox-meta span {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff0f4;
    color: #87304d;
    font-size: 11px;
    font-weight: 900;
}

.profile-lightbox-close {
    top: 26px;
    right: 26px;
}

@media (max-width: 760px) {
    .profile-gallery-six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-lightbox-dialog {
        padding: 16px 48px 18px;
    }

    .profile-lightbox-nav {
        width: 42px;
        height: 42px;
        font-size: 30px;
    }
}

@media (max-width: 500px) {
    .profile-gallery-six {
        grid-template-columns: 1fr;
    }

    .profile-lightbox {
        padding: 10px;
    }

    .profile-lightbox-dialog {
        width: 100%;
        padding: 12px 42px 16px;
        border-radius: 16px;
    }

    .profile-lightbox-image-wrap {
        min-height: 300px;
    }

    .profile-lightbox-nav {
        width: 38px;
        height: 38px;
    }

    .profile-lightbox-nav.prev {
        left: 4px;
    }

    .profile-lightbox-nav.next {
        right: 4px;
    }

    .profile-lightbox-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

/* Photos page: smaller introduction typography + logged-in member identity */
.photos-page-body .photo-setup-hero h1,
.photos-page-body .photo-setup-shell h1 {
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.photos-page-body .photo-setup-hero p,
.photos-page-body .photo-setup-shell > p {
    font-size: 13px;
    line-height: 1.65;
}

.photo-member-name {
    display: block;
    margin-top: 7px;
    color: #b6355c;
    font-size: 0.48em;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
}

.photos-page-body .gallery-upload-title h2,
.photos-page-body .video-upload-section h2 {
    font-size: 22px;
    letter-spacing: -0.5px;
}

.photos-page-body .gallery-upload-title p,
.photos-page-body .video-upload-section p {
    font-size: 11px;
    line-height: 1.55;
}

/* ============================================================
   REAL WEBRTC CALL PAGE
   ============================================================ */
.real-rtc-page {
    margin: 0;
    min-height: 100vh;
    background: #101014;
    color: #fff;
}

.real-rtc-topbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 28px;
    border-bottom: 1px solid #302936;
    background: #19151c;
}

.real-rtc-peer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.real-rtc-peer img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.real-rtc-peer > div {
    display: flex;
    flex-direction: column;
}

.real-rtc-peer strong {
    font-size: 13px;
}
.real-rtc-peer small {
    margin-top: 2px;
    color: #a59aa8;
    font-size: 10px;
}

.real-rtc-peer i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #777;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05);
}

.real-rtc-peer i.online {
    background: #35c478;
    box-shadow: 0 0 0 4px rgba(53, 196, 120, 0.12);
}

.real-rtc-timer {
    min-width: 74px;
    padding: 9px 12px;
    border: 1px solid #3d3542;
    border-radius: 9px;
    background: #252029;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.real-rtc-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 20px;
    padding: 22px;
}

.real-rtc-stage {
    min-width: 0;
}

.real-rtc-remote-wrap {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    border: 1px solid #39323e;
    border-radius: 22px;
    background: #211c24;
}

.real-rtc-remote-wrap > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #111;
}

.real-rtc-remote-placeholder {
    position: absolute;
    inset: 0;
}

.real-rtc-remote-placeholder > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(7px);
    transform: scale(1.03);
}

.real-rtc-remote-placeholder > div {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(13, 10, 15, 0.42), rgba(13, 10, 15, 0.86));
}

.real-rtc-remote-placeholder > section {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.rtc-wait-avatar {
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: linear-gradient(135deg, #df466f, #7b2cbf);
    font-family: "Manrope";
    font-size: 31px;
    font-weight: 900;
}

.real-rtc-remote-placeholder h1 {
    margin: 18px 0 0;
    font-family: "Manrope";
    font-size: 30px;
}

.real-rtc-remote-placeholder p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #b2a9b4;
    font-size: 12px;
    line-height: 1.6;
}

.real-rtc-remote-name {
    position: absolute;
    z-index: 5;
    left: 17px;
    top: 17px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 9px;
    background: rgba(20, 16, 22, 0.72);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 900;
}

.real-rtc-remote-name span {
    padding: 4px 7px;
    border-radius: 999px;
    background: #6f626f;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.real-rtc-remote-name span[data-state="connected"] {
    background: #278e5d;
}
.real-rtc-remote-name span[data-state="connecting"] {
    background: #9c702d;
}
.real-rtc-remote-name span[data-state="failed"] {
    background: #ad334e;
}

.real-rtc-local-wrap {
    position: absolute;
    z-index: 6;
    right: 18px;
    bottom: 18px;
    width: 280px;
    aspect-ratio: 16/10;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    background: #302934;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.real-rtc-local-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.real-rtc-local-wrap > div {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #bdb2c0;
    font-size: 11px;
}

.real-rtc-local-wrap > span {
    position: absolute;
    left: 9px;
    bottom: 8px;
    padding: 4px 7px;
    border-radius: 5px;
    background: rgba(10, 8, 12, 0.7);
    font-size: 9px;
    font-weight: 800;
}

.real-rtc-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 17px;
}

.real-rtc-controls button,
.real-rtc-controls a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 90px;
    min-height: 62px;
    padding: 8px 12px;
    border: 1px solid #413947;
    border-radius: 13px;
    background: #211c24;
    color: #fff;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.real-rtc-controls button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.real-rtc-controls span {
    font-size: 20px;
}
.real-rtc-controls small {
    font-size: 9px;
    font-weight: 800;
}
.real-rtc-controls .off {
    background: #442a33;
}
.real-rtc-controls .active {
    background: #493052;
}

.real-rtc-controls .end {
    border-color: #b42345;
    background: #b42345;
}

.real-rtc-side {
    display: grid;
    align-content: start;
    gap: 16px;
}

.rtc-hardware-card,
.rtc-help-card {
    padding: 21px;
    border: 1px solid #39313e;
    border-radius: 17px;
    background: #1b171e;
}

.rtc-hardware-card h2,
.rtc-help-card h3 {
    margin-top: 7px;
    font-family: "Manrope";
}

.rtc-hardware-card h2 {
    font-size: 21px;
}
.rtc-help-card h3 {
    font-size: 16px;
}

.rtc-hardware-status {
    display: grid;
    margin-top: 17px;
}

.rtc-hardware-status > div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #332b37;
}

.rtc-hardware-status span {
    color: #968b9a;
    font-size: 10px;
}
.rtc-hardware-status b {
    font-size: 10px;
    text-align: right;
}

.rtc-start-hardware {
    width: 100%;
    min-height: 45px;
    margin-top: 17px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #df466f, #9e2b51);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.rtc-help-card p {
    margin-top: 9px;
    color: #a89daa;
    font-size: 11px;
    line-height: 1.65;
}

.rtc-help-card small {
    display: block;
    margin-top: 11px;
    color: #d1b9c4;
    font-size: 9px;
    line-height: 1.5;
}

.rtc-device-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(9, 7, 10, 0.78);
    backdrop-filter: blur(7px);
}

.rtc-device-modal.show {
    display: flex;
}

.rtc-device-dialog {
    position: relative;
    width: min(100%, 480px);
    padding: 30px;
    border-radius: 18px;
    background: #fff;
    color: #2c2127;
}

.rtc-device-close {
    position: absolute;
    top: 11px;
    right: 11px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f4e9ed;
    font-size: 24px;
    cursor: pointer;
}

.rtc-device-dialog h2 {
    margin: 7px 0 18px;
    font-family: "Manrope";
    font-size: 24px;
}

.rtc-device-dialog label {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    font-weight: 800;
}

.rtc-device-dialog select {
    height: 45px;
    padding: 0 9px;
    border: 1px solid #ddd0d5;
    border-radius: 8px;
    background: #fff;
}

.rtc-device-actions {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

.rtc-device-actions button {
    flex: 1;
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    background: #df466f;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.rtc-device-actions button:last-child {
    background: #f2e9ec;
    color: #733047;
}

#deviceSupportNote {
    margin-top: 12px;
    color: #786a72;
    font-size: 10px;
    line-height: 1.5;
}

/* Video Calls room list */
.rtc-room-list-page .header {
    background: linear-gradient(90deg, #51132c, #7f2043);
}

.rtc-room-list-shell {
    min-height: 100vh;
    padding: 135px 0 90px;
    background: #fff8fa;
}

.rtc-room-list-head {
    max-width: 700px;
}

.rtc-room-list-head h1 {
    margin-top: 7px;
    font-family: "Manrope";
    font-size: 46px;
}

.rtc-room-list-head p {
    margin-top: 9px;
    color: #786b72;
    font-size: 13px;
    line-height: 1.65;
}

.rtc-room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.rtc-room-card {
    overflow: hidden;
    border: 1px solid #eadde2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(60, 20, 36, 0.06);
}

.rtc-room-card > img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.rtc-room-card-copy {
    padding: 17px;
}

.rtc-room-card-copy h2 {
    margin-top: 6px;
    font-family: "Manrope";
    font-size: 20px;
}

.rtc-room-card-copy p {
    margin-top: 4px;
    color: #7a6c72;
    font-size: 11px;
}

.rtc-room-card-copy a,
.rtc-room-empty a {
    display: inline-flex;
    margin-top: 15px;
    padding: 11px 14px;
    border-radius: 8px;
    background: #df466f;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.rtc-room-empty {
    grid-column: 1/-1;
    padding: 45px;
    border: 1px dashed #dfcbd2;
    border-radius: 16px;
    background: #fff;
    text-align: center;
}

.rtc-room-empty > span {
    font-size: 38px;
}
.rtc-room-empty h2 {
    margin-top: 10px;
    font-family: "Manrope";
}
.rtc-room-empty p {
    margin-top: 7px;
    color: #786b72;
    font-size: 12px;
}

@media (max-width: 1050px) {
    .real-rtc-shell {
        grid-template-columns: 1fr;
    }
    .real-rtc-side {
        grid-template-columns: 1fr 1fr;
    }
    .rtc-room-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .real-rtc-topbar {
        flex-wrap: wrap;
        padding: 12px 15px;
    }
    .real-rtc-peer {
        order: 3;
        width: 100%;
        margin-left: 0;
    }
    .real-rtc-shell {
        padding: 12px;
    }
    .real-rtc-remote-wrap {
        min-height: 520px;
    }
    .real-rtc-local-wrap {
        width: 170px;
        right: 10px;
        bottom: 10px;
    }
    .real-rtc-side {
        grid-template-columns: 1fr;
    }
    .real-rtc-controls button,
    .real-rtc-controls a {
        min-width: 72px;
    }
    .rtc-room-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================================================
   PAYMENT PAGE NAVBAR CONTRAST
   ================================================== */
.payment-page .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background: linear-gradient(90deg, #51132c, #7f2043);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 7px 24px rgba(53, 16, 32, 0.18);
}

.payment-page .header .logo,
.payment-page .header .links a {
    color: #fff;
    opacity: 1;
}

.payment-page .header .logo-icon {
    background: #fff;
    color: #df466f;
}

.payment-page .header .links a:hover {
    color: #ff9ab4;
}

.payment-page .header .menu span {
    background: #fff;
}

.payment-page .payment-shell {
    padding-top: 86px;
}

/* ==================================================
   OWN-PROFILE PAYMENT GUARD
   ================================================== */
.payment-self-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 145px 24px 75px;
    background: radial-gradient(circle at 18% 18%, rgba(223, 70, 111, 0.1), transparent 30%),
        linear-gradient(180deg, #fff7f9, #fff);
}

.payment-self-card {
    width: min(100%, 610px);
    padding: 42px;
    border: 1px solid #eadde2;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow: 0 20px 55px rgba(63, 22, 41, 0.1);
}

.payment-self-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: #ffe9ef;
    color: #c33760;
    font-size: 28px;
}

.payment-self-card h1 {
    margin-top: 8px;
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    letter-spacing: -1.5px;
}

.payment-self-card > p {
    max-width: 480px;
    margin: 12px auto 0;
    color: #766970;
    font-size: 14px;
    line-height: 1.7;
}

.payment-self-member {
    display: flex;
    align-items: center;
    gap: 13px;
    width: min(100%, 380px);
    margin: 25px auto 0;
    padding: 13px;
    border: 1px solid #eee1e5;
    border-radius: 13px;
    background: #fff9fb;
    text-align: left;
}

.payment-self-member img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.payment-self-member > div {
    display: flex;
    flex-direction: column;
}

.payment-self-member strong {
    font-size: 14px;
}

.payment-self-member span {
    margin-top: 4px;
    color: #7e7077;
    font-size: 11px;
}

.payment-self-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.payment-self-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid #decbd2;
    border-radius: 9px;
    background: #fff;
    color: #733149;
    font-size: 12px;
    font-weight: 900;
}

.payment-self-actions .payment-self-primary {
    border-color: transparent;
    background: linear-gradient(135deg, #df466f, #a32750);
    color: #fff;
}

.own-profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 9px;
    background: #f3eaed;
    color: #755763;
    font-size: 11px;
    font-weight: 900;
}

@media (max-width: 760px) {
    .payment-page .links.open {
        background: #51132c;
    }
}

/* Restore and emphasize Video Call action */
.profile-actions .video-call-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 20px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(123, 44, 191, 0.3);
    visibility: visible !important;
    opacity: 1 !important;
}

.profile-actions .video-call-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #6d24a8, #ca35df);
    box-shadow: 0 16px 34px rgba(123, 44, 191, 0.38);
}

.profile-actions .video-call-btn .video-icon {
    font-size: 18px;
}

.profile-actions .own-video-call {
    flex-wrap: wrap;
    min-width: 155px;
}

.profile-actions .own-video-call small {
    width: 100%;
    margin-top: -6px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 8px;
    font-weight: 700;
    text-align: center;
}

/* WebRTC handshake repair controls */
.rtc-start-call {
    width: 100%;
    min-height: 45px;
    margin-top: 9px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #7b2cbf, #d946ef);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.rtc-handshake-list {
    display: grid;
    margin: 14px 0;
}

.rtc-handshake-list > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #332b37;
}

.rtc-handshake-list span {
    color: #968b9a;
    font-size: 10px;
}

.rtc-handshake-list b {
    color: #c4b9c6;
    font-size: 10px;
    text-align: right;
}

.rtc-handshake-list b.ok {
    color: #46cb83;
}

.rtc-handshake-list b.bad {
    color: #ff6f8c;
}
/* ==========================================================
   RANDOM HERO + BACK TO TOP BUTTON
   ========================================================== */
.hero-photo {
    background-position: center 44%;
    background-size: cover;
    background-repeat: no-repeat;
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--deep));
    color: #fff;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(73, 21, 42, 0.30);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(223, 70, 111, 0.32);
    outline-offset: 4px;
}

@media (max-width: 620px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM SAFETY - HOMEPAGE CTA
   ========================================================== */
.safety-home-head {
    align-items: center;
}
.safety-home-intro {
    max-width: 680px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}
.safety-explore-btn {
    flex: 0 0 auto;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 18px 0 14px !important;
    border: 1px solid rgba(131,31,66,.12);
    border-radius: 14px !important;
    background: linear-gradient(135deg,#df466f 0%,#a62d55 55%,#831f42 100%) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 15px 34px rgba(131,31,66,.22);
    transition: .22s ease;
}
.safety-explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 42px rgba(131,31,66,.30);
    color: #fff !important;
}
.safety-explore-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    font-size: 16px;
}
.safety-explore-label { white-space: nowrap; }
.safety-explore-arrow {
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#fff;
    color:#9d284f;
    font-size:16px;
}
.safety-home-grid {
    grid-template-columns: repeat(4,1fr);
}
@media (max-width: 1050px) {
    .safety-home-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
    .safety-home-head { align-items:flex-start; }
    .safety-explore-btn { width:100%; justify-content:center; }
    .safety-home-grid { grid-template-columns:1fr; }
}

/* ==========================================================
   LOCUS-AMANTIUM SAFETY CENTER - PROFESSIONAL REDESIGN
   ========================================================== */
.amoria-safety-page {
    background:#fff;
}
.amoria-safety-page .header {
    position:absolute;
    z-index:30;
    background:rgba(19,8,13,.48);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}
.safety-page-shell {
    width:min(1180px,calc(100% - 44px));
    margin:0 auto;
}
.safety-page-hero {
    position:relative;
    overflow:hidden;
    min-height:720px;
    display:flex;
    align-items:center;
    background:
      radial-gradient(circle at 78% 40%,rgba(241,67,111,.18),transparent 30%),
      linear-gradient(125deg,#14080d 0%,#241018 50%,#4b1228 100%);
    color:#fff;
}
.safety-page-hero::before {
    content:"";
    position:absolute;
    inset:auto -140px -210px auto;
    width:520px;
    height:520px;
    border-radius:50%;
    background:radial-gradient(circle,rgba(223,70,111,.28),transparent 70%);
}
.safety-page-hero-grid {
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:70px;
    align-items:center;
    padding:150px 0 95px;
}
.safety-page-kicker {
    display:inline-block;
    color:#ff8fab;
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}
.safety-page-kicker.dark { color:var(--rose); }
.safety-page-copy h1 {
    max-width:760px;
    margin-top:15px;
    font-family:"Manrope",sans-serif;
    font-size:clamp(58px,7vw,92px);
    line-height:.96;
    letter-spacing:-5px;
}
.safety-page-copy h1 em {
    color:#ff6f98;
    font-style:normal;
}
.safety-page-copy > p {
    max-width:640px;
    margin-top:24px;
    color:rgba(255,255,255,.76);
    font-size:16px;
    line-height:1.8;
}
.safety-hero-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px;
}
.safety-primary-btn,
.safety-secondary-btn {
    display:inline-flex;
    align-items:center;
    gap:22px;
    min-height:48px;
    padding:0 18px;
    border-radius:10px;
    font-size:12px;
    font-weight:900;
}
.safety-primary-btn {
    background:var(--rose);
    color:#fff;
}
.safety-secondary-btn {
    border:1px solid rgba(255,255,255,.24);
    background:rgba(255,255,255,.06);
    color:#fff;
}
.safety-trust-row {
    display:flex;
    flex-wrap:wrap;
    gap:14px 22px;
    margin-top:30px;
    color:rgba(255,255,255,.66);
    font-size:10px;
    font-weight:700;
}
.safety-hero-panel {
    padding:28px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:24px;
    background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.04));
    box-shadow:0 30px 70px rgba(0,0,0,.24);
}
.safety-hero-panel-top {
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.safety-panel-badge {
    color:#ffd0dc;
    font-size:9px;
    font-weight:900;
    letter-spacing:1.4px;
}
.safety-panel-dot {
    width:9px;
    height:9px;
    border-radius:50%;
    background:#43d28b;
    box-shadow:0 0 0 6px rgba(67,210,139,.11);
}
.safety-hero-shield {
    display:grid;
    place-items:center;
    width:100px;
    height:100px;
    margin:34px 0 20px;
    border-radius:28px;
    background:linear-gradient(135deg,#ff668b,#b52c57);
    font-size:47px;
    box-shadow:0 18px 36px rgba(223,70,111,.28);
}
.safety-hero-panel h3 {
    font-family:"Manrope";
    font-size:25px;
    letter-spacing:-.8px;
}
.safety-hero-panel > p {
    margin-top:8px;
    color:rgba(255,255,255,.64);
    font-size:11px;
    line-height:1.65;
}
.safety-mini-status {
    display:grid;
    margin-top:22px;
    border-top:1px solid rgba(255,255,255,.10);
}
.safety-mini-status div {
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:13px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.safety-mini-status span {
    color:rgba(255,255,255,.62);
    font-size:10px;
}
.safety-mini-status b {
    color:#7ce7aa;
    font-size:10px;
}
.safety-stats-strip {
    border-bottom:1px solid #eee4e7;
    background:#fff;
}
.safety-stats-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
}
.safety-stats-grid div {
    display:flex;
    align-items:center;
    gap:14px;
    min-height:88px;
    padding:0 20px;
    border-right:1px solid #eee4e7;
}
.safety-stats-grid div:last-child { border-right:0; }
.safety-stats-grid strong {
    color:var(--rose);
    font-family:"Manrope";
    font-size:18px;
}
.safety-stats-grid span {
    color:#5f5359;
    font-size:11px;
    font-weight:700;
}
.safety-features-pro {
    padding:105px 0 115px;
    background:linear-gradient(180deg,#fff 0%,#fffafb 100%);
}
.safety-pro-heading {
    max-width:820px;
    margin:0 auto 52px;
    text-align:center;
}
.safety-pro-heading > span {
    color:var(--rose);
    font-size:10px;
    font-weight:900;
    letter-spacing:2px;
}
.safety-pro-heading h2 {
    margin-top:10px;
    font-family:"Manrope";
    font-size:clamp(36px,4.8vw,58px);
    line-height:1.03;
    letter-spacing:-2.6px;
}
.safety-pro-heading p {
    max-width:680px;
    margin:16px auto 0;
    color:var(--muted);
    font-size:13px;
    line-height:1.75;
}
.safety-pro-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}
.safety-pro-card {
    min-width:0;
    padding:28px;
    border:1px solid #eadfe2;
    border-radius:20px;
    background:#fff;
    box-shadow:0 14px 34px rgba(70,34,47,.05);
    transition:.22s ease;
}
.safety-pro-card:hover {
    transform:translateY(-4px);
    box-shadow:0 20px 42px rgba(70,34,47,.09);
}
.safety-pro-card-head {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.safety-pro-icon {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border-radius:14px;
    background:#ffeaf0;
    font-size:21px;
}
.safety-pro-tag {
    padding:6px 9px;
    border-radius:999px;
    background:#fff1f5;
    color:#a92d54;
    font-size:8px;
    font-weight:900;
    letter-spacing:1px;
}
.safety-pro-card h3 {
    margin-top:19px;
    font-family:"Manrope";
    font-size:22px;
    letter-spacing:-.7px;
}
.safety-pro-card > p {
    min-height:82px;
    margin-top:8px;
    color:var(--muted);
    font-size:11px;
    line-height:1.72;
}
.verification-card {
    background:linear-gradient(180deg,#fff,#fff9fb);
}
.verify-device {
    margin-top:20px;
    padding:16px;
    border:1px solid #e9dfe3;
    border-radius:17px;
    background:#fff;
}
.verify-device-top {
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:#71656b;
    font-size:9px;
}
.verify-profile {
    text-align:center;
    padding:18px 0 12px;
}
.verify-avatar-wrap {
    position:relative;
    width:118px;
    height:118px;
    margin:0 auto;
}
.verify-avatar-wrap img {
    width:100%;
    height:100%;
    border-radius:50%;
    object-fit:cover;
}
.verify-scan-ring {
    position:absolute;
    inset:-8px;
    border:3px dashed #2bc6c2;
    border-radius:50%;
}
.verify-check {
    position:absolute;
    right:-7px;
    bottom:7px;
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border:4px solid #fff;
    border-radius:50%;
    background:#2ebd71;
    color:#fff;
    font-weight:900;
}
.verify-profile strong {
    display:block;
    margin-top:14px;
    font-size:11px;
}
.verify-profile small {
    display:block;
    margin-top:3px;
    color:#8c7f85;
    font-size:8px;
}
.verify-result {
    padding:11px;
    border-radius:10px;
    background:#ebf9f1;
    color:#1e9c5b;
    font-size:9px;
    font-weight:900;
    text-align:center;
}
.risk-panel,
.privacy-panel,
.screening-panel,
.chat-safety-menu,
.learning-flow {
    margin-top:20px;
}
.risk-panel {
    padding:16px;
    border:1px solid #eadfe2;
    border-radius:14px;
    background:#fff;
}
.risk-panel-row {
    display:flex;
    gap:11px;
    align-items:center;
}
.risk-status {
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:#e3f7ec;
    color:#20a75c;
    font-weight:900;
}
.risk-panel-row strong,.risk-panel-row small { display:block; }
.risk-panel-row strong { font-size:10px; }
.risk-panel-row small { margin-top:2px; color:#8c7f85; font-size:8px; }
.risk-meter {
    height:7px;
    margin-top:14px;
    border-radius:999px;
    background:#f1e8eb;
    overflow:hidden;
}
.risk-meter span {
    display:block;
    width:24%;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#37be78,#e4c448,#e35f72);
}
.risk-legend {
    display:flex;
    justify-content:space-between;
    margin-top:5px;
    color:#9a8c92;
    font-size:7px;
}
.chat-safety-menu {
    display:grid;
    border:1px solid #eadfe2;
    border-radius:14px;
    overflow:hidden;
}
.chat-safety-menu div {
    display:grid;
    grid-template-columns:25px 1fr auto;
    gap:8px;
    align-items:center;
    padding:13px;
    border-bottom:1px solid #f0e7ea;
    font-size:9px;
}
.chat-safety-menu div:last-child { border-bottom:0; }
.chat-safety-menu i { color:#b0385d; font-style:normal; }
.screening-panel {
    display:grid;
    border:1px solid #eadfe2;
    border-radius:14px;
    overflow:hidden;
}
.screening-panel div,
.privacy-panel div {
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:12px 13px;
    border-bottom:1px solid #f0e7ea;
}
.screening-panel div:last-child,
.privacy-panel div:last-child { border-bottom:0; }
.screening-panel span,
.privacy-panel span { color:#7c6e75; font-size:9px; }
.screening-panel b { color:#22a763; font-size:9px; }
.privacy-panel {
    padding:0 13px;
    border-radius:14px;
    background:#fff4f7;
}
.privacy-panel > strong {
    display:block;
    padding:13px 0 5px;
    font-size:10px;
}
.privacy-panel b {
    color:#44383e;
    font-size:8px;
}
.learning-flow {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:7px;
    padding:14px;
    border-radius:14px;
    background:#fff5f8;
}
.learning-flow span {
    padding:6px 8px;
    border-radius:8px;
    background:#fff;
    font-size:8px;
    font-weight:800;
}
.learning-flow i {
    color:var(--rose);
    font-style:normal;
}
.safety-ai-capabilities {
    padding:100px 0;
    background:#24161d;
    color:#fff;
}
.safety-ai-pro-grid {
    display:grid;
    grid-template-columns:.82fr 1.18fr;
    gap:75px;
    align-items:start;
}
.safety-ai-pro-copy h2 {
    margin-top:10px;
    font-family:"Manrope";
    font-size:clamp(42px,5vw,62px);
    line-height:1.02;
    letter-spacing:-3px;
}
.safety-ai-pro-copy p {
    margin-top:18px;
    color:rgba(255,255,255,.62);
    font-size:12px;
    line-height:1.75;
}
.safety-ai-pro-list {
    display:grid;
}
.safety-ai-pro-list article {
    display:grid;
    grid-template-columns:58px 1fr;
    gap:18px;
    padding:22px 0;
    border-bottom:1px solid rgba(255,255,255,.10);
}
.safety-ai-pro-list b {
    color:#ff83a3;
    font-family:"Manrope";
    font-size:14px;
}
.safety-ai-pro-list strong {
    display:block;
    font-family:"Manrope";
    font-size:16px;
}
.safety-ai-pro-list p {
    margin-top:4px;
    color:rgba(255,255,255,.56);
    font-size:10px;
    line-height:1.6;
}
.safety-help-pro {
    padding:75px 0 95px;
    background:#fff;
}
.safety-help-pro-card {
    display:grid;
    grid-template-columns:auto 1fr auto;
    gap:22px;
    align-items:center;
    padding:32px 34px;
    border:1px solid #f0dfe5;
    border-radius:20px;
    background:linear-gradient(135deg,#fff2f6,#fff);
}
.safety-help-pro-icon {
    display:grid;
    place-items:center;
    width:58px;
    height:58px;
    border-radius:18px;
    background:#ffe7ee;
    color:var(--rose);
    font-size:29px;
}
.safety-help-pro-card > div:nth-child(2) > span {
    color:var(--rose);
    font-size:8px;
    font-weight:900;
    letter-spacing:1.4px;
}
.safety-help-pro-card h2 {
    margin-top:4px;
    font-family:"Manrope";
    font-size:24px;
}
.safety-help-pro-card p {
    margin-top:5px;
    max-width:680px;
    color:var(--muted);
    font-size:10px;
    line-height:1.6;
}
.safety-help-pro-card a {
    display:inline-flex;
    align-items:center;
    gap:18px;
    padding:13px 18px;
    border-radius:9px;
    background:var(--rose);
    color:#fff;
    font-size:10px;
    font-weight:900;
}
@media (max-width: 980px) {
    .safety-page-hero-grid,
    .safety-ai-pro-grid { grid-template-columns:1fr; }
    .safety-hero-panel { max-width:560px; }
    .safety-pro-grid { grid-template-columns:repeat(2,1fr); }
    .safety-stats-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 680px) {
    .safety-page-shell { width:min(100% - 30px,1180px); }
    .safety-page-hero-grid { padding:125px 0 70px; gap:35px; }
    .safety-page-copy h1 { font-size:clamp(50px,15vw,70px); letter-spacing:-3px; }
    .safety-pro-grid { grid-template-columns:1fr; }
    .safety-pro-card > p { min-height:0; }
    .safety-stats-grid { grid-template-columns:1fr; }
    .safety-stats-grid div { border-right:0; border-bottom:1px solid #eee4e7; }
    .safety-help-pro-card { grid-template-columns:1fr; }
}


/* ==========================================================
   MEMBERS PAGE — NAVBAR + PAGINATION
   ========================================================== */
.members-page-body .header {
    position: relative;
    background: linear-gradient(135deg, #3a1424 0%, #6f1d3b 55%, #8f284b 100%);
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 8px 26px rgba(45, 16, 28, .12);
}

.members-page-body .nav {
    height: 86px;
}

.members-page-body .links a,
.members-page-body .login {
    color: rgba(255,255,255,.9);
}

.members-page-body .links a:hover,
.members-page-body .links a.active {
    color: #ff9db7;
}

.members-page-body .join,
.members-page-body .nav-create {
    background: #fff;
    color: var(--deep);
}

.members-page-body .members-page-header {
    padding: 70px 0 120px;
    background:
        radial-gradient(circle at 78% 30%, rgba(255,255,255,.10), transparent 27%),
        linear-gradient(135deg, #4b172b 0%, #7b2343 60%, #9d3155 100%);
    color: #fff;
}

.members-page-body .members-page-header .pill {
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.09);
    color: #fff;
}

.members-page-body .members-page-header h1 {
    margin-top: 16px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(46px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -3px;
}

.members-page-body .members-page-header p {
    max-width: 620px;
    margin-top: 14px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 1.7;
}

.members-page-body .members-search {
    margin-top: -65px;
}

.members-page-body .members-page {
    padding: 72px 0 90px;
}

.members-pagination {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    padding-top: 30px;
    border-top: 1px solid #eadfe2;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.members-pagination a,
.members-pagination .page-number,
.members-pagination .page-nav {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid #e2cfd6;
    border-radius: 10px;
    background: #fff;
    color: #6d2742;
    font-size: 11px;
    font-weight: 900;
    transition: .2s ease;
}

.members-pagination a:hover {
    border-color: #cf6686;
    background: #fff4f7;
    transform: translateY(-1px);
}

.members-pagination .current {
    border-color: transparent;
    background: linear-gradient(135deg, #df466f, #9f2a50);
    color: #fff;
    box-shadow: 0 8px 18px rgba(163,39,80,.18);
}

.members-pagination .page-nav {
    min-width: 112px;
}

.members-pagination .page-disabled {
    opacity: .4;
    cursor: default;
}

.page-dots {
    padding: 0 5px;
    color: #9c8991;
    font-weight: 900;
}

.members-page-summary {
    margin-top: 14px;
    text-align: center;
    color: #8a7a81;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .members-page-body .members-page-header {
        padding: 48px 0 105px;
    }

    .members-pagination {
        grid-template-columns: 1fr 1fr;
    }

    .page-numbers {
        grid-column: 1 / -1;
        grid-row: 1;
        order: -1;
    }

    .members-pagination .page-nav {
        width: 100%;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM PREMIUM MEMBER PAGINATION REDESIGN
   ========================================================== */
.members-page .members-pagination {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 58px auto 0;
    padding: 26px 28px;
    width: fit-content;
    max-width: 100%;
    border: 1px solid #ead7de;
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 48px rgba(72,28,46,.09);
}

.members-page .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.members-page .members-pagination a,
.members-page .members-pagination .page-number,
.members-page .members-pagination .page-nav {
    min-width: 46px;
    height: 46px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6d5db;
    border-radius: 13px;
    background: #fff;
    color: #6f2943;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(77,34,50,.04);
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.members-page .members-pagination a:hover {
    transform: translateY(-2px);
    border-color: #d77b97;
    background: #fff3f6;
    color: #9d2d52;
    box-shadow: 0 9px 20px rgba(104,38,64,.10);
}

.members-page .members-pagination .current {
    min-width: 48px;
    height: 48px;
    border: 0;
    background: linear-gradient(135deg,#df466f 0%,#b8325c 52%,#831f42 100%);
    color: #fff;
    box-shadow: 0 12px 25px rgba(131,31,66,.24);
}

.members-page .members-pagination .page-nav {
    min-width: 122px;
    padding: 0 18px;
    background: #2d2026;
    border-color: #2d2026;
    color: #fff;
}

.members-page .members-pagination .page-nav:hover {
    background: linear-gradient(135deg,#df466f,#9d2d52);
    border-color: transparent;
    color: #fff;
}

.members-page .members-pagination .page-disabled {
    min-width: 122px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid #eee5e8;
    border-radius: 13px;
    background: #faf7f8;
    color: #b4a6ab;
    font-size: 12px;
    font-weight: 900;
    cursor: not-allowed;
    box-shadow: none;
}

.members-page .page-dots {
    min-width: 26px;
    text-align: center;
    color: #9c8b92;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 2px;
}

.members-page .members-page-summary {
    margin-top: 16px;
    text-align: center;
    color: #8c7d83;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15px;
}

@media (max-width: 700px) {
    .members-page .members-pagination {
        width: 100%;
        padding: 20px 16px;
        gap: 10px;
        border-radius: 18px;
    }

    .members-page .page-numbers {
        width: 100%;
        order: -1;
    }

    .members-page .members-pagination .page-nav,
    .members-page .members-pagination .page-disabled {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .members-page .members-pagination a,
    .members-page .members-pagination .page-number {
        min-width: 42px;
        height: 42px;
        padding: 0 12px;
    }

    .members-page .members-pagination .current {
        height: 44px;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM LIVE VOICE ACTIVITY ANALYZER
   ========================================================== */
.rtc-voice-card{
    padding:21px;
    border:1px solid #39313e;
    border-radius:17px;
    background:
        radial-gradient(circle at 88% 0%, rgba(223,70,111,.12), transparent 36%),
        linear-gradient(180deg,#1d1820 0%,#181419 100%);
    box-shadow:0 12px 34px rgba(0,0,0,.12);
}
.rtc-voice-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}
.rtc-voice-head h3{
    margin-top:6px;
    font-family:"Manrope",sans-serif;
    font-size:17px;
    color:#fff;
}
.rtc-voice-state{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:72px;
    min-height:27px;
    padding:0 9px;
    border:1px solid #443a48;
    border-radius:999px;
    background:#28222b;
    color:#a89dac;
    font-size:8px;
    font-weight:900;
    letter-spacing:.7px;
    text-transform:uppercase;
    transition:.2s ease;
}
.rtc-voice-state.listening{
    border-color:rgba(91,164,255,.3);
    background:rgba(52,106,172,.15);
    color:#91bdff;
}
.rtc-voice-state.speaking{
    border-color:rgba(82,213,139,.42);
    background:rgba(43,150,89,.17);
    color:#6ce19e;
    box-shadow:0 0 0 4px rgba(43,150,89,.06);
}
.rtc-voice-state.muted{
    border-color:rgba(223,70,111,.32);
    background:rgba(223,70,111,.12);
    color:#ff8fac;
}
.rtc-voice-meter{
    height:74px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:4px;
    margin-top:17px;
    padding:8px 10px;
    overflow:hidden;
    border:1px solid #342d38;
    border-radius:12px;
    background:linear-gradient(180deg,#141116,#100e12);
}
.rtc-voice-meter span{
    width:5px;
    height:10px;
    flex:0 0 5px;
    border-radius:999px;
    background:#564b59;
    opacity:.75;
    transition:background .08s ease,box-shadow .08s ease;
}
.rtc-voice-meter span.active{
    background:linear-gradient(180deg,#69e6a1 0%,#df466f 100%);
    opacity:1;
    box-shadow:0 0 8px rgba(94,218,147,.23);
}
.rtc-voice-info{
    display:grid;
    grid-template-columns:82px 1fr;
    gap:12px;
    margin-top:14px;
}
.rtc-voice-info>div{
    min-width:0;
    padding:10px 11px;
    border:1px solid #332b37;
    border-radius:10px;
    background:#171319;
}
.rtc-voice-info small{
    display:block;
    color:#817685;
    font-size:7px;
    font-weight:900;
    letter-spacing:.85px;
}
.rtc-voice-info strong{
    display:block;
    margin-top:5px;
    overflow:hidden;
    color:#fff;
    font-size:10px;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.rtc-voice-track{
    height:5px;
    margin-top:13px;
    overflow:hidden;
    border-radius:999px;
    background:#302934;
}
.rtc-voice-track i{
    display:block;
    width:0;
    height:100%;
    border-radius:inherit;
    background:linear-gradient(90deg,#7d6cff 0%,#df466f 55%,#66db9c 100%);
    box-shadow:0 0 12px rgba(223,70,111,.24);
    transition:width .08s linear;
}
.rtc-voice-card>p{
    margin-top:13px;
    color:#837987;
    font-size:9px;
    line-height:1.55;
}

/* Small status pill over the user's own camera */
.rtc-local-speaking-badge{
    position:absolute !important;
    z-index:8;
    right:9px;
    top:9px;
    left:auto !important;
    bottom:auto !important;
    inset:auto 9px auto auto !important;
    width:auto !important;
    height:26px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px;
    padding:0 9px !important;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    background:rgba(17,14,19,.76);
    color:#fff;
    backdrop-filter:blur(7px);
    font-size:8px !important;
    white-space:nowrap;
    transition:.18s ease;
}
.rtc-local-speaking-badge i{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#8c7e91;
}
.rtc-local-speaking-badge b{
    font-size:8px;
    font-weight:900;
}
.rtc-local-speaking-badge.is-speaking{
    border-color:rgba(97,225,151,.52);
    background:rgba(26,117,66,.80);
    box-shadow:0 0 0 4px rgba(62,203,121,.08),0 7px 18px rgba(0,0,0,.18);
}
.rtc-local-speaking-badge.is-speaking i{
    background:#82f0b1;
    animation:rtcVoicePulse .72s ease-in-out infinite alternate;
}
.rtc-local-speaking-badge.is-muted{
    border-color:rgba(255,109,147,.38);
    background:rgba(119,31,57,.82);
}
.rtc-local-speaking-badge.is-muted i{
    background:#ff86a6;
}
@keyframes rtcVoicePulse{
    from{transform:scale(.78);opacity:.62}
    to{transform:scale(1.4);opacity:1}
}
@media(max-width:760px){
    .rtc-voice-meter{gap:3px}
    .rtc-voice-meter span{width:4px;flex-basis:4px}
    .rtc-local-speaking-badge{
        max-width:120px;
        overflow:hidden;
        text-overflow:ellipsis;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM VIDEO CONFERENCE — LARGER VIDEO / REMOVE EMPTY SPACE
   ========================================================== */
body.real-rtc-page .real-rtc-shell{
    align-items:start !important;
}

body.real-rtc-page .real-rtc-stage{
    min-width:0 !important;
}

body.real-rtc-page .real-rtc-remote-wrap{
    height:calc(100vh - 205px) !important;
    min-height:650px !important;
    max-height:900px !important;
    background:#090909 !important;
}

body.real-rtc-page #remoteVideo{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    background:#090909 !important;
}

body.real-rtc-page .real-rtc-remote-placeholder{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
}

body.real-rtc-page .real-rtc-controls{
    margin-top:0 !important;
}

@media (min-width:1200px){
    body.real-rtc-page .real-rtc-shell{
        grid-template-columns:minmax(0,1fr) 320px !important;
        gap:18px !important;
        width:min(1580px,calc(100% - 32px)) !important;
    }

    body.real-rtc-page .real-rtc-remote-wrap{
        height:calc(100vh - 190px) !important;
        min-height:700px !important;
    }
}

@media (min-width:1600px){
    body.real-rtc-page .real-rtc-shell{
        width:min(1760px,calc(100% - 40px)) !important;
        grid-template-columns:minmax(0,1fr) 330px !important;
    }

    body.real-rtc-page .real-rtc-remote-wrap{
        min-height:760px !important;
        max-height:980px !important;
    }
}

@media (max-width:900px){
    body.real-rtc-page .real-rtc-remote-wrap{
        height:68vh !important;
        min-height:500px !important;
        max-height:none !important;
    }
}

@media (max-width:600px){
    body.real-rtc-page .real-rtc-remote-wrap{
        height:62vh !important;
        min-height:420px !important;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM VIDEO VIEW SWAP BUTTON
   Click "Swap View" to make your own camera the large screen.
   Click again to restore the remote member as the large screen.
   ========================================================== */
body.real-rtc-page .real-rtc-remote-wrap{
    isolation:isolate;
}

body.real-rtc-page .real-rtc-controls #swapViewButton.active > span{
    border-color:#df466f;
    background:#831f42;
    color:#fff;
    box-shadow:0 0 0 4px rgba(223,70,111,.12);
}

/* Normal state: local camera is the small picture-in-picture. */
body.real-rtc-page .real-rtc-local-wrap{
    transition:
        width .25s ease,
        height .25s ease,
        right .25s ease,
        bottom .25s ease,
        left .25s ease,
        top .25s ease,
        border-radius .25s ease,
        box-shadow .25s ease;
}

/* Swapped state: user's local camera becomes the large background. */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .real-rtc-local-wrap{
    position:absolute !important;
    z-index:3 !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    aspect-ratio:auto !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    background:#090909 !important;
}

body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .real-rtc-local-wrap #localVideo{
    position:absolute !important;
    inset:0 !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
}

body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .real-rtc-local-wrap #localPlaceholder{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:grid;
    place-items:center;
}

/* Remote member moves into the small picture-in-picture window. */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped > #remoteVideo{
    position:absolute !important;
    z-index:8 !important;
    inset:auto 24px 24px auto !important;
    width:310px !important;
    height:194px !important;
    border:1px solid rgba(255,255,255,.72) !important;
    border-radius:12px !important;
    object-fit:cover !important;
    background:#222 !important;
    box-shadow:0 16px 42px rgba(0,0,0,.34) !important;
}

/* Keep the remote placeholder small too while waiting for remote media. */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped > .real-rtc-remote-placeholder{
    z-index:7 !important;
}

/* In swapped view the remote member name follows the small remote window. */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .real-rtc-remote-name{
    z-index:10 !important;
}

/* Keep local speaking indicator visible when local video is full-size. */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .rtc-local-speaking-badge{
    right:24px !important;
    top:24px !important;
}

@media(max-width:760px){
    body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped > #remoteVideo{
        right:12px !important;
        bottom:12px !important;
        width:145px !important;
        height:92px !important;
        border-radius:9px !important;
    }

    body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .rtc-local-speaking-badge{
        right:12px !important;
        top:12px !important;
    }
}


/* ==========================================================
   SWAP VIEW RELIABILITY PATCH + TRUE FULLSCREEN SIZE BUTTON
   ========================================================== */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped{
    position:relative !important;
}

body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped .real-rtc-local-wrap{
    z-index:20 !important;
}

body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped > #remoteVideo{
    z-index:30 !important;
}

body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped > .real-rtc-remote-name{
    z-index:35 !important;
}

body.real-rtc-page .real-rtc-remote-placeholder.rtc-remote-pip-placeholder{
    inset:auto 22px 22px auto !important;
    width:310px !important;
    height:194px !important;
    z-index:29 !important;
    border:2px solid rgba(255,255,255,.9) !important;
    border-radius:14px !important;
    overflow:hidden !important;
    box-shadow:0 18px 44px rgba(0,0,0,.38) !important;
}

body.real-rtc-page .real-rtc-remote-placeholder.rtc-remote-pip-placeholder > section{
    padding:10px !important;
}

body.real-rtc-page .real-rtc-remote-placeholder.rtc-remote-pip-placeholder .rtc-wait-avatar{
    width:42px !important;
    height:42px !important;
    font-size:17px !important;
}

body.real-rtc-page .real-rtc-remote-placeholder.rtc-remote-pip-placeholder h1{
    margin-top:7px !important;
    font-size:12px !important;
}

body.real-rtc-page .real-rtc-remote-placeholder.rtc-remote-pip-placeholder p{
    display:none !important;
}

/* Fullscreen conference stage */
body.real-rtc-page .real-rtc-stage:fullscreen{
    width:100vw !important;
    height:100vh !important;
    padding:12px !important;
    overflow:hidden !important;
    background:#09080b !important;
}

body.real-rtc-page .real-rtc-stage:fullscreen .real-rtc-remote-wrap{
    height:calc(100vh - 98px) !important;
    min-height:0 !important;
    max-height:none !important;
    border-radius:12px !important;
}

body.real-rtc-page .real-rtc-stage:fullscreen .real-rtc-controls{
    height:74px !important;
    margin-top:8px !important;
}

body.real-rtc-page .real-rtc-stage:fullscreen .real-rtc-controls button,
body.real-rtc-page .real-rtc-stage:fullscreen .real-rtc-controls a{
    min-height:56px !important;
}

@media(max-width:760px){
    body.real-rtc-page .real-rtc-remote-placeholder.rtc-remote-pip-placeholder{
        right:12px !important;
        bottom:12px !important;
        width:145px !important;
        height:92px !important;
    }
}


/* ==========================================================
   SWAPPED VIEW — REMOTE MEMBER PROFILE IMAGE FALLBACK
   ========================================================== */
body.real-rtc-page .rtc-swap-peer-preview{
    display:none;
    position:absolute;
    z-index:34;
    right:22px;
    bottom:22px;
    width:310px;
    height:194px;
    overflow:hidden;
    border:2px solid rgba(255,255,255,.92);
    border-radius:14px;
    background:#211c22;
    box-shadow:0 18px 44px rgba(0,0,0,.38);
}

body.real-rtc-page .rtc-swap-peer-preview.show{
    display:block;
}

body.real-rtc-page .rtc-swap-peer-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
}

body.real-rtc-page .rtc-swap-peer-preview::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.58) 100%);
    pointer-events:none;
}

body.real-rtc-page .rtc-swap-peer-preview span{
    position:absolute;
    z-index:2;
    left:10px;
    bottom:9px;
    max-width:calc(100% - 20px);
    overflow:hidden;
    padding:5px 8px;
    border-radius:6px;
    background:rgba(18,15,20,.68);
    color:#fff;
    font-size:10px;
    font-weight:800;
    text-overflow:ellipsis;
    white-space:nowrap;
    backdrop-filter:blur(6px);
}

/* When real remote video is active, the live feed sits above the fallback. */
body.real-rtc-page .real-rtc-remote-wrap.rtc-view-swapped > #remoteVideo{
    z-index:36 !important;
}

@media(max-width:760px){
    body.real-rtc-page .rtc-swap-peer-preview{
        right:12px;
        bottom:12px;
        width:145px;
        height:92px;
        border-radius:9px;
    }

    body.real-rtc-page .rtc-swap-peer-preview span{
        left:6px;
        bottom:6px;
        padding:3px 6px;
        font-size:8px;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM — NEW LOGO IN NAVBAR AND FOOTER
   Added last so it overrides every old logo rule.
   ========================================================== */

/* Hide the old CSS-drawn logo contents */
.header .logo .logo-icon,
.header .logo > span:last-child,
footer .footer-logo .logo-icon,
footer .footer-logo > span:last-child,
footer .logo .logo-icon,
footer .logo > span:last-child {
    display:none !important;
}

/* New navbar logo */
.header .logo {
    display:block !important;
    flex:0 0 190px !important;
    width:190px !important;
    min-width:190px !important;
    height:68px !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background-image:url("assets/amoria-new-logo.png") !important;
    background-repeat:no-repeat !important;
    background-position:left center !important;
    background-size:contain !important;
    transform:none !important;
    color:transparent !important;
}

/* New footer logo */
footer .footer-logo,
footer .logo.footer-logo {
    display:block !important;
    width:205px !important;
    min-width:205px !important;
    height:92px !important;
    padding:0 !important;
    margin:0 0 14px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background-image:url("assets/amoria-new-logo.png") !important;
    background-repeat:no-repeat !important;
    background-position:left center !important;
    background-size:contain !important;
    transform:none !important;
    color:transparent !important;
}

/* Ensure legacy pseudo-elements do not recreate the old brand */
.header .logo::before,
.header .logo::after,
footer .footer-logo::before,
footer .footer-logo::after {
    content:none !important;
    display:none !important;
}

@media(max-width:880px){
    .header .logo{
        flex-basis:155px !important;
        width:155px !important;
        min-width:155px !important;
        height:58px !important;
    }
}

@media(max-width:620px){
    .header .logo{
        flex-basis:135px !important;
        width:135px !important;
        min-width:135px !important;
        height:52px !important;
    }
    footer .footer-logo,
    footer .logo.footer-logo{
        width:175px !important;
        min-width:175px !important;
        height:82px !important;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM NEW HORIZONTAL LOGO — NAVBAR / FOOTER / AUTH
   ========================================================== */
.header .logo .logo-icon,
.header .logo > span:last-child,
footer .footer-logo .logo-icon,
footer .footer-logo > span:last-child,
footer .logo .logo-icon,
footer .logo > span:last-child {
    display:none !important;
}

.header .logo {
    display:block !important;
    flex:0 0 285px !important;
    width:285px !important;
    min-width:285px !important;
    height:70px !important;
    padding:0 !important;
    background:transparent url("assets/amoria-navbar-logo.png") left center / 280px auto no-repeat !important;
    border:0 !important;
    box-shadow:none !important;
}

footer .footer-logo,
footer .logo.footer-logo {
    display:block !important;
    width:295px !important;
    min-width:295px !important;
    height:84px !important;
    padding:0 !important;
    background:transparent url("assets/amoria-navbar-logo.png") left center / 290px auto no-repeat !important;
    border:0 !important;
    box-shadow:none !important;
}

/* Login + signup use a real image element */
.auth-brand.auth-brand-image {
    display:block !important;
    width:300px !important;
    max-width:100% !important;
    height:auto !important;
    margin-bottom:30px !important;
    padding:0 !important;
    background:none !important;
    border:0 !important;
    overflow:visible !important;
}
.auth-brand.auth-brand-image img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    background:transparent !important;
}

@media(max-width:880px){
    .header .logo {
        flex-basis:205px !important;
        width:205px !important;
        min-width:205px !important;
        height:60px !important;
        background-size:200px auto !important;
    }
}
@media(max-width:620px){
    .header .logo {
        flex-basis:175px !important;
        width:175px !important;
        min-width:175px !important;
        height:54px !important;
        background-size:170px auto !important;
    }
    .auth-brand.auth-brand-image { width:245px !important; }
    footer .footer-logo,
    footer .logo.footer-logo {
        width:235px !important;
        min-width:235px !important;
        height:72px !important;
        background-size:230px auto !important;
    }
}


/* ==========================================================
   LOCUS-AMANTIUM AUTH V2 — COMPLETE LOGIN + SIGNUP REDESIGN
   ========================================================== */

body.amoria-auth-v2 {
    background: #f8f3f5;
}

.amoria-auth-v2 .header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    background: #651b37 !important;
    background-color: #651b37 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 8px 28px rgba(55, 12, 31, .18);
}

.auth-v2-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(520px, .92fr);
    padding-top: 86px;
    background: #f8f3f5;
}

.auth-v2-visual {
    position: relative;
    min-height: 780px;
    overflow: hidden;
    isolation: isolate;
}

.auth-v2-photo,
.auth-v2-shade {
    position: absolute;
    inset: 0;
}

.login-visual-v2 .auth-v2-photo {
    background:
        url("https://images.unsplash.com/photo-1519085360753-af0119f7cbe7?auto=format&fit=crop&w=1800&q=90")
        center 35% / cover no-repeat;
    transform: scale(1.025);
}

.signup-visual-v2 .auth-v2-photo {
    background:
        url("https://images.unsplash.com/photo-1520857014576-2c4f4c972b57?auto=format&fit=crop&w=1800&q=90")
        center 42% / cover no-repeat;
    transform: scale(1.025);
}

.auth-v2-shade {
    background:
        linear-gradient(180deg, rgba(31,8,19,.08) 8%, rgba(47,10,25,.18) 40%, rgba(51,9,28,.88) 100%),
        linear-gradient(90deg, rgba(101,27,55,.14), transparent 62%);
}

.auth-v2-story {
    position: absolute;
    z-index: 2;
    left: clamp(30px, 5vw, 76px);
    right: clamp(30px, 7vw, 92px);
    bottom: clamp(40px, 7vh, 82px);
    color: #fff;
}

.auth-v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.4px;
    color: #ffd6e1;
}

.auth-v2-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #ff8ead;
}

.auth-v2-story h1 {
    max-width: 780px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(44px, 5vw, 72px);
    line-height: .98;
    letter-spacing: -3.8px;
}

.auth-v2-story > p {
    max-width: 650px;
    margin-top: 21px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,.82);
}

.auth-v2-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 720px;
    margin-top: 34px;
}

.auth-v2-proof > div {
    padding: 17px 18px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.auth-v2-proof strong,
.auth-v2-proof span {
    display: block;
}

.auth-v2-proof strong {
    font-family: "Manrope", sans-serif;
    font-size: 14px;
}

.auth-v2-proof span {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.45;
    color: rgba(255,255,255,.66);
}

.signup-mini-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 700px;
    margin-top: 32px;
}

.signup-mini-cards article {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 15px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
}

.signup-mini-cards b {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #fff;
    color: #651b37;
    font-size: 10px;
}

.signup-mini-cards span {
    font-size: 11px;
    line-height: 1.35;
}

.auth-v2-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px clamp(28px, 4vw, 62px);
    background:
        radial-gradient(circle at top right, rgba(223,70,111,.10), transparent 30%),
        #fffafc;
}

.auth-v2-card {
    width: min(100%, 500px);
    padding: 40px 42px;
    border: 1px solid #ecdde3;
    border-radius: 26px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 70px rgba(72,26,45,.12);
}

.signup-card-v2 {
    width: min(100%, 590px);
}

.auth-v2-brand {
    display: block;
    width: 235px;
    margin-bottom: 32px;
}

.auth-v2-brand img {
    width: 100%;
    height: auto;
    display: block;
}

.auth-v2-heading > span {
    display: inline-block;
    margin-bottom: 8px;
    color: #c13d67;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.auth-v2-heading h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(34px, 3vw, 47px);
    line-height: 1;
    letter-spacing: -2.2px;
    color: #25181e;
}

.auth-v2-heading p {
    max-width: 470px;
    margin-top: 13px;
    color: #7d6d74;
    font-size: 13px;
    line-height: 1.7;
}

.auth-v2-error {
    margin-top: 20px;
    padding: 13px 15px;
    border: 1px solid #f2c5d1;
    border-radius: 12px;
    background: #fff2f5;
    color: #a62e53;
    font-size: 12px;
    font-weight: 700;
}

.auth-v2-form {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.auth-v2-form label {
    display: grid;
    gap: 7px;
}

.auth-v2-form label > span {
    color: #57474f;
    font-size: 11px;
    font-weight: 900;
}

.auth-v2-form input,
.auth-v2-form select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #e6d9df;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #2a2025;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.auth-v2-form input:focus,
.auth-v2-form select:focus {
    border-color: #cf5c7e;
    box-shadow: 0 0 0 4px rgba(207,92,126,.10);
    background: #fffdfd;
}

.auth-v2-input {
    position: relative;
}

.auth-v2-input b {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a25a71;
    font-size: 12px;
    z-index: 2;
}

.auth-v2-input input {
    padding-left: 43px;
}

.auth-v2-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 1px;
}

.auth-v2-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    gap: 8px !important;
}

.auth-v2-check input {
    width: 16px !important;
    height: 16px !important;
    accent-color: #651b37;
}

.auth-v2-check span,
.auth-v2-form-meta a {
    color: #806f76 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
}

.auth-v2-form-meta a {
    color: #b33b62 !important;
}

.auth-v2-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    margin-top: 4px;
    padding: 0 17px 0 20px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, #651b37 0%, #a52c57 55%, #df466f 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(101,27,55,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.auth-v2-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 19px 36px rgba(101,27,55,.29);
}

.auth-v2-submit span {
    font-size: 13px;
    font-weight: 900;
}

.auth-v2-submit b {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    font-size: 16px;
}

.auth-v2-or {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 17px;
}

.auth-v2-or::before,
.auth-v2-or::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #eee2e7;
}

.auth-v2-or span {
    color: #9c8d94;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.auth-v2-secondary {
    display: grid;
    place-items: center;
    min-height: 50px;
    border: 1px solid #d9bcc7;
    border-radius: 12px;
    background: #fff;
    color: #651b37;
    font-size: 12px;
    font-weight: 900;
    transition: background .2s ease, border-color .2s ease;
}

.auth-v2-secondary:hover {
    background: #fff5f8;
    border-color: #bf7890;
}

.auth-v2-legal {
    margin-top: 18px;
    text-align: center;
    color: #a09298;
    font-size: 9px;
    line-height: 1.55;
}

.auth-v2-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Signup is taller, so start nearer the top */
.auth-v2-signup-shell .auth-v2-panel {
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (max-width: 1120px) {
    .auth-v2-shell {
        grid-template-columns: .95fr 1.05fr;
    }

    .auth-v2-story h1 {
        font-size: 50px;
    }

    .auth-v2-proof,
    .signup-mini-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 900px) {
    .auth-v2-shell {
        grid-template-columns: 1fr;
        padding-top: 74px;
    }

    .auth-v2-visual {
        min-height: 600px;
    }

    .auth-v2-panel {
        padding: 42px 22px 54px;
    }

    .auth-v2-signup-shell .auth-v2-panel {
        padding-top: 42px;
    }
}

@media (max-width: 620px) {
    .auth-v2-visual {
        min-height: 520px;
    }

    .auth-v2-story {
        left: 22px;
        right: 22px;
        bottom: 30px;
    }

    .auth-v2-story h1 {
        font-size: 40px;
        letter-spacing: -2.3px;
    }

    .auth-v2-story > p {
        font-size: 13px;
    }

    .auth-v2-proof {
        display: none;
    }

    .signup-mini-cards {
        grid-template-columns: 1fr;
    }

    .signup-mini-cards article:nth-child(3) {
        display: none;
    }

    .auth-v2-card {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .auth-v2-brand {
        width: 205px;
    }

    .auth-v2-grid-2 {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   LOCUS-AMANTIUM SIGNUP PREMIUM V2 — COMPLETE PAGE REDESIGN
   ========================================================= */

body.signup-premium-page {
    min-height: 100vh;
    background: #f7f1f4;
}

.signup-premium-page .header {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background: #651b37 !important;
    background-color: #651b37 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 10px 28px rgba(48, 10, 28, .18);
}

.signup-premium {
    min-height: 100vh;
    padding-top: 86px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(520px, .9fr);
    background: #fff;
}

.signup-premium-hero {
    position: relative;
    min-height: 860px;
    overflow: hidden;
    isolation: isolate;
}

.signup-premium-photo {
    position: absolute;
    inset: 0;
    background:
        url("https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?auto=format&fit=crop&w=1800&q=92")
        center 42% / cover no-repeat;
    transform: scale(1.035);
}

.signup-premium-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(35, 7, 20, .06) 5%, rgba(46, 10, 27, .20) 43%, rgba(48, 7, 27, .92) 100%),
        linear-gradient(90deg, rgba(101, 27, 55, .32), rgba(101, 27, 55, .03) 60%);
}

.signup-premium-copy {
    position: absolute;
    z-index: 2;
    left: clamp(30px, 5.2vw, 78px);
    right: clamp(30px, 7vw, 100px);
    bottom: clamp(44px, 7vh, 88px);
    color: #fff;
}

.signup-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #ffd3df;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.3px;
}

.signup-premium-eyebrow::before {
    content: "";
    width: 36px;
    height: 2px;
    border-radius: 999px;
    background: #ff9ab8;
}

.signup-premium-copy h1 {
    max-width: 790px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(48px, 5.4vw, 78px);
    line-height: .97;
    letter-spacing: -4.4px;
}

.signup-premium-copy h1 em {
    font-style: normal;
    color: #ff9db8;
}

.signup-premium-copy > p {
    max-width: 650px;
    margin-top: 21px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.75;
}

.signup-premium-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 760px;
    margin-top: 34px;
}

.signup-premium-benefits article {
    display: flex;
    gap: 12px;
    padding: 17px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(9px);
}

.signup-premium-benefits b {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: #fff;
    color: #651b37;
    font-size: 10px;
}

.signup-premium-benefits strong,
.signup-premium-benefits span {
    display: block;
}

.signup-premium-benefits strong {
    font-family: "Manrope", sans-serif;
    font-size: 12px;
}

.signup-premium-benefits span {
    margin-top: 4px;
    color: rgba(255,255,255,.66);
    font-size: 9px;
    line-height: 1.45;
}

.signup-premium-badge {
    position: absolute;
    z-index: 3;
    top: 34px;
    right: 34px;
    display: grid;
    gap: 2px;
    min-width: 135px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 18px;
    background: rgba(32, 8, 20, .32);
    color: #fff;
    backdrop-filter: blur(10px);
}

.signup-premium-badge span {
    color: #ffb5c9;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.signup-premium-badge strong {
    font-size: 12px;
}

.signup-premium-badge small {
    color: rgba(255,255,255,.64);
    font-size: 9px;
}

.signup-premium-panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 52px clamp(28px, 4vw, 64px) 60px;
    background:
        radial-gradient(circle at 100% 0%, rgba(223,70,111,.11), transparent 31%),
        linear-gradient(180deg, #fffafd 0%, #fff 100%);
}

.signup-premium-card {
    width: min(100%, 610px);
    padding: 40px 42px;
    border: 1px solid #eadce2;
    border-radius: 28px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 28px 75px rgba(69, 24, 43, .13);
}

.signup-premium-brand {
    display: block;
    width: 238px;
    margin-bottom: 31px;
}

.signup-premium-brand img {
    display: block;
    width: 100%;
    height: auto;
}

.signup-premium-heading > span {
    display: inline-block;
    margin-bottom: 9px;
    color: #b93a61;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.signup-premium-heading h2 {
    color: #271a20;
    font-family: "Manrope", sans-serif;
    font-size: clamp(35px, 3.4vw, 49px);
    line-height: 1;
    letter-spacing: -2.4px;
}

.signup-premium-heading p {
    max-width: 500px;
    margin-top: 13px;
    color: #7f7077;
    font-size: 13px;
    line-height: 1.7;
}

.signup-premium-error {
    margin-top: 20px;
    padding: 14px 15px;
    border: 1px solid #f1c7d2;
    border-radius: 13px;
    background: #fff3f6;
    color: #a63055;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

.signup-premium-form {
    display: grid;
    gap: 15px;
    margin-top: 28px;
}

.signup-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.signup-premium-form label {
    display: grid;
    gap: 7px;
}

.signup-premium-form label > span {
    color: #5d4e55;
    font-size: 11px;
    font-weight: 900;
}

.signup-premium-form input,
.signup-premium-form select {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #e5d9de;
    border-radius: 12px;
    background: #fff;
    color: #2c2026;
    outline: none;
    font-size: 13px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.signup-premium-form input::placeholder {
    color: #ad9fa5;
}

.signup-premium-form input:focus,
.signup-premium-form select:focus {
    border-color: #ca5f80;
    background: #fffdfd;
    box-shadow: 0 0 0 4px rgba(202,95,128,.10);
}

.signup-premium-hint {
    color: #9a8c92;
    font-size: 9px;
}

.signup-premium-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    margin-top: 4px;
    padding: 0 17px 0 21px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #651b37 0%, #9f2b54 55%, #df466f 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(101,27,55,.24);
    transition: transform .2s ease, box-shadow .2s ease;
}

.signup-premium-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(101,27,55,.30);
}

.signup-premium-submit span {
    font-size: 13px;
    font-weight: 900;
}

.signup-premium-submit b {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: rgba(255,255,255,.17);
    font-size: 16px;
}

.signup-premium-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
}

.signup-premium-divider::before,
.signup-premium-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #ede1e6;
}

.signup-premium-divider span {
    color: #988a90;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.signup-premium-login {
    display: grid;
    place-items: center;
    min-height: 50px;
    border: 1px solid #d8b9c4;
    border-radius: 12px;
    background: #fff;
    color: #651b37;
    font-size: 12px;
    font-weight: 900;
    transition: background .2s ease, border-color .2s ease;
}

.signup-premium-login:hover {
    background: #fff5f8;
    border-color: #bb7289;
}

.signup-premium-terms {
    margin-top: 17px;
    text-align: center;
    color: #9c8e94;
    font-size: 9px;
    line-height: 1.55;
}

@media (max-width: 1140px) {
    .signup-premium {
        grid-template-columns: .95fr 1.05fr;
    }

    .signup-premium-copy h1 {
        font-size: 54px;
    }

    .signup-premium-benefits {
        grid-template-columns: 1fr;
        max-width: 430px;
    }
}

@media (max-width: 900px) {
    .signup-premium {
        grid-template-columns: 1fr;
        padding-top: 74px;
    }

    .signup-premium-hero {
        min-height: 640px;
    }

    .signup-premium-panel {
        padding: 42px 22px 58px;
    }
}

@media (max-width: 620px) {
    .signup-premium-hero {
        min-height: 570px;
    }

    .signup-premium-copy {
        left: 22px;
        right: 22px;
        bottom: 28px;
    }

    .signup-premium-copy h1 {
        font-size: 42px;
        letter-spacing: -2.6px;
    }

    .signup-premium-copy > p {
        font-size: 13px;
    }

    .signup-premium-benefits {
        display: none;
    }

    .signup-premium-badge {
        top: 20px;
        right: 20px;
        min-width: 118px;
        padding: 13px 14px;
    }

    .signup-premium-card {
        padding: 30px 22px;
        border-radius: 21px;
    }

    .signup-premium-brand {
        width: 205px;
    }

    .signup-premium-grid {
        grid-template-columns: 1fr;
    }
}


/* LOCUS-AMANTIUM SIGNUP — FEMALE HERO IMAGE */
.signup-premium-photo {
    background-image:
        url("https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=1800&q=92") !important;
    background-position: center 28% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}


/* =========================================================
   LOCUS-AMANTIUM LOGIN REQUIRED PROFILE MODAL
   ========================================================= */
body.modal-open {
    overflow: hidden;
}

.login-required-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, visibility .22s ease;
}

.login-required-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.login-required-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(28, 8, 18, .66);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.login-required-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 470px);
    padding: 38px 36px 34px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 24px;
    background: #fff;
    text-align: center;
    box-shadow: 0 28px 80px rgba(38, 10, 24, .32);
    transform: translateY(16px) scale(.98);
    transition: transform .22s ease;
}

.login-required-modal.is-open .login-required-dialog {
    transform: translateY(0) scale(1);
}

.login-required-close {
    position: absolute;
    top: 15px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff3f7;
    color: #651b37;
    font-size: 22px;
    cursor: pointer;
}

.login-required-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 20px;
    background: linear-gradient(135deg,#651b37,#df466f);
    color: #fff;
    font-size: 28px;
    box-shadow: 0 14px 34px rgba(101,27,55,.24);
}

.login-required-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #c03962;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.6px;
}

.login-required-dialog h2 {
    font-family: "Manrope", sans-serif;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -1.7px;
    color: #281920;
}

.login-required-dialog p {
    margin: 14px auto 0;
    max-width: 370px;
    color: #75666d;
    font-size: 13px;
    line-height: 1.7;
}

.login-required-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 26px;
}

.login-required-primary,
.login-required-secondary {
    display: grid;
    place-items: center;
    min-height: 50px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
}

.login-required-primary {
    background: linear-gradient(135deg,#651b37,#b22f5d);
    color: #fff;
    box-shadow: 0 12px 28px rgba(101,27,55,.22);
}

.login-required-secondary {
    border: 1px solid #d9bdc6;
    background: #fff;
    color: #651b37;
}

@media (max-width: 520px) {
    .login-required-dialog {
        padding: 34px 22px 28px;
    }

    .login-required-dialog h2 {
        font-size: 29px;
    }

    .login-required-actions {
        grid-template-columns: 1fr;
    }
}


/* LOCUS-AMANTIUM supplied brand icon inside login-required modal */
.login-required-brand-icon {
    width: 112px;
    height: 112px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 24px;
    background: #a90046;
    box-shadow: 0 14px 32px rgba(101,27,55,.22);
}
.login-required-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   LOCUS-AMANTIUM MEMBERS PAGE LOGIN GATE
   ========================================================= */

body.modal-open {
    overflow: hidden !important;
}

body.members-guest-locked > *:not(.login-required-modal) {
    pointer-events: none;
    user-select: none;
}

.login-required-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: center;
    padding: 22px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.login-required-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.login-required-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 6, 16, .72);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.login-required-dialog {
    position: relative;
    z-index: 2;
    width: min(100%, 500px);
    padding: 40px 38px 34px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 26px;
    background: #fff;
    text-align: center;
    box-shadow: 0 30px 90px rgba(38, 10, 24, .38);
}

.login-required-brand-icon {
    width: 118px;
    height: 118px;
    margin: 0 auto 21px;
    overflow: hidden;
    border-radius: 26px;
    background: #a90046;
    box-shadow: 0 15px 34px rgba(101,27,55,.24);
}

.login-required-brand-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-required-kicker {
    display: inline-block;
    margin-bottom: 9px;
    color: #c13b63;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.7px;
}

.login-required-dialog h2 {
    margin: 0;
    font-family: "Manrope", sans-serif;
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -1.8px;
    color: #291921;
}

.login-required-dialog p {
    max-width: 390px;
    margin: 14px auto 0;
    color: #76676e;
    font-size: 13px;
    line-height: 1.72;
}

.login-required-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-top: 27px;
}

.login-required-primary,
.login-required-secondary {
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 900;
}

.login-required-primary {
    background: linear-gradient(135deg,#651b37,#b62e5e);
    color: #fff;
    box-shadow: 0 13px 29px rgba(101,27,55,.23);
}

.login-required-secondary {
    border: 1px solid #d9bbc6;
    background: #fff;
    color: #651b37;
}

.login-required-note {
    margin-top: 20px;
    color: #94868c;
    font-size: 10px;
    font-weight: 700;
}

@media (max-width: 520px) {
    .login-required-dialog {
        padding: 32px 22px 27px;
        border-radius: 22px;
    }

    .login-required-brand-icon {
        width: 100px;
        height: 100px;
        border-radius: 22px;
    }

    .login-required-dialog h2 {
        font-size: 30px;
    }

    .login-required-actions {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   VIEW PROFILE — RESTORED PHOTOS + VIDEOS
   ========================================================= */
.vp-media-shell {
    width: min(1120px, calc(100% - 44px));
    margin: 0 auto 90px;
}

.vp-media-section {
    margin-top: 32px;
    padding: 30px;
    border: 1px solid #eadce1;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(70, 28, 44, .08);
}

.vp-media-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 22px;
}

.vp-media-heading h2 {
    margin-top: 9px;
    font-family: "Manrope", sans-serif;
    font-size: clamp(27px, 3vw, 38px);
    letter-spacing: -1.4px;
    color: #2c2026;
}

.vp-media-heading > p {
    max-width: 360px;
    color: #8b7c83;
    font-size: 11px;
    line-height: 1.6;
}

.vp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.vp-gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 310px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #f1e7eb;
    cursor: zoom-in;
    box-shadow: 0 10px 24px rgba(55, 23, 36, .08);
}

.vp-gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
    transition: transform .28s ease;
}

.vp-gallery-card:hover img {
    transform: scale(1.035);
}

.vp-gallery-card > span {
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 13px;
    padding: 9px 11px;
    border-radius: 10px;
    background: rgba(35, 13, 24, .72);
    color: #fff;
    text-align: left;
    font-size: 10px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.profile-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.profile-video-item {
    margin: 0;
}

.profile-video-frame {
    overflow: hidden;
    border-radius: 16px;
    background: #171116;
    box-shadow: 0 12px 28px rgba(40, 18, 29, .12);
}

.profile-video-frame video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #111;
    object-fit: cover;
}

.profile-video-item figcaption {
    padding: 10px 3px 0;
    color: #54464c;
    font-size: 12px;
    font-weight: 900;
}

.profile-video-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 21px;
    border: 1px dashed #decbd2;
    border-radius: 15px;
    background: #fff8fa;
}

.profile-video-empty > span {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffe8ef;
    color: #a72e52;
}

.profile-video-empty h3 {
    font-family: "Manrope", sans-serif;
    font-size: 15px;
}

.profile-video-empty p {
    margin-top: 3px;
    color: #8b7d83;
    font-size: 11px;
}

.vp-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: none;
    place-items: center;
    padding: 22px;
}

.vp-photo-lightbox.is-open {
    display: grid;
}

.vp-photo-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 8, 14, .90);
    backdrop-filter: blur(7px);
}

.vp-photo-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    max-height: 90vh;
    display: grid;
    place-items: center;
}

.vp-photo-lightbox-dialog img {
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    border-radius: 18px;
    box-shadow: 0 25px 80px rgba(0,0,0,.42);
}

.vp-photo-lightbox-close,
.vp-photo-lightbox-nav {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: #651b37;
    cursor: pointer;
}

.vp-photo-lightbox-close {
    top: -12px;
    right: -12px;
    width: 42px;
    height: 42px;
    font-size: 26px;
}

.vp-photo-lightbox-nav {
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    font-size: 34px;
}

.vp-photo-lightbox-nav.prev { left: -62px; }
.vp-photo-lightbox-nav.next { right: -62px; }

.vp-photo-lightbox-caption {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(720px, 100%);
    margin-top: 13px;
    color: #fff;
    font-size: 11px;
}

.vp-lightbox-open {
    overflow: hidden;
}

@media (max-width: 900px) {
    .vp-gallery-grid,
    .profile-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vp-photo-lightbox-nav.prev { left: 8px; }
    .vp-photo-lightbox-nav.next { right: 8px; }
}

@media (max-width: 620px) {
    .vp-media-shell {
        width: min(100% - 30px, 1120px);
    }

    .vp-media-section {
        padding: 20px;
        border-radius: 19px;
    }

    .vp-media-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .vp-gallery-grid,
    .profile-video-grid {
        grid-template-columns: 1fr;
    }

    .vp-gallery-card,
    .vp-gallery-card img {
        min-height: 360px;
    }
}


/* =========================================================
   PHOTOS PAGE — UPLOAD FIX / SAVED MEDIA
   ========================================================= */
.current-media-summary {
    margin-top: 34px;
    padding: 28px;
    border: 1px solid #ead9df;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(71,29,45,.08);
}

.saved-media-title {
    margin: 24px 0 13px;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    color: #34272d;
}

.saved-media-grid,
.saved-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.saved-media-grid figure,
.saved-video-grid figure {
    overflow: hidden;
    border: 1px solid #eadfe2;
    border-radius: 15px;
    background: #fff;
}

.saved-media-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.saved-video-grid video {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    background: #111;
}

.saved-media-grid figcaption,
.saved-video-grid figcaption {
    padding: 10px 12px;
    color: #5e5057;
    font-size: 11px;
    font-weight: 800;
}

@media (max-width: 800px) {
    .saved-media-grid,
    .saved-video-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PHOTOS PAGE — DELETE SAVED MEDIA
   ========================================================= */
.saved-media-card {
    position: relative;
}

.saved-media-delete-form {
    padding: 0 12px 12px;
}

.saved-media-delete-btn {
    width: 100%;
    min-height: 42px;
    border: 1px solid #e8c4cf;
    border-radius: 10px;
    background: #fff3f6;
    color: #a0234c;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    transition: .2s ease;
}

.saved-media-delete-btn:hover {
    border-color: #c84068;
    background: #a82c52;
    color: #fff;
}

.saved-media-delete-btn:focus-visible {
    outline: 3px solid rgba(223,70,111,.22);
    outline-offset: 2px;
}


/* =========================================================
   YOUR SAVED MEDIA — EDIT PHOTO / VIDEO TITLES
   ========================================================= */
.saved-media-current-title {
    min-height: 38px;
}

.saved-media-edit-form {
    display: grid;
    gap: 9px;
    padding: 10px 12px 8px;
    border-top: 1px solid #f0e4e8;
}

.saved-media-edit-form label {
    display: grid;
    gap: 6px;
    color: #67565e;
    font-size: 10px;
    font-weight: 900;
}

.saved-media-edit-form textarea {
    width: 100%;
    min-height: 66px;
    resize: vertical;
    padding: 10px 11px;
    border: 1px solid #dfcfd5;
    border-radius: 10px;
    background: #fff;
    color: #2e2227;
    font: inherit;
    font-size: 12px;
    line-height: 1.45;
    outline: none;
}

.saved-media-edit-form textarea:focus {
    border-color: #c83e67;
    box-shadow: 0 0 0 3px rgba(223,70,111,.10);
}

.saved-media-save-title-btn {
    min-height: 42px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg,#df466f,#9f2b51);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(159,43,81,.15);
}

.saved-media-save-title-btn:hover {
    filter: brightness(.96);
}


/* =========================================================
   SAVED MEDIA EDIT CONTROLS — FORCE VISIBLE
   ========================================================= */
.current-media-summary .saved-media-edit-form {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 12px !important;
    border-top: 1px solid #eee0e5;
}

.current-media-summary .saved-media-edit-form label {
    display: block !important;
    visibility: visible !important;
    color: #4a3640 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

.current-media-summary .saved-media-edit-form textarea {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 76px !important;
    margin-top: 7px !important;
    padding: 11px 12px !important;
    border: 1px solid #dcbac6 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #2d2026 !important;
}

.current-media-summary .saved-media-save-title-btn {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 44px !important;
    margin-top: 9px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #a72e56 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
}


/* =========================================================
   LOCUS-AMANTIUM MEDIA LIMIT MODAL — 16 IMAGES / 10 VIDEOS
   ========================================================= */
.amoria-limit-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(24, 10, 17, .68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: amoriaLimitFade .18s ease-out both;
}

.amoria-limit-modal-backdrop.is-closing {
    animation: amoriaLimitFadeOut .16s ease-in both;
}

.amoria-limit-modal {
    position: relative;
    width: min(470px, 100%);
    padding: 30px 28px 25px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(30, 10, 18, .30);
    text-align: center;
}

.amoria-limit-modal-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff1f5;
    color: #a72e56;
    font-size: 30px;
    font-weight: 900;
}

.amoria-limit-modal h3 {
    margin: 0 0 10px;
    color: #351c26;
    font-size: 24px;
    line-height: 1.15;
}

.amoria-limit-modal p {
    margin: 0;
    color: #6d5961;
    font-size: 14px;
    line-height: 1.65;
}

.amoria-limit-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f7eef1;
    color: #67434f;
    font-size: 24px;
    cursor: pointer;
}

.amoria-limit-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 22px;
}

.amoria-limit-delete-space-btn,
.amoria-limit-cancel-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.amoria-limit-delete-space-btn {
    border: 0;
    background: #a72e56;
    color: #fff;
}

.amoria-limit-cancel-btn {
    border: 1px solid #dfc9d1;
    background: #fff;
    color: #684653;
}

@keyframes amoriaLimitFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes amoriaLimitFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (max-width: 560px) {
    .amoria-limit-modal-actions {
        flex-direction: column;
    }
    .amoria-limit-delete-space-btn,
    .amoria-limit-cancel-btn {
        width: 100%;
    }
}


/* LOCUS-AMANTIUM COMPACT NAV — prevents menu text overlap */
@media (min-width: 901px) {
    .header .nav {
        width: min(1380px, calc(100% - 24px)) !important;
        gap: 14px !important;
    }

    .header .logo {
        min-width: 150px !important;
        flex: 0 0 auto !important;
    }

    .header .logo strong {
        font-size: 20px !important;
    }

    .header .links {
        margin-left: auto !important;
        gap: 11px !important;
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }

    .header .links a {
        padding: 7px 2px !important;
        font-size: 13px !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
    }

    .header .nav-login,
    .header .nav-create {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (min-width: 901px) and (max-width: 1120px) {
    .header .nav {
        gap: 8px !important;
    }

    .header .logo {
        min-width: 128px !important;
    }

    .header .logo small {
        display: none !important;
    }

    .header .links {
        gap: 7px !important;
    }

    .header .links a {
        font-size: 12px !important;
    }
}


/* =========================================================
   LOCUS-AMANTIUM NAVBAR TWO-ROW REDESIGN
   Main navigation stays clean; member tools live on row two.
   ========================================================= */
.header.amoria-header{
    position:relative!important;
    z-index:1000!important;
    width:100%!important;
    background:#651b37!important;
    box-shadow:0 4px 18px rgba(40,13,24,.16)!important;
}

.amoria-nav-main{
    width:min(1380px,calc(100% - 38px))!important;
    min-height:76px!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:auto 1fr auto!important;
    align-items:center!important;
    gap:28px!important;
}

.amoria-brand{
    display:inline-flex!important;
    align-items:center!important;
    gap:10px!important;
    min-width:185px!important;
    padding:0!important;
    color:#fff!important;
    text-decoration:none!important;
}

.amoria-brand-icon{
    display:grid!important;
    place-items:center!important;
    width:43px!important;
    height:43px!important;
    flex:0 0 43px!important;
    border-radius:13px!important;
    background:#fff!important;
    color:#651b37!important;
    font-size:22px!important;
    line-height:1!important;
    box-shadow:0 4px 12px rgba(0,0,0,.12)!important;
}

.amoria-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    line-height:1!important;
}

.amoria-brand-copy strong{
    color:#fff!important;
    font-size:22px!important;
    font-weight:900!important;
    letter-spacing:.2px!important;
}

.amoria-brand-copy small{
    margin-top:5px!important;
    color:#f6cddb!important;
    font-size:9px!important;
    font-weight:700!important;
    letter-spacing:.55px!important;
    white-space:nowrap!important;
}

.amoria-primary-links{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:28px!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
}

.amoria-primary-links a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    min-height:42px!important;
    padding:0 2px!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:0!important;
    text-decoration:none!important;
}

.amoria-primary-links a::after{
    content:""!important;
    position:absolute!important;
    left:50%!important;
    bottom:5px!important;
    width:0!important;
    height:2px!important;
    transform:translateX(-50%)!important;
    border-radius:99px!important;
    background:#f3a5bd!important;
    transition:width .2s ease!important;
}

.amoria-primary-links a:hover::after{width:100%!important}

.amoria-account-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    white-space:nowrap!important;
}

.amoria-account-actions a{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:40px!important;
    padding:0 14px!important;
    border-radius:10px!important;
    font-size:12px!important;
    font-weight:900!important;
    text-decoration:none!important;
}

.amoria-account-link{
    border:1px solid rgba(255,255,255,.28)!important;
    color:#fff!important;
    background:rgba(255,255,255,.08)!important;
}

.amoria-logout,
.amoria-account-actions .nav-login{
    border:1px solid rgba(255,255,255,.34)!important;
    color:#fff!important;
    background:transparent!important;
}

.amoria-account-actions .nav-create{
    border:1px solid #fff!important;
    color:#651b37!important;
    background:#fff!important;
}

.amoria-member-bar{
    width:100%!important;
    border-top:1px solid rgba(255,255,255,.14)!important;
    background:#54152e!important;
}

.amoria-member-bar-inner{
    width:min(1380px,calc(100% - 38px))!important;
    min-height:46px!important;
    margin:0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:22px!important;
}

.amoria-member-bar-label{
    flex:0 0 auto!important;
    padding-right:18px!important;
    border-right:1px solid rgba(255,255,255,.18)!important;
    color:#e9a9bd!important;
    font-size:9px!important;
    font-weight:900!important;
    letter-spacing:1.3px!important;
    text-transform:uppercase!important;
}

.amoria-member-links{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    flex-wrap:wrap!important;
}

.amoria-member-links a{
    display:inline-flex!important;
    align-items:center!important;
    gap:6px!important;
    min-height:34px!important;
    padding:0 12px!important;
    border-radius:8px!important;
    color:#fff!important;
    font-size:12px!important;
    font-weight:800!important;
    text-decoration:none!important;
    transition:background .2s ease,transform .2s ease!important;
}

.amoria-member-links a span{
    display:inline-block!important;
    color:#f3b1c5!important;
    font-size:12px!important;
}

.amoria-member-links a:hover{
    background:rgba(255,255,255,.10)!important;
    transform:translateY(-1px)!important;
}

.amoria-menu-toggle{
    display:none!important;
}

/* Override older .header .links compact rules */
.header.amoria-header .amoria-primary-links a{
    font-size:14px!important;
}
.header.amoria-header .amoria-primary-links{
    gap:28px!important;
}

@media(max-width:1050px){
    .amoria-nav-main{
        gap:16px!important;
        grid-template-columns:auto 1fr auto!important;
    }
    .amoria-primary-links{gap:16px!important}
    .header.amoria-header .amoria-primary-links{gap:16px!important}
    .header.amoria-header .amoria-primary-links a{font-size:13px!important}
    .amoria-brand{min-width:160px!important}
    .amoria-brand-copy small{display:none!important}
}

@media(max-width:820px){
    .amoria-nav-main{
        min-height:68px!important;
        grid-template-columns:auto auto!important;
        justify-content:space-between!important;
    }

    .amoria-menu-toggle{
        display:flex!important;
        flex-direction:column!important;
        justify-content:center!important;
        gap:4px!important;
        width:42px!important;
        height:42px!important;
        padding:9px!important;
        border:1px solid rgba(255,255,255,.25)!important;
        border-radius:10px!important;
        background:transparent!important;
    }

    .amoria-menu-toggle span{
        display:block!important;
        width:100%!important;
        height:2px!important;
        background:#fff!important;
    }

    .amoria-primary-links,
    .amoria-account-actions{
        display:none!important;
    }

    .amoria-member-bar-inner{
        width:100%!important;
        padding:8px 12px!important;
        justify-content:flex-start!important;
        overflow-x:auto!important;
        gap:10px!important;
    }

    .amoria-member-bar-label{display:none!important}

    .amoria-member-links{
        flex-wrap:nowrap!important;
        justify-content:flex-start!important;
        min-width:max-content!important;
    }

    .amoria-member-links a{
        min-height:36px!important;
        padding:0 11px!important;
        background:rgba(255,255,255,.06)!important;
        font-size:11px!important;
    }
}

@media(max-width:520px){
    .amoria-nav-main{width:calc(100% - 22px)!important}
    .amoria-brand-icon{
        width:38px!important;
        height:38px!important;
        flex-basis:38px!important;
        border-radius:11px!important;
        font-size:19px!important;
    }
    .amoria-brand-copy strong{font-size:20px!important}
}


/* LOCUS-AMANTIUM NAVBAR — restore clean logo treatment and remove extra menu-bar background */
.header.amoria-header{
    background:#651b37!important;
    background-color:#651b37!important;
}

.amoria-brand-icon{
    background:transparent!important;
    box-shadow:none!important;
    border:0!important;
    color:#fff!important;
    width:auto!important;
    height:auto!important;
    min-width:30px!important;
    flex:0 0 auto!important;
    border-radius:0!important;
    font-size:29px!important;
}

.amoria-brand-copy strong{
    color:#fff!important;
}

.amoria-brand-copy small{
    color:rgba(255,255,255,.72)!important;
}

/* Remove the dark solid background that was added behind the second menu row */
.amoria-member-bar{
    background:transparent!important;
    background-color:transparent!important;
    border-top:1px solid rgba(255,255,255,.13)!important;
}

.amoria-member-links a,
.amoria-member-links a:hover{
    background:transparent!important;
}

.amoria-member-links a:hover{
    color:#ffd5e2!important;
}

.amoria-member-links a span{
    color:#fff!important;
}


/* =========================================================
   LOCUS-AMANTIUM NAVBAR — TRANSPARENT / NO BACKGROUND REDESIGN
   Final override: no solid background on either navbar row.
   ========================================================= */
.header.amoria-header{
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
    border:0!important;
}

.amoria-nav-main{
    min-height:72px!important;
    padding:0 4px!important;
    background:transparent!important;
}

/* Restore clean burgundy LOCUS-AMANTIUM logo */
.amoria-brand{
    color:#651b37!important;
}
.amoria-brand-icon{
    background:transparent!important;
    color:#651b37!important;
    box-shadow:none!important;
    border:0!important;
    font-size:30px!important;
}
.amoria-brand-copy strong{
    color:#651b37!important;
    font-size:23px!important;
}
.amoria-brand-copy small{
    color:#8c6573!important;
}

/* Main menu: simple text, no boxes/backgrounds */
.amoria-primary-links{
    gap:30px!important;
    background:transparent!important;
}
.amoria-primary-links a{
    background:transparent!important;
    color:#542034!important;
    padding:0 1px!important;
    font-size:14px!important;
    font-weight:800!important;
}
.amoria-primary-links a:hover{
    color:#a72e56!important;
}
.amoria-primary-links a::after{
    background:#a72e56!important;
}

/* Account area: remove all filled backgrounds */
.amoria-account-actions,
.amoria-account-actions a,
.amoria-account-link,
.amoria-logout,
.amoria-account-actions .nav-login,
.amoria-account-actions .nav-create{
    background:transparent!important;
    background-color:transparent!important;
    box-shadow:none!important;
}
.amoria-account-actions a{
    color:#651b37!important;
    border:0!important;
    padding:0 8px!important;
    min-height:36px!important;
}
.amoria-account-actions .nav-create{
    color:#a72e56!important;
    border:1px solid #d9afbe!important;
    padding:0 12px!important;
}

/* Second row: no background at all, just clean menu text */
.amoria-member-bar{
    background:transparent!important;
    background-color:transparent!important;
    border-top:1px solid rgba(101,27,55,.12)!important;
    border-bottom:1px solid rgba(101,27,55,.08)!important;
    box-shadow:none!important;
}
.amoria-member-bar-inner{
    min-height:42px!important;
    background:transparent!important;
}
.amoria-member-bar-label{
    color:#9c6f80!important;
    border-right:1px solid rgba(101,27,55,.15)!important;
}
.amoria-member-links{
    gap:18px!important;
    background:transparent!important;
}
.amoria-member-links a{
    min-height:38px!important;
    padding:0 2px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#651b37!important;
    font-size:12px!important;
}
.amoria-member-links a span{
    color:#a72e56!important;
}
.amoria-member-links a:hover{
    background:transparent!important;
    color:#a72e56!important;
    transform:none!important;
    text-decoration:underline!important;
    text-underline-offset:5px!important;
}

/* Make sure legacy header/nav rules cannot repaint the header */
.header,
.header .nav,
.header .links,
.header .links a{
    background-color:transparent!important;
}

@media(max-width:820px){
    .header.amoria-header{
        background:transparent!important;
    }
    .amoria-menu-toggle{
        background:transparent!important;
        border:1px solid rgba(101,27,55,.25)!important;
    }
    .amoria-menu-toggle span{
        background:#651b37!important;
    }
    .amoria-member-bar{
        background:transparent!important;
    }
    .amoria-member-links a{
        background:transparent!important;
        color:#651b37!important;
    }
}


/* LOCUS-AMANTIUM NAVBAR — clear contrast on white pages */
.header.amoria-header{
    background:#f7edf1!important;
    background-color:#f7edf1!important;
    border-bottom:1px solid #e2cbd4!important;
}

.amoria-nav-main,
.amoria-member-bar,
.amoria-member-bar-inner{
    background:#f7edf1!important;
    background-color:#f7edf1!important;
}

.amoria-brand-icon,
.amoria-brand-copy strong{
    color:#651b37!important;
}

.amoria-brand-copy small{
    color:#76515f!important;
}

.header.amoria-header .amoria-primary-links a,
.amoria-account-actions a,
.amoria-member-links a{
    color:#3f1727!important;
}

.header.amoria-header .amoria-primary-links a:hover,
.amoria-account-actions a:hover,
.amoria-member-links a:hover{
    color:#a72e56!important;
}

.amoria-member-bar{
    border-top:1px solid #e1c8d2!important;
    border-bottom:0!important;
}

.amoria-member-bar-label{
    color:#7e5263!important;
}

.amoria-member-links a span{
    color:#a72e56!important;
}

/* override legacy transparency rule */
.header.amoria-header,
.header.amoria-header .amoria-nav-main,
.header.amoria-header .amoria-member-bar,
.header.amoria-header .amoria-member-bar-inner{
    background:#f7edf1!important;
}


/* =========================================================
   FINAL LOCUS-AMANTIUM NAVBAR — 100% CLEAR / NO COLOR
   ========================================================= */
html body .header.amoria-header,
html body .header.amoria-header .amoria-nav-main,
html body .header.amoria-header .amoria-member-bar,
html body .header.amoria-header .amoria-member-bar-inner{
    background:none!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
}

html body .header.amoria-header{
    border:0!important;
}

html body .header.amoria-header .amoria-member-bar{
    border-top:1px solid rgba(101,27,55,.12)!important;
    border-bottom:0!important;
}

/* Keep everything readable while the navbar itself is totally clear */
html body .header.amoria-header .amoria-brand-icon,
html body .header.amoria-header .amoria-brand-copy strong{
    color:#651b37!important;
}

html body .header.amoria-header .amoria-brand-copy small{
    color:#76515f!important;
}

html body .header.amoria-header .amoria-primary-links a,
html body .header.amoria-header .amoria-account-actions a,
html body .header.amoria-header .amoria-member-links a{
    background:none!important;
    background-color:transparent!important;
    color:#4b1d2f!important;
    box-shadow:none!important;
}

html body .header.amoria-header .amoria-primary-links a:hover,
html body .header.amoria-header .amoria-account-actions a:hover,
html body .header.amoria-header .amoria-member-links a:hover{
    background:none!important;
    color:#a72e56!important;
}

html body .header.amoria-header .amoria-member-links a span{
    color:#a72e56!important;
}

html body .header.amoria-header .amoria-member-bar-label{
    color:#7c5261!important;
}

@media(max-width:820px){
    html body .header.amoria-header,
    html body .header.amoria-header .amoria-member-bar{
        background:none!important;
        background-color:transparent!important;
    }
    html body .header.amoria-header .amoria-menu-toggle{
        background:none!important;
        background-color:transparent!important;
        border-color:rgba(101,27,55,.25)!important;
    }
    html body .header.amoria-header .amoria-menu-toggle span{
        background:#651b37!important;
    }
}


/* =========================================================
   LOCUS-AMANTIUM PROFESSIONAL TRANSPARENT NAVIGATION — FINAL
   Completely transparent desktop header.
   Home uses light text over hero; inner pages use burgundy.
   Member tools moved into a professional Connect dropdown.
   ========================================================= */

.header.amoria-pro-nav{
    position:absolute!important;
    z-index:5000!important;
    top:0!important;
    left:0!important;
    width:100%!important;
    border:0!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

.amoria-pro-nav-inner{
    width:min(1360px,calc(100% - 52px))!important;
    min-height:92px!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:42px!important;
    background:transparent!important;
}

.amoria-pro-brand{
    position:relative!important;
    z-index:2!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:11px!important;
    width:max-content!important;
    min-width:0!important;
    background:transparent!important;
    color:inherit!important;
}

.amoria-pro-heart{
    display:inline-block!important;
    width:auto!important;
    height:auto!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-family:Arial,sans-serif!important;
    font-size:31px!important;
    line-height:1!important;
    transform:none!important;
}

.amoria-pro-brand-copy{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
}

.amoria-pro-brand-copy strong{
    font-family:"Manrope",sans-serif!important;
    font-size:25px!important;
    font-weight:800!important;
    line-height:.95!important;
    letter-spacing:-1px!important;
}

.amoria-pro-brand-copy small{
    margin-top:6px!important;
    font-size:8px!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:1.35px!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
}

.amoria-pro-navigation{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:28px!important;
    background:transparent!important;
}

.amoria-pro-primary{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:31px!important;
    background:transparent!important;
}

.amoria-pro-primary a{
    position:relative!important;
    display:inline-flex!important;
    align-items:center!important;
    min-height:42px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:13px!important;
    font-weight:700!important;
    letter-spacing:.1px!important;
    white-space:nowrap!important;
    transition:opacity .2s ease,color .2s ease!important;
}

.amoria-pro-primary a::after{
    content:""!important;
    position:absolute!important;
    left:0!important;
    bottom:4px!important;
    width:0!important;
    height:2px!important;
    border-radius:99px!important;
    background:currentColor!important;
    opacity:.72!important;
    transition:width .2s ease!important;
}

.amoria-pro-primary a:hover::after,
.amoria-pro-primary a.is-active::after{
    width:100%!important;
}

.amoria-pro-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:9px!important;
    background:transparent!important;
    white-space:nowrap!important;
}

.amoria-pro-actions>a,
.amoria-pro-connect-toggle{
    min-height:40px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:999px!important;
    background:transparent!important;
    box-shadow:none!important;
    font-size:11px!important;
    font-weight:800!important;
    letter-spacing:.15px!important;
    cursor:pointer!important;
}

.amoria-pro-profile-link,
.amoria-pro-login{
    padding:0 10px!important;
    border:0!important;
}

.amoria-pro-logout{
    padding:0 13px!important;
    border:1px solid currentColor!important;
}

.amoria-pro-create{
    padding:0 16px!important;
    border:1px solid currentColor!important;
}

.amoria-pro-connect{
    position:relative!important;
}

.amoria-pro-connect-toggle{
    gap:7px!important;
    padding:0 12px!important;
    border:1px solid currentColor!important;
    color:inherit!important;
}

.amoria-pro-connect-heart{
    font-size:12px!important;
}

.amoria-pro-chevron{
    position:relative!important;
    top:-1px!important;
    font-size:14px!important;
    transition:transform .2s ease!important;
}

.amoria-pro-connect.is-open .amoria-pro-chevron{
    transform:rotate(180deg)!important;
}

.amoria-pro-connect-menu{
    position:absolute!important;
    top:calc(100% + 13px)!important;
    right:0!important;
    width:315px!important;
    padding:13px!important;
    border:1px solid rgba(117,80,94,.16)!important;
    border-radius:18px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 24px 70px rgba(55,24,36,.20)!important;
    opacity:0!important;
    visibility:hidden!important;
    transform:translateY(-7px)!important;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
}

.amoria-pro-connect.is-open .amoria-pro-connect-menu{
    opacity:1!important;
    visibility:visible!important;
    transform:translateY(0)!important;
}

.amoria-pro-menu-kicker{
    display:block!important;
    padding:8px 10px 10px!important;
    color:#9c7181!important;
    font-size:8px!important;
    font-weight:900!important;
    letter-spacing:1.4px!important;
}

.amoria-pro-connect-menu a{
    display:grid!important;
    grid-template-columns:31px minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    padding:10px!important;
    border-radius:11px!important;
    color:#3e2530!important;
    background:transparent!important;
    transition:background .18s ease,transform .18s ease!important;
}

.amoria-pro-connect-menu a:hover{
    background:#fbf4f7!important;
    transform:translateX(2px)!important;
}

.amoria-pro-connect-menu a b{
    display:grid!important;
    place-items:center!important;
    width:29px!important;
    height:29px!important;
    border-radius:50%!important;
    background:#f6e9ee!important;
    color:#8d3152!important;
    font-size:8px!important;
    font-weight:900!important;
}

.amoria-pro-connect-menu a span{
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
}

.amoria-pro-connect-menu a strong{
    color:#3e2530!important;
    font-size:11px!important;
    font-weight:900!important;
}

.amoria-pro-connect-menu a small{
    margin-top:2px!important;
    color:#8d7a82!important;
    font-size:9px!important;
    font-weight:500!important;
}

/* HOME: transparent over the dark hero */
.header.amoria-pro-nav.is-home .amoria-pro-brand,
.header.amoria-pro-nav.is-home .amoria-pro-primary a,
.header.amoria-pro-nav.is-home .amoria-pro-actions,
.header.amoria-pro-nav.is-home .amoria-pro-actions>a,
.header.amoria-pro-nav.is-home .amoria-pro-connect-toggle{
    color:#fff!important;
}

.header.amoria-pro-nav.is-home .amoria-pro-brand-copy small{
    color:rgba(255,255,255,.68)!important;
}

.header.amoria-pro-nav.is-home .amoria-pro-primary a{
    color:rgba(255,255,255,.84)!important;
    text-shadow:0 1px 8px rgba(0,0,0,.22)!important;
}

.header.amoria-pro-nav.is-home .amoria-pro-primary a:hover,
.header.amoria-pro-nav.is-home .amoria-pro-primary a.is-active{
    color:#fff!important;
}

/* INNER PAGES: still transparent, but readable on white/light pages */
.header.amoria-pro-nav.is-inner{
    position:relative!important;
}

.header.amoria-pro-nav.is-inner .amoria-pro-brand,
.header.amoria-pro-nav.is-inner .amoria-pro-primary a,
.header.amoria-pro-nav.is-inner .amoria-pro-actions,
.header.amoria-pro-nav.is-inner .amoria-pro-actions>a,
.header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle{
    color:#651b37!important;
}

.header.amoria-pro-nav.is-inner .amoria-pro-brand-copy small{
    color:#8f6d7a!important;
}

.header.amoria-pro-nav.is-inner .amoria-pro-primary a{
    color:#4e3540!important;
}

.header.amoria-pro-nav.is-inner .amoria-pro-primary a:hover,
.header.amoria-pro-nav.is-inner .amoria-pro-primary a.is-active{
    color:#a72e56!important;
}

/* Keep Connect dropdown text dark on every page */
.header.amoria-pro-nav .amoria-pro-connect-menu,
.header.amoria-pro-nav .amoria-pro-connect-menu *{
    text-shadow:none!important;
}

/* Hamburger */
.amoria-pro-mobile-toggle{
    display:none!important;
    width:43px!important;
    height:43px!important;
    padding:9px!important;
    border:1px solid currentColor!important;
    border-radius:50%!important;
    background:transparent!important;
    color:inherit!important;
}

.amoria-pro-mobile-toggle span{
    display:block!important;
    width:19px!important;
    height:1.5px!important;
    margin:4px auto!important;
    border-radius:5px!important;
    background:currentColor!important;
    transition:transform .2s ease,opacity .2s ease!important;
}

.header.amoria-pro-nav.is-home .amoria-pro-mobile-toggle{color:#fff!important}
.header.amoria-pro-nav.is-inner .amoria-pro-mobile-toggle{color:#651b37!important}

@media(max-width:1080px){
    .amoria-pro-nav-inner{
        width:min(100% - 34px,1360px)!important;
        gap:22px!important;
    }
    .amoria-pro-primary{gap:19px!important}
    .amoria-pro-primary a{font-size:12px!important}
    .amoria-pro-actions{gap:6px!important}
    .amoria-pro-actions>a,
    .amoria-pro-connect-toggle{font-size:10px!important}
}

@media(max-width:880px){
    .amoria-pro-nav-inner{
        min-height:78px!important;
        grid-template-columns:auto auto!important;
        justify-content:space-between!important;
    }

    .amoria-pro-mobile-toggle{
        display:block!important;
    }

    .amoria-pro-navigation{
        position:absolute!important;
        top:70px!important;
        left:17px!important;
        right:17px!important;
        display:none!important;
        grid-template-columns:1fr!important;
        gap:12px!important;
        padding:18px!important;
        border:1px solid rgba(89,52,67,.14)!important;
        border-radius:18px!important;
        background:rgba(255,255,255,.98)!important;
        box-shadow:0 20px 55px rgba(54,26,37,.18)!important;
    }

    .amoria-pro-navigation.is-open{
        display:grid!important;
    }

    .amoria-pro-primary{
        flex-direction:column!important;
        align-items:stretch!important;
        gap:0!important;
    }

    .header.amoria-pro-nav .amoria-pro-primary a{
        width:100%!important;
        min-height:44px!important;
        color:#422832!important;
        text-shadow:none!important;
    }

    .amoria-pro-primary a::after{
        bottom:4px!important;
    }

    .amoria-pro-actions{
        align-items:stretch!important;
        flex-direction:column!important;
        gap:5px!important;
        padding-top:10px!important;
        border-top:1px solid #eee1e6!important;
    }

    .header.amoria-pro-nav .amoria-pro-actions>a,
    .header.amoria-pro-nav .amoria-pro-connect-toggle{
        width:100%!important;
        min-height:44px!important;
        justify-content:flex-start!important;
        padding:0 6px!important;
        border:0!important;
        border-radius:8px!important;
        color:#651b37!important;
    }

    .amoria-pro-connect{
        width:100%!important;
    }

    .amoria-pro-connect-menu{
        position:static!important;
        width:100%!important;
        margin-top:4px!important;
        padding:7px!important;
        border:0!important;
        border-radius:12px!important;
        background:#faf5f7!important;
        box-shadow:none!important;
        opacity:1!important;
        visibility:visible!important;
        transform:none!important;
        display:none!important;
    }

    .amoria-pro-connect.is-open .amoria-pro-connect-menu{
        display:block!important;
    }
}

@media(max-width:520px){
    .amoria-pro-nav-inner{
        width:calc(100% - 24px)!important;
        min-height:72px!important;
    }
    .amoria-pro-heart{font-size:27px!important}
    .amoria-pro-brand-copy strong{font-size:22px!important}
    .amoria-pro-brand-copy small{display:none!important}
}


/* LOCUS-AMANTIUM PROFESSIONAL NAVBAR — LARGER, CLEARER TYPE */
.amoria-pro-brand-copy strong{
    font-size:29px!important;
}
.amoria-pro-brand-copy small{
    font-size:9px!important;
}
.amoria-pro-primary a{
    font-size:16px!important;
    font-weight:800!important;
}
.amoria-pro-actions>a,
.amoria-pro-connect-toggle{
    font-size:14px!important;
    font-weight:800!important;
}
.amoria-pro-connect-menu a strong{
    font-size:14px!important;
}
.amoria-pro-connect-menu a small{
    font-size:11px!important;
}
.amoria-pro-menu-kicker{
    font-size:9px!important;
}
@media(max-width:1080px){
    .amoria-pro-primary a{font-size:14px!important}
    .amoria-pro-actions>a,
    .amoria-pro-connect-toggle{font-size:12px!important}
}
@media(max-width:880px){
    .header.amoria-pro-nav .amoria-pro-primary a{
        font-size:16px!important;
    }
    .header.amoria-pro-nav .amoria-pro-actions>a,
    .header.amoria-pro-nav .amoria-pro-connect-toggle{
        font-size:15px!important;
    }
}


/* =========================================================
   LOCUS-AMANTIUM INNER-PAGE NAVBAR VISIBILITY FIX
   Keeps the navbar transparent while forcing readable menu
   text on view_profile.php and other light-background pages.
   ========================================================= */

html body .header.amoria-pro-nav.is-inner{
    position:relative!important;
    top:auto!important;
    left:auto!important;
    width:100%!important;
    z-index:99999!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
    opacity:1!important;
    visibility:visible!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-nav-inner,
html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions{
    background:transparent!important;
    opacity:1!important;
    visibility:visible!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-brand,
html body .header.amoria-pro-nav.is-inner .amoria-pro-brand *,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a,
html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle{
    color:#651b37!important;
    opacity:1!important;
    visibility:visible!important;
    text-shadow:none!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a{
    font-size:16px!important;
    font-weight:800!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a,
html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle{
    font-size:14px!important;
    font-weight:800!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a.is-active,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle:hover{
    color:#a72e56!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a::after{
    background:#a72e56!important;
}

/* Make sure profile-page content cannot overlap and hide the navbar */
html body .header.amoria-pro-nav.is-inner + *{
    position:relative;
    z-index:1;
}

/* Mobile menu must remain visible on inner pages */
@media(max-width:880px){
    html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
        z-index:100000!important;
        background:rgba(255,255,255,.98)!important;
    }

    html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a,
    html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a,
    html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle{
        color:#651b37!important;
    }

    html body .header.amoria-pro-nav.is-inner .amoria-pro-mobile-toggle{
        color:#651b37!important;
        opacity:1!important;
        visibility:visible!important;
    }
}


/* LOCUS-AMANTIUM NAVBAR — PROFESSIONAL BOTTOM DIVIDER */
html body .header.amoria-pro-nav{
    border-bottom:1px solid rgba(101,27,55,.24)!important;
}

/* Slightly brighter divider over the dark homepage hero */
html body .header.amoria-pro-nav.is-home{
    border-bottom:1px solid rgba(255,255,255,.30)!important;
}

/* Burgundy divider on light inner pages */
html body .header.amoria-pro-nav.is-inner{
    border-bottom:1px solid rgba(101,27,55,.28)!important;
}


/* =========================================================
   LOCUS-AMANTIUM FINAL NAVBAR RULES
   index.php       = transparent, NO bottom line
   all other pages = #822549 background
   supplied LOCUS-AMANTIUM image logo restored
   ========================================================= */

/* Restored LOCUS-AMANTIUM navbar image logo */
html body .header.amoria-pro-nav .amoria-pro-brand-image{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    width:auto!important;
    min-width:0!important;
    padding:0!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    text-decoration:none!important;
}

html body .header.amoria-pro-nav .amoria-navbar-logo{
    display:block!important;
    width:auto!important;
    height:58px!important;
    max-width:300px!important;
    object-fit:contain!important;
    object-position:left center!important;
    background:transparent!important;
}

/* INDEX/HOME: completely transparent and NO lower divider */
html body .header.amoria-pro-nav.is-home{
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
}

/* EVERY PAGE APART FROM INDEX */
html body .header.amoria-pro-nav.is-inner{
    background:#822549!important;
    background-color:#822549!important;
    background-image:none!important;
    border:0!important;
    border-bottom:1px solid rgba(255,255,255,.18)!important;
    box-shadow:none!important;
}

/* Inner-page navbar content remains on the burgundy navbar */
html body .header.amoria-pro-nav.is-inner .amoria-pro-nav-inner,
html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions{
    background:transparent!important;
}

/* White navigation text on #822549 */
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a,
html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle{
    color:#fff!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a.is-active,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle:hover{
    color:#ffd5e5!important;
}

html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a::after{
    background:#ff6fa4!important;
}

/* Keep outlined/member controls readable on inner pages */
html body .header.amoria-pro-nav.is-inner .amoria-pro-create,
html body .header.amoria-pro-nav.is-inner .amoria-pro-logout,
html body .header.amoria-pro-nav.is-inner .amoria-pro-profile-link,
html body .header.amoria-pro-nav.is-inner .amoria-pro-login{
    border-color:rgba(255,255,255,.55)!important;
}

/* Mobile */
@media(max-width:880px){
    html body .header.amoria-pro-nav .amoria-navbar-logo{
        height:50px!important;
        max-width:245px!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-navigation{
        border-top:0!important;
    }

    html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
        background:#822549!important;
    }

    html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a,
    html body .header.amoria-pro-nav.is-inner .amoria-pro-actions>a,
    html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle{
        color:#fff!important;
    }

    html body .header.amoria-pro-nav.is-inner .amoria-pro-mobile-toggle span{
        background:#fff!important;
    }
}

@media(max-width:520px){
    html body .header.amoria-pro-nav .amoria-navbar-logo{
        height:44px!important;
        max-width:210px!important;
    }
}


/* LOCUS-AMANTIUM FINAL INNER-PAGE NAVBAR COLOR — #21181c */
html body .header.amoria-pro-nav.is-inner{
    background:#21181c!important;
    background-color:#21181c!important;
}
html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
    background:transparent!important;
}
@media(max-width:880px){
    html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
        background:#21181c!important;
    }
}


/* LOCUS-AMANTIUM FINAL INNER-PAGE NAVBAR COLOR — #d03e67 */
html body .header.amoria-pro-nav.is-inner{
    background:#d03e67!important;
    background-color:#d03e67!important;
}
html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
    background:transparent!important;
}
@media(max-width:880px){
    html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
        background:#d03e67!important;
    }
}


/* LOCUS-AMANTIUM FINAL NAVBAR — MATCH FRIENDS & CHAT "LOCUS-AMANTIUM CONNECTIONS" HERO */
html body .header.amoria-pro-nav.is-inner{
    background:#651b37!important;
    background-color:#651b37!important;
    background-image:linear-gradient(135deg,#651b37,#9f3159)!important;
}
html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
    background:transparent!important;
}
@media(max-width:880px){
    html body .header.amoria-pro-nav.is-inner .amoria-pro-navigation{
        background:#651b37!important;
        background-image:linear-gradient(135deg,#651b37,#9f3159)!important;
    }
}

/* LOCUS-AMANTIUM MEMBERS — RED FRIEND BUTTONS */
body.members-page-body .member-friend-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;margin:16px 0 18px!important}
body.members-page-body .member-friend-actions form{margin:0!important}
body.members-page-body .member-add-friend,
body.members-page-body .member-accept-friend,
body.members-page-body .member-friends-button,
body.members-page-body .member-chat-friend{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:0 17px!important;border-radius:10px!important;font-family:"DM Sans",Arial,sans-serif!important;font-size:12px!important;font-weight:900!important;line-height:1!important;text-decoration:none!important;transition:.2s ease!important}
body.members-page-body .member-add-friend{border:1px solid #d6284f!important;background:linear-gradient(135deg,#ef365d,#cf2049 55%,#a81438)!important;color:#fff!important;box-shadow:0 9px 20px rgba(199,31,70,.24)!important;cursor:pointer!important}
body.members-page-body .member-add-friend:hover{transform:translateY(-2px)!important;background:linear-gradient(135deg,#ff4168,#c71943)!important;box-shadow:0 12px 25px rgba(199,31,70,.32)!important}
body.members-page-body .member-friends-button{border:1px solid #c91f47!important;background:#fff!important;color:#bd1d43!important;box-shadow:0 6px 15px rgba(151,29,59,.10)!important;cursor:default!important}
body.members-page-body .member-accept-friend{border:1px solid #258354!important;background:#2b8b59!important;color:#fff!important;box-shadow:0 8px 18px rgba(43,139,89,.20)!important;cursor:pointer!important}
body.members-page-body .member-chat-friend{border:1px solid #ead1da!important;background:#fff5f8!important;color:#8f2347!important}
body.members-page-body .member-chat-friend:hover{transform:translateY(-2px)!important;border-color:#dc9eb2!important;background:#ffeaf1!important}
body.members-page-body .member-request-state{min-height:42px!important;display:inline-flex!important;align-items:center!important;padding:0 15px!important;border:1px solid #eadce1!important;border-radius:10px!important;background:#f8f4f5!important;color:#77666d!important;font-size:11px!important;font-weight:800!important}

/* FINAL — accepted Friends button is green */
body.members-page-body .member-friends-button{
    border:1px solid #237a4d!important;
    background:linear-gradient(135deg,#35a86d,#278858)!important;
    color:#fff!important;
    box-shadow:0 7px 17px rgba(43,139,89,.22)!important;
}


/* LOCUS-AMANTIUM HOME — MEMBERS NEAR YOU LOGIN PROTECTION */
.member-bubbles-protected .member-bubble{
    cursor:pointer!important;
}
.member-bubbles-protected .member-bubble-photo{
    position:relative!important;
    overflow:hidden!important;
    background:#eadfe2!important;
}
.member-bubbles-protected .member-bubble-photo img{
    filter:blur(13px) brightness(.62)!important;
    transform:scale(1.13)!important;
    user-select:none!important;
    pointer-events:none!important;
}
.member-bubbles-protected .member-bubble-photo::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,rgba(33,24,28,.18),rgba(131,31,66,.36));
    border-radius:inherit;
    pointer-events:none;
}
.member-photo-lock{
    position:absolute!important;
    z-index:3!important;
    left:50%!important;
    top:50%!important;
    transform:translate(-50%,-50%)!important;
    width:44px!important;
    height:44px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.72)!important;
    border-radius:50%!important;
    background:rgba(33,24,28,.72)!important;
    color:#fff!important;
    font-size:18px!important;
    box-shadow:0 8px 24px rgba(33,24,28,.24)!important;
    backdrop-filter:blur(7px)!important;
}
.member-bubbles-protected .member-bubble strong{
    color:#5c4d53!important;
}
.member-bubbles-protected .member-bubble small{
    color:#9a8b91!important;
}
.member-bubbles-protected .member-bubble:hover .member-bubble-photo img{
    filter:blur(13px) brightness(.68)!important;
    transform:scale(1.16)!important;
}
#loginRequiredModal.login-required-modal{
    z-index:20000!important;
}
#loginRequiredModal .login-required-dialog{
    border:1px solid rgba(255,255,255,.72)!important;
    box-shadow:0 28px 80px rgba(33,24,28,.32)!important;
}
#loginRequiredModal .login-required-primary{
    background:linear-gradient(135deg,#df466f 0%,#b62f59 55%,#831f42 100%)!important;
    color:#fff!important;
}
#loginRequiredModal .login-required-secondary{
    border-color:#df466f!important;
    color:#a32750!important;
    background:#fff!important;
}


/* FINAL — show nearby member photos normally, but keep profile access locked */
.member-bubbles-protected .member-bubble-photo img{
    filter:none!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:none!important;
}

.member-bubbles-protected .member-bubble-photo::after{
    background:transparent!important;
}

.member-bubbles-protected .member-bubble:hover .member-bubble-photo img{
    filter:none!important;
    transform:scale(1.035)!important;
}

/* Small lock badge shows that profile access requires login without hiding image */
.member-bubbles-protected .member-photo-lock{
    left:auto!important;
    top:10px!important;
    right:10px!important;
    transform:none!important;
    width:31px!important;
    height:31px!important;
    font-size:13px!important;
    background:rgba(33,24,28,.76)!important;
    border:1px solid rgba(255,255,255,.82)!important;
}

/* Keep visible member text natural */
.member-bubbles-protected .member-bubble strong{
    color:inherit!important;
}
.member-bubbles-protected .member-bubble small{
    color:inherit!important;
}


/* =========================================================
   LOCUS-AMANTIUM FINAL COLOR UPDATE — #d03e67
   Navbar hover + homepage banner highlight/button
   ========================================================= */

/* Navbar menu text changes to #d03e67 on mouse hover */
html body .header.amoria-pro-nav .amoria-pro-primary a:hover,
html body .header.amoria-pro-nav .amoria-pro-actions > a:hover,
html body .header.amoria-pro-nav .amoria-pro-connect-toggle:hover,
html body .header.amoria-pro-nav .links a:hover{
    color:#d03e67!important;
}

/* Navbar hover underline/accent */
html body .header.amoria-pro-nav .amoria-pro-primary a:hover::after,
html body .header.amoria-pro-nav .links a:hover::after{
    background:#d03e67!important;
}

/* Homepage banner highlighted text: replaces #ff9bb5 */
html body .hero h1 em,
html body .hero-copy h1 em{
    color:#d03e67!important;
}

/* Main banner CTA button below the text */
html body .hero .btn-primary,
html body .hero-copy .btn-primary{
    background:#d03e67!important;
    background-color:#d03e67!important;
    color:#fff!important;
    box-shadow:0 15px 35px rgba(208,62,103,.30)!important;
}

html body .hero .btn-primary:hover,
html body .hero-copy .btn-primary:hover{
    background:#b92f59!important;
    background-color:#b92f59!important;
    color:#fff!important;
}


/* LOCUS-AMANTIUM GLOBAL LANGUAGE SELECTOR */
.amoria-language{position:relative;display:flex;align-items:center}
.amoria-language-toggle{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 11px;border:1px solid rgba(255,255,255,.24);border-radius:10px;background:rgba(255,255,255,.08);color:inherit;font:inherit;font-size:13px;font-weight:800;cursor:pointer;white-space:nowrap}
.amoria-language-toggle:hover{color:#d03e67!important;border-color:#d03e67!important;background:rgba(255,255,255,.96)}
.amoria-language-menu{position:absolute;z-index:1000;top:calc(100% + 13px);right:0;width:210px;padding:10px;border:1px solid #eadfe2;border-radius:14px;background:#fff;color:#241d22;box-shadow:0 22px 55px rgba(48,22,33,.18);opacity:0;visibility:hidden;transform:translateY(-7px);transition:.2s ease}
.amoria-language.is-open .amoria-language-menu{opacity:1;visibility:visible;transform:translateY(0)}
.amoria-language-menu .amoria-pro-menu-kicker{display:block;padding:7px 9px 9px;color:#a32750;font-size:9px;font-weight:900;letter-spacing:1.3px}
.amoria-language-menu a{display:flex!important;align-items:center;gap:10px;padding:10px 9px!important;border-radius:9px;color:#493a40!important;font-size:13px!important;text-decoration:none}
.amoria-language-menu a:hover,.amoria-language-menu a.is-current{background:#fff0f4!important;color:#d03e67!important}
.amoria-language-menu a::after{display:none!important}
@media(max-width:880px){.amoria-language{width:100%;padding:6px 0}.amoria-language-toggle{width:100%;justify-content:flex-start}.amoria-language-menu{position:static;width:100%;margin-top:7px;display:none;opacity:1;visibility:visible;transform:none;box-shadow:none}.amoria-language.is-open .amoria-language-menu{display:block}}


/* LOCUS-AMANTIUM LANGUAGE BUTTON — SHOW SELECTED COUNTRY FLAG */
.amoria-language-current-flag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:19px;
    line-height:1;
    width:24px;
    height:24px;
    flex:0 0 24px;
}
.amoria-language-toggle{
    gap:8px!important;
}

/* FINAL LANGUAGE FLAGS — LOCAL SVG IMAGES, NOT EMOJI */
.amoria-language-current-flag img,
.amoria-language-option-flag img{
    display:block!important;
    width:26px!important;
    height:17px!important;
    object-fit:cover!important;
    border-radius:3px!important;
    box-shadow:0 0 0 1px rgba(0,0,0,.12)!important;
}
.amoria-language-option-flag{
    display:inline-flex!important;
    width:28px!important;
    min-width:28px!important;
    align-items:center!important;
    justify-content:center!important;
}
.amoria-language-menu a{
    grid-template-columns:28px 1fr!important;
}

/* LANGUAGE FLAG VISIBILITY FIX */
.amoria-language-current-flag img,
.amoria-language-option-flag img{
    background:#fff!important;
    object-position:center!important;
}


/* =========================================================
   LOCUS-AMANTIUM INDEX NAVBAR + BUTTONS — FINAL FIX
   ========================================================= */
html body .header.amoria-pro-nav.is-home{
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    z-index:10000!important;
    background:linear-gradient(180deg,rgba(22,7,14,.48) 0%,rgba(22,7,14,.16) 62%,rgba(22,7,14,0) 100%)!important;
    border:0!important;
    box-shadow:none!important;
    pointer-events:auto!important;
}

html body .header.amoria-pro-nav.is-home *{
    box-sizing:border-box;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-nav-inner{
    width:min(1320px,calc(100% - 48px))!important;
    min-height:92px!important;
    margin:0 auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:24px!important;
    position:relative!important;
    z-index:10001!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-brand{
    display:flex!important;
    align-items:center!important;
    flex:0 0 auto!important;
    position:relative!important;
    z-index:10002!important;
    pointer-events:auto!important;
}

html body .header.amoria-pro-nav.is-home .amoria-navbar-logo{
    display:block!important;
    width:auto!important;
    height:52px!important;
    max-width:240px!important;
    object-fit:contain!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-navigation{
    flex:1 1 auto!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:24px!important;
    position:relative!important;
    z-index:10002!important;
    pointer-events:auto!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-primary,
html body .header.amoria-pro-nav.is-home .amoria-pro-actions{
    display:flex!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:20px!important;
    pointer-events:auto!important;
}

html body .header.amoria-pro-nav.is-home a,
html body .header.amoria-pro-nav.is-home button{
    position:relative!important;
    z-index:10003!important;
    pointer-events:auto!important;
    cursor:pointer!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-primary a{
    color:#fff!important;
    white-space:nowrap!important;
    font-size:16px!important;
    font-weight:750!important;
    line-height:1!important;
    text-shadow:0 1px 9px rgba(0,0,0,.34)!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-primary a:hover{
    color:#ffb9ca!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language{
    position:relative!important;
    flex:0 0 auto!important;
    z-index:10010!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-toggle{
    min-height:42px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:0 12px!important;
    border:1px solid rgba(255,255,255,.38)!important;
    border-radius:10px!important;
    background:rgba(25,7,15,.24)!important;
    color:#fff!important;
    white-space:nowrap!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-current-flag{
    width:22px!important;
    height:15px!important;
    display:inline-flex!important;
    flex:0 0 22px!important;
    overflow:hidden!important;
    border-radius:2px!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-current-flag img{
    display:block!important;
    width:22px!important;
    height:15px!important;
    max-width:22px!important;
    max-height:15px!important;
    object-fit:cover!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-menu{
    position:absolute!important;
    top:calc(100% + 10px)!important;
    right:0!important;
    min-width:220px!important;
    padding:8px!important;
    border-radius:12px!important;
    background:#fff!important;
    box-shadow:0 18px 45px rgba(0,0,0,.24)!important;
    z-index:11000!important;
    pointer-events:auto!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-menu[hidden]{
    display:none!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-menu.is-open{
    display:block!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-menu a{
    display:flex!important;
    width:100%!important;
    align-items:center!important;
    gap:10px!important;
    min-height:38px!important;
    padding:7px 9px!important;
    color:#40212d!important;
    text-shadow:none!important;
    border-radius:8px!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-menu a:hover{
    background:#fff0f4!important;
    color:#d03e67!important;
}

html body .header.amoria-pro-nav.is-home .amoria-language-option-flag,
html body .header.amoria-pro-nav.is-home .amoria-language-option-flag img{
    width:24px!important;
    height:16px!important;
    max-width:24px!important;
    max-height:16px!important;
    object-fit:cover!important;
    display:block!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-login,
html body .header.amoria-pro-nav.is-home .amoria-pro-create,
html body .header.amoria-pro-nav.is-home .amoria-pro-profile-link,
html body .header.amoria-pro-nav.is-home .amoria-pro-logout{
    min-height:42px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:0 15px!important;
    border-radius:10px!important;
    white-space:nowrap!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-create{
    background:#d03e67!important;
    border:1px solid #d03e67!important;
    color:#fff!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-login{
    border:1px solid rgba(255,255,255,.42)!important;
    background:rgba(255,255,255,.07)!important;
    color:#fff!important;
}

html body .header.amoria-pro-nav.is-home .amoria-pro-menu-toggle{
    display:none!important;
    min-width:44px!important;
    min-height:42px!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(255,255,255,.38)!important;
    border-radius:10px!important;
    background:rgba(25,7,15,.24)!important;
    color:#fff!important;
}

@media(max-width:1080px){
    html body .header.amoria-pro-nav.is-home .amoria-pro-nav-inner{
        width:calc(100% - 30px)!important;
        gap:14px!important;
    }
    html body .header.amoria-pro-nav.is-home .amoria-navbar-logo{
        height:46px!important;
        max-width:205px!important;
    }
    html body .header.amoria-pro-nav.is-home .amoria-pro-primary,
    html body .header.amoria-pro-nav.is-home .amoria-pro-actions{
        gap:13px!important;
    }
    html body .header.amoria-pro-nav.is-home .amoria-pro-primary a{
        font-size:14px!important;
    }
}

@media(max-width:880px){
    html body .header.amoria-pro-nav.is-home{
        background:rgba(49,14,28,.86)!important;
        backdrop-filter:blur(10px)!important;
        -webkit-backdrop-filter:blur(10px)!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-nav-inner{
        min-height:74px!important;
        width:calc(100% - 24px)!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-menu-toggle{
        display:inline-flex!important;
        margin-left:auto!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-navigation{
        position:absolute!important;
        top:74px!important;
        left:0!important;
        right:0!important;
        width:100%!important;
        display:none!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:10px!important;
        padding:16px!important;
        border-radius:14px!important;
        background:#651b37!important;
        box-shadow:0 18px 48px rgba(0,0,0,.28)!important;
        z-index:12000!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-navigation.is-open{
        display:flex!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-primary,
    html body .header.amoria-pro-nav.is-home .amoria-pro-actions{
        width:100%!important;
        flex-direction:column!important;
        align-items:stretch!important;
        gap:6px!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-pro-primary a,
    html body .header.amoria-pro-nav.is-home .amoria-pro-actions>a,
    html body .header.amoria-pro-nav.is-home .amoria-language-toggle{
        width:100%!important;
        min-height:44px!important;
        justify-content:flex-start!important;
        padding:0 12px!important;
    }

    html body .header.amoria-pro-nav.is-home .amoria-language-menu{
        position:static!important;
        width:100%!important;
        margin-top:7px!important;
        box-shadow:none!important;
    }
}

@media(max-width:520px){
    html body .header.amoria-pro-nav.is-home .amoria-navbar-logo{
        height:39px!important;
        max-width:165px!important;
    }
}


/* =========================================================
   LOCUS-AMANTIUM LANGUAGE BUTTON — SINGLE CONTROLLER FIX 20260830
   ========================================================= */
.amoria-language-menu[hidden],
.amoria-pro-connect-menu[hidden]{
    display:none!important;
}

.amoria-language.is-open .amoria-language-menu,
.amoria-language-menu.is-open{
    display:block!important;
    pointer-events:auto!important;
    visibility:visible!important;
    opacity:1!important;
}

.amoria-pro-connect.is-open .amoria-pro-connect-menu,
.amoria-pro-connect-menu.is-open{
    display:block!important;
    pointer-events:auto!important;
    visibility:visible!important;
    opacity:1!important;
}

.amoria-language-toggle,
.amoria-language-menu,
.amoria-language-menu a{
    pointer-events:auto!important;
}

.amoria-language-menu{
    z-index:20000!important;
}


/* LOCUS-AMANTIUM FOOTER SOCIAL MEDIA */
.amoria-social-footer{
  width:min(1180px,calc(100% - 36px));
  margin:0 auto;
  padding:22px 0 24px;
  border-top:1px solid rgba(255,255,255,.12);
}
.amoria-social-title{
  margin-bottom:12px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.amoria-social-links{display:flex;flex-wrap:wrap;gap:10px}
.amoria-social-btn{
  display:inline-flex!important;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0 13px;
  border-radius:10px;
  text-decoration:none!important;
  font-size:12px;
  font-weight:800;
  background:rgba(255,255,255,.08);
  color:inherit!important;
  border:1px solid rgba(255,255,255,.12);
  transition:transform .18s ease,background .18s ease;
}
.amoria-social-btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.16)}
.amoria-social-btn span{
  width:24px;height:24px;border-radius:7px;
  display:grid;place-items:center;
  font-size:15px;font-weight:900;
  background:rgba(255,255,255,.13)
}
@media(max-width:620px){
  .amoria-social-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .amoria-social-btn{justify-content:center}
}


/* LOCUS-AMANTIUM NAVBAR MAIN-COLOR HOVER + PAGE WOW 20260831-0127 */
:root{
    --amoria-main:#651b37;
}

/* Navbar hover now uses the main LOCUS-AMANTIUM burgundy instead of pink. */
html body .header.amoria-pro-nav .amoria-pro-primary a:hover,
html body .header.amoria-pro-nav .amoria-pro-actions > a:hover,
html body .header.amoria-pro-nav .amoria-pro-connect-toggle:hover,
html body .header.amoria-pro-nav .links a:hover,
html body .header.amoria-pro-nav.is-home .amoria-pro-primary a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-actions > a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-pro-connect-toggle:hover{
    color:var(--amoria-main)!important;
}

html body .header.amoria-pro-nav .amoria-pro-primary a:hover::after,
html body .header.amoria-pro-nav .links a:hover::after,
html body .header.amoria-pro-nav.is-home .amoria-pro-primary a:hover::after,
html body .header.amoria-pro-nav.is-inner .amoria-pro-primary a:hover::after{
    background:var(--amoria-main)!important;
    background-color:var(--amoria-main)!important;
}

html body .header.amoria-pro-nav .amoria-language-toggle:hover{
    color:var(--amoria-main)!important;
    border-color:var(--amoria-main)!important;
}

html body .header.amoria-pro-nav .amoria-language-menu a:hover,
html body .header.amoria-pro-nav .amoria-language-menu a.is-current,
html body .header.amoria-pro-nav.is-home .amoria-language-menu a:hover,
html body .header.amoria-pro-nav.is-inner .amoria-language-menu a:hover{
    color:var(--amoria-main)!important;
    border-color:rgba(101,27,55,.16)!important;
    background:rgba(101,27,55,.08)!important;
}

/* Smooth WOW reveal without layout shift. */
.index-wow-page .wow{
    visibility:hidden;
    will-change:transform,opacity;
}
.index-wow-page .wow.animate__animated{
    visibility:visible;
}
@media (prefers-reduced-motion: reduce){
    .index-wow-page .wow{
        visibility:visible!important;
        animation:none!important;
        transform:none!important;
        opacity:1!important;
    }
}



/* LOCUS-AMANTIUM REQUESTED TARGET WOW 20260831-0131 */
.amoria-target-wow{
    display:inline-block;
    max-width:100%;
}
.header.amoria-pro-nav .amoria-requested-wow{
    animation-duration:.85s;
}
footer .amoria-requested-wow{
    transform-origin:center;
}
@media (prefers-reduced-motion: reduce){
    .amoria-target-wow,
    .amoria-requested-wow{
        animation:none!important;
        visibility:visible!important;
        opacity:1!important;
        transform:none!important;
    }
}


/* LOCUS-AMANTIUM SELF-CONTAINED WOW-STYLE ANIMATION 20260831-0135 */

/* Navbar menu load animation */
html body .header.amoria-pro-nav .amoria-menu-reveal{
    opacity:0!important;
    transform:translateY(-16px) scale(.98)!important;
    transition:
        opacity .58s cubic-bezier(.22,.61,.36,1) var(--amoria-delay,0ms),
        transform .58s cubic-bezier(.22,.61,.36,1) var(--amoria-delay,0ms)!important;
    will-change:opacity,transform;
}
html body .header.amoria-pro-nav .amoria-menu-reveal.is-visible{
    opacity:1!important;
    transform:translateY(0) scale(1)!important;
}

/* Scroll reveal engine — independent of WOW.js / CDN */
html body.index-wow-page .amoria-reveal{
    visibility:visible!important;
    opacity:0!important;
    transition:
        opacity .72s cubic-bezier(.22,.61,.36,1) var(--amoria-delay,0ms),
        transform .72s cubic-bezier(.22,.61,.36,1) var(--amoria-delay,0ms)!important;
    will-change:opacity,transform;
}

html body.index-wow-page .amoria-reveal.amoria-rise{
    transform:translate3d(0,34px,0)!important;
}
html body.index-wow-page .amoria-reveal.amoria-slide-left{
    transform:translate3d(-42px,0,0)!important;
}
html body.index-wow-page .amoria-reveal.amoria-slide-right{
    transform:translate3d(42px,0,0)!important;
}
html body.index-wow-page .amoria-reveal.amoria-zoom{
    transform:scale(.88)!important;
}

html body.index-wow-page .amoria-reveal.is-visible{
    opacity:1!important;
    transform:translate3d(0,0,0) scale(1)!important;
}

html body.index-wow-page .amoria-delay-1{
    --amoria-delay:110ms;
}

/* Footer logo gets a more noticeable zoom reveal. */
html body.index-wow-page footer .footer-logo.amoria-reveal{
    transform-origin:left center;
}

/* Keep animation accessible. */
@media (prefers-reduced-motion: reduce){
    html body .header.amoria-pro-nav .amoria-menu-reveal,
    html body.index-wow-page .amoria-reveal{
        visibility:visible!important;
        opacity:1!important;
        transform:none!important;
        transition:none!important;
    }
}



/* LOCUS-AMANTIUM CHINESE HERO HARD SWITCH */
html body section.hero > img.hero-photo.amoria-hero-photo-img{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    display:block!important;
    object-fit:cover!important;
    object-position:center!important;
    opacity:1!important;
    visibility:visible!important;
    z-index:0!important;
    background:none!important;
}
html body section.hero > .hero-overlay{z-index:1!important}
html body section.hero > .hero-inner{position:relative!important;z-index:2!important}


/* LOCUS-AMANTIUM shared navbar/footer image logo */
footer .footer-logo-image {
    display: inline-flex !important;
    align-items: center;
    width: min(300px, 100%) !important;
    height: auto !important;
    min-height: 70px;
    padding: 0 !important;
    margin: 0 0 18px !important;
    background: none !important;
    text-decoration: none !important;
}
footer .footer-logo-image::before,
footer .footer-logo-image::after { content: none !important; display: none !important; }
footer .amoria-footer-logo {
    display: block !important;
    width: 100% !important;
    max-width: 300px !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
}
@media (max-width: 700px) {
    footer .footer-logo-image { width: min(250px, 100%) !important; min-height: 58px; }
    footer .amoria-footer-logo { max-width: 250px !important; }
}


/* Homepage navbar readability enhancement */
html body .header.amoria-pro-nav.is-home .amoria-language-toggle,
html body .header.amoria-pro-nav.is-home .amoria-pro-login,
html body .header.amoria-pro-nav.is-home .amoria-pro-create,
html body .header.amoria-pro-nav.is-home .amoria-pro-profile-link,
html body .header.amoria-pro-nav.is-home .amoria-pro-logout{
    font-size:14px!important;
    font-weight:800!important;
}

/* Homepage Like button - preserves original index card design */
.home-like-actions { margin-top: 10px; }
.home-like-actions.compact { margin-top: 8px; }
.home-like-form { margin: 0; width: 100%; }
.home-like-btn {
    width: 100%;
    min-height: 40px;
    border: 1px solid #d93a69;
    border-radius: 999px;
    background: #fff;
    color: #b91f52;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
}
.home-like-btn:hover { background: #fff2f6; }
.home-like-btn span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #f8d9e4;
    color: #8f1740;
    font-size: 12px;
}

/* LOCUS-AMANTIUM date image/banner: edge-to-edge, square corners */
.date-gradient{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    border-radius:0 !important;
    overflow:hidden !important;
}
.date-gradient img,
.date-gradient picture,
.date-gradient video{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:100% !important;
    object-fit:cover !important;
    border-radius:0 !important;
}


/* FINAL OVERRIDE — remove every radius from the date-gradient banner */
.date-gradient,
.date-gradient::before,
.date-gradient::after,
.date-gradient img,
.date-gradient picture,
.date-gradient picture img{
    border-radius:0 !important;
    -webkit-border-radius:0 !important;
}


/* TRUE DATE BANNER SQUARE-CORNER OVERRIDE */
.why-date,
.why-date .why-photo,
.why-date .date-photo,
.why-date .date-photo img,
.why-date .why-photo img,
.why-date .date-gradient{
    border-radius:0 !important;
    -webkit-border-radius:0 !important;
}


/* LOCUS-AMANTIUM profile upload/display — show complete 800x1000 image */
.photos-page-body .passport-preview{
    aspect-ratio:4/5!important;
    background:#f4eef1!important;
}
.photos-page-body .passport-preview img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#f4eef1!important;
}
.profile-photo-card{
    background:#f4eef1!important;
}
.profile-photo-card img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/5!important;
    object-fit:contain!important;
    object-position:center center!important;
    background:#f4eef1!important;
}


/* =========================================================
   PROFILE — LOCATION DISCOVERY CARD
   ========================================================= */
.profile-location-card{
    width:min(1180px,calc(100% - 40px));
    margin:0 auto 80px;
    padding:28px 30px;
    display:grid;
    grid-template-columns:70px 1fr;
    gap:22px;
    align-items:start;
    border:1px solid #eadde3;
    border-radius:22px;
    background:linear-gradient(135deg,#fff 0%,#fff8fa 100%);
    box-shadow:0 18px 44px rgba(71,31,49,.08);
}
.profile-location-icon{
    width:70px;
    height:70px;
    display:grid;
    place-items:center;
    border-radius:20px;
    background:#6f2343;
    color:#fff;
    font-size:30px;
    box-shadow:0 12px 28px rgba(111,35,67,.2);
}
.profile-location-copy .overline{
    display:block;
    margin-bottom:5px;
    color:#b93d66;
    font-size:10px;
    font-weight:900;
    letter-spacing:1.2px;
    text-transform:uppercase;
}
.profile-location-copy h2{
    margin:0;
    color:#321f28;
    font-family:"Manrope",sans-serif;
    font-size:clamp(25px,3vw,34px);
    letter-spacing:-1px;
}
.profile-location-copy p{
    max-width:720px;
    margin:9px 0 0;
    color:#766870;
    font-size:13px;
    line-height:1.7;
}
.profile-location-actions{
    display:flex;
    flex-wrap:wrap;
    gap:11px;
    margin-top:20px;
}
.profile-location-primary,
.profile-location-secondary{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 18px;
    border-radius:12px;
    font:900 12px "DM Sans",Arial,sans-serif;
    text-decoration:none;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.profile-location-primary{
    border:0;
    background:#6f2343;
    color:#fff;
    cursor:pointer;
    box-shadow:0 10px 24px rgba(111,35,67,.19);
}
.profile-location-secondary{
    border:1px solid #decbd3;
    background:#fff;
    color:#6f2343;
}
.profile-location-primary:hover,
.profile-location-secondary:hover{
    transform:translateY(-2px);
}
.profile-location-secondary:hover{
    border-color:#b86b89;
}
.profile-location-status{
    display:block;
    min-height:20px;
    margin-top:12px;
    color:#496d59;
    font-size:12px;
    font-weight:800;
}
@media(max-width:700px){
    .profile-location-card{
        width:calc(100% - 28px);
        margin-bottom:56px;
        padding:22px 18px;
        grid-template-columns:1fr;
    }
    .profile-location-icon{
        width:58px;
        height:58px;
        border-radius:16px;
        font-size:25px;
    }
    .profile-location-actions{
        display:grid;
        grid-template-columns:1fr;
    }
    .profile-location-primary,
    .profile-location-secondary{
        width:100%;
    }
}


/* PROFILE LOCATION — functional approved/toggle state */
.profile-location-primary.is-approved{
    background:linear-gradient(135deg,#1f9d61,#147744)!important;
    color:#fff!important;
    border-color:#147744!important;
    box-shadow:0 11px 26px rgba(31,157,97,.25)!important;
}
.profile-location-primary.is-approved:hover{
    background:linear-gradient(135deg,#25aa6c,#116b3c)!important;
    box-shadow:0 14px 30px rgba(31,157,97,.32)!important;
}
.profile-location-primary.is-loading{
    opacity:.72;
    cursor:wait;
    transform:none!important;
}
.profile-location-primary:disabled{
    pointer-events:none;
}
.profile-location-button-icon{
    min-width:20px;
    font-size:16px;
    line-height:1;
}
.profile-location-primary.is-approved .profile-location-button-icon{
    display:grid;
    place-items:center;
    width:22px;
    height:22px;
    border-radius:50%;
    background:rgba(255,255,255,.18);
}
.profile-location-status.is-success{
    color:#16804d!important;
}


/* Location Search — mirror Profile location approval state */
.am2-btn.am2-btn-dark.is-location-approved{
    background:linear-gradient(135deg,#1f9d61,#147744)!important;
    border-color:#147744!important;
    color:#fff!important;
    box-shadow:0 10px 24px rgba(31,157,97,.24)!important;
}
.am2-btn.am2-btn-dark.is-location-approved:hover{
    background:linear-gradient(135deg,#25aa6c,#116b3c)!important;
    box-shadow:0 13px 28px rgba(31,157,97,.30)!important;
}
