/*!
 * Metro Matrimony - page specific styles
 */

/* =========================================================
   HOME
   ========================================================= */
.home-hero { position: relative; overflow: hidden; background: var(--mm-pink-100) url("../img/hero-bg.jpg") center / cover no-repeat; }
.home-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) 400px; align-items: center; min-height: 500px; }
.home-hero-copy { position: relative; z-index: 3; padding: 34px 0 40px; }
.hero-script { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mm-script); font-size: 30px; font-weight: 600; color: var(--mm-primary-dark); margin-bottom: 8px; }
.hero-script-heart { width: 40px; height: 30px; color: var(--mm-primary); margin-top: -10px; }
.home-hero h1 { font-size: 48px; font-weight: 700; line-height: 1.12; letter-spacing: -.8px; color: var(--mm-secondary); margin-bottom: 18px; }
.home-hero h1 span { color: var(--mm-primary); }
.hero-lead { font-size: 16px; line-height: 1.7; color: #2e3148; max-width: 440px; margin-bottom: 22px; }
.hero-points { display: flex; gap: 26px; margin-bottom: 28px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.45; color: #3b3e55; }
.hero-points .icon-circle { width: 46px; height: 46px; font-size: 21px; background: rgba(255,255,255,.7); box-shadow: 0 4px 12px rgba(var(--mm-primary-rgb), .12); }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.hero-actions .btn-lg { --btn-h: 54px; padding: 0 30px; font-size: 16px; }
.hero-video { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; font-size: 16px; color: var(--mm-primary); }
.hero-video span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--mm-primary); font-size: 20px; padding-left: 2px; transition: .2s; }
.hero-video:hover span { background: var(--mm-primary); color: #fff; }

.home-hero-photo { position: relative; z-index: 1; align-self: stretch; margin: 0 -60px 0 -70px; }
.home-hero-photo > img:first-child {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
    -webkit-mask-image: radial-gradient(ellipse 62% 78% at 50% 48%, #000 62%, transparent 100%);
    mask-image: radial-gradient(ellipse 62% 78% at 50% 48%, #000 62%, transparent 100%);
}
.home-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(253, 228, 239, .55) 0%, rgba(253, 228, 239, 0) 30%, rgba(253, 228, 239, 0) 75%, rgba(253, 228, 239, .5) 100%); }
.hero-photo-quote { position: absolute; right: 70px; top: 30px; z-index: 2; font-size: 36px; text-shadow: 0 2px 10px rgba(255,255,255,.8); }
.hero-flowers { position: absolute; right: -90px; bottom: -40px; width: 230px; z-index: 2; opacity: .9; pointer-events: none; }

.home-search { position: relative; z-index: 4; padding: 0; border-radius: 16px; box-shadow: 0 20px 50px rgba(150, 20, 80, .14); border: 0; overflow: hidden; }
.home-search-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; padding: 14px 14px 10px; background: linear-gradient(180deg, #fff6fa, #fff); }
.home-search-tabs a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 44px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--mm-secondary); }
.home-search-tabs a i { color: var(--mm-primary); font-size: 17px; }
.home-search-tabs a.active { background: var(--mm-primary); color: #fff; box-shadow: 0 6px 16px rgba(var(--mm-primary-rgb), .3); }
.home-search-tabs a.active i { color: #fff; }
.home-search-body { padding: 8px 22px 22px; }
.home-search-body .mt-2 { margin-top: 13px; }
.home-search-body .mt-3 { margin-top: 20px; }
.home-search-body .form-label { font-size: 14px; font-weight: 600; }
.home-search-body .form-select, .home-search-body .form-control { height: 42px; }
.home-search-body .btn-lg { --btn-h: 50px; }

.home-stats { background: linear-gradient(180deg, #fdeef5, #fdf2f7); border-top: 1px solid rgba(255,255,255,.7); }
.stats-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 26px 0; }
.stats-row li { display: flex; align-items: center; justify-content: center; gap: 16px; position: relative; }
.stats-row li + li::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: #ecc9da; }
.stats-row .icon-circle { width: 56px; height: 56px; font-size: 25px; background: #fff; }
.stats-row strong { display: block; font-size: 21px; font-weight: 700; color: var(--mm-primary); line-height: 1.2; }
.stats-row div span { font-size: 14px; color: #6a6d82; }

.home-why { padding: 46px 0 50px; }
.why-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.why-card { text-align: center; padding: 22px 18px 20px; background: #fff; border: 1px solid #f4e6ee; border-radius: var(--mm-radius); box-shadow: 0 6px 18px rgba(176, 20, 92, .04); transition: transform .25s, box-shadow .25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--mm-shadow); }
.why-card .icon-circle { margin: 0 auto 14px; background: linear-gradient(180deg, #fff1f6, #fde3ee); }
.why-card h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.why-card p { margin: 0; font-size: 14px; color: var(--mm-light); line-height: 1.6; }

.home-stories { background: linear-gradient(180deg, #fdf0f6 0%, #fde7f0 100%); padding: 46px 0 56px; }
.stories-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.stories-head .small-script { font-size: 22px; display: block; line-height: 1; margin-bottom: 4px; }
.stories-head h2 { font-size: 27px; margin-bottom: 2px; }
.stories-head p { margin: 0; color: #3b3e55; }
.stories-slider { position: relative; padding: 0 0; }
.stories-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; }
.stories-track::-webkit-scrollbar { display: none; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--mm-primary); font-size: 16px; box-shadow: var(--mm-shadow); }
.slider-arrow.prev { left: -58px; }
.slider-arrow.next { right: -58px; }
@media (max-width: 1560px) { .slider-arrow.prev { left: -22px; } .slider-arrow.next { right: -22px; } }
.slider-arrow:hover { background: var(--mm-primary); color: #fff; }
.story-card { scroll-snap-align: start; display: flex; gap: 22px; align-items: center; padding: 16px 20px 16px 16px; background: #fff; border-radius: var(--mm-radius); box-shadow: 0 6px 20px rgba(176, 20, 92, .07); }
.story-card img { width: 146px; height: 146px; border-radius: 10px; object-fit: cover; flex: none; }
.story-card blockquote { position: relative; margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; color: #2b2f45; padding-left: 26px; }
.story-card blockquote i { position: absolute; left: -4px; top: -6px; font-size: 26px; color: var(--mm-pink-300); }
.story-card h4 { font-size: 15px; margin: 0 0 2px; }
.story-card small { display: block; color: var(--mm-muted); font-size: 12.5px; }
.stars { color: #f5b301; font-size: 12px; letter-spacing: 2px; margin-top: 3px; }

/* =========================================================
   RESPONSIVE (layout + home)
   ========================================================= */
@media (max-width: 1280px) {
    :root { --mm-header-h: 76px; }
    .main-nav a { padding: 8px 12px; font-size: 14px; }
    .brand-name { font-size: 23px; }
    .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) 370px; }
    .home-hero h1 { font-size: 44px; }
    .slider-arrow.prev { left: 6px; } .slider-arrow.next { right: 6px; }
    .footer-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
    .footer-script { grid-column: 1 / -1; text-align: center; }
}

@media (max-width: 1080px) {
    .main-nav, .header-actions .btn, .header-search { display: none; }
    .nav-toggle { display: grid; place-items: center; margin-left: 0; }
    .header-actions { margin-left: auto; }
    .header-user span, .header-user .bi-chevron-down { display: none; }
    .topbar-center { display: none; }
    .topbar .container { grid-template-columns: minmax(0, 1fr) auto; }
    .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .home-search { grid-column: 1 / -1; max-width: 620px; width: 100%; margin: 0 auto 36px; }
    .home-hero-photo { margin: 0 -28px 0 -40px; }
    .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stories-track { grid-auto-columns: calc((100% - 24px) / 2); }
    .page-hero .container { grid-template-columns: minmax(0, 1fr); }
    .page-hero-text { grid-column: 1; padding-left: 300px !important; }
    .page-hero-aside { display: none; }
}

@media (max-width: 760px) {
    :root { --mm-header-h: 68px; }
    body { font-size: 14.5px; }
    .container { padding: 0 16px; }
    .topbar { display: none; }
    .brand-mark { width: 44px; height: 48px; }
    .site-header .header-user { display: none; }
    .site-header .container { gap: 10px; }
    .header-actions { gap: 4px; }
    .brand-name { font-size: 20px; }
    .brand-tag { font-size: 11px; margin-top: 2px; }
    .section { padding-top: 44px; padding-bottom: 44px; }
    .section-title h2 { font-size: 24px; }
    .row-2, .row-3 { grid-template-columns: minmax(0, 1fr); }

    .home-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .home-hero-copy { padding: 22px 0 10px; max-width: 64%; }
    .home-hero h1 { font-size: 24px; margin-bottom: 10px; letter-spacing: -.3px; }
    .hero-script { font-size: 18px; margin-bottom: 4px; white-space: nowrap; }
    .hero-lead { font-size: 13px; line-height: 1.6; margin-bottom: 14px; }
    .hero-points { gap: 10px; margin-bottom: 18px; width: 152%; position: relative; z-index: 3; }
    .hero-points li { font-size: 11px; gap: 6px; }
    .hero-points .icon-circle { width: 34px; height: 34px; font-size: 16px; }
    .hero-actions { gap: 14px; width: 150%; }
    .hero-actions .btn-lg { --btn-h: 44px; padding: 0 18px; font-size: 14px; }
    .hero-video { font-size: 14px; }
    .hero-video span { width: 32px; height: 32px; font-size: 16px; }
    .home-hero-photo { position: absolute; right: 0; top: 0; width: 56%; height: 280px; margin: 0; }
    .home-hero-photo > img:first-child { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
    .hero-photo-quote, .hero-flowers { display: none; }
    .home-search { margin: 18px 0 26px; }
    .home-search-tabs a { font-size: 13px; height: 40px; }
    .home-search-body { padding: 8px 16px 18px; }

    .stats-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 0; padding: 20px 0; }
    .stats-row li { justify-content: flex-start; gap: 10px; }
    .stats-row li::before { display: none; }
    .stats-row .icon-circle { width: 42px; height: 42px; font-size: 18px; }
    .stats-row strong { font-size: 16px; }
    .stats-row span { font-size: 12px; }
    .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .why-card { padding: 14px 6px; border: 0; box-shadow: none; background: transparent; }
    .why-card .icon-circle { width: 48px; height: 48px; font-size: 21px; margin-bottom: 8px; }
    .why-card h3 { font-size: 13px; }
    .why-card p { display: none; }
    .stories-head { flex-direction: column; align-items: flex-start; }
    .stories-track { grid-auto-columns: 88%; }
    .story-card { gap: 14px; padding: 12px; }
    .story-card img { width: 84px; height: 84px; }
    .story-card blockquote { font-size: 13px; padding-left: 20px; }
    .slider-arrow { display: none; }

    .cta-band .container { flex-direction: column; gap: 14px; text-align: center; }
    .cta-band h3 { font-size: 20px; }
    .cta-heart { display: none; }
    .footer-main, .site-footer.solid .footer-main { grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; text-align: center; padding: 20px 0 6px; }
    .footer-main .footer-col:not(.footer-follow), .footer-main .footer-script { display: none; }
    .footer-follow h4 { display: none; }
    .footer-brand .brand-name, .footer-brand .brand-name b { font-size: 20px; }
    .footer-col { border: 0; padding-left: 0; }
    .footer-script { font-size: 24px; }
    .footer-flowers.left, .footer-flowers.right { width: 200px; }
    .footer-bottom { font-size: 12px; gap: 8px; }
    .footer-bottom .divider { display: none; }

    .page-hero, .page-hero .container { min-height: 170px; }
    .page-hero-photo { width: 48%; }
    .page-hero-photo img { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%); mask-image: linear-gradient(90deg, #000 55%, transparent 100%); }
    .page-hero-text { padding: 18px 0 18px 40% !important; }
    .page-hero-script { font-size: 20px; }
    .page-hero h1 { font-size: 26px; }
    .page-hero h1.script-title { font-size: 34px; gap: 8px; }
    .page-hero h1.script-title img { width: 32px; height: 34px; }
    .page-hero p { font-size: 12.5px; }

    body { padding-bottom: 68px; }
    .bottom-nav.guest { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--mm-line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
    .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--mm-muted); }
    .bottom-nav a i { font-size: 20px; color: var(--mm-primary); }
    .bottom-nav a.active { color: var(--mm-primary); font-weight: 600; }
    .bottom-nav .count-dot { position: absolute; top: -3px; left: calc(50% + 4px); min-width: 16px; height: 16px; font-size: 9.5px; font-style: normal; }
    .back-to-top { bottom: 84px; }
    .cookie-bar { left: 10px; right: 10px; bottom: 10px; }
    .cookie-bar { bottom: 78px; }
}

/* =========================================================
   AUTH (login / register / password)
   ========================================================= */
.auth-hero { position: relative; overflow: hidden; background: var(--mm-pink-100) url("../img/hero-bg.jpg") center / cover no-repeat; }
.auth-grid { position: relative; display: grid; align-items: center; gap: 30px; min-height: 620px; padding-top: 36px; padding-bottom: 36px; }
.login-grid { grid-template-columns: minmax(0, 1fr) 520px; padding-left: 31%; }
.register-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr) 540px; gap: 0; }
.auth-copy { position: relative; z-index: 3; }
.auth-copy h1 { font-size: 40px; font-weight: 700; line-height: 1.18; letter-spacing: -.5px; margin-bottom: 16px; }
.auth-copy h1 span { color: var(--mm-primary); white-space: nowrap; }
.register-grid .auth-copy h1 { font-size: 50px; line-height: 1.12; }
.auth-lead { font-size: 17.5px; line-height: 1.6; color: #2b2f45; max-width: 420px; margin-bottom: 26px; }
.register-grid .auth-lead { font-size: 16px; max-width: 440px; }
.auth-badges { display: flex; gap: 22px; }
.auth-badges li { text-align: center; font-size: 12px; line-height: 1.35; color: #3b3e55; white-space: nowrap; }
.auth-badges .icon-circle { margin: 0 auto 8px; width: 52px; height: 52px; background: rgba(255,255,255,.75); box-shadow: 0 4px 12px rgba(var(--mm-primary-rgb), .12); }
.auth-quote { position: absolute; left: 150px; bottom: -120px; font-size: 32px; }
.auth-points { display: grid; gap: 20px; }
.auth-points li { display: flex; align-items: center; gap: 16px; }
.auth-points .icon-circle { width: 50px; height: 50px; font-size: 21px; box-shadow: 0 6px 14px rgba(var(--mm-primary-rgb), .25); border: 3px solid #fff; }
.auth-points strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--mm-secondary); }
.auth-points small { font-size: 13px; color: var(--mm-muted); }
.auth-leaves { position: absolute; left: -110px; bottom: -150px; width: 230px; opacity: .55; pointer-events: none; }

.auth-hero-photo { pointer-events: none; }
.login-photo { position: absolute; left: 0; top: 0; bottom: 0; width: 36%; }
.login-photo > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 60%, transparent 100%); }
.auth-flowers { position: absolute; left: -30px; bottom: -20px; width: 300px; }
.register-photo { position: relative; align-self: stretch; margin: -36px -40px; z-index: 1; }
.register-photo > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); }
.register-photo .hero-quote { position: absolute; right: 40px; top: 50px; font-size: 34px; z-index: 2; }
.float-heart { position: absolute; color: #ff8fbb; filter: drop-shadow(0 4px 8px rgba(232,17,107,.25)); z-index: 2; }
.float-heart.h1 { left: 46%; top: 70px; font-size: 34px; transform: rotate(-12deg); }
.float-heart.h2 { right: 30px; top: 240px; font-size: 40px; transform: rotate(14deg); }

.auth-card { position: relative; z-index: 4; border: 0; border-radius: 18px; box-shadow: 0 22px 60px rgba(150, 20, 80, .14); overflow: hidden; }
.auth-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 14px 14px 0; }
.auth-tabs a { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; border-radius: 999px; font-size: 16px; font-weight: 500; color: var(--mm-secondary); background: var(--mm-pink-50); }
.auth-tabs a i { font-size: 19px; color: var(--mm-muted); }
.auth-tabs a.active { background: linear-gradient(90deg, var(--mm-primary), color-mix(in srgb, var(--mm-primary) 85%, #ff5c9d)); color: #fff; box-shadow: 0 8px 18px rgba(var(--mm-primary-rgb), .28); }
.auth-tabs a.active i { color: #fff; }
.auth-card-body { padding: 22px 28px 26px; }
.auth-card-body h2 { font-size: 21px; font-weight: 600; margin-bottom: 4px; }
.auth-sub { font-size: 13.5px; color: var(--mm-muted); margin-bottom: 20px; }
.register-grid .auth-card-body { padding: 18px 26px 22px; }
.register-grid .auth-card-body .form-group { margin-bottom: 14px; }
.register-grid .auth-card-body .form-control, .register-grid .auth-card-body .form-select { height: 44px; font-size: 13.5px; }
.register-grid .auth-card-body .form-label { font-size: 13.5px; margin-bottom: 5px; }
.link-sm { font-size: 14px; font-weight: 500; }
.auth-divider { position: relative; text-align: center; margin: 20px 0 16px; font-size: 14px; font-weight: 500; color: var(--mm-secondary); }
.auth-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--mm-line); }
.auth-divider span { position: relative; padding: 0 14px; background: #fff; }
.social-btns { display: grid; gap: 10px; }
.social-btns.two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.btn-social { --btn-h: 50px; width: 100%; background: #fff; color: var(--mm-secondary); border-color: var(--mm-pink-300); font-weight: 600; font-size: 14.5px; }
.btn-social:hover { background: var(--mm-pink-50); color: var(--mm-secondary); border-color: var(--mm-primary); }
.social-btns.two .btn-social { font-size: 13px; padding: 0 12px; }
.auth-switch { text-align: center; margin: 18px 0 0; font-size: 14px; color: var(--mm-secondary); }
.auth-switch a { font-weight: 600; margin-left: 6px; }
.terms-check { font-size: 13px; align-items: flex-start; }
.terms-check a { font-weight: 500; }

.auth-strip { background: linear-gradient(180deg, #fdf0f6, #fdf4f8); border-top: 1px solid #fbe3ee; }
.auth-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 34px 0; }
.auth-strip li { display: flex; align-items: center; gap: 18px; padding: 0 30px; }
.auth-strip li + li { border-left: 1px solid #efd3e0; }
.auth-strip .icon-circle { width: 64px; height: 64px; font-size: 28px; background: linear-gradient(180deg, #fde3ee, #fbd0e2); }
.auth-strip h4 { margin: 0 0 4px; font-size: 16px; color: var(--mm-primary); }
.auth-strip p { margin: 0; font-size: 14px; color: var(--mm-muted); line-height: 1.55; }

.register-why { background: #fff; }
.register-why .section-title h2 { font-size: 28px; }
.deco-heart.small { font-size: 18px; vertical-align: 3px; }
.why-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.1fr); align-items: start; }
.why-item { text-align: center; padding: 0 14px; }
.why-item + .why-item { border-left: 1px solid var(--mm-line); }
.why-item .icon-circle { margin: 0 auto 10px; }
.why-item h3 { font-size: 15.5px; margin-bottom: 6px; }
.why-item p { font-size: 13.5px; color: var(--mm-muted); margin: 0; }
.why-quote { font-family: var(--mm-script); font-size: 32px; font-weight: 600; color: var(--mm-primary); line-height: 1.15; transform: rotate(-12deg); text-align: center; align-self: center; }
.why-quote i { display: block; font-size: 22px; margin-top: 6px; }

.simple-auth .container { display: grid; place-items: center; min-height: 560px; padding-top: 50px; padding-bottom: 50px; }
.auth-card.narrow { width: 100%; max-width: 480px; }
.icon-circle.center { margin: 0 auto 14px; }

@media (max-width: 1280px) {
    .login-grid { padding-left: 32%; grid-template-columns: minmax(0, 1fr) 470px; }
    .register-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr) 500px; }
    .register-grid .auth-copy h1 { font-size: 40px; }
}
@media (max-width: 1080px) {
    .login-grid { padding-left: 28px; grid-template-columns: minmax(0, 1fr); }
    .login-photo { width: 100%; opacity: .35; }
    .login-grid .auth-copy { display: none; }
    .login-grid .auth-card { max-width: 560px; width: 100%; margin: 0 auto; }
    .register-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
    .register-grid .auth-card { grid-column: 1 / -1; max-width: 620px; width: 100%; margin: 0 auto; }
    .register-photo { margin: -36px -28px 0 0; }
    .auth-strip ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 0; }
    .auth-strip li:nth-child(3) { border-left: 0; }
    .why-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0; }
    .why-item:nth-child(4) { border-left: 0; }
}
@media (max-width: 760px) {
    .auth-grid { min-height: 0; padding-top: 20px; padding-bottom: 26px; }
    .login-grid { padding-left: 16px; }
    .login-photo { opacity: 1; height: 270px; bottom: auto; width: 100%; }
    .login-photo > img:first-child { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
    .login-grid .auth-copy { display: block; padding-top: 190px; }
    .auth-flowers, .auth-quote, .auth-leaves { display: none; }
    .auth-copy h1, .register-grid .auth-copy h1 { font-size: 25px; margin-bottom: 8px; }
    .auth-lead, .register-grid .auth-lead { font-size: 13px; margin-bottom: 14px; max-width: 62%; }
    .login-grid .auth-lead { max-width: 100%; }
    .auth-badges { gap: 8px; justify-content: space-between; }
    .auth-badges li { font-size: 10.5px; }
    .auth-badges .icon-circle { width: 42px; height: 42px; font-size: 18px; }
    .register-grid { grid-template-columns: minmax(0, 1fr); }
    .register-photo { position: absolute; right: 0; top: 0; width: 55%; height: 300px; margin: 0; }
    .register-photo > img:first-child { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%); mask-image: linear-gradient(90deg, transparent 0%, #000 40%); }
    .register-photo .hero-quote { font-size: 20px; right: 10px; top: 14px; }
    .float-heart { display: none; }
    .auth-points { display: flex; gap: 8px; }
    .auth-points li { flex-direction: row; gap: 6px; }
    .auth-points small { display: none; }
    .auth-points strong { font-size: 10.5px; font-weight: 500; }
    .auth-points .icon-circle { width: 36px; height: 36px; font-size: 16px; }
    .auth-tabs a { height: 42px; font-size: 14px; }
    .auth-card-body, .register-grid .auth-card-body { padding: 18px 16px 20px; }
    .register-grid .row-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; }
    .register-grid .row-2 .span-full { grid-column: 1 / -1; }
    .register-grid .auth-card-body .form-control, .register-grid .auth-card-body .form-select { font-size: 12.5px; height: 40px; }
    .register-grid .input-icon > .form-control, .register-grid .input-icon > .form-select { padding-left: 34px; }
    .register-grid .input-icon > i:first-child { left: 11px; font-size: 14px; }
    .social-btns.two { grid-template-columns: minmax(0, 1fr); }
    .auth-strip ul { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 24px 0; }
    .auth-strip li { border-left: 0 !important; padding: 0; }
    .why-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .why-item { border-left: 0 !important; }
    .why-quote { grid-column: 1 / -1; font-size: 26px; }
}

/* =========================================================
   PROFILE WIZARD
   ========================================================= */
.wizard-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 26px; padding-top: 26px; padding-bottom: 20px; align-items: start; }
.wizard-layout.layout-side { padding-top: 18px; }
.wizard-sidebar { padding: 22px 18px 18px; position: sticky; top: calc(var(--mm-header-h) + 16px); }
.ws-user { text-align: center; margin-bottom: 18px; }
.ws-avatar { position: relative; width: 116px; height: 116px; margin: 0 auto 12px; }
.ws-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 6px 18px rgba(176, 20, 92, .18); }
.ws-camera { position: absolute; right: 2px; bottom: 6px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--mm-primary); color: #fff; border: 3px solid #fff; font-size: 13px; }
.ws-welcome { display: block; font-size: 13.5px; color: var(--mm-muted); }
.ws-user strong { display: block; font-size: 19px; font-weight: 600; color: var(--mm-secondary); margin: 2px 0; }
.ws-user small { font-size: 13px; color: var(--mm-muted); }
.ws-progress { position: relative; display: flex; align-items: center; gap: 14px; padding: 6px 4px 18px; }
.ring { width: 70px; height: 70px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke: var(--mm-pink-100); stroke-width: 6; }
.ring circle.val { stroke: var(--mm-primary); stroke-linecap: round; transition: stroke-dashoffset .6s; }
.ring-val { position: absolute; left: 4px; top: 6px; width: 70px; height: 70px; display: grid; place-items: center; font-weight: 600; font-size: 15px; color: var(--mm-secondary); }
.ws-progress-text { flex: 1; font-size: 13.5px; font-weight: 500; color: var(--mm-secondary); }
.ws-progress-text .bar { height: 5px; border-radius: 4px; background: var(--mm-line); margin-top: 8px; overflow: hidden; }
.ws-progress-text .bar i { display: block; height: 100%; background: var(--mm-primary); border-radius: 4px; }
.ws-steps { display: grid; gap: 6px; }
.ws-steps a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--mm-secondary); transition: .2s; }
.ws-steps a:hover { background: var(--mm-pink-50); color: var(--mm-primary); }
.ws-steps .num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #c9c4d0; font-size: 13px; color: var(--mm-text); flex: none; background: #fff; }
.ws-steps a.done .num { border: 2px solid var(--mm-primary); color: var(--mm-primary); font-size: 15px; }
.ws-steps a.active { background: linear-gradient(90deg, var(--mm-primary), color-mix(in srgb, var(--mm-primary) 85%, #ff5c9d)); color: #fff; box-shadow: 0 8px 18px rgba(var(--mm-primary-rgb), .25); }
.ws-steps a.active .num { background: transparent; border-color: #fff; color: #fff; }
.ws-steps a.locked { opacity: .6; pointer-events: none; }
.ws-promo { position: relative; margin-top: 28px; padding: 22px 16px 70px; text-align: center; border-radius: var(--mm-radius); background: linear-gradient(180deg, #fff6fa, #fde7f0); overflow: hidden; }
.ws-promo .promo-heart { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: #fff; color: var(--mm-primary); font-size: 20px; box-shadow: 0 4px 12px rgba(var(--mm-primary-rgb), .18); }
.ws-promo h4 { font-size: 15px; color: var(--mm-primary-dark); margin-bottom: 6px; }
.ws-promo p { font-size: 13px; color: var(--mm-muted); margin: 0; position: relative; z-index: 1; }
.ws-promo img { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; }

.wizard-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 230px; border-radius: var(--mm-radius); background: var(--mm-pink-100) url("../img/page-hero-bg.jpg") center / cover; margin-bottom: 20px; }
.wizard-hero-text { position: relative; z-index: 2; padding: 26px 30px; }
.wizard-hero h1 { font-size: 44px; font-weight: 700; line-height: 1.12; margin: 0 0 10px; }
.wizard-hero h1 span { color: var(--mm-primary); }
.wizard-hero p { margin: 0; font-size: 16px; color: #3b3e55; }
.wizard-hero-photo { position: absolute; right: 0; top: 0; height: 100%; width: 46%; object-fit: cover; object-position: 50% 22%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.float-heart.wh1 { left: 52%; top: 40px; font-size: 26px; }
.float-heart.wh2 { left: 56%; top: 80px; font-size: 16px; }

.wizard-steps { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 14px 18px; margin: 0 0 20px; list-style: none; counter-reset: s; }
.wizard-steps li { position: relative; flex: 1; display: flex; align-items: center; }
.wizard-steps li:not(:last-child)::after { content: ""; flex: 1; height: 1px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--mm-pink-300) 0 4px, transparent 4px 8px); min-width: 10px; }
.wizard-steps a { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; color: var(--mm-secondary); white-space: nowrap; }
.wizard-steps .num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--mm-pink-300); font-weight: 600; font-size: 15px; color: var(--mm-secondary); background: #fff; flex: none; }
.wizard-steps .label { font-size: 13px; line-height: 1.3; }
@media (max-width: 1560px) {
    .wizard-steps { padding: 12px 12px; gap: 2px; }
    .wizard-steps a { gap: 7px; padding: 5px 8px 5px 5px; }
    .wizard-steps .num { width: 32px; height: 32px; font-size: 14px; }
    .wizard-steps .label { font-size: 12px; }
    .wizard-steps li:not(:last-child)::after { margin: 0 3px; min-width: 6px; }
}
.wizard-steps li.active a { background: var(--mm-pink-100); color: var(--mm-primary); }
.wizard-steps li.active .num { background: var(--mm-primary); border-color: var(--mm-primary); color: #fff; box-shadow: 0 4px 10px rgba(var(--mm-primary-rgb), .3); }
.wizard-steps li.done .num { border-color: var(--mm-primary); color: var(--mm-primary); }

.wizard-body { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; align-items: start; }
.wizard-body.no-aside { grid-template-columns: minmax(0, 1fr); }
.wizard-card { padding: 22px 26px 18px; }
.wizard-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.wizard-card-head.plain { margin-bottom: 14px; }
.wc-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mm-primary); color: #fff; font-size: 21px; box-shadow: 0 6px 14px rgba(var(--mm-primary-rgb), .25); flex: none; }
.wizard-card-head h2 { font-size: 21px; margin: 0; }
.wizard-card-head p { margin: 2px 0 0; font-size: 14px; color: var(--mm-muted); }
.wizard-card .row-2 { gap: 0 26px; }
.radio-line { height: 46px; align-items: center; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 10px; }
.wizard-actions .btn { --btn-h: 46px; min-width: 130px; }
.wizard-actions .btn-primary { min-width: 220px; }
.wizard-actions .btn-primary.wide { flex: 1; max-width: 560px; margin-left: auto; }
.wizard-note { display: flex; align-items: center; gap: 12px; margin: 20px 0 4px; padding: 12px 16px; border-radius: 10px; background: var(--mm-pink-50); font-size: 12.5px; color: var(--mm-muted); }
.wizard-note i { color: var(--mm-primary); font-size: 17px; }

.wizard-aside { display: grid; gap: 18px; }
.tips-card { padding: 20px; background: linear-gradient(180deg, #fff, #fff7fa); }
.tips-card h3 { font-size: 16.5px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tips-card h3 i { color: var(--mm-primary); font-size: 22px; }
.tips-card li { display: flex; gap: 10px; font-size: 13.5px; color: #4d5068; margin-bottom: 12px; line-height: 1.5; }
.tips-card li i { color: var(--mm-primary); font-size: 10px; margin-top: 5px; }
.quote-card { position: relative; overflow: hidden; text-align: center; padding: 26px 20px 80px; background: linear-gradient(180deg, #fff4f8, #fde4ee); border: 0; }
.quote-card > i { color: var(--mm-primary); font-size: 22px; display: block; }
.quote-card p { font-family: var(--mm-script); font-size: 27px; line-height: 1.3; color: var(--mm-primary); margin: 10px 0; position: relative; z-index: 1; }
.quote-card img { position: absolute; left: 0; bottom: -16px; width: 100%; }

/* preferences grid */
.pref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #f3e4ec; border-radius: var(--mm-radius); overflow: hidden; }
.pref-cell { padding: 16px 14px 4px; border-right: 1px solid #f3e4ec; border-bottom: 1px solid #f3e4ec; background: #fffdfe; }
.pref-cell:nth-child(3n) { border-right: 0; }
.pref-cell .form-group { margin-bottom: 12px; }
.pref-cell.span-2 { grid-column: span 2; border-right: 0; }
.pref-cell > .range-row, .pref-cell > .choice-pills { margin-bottom: 14px; }
.range-row.unit { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.check.boxed { padding: 7px 12px; border: 1px solid var(--mm-line); border-radius: 8px; font-size: 13px; background: #fff; }

/* photos */
.photo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.photo-slot { text-align: center; }
.photo-slot strong { display: block; font-size: 13.5px; font-weight: 500; color: var(--mm-secondary); margin-top: 10px; }
.photo-slot small { font-size: 12px; color: var(--mm-muted); }
.photo-box { position: relative; aspect-ratio: 4 / 4.4; border-radius: 12px; overflow: hidden; border: 1.5px dashed var(--mm-pink-300); background: var(--mm-pink-50); }
.photo-slot.has-photo .photo-box { border: 0; box-shadow: var(--mm-shadow-sm); }
.photo-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-add { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; color: var(--mm-secondary); font-size: 13px; }
.photo-add > i { font-size: 30px; color: var(--mm-primary); }
.photo-add .add-plus { display: none; }
.photo-add small { font-size: 11.5px; color: var(--mm-muted); }
.photo-slot.has-photo .photo-add { opacity: 0; z-index: 2; }
.photo-remove { position: absolute; top: 8px; right: 8px; z-index: 3; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--mm-primary); color: #fff; display: grid; place-items: center; font-size: 16px; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.photo-loading { display: none; }
.photo-slot.is-uploading .photo-loading { display: grid; place-items: center; position: absolute; inset: 0; z-index: 4; background: rgba(255,255,255,.75); }
.photo-slot.is-uploading .photo-loading::after { content: ""; width: 28px; height: 28px; border: 3px solid var(--mm-primary); border-right-color: transparent; border-radius: 50%; animation: mm-spin .7s linear infinite; }
.extra-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.photo-thumb { position: relative; width: 90px; height: 100px; border-radius: 10px; overflow: hidden; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-info { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.photo-guide, .photo-preview { padding: 18px 20px; border-radius: var(--mm-radius); border: 1px solid #fbdce9; }
.photo-guide h4, .photo-preview h4 { font-size: 15px; color: var(--mm-primary-dark); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.photo-guide li { display: flex; gap: 10px; font-size: 13px; color: #4d5068; margin-bottom: 7px; }
.photo-guide li i { color: var(--mm-primary); font-weight: 700; }
.pp-body { display: flex; gap: 18px; align-items: flex-start; }
.pp-body img { width: 116px; height: 116px; object-fit: cover; border-radius: 10px; }
.pp-body strong { display: block; font-size: 14px; font-weight: 500; }
.pp-body small { display: block; color: var(--mm-primary); font-size: 12px; margin-bottom: 10px; }

/* review */
.review-photos { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.review-photos img { width: 84px; height: 96px; object-fit: cover; border-radius: 10px; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.review-block { border: 1px solid #f3e4ec; border-radius: var(--mm-radius); padding: 14px 16px; background: #fffdfe; }
.review-block.about { margin-top: 16px; }
.review-block.about p { margin: 0; font-size: 14px; color: #4d5068; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-head h4 { margin: 0; font-size: 15px; color: var(--mm-primary-dark); }
.review-head a { font-size: 13px; font-weight: 500; }
.review-block dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 5px 10px; margin: 0; font-size: 13.5px; }
.review-block dt { color: var(--mm-muted); }
.review-block dd { margin: 0; color: var(--mm-secondary); font-weight: 500; }

@media (max-width: 1280px) {
    .wizard-body { grid-template-columns: minmax(0, 1fr); }
    .wizard-aside { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .wizard-steps .label { display: none; }
    .wizard-steps li.active .label { display: block; }
}
@media (max-width: 1080px) {
    .wizard-layout { grid-template-columns: minmax(0, 1fr); }
    .wizard-sidebar { display: none; }
    .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pref-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .pref-cell:nth-child(3n) { border-right: 1px solid #f3e4ec; }
    .pref-cell:nth-child(2n) { border-right: 0; }
    .pref-cell.span-2 { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .wizard-layout { padding-top: 14px; gap: 14px; }
    .wizard-hero { min-height: 170px; }
    .wizard-hero h1 { font-size: 26px; }
    .wizard-hero p { font-size: 12.5px; max-width: 58%; }
    .wizard-hero-text { padding: 18px; }
    .wizard-hero-photo { width: 55%; }
    .wizard-steps { padding: 10px; overflow-x: auto; gap: 0; }
    .wizard-steps li:not(:last-child)::after { margin: 0 4px; min-width: 6px; }
    .wizard-steps a { padding: 0; flex-direction: column; gap: 4px; }
    .wizard-steps li.active a { background: none; }
    .wizard-steps .num { width: 30px; height: 30px; font-size: 13px; }
    .wizard-steps .label { display: none !important; }
    .wizard-card { padding: 16px; }
    .wizard-actions { flex-direction: column-reverse; align-items: stretch; }
    .wizard-actions .btn, .wizard-actions .btn-primary { min-width: 0; width: 100%; }
    .wizard-aside { display: none; }
    .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .photo-info { grid-template-columns: minmax(0, 1fr); }
    .pref-grid { grid-template-columns: minmax(0, 1fr); border: 0; }
    .pref-cell { border: 0 !important; padding: 0; background: none; }
    .review-grid { grid-template-columns: minmax(0, 1fr); }
    .review-block dl { grid-template-columns: 120px minmax(0, 1fr); }
}
.range-row .form-select { padding: 0 26px 0 12px; background-position: right 9px center; min-width: 0; }
.range-row.unit { gap: 8px; }

/* =========================================================
   SEARCH + PROFILE CARDS
   ========================================================= */
.search-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 26px; padding-top: 24px; padding-bottom: 20px; align-items: start; }
.search-filters { padding: 18px 16px; }
.sf-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sf-head h2 { font-size: 17px; color: var(--mm-primary); margin: 0; display: flex; gap: 8px; align-items: center; }
.sf-head h2 i { font-size: 20px; }
.sf-reset { font-size: 13px; font-weight: 500; display: flex; gap: 5px; align-items: center; }
.sf-close { display: none; border: 0; background: var(--mm-pink-100); color: var(--mm-primary); width: 34px; height: 34px; border-radius: 50%; }
.sf-group { margin-bottom: 14px; }
.sf-label { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--mm-secondary); margin-bottom: 8px; }
.sf-label > i:first-child { color: var(--mm-primary); font-size: 16px; }
.sf-lock { margin-left: auto; color: var(--mm-accent); font-size: 12px; }
.search-filters .form-select { height: 38px; font-size: 13px; padding-left: 12px; }
.search-filters .range-row { padding-left: 26px; gap: 10px; }
.search-filters .sf-group > .form-select { margin-left: 26px; width: calc(100% - 26px); }
.search-filters .mb-1 { margin-bottom: 8px; }
.sf-apply { --btn-h: 40px; margin: 6px 0 16px; }
.sf-quick { padding: 14px 12px; border-radius: 10px; background: var(--mm-pink-50); }
.sf-toggle { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; color: var(--mm-text); margin-top: 10px; cursor: pointer; }
.sf-toggle i { color: var(--mm-primary); margin-right: 4px; }

.sr-keyword { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; margin-bottom: 16px; border-radius: 40px; }
.sr-keyword > .bi-search { color: var(--mm-primary); font-size: 17px; }
.sr-keyword .form-control { flex: 1; min-width: 0; border: 0; box-shadow: none; padding: 8px 4px; background: transparent; }
.sr-keyword .form-control:focus { box-shadow: none; }
.sr-keyword .btn { border-radius: 30px; padding: 10px 26px; }
.sr-keyword-clear { color: var(--mm-muted); padding: 6px; }
.sr-keyword-clear:hover { color: var(--mm-primary); }
.sr-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.sr-bar p { margin: 0; font-size: 14px; color: var(--mm-secondary); font-weight: 500; }
.sr-filter-btn { display: none; }
.sr-sort { display: flex; align-items: center; gap: 4px; padding: 0 4px 0 14px; border: 1px solid var(--mm-line); border-radius: 8px; background: #fff; }
.sr-sort label { font-size: 13px; color: var(--mm-muted); white-space: nowrap; }
.sr-sort .form-select { border: 0; height: 38px; font-size: 13.5px; font-weight: 500; box-shadow: none; padding-left: 8px; }

.profile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid-ad { grid-column: 1 / -1; }
.grid-ad:empty { display: none; }
.profile-card { background: #fff; border-radius: var(--mm-radius); box-shadow: 0 6px 22px rgba(176, 20, 92, .07); border: 1px solid #f6e7ee; overflow: hidden; padding: 10px 10px 14px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.profile-card:hover { transform: translateY(-4px); box-shadow: var(--mm-shadow); }
.pc-photo { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / .7; background: var(--mm-pink-100); }
.pc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform .4s; }
.profile-card:hover .pc-photo img { transform: scale(1.04); }
.pc-photo img.is-blurred { filter: blur(10px); }
.pc-status { position: absolute; top: 8px; right: 8px; font-size: 11px; padding: 2px 8px; }
.badge-online.pc-status { background: var(--mm-success); color: #fff; box-shadow: none; }
.badge-online.pc-status::before { border-color: #fff; }
.pc-heart { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: var(--mm-primary); font-size: 14px; box-shadow: 0 3px 8px rgba(0,0,0,.15); padding: 0; }
.pc-heart.is-on, .pc-shortlist.is-on { color: #fff; background: var(--mm-primary); }
.pc-shortlist { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; border: 0; background: #fff; color: var(--mm-primary); font-size: 12.5px; font-weight: 500; box-shadow: 0 3px 8px rgba(0,0,0,.15); }
.pc-body { padding: 12px 4px 0; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 16px; font-weight: 600; margin: 0 0 2px; }
.pc-body h3 a { color: var(--mm-secondary); }
.pc-body h3 a:hover { color: var(--mm-primary); }
.pc-meta { font-size: 12.5px; color: var(--mm-muted); margin: 0 0 8px; }
.pc-meta b { margin: 0 4px; font-weight: 400; }
.pc-facts { display: grid; gap: 4px; margin-bottom: 12px; }
.pc-facts li { display: flex; gap: 8px; font-size: 12.5px; color: #3b3e55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-facts i { color: var(--mm-primary); font-size: 13px; }
.pc-btn { margin-top: auto; --btn-h: 36px; }
.pc-mbtns { display: none; }
.pc-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: auto; }
.btn.is-busy { opacity: .6; pointer-events: none; }

@media (max-width: 1400px) { .profile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1080px) {
    .search-layout { grid-template-columns: minmax(0, 1fr); }
    .search-filters { position: fixed; z-index: 95; inset: 0 auto 0 0; width: min(340px, 90vw); max-height: none; overflow-y: auto; border-radius: 0; transform: translateX(-105%); transition: transform .28s; box-shadow: var(--mm-shadow-lg); }
    .search-filters.open { transform: none; }
    .sf-close { display: grid; place-items: center; }
    .sr-filter-btn { display: inline-flex; }
}
@media (max-width: 760px) {
    .search-layout { padding-top: 14px; }
    .sr-keyword { padding: 6px 6px 6px 14px; }
    .sr-keyword .btn { padding: 9px 16px; }
    .sr-keyword .form-control { font-size: 13.5px; }
    .sr-bar { flex-wrap: wrap; }
    .sr-bar p { order: 3; width: 100%; font-size: 12.5px; }
    .sr-sort { flex: 1; }
    .sr-sort label { display: none; }
    .profile-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .profile-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px; }
    .pc-photo, .profile-grid.compact .pc-photo { aspect-ratio: auto; height: 118px; }
    .pc-heart, .pc-shortlist { display: none; }
    .pc-status { top: auto; bottom: auto; right: auto; left: auto; position: absolute; top: 6px; left: 6px; font-size: 9.5px; }
    .pc-body { padding: 0; }
    .pc-body h3 { font-size: 14.5px; }
    .pc-facts li { font-size: 11.5px; }
    .pc-facts { margin-bottom: 8px; }
    .pc-body > .pc-btn { display: none; }
    .pc-mbtns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .pc-mbtns .btn { --btn-h: 30px; font-size: 12px; padding: 0 8px; }
    .pc-mbtns .btn.is-on { background: var(--mm-primary); color: #fff; }
    .profile-card .pc-status { left: auto; right: 10px; top: 10px; }
    .profile-card { position: relative; }
    .pc-photo { position: static; min-width: 0; overflow: hidden; border-radius: 10px; }
    .pc-photo > a { display: block; height: 100%; border-radius: 10px; overflow: hidden; }
}

/* =========================================================
   PROFILE DETAILS
   ========================================================= */
.profile-page { padding-top: 14px; padding-bottom: 10px; }
.profile-crumbs { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 14px; }
.profile-crumbs nav { color: var(--mm-muted); display: flex; gap: 8px; align-items: center; }
.profile-crumbs nav a { color: var(--mm-secondary); }
.profile-crumbs nav i { font-size: 11px; }
.crumb-nav { display: flex; gap: 40px; }
.crumb-nav a { color: var(--mm-secondary); font-weight: 500; display: flex; gap: 8px; align-items: center; }
.crumb-nav i { color: var(--mm-primary); }
.profile-grid-main { display: grid; grid-template-columns: 450px minmax(0, 1fr); gap: 28px; align-items: start; }
.gallery-main { position: relative; border-radius: var(--mm-radius); overflow: hidden; aspect-ratio: 1 / .9; background: var(--mm-pink-100); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.g-online { top: 14px; left: 14px; right: auto; }
.g-verified { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; align-items: center; padding: 5px 12px 5px 6px; border-radius: 999px; background: #fff; color: var(--mm-primary); font-size: 13px; font-weight: 500; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.g-verified i { font-size: 18px; }
.g-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--mm-primary); font-size: 16px; box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.g-arrow.prev { left: 14px; } .g-arrow.next { right: 14px; }
.g-count { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; background: rgba(30, 30, 40, .55); color: #fff; font-size: 13px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { position: relative; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1.05; background: none; }
.gallery-thumbs button.active { border-color: var(--mm-primary); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .hidden-thumb { display: none; }
.gallery-thumbs .more span { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(30, 20, 30, .55); color: #fff; font-weight: 600; line-height: 1.2; font-size: 14px; }
.privacy-card { display: flex; gap: 16px; align-items: center; margin: 18px 0; padding: 18px; border-radius: var(--mm-radius); background: linear-gradient(120deg, #fff1f6, #fde6ef); }
.privacy-card .icon-circle { width: 56px; height: 56px; font-size: 24px; background: #fff; }
.privacy-card h4 { font-size: 15px; color: var(--mm-primary); margin-bottom: 4px; }
.privacy-card p { margin: 0; font-size: 13.5px; color: #4d5068; }
.contact-card p i { color: var(--mm-primary); margin-right: 6px; }
.similar-card { padding: 18px; }
.similar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.similar-head h3 { margin: 0; font-size: 18px; }
.similar-head a { font-size: 14px; font-weight: 500; text-decoration: underline; }
.similar-item { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--mm-line); }
.similar-item:last-child { border-bottom: 0; padding-bottom: 0; }
.similar-item img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; }
.similar-item strong { display: block; color: var(--mm-secondary); font-size: 15px; }
.similar-item span { display: block; font-size: 13px; color: var(--mm-muted); }
.similar-item span b { font-weight: 400; margin: 0 5px; color: var(--mm-line); }
.similar-item small { font-size: 13px; color: var(--mm-text); }
.similar-heart { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--mm-pink-100); color: var(--mm-primary); font-size: 18px; }
.similar-heart.is-on { background: var(--mm-primary); color: #fff; }

.profile-top { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; align-items: start; }
.ps-title { display: flex; align-items: center; gap: 14px; }
.ps-title h1 { font-size: 30px; margin: 0; display: flex; align-items: center; gap: 10px; }
.ps-title .verified { color: #2c6ce6; font-size: 24px; }
.solid-online { margin-left: auto; background: var(--mm-success); color: #fff; box-shadow: none; padding: 4px 12px; }
.solid-online::before { border-color: #fff; }
.ps-more { margin-left: 4px; }
.ps-line { display: flex; flex-wrap: wrap; gap: 0; margin: 10px 0 0; font-size: 15px; color: #3b3e55; }
.ps-line span:not(:empty) + span:not(:empty)::before { content: "|"; margin: 0 16px; color: #d7d0dc; }
.ps-line.second { margin-top: 8px; }
.ps-line i { color: var(--mm-primary); margin-right: 6px; }
.ps-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 18px; }
.ps-actions .btn { --btn-h: 46px; border-radius: 10px; min-width: 150px; font-size: 15px; }
.ps-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ps-stats li { padding: 12px 16px; border-radius: 10px; background: #fbf8fa; border: 1px solid #f3eaf0; }
.ps-stats span { display: block; font-size: 12.5px; color: var(--mm-muted); }
.ps-stats span i { color: var(--mm-primary); }
.ps-stats strong { display: block; font-size: 14.5px; font-weight: 500; color: var(--mm-secondary); }
.verify-card { padding: 18px 16px; border-radius: var(--mm-radius); background: linear-gradient(180deg, #fff1f6, #fde8f0); }
.verify-card h3 { font-size: 14.5px; display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.verify-card h3 i { color: var(--mm-primary); font-size: 18px; }
.verify-card li { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; color: var(--mm-muted); }
.verify-card li i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #d6d1da; color: #fff; font-size: 12px; }
.verify-card li.on { color: var(--mm-secondary); }
.verify-card li.on i { background: var(--mm-success); }

.profile-tabs { display: flex; gap: 6px; margin: 22px 0 16px; padding: 6px; border-radius: 12px; background: #faf6f8; overflow-x: auto; scrollbar-width: none; }
.profile-tabs a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--mm-secondary); white-space: nowrap; }
.profile-tabs a i { font-size: 17px; }
.profile-tabs a.active { background: var(--mm-primary); color: #fff; box-shadow: 0 6px 14px rgba(var(--mm-primary-rgb), .25); }
.profile-sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ps-col { display: grid; gap: 16px; }
.info-card { padding: 18px 20px; border-radius: var(--mm-radius); background: #fff; border: 1px solid #f1e6ec; transition: box-shadow .3s; }
.info-card.flash { box-shadow: 0 0 0 3px rgba(var(--mm-primary-rgb), .25); }
.info-card.pink { background: linear-gradient(120deg, #fff4f8, #fdebf2); border-color: #fbdce9; }
.info-card h3 { display: flex; align-items: center; gap: 12px; font-size: 17px; margin-bottom: 12px; }
.info-card h3 > i { color: var(--mm-primary); font-size: 22px; }
.info-card > p { font-size: 14.5px; line-height: 1.75; color: #3b3e55; margin: 0 0 0 34px; }
.info-dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 6px 14px; margin: 0 0 0 34px; font-size: 14px; }
.info-dl.wide { grid-template-columns: 160px minmax(0, 1fr); }
.info-dl dt { color: #5b5e74; }
.info-dl dd { margin: 0; color: var(--mm-secondary); }
.pref-lines { display: flex; flex-wrap: wrap; gap: 6px 0; margin-left: 34px; font-size: 14px; color: var(--mm-secondary); }
.pref-lines span { width: 50%; }
.pref-lines em { font-style: normal; color: var(--mm-muted); margin-right: 10px; }
.info-card h3.plain i { color: var(--mm-muted); font-size: 18px; }
.looking-list li { display: flex; gap: 10px; margin-bottom: 8px; font-size: 14px; color: #3b3e55; }
.looking-list i { color: var(--mm-primary); font-size: 16px; }

@media (max-width: 1280px) {
    .profile-grid-main { grid-template-columns: 380px minmax(0, 1fr); }
    .profile-top { grid-template-columns: minmax(0, 1fr); }
    .verify-card ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .ps-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
    .profile-grid-main { grid-template-columns: minmax(0, 1fr); }
    .profile-left { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
    .profile-left .gallery { grid-row: span 2; }
    .profile-left .privacy-card { margin: 0; }
    .profile-sections { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .profile-crumbs nav { display: none; }
    .crumb-nav { width: 100%; justify-content: space-between; }
    .profile-left { display: block; }
    .gallery-thumbs { gap: 6px; }
    .similar-card { display: none; }
    .ps-title h1 { font-size: 22px; }
    .ps-line { font-size: 13px; }
    .ps-line span:not(:empty) + span:not(:empty)::before { margin: 0 8px; }
    .ps-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
    .ps-actions > :first-child { grid-column: 1 / -1; }
    .ps-actions > :last-child { grid-column: 1 / -1; }
    .ps-actions .btn { min-width: 0; width: 100%; --btn-h: 42px; font-size: 14px; }
    .ps-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ps-stats li { padding: 10px; text-align: center; }
    .ps-stats li:nth-child(2), .ps-stats li:nth-child(3) { display: none; }
    .verify-card { display: none; }
    .profile-tabs { margin-top: 16px; }
    .profile-tabs a { padding: 10px 12px; font-size: 13px; }
    .profile-tabs a i { display: none; }
    .info-card > p, .info-dl, .pref-lines { margin-left: 0; }
    .info-dl, .info-dl.wide { grid-template-columns: 130px minmax(0, 1fr); font-size: 13px; }
    .pref-lines span { width: 100%; }
}

/* =========================================================
   MEMBER AREA (sidebar layout, shortlist, notifications)
   ========================================================= */
.member-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; padding-top: 0; padding-bottom: 24px; align-items: start; }
.member-sidebar { position: sticky; top: calc(var(--mm-header-h) + 12px); margin-top: 18px; padding: 16px 14px; background: #fff; border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-sm); border: 1px solid #f6e7ee; }
.ms-user { display: flex; gap: 14px; align-items: center; padding: 4px 4px 18px; border-bottom: 1px solid var(--mm-line); margin-bottom: 12px; }
.ms-user img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 4px 14px rgba(176,20,92,.18); }
.ms-user span { display: block; font-size: 12.5px; color: var(--mm-muted); }
.ms-user strong { display: block; font-size: 15px; color: var(--mm-secondary); }
.ms-user small { display: block; font-size: 12px; color: var(--mm-muted); line-height: 1.35; margin-top: 2px; }
.ms-nav { display: grid; gap: 4px; }
.ms-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; white-space: nowrap; font-weight: 500; color: var(--mm-secondary); }
.ms-nav a i { color: var(--mm-primary); font-size: 18px; width: 20px; }
.ms-nav a span { flex: 1; }
.ms-nav a:hover { background: var(--mm-pink-50); }
.ms-nav a.active { background: linear-gradient(90deg, var(--mm-primary), color-mix(in srgb, var(--mm-primary) 85%, #ff5c9d)); color: #fff; box-shadow: 0 8px 18px rgba(var(--mm-primary-rgb), .25); }
.ms-nav a.active i { color: #fff; }
.ms-nav a.active .count-dot { background: #fff; color: var(--mm-primary); }
.ms-promo { position: relative; margin-top: 20px; padding: 22px 16px 18px; text-align: center; border-radius: var(--mm-radius); background: linear-gradient(180deg, #fff5f9, #fde3ee); overflow: hidden; }
.ms-promo h4 { font-size: 23px; margin: 6px 0; }
.ms-promo p { font-size: 13px; color: var(--mm-muted); }
.ms-hearts { position: relative; height: 54px; }
.ms-hearts i { position: absolute; color: #ff86b5; filter: drop-shadow(0 3px 6px rgba(232,17,107,.25)); }
.ms-hearts i:nth-child(1) { left: 40%; top: 0; font-size: 34px; color: var(--mm-primary); }
.ms-hearts i:nth-child(2) { left: 22%; top: 18px; font-size: 22px; }
.ms-hearts i:nth-child(3) { right: 20%; top: 14px; font-size: 18px; }
.ms-hearts i:nth-child(4) { left: 60%; top: 30px; font-size: 14px; }
.promo-bell { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: #fff; color: var(--mm-primary); font-size: 26px; box-shadow: 0 6px 16px rgba(var(--mm-primary-rgb), .2); }

.inline-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 196px; margin: 0 0 18px; padding: 20px 30px 20px 300px; background: var(--mm-pink-100) url("../img/page-hero-bg.jpg") center / cover; border-radius: 0 0 var(--mm-radius) var(--mm-radius); }
.inline-hero-photo { position: absolute; left: 0; top: 0; height: 100%; width: 300px; object-fit: cover; object-position: 50% 20%; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 100%); mask-image: linear-gradient(90deg, #000 60%, transparent 100%); }
.inline-hero-text { position: relative; z-index: 2; flex: 1; }
.inline-hero h1 { font-size: 42px; font-weight: 700; margin: 0 0 8px; }
.inline-hero h1 span { color: var(--mm-primary); }
.inline-hero h1.script-title { font-family: var(--mm-script); font-weight: 700; font-size: 52px; color: var(--mm-primary); display: flex; gap: 14px; align-items: center; }
.inline-hero h1.script-title img { width: 46px; }
.inline-hero p { margin: 0; font-size: 15.5px; color: #3b3e55; max-width: 600px; }
.inline-hero .hero-quote { position: relative; z-index: 2; margin-left: 20px; font-size: 32px; }

.pill-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.pill-tabs a { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 26px; border-radius: 10px; border: 1px solid var(--mm-border); background: #fff; color: var(--mm-primary); font-size: 14.5px; font-weight: 500; }
.pill-tabs a.active { background: var(--mm-primary); border-color: var(--mm-primary); color: #fff; box-shadow: 0 6px 14px rgba(var(--mm-primary-rgb), .25); }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.list-head h2 { font-size: 19px; margin: 0; }
.list-head h2 span { color: var(--mm-primary); }
.list-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--mm-muted); }
.profile-grid.compact .pc-photo { aspect-ratio: 1 / .75; }
.profile-grid.compact .pc-heart.static { top: 10px; left: 10px; bottom: auto; }
.status-pending { background: #fff6e0; color: #a06800; }
.status-accepted { background: var(--mm-success); color: #fff; }
.status-declined { background: #f1eef3; color: #6c7086; }
.list-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.list-foot > span { font-size: 13px; color: var(--mm-muted); margin-right: auto; }
.list-foot .pagination { justify-content: flex-start; }

.trust-strip { background: linear-gradient(90deg, #fdf0f6, #fde8f0); }
.trust-strip ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px 0; }
.trust-strip li { display: flex; gap: 14px; align-items: center; padding-left: 40px; }
.trust-strip li > i { font-size: 30px; color: var(--mm-primary); }
.trust-strip strong { display: block; font-size: 14px; color: var(--mm-primary-dark); font-weight: 500; }
.trust-strip span { font-size: 12.5px; color: var(--mm-muted); }
.member-shell + .site-footer.wavy, .trust-strip + .site-footer { margin-top: 0; }

@media (max-width: 1280px) {
    .member-layout { grid-template-columns: 240px minmax(0, 1fr); }
    .inline-hero { padding-left: 220px; }
    .inline-hero-photo { width: 220px; }
    .inline-hero .hero-quote { display: none; }
}
@media (max-width: 1080px) {
    .member-layout { grid-template-columns: minmax(0, 1fr); }
    .member-sidebar { display: none; }
    .trust-strip ul { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
}
@media (max-width: 760px) {
    .inline-hero { padding: 16px 16px 16px 40%; min-height: 150px; margin: 0 -16px 14px; border-radius: 0; }
    .inline-hero-photo { width: 48%; }
    .inline-hero h1 { font-size: 22px; }
    .inline-hero h1.script-title { font-size: 30px; }
    .inline-hero h1.script-title img { width: 28px; }
    .inline-hero p { font-size: 11.5px; }
    .inline-hero .page-hero-script { font-size: 18px; }
    .pill-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 6px; scrollbar-width: none; }
    .pill-tabs a { height: 36px; padding: 0 12px; font-size: 12px; white-space: nowrap; gap: 6px; }
    .list-head { flex-wrap: wrap; align-items: center; }
    .list-head p { display: none; }
    .trust-strip li { padding-left: 0; }
    .trust-strip li > i { font-size: 22px; }
}
@media (max-width: 760px) {
    .profile-grid.compact .pc-photo { aspect-ratio: auto; height: 118px; }
}

/* =========================================================
   CHAT
   ========================================================= */
.chat-shell { display: grid; grid-template-columns: 54px 380px minmax(0, 1fr) 290px; gap: 16px; padding-top: 20px; padding-bottom: 10px; align-items: start; }
.chat-shell:not(.has-active) { grid-template-columns: 54px 380px minmax(0, 1fr); }
.chat-rail { display: grid; gap: 20px; justify-items: center; padding-top: 14px; }
.chat-rail a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--mm-primary); font-size: 20px; }
.chat-rail a.active { background: var(--mm-primary); color: #fff; box-shadow: 0 6px 14px rgba(var(--mm-primary-rgb), .3); }
.chat-list { padding: 18px 14px; height: 760px; display: flex; flex-direction: column; }
.chat-list h2 { font-size: 18px; color: var(--mm-primary); margin: 0 0 12px 4px; }
.chat-filters { display: flex; gap: 6px; margin-bottom: 12px; }
.chat-filters a { flex: 1; text-align: center; padding: 7px 4px; border-radius: 8px; border: 1px solid var(--mm-line); font-size: 12.5px; color: var(--mm-secondary); white-space: nowrap; }
.chat-filters a.active { background: var(--mm-primary); border-color: var(--mm-primary); color: #fff; }
.chat-search { position: relative; margin-bottom: 10px; }
.chat-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--mm-muted); font-size: 13px; }
.chat-search input { width: 100%; height: 38px; border: 1px solid var(--mm-line); border-radius: 8px; padding: 0 12px 0 36px; font-size: 13px; outline: none; }
.chat-items { overflow-y: auto; flex: 1; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.chat-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 10px; border-radius: 10px; color: inherit; border-bottom: 1px solid #f6eff3; }
.chat-item:hover { background: var(--mm-pink-50); color: inherit; }
.chat-item.active { background: linear-gradient(90deg, #fde6ef, #fff4f8); }
.ci-avatar { position: relative; }
.ci-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ci-avatar .dot { position: absolute; right: 2px; bottom: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--mm-success); border: 2px solid #fff; }
.ci-body { min-width: 0; }
.ci-body strong { display: block; font-size: 14.5px; color: var(--mm-secondary); }
.ci-body small { display: block; font-size: 11.5px; color: var(--mm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-body em { display: block; font-style: normal; font-size: 13px; color: #3b3e55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; }
.ci-meta { display: grid; justify-items: end; gap: 8px; align-self: start; padding-top: 4px; }
.ci-meta time { font-size: 11.5px; color: var(--mm-muted); white-space: nowrap; }
.empty-state.small { padding: 30px 10px; font-size: 13.5px; }

.chat-pane { display: flex; flex-direction: column; height: 760px; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--mm-line); }
.chat-head > img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.chat-back { display: none; }
.ch-info { flex: 1; min-width: 0; }
.ch-info strong { display: block; font-size: 17px; color: var(--mm-secondary); }
.ch-info small { display: block; font-size: 13px; color: var(--mm-muted); }
.ch-info span { display: flex; gap: 10px; align-items: center; font-size: 13px; color: #3b3e55; margin-top: 2px; }
.online-pill { font-style: normal; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; padding: 1px 9px; border-radius: 999px; background: var(--mm-success-soft); color: var(--mm-success); }
.online-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.online-pill.off { background: #f1eef3; color: var(--mm-muted); }
.ch-actions { display: flex; gap: 8px; align-items: center; }
.chat-safety { display: flex; gap: 10px; align-items: center; margin: 12px 20px 0; padding: 10px 14px; border-radius: 8px; background: var(--mm-pink-50); font-size: 12.5px; color: #4d5068; }
.chat-safety i { color: var(--mm-primary); }
.chat-body { flex: 1; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #fff, #fffafc); scrollbar-width: thin; }
.msg { display: flex; gap: 10px; align-items: flex-start; max-width: 74%; }
.msg img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.msg p { margin: 0; padding: 11px 16px; border-radius: 4px 14px 14px 14px; background: #fff; border: 1px solid #f0e6ec; box-shadow: 0 2px 8px rgba(0,0,0,.03); font-size: 14px; line-height: 1.55; color: var(--mm-text); }
.msg time { display: block; margin-top: 4px; font-size: 11px; color: var(--mm-muted); }
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg.mine p { background: linear-gradient(120deg, var(--mm-primary), color-mix(in srgb, var(--mm-primary) 80%, #ff5c9d)); color: #fff; border: 0; border-radius: 14px 4px 14px 14px; }
.msg.mine time { text-align: right; }
.msg.mine time i { color: var(--mm-primary); }
.chat-input { display: flex; align-items: flex-end; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--mm-line); }
.chat-input textarea { flex: 1; resize: none; border: 1px solid var(--mm-line); border-radius: 10px; padding: 11px 14px; font-size: 14px; outline: none; max-height: 120px; line-height: 1.4; }
.chat-input textarea:focus { border-color: var(--mm-primary); }
.send-btn { --btn-h: 44px; width: 64px; padding: 0; border-radius: 10px; font-size: 18px; }
.emoji-wrap .icon-plain { font-size: 22px; color: var(--mm-muted); height: 44px; }
.emoji-menu { left: 0; right: auto; top: auto; bottom: calc(100% + 8px); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); min-width: 300px; }
.emoji-menu button { justify-content: center; font-size: 20px; padding: 6px; }
.chat-mobile-actions { display: none; }

.chat-side { display: grid; gap: 16px; }
.qa-card { padding: 16px; }
.qa-card h3 { font-size: 15.5px; margin-bottom: 10px; }
.qa-card > a, .qa-card > button, .qa-card form button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 10px; margin-bottom: 8px; border: 1px solid var(--mm-line); border-radius: 10px; background: #fff; color: var(--mm-secondary); font-size: 14px; text-align: left; }
.qa-card > a:hover, .qa-card > button:hover, .qa-card form button:hover { border-color: var(--mm-pink-300); }
.qa-card .icon-circle.sm { width: 36px; height: 36px; font-size: 17px; background: #fff; border: 1px solid var(--mm-pink-200); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 14px; border-radius: 999px; border: 1px solid var(--mm-line); font-size: 12.5px; color: var(--mm-secondary); }
.about-card { position: relative; overflow: hidden; padding-bottom: 46px; }
.about-card p { font-size: 13.5px; color: #4d5068; margin: 0; position: relative; z-index: 1; }
.about-card img { position: absolute; right: -10px; bottom: -14px; width: 130px; opacity: .8; }

@media (max-width: 1400px) {
    .chat-shell { grid-template-columns: 54px 330px minmax(0, 1fr); }
    .chat-side { display: none; }
}
@media (max-width: 1080px) {
    .chat-shell, .chat-shell:not(.has-active) { grid-template-columns: minmax(0, 1fr); }
    .chat-rail { display: none; }
    .chat-shell.has-active:not(.auto-open) .chat-list { display: none; }
    .chat-shell.auto-open .chat-pane, .chat-shell:not(.has-active) .chat-pane { display: none; }
    .chat-back { display: grid; place-items: center; width: 34px; height: 34px; color: var(--mm-primary); font-size: 20px; }
    .chat-list, .chat-pane { height: calc(100vh - var(--mm-header-h) - 160px); min-height: 520px; }
}
@media (max-width: 760px) {
    .chat-shell { padding-top: 12px; }
    .chat-head { padding: 12px; gap: 10px; }
    .chat-head > img { width: 44px; height: 44px; }
    .ch-actions .btn { display: none; }
    .chat-safety { margin: 8px 12px 0; font-size: 11.5px; }
    .chat-body { padding: 12px; }
    .msg { max-width: 88%; }
    .msg img { width: 30px; height: 30px; }
    .msg p { font-size: 13px; padding: 9px 12px; }
    .chat-mobile-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 0 12px 12px; }
    .emoji-menu { min-width: 260px; grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .page-hero.hide-mobile { display: none; }
    .chat-list, .chat-pane { height: calc(100vh - var(--mm-header-h) - 100px); }
}

/* =========================================================
   NOTIFICATIONS
   ========================================================= */
.notif-layout { padding-top: 0; }
.notif-main { padding-top: 20px; }
.notif-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.pill-tabs.small { margin: 0; gap: 8px; }
.pill-tabs.small a { height: 38px; padding: 0 16px; font-size: 13px; border-radius: 8px; color: var(--mm-secondary); }
.pill-tabs.small a i { color: var(--mm-primary); }
.pill-tabs.small a.active { color: #fff; }
.pill-tabs.small a.active i { color: #fff; }
.notif-actions { display: flex; gap: 10px; align-items: center; }
.notif-actions .icon-btn { border-radius: 8px; }
.notif-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 20px; align-items: start; }
.notif-list { display: grid; gap: 10px; }
.notif-item { display: grid; grid-template-columns: 54px 30px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--mm-radius); background: #fff; border: 1px solid #f3e6ed; color: inherit; transition: .2s; }
.notif-item:hover { border-color: var(--mm-pink-300); color: inherit; }
.notif-item.unread { background: linear-gradient(90deg, #fde8f1, #fff6fa); border-color: #f9d3e3; }
.ni-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.ni-avatar.sys { display: grid; place-items: center; background: var(--mm-pink-100); color: var(--mm-primary); font-size: 24px; }
.ni-type { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mm-pink-100); color: var(--mm-primary); font-size: 14px; }
.ni-type.t-shortlist { background: #fff3e0; color: #f08c00; }
.ni-body { min-width: 0; }
.ni-body strong { display: block; font-size: 14.5px; font-weight: 600; color: var(--mm-secondary); }
.ni-body strong span { font-weight: 400; }
.ni-body small { display: block; font-size: 13px; color: var(--mm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.notif-item time { font-size: 12.5px; color: var(--mm-muted); white-space: nowrap; }
.ni-go { display: flex; align-items: center; gap: 6px; color: var(--mm-muted); }
.ni-go em { width: 16px; height: 16px; border-radius: 50%; background: var(--mm-primary); box-shadow: 0 0 0 3px rgba(var(--mm-primary-rgb), .15); }
.stats-card { padding: 18px; margin-bottom: 18px; }
.stats-card h3 { font-size: 16px; margin-bottom: 8px; }
.qs-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--mm-line); }
.qs-item:last-child { border-bottom: 0; }
.qs-item .icon-circle.sm { width: 42px; height: 42px; font-size: 18px; }
.qs-item strong { display: block; font-size: 17px; line-height: 1.2; color: var(--mm-secondary); }
.qs-item small { font-size: 13px; color: var(--mm-muted); }
.envelope-card { text-align: center; padding: 22px 18px; background: linear-gradient(180deg, #fff3f8, #fde3ee); border: 0; }
.envelope { width: 120px; margin: 0 auto 6px; display: block; }
.envelope-card .script { font-size: 23px; line-height: 1.25; margin: 0; }
.ec-sub { color: var(--mm-primary-dark); font-size: 15px; margin: 2px 0 16px; }

@media (max-width: 1280px) { .notif-grid { grid-template-columns: minmax(0, 1fr); } .notif-side { display: none; } }
@media (max-width: 760px) {
    .notif-toolbar { flex-direction: column; align-items: stretch; }
    .notif-actions { justify-content: flex-end; }
    .notif-item { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 10px; }
    .ni-avatar { width: 44px; height: 44px; }
    .ni-type { display: none; }
    .notif-item time { grid-column: 3; grid-row: 1; align-self: start; font-size: 11px; }
    .ni-go { display: none; }
    .ni-body strong { font-size: 13px; }
    .ni-body small { font-size: 12px; }
}

/* =========================================================
   MEMBERSHIP
   ========================================================= */
.title-icon { color: var(--mm-primary); font-size: .75em; vertical-align: 8px; margin-left: 6px; }
.membership-page { padding-top: 26px; padding-bottom: 10px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; background: #fff; border-radius: var(--mm-radius); border: 1px solid #f3e4ec; box-shadow: var(--mm-shadow-sm); transition: transform .25s, box-shadow .25s; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--mm-shadow); }
.plan-card.tier-free { background: linear-gradient(180deg, #fff4f8, #fff); }
.plan-card.recommended { border: 2px solid #f2b84b; box-shadow: 0 16px 40px rgba(240, 160, 30, .18); }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 22px; border-radius: 6px 6px 0 0; background: var(--mm-primary); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.plan-card header { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.plan-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; font-size: 26px; flex: none; }
.tier-free .plan-icon { background: var(--mm-pink-100); color: var(--mm-primary); }
.tier-silver .plan-icon { background: #e9edf5; color: #45608f; }
.tier-gold .plan-icon { background: linear-gradient(180deg, #ffe08a, #f6b73c); color: #a35a00; }
.tier-platinum .plan-icon { background: #ece4f6; color: #7b4fb0; }
.plan-card h2 { font-size: 20px; margin: 0; }
.plan-card header p { margin: 2px 0 0; font-size: 12.5px; color: var(--mm-muted); }
.plan-price { text-align: center; margin-bottom: 12px; }
.plan-price strong { font-size: 34px; font-weight: 700; color: var(--mm-primary); }
.plan-price span { font-size: 17px; color: var(--mm-secondary); }
.plan-price small { display: block; font-size: 12px; color: var(--mm-muted); }
.plan-old { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 2px; }
.plan-old del { font-size: 16px; font-weight: 500; color: var(--mm-muted); text-decoration-thickness: 1.5px; }
.plan-old em { font-style: normal; font-size: 11.5px; font-weight: 600; color: #0f8a4b; background: #e6f6ee; padding: 2px 8px; border-radius: 20px; }
.plan-mprice del { color: var(--mm-muted); font-weight: 500; margin-right: 4px; }
.plan-badge { align-self: center; margin-bottom: 18px; padding: 3px 14px; border-radius: 6px; font-size: 12.5px; font-weight: 500; background: var(--mm-primary); color: #fff; }
.tier-free .plan-badge, .tier-platinum .plan-badge { background: #fff; color: var(--mm-primary); border: 1px solid var(--mm-primary); }
.plan-features { flex: 1; display: grid; gap: 10px; align-content: start; margin-bottom: 22px; }
.plan-features li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #3b3e55; }
.plan-features li > i:first-child { color: var(--mm-primary); font-size: 16px; }
.tier-free .plan-features li > i:first-child { color: #2a7f8f; }
.tier-free .plan-features li:first-child > i:first-child { color: #f0a500; }
.plan-features li.off { color: var(--mm-light); }
.plan-features li.off > i:first-child { color: #cfcbd5; }
.fbadge { color: var(--mm-primary); }
.plan-card .btn { --btn-h: 46px; font-size: 15px; }

.compare-row { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 24px; margin-top: 30px; align-items: start; }
.compare-wrap h2, .faq-mini h2 { font-size: 20px; margin-bottom: 12px; }
.table-scroll { overflow-x: auto; border-radius: var(--mm-radius); border: 1px solid #f1dbe6; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: #fff; min-width: 560px; }
.compare-table th { padding: 10px 14px; font-weight: 600; text-align: center; background: #fdeef4; color: var(--mm-primary); }
.compare-table th:first-child { text-align: left; }
.compare-table th.th-silver { background: #e3e7ee; color: #34405a; }
.compare-table th.th-gold { background: #fbd77f; color: #6b4a00; }
.compare-table th.th-platinum { background: #9b6bcf; color: #fff; }
.compare-table td { padding: 9px 14px; text-align: center; border-top: 1px solid #f6ebf0; border-left: 1px solid #f6ebf0; color: #3b3e55; }
.compare-table td:first-child { text-align: left; border-left: 0; color: var(--mm-secondary); }
.compare-table td i { color: var(--mm-primary); margin-right: 8px; }
.assure-card { padding: 22px; display: grid; gap: 18px; margin-top: 38px; }
.assure-card > div { display: flex; gap: 16px; align-items: flex-start; }
.assure-card .icon-circle { width: 54px; height: 54px; font-size: 25px; background: #fff0f5; }
.assure-card h4 { font-size: 15px; margin-bottom: 2px; }
.assure-card p { margin: 0; font-size: 13.5px; color: var(--mm-muted); }
.assure-card small { display: block; }

.faq-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; margin-top: 26px; align-items: start; }
.faq-mini-head { display: flex; justify-content: space-between; align-items: center; }
.faq-mini-head h2 { color: var(--mm-primary); }
.faq-mini-head a { font-size: 13px; font-weight: 500; }
.acc-item { border: 1px solid #efe4ea; border-radius: 10px; background: #fff; margin-bottom: 10px; overflow: hidden; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 18px; border: 0; background: none; text-align: left; font-size: 14.5px; font-weight: 500; color: var(--mm-secondary); }
.acc-head > i { transition: transform .25s; color: var(--mm-secondary); }
.acc-item.open .acc-head > i { transform: rotate(180deg); }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.acc-body > * { overflow: hidden; min-height: 0; }
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body p { margin: 0; padding: 0 18px 16px; font-size: 14px; color: #4d5068; line-height: 1.7; }
.acc-item.mini .acc-head { padding: 9px 14px; font-size: 13.5px; }
.acc-item.mini .acc-head span i { color: var(--mm-primary); margin-right: 6px; }
.invest-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 30px 60px; margin-top: 44px; border-radius: var(--mm-radius); background: linear-gradient(120deg, #fff1f6, #fde1ec); }
.invest-card h3 { color: var(--mm-primary); font-size: 22px; font-weight: 500; margin-bottom: 6px; }
.invest-card h3 i { font-size: 24px; margin-right: 8px; }
.invest-card p { margin: 0; color: #4d5068; max-width: 360px; }
.invest-card .btn { position: relative; z-index: 2; --btn-h: 46px; }
.invest-card img { position: absolute; left: 0; bottom: -20px; width: 46%; opacity: .9; }

@media (max-width: 1280px) { .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compare-row, .faq-row { grid-template-columns: minmax(0, 1fr); } .assure-card { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); } .invest-card { margin-top: 0; } }
@media (max-width: 760px) {
    .plans-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .plan-card { padding: 18px; }
    .plan-card.recommended { margin-top: 10px; }
    .assure-card { grid-template-columns: minmax(0, 1fr); }
    .invest-card { flex-direction: column; align-items: flex-start; padding-bottom: 70px; }
}

.crown-svg { width: 1em; height: 1em; display: inline-block; vertical-align: middle; }
.plan-icon .crown-svg { width: 30px; height: 26px; }
.title-icon.crown-svg { width: .6em; height: .55em; vertical-align: 4px; }
.plan-mprice, .plan-chevron { display: none; }
@media (max-width: 760px) {
    .plan-card { padding: 14px 16px; }
    .plan-card header { margin: 0; cursor: pointer; }
    .plan-card header h2 { font-size: 16px; }
    .plan-card header p { display: none; }
    .plan-mprice { display: block; font-weight: 600; color: var(--mm-secondary); font-size: 14px; }
    .plan-chevron { display: block; margin-left: auto; color: var(--mm-muted); transition: transform .2s; }
    .plan-card.open .plan-chevron { transform: rotate(90deg); }
    .plan-card .plan-icon { width: 46px; height: 46px; font-size: 20px; }
    .plan-card > .plan-price, .plan-card > .plan-badge, .plan-card > .plan-features, .plan-card > .btn { display: none; }
    .plan-card.open > .plan-price, .plan-card.open > .plan-features { display: grid; }
    .plan-card.open > .plan-price { display: block; margin-top: 14px; }
    .plan-card.open > .btn { display: flex; }
    .plan-ribbon { font-size: 10px; top: -11px; }
}

/* =========================================================
   HELP & SUPPORT
   ========================================================= */
.help-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr) 300px; gap: 22px; padding-top: 22px; padding-bottom: 10px; align-items: start; }
.help-nav { padding: 10px; display: grid; gap: 4px; margin-bottom: 18px; }
.help-nav a { display: flex; gap: 14px; align-items: center; padding: 11px 14px; border-radius: 9px; font-size: 14.5px; color: var(--mm-secondary); }
.help-nav a i { color: var(--mm-primary); font-size: 18px; }
.help-nav a:hover { background: var(--mm-pink-50); }
.help-nav a.active { background: linear-gradient(90deg, var(--mm-primary), color-mix(in srgb, var(--mm-primary) 85%, #ff5c9d)); color: #fff; }
.help-nav a.active i { color: #fff; }
.help-urgent { padding: 18px; margin-bottom: 18px; background: linear-gradient(180deg, #fff5f9, #fde8f0); border: 0; }
.help-urgent h4 { font-size: 15px; color: var(--mm-primary); margin-bottom: 4px; }
.help-urgent p { font-size: 13px; color: var(--mm-muted); margin: 0; }
.help-urgent .icon-circle { background: #fff; }
.help-urgent .btn { margin-top: 18px; }
.help-quote { position: relative; overflow: hidden; padding: 26px 20px 70px; text-align: center; background: linear-gradient(180deg, #fff7fa, #fde9f1) ; border: 0; }
.help-quote > i { color: var(--mm-primary); font-size: 30px; }
.help-quote p { font-family: var(--mm-script); font-size: 30px; line-height: 1.25; color: var(--mm-primary-dark); margin: 10px 0 0; transform: rotate(-6deg); }
.help-faq { padding: 22px; margin-bottom: 20px; }
.help-faq-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.help-faq-head h2 { font-size: 20px; margin: 0; }
.help-faq-head p { font-size: 13.5px; color: var(--mm-muted); margin: 2px 0 0; }
.help-faq-head .icon-circle.solid { width: 50px; height: 50px; font-size: 26px; }
.faq-search { position: relative; margin-left: auto; width: 260px; }
.faq-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mm-primary); }
.faq-search input { width: 100%; height: 40px; border: 1px solid var(--mm-line); border-radius: 8px; padding: 0 14px 0 40px; outline: none; font-size: 13.5px; }
.help-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.25fr); gap: 18px; align-items: stretch; }
.help-box { padding: 18px; }
.help-box h3 { display: flex; gap: 12px; align-items: center; font-size: 15.5px; margin-bottom: 16px; }
.help-box h3 i { color: var(--mm-primary); font-size: 20px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-line > i { color: var(--mm-primary); font-size: 18px; margin-top: 2px; }
.contact-line strong { display: block; font-size: 14px; font-weight: 500; color: var(--mm-secondary); }
.contact-line a, .contact-line span { display: block; font-size: 13.5px; color: #3b3e55; }
.contact-line small { display: block; font-size: 12px; color: var(--mm-muted); }
.contact-line .btn { display: inline-flex; color: #fff; }
.contact-form .form-label { font-size: 13px; margin: 8px 0 5px; }
.contact-form .form-control { height: 40px; font-size: 13.5px; }
.contact-form textarea.form-control { min-height: 80px; height: auto; }
.contact-form .btn { margin-top: 14px; --btn-h: 44px; }
.article-list li a { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 13.5px; color: var(--mm-secondary); }
.article-list li a i { color: var(--mm-primary); font-size: 12px; }
.article-list li a .end { margin-left: auto; color: var(--mm-secondary); }
.always-card { display: flex; gap: 14px; align-items: center; margin-top: 14px; padding: 14px; border-radius: 10px; background: var(--mm-pink-50); border: 1px solid #fbdce9; }
.always-card > i { color: var(--mm-primary); font-size: 26px; }
.always-card strong { display: block; color: var(--mm-primary); font-size: 14px; font-weight: 500; }
.always-card span { font-size: 12.5px; color: var(--mm-muted); }
.quick-links { padding: 18px; margin-bottom: 18px; }
.quick-links h3 { display: flex; gap: 10px; align-items: center; font-size: 19px; margin-bottom: 10px; }
.quick-links h3 i { color: var(--mm-primary); font-size: 26px; }
.quick-links a { display: flex; gap: 14px; align-items: center; padding: 11px 4px; border-bottom: 1px solid var(--mm-line); font-size: 14.5px; color: var(--mm-secondary); }
.quick-links a:last-child { border-bottom: 0; }
.quick-links a i { color: var(--mm-primary); }
.quick-links a .end { margin-left: auto; color: var(--mm-secondary); font-size: 12px; }
.safety-card { display: flex; gap: 14px; padding: 18px; background: linear-gradient(180deg, #fff5f9, #fde8f0); border: 0; }
.safety-card h4 { font-size: 15.5px; color: var(--mm-primary); margin-bottom: 4px; }
.safety-card p { font-size: 13px; color: var(--mm-muted); margin-bottom: 8px; }
.safety-card a { font-size: 13.5px; font-weight: 500; }
.safety-card .icon-circle { background: #fff; }

@media (max-width: 1400px) { .help-layout { grid-template-columns: 250px minmax(0, 1fr); } .help-right { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; } .quick-links { margin: 0; } }
@media (max-width: 1080px) { .help-layout { grid-template-columns: minmax(0, 1fr); } .help-quote { display: none; } .help-nav a.active { background: none; color: var(--mm-secondary); } .help-nav a.active i { color: var(--mm-primary); } .help-nav a { border-bottom: 1px solid var(--mm-line); border-radius: 0; } .help-right { grid-column: 1; } .help-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .help-row > :last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) {
    .help-faq { padding: 16px; }
    .help-faq-head { flex-wrap: wrap; }
    .faq-search { width: 100%; margin: 0; }
    .help-row, .help-right { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   CHECKOUT
   ========================================================= */
.checkout-hero h1 { font-size: 40px; }
.checkout-hero p { font-size: 17px; white-space: pre; color: var(--mm-secondary); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 340px; gap: 20px; padding-top: 22px; padding-bottom: 10px; align-items: start; }
.co-main { padding: 22px; }
.co-steps { display: flex; justify-content: space-between; list-style: none; padding: 0 10px; margin: 0 0 16px; position: relative; }
.co-steps::before { content: ""; position: absolute; left: 40px; right: 40px; top: 15px; border-top: 1.5px solid var(--mm-pink-200); }
.co-steps li { position: relative; display: grid; justify-items: center; gap: 4px; font-size: 13px; color: var(--mm-muted); background: #fff; padding: 0 6px; }
.co-steps span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--mm-pink-300); background: #fff; color: var(--mm-secondary); font-weight: 600; }
.co-steps li.active { color: var(--mm-primary); font-weight: 600; }
.co-steps li.active span { background: var(--mm-primary); border-color: var(--mm-primary); color: #fff; box-shadow: 0 0 0 4px rgba(var(--mm-primary-rgb), .15); }
.co-steps li.done span { border-color: var(--mm-primary); color: var(--mm-primary); }
.co-main h2 { font-size: 21px; color: var(--mm-primary-dark); margin: 0 0 2px; }
.co-sub { font-size: 13.5px; }
.co-title { font-size: 15px; color: var(--mm-primary-dark); margin: 18px 0 10px; }
.co-plan { display: flex; gap: 16px; align-items: center; padding: 16px; border: 1.5px solid var(--mm-pink-300); border-radius: 10px; }
.co-plan .plan-icon { width: 52px; height: 52px; }
.plan-icon.tier-gold { background: linear-gradient(180deg, #ffe08a, #f6b73c); color: #a35a00; }
.plan-icon.tier-silver { background: #e9edf5; color: #45608f; }
.plan-icon.tier-platinum { background: #ece4f6; color: #7b4fb0; }
.co-plan strong { display: block; font-size: 15px; font-weight: 600; }
.co-plan small { display: block; font-size: 12.5px; color: var(--mm-muted); }
.co-plan-price { margin-left: auto; text-align: right; }
.co-plan-price strong { font-size: 20px; color: var(--mm-primary-dark); }
.co-methods { display: grid; gap: 10px; }
.co-method input { position: absolute; opacity: 0; }
.co-method-box { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border: 1.5px solid var(--mm-line); border-radius: 10px; cursor: pointer; transition: .2s; position: relative; }
.co-method-box::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #c9c4d0; flex: none; }
.co-method input:checked + .co-method-box { border-color: var(--mm-primary); background: var(--mm-pink-50); }
.co-method input:checked + .co-method-box::before { border: 5px solid var(--mm-primary); }
.co-method input:focus-visible + .co-method-box { box-shadow: 0 0 0 3px rgba(var(--mm-primary-rgb), .2); }
.co-micon { font-size: 22px; color: var(--mm-primary); }
.co-mtext strong { display: block; font-size: 14px; font-weight: 500; }
.co-mtext small { display: block; font-size: 12px; color: var(--mm-muted); }
.co-logos { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pay-logo { height: 18px; width: auto; display: block; }
.co-panel .form-label.sm { font-size: 13px; margin: 10px 0 5px; }
.co-panel .form-control { height: 42px; }
.row-2.tight { gap: 0 14px; }
.input-icon.end .form-control { padding-right: 40px; }
.stripe-field { height: 42px; padding: 12px 14px; border: 1px solid #e7dfe8; border-radius: var(--mm-radius-sm); background: #fff; }
.stripe-field.StripeElement--focus { border-color: var(--mm-primary); box-shadow: 0 0 0 3px rgba(var(--mm-primary-rgb), .1); }
.co-error { color: var(--mm-danger); font-size: 13px; margin-top: 8px; min-height: 18px; }
.bank-box { margin: 0 0 8px; padding: 14px 16px; border-radius: 10px; background: var(--mm-pink-50); border: 1px dashed var(--mm-pink-300); font-family: var(--mm-font); font-size: 13.5px; line-height: 1.7; white-space: pre-wrap; }
.form-control.file { padding: 9px 12px; height: auto; }
.co-info { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px; border-radius: 10px; background: var(--mm-pink-50); }
.co-info i { font-size: 26px; color: var(--mm-primary); }
.co-info p { margin: 0; font-size: 13.5px; color: #4d5068; }

.co-mid { display: grid; gap: 16px; }
.co-coupon, .co-billing, .co-summary { padding: 18px 20px; }
.co-coupon strong { display: block; font-size: 15px; }
.co-coupon small { color: var(--mm-muted); font-size: 12.5px; }
.co-coupon .icon-circle.sm { border-radius: 10px; background: var(--mm-pink-100); }
.coupon-form { display: flex; gap: 10px; margin-top: 12px; }
.coupon-form .form-control { height: 42px; text-transform: uppercase; }
.coupon-form .btn { --btn-h: 42px; padding: 0 22px; }
.co-billing h3, .co-summary h3 { font-size: 16px; color: var(--mm-primary-dark); margin-bottom: 10px; }
.bill-row { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.bill-row > i { color: var(--mm-primary); font-size: 17px; margin-top: 4px; }
.bill-row > div { flex: 1; }
.bill-row small { display: block; font-size: 12px; color: var(--mm-muted); }
.bill-row span { font-size: 14px; color: var(--mm-secondary); }
.bill-row .form-control { height: 38px; margin-top: 4px; }
.link-btn { border: 0; background: none; color: var(--mm-primary); font-weight: 500; font-size: 13px; padding: 0; align-self: center; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #3b3e55; }
.sum-row.discount span:last-child { color: var(--mm-success); }
.co-summary hr { border: 0; border-top: 1px solid var(--mm-line); margin: 6px 0; }
.sum-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 16px; font-weight: 600; font-size: 16px; }
.sum-total strong { font-size: 26px; color: var(--mm-primary); }
.pay-btn { --btn-h: 54px; font-size: 18px; }
.secure-note { text-align: center; font-size: 12.5px; color: var(--mm-muted); margin: 12px 0 0; }
.co-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 12px 8px; }
.co-trust li { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 0 6px; }
.co-trust li + li { border-left: 1px solid var(--mm-line); }
.co-trust i { font-size: 22px; color: var(--mm-primary); }
.co-trust strong { font-size: 11.5px; color: var(--mm-primary-dark); font-weight: 600; }
.co-trust span { font-size: 10.5px; color: var(--mm-muted); line-height: 1.3; }
.co-side { display: grid; gap: 16px; }
.co-why, .co-accepted { padding: 18px 20px; }
.co-why h3 { display: flex; gap: 10px; align-items: center; font-size: 16px; color: var(--mm-primary-dark); margin-bottom: 12px; }
.co-why h3 i { color: var(--mm-primary); font-size: 22px; }
.why-line { display: flex; gap: 14px; padding: 8px 0; }
.why-line > i { color: var(--mm-primary); font-size: 20px; }
.why-line strong { display: block; font-size: 14px; font-weight: 500; }
.why-line small { font-size: 12.5px; color: var(--mm-muted); }
.co-accepted h3 { font-size: 15px; color: var(--mm-primary-dark); margin-bottom: 12px; }
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 10px; align-items: center; justify-items: center; }
.logo-grid .pay-logo { height: 22px; }
.co-offer { display: flex; gap: 16px; padding: 18px; background: linear-gradient(120deg, #fff1f6, #fde3ee); border: 0; }
.offer-icon { font-size: 34px; color: var(--mm-primary); }
.co-offer h4 { color: var(--mm-primary); font-size: 16px; margin-bottom: 4px; }
.co-offer p { font-size: 13px; color: #4d5068; margin-bottom: 10px; }
.co-terms { padding: 4px 6px; }
.co-terms h3 { font-size: 15px; color: var(--mm-primary-dark); margin-bottom: 8px; }
.co-terms a { display: block; font-size: 13.5px; color: var(--mm-secondary); text-decoration: underline; padding: 3px 0; }

/* success */
.success-hero, .success-hero .container { min-height: 250px; }
.success-text { text-align: center; }
.success-burst { position: relative; width: 74px; height: 74px; margin: 0 auto 6px; }
.success-burst span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(180deg, #2fc46d, #16a34a); color: #fff; font-size: 40px; box-shadow: 0 10px 24px rgba(22, 163, 74, .3); }
.success-burst.pending span { background: linear-gradient(180deg, #f6b73c, #e08e00); box-shadow: 0 10px 24px rgba(224, 142, 0, .3); font-size: 32px; }
.success-burst::before, .success-burst::after { content: "♥  ♥"; position: absolute; top: 24px; font-size: 14px; color: var(--mm-primary); letter-spacing: 6px; white-space: nowrap; }
.success-burst::before { right: 90px; }
.success-burst::after { left: 90px; }
.success-text h1 { font-size: 40px; color: var(--mm-primary); margin: 0 0 4px; }
.success-text p { margin: 0 auto; }
.success-text p.lead { font-size: 18px; color: var(--mm-secondary); margin-bottom: 10px; }
.success-page { padding-top: 24px; padding-bottom: 10px; }
.success-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; align-items: stretch; }
.success-plan { padding: 24px; }
.sp-head { display: flex; gap: 20px; align-items: center; margin-bottom: 18px; }
.sp-head .plan-icon { width: 72px; height: 72px; }
.sp-head .plan-icon .crown-svg { width: 38px; height: 32px; }
.sp-head h2 { font-size: 26px; color: var(--mm-primary-dark); margin: 6px 0 2px; }
.sp-head p { margin: 0; color: var(--mm-secondary); }
.sp-head b { color: var(--mm-line); margin: 0 6px; font-weight: 400; }
.sp-perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 14px 0; border-top: 1px solid var(--mm-line); border-bottom: 1px solid var(--mm-line); margin-bottom: 18px; }
.sp-perks li { text-align: center; font-size: 13px; color: #3b3e55; line-height: 1.35; }
.sp-perks li + li { border-left: 1px solid var(--mm-line); }
.sp-perks i { display: block; font-size: 22px; color: var(--mm-primary); margin-bottom: 6px; }
.sp-details { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; margin: 0 0 22px; font-size: 15px; }
.sp-details dt { color: #4d5068; }
.sp-details dd { margin: 0; text-align: right; font-weight: 500; color: var(--mm-secondary); }
.sp-details dd.amount { color: var(--mm-primary); font-weight: 700; font-size: 17px; }
.sp-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.sp-actions .btn { --btn-h: 46px; }
.success-benefits { padding: 24px; }
.success-benefits h3 { display: flex; gap: 10px; align-items: center; font-size: 18px; color: var(--mm-primary-dark); margin-bottom: 14px; }
.success-benefits h3 i { color: var(--mm-primary); font-size: 24px; }
.success-benefits ul li { display: flex; gap: 12px; padding: 6px 0; font-size: 15px; color: #3b3e55; }
.success-benefits ul li i { color: var(--mm-primary); }
.thanks-card { display: flex; gap: 14px; margin-top: 18px; padding: 18px; border-radius: 12px; background: linear-gradient(120deg, #fff4f8, #fde9f1); }
.thanks-card .icon-circle { background: #fff; }
.thanks-card h4 { color: var(--mm-primary); font-size: 16px; margin-bottom: 4px; }
.thanks-card p { font-size: 13.5px; color: #4d5068; margin-bottom: 10px; }
.need-help { display: flex; gap: 12px; }
.need-help > i { font-size: 28px; color: var(--mm-primary); }
.need-help strong { display: block; font-size: 14px; color: var(--mm-primary-dark); }
.need-help span { display: block; font-size: 12.5px; color: var(--mm-muted); }
.need-help a { font-size: 13.5px; font-weight: 500; }
.success-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 24px 0; }
.cta-big { display: flex; align-items: center; justify-content: center; gap: 16px; height: 74px; border-radius: 10px; border: 1.5px solid var(--mm-primary); color: var(--mm-primary); font-size: 19px; font-weight: 500; background: #fff; transition: .2s; }
.cta-big i { font-size: 26px; }
.cta-big small { display: block; font-size: 12.5px; color: var(--mm-muted); font-weight: 400; }
.cta-big.primary { background: linear-gradient(90deg, color-mix(in srgb, var(--mm-primary) 85%, #000), var(--mm-primary)); color: #fff; border: 0; box-shadow: 0 10px 24px rgba(var(--mm-primary-rgb), .3); }
.cta-big.primary small { color: rgba(255,255,255,.85); }
.cta-big:hover { transform: translateY(-2px); }
.success-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 16px 10px; border-radius: 10px; background: var(--mm-pink-50); }
.success-trust li { display: flex; gap: 12px; align-items: center; padding: 0 20px; }
.success-trust li + li { border-left: 1px solid #f1d3e0; }
.success-trust i { font-size: 26px; color: var(--mm-primary); }
.success-trust strong { display: block; font-size: 13.5px; color: var(--mm-primary-dark); font-weight: 500; }
.success-trust span, .success-trust a { font-size: 12px; color: var(--mm-muted); }

@media (max-width: 1400px) { .checkout-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .co-side { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1080px) { .checkout-layout { grid-template-columns: minmax(0, 1fr); } .success-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
    .co-side { grid-template-columns: minmax(0, 1fr); }
    .co-logos { display: none; }
    .co-trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 0; }
    .co-trust li:nth-child(3) { border-left: 0; }
    .checkout-hero h1 { font-size: 24px; }
    .checkout-hero p { white-space: normal; font-size: 14px; }
    .success-hero .page-hero-text { padding-left: 0 !important; }
    .success-hero .page-hero-photo { display: none; }
    .success-text h1 { font-size: 26px; }
    .success-burst::before, .success-burst::after { display: none; }
    .sp-perks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 0; }
    .sp-perks li:nth-child(3) { border-left: 0; }
    .sp-actions, .success-cta { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .success-trust { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 0; }
    .success-trust li { padding: 0 8px; }
    .success-trust li:nth-child(3) { border-left: 0; }
}
.input-icon.end > .form-control { padding-left: 16px; }

/* =========================================================
   DASHBOARD / SETTINGS / ABOUT / STORIES / PAGES
   ========================================================= */
.dash-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; margin-bottom: 18px; }
.dash-profile { display: flex; gap: 22px; align-items: center; padding: 22px; }
.ring-wrap { position: relative; width: 112px; height: 112px; flex: none; }
.ring.big { width: 112px; height: 112px; }
.ring-wrap img { position: absolute; inset: 12px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.dash-profile h2 { font-size: 21px; margin: 0; }
.dash-profile .text-muted { font-size: 13px; margin: 2px 0 10px; }
.dp-bar { display: flex; justify-content: space-between; font-size: 13px; color: var(--mm-secondary); }
.dp-bar strong { color: var(--mm-primary); }
.bar-line { height: 6px; border-radius: 4px; background: var(--mm-pink-100); overflow: hidden; margin-top: 6px; }
.bar-line i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--mm-primary), #ff6aa5); }
.dash-plan { display: flex; gap: 16px; align-items: center; padding: 22px; background: linear-gradient(120deg, #fff4f8, #fde6ef); border: 0; }
.dash-plan .plan-icon { width: 58px; height: 58px; }
.dash-plan small { color: var(--mm-muted); font-size: 12px; }
.dash-plan h3 { font-size: 19px; margin: 0; }
.dash-plan p { margin: 2px 0 0; font-size: 13px; color: #4d5068; }
.dash-plan .btn { margin-left: auto; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.dash-stats li { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border-radius: var(--mm-radius); border: 1px solid #f6e7ee; box-shadow: var(--mm-shadow-sm); }
.dash-stats strong { display: block; font-size: 22px; color: var(--mm-secondary); line-height: 1.1; }
.dash-stats span { font-size: 13px; color: var(--mm-muted); }
.dash-pending { padding: 18px 20px; }
.dash-pending .list-head a { font-size: 13.5px; font-weight: 500; }
.pending-row { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--mm-line); }
.pending-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.pending-row > div { flex: 1; min-width: 0; }
.pending-row strong { color: var(--mm-secondary); }
.pending-row small { display: block; font-size: 12.5px; color: var(--mm-muted); }
.dash-visitors { padding: 18px 20px; }
.dash-visitors h2 { font-size: 18px; }
.visitor-row { display: flex; gap: 18px; flex-wrap: wrap; }
.visitor-row a { display: grid; justify-items: center; gap: 6px; font-size: 13px; color: var(--mm-secondary); }
.visitor-row img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mm-pink-100); }

.settings-main { padding-bottom: 20px; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.set-card { padding: 22px; }
.set-card h3 { display: flex; gap: 10px; align-items: center; font-size: 17px; margin-bottom: 16px; }
.set-card h3 i { color: var(--mm-primary); font-size: 20px; }
.toggle-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--mm-line); font-size: 14px; cursor: pointer; }
.pay-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--mm-line); font-size: 14px; }
.pay-row small { display: block; font-size: 12px; color: var(--mm-muted); }
.pay-row .icon-btn { width: 34px; height: 34px; font-size: 15px; }
.danger-zone { border-color: #f6c9d0; }
.danger-zone h3 i { color: var(--mm-danger); }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.about-photos { position: relative; height: 480px; }
.about-photos img { position: absolute; border-radius: 18px; object-fit: cover; box-shadow: var(--mm-shadow-lg); }
.ap-1 { left: 0; top: 0; width: 66%; height: 82%; }
.ap-2 { right: 0; bottom: 0; width: 52%; height: 60%; border: 6px solid #fff; }
.ap-badge { position: absolute; left: 30px; bottom: 30px; padding: 14px 20px; border-radius: 14px; background: var(--mm-primary); color: #fff; font-size: 13px; box-shadow: var(--mm-shadow); }
.ap-badge strong { display: block; font-size: 24px; }
.about-copy h2 { font-size: 34px; }
.small-script { font-size: 24px; display: block; margin-bottom: 4px; }
.rich-text { font-size: 15px; line-height: 1.8; color: #3b3e55; }
.rich-text h2, .rich-text h3 { margin-top: 1.2em; }
.rich-text ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.rich-text ol { padding-left: 22px; }
.rich-text a { text-decoration: underline; }
.rich-text img { border-radius: 12px; margin: 1em 0; }
.about-points { margin: 18px 0 24px; display: grid; gap: 10px; }
.about-points li { display: flex; gap: 10px; }
.about-points i { color: var(--mm-primary); }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step-card { position: relative; text-align: center; padding: 30px 20px; border-radius: var(--mm-radius); background: #fff; border: 1px solid #f4e6ee; box-shadow: var(--mm-shadow-sm); }
.step-card .icon-circle { margin: 0 auto 14px; }
.step-card h3 { font-size: 17px; }
.step-card p { font-size: 14px; color: var(--mm-muted); margin: 0; }
.step-no { position: absolute; right: 16px; top: 10px; font-size: 34px; font-weight: 700; color: var(--mm-pink-100); }
.stories-track.static { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; }

.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.story-tile { overflow: hidden; }
.story-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.story-tile > div { padding: 18px 20px 20px; }
.story-tile h3 { font-size: 18px; margin: 6px 0 2px; }
.story-tile small { color: var(--mm-muted); font-size: 12.5px; }
.story-tile small i { color: var(--mm-primary); }
.story-tile p { margin: 10px 0 0; font-size: 14.5px; color: #3b3e55; font-style: italic; }
.story-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; padding: 26px 30px; border-radius: var(--mm-radius); border: 1px solid #fbdce9; }
.story-cta h3 { color: var(--mm-primary); margin-bottom: 4px; }
.story-cta p { margin: 0; color: #4d5068; }
.page-body { padding: 34px 40px; max-width: 920px; margin: 0 auto; }

@media (max-width: 1080px) {
    .dash-top, .settings-grid, .about-grid { grid-template-columns: minmax(0, 1fr); }
    .dash-stats { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .steps-grid, .story-grid, .stories-track.static { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .about-photos { height: 380px; }
}
@media (max-width: 760px) {
    .dash-profile { flex-direction: column; text-align: center; }
    .dash-profile .d-flex { justify-content: center; }
    .dash-stats { gap: 10px; }
    .dash-stats li { padding: 12px; gap: 10px; }
    .dash-stats .icon-circle { width: 40px; height: 40px; font-size: 17px; }
    .dash-stats strong { font-size: 18px; }
    .pending-row { flex-wrap: wrap; }
    .steps-grid, .story-grid, .stories-track.static { grid-template-columns: minmax(0, 1fr); }
    .about-copy h2 { font-size: 26px; }
    .about-photos { height: 300px; }
    .story-cta { flex-direction: column; align-items: flex-start; }
    .page-body { padding: 22px 18px; }
    .pay-row { grid-template-columns: minmax(0, 1fr) auto; }
}
.demo-login { align-items: center; } .demo-login .btn { margin-left: auto; }

/* =========================================================
   HOME – MEMBER DASHBOARD (shown after login)
   ========================================================= */
.home-dash { padding-top: 36px; background: linear-gradient(180deg, #fff 0, #fff6f9 100%); }
.home-dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.home-dash-head .page-hero-script { font-size: 24px; }
.home-dash-head h2 { margin: 0; font-size: 30px; color: var(--mm-secondary); }
.home-dash-head h2 span { color: var(--mm-primary); }
.home-dash .dash-profile h3 { font-size: 20px; margin: 0; }
.dash-quick { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.dash-quick a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; text-align: center; font-size: 13px; font-weight: 500; color: var(--mm-secondary); background: #fff; border: 1px solid #f6e7ee; border-radius: var(--mm-radius); box-shadow: var(--mm-shadow-sm); transition: transform .15s, border-color .15s; }
.dash-quick a:hover { transform: translateY(-2px); border-color: var(--mm-pink-300); color: var(--mm-primary); }
.dash-quick .icon-circle { position: relative; }
.dash-quick em { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--mm-primary); color: #fff; font-size: 10.5px; font-style: normal; font-weight: 600; line-height: 18px; }
@media (max-width: 1080px) {
    .dash-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .home-dash { padding-top: 24px; }
    .home-dash-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .home-dash-head h2 { font-size: 24px; }
    .dash-quick { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .dash-quick a { padding: 12px 4px; font-size: 11.5px; }
}

/* =========================================================
   REFER & EARN
   ========================================================= */
.refer-link { padding: 24px; margin-bottom: 18px; }
.refer-link-head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.refer-link-head h2 { font-size: 20px; margin: 0; }
.refer-link-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--mm-muted); }
.refer-copy { display: flex; gap: 10px; }
.refer-copy .form-control { flex: 1; min-width: 0; font-weight: 500; color: var(--mm-secondary); background: var(--mm-pink-50); }
.refer-copy .btn { flex: none; }
.refer-code { margin: 10px 0 16px; font-size: 13.5px; color: var(--mm-muted); }
.refer-code strong { color: var(--mm-primary); letter-spacing: 1.5px; }
.refer-share { display: flex; flex-wrap: wrap; gap: 10px; }
.refer-share a, .refer-share button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 30px; border: 1px solid var(--mm-border); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--mm-secondary); cursor: pointer; transition: transform .15s; }
.refer-share a:hover, .refer-share button:hover { transform: translateY(-2px); }
.refer-share i { font-size: 16px; }
.share-wa i { color: #25d366; } .share-fb i { color: #1877f2; } .share-x i { color: #111; } .share-tg i { color: #229ed9; } .share-mail i, .share-more i { color: var(--mm-primary); }
.refer-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.refer-how { padding: 22px 24px; margin-bottom: 18px; }
.refer-how h2, .refer-friends h2 { font-size: 19px; margin: 0 0 14px; }
.refer-how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.refer-how li { display: flex; gap: 12px; padding: 16px; border-radius: var(--mm-radius); background: var(--mm-pink-50); }
.refer-how li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mm-primary); color: #fff; font-weight: 600; }
.refer-how li strong { display: block; font-size: 14.5px; color: var(--mm-secondary); }
.refer-how li p { margin: 4px 0 0; font-size: 13px; color: var(--mm-muted); line-height: 1.55; }
.refer-note { margin: 14px 0 0; font-size: 12.5px; color: var(--mm-muted); }
.refer-friends { padding: 22px 24px; }
.refer-friends .list-head h2 { margin: 0; }
.refer-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #f6ebf0; }
.refer-row img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.refer-who { flex: 1; min-width: 0; }
.refer-who strong { display: block; font-size: 14.5px; color: var(--mm-secondary); }
.refer-who small { font-size: 12px; color: var(--mm-muted); }
.st-pill { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; background: #eeedf2; color: #6c7086; }
.st-pill.on { background: #e5f7ec; color: #17924b; }
.refer-days { min-width: 70px; text-align: right; font-weight: 600; color: var(--mm-primary); font-size: 14px; }
@media (max-width: 1080px) {
    .refer-how ol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .refer-link, .refer-how, .refer-friends { padding: 18px 16px; }
    .refer-copy { flex-direction: column; }
    .refer-stats { grid-template-columns: minmax(0, 1fr); }
    .refer-share a, .refer-share button { padding: 8px 12px; font-size: 12.5px; }
    .refer-days { min-width: 0; }
}

/* ---------- hosted payment redirect / confirmation ---------- */
.pay-redirect { max-width: 600px; padding-top: 50px; padding-bottom: 60px; }
.pay-redirect .empty-state p { max-width: 440px; margin: 0 auto 18px; line-height: 1.6; }
.pay-redirect-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
