:root{--pm-primary:#4F8F1F;--pm-accent:#7CCB36;--pm-soft:#F3F8EE;--pm-ink:#1F2937;--pm-muted:#667085;--pm-line:#E5E7EB;--pm-card:#fff;--pm-success:#22C55E;--pm-danger:#EF4444;--pm-shadow:0 20px 55px rgba(59,32,92,.10);--pm-font-body:inherit;--pm-font-heading:inherit}
.pm-shortcode-surface,.pm-shortcode-surface *{box-sizing:border-box}.pm-shortcode-surface{width:100%;color:var(--pm-ink)}body.purple-match-app-page{margin:0;min-height:100%;background:#f8f7fb;color:var(--pm-ink);overflow-x:hidden}body.pm-type-modern .pm-shortcode-surface{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.pm-type-modern .pm-shortcode-surface h1,body.pm-type-modern .pm-shortcode-surface h2,body.pm-type-modern .pm-shortcode-surface h3,body.pm-type-modern .pm-shortcode-surface .pm-brand{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.pm-type-romantic .pm-shortcode-surface{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.pm-type-romantic .pm-shortcode-surface h1,body.pm-type-romantic .pm-shortcode-surface h2,body.pm-type-romantic .pm-shortcode-surface h3,body.pm-type-romantic .pm-shortcode-surface .pm-brand{font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,"Times New Roman",serif}body.pm-type-romantic .pm-shortcode-surface h1,body.pm-type-romantic .pm-shortcode-surface h2,body.pm-type-romantic .pm-shortcode-surface h3{letter-spacing:-.025em}.pm-shortcode-surface button,.pm-shortcode-surface input,.pm-shortcode-surface textarea,.pm-shortcode-surface select{font:inherit}.pm-shortcode-surface button{cursor:pointer}.pm-shortcode-surface img{max-width:100%}#purple-match-root{min-height:100vh}.pm-brand{display:inline-flex;align-items:center;gap:9px;font-weight:900;font-size:20px;letter-spacing:-.03em;color:var(--pm-ink);text-decoration:none}.pm-brand-light{color:#fff}.pm-logo-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;font-size:17px;box-shadow:0 8px 24px color-mix(in srgb,var(--pm-primary) 25%,transparent)}.pm-eyebrow{display:block;font-size:11px;font-weight:900;letter-spacing:.18em;color:var(--pm-primary)}
.pm-auth-screen{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.12fr) minmax(420px,.88fr)}.pm-auth-hero{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:38px 54px;background:radial-gradient(circle at 75% 15%,rgba(255,255,255,.19),transparent 30%),linear-gradient(145deg,var(--pm-ink) 0%,var(--pm-primary) 48%,var(--pm-accent) 100%);color:#fff;overflow:hidden}.pm-auth-hero:after{content:"♥";position:absolute;right:-4vw;bottom:-16vh;font-size:42vw;line-height:1;color:rgba(255,255,255,.045);transform:rotate(-10deg)}.pm-auth-copy{position:relative;z-index:1;max-width:680px;padding-bottom:9vh}.pm-auth-copy .pm-eyebrow{color:#ddd0ff}.pm-auth-copy h1{font-size:clamp(46px,6vw,82px);line-height:.98;letter-spacing:-.055em;margin:18px 0}.pm-auth-copy h1 em{font-style:normal;color:rgba(255,255,255,.86)}.pm-auth-copy p{max-width:560px;font-size:18px;line-height:1.65;color:#eee7ff}.pm-auth-trust{display:flex;align-items:center;gap:14px;margin-top:34px;color:#e8ddff;font-size:14px}.pm-trust-dots{letter-spacing:-4px;color:#fff}.pm-auth-panel{display:grid;place-items:center;padding:42px;background:#fbfaff}.pm-auth-card{width:min(100%,520px);background:#fff;border:1px solid var(--pm-line);border-radius:28px;padding:34px;box-shadow:var(--pm-shadow)}.pm-mobile-brand{display:none;margin-bottom:24px}.pm-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;background:var(--pm-soft);padding:5px;border-radius:14px}.pm-auth-tabs button{border:0;background:transparent;border-radius:10px;padding:11px;font-weight:800;color:var(--pm-muted)}.pm-auth-tabs button.is-active{background:#fff;color:var(--pm-primary);box-shadow:0 4px 12px rgba(61,36,85,.08)}.pm-auth-form{display:none;padding-top:28px}.pm-auth-form.is-active{display:block}.pm-auth-form h2{font-size:30px;margin:0 0 8px;letter-spacing:-.04em}.pm-auth-form>p{margin:0 0 24px;color:var(--pm-muted)}.pm-auth-form label,.pm-onboarding-card label,.pm-profile-editor label,.pm-settings-card label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:800;margin-bottom:16px}.pm-auth-form input,.pm-onboarding-card input,.pm-onboarding-card textarea,.pm-onboarding-card select,.pm-profile-editor input,.pm-profile-editor textarea,.pm-profile-editor select,.pm-settings-card input{width:100%;padding:14px 15px;border:1px solid var(--pm-line);border-radius:13px;background:#fff;color:var(--pm-ink);outline:none;transition:.18s}.pm-auth-form input:focus,.pm-onboarding-card input:focus,.pm-onboarding-card textarea:focus,.pm-onboarding-card select:focus,.pm-profile-editor input:focus,.pm-profile-editor textarea:focus,.pm-profile-editor select:focus,.pm-settings-card input:focus{border-color:var(--pm-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--pm-primary) 10%,transparent)}.pm-primary-button,.pm-secondary-button{border-radius:13px;padding:13px 18px;font-weight:900;border:0;transition:.18s}.pm-primary-button{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;box-shadow:0 10px 24px color-mix(in srgb,var(--pm-primary) 20%,transparent)}.pm-primary-button:hover{transform:translateY(-1px)}.pm-primary-button:disabled{opacity:.6;cursor:wait}.pm-secondary-button{background:#f5f1fb;color:var(--pm-ink);border:1px solid var(--pm-line)}.pm-auth-form .pm-primary-button{width:100%;margin-top:5px}.pm-auth-form small{display:block;margin-top:16px;color:var(--pm-muted);line-height:1.5}.pm-text-link{display:block;text-align:center;margin-top:18px;color:var(--pm-primary);font-weight:800;text-decoration:none}.pm-auth-message,.pm-inline-message{min-height:24px;margin-top:14px;font-size:13px;font-weight:800;color:var(--pm-danger)}.pm-honeypot{position:absolute!important;left:-9999px!important;opacity:0!important}
.pm-onboarding{min-height:100vh;background:linear-gradient(180deg,#fbfaff,#f6f1ff);padding:26px}.pm-onboarding-topbar{max-width:1120px;margin:0 auto;display:flex;justify-content:space-between;align-items:center}.pm-link-button{border:0;background:transparent;color:var(--pm-muted);font-weight:800}.pm-onboarding-card{width:min(100%,720px);margin:7vh auto 40px;background:#fff;border:1px solid var(--pm-line);border-radius:28px;padding:34px 38px;box-shadow:var(--pm-shadow)}.pm-progress{height:5px;background:#eee8f6;border-radius:999px;overflow:hidden;margin-bottom:32px}.pm-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--pm-primary),var(--pm-accent));transition:.3s}.pm-onboarding-step{display:none}.pm-onboarding-step.is-active{display:block;animation:pmFade .25s ease}.pm-step-count{font-size:12px;font-weight:900;color:var(--pm-primary)}.pm-onboarding-step h1{font-size:clamp(30px,5vw,44px);line-height:1.06;letter-spacing:-.045em;margin:10px 0}.pm-onboarding-step>p{color:var(--pm-muted);font-size:16px;line-height:1.55;margin-bottom:28px}.pm-big-field input{font-size:18px;padding:17px}.pm-step-actions{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-top:22px}.pm-onboarding-step>.pm-primary-button{width:100%;margin-top:20px}.pm-onboarding-card fieldset{border:0;padding:0;margin:0 0 24px}.pm-onboarding-card legend{font-size:13px;font-weight:900;margin-bottom:10px}.pm-choice-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.pm-choice-grid button,.pm-suggested-interests button{border:1px solid var(--pm-line);background:#fff;border-radius:12px;padding:13px;font-weight:800;color:var(--pm-ink)}.pm-choice-grid button.is-selected,.pm-suggested-interests button.is-selected{border-color:var(--pm-primary);background:var(--pm-soft);color:var(--pm-primary);box-shadow:0 0 0 2px color-mix(in srgb,var(--pm-primary) 9%,transparent)}.pm-suggested-interests{display:flex;flex-wrap:wrap;gap:8px}.pm-suggested-interests button{padding:9px 12px;font-size:13px}.pm-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.pm-photo-tile,.pm-upload-tile{position:relative;aspect-ratio:4/5;border-radius:16px;overflow:hidden}.pm-photo-tile img{width:100%;height:100%;object-fit:cover}.pm-photo-delete{position:absolute;right:8px;top:8px;border:0;width:30px;height:30px;border-radius:50%;background:rgba(27,16,40,.72);color:#fff}.pm-upload-tile{display:grid!important;place-items:center;margin:0!important;border:2px dashed #cfc2df!important;background:#faf7ff!important;color:var(--pm-primary);cursor:pointer}.pm-upload-tile input{display:none}.pm-upload-tile span{font-size:28px;line-height:1}.pm-upload-tile strong{font-size:13px;margin-top:-35%}
.pm-app{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr);background:#f8f7fb}.pm-sidebar{position:sticky;top:0;height:100vh;padding:28px 18px;display:flex;flex-direction:column;background:linear-gradient(180deg,#1d1230,#22123c 75%,#190d2e);color:#fff}.pm-sidebar-brand{color:#fff;padding:0 8px 30px}.pm-nav{display:flex;flex-direction:column;gap:5px}.pm-nav button,.pm-nav a,.pm-logout-button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#d9cfe8;text-align:left;padding:12px 14px;border-radius:12px;font-weight:800}.pm-nav button span,.pm-nav a span{width:20px;text-align:center;font-size:19px}.pm-nav button.is-active,.pm-nav button:hover,.pm-nav a.is-active,.pm-nav a:hover{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff}.pm-nav-divider{height:1px;background:rgba(255,255,255,.09);margin:10px 8px}.pm-premium-card{margin-top:auto;padding:16px;border-radius:17px;background:linear-gradient(145deg,color-mix(in srgb,var(--pm-primary) 36%,transparent),rgba(255,255,255,.06));border:1px solid rgba(255,255,255,.08)}.pm-premium-card>span{font-size:22px;color:#f8d24a}.pm-premium-card strong{display:block;margin-top:8px}.pm-premium-card p{font-size:12px;line-height:1.45;color:#cabedf}.pm-premium-card button{border:0;border-radius:10px;padding:9px 11px;background:rgba(255,255,255,.12);color:#fff;font-weight:800}.pm-logout-button{margin-top:10px}.pm-app-content{min-width:0;padding:26px clamp(20px,4vw,52px) 50px}.pm-app-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.pm-app-header h1{font-size:34px;letter-spacing:-.04em;margin:4px 0 0}.pm-header-actions{display:flex;gap:10px;align-items:center}.pm-icon-button,.pm-user-chip{border:1px solid var(--pm-line);background:#fff;border-radius:13px;min-height:44px}.pm-icon-button{width:44px}.pm-user-chip{display:flex;align-items:center;gap:9px;padding:5px 12px 5px 5px;font-weight:800;color:var(--pm-ink)}.pm-user-chip img{width:34px;height:34px;border-radius:10px;object-fit:cover}.pm-view{display:none}.pm-view.is-active{display:block;animation:pmFade .2s ease}.pm-section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.pm-section-toolbar p{color:var(--pm-muted);margin:0}.pm-discover-placeholder{max-width:520px;margin:0 auto}.pm-profile-skeleton-card{overflow:hidden;background:#fff;border:1px solid var(--pm-line);border-radius:24px;box-shadow:var(--pm-shadow)}.pm-skeleton-photo{height:420px;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,var(--pm-soft) 0,var(--pm-accent) 28%,var(--pm-primary) 70%,var(--pm-ink) 100%);color:#fff;font-size:12px;font-weight:900;letter-spacing:.18em}.pm-skeleton-copy{padding:22px}.pm-skeleton-copy h2{font-size:28px;margin:0 0 8px}.pm-skeleton-copy p{color:var(--pm-muted);line-height:1.55}.pm-chip-row{display:flex;flex-wrap:wrap;gap:7px}.pm-chip-row span{padding:7px 10px;border-radius:999px;background:var(--pm-soft);color:var(--pm-primary);font-size:12px;font-weight:800}.pm-discover-actions{display:flex;justify-content:center;gap:22px;padding:20px}.pm-discover-actions button{width:58px;height:58px;border-radius:50%;border:1px solid var(--pm-line);background:#fff;color:var(--pm-muted);font-size:24px;box-shadow:0 8px 22px rgba(62,42,81,.09)}.pm-discover-actions .pm-like-circle{width:68px;height:68px;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff}.pm-empty-state{min-height:55vh;display:grid;place-items:center;align-content:center;text-align:center;background:#fff;border:1px solid var(--pm-line);border-radius:24px;padding:30px}.pm-empty-state>span{font-size:42px;color:var(--pm-primary)}.pm-empty-state h2{margin:10px 0 6px}.pm-empty-state p{color:var(--pm-muted);max-width:480px}.pm-profile-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(400px,1.15fr);gap:26px;align-items:start}.pm-profile-preview,.pm-profile-editor,.pm-settings-card{background:#fff;border:1px solid var(--pm-line);border-radius:22px;box-shadow:0 12px 30px rgba(55,37,72,.06)}.pm-profile-preview{overflow:hidden}.pm-preview-photo{height:480px;background-size:cover;background-position:center;position:relative}.pm-preview-photo:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(15,8,28,.88))}.pm-preview-overlay{position:absolute;z-index:1;left:22px;right:22px;bottom:20px;color:#fff}.pm-preview-overlay h2{font-size:30px;margin:0}.pm-preview-overlay p{margin:5px 0 0}.pm-preview-body{padding:20px}.pm-preview-body>p{line-height:1.55;color:#4f4758}.pm-profile-editor,.pm-settings-card{padding:26px}.pm-editor-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:22px}.pm-editor-heading h2,.pm-settings-card h2{margin:5px 0 0;font-size:28px}.pm-completion{display:flex;flex-direction:column;align-items:flex-end}.pm-completion strong{color:var(--pm-primary);font-size:20px}.pm-completion span{font-size:11px;color:var(--pm-muted)}.pm-profile-editor .pm-primary-button,.pm-settings-card .pm-primary-button{width:100%}.pm-settings-card{max-width:720px}.pm-range-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.pm-settings-note{padding:16px;border-radius:15px;background:var(--pm-soft);margin:12px 0 20px}.pm-settings-note p{color:var(--pm-muted);margin:6px 0 0;line-height:1.5}.pm-mobile-nav{display:none}.pm-toast{position:fixed;left:50%;bottom:26px;z-index:9999;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:var(--pm-theme-darker);color:#fff;padding:11px 16px;border-radius:999px;font-weight:800;box-shadow:0 12px 30px rgba(0,0,0,.2);transition:.2s}.pm-toast.is-visible{opacity:1;transform:translate(-50%,0)}
@keyframes pmFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:960px){.pm-auth-screen{grid-template-columns:1fr}.pm-auth-hero{display:none}.pm-auth-panel{min-height:100vh}.pm-mobile-brand{display:inline-flex}.pm-app{grid-template-columns:82px minmax(0,1fr)}.pm-sidebar-brand span:last-child,.pm-nav button:not(.is-active){font-size:0}.pm-nav button{justify-content:center}.pm-nav button.is-active{font-size:0}.pm-nav button span{font-size:20px}.pm-premium-card{display:none}.pm-logout-button{font-size:0;justify-content:center}.pm-profile-layout{grid-template-columns:1fr}.pm-profile-preview{max-width:560px}.pm-preview-photo{height:520px}}
@media(max-width:700px){body.purple-match-app-page{background:#fff}.pm-auth-panel{padding:20px}.pm-auth-card{box-shadow:none;border:0;padding:18px 4px}.pm-onboarding{padding:18px;background:#fff}.pm-onboarding-card{margin:4vh auto 20px;padding:24px 18px;border:0;box-shadow:none}.pm-choice-grid{grid-template-columns:1fr}.pm-photo-grid{grid-template-columns:repeat(2,1fr)}.pm-app{display:block;padding-bottom:78px}.pm-sidebar{display:none}.pm-app-content{padding:18px 16px 24px}.pm-app-header{margin-bottom:18px}.pm-app-header h1{font-size:28px}.pm-header-actions .pm-icon-button{display:none}.pm-user-chip span{display:none}.pm-user-chip{padding:5px}.pm-mobile-nav{position:fixed;z-index:999;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);padding:8px 6px;background:rgba(32,19,49,.96);backdrop-filter:blur(16px);border-radius:19px;box-shadow:0 12px 35px rgba(20,10,35,.25)}.pm-mobile-nav button,.pm-mobile-nav a{border:0;background:transparent;color:#c9bdd9;display:flex;flex-direction:column;align-items:center;gap:2px;font-size:20px}.pm-mobile-nav button.is-active,.pm-mobile-nav a.is-active{color:#fff}.pm-mobile-nav small{font-size:9px;font-weight:800}.pm-skeleton-photo{height:55vh;min-height:360px}.pm-profile-preview{border-radius:18px}.pm-preview-photo{height:58vh;min-height:420px}.pm-profile-editor{padding:20px}.pm-range-fields{grid-template-columns:1fr}.pm-section-toolbar p{font-size:13px}.pm-section-toolbar .pm-secondary-button{padding:9px 12px}}

/* Step 2: discovery, likes and matching */
.pm-discovery-stage{max-width:560px;margin:0 auto;min-height:620px}.pm-loading-card{min-height:560px;border:1px solid var(--pm-line);border-radius:26px;background:#fff;display:grid;place-items:center;align-content:center;gap:14px;color:var(--pm-muted);box-shadow:var(--pm-shadow)}.pm-loader{width:34px;height:34px;border-radius:50%;border:3px solid #eadffd;border-top-color:var(--pm-primary);animation:pmSpin .75s linear infinite}.pm-discover-card-shell{position:relative}.pm-discover-card{overflow:hidden;border-radius:28px;background:#fff;border:1px solid var(--pm-line);box-shadow:0 22px 60px rgba(46,24,72,.16);transform-origin:center 90%;transition:transform .2s ease,opacity .2s ease}.pm-discover-card.is-liked{transform:translateX(24px) rotate(2deg);opacity:.25}.pm-discover-card.is-passed{transform:translateX(-24px) rotate(-2deg);opacity:.25}.pm-discover-media{position:relative;height:min(68vh,680px);min-height:520px;background:var(--pm-theme-darker);overflow:hidden}.pm-discover-media>img{width:100%;height:100%;object-fit:cover;display:block}.pm-discover-gradient{position:absolute;inset:32% 0 0;background:linear-gradient(180deg,transparent 0,rgba(15,8,25,.18) 25%,rgba(16,8,29,.92) 100%);pointer-events:none}.pm-discover-overlay{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:32px 30px;color:#fff}.pm-discover-overlay h2{font-size:34px;line-height:1;margin:0 0 8px;letter-spacing:-.04em}.pm-discover-meta{font-weight:700;color:#eee7f8;margin:0 0 14px}.pm-discover-bio{max-width:500px;margin:0 0 16px;line-height:1.55;color:#f6f2fa}.pm-chip-row-on-photo span{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(8px)}.pm-photo-dots{position:absolute;z-index:3;left:18px;right:18px;top:16px;display:grid;grid-template-columns:repeat(6,1fr);gap:5px}.pm-photo-dots span{height:3px;border-radius:999px;background:rgba(255,255,255,.38)}.pm-photo-dots span.is-active{background:#fff}.pm-discovery-stage .pm-discover-actions{padding:22px 10px 4px}.pm-discover-actions .pm-pass-circle,.pm-discover-actions .pm-like-circle{transition:transform .15s ease,box-shadow .15s ease}.pm-discover-actions .pm-pass-circle:hover,.pm-discover-actions .pm-like-circle:hover{transform:translateY(-2px)}.pm-discover-actions .pm-pass-circle{width:64px;height:64px;color:#7b7185;font-size:34px}.pm-discover-actions .pm-like-circle{width:72px;height:72px;font-size:28px}.pm-discover-actions button:disabled{opacity:.55;cursor:default}.pm-list-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:4px 0 22px}.pm-list-heading h2{font-size:30px;letter-spacing:-.035em;margin:5px 0 0}.pm-count-pill{display:grid;place-items:center;min-width:38px;height:38px;padding:0 11px;border-radius:999px;background:var(--pm-soft);color:var(--pm-primary);font-weight:900}.pm-member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pm-member-grid>.pm-empty-state{grid-column:1/-1}.pm-loading-inline{grid-column:1/-1;padding:38px;text-align:center;color:var(--pm-muted)}.pm-member-card{overflow:hidden;background:#fff;border:1px solid var(--pm-line);border-radius:21px;box-shadow:0 10px 28px rgba(55,37,72,.07)}.pm-member-photo{aspect-ratio:4/4.7;background:var(--pm-soft);overflow:hidden}.pm-member-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}.pm-member-card:hover .pm-member-photo img{transform:scale(1.025)}.pm-member-card-body{padding:17px}.pm-member-card-body h3{font-size:20px;letter-spacing:-.025em;margin:0}.pm-member-card-body>p{color:var(--pm-muted);margin:5px 0 13px}.pm-member-card-body .pm-chip-row{min-height:28px;margin-bottom:14px}.pm-member-card-body .pm-primary-button,.pm-member-card-body .pm-secondary-button{width:100%;padding:11px 13px}.pm-empty-action{width:auto!important;min-width:170px;margin-top:12px}.pm-match-modal{position:fixed;z-index:10020;inset:0;display:none;place-items:center;padding:20px}.pm-match-modal.is-open{display:grid}.pm-match-backdrop{position:absolute;inset:0;background:rgba(18,9,31,.72);backdrop-filter:blur(8px)}.pm-match-dialog{position:relative;width:min(440px,100%);overflow:hidden;padding:40px 34px 30px;border-radius:30px;background:radial-gradient(circle at 50% -10%,var(--pm-accent) 0,var(--pm-primary) 38%,var(--pm-ink) 82%);color:#fff;text-align:center;box-shadow:0 35px 90px rgba(17,7,30,.42)}.pm-match-dialog .pm-eyebrow{color:rgba(255,255,255,.82)}.pm-match-dialog h2{font-size:42px;letter-spacing:-.05em;margin:10px 0 5px}.pm-match-dialog>p{color:#eadff5;margin:0 0 24px}.pm-match-confetti{position:absolute;left:0;right:0;top:18px;color:#f3a6ff;letter-spacing:24px;opacity:.65;transform:rotate(-4deg);pointer-events:none}.pm-match-faces{display:flex;justify-content:center;align-items:center;margin:0 auto 18px}.pm-match-faces img{width:118px;height:118px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 15px 32px rgba(0,0,0,.25)}.pm-match-faces img+img{margin-left:-24px}.pm-match-dialog>strong{display:block;font-size:18px;margin-bottom:21px}.pm-match-dialog .pm-primary-button{width:100%;background:#fff;color:var(--pm-primary);box-shadow:none}.pm-match-dialog .pm-primary-button:hover{filter:none;transform:translateY(-1px)}.pm-match-continue{color:#fff;margin-top:12px}.pm-modal-open{overflow:hidden}.pm-view[data-view-panel="messages"] .pm-empty-state{border-style:dashed}
@keyframes pmSpin{to{transform:rotate(360deg)}}
@media(max-width:1180px){.pm-member-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pm-discovery-stage{min-height:0}.pm-loading-card{min-height:62vh}.pm-discover-card{border-radius:22px}.pm-discover-media{height:calc(100vh - 235px);min-height:480px;max-height:660px}.pm-discover-overlay{padding:26px 21px}.pm-discover-overlay h2{font-size:31px}.pm-discover-bio{font-size:14px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pm-discovery-stage .pm-discover-actions{padding:16px 8px 2px}.pm-member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.pm-member-card{border-radius:17px}.pm-member-card-body{padding:13px}.pm-member-card-body h3{font-size:17px}.pm-member-card-body>p{font-size:12px}.pm-member-card-body .pm-chip-row{display:none}.pm-member-card-body .pm-primary-button,.pm-member-card-body .pm-secondary-button{font-size:12px;padding:10px}.pm-match-dialog{padding:38px 22px 26px;border-radius:26px}.pm-match-dialog h2{font-size:36px}.pm-match-faces img{width:100px;height:100px}.pm-list-heading h2{font-size:25px}}
@media(max-width:420px){.pm-member-grid{grid-template-columns:1fr 1fr}.pm-discover-media{min-height:450px}.pm-discover-overlay{padding:24px 18px}.pm-discover-overlay h2{font-size:29px}}

/* Step 3: private messaging and unread state */
.pm-nav button{position:relative}.pm-nav-badge{margin-left:auto;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#fff;color:var(--pm-primary);font-size:10px;line-height:1}.pm-nav-badge[hidden],.pm-mobile-badge[hidden]{display:none!important}.pm-mobile-icon-wrap{position:relative;width:auto!important}.pm-mobile-badge{position:absolute;right:-12px;top:-6px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:8px;font-weight:900;border:2px solid var(--pm-theme-darker)}.pm-messages-layout{height:calc(100vh - 155px);min-height:590px;display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);overflow:hidden;background:#fff;border:1px solid var(--pm-line);border-radius:24px;box-shadow:var(--pm-shadow)}.pm-conversations-panel{min-width:0;border-right:1px solid var(--pm-line);display:flex;flex-direction:column;background:#fff}.pm-conversations-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:22px 20px 18px;border-bottom:1px solid var(--pm-line)}.pm-conversations-heading h2{font-size:23px;letter-spacing:-.035em;margin:4px 0 0}.pm-conversation-list{overflow:auto;min-height:0;padding:7px}.pm-conversation-list>.pm-empty-state{margin:10px;border:0;box-shadow:none;padding:30px 14px}.pm-conversation-item{width:100%;display:flex;align-items:center;gap:11px;padding:11px;border:0;border-radius:15px;background:transparent;text-align:left;color:var(--pm-ink);transition:.16s}.pm-conversation-item:hover{background:#faf8fd}.pm-conversation-item.is-active{background:var(--pm-soft)}.pm-conversation-item>img{width:52px;height:52px;flex:0 0 52px;border-radius:50%;object-fit:cover;background:#ede6f7}.pm-conversation-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.pm-conversation-top,.pm-conversation-bottom{display:flex;align-items:center;justify-content:space-between;gap:9px}.pm-conversation-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.pm-conversation-top time{flex:none;color:#9991a1;font-size:10px}.pm-conversation-bottom>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--pm-muted);font-size:12px}.pm-thread-unread{flex:none;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--pm-primary);color:#fff;font-size:9px}.pm-chat-panel{position:relative;min-width:0;background:linear-gradient(180deg,#fff,#fdfbff);overflow:hidden}.pm-chat-empty{height:100%;display:grid;place-items:center;align-content:center;text-align:center;padding:30px;color:var(--pm-muted)}.pm-chat-empty>span{display:grid;place-items:center;width:68px;height:68px;border-radius:24px;background:var(--pm-soft);color:var(--pm-primary);font-size:30px}.pm-chat-empty h2{margin:16px 0 5px;color:var(--pm-ink);font-size:25px}.pm-chat-empty p{max-width:420px;margin:0;line-height:1.55}.pm-chat-active{height:100%;display:flex;flex-direction:column}.pm-chat-header{height:72px;flex:0 0 72px;display:flex;align-items:center;gap:11px;padding:10px 18px;border-bottom:1px solid var(--pm-line);background:rgba(255,255,255,.92);backdrop-filter:blur(10px)}.pm-chat-header>img{width:46px;height:46px;border-radius:50%;object-fit:cover;background:var(--pm-soft)}.pm-chat-header>div{display:flex;flex-direction:column;min-width:0}.pm-chat-header strong{font-size:15px}.pm-chat-header span{font-size:11px;color:var(--pm-muted);margin-top:2px}.pm-chat-back{display:none;width:34px;height:34px;border:0;border-radius:10px;background:#f5f1fb;color:var(--pm-ink);font-size:19px}.pm-chat-messages{flex:1;min-height:0;overflow:auto;padding:22px 24px;display:flex;flex-direction:column;gap:8px;scroll-behavior:smooth;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--pm-accent) 45%,transparent),transparent 30%)}.pm-chat-messages>.pm-loading-inline{margin:auto}.pm-chat-messages>.pm-empty-state{margin:auto;border:0;box-shadow:none}.pm-message-row{display:flex;width:100%}.pm-message-row.is-mine{justify-content:flex-end}.pm-message-row.is-theirs{justify-content:flex-start}.pm-message-bubble{max-width:min(72%,620px);padding:10px 13px 7px;border-radius:17px;box-shadow:0 4px 14px rgba(40,23,58,.04)}.pm-message-row.is-theirs .pm-message-bubble{background:#f2eef6;color:var(--pm-ink);border-bottom-left-radius:6px}.pm-message-row.is-mine .pm-message-bubble{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;border-bottom-right-radius:6px}.pm-message-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.45;font-size:14px}.pm-message-bubble time{display:block;margin-top:4px;text-align:right;font-size:9px;opacity:.68}.pm-chat-start{margin:auto;text-align:center;color:var(--pm-muted);padding:30px}.pm-chat-start>span{font-size:34px}.pm-chat-start strong{display:block;color:var(--pm-ink);font-size:20px;margin-top:8px}.pm-chat-start p{margin:4px 0 0}.pm-chat-composer{flex:0 0 auto;display:flex;align-items:flex-end;gap:9px;padding:13px 16px 15px;border-top:1px solid var(--pm-line);background:#fff}.pm-chat-composer textarea{flex:1;resize:none;max-height:120px;min-height:46px;padding:12px 14px;border:1px solid var(--pm-line);border-radius:16px;background:#faf8fd;color:var(--pm-ink);outline:none;line-height:1.4}.pm-chat-composer textarea:focus{border-color:var(--pm-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--pm-primary) 8%,transparent)}.pm-chat-composer button{flex:0 0 46px;width:46px;height:46px;border:0;border-radius:15px;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;font-size:19px;box-shadow:0 8px 18px color-mix(in srgb,var(--pm-primary) 22%,transparent)}.pm-chat-composer button:disabled{opacity:.55;cursor:wait}
@media(max-width:960px){.pm-messages-layout{grid-template-columns:300px minmax(0,1fr)}.pm-nav-badge{position:absolute;right:5px;top:5px;min-width:18px;height:18px;font-size:8px}}
@media(max-width:700px){.pm-view[data-view-panel="messages"]{position:fixed;z-index:700;inset:0 0 calc(76px + env(safe-area-inset-bottom)) 0;background:#fff}.pm-view[data-view-panel="messages"].is-active{display:block}.pm-view[data-view-panel="messages"]~*{}.pm-messages-layout{height:100%;min-height:0;border:0;border-radius:0;box-shadow:none;display:block}.pm-conversations-panel{height:100%;border-right:0}.pm-conversations-heading{height:76px;padding:17px 18px}.pm-conversation-list{padding:7px 10px 18px}.pm-conversation-item{padding:11px 8px}.pm-conversation-item>img{width:54px;height:54px;flex-basis:54px}.pm-chat-panel{position:absolute;z-index:3;inset:0;background:#fff;transform:translateX(100%);transition:transform .22s ease}.pm-chat-panel.is-chat-open{transform:translateX(0)}.pm-chat-empty{display:none}.pm-chat-active{height:100%}.pm-chat-header{height:68px;flex-basis:68px;padding:9px 12px}.pm-chat-back{display:grid;place-items:center}.pm-chat-header>img{width:42px;height:42px}.pm-chat-messages{padding:18px 12px}.pm-message-bubble{max-width:84%;padding:10px 12px 7px}.pm-chat-composer{padding:9px 10px calc(10px + env(safe-area-inset-bottom));gap:7px}.pm-chat-composer textarea{min-height:44px}.pm-chat-composer button{width:44px;height:44px;flex-basis:44px}.pm-mobile-nav{z-index:750}}


/* Step 4: adaptive typography + safety */
.pm-verified-badge{display:inline-grid;place-items:center;vertical-align:middle;width:18px;height:18px;margin-left:4px;border-radius:50%;background:var(--pm-primary);color:#fff;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:11px;font-weight:900;line-height:1;box-shadow:0 4px 12px color-mix(in srgb,var(--pm-primary) 2%,transparent)}
.pm-status-screen{min-height:100vh;display:grid;place-items:center;padding:28px;background:linear-gradient(180deg,var(--pm-soft),#fff)}.pm-status-card{width:min(100%,560px);text-align:center;background:#fff;border:1px solid var(--pm-line);border-radius:28px;padding:40px;box-shadow:var(--pm-shadow)}.pm-status-card .pm-brand{justify-content:center;margin-bottom:26px}.pm-status-icon{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 18px;border-radius:24px;background:var(--pm-soft);color:var(--pm-primary);font-size:34px}.pm-status-card h1{margin:0 0 12px;font-size:34px}.pm-status-card p{margin:0 auto 24px;max-width:440px;color:var(--pm-muted);line-height:1.65}
.pm-card-safety-button,.pm-member-safety-button,.pm-chat-safety{display:grid;place-items:center;border:1px solid rgba(255,255,255,.24);background:rgba(20,12,31,.36);color:#fff;border-radius:999px;font-weight:900;letter-spacing:.04em}.pm-card-safety-button{position:absolute;z-index:4;right:14px;top:14px;width:38px;height:38px;backdrop-filter:blur(10px)}.pm-member-card{position:relative}.pm-member-safety-button{position:absolute;right:10px;top:10px;width:34px;height:34px;background:rgba(24,14,34,.62);border-color:rgba(255,255,255,.18)}.pm-chat-safety{margin-left:auto;width:38px;height:38px;color:var(--pm-ink);background:var(--pm-soft);border-color:var(--pm-line);flex:0 0 38px}
.pm-safety-modal{position:fixed;z-index:1100;inset:0;display:none;align-items:center;justify-content:center;padding:22px}.pm-safety-modal.is-open{display:flex}.pm-safety-backdrop{position:absolute;inset:0;background:rgba(25,14,37,.62);backdrop-filter:blur(6px)}.pm-safety-dialog{position:relative;z-index:1;width:min(100%,520px);max-height:min(88vh,720px);overflow:auto;background:#fff;border:1px solid var(--pm-line);border-radius:26px;padding:28px;box-shadow:0 30px 90px rgba(26,14,42,.28)}.pm-safety-dialog h2{font-size:28px;margin:7px 0}.pm-safety-dialog>p{margin:0 42px 20px 0;color:var(--pm-muted);line-height:1.55}.pm-modal-close{position:absolute;right:16px;top:16px;width:36px;height:36px;border:0;border-radius:12px;background:var(--pm-soft);color:var(--pm-ink);font-size:22px}.pm-safety-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.pm-danger-button{border:1px solid #fecdd3;border-radius:13px;padding:13px 18px;background:#fff1f2;color:#be123c;font-weight:900}.pm-link-danger{grid-column:1/-1;border:0;background:transparent;color:#be123c;font-weight:900;padding:8px}.pm-report-form{margin-top:22px;padding-top:20px;border-top:1px solid var(--pm-line)}.pm-report-form label{display:flex;flex-direction:column;gap:8px;margin-bottom:15px;font-size:13px;font-weight:800}.pm-report-form label>span{font-weight:600;color:var(--pm-muted)}.pm-report-form select,.pm-report-form textarea{width:100%;border:1px solid var(--pm-line);border-radius:13px;padding:12px 14px;background:#fff;color:var(--pm-ink);font:inherit;outline:none}.pm-report-form select:focus,.pm-report-form textarea:focus{border-color:var(--pm-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--pm-primary) 9%,transparent)}.pm-report-form .pm-check-row{flex-direction:row;align-items:flex-start;font-weight:700;color:var(--pm-muted)}.pm-report-form .pm-check-row input{margin-top:3px}.pm-report-form .pm-primary-button{width:100%}
.pm-settings-stack{display:grid;gap:18px;max-width:900px}.pm-toggle-row{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:22px;padding:17px 18px;border:1px solid var(--pm-line);border-radius:16px;background:#fcfbfe}.pm-toggle-row>span{display:flex;flex-direction:column;gap:4px}.pm-toggle-row small{font-weight:500;color:var(--pm-muted);line-height:1.45}.pm-toggle-row input{appearance:none;width:48px!important;height:28px;flex:0 0 48px;padding:0!important;border:0!important;border-radius:999px!important;background:#d7cfdf!important;position:relative;box-shadow:none!important;transition:.2s}.pm-toggle-row input:before{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.16);transition:.2s}.pm-toggle-row input:checked{background:var(--pm-primary)!important}.pm-toggle-row input:checked:before{transform:translateX(20px)}.pm-blocked-section{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:24px;padding-top:20px;border-top:1px solid var(--pm-line)}.pm-blocked-section strong{display:block}.pm-blocked-section p{margin:5px 0 0;color:var(--pm-muted);font-size:13px}.pm-blocked-list{margin-top:14px;border:1px solid var(--pm-line);border-radius:16px;overflow:hidden}.pm-blocked-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--pm-line)}.pm-blocked-row:first-child{border-top:0}.pm-blocked-row img{width:44px;height:44px;border-radius:50%;object-fit:cover;background:var(--pm-soft)}.pm-blocked-row>div{min-width:0;flex:1;display:flex;flex-direction:column}.pm-blocked-row>div span{font-size:12px;color:var(--pm-muted);margin-top:3px}.pm-blocked-row .pm-secondary-button{padding:9px 12px}.pm-blocked-empty{margin:0;padding:18px;color:var(--pm-muted);text-align:center}
body.pm-appearance-theme .pm-auth-panel,body.pm-appearance-theme .pm-onboarding,body.pm-appearance-theme .pm-app-content{background-color:color-mix(in srgb,var(--pm-soft) 22%,#fff)}
@media(max-width:700px){.pm-safety-modal{padding:0;align-items:flex-end}.pm-safety-dialog{width:100%;max-height:86vh;border-radius:24px 24px 0 0;padding:24px 18px calc(22px + env(safe-area-inset-bottom))}.pm-safety-actions{grid-template-columns:1fr}.pm-link-danger{grid-column:auto}.pm-blocked-section{align-items:flex-start;flex-direction:column}.pm-blocked-section .pm-link-button{padding-left:0}.pm-blocked-row{flex-wrap:wrap}.pm-blocked-row .pm-secondary-button{margin-left:56px}.pm-status-card{padding:30px 22px}.pm-status-card h1{font-size:29px}}

/* Step 5: richer profiles, approximate distance, activity and notifications */
.pm-settings-card select{width:100%;padding:14px 15px;border:1px solid var(--pm-line);border-radius:13px;background:#fff;color:var(--pm-ink);outline:none}.pm-settings-card select:focus{border-color:var(--pm-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--pm-primary) 10%,transparent)}
.pm-notification-button{position:relative;color:var(--pm-ink);font-size:19px}.pm-notification-button>b{position:absolute;right:-5px;top:-5px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:var(--pm-primary);color:#fff;font-size:9px;line-height:1}.pm-notification-drawer{position:fixed;z-index:1080;inset:0;display:none}.pm-notification-drawer.is-open{display:block}.pm-notification-backdrop{position:absolute;inset:0;border:0;background:rgba(25,14,37,.34);backdrop-filter:blur(3px)}.pm-notification-panel{position:absolute;right:0;top:0;width:min(430px,94vw);height:100%;display:flex;flex-direction:column;background:#fff;border-left:1px solid var(--pm-line);box-shadow:-25px 0 70px rgba(29,15,45,.16);animation:pmSlideIn .2s ease}.pm-notification-panel>header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:28px 26px 20px;border-bottom:1px solid var(--pm-line)}.pm-notification-panel h2{margin:4px 0 0;font-size:27px}.pm-notification-panel .pm-modal-close{position:static;flex:0 0 36px}.pm-notification-list{min-height:0;flex:1;overflow:auto;padding:8px}.pm-notification-list .pm-empty-state{min-height:320px;border:0;box-shadow:none}.pm-notification-item{position:relative;width:100%;display:flex;align-items:center;gap:12px;padding:13px 12px;border:0;border-radius:15px;background:#fff;text-align:left;color:var(--pm-ink)}.pm-notification-item:hover{background:#faf8fd}.pm-notification-item.is-unread{background:var(--pm-soft)}.pm-notification-item.is-unread:after{content:"";position:absolute;right:11px;top:14px;width:7px;height:7px;border-radius:50%;background:var(--pm-primary)}.pm-notification-item>img,.pm-notification-symbol{width:46px;height:46px;flex:0 0 46px;border-radius:50%}.pm-notification-item>img{object-fit:cover;background:var(--pm-soft)}.pm-notification-symbol{display:grid;place-items:center;background:linear-gradient(135deg,var(--pm-soft),#fff);color:var(--pm-primary);font-size:20px;border:1px solid var(--pm-line)}.pm-notification-copy{min-width:0;display:flex;flex-direction:column;gap:4px;padding-right:10px}.pm-notification-copy strong{font-size:13px;line-height:1.4}.pm-notification-copy time{font-size:10px;color:var(--pm-muted)}.pm-notification-read-all{margin:10px 18px calc(14px + env(safe-area-inset-bottom));padding:12px;border-radius:12px;background:var(--pm-soft);color:var(--pm-primary)}
.pm-view-profile-button{margin-top:14px;padding:9px 13px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.13);color:#fff;font-weight:850;backdrop-filter:blur(8px)}.pm-member-view-link{width:100%;padding:6px 0 10px!important;color:var(--pm-primary)!important}.pm-member-photo{cursor:pointer}.pm-chat-header>img,.pm-chat-header strong{cursor:pointer}
.pm-profile-modal{position:fixed;z-index:1090;inset:0;display:none;align-items:center;justify-content:center;padding:24px}.pm-profile-modal.is-open{display:flex}.pm-profile-modal-backdrop{position:absolute;inset:0;background:rgba(25,14,37,.64);backdrop-filter:blur(7px)}.pm-profile-dialog{position:relative;z-index:1;width:min(100%,900px);max-height:min(90vh,820px);display:grid;grid-template-columns:minmax(300px,.92fr) minmax(330px,1.08fr);overflow:hidden;border:1px solid rgba(255,255,255,.22);border-radius:30px;background:#fff;box-shadow:0 35px 100px rgba(24,12,38,.34)}.pm-profile-dialog>.pm-modal-close{z-index:5;background:rgba(255,255,255,.92);box-shadow:0 6px 20px rgba(0,0,0,.12)}.pm-profile-gallery{position:relative;min-height:620px;background:#211431;overflow:hidden}.pm-profile-gallery>img{width:100%;height:100%;min-height:620px;object-fit:cover;display:block}.pm-profile-thumbs{position:absolute;left:14px;right:14px;bottom:14px;display:flex;gap:7px;overflow:auto;padding:3px}.pm-profile-thumbs button{width:52px;height:66px;flex:0 0 52px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#fff;opacity:.72}.pm-profile-thumbs button.is-active{border-color:#fff;opacity:1;box-shadow:0 5px 16px rgba(0,0,0,.2)}.pm-profile-thumbs img{width:100%;height:100%;object-fit:cover}.pm-profile-detail-body{min-width:0;overflow:auto;padding:48px 38px 34px}.pm-profile-activity{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;background:#f3eff7;color:var(--pm-muted);font-size:11px;font-weight:850}.pm-profile-activity:before{content:"";width:7px;height:7px;border-radius:50%;background:#a69dac}.pm-profile-activity.is-online{background:#ecfdf3;color:#16803c}.pm-profile-activity.is-online:before{background:var(--pm-success)}.pm-profile-detail-body h2{margin:14px 0 4px;font-size:36px;letter-spacing:-.045em}.pm-profile-detail-meta{margin:0 0 17px;color:var(--pm-muted);font-weight:700}.pm-profile-intention{display:inline-block;margin-bottom:18px;padding:8px 11px;border-radius:10px;background:var(--pm-soft);color:var(--pm-primary);font-size:12px;font-weight:850}.pm-profile-detail-bio{font-size:15px;line-height:1.7;color:#4f4758;white-space:pre-wrap}.pm-profile-detail-body>.pm-chip-row{margin-top:19px}.pm-profile-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:28px;padding-top:22px;border-top:1px solid var(--pm-line)}
.pm-photo-manager{margin:0 0 25px;padding:18px;border:1px solid var(--pm-line);border-radius:18px;background:#fcfbfe}.pm-photo-manager-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}.pm-photo-manager-heading strong{display:block}.pm-photo-manager-heading p{margin:4px 0 0;color:var(--pm-muted);font-size:12px;line-height:1.5}.pm-photo-add{flex:none!important;margin:0!important;padding:9px 12px;border:1px solid var(--pm-line);border-radius:11px;background:#fff;color:var(--pm-primary);font-size:12px!important;font-weight:900!important;cursor:pointer}.pm-profile-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pm-manage-photo{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:14px;background:var(--pm-soft);cursor:grab}.pm-manage-photo.is-dragging{opacity:.45}.pm-manage-photo>img{width:100%;height:100%;object-fit:cover}.pm-cover-label{position:absolute;left:8px;top:8px;padding:5px 8px;border-radius:999px;background:var(--pm-primary);color:#fff;font-size:9px;font-weight:900}.pm-photo-controls{position:absolute;left:7px;right:7px;bottom:7px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px}.pm-photo-controls button{height:30px;border:0;border-radius:8px;background:rgba(28,16,42,.78);color:#fff;font-weight:900;backdrop-filter:blur(7px)}.pm-photo-controls button:disabled{opacity:.35}.pm-photo-controls button.is-delete{background:rgba(159,24,53,.84)}.pm-photo-manager-empty{grid-column:1/-1;margin:0;padding:22px;border:1px dashed var(--pm-line);border-radius:13px;text-align:center;color:var(--pm-muted);font-size:13px}
.pm-location-card{margin:17px 0 20px;padding:18px;border:1px solid var(--pm-line);border-radius:17px;background:linear-gradient(135deg,var(--pm-soft),#fff)}.pm-location-card>div:first-child strong{display:block}.pm-location-card p{margin:5px 0 0;color:var(--pm-muted);font-size:13px;line-height:1.5}.pm-location-card>small{display:block;margin-top:13px;color:var(--pm-muted);font-size:11px;line-height:1.5}.pm-location-actions{display:flex;align-items:center;gap:9px;margin-top:14px}.pm-location-actions .pm-link-danger{padding:9px 5px}
@keyframes pmSlideIn{from{transform:translateX(35px);opacity:.7}to{transform:translateX(0);opacity:1}}
@media(max-width:760px){.pm-profile-modal{padding:0;align-items:flex-end}.pm-profile-dialog{width:100%;height:94vh;max-height:94vh;display:block;border-radius:26px 26px 0 0;overflow:auto}.pm-profile-gallery{min-height:52vh;height:52vh}.pm-profile-gallery>img{min-height:52vh;height:52vh}.pm-profile-detail-body{padding:28px 19px calc(30px + env(safe-area-inset-bottom))}.pm-profile-detail-body h2{font-size:31px}.pm-profile-detail-actions{grid-template-columns:1fr}.pm-notification-panel{width:100%;max-width:none}.pm-profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-photo-manager-heading{align-items:flex-start;flex-direction:column}.pm-photo-add{width:auto!important}.pm-view-profile-button{font-size:12px}}

/* Step 6: favorites, profile prompts, richer chat and installable app behavior */
.pm-saved-header-button{color:var(--pm-primary);font-size:20px}.pm-view-intro{margin:-6px 0 18px;color:var(--pm-muted);font-size:13px}.pm-discover-fit{display:inline-flex;align-items:center;width:max-content;margin:8px 0 0;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.22);color:#fff;font-size:11px;font-weight:900;backdrop-filter:blur(7px)}
.pm-compatibility-card{display:flex;flex-direction:column;gap:4px;margin:14px 0 16px;padding:13px 14px;border:1px solid color-mix(in srgb,var(--pm-primary) 18%,var(--pm-line));border-radius:14px;background:linear-gradient(135deg,var(--pm-soft),#fff)}.pm-compatibility-card strong{color:var(--pm-primary);font-size:14px}.pm-compatibility-card span{color:var(--pm-muted);font-size:11px;line-height:1.5}.pm-profile-prompts{display:grid;gap:10px;margin-top:20px}.pm-profile-prompt{padding:15px 16px;border:1px solid var(--pm-line);border-radius:15px;background:#fcfbfe}.pm-profile-prompt strong{display:block;color:var(--pm-primary);font-size:11px;letter-spacing:.03em}.pm-profile-prompt p{margin:7px 0 0;color:var(--pm-ink);font-size:14px;line-height:1.55}.pm-profile-detail-actions{grid-template-columns:repeat(4,minmax(0,1fr))}.pm-profile-detail-actions .is-saved{background:var(--pm-soft);border-color:color-mix(in srgb,var(--pm-primary) 34%,var(--pm-line));color:var(--pm-primary)}
.pm-prompt-editor{margin:22px 0;padding:18px;border:1px solid var(--pm-line);border-radius:18px;background:#fcfbfe}.pm-prompt-editor-heading{margin-bottom:14px}.pm-prompt-editor-heading strong{display:block}.pm-prompt-editor-heading p{margin:5px 0 0;color:var(--pm-muted);font-size:12px;line-height:1.5}.pm-prompt-edit-card{padding:14px;border:1px solid var(--pm-line);border-radius:14px;background:#fff;margin-top:10px}.pm-prompt-edit-card label:last-child{margin-bottom:0}
.pm-typing-indicator{display:block;margin-top:2px;color:var(--pm-primary);font-size:10px;font-weight:850}.pm-typing-indicator[hidden]{display:none!important}.pm-chat-image-button{display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;margin:0!important;border:1px solid var(--pm-line);border-radius:15px;background:var(--pm-soft);color:var(--pm-primary);font-size:22px!important;font-weight:900!important;cursor:pointer;transition:.18s}.pm-chat-image-button:hover{border-color:var(--pm-primary)}.pm-chat-image-button.is-uploading{opacity:.55;pointer-events:none}.pm-message-row{position:relative;align-items:flex-end;gap:6px}.pm-message-tools{position:relative;flex:0 0 auto;opacity:.25;transition:.16s}.pm-message-row:hover .pm-message-tools,.pm-message-tools:focus-within{opacity:1}.pm-message-react-trigger{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--pm-line);border-radius:999px;background:#fff;color:var(--pm-primary);font-size:13px;box-shadow:0 4px 12px rgba(40,23,58,.07)}.pm-message-row.is-mine .pm-message-tools{order:-1}.pm-message-reaction-palette{position:absolute;z-index:20;bottom:34px;left:0;display:flex;gap:3px;padding:5px;border:1px solid var(--pm-line);border-radius:999px;background:#fff;box-shadow:0 12px 28px rgba(39,21,57,.16)}.pm-message-row.is-mine .pm-message-reaction-palette{left:auto;right:0}.pm-message-reaction-palette[hidden]{display:none!important}.pm-message-reaction-palette button{display:grid;place-items:center;width:31px;height:31px;border:0;border-radius:50%;background:transparent;font-size:17px}.pm-message-reaction-palette button:hover,.pm-message-reaction-palette button.is-active{background:var(--pm-soft)}.pm-message-reaction-summary{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.pm-message-reaction-summary[hidden]{display:none!important}.pm-message-reaction-summary span{display:inline-flex;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.72);color:var(--pm-ink);font-size:10px;font-weight:800;border:1px solid rgba(0,0,0,.05)}.pm-message-row.is-mine .pm-message-reaction-summary span{background:rgba(255,255,255,.2);color:#fff;border-color:rgba(255,255,255,.15)}.pm-message-image{display:block;width:min(320px,62vw);max-height:420px;object-fit:cover;border-radius:12px;background:#ede7f5}.pm-message-bubble:has(.pm-message-image){padding:5px}.pm-message-bubble:has(.pm-message-image)>p{padding:6px 7px 2px}.pm-message-meta{display:flex;justify-content:flex-end}.pm-message-bubble:has(.pm-message-image) .pm-message-meta{padding:0 6px 3px}
.pm-install-card{margin-top:24px;padding-top:20px;border-top:1px solid var(--pm-line)}.pm-install-card>div strong{display:block}.pm-install-card>div p{margin:5px 0 14px;color:var(--pm-muted);font-size:13px;line-height:1.5}.pm-install-card .pm-primary-button{width:auto;margin-bottom:10px}.pm-install-card>small{display:block;color:var(--pm-muted);font-size:11px;line-height:1.5}
@media(max-width:760px){.pm-profile-detail-actions{grid-template-columns:1fr}.pm-message-tools{opacity:.7}.pm-message-image{width:min(300px,70vw);max-height:360px}.pm-chat-image-button{width:44px;height:44px;flex-basis:44px}.pm-prompt-editor{padding:14px}.pm-saved-header-button{display:grid}}

/* Step 6.5 transparent Community Host disclosure */
.pm-host-badge{display:inline-flex!important;align-items:center!important;vertical-align:middle;padding:3px 7px!important;margin-left:5px!important;border-radius:999px!important;background:color-mix(in srgb,var(--pm-primary) 12%,#fff)!important;color:var(--pm-primary)!important;border:1px solid color-mix(in srgb,var(--pm-primary) 24%,transparent)!important;font-size:9px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:.02em!important;white-space:nowrap!important}.pm-chat-host-note{display:flex;gap:8px;align-items:center;padding:9px 16px;background:color-mix(in srgb,var(--pm-primary) 7%,#fff);border-bottom:1px solid color-mix(in srgb,var(--pm-primary) 14%,#e8e2ed);font-size:11px;color:#6d6376}.pm-chat-host-note[hidden]{display:none}.pm-chat-host-note strong{color:var(--pm-primary);font-size:10px;letter-spacing:.04em;text-transform:uppercase}.pm-profile-host-note{display:flex;flex-direction:column;gap:3px;padding:11px 12px;margin:10px 0 14px;border:1px solid color-mix(in srgb,var(--pm-primary) 18%,#ece5f0);border-radius:12px;background:color-mix(in srgb,var(--pm-primary) 6%,#fff)}.pm-profile-host-note[hidden]{display:none}.pm-profile-host-note strong{font-size:11px;color:var(--pm-primary)}.pm-profile-host-note span{font-size:11px;line-height:1.4;color:#756a7d}.pm-conversation-top strong .pm-host-badge,.pm-chat-header strong .pm-host-badge{font-size:8px!important;padding:2px 5px!important}.pm-conversation-item[data-conversation-type="host"]{background:linear-gradient(90deg,color-mix(in srgb,var(--pm-primary) 5%,#fff),#fff)}
@media(max-width:700px){.pm-chat-host-note{padding:8px 12px;align-items:flex-start;flex-direction:column;gap:2px}.pm-host-badge{font-size:8px!important}}

/* v0.7.6 shortcode/page-builder embedding */
.pm-app-embed{min-height:0;grid-template-columns:minmax(0,1fr);background:transparent}.pm-app-embed .pm-app-content{padding:0}.purple-match-shortcode-page .pm-shortcode-surface{isolation:isolate}.purple-match-shortcode-page .pm-shortcode-surface .pm-auth-screen,.purple-match-shortcode-page .pm-shortcode-surface .pm-onboarding{min-height:min(760px,100vh)}.pm-shortcode-stat{font:inherit;color:inherit}
.pm-shortcode-surface.pm-type-modern{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pm-shortcode-surface.pm-type-modern h1,.pm-shortcode-surface.pm-type-modern h2,.pm-shortcode-surface.pm-type-modern h3,.pm-shortcode-surface.pm-type-modern .pm-brand{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pm-shortcode-surface.pm-type-romantic{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pm-shortcode-surface.pm-type-romantic h1,.pm-shortcode-surface.pm-type-romantic h2,.pm-shortcode-surface.pm-type-romantic h3,.pm-shortcode-surface.pm-type-romantic .pm-brand{font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,"Times New Roman",serif}.pm-shortcode-surface.pm-type-romantic h1,.pm-shortcode-surface.pm-type-romantic h2,.pm-shortcode-surface.pm-type-romantic h3{letter-spacing:-.025em}
.pm-auth-embed .pm-auth-screen{min-height:620px}.pm-auth-signed-in{max-width:620px;margin:0 auto;padding:34px;border:1px solid var(--pm-line);border-radius:22px;background:#fff;box-shadow:var(--pm-shadow);text-align:center}.pm-auth-signed-in h2{margin:8px 0}.pm-auth-signed-in p{margin:0 0 20px;color:var(--pm-muted)}.pm-auth-signed-in .pm-primary-button{display:inline-block;text-decoration:none}
/* Elementor-first functional components (v0.7.7) */
.pm-component{min-height:0;background:transparent}.pm-component .pm-component-form{display:block;padding:0;margin:0}.pm-component .pm-component-form label{margin-bottom:14px}.pm-component .pm-component-form .pm-primary-button{width:100%}.pm-component-state{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px;border:1px solid var(--pm-line);border-radius:18px;background:var(--pm-card);box-shadow:0 10px 30px rgba(59,32,92,.06)}.pm-component-state strong{font-size:18px}.pm-component-state p{margin:0;color:var(--pm-muted)}.pm-component-state .pm-primary-button{display:inline-flex;text-decoration:none;margin-top:2px}.pm-onboarding.pm-onboarding-embed{min-height:0;background:transparent;padding:0}.pm-onboarding-embed .pm-onboarding-card{width:100%;margin:0;padding:30px;border-radius:20px}.pm-current-user-photo{display:block;width:42px;height:42px;border-radius:50%;object-fit:cover}.pm-current-user-name{font:inherit;color:inherit}.pm-logout-component{font:inherit;border:0;background:transparent;color:inherit;cursor:pointer}.pm-logout-component:hover{color:var(--pm-primary)}
@media(max-width:700px){.pm-onboarding-embed .pm-onboarding-card{padding:20px 16px;border:1px solid var(--pm-line);box-shadow:none}.pm-component-state{padding:18px}}

/* v0.7.8 mobile-density pass: compact phone layouts and Elementor embeds */
.pm-shortcode-surface{max-width:100%;overflow-x:clip}
@media(max-width:700px){
  .pm-shortcode-surface{--pm-mobile-gutter:10px}
  .pm-app{padding-bottom:66px}
  .pm-app-content{padding:10px var(--pm-mobile-gutter) 14px}
  .pm-app-header{gap:10px;margin-bottom:10px;min-height:42px}
  .pm-app-header h1{font-size:24px;line-height:1.08;margin:2px 0 0}
  .pm-eyebrow{font-size:9px;letter-spacing:.13em}
  .pm-header-actions{gap:6px}
  .pm-icon-button,.pm-user-chip{min-height:38px;border-radius:11px}
  .pm-icon-button{width:38px}
  .pm-user-chip{padding:3px}
  .pm-user-chip img{width:32px;height:32px;border-radius:9px}
  .pm-section-toolbar{gap:8px;margin-bottom:10px;align-items:flex-start;flex-wrap:wrap}
  .pm-section-toolbar p{font-size:12px;line-height:1.35}
  .pm-section-toolbar .pm-secondary-button{padding:8px 10px;border-radius:10px}
  .pm-view-intro{margin:-2px 0 10px;font-size:12px}
  .pm-empty-state{min-height:220px;border-radius:16px;padding:18px 14px}
  .pm-empty-state>span{font-size:32px}
  .pm-empty-state h2{font-size:21px;margin:7px 0 4px}
  .pm-empty-state p{font-size:13px;line-height:1.45;margin:0}
  .pm-primary-button,.pm-secondary-button{padding:11px 14px;border-radius:11px}

  /* Full-screen auth is phone sized; Elementor auth remains content-height. */
  .pm-auth-panel{padding:10px;min-height:100dvh;align-items:start}
  .pm-auth-card{width:100%;padding:12px 4px;border-radius:18px}
  .pm-mobile-brand{margin:4px 0 14px}
  .pm-auth-tabs{padding:4px;border-radius:11px}
  .pm-auth-tabs button{padding:9px;border-radius:8px}
  .pm-auth-form{padding-top:16px}
  .pm-auth-form h2{font-size:25px;margin-bottom:5px}
  .pm-auth-form>p{margin-bottom:14px;font-size:13px;line-height:1.4}
  .pm-auth-form label,.pm-onboarding-card label,.pm-profile-editor label,.pm-settings-card label{gap:5px;margin-bottom:10px;font-size:12px}
  .pm-auth-form input,.pm-onboarding-card input,.pm-onboarding-card textarea,.pm-onboarding-card select,.pm-profile-editor input,.pm-profile-editor textarea,.pm-profile-editor select,.pm-settings-card input{padding:11px 12px;border-radius:11px}
  .pm-auth-form small{margin-top:10px;font-size:11px;line-height:1.4}
  .pm-text-link{margin-top:12px}
  .pm-auth-message,.pm-inline-message{min-height:18px;margin-top:8px;font-size:12px}
  .pm-component-auth .pm-auth-form{padding-top:0}
  .pm-auth-embed .pm-auth-screen,.purple-match-shortcode-page .pm-shortcode-surface .pm-auth-screen{min-height:0!important}
  .pm-component-state{padding:14px;border-radius:14px;gap:7px;box-shadow:none}
  .pm-component-state strong{font-size:16px}
  .pm-component-state p{font-size:12px;line-height:1.4}

  /* Onboarding / profile setup */
  .pm-onboarding{padding:10px}
  .pm-onboarding-topbar{min-height:38px}
  .pm-onboarding-card{margin:8px auto 12px;padding:16px 12px;border-radius:16px}
  .pm-onboarding-embed .pm-onboarding-card{padding:14px 10px;border-radius:14px}
  .pm-progress{margin-bottom:16px;height:4px}
  .pm-onboarding-step h1{font-size:27px;margin:6px 0}
  .pm-onboarding-step>p{font-size:13px;line-height:1.45;margin-bottom:14px}
  .pm-big-field input{font-size:16px;padding:12px}
  .pm-step-actions{gap:8px;margin-top:12px}
  .pm-onboarding-step>.pm-primary-button{margin-top:12px}
  .pm-onboarding-card fieldset{margin-bottom:14px}
  .pm-choice-grid{gap:7px}
  .pm-choice-grid button{padding:10px;border-radius:10px}
  .pm-suggested-interests{gap:6px}
  .pm-suggested-interests button{padding:7px 9px;font-size:12px}
  .pm-photo-grid{gap:8px;margin-bottom:8px}
  .pm-photo-tile,.pm-upload-tile{border-radius:12px}

  /* Discovery: use the viewport efficiently without oversized empty zones. */
  .pm-discovery-stage{max-width:100%;min-height:0}
  .pm-loading-card{min-height:360px;border-radius:18px}
  .pm-discover-card{border-radius:18px;box-shadow:0 12px 30px rgba(46,24,72,.13)}
  .pm-discover-media{height:62dvh;min-height:380px;max-height:560px}
  .pm-discover-overlay{padding:18px 15px}
  .pm-discover-overlay h2{font-size:27px;margin-bottom:5px}
  .pm-discover-meta{font-size:12px;margin-bottom:8px}
  .pm-discover-bio{font-size:12px;line-height:1.42;margin-bottom:9px;-webkit-line-clamp:2}
  .pm-chip-row{gap:5px}
  .pm-chip-row span{padding:5px 7px;font-size:10px}
  .pm-photo-dots{left:10px;right:10px;top:10px;gap:3px}
  .pm-discovery-stage .pm-discover-actions{gap:14px;padding:10px 4px 0}
  .pm-discover-actions button{width:48px;height:48px;font-size:20px}
  .pm-discover-actions .pm-like-circle{width:56px;height:56px}
  .pm-discover-fit{margin-top:5px;padding:4px 7px;font-size:9px}

  /* Lists / profile cards */
  .pm-member-grid{gap:8px}
  .pm-member-card{border-radius:14px}
  .pm-member-card-body{padding:9px}
  .pm-member-card-body h3{font-size:15px;margin-bottom:3px}
  .pm-member-card-body>p{font-size:11px;line-height:1.35;margin:0 0 7px}
  .pm-member-card-body .pm-primary-button,.pm-member-card-body .pm-secondary-button{font-size:11px;padding:8px}
  .pm-list-heading{margin-bottom:10px}
  .pm-list-heading h2{font-size:22px}

  /* Profile editor / preferences */
  .pm-profile-layout{gap:10px}
  .pm-profile-preview,.pm-profile-editor,.pm-settings-card{border-radius:15px;box-shadow:none}
  .pm-preview-photo{height:52dvh;min-height:320px;max-height:500px}
  .pm-preview-overlay{left:14px;right:14px;bottom:13px}
  .pm-preview-overlay h2{font-size:25px}
  .pm-preview-body{padding:13px}
  .pm-preview-body>p{font-size:13px;line-height:1.45;margin:0 0 10px}
  .pm-profile-editor,.pm-settings-card{padding:14px}
  .pm-editor-heading{margin-bottom:12px;gap:8px}
  .pm-editor-heading h2,.pm-settings-card h2{font-size:23px}
  .pm-completion strong{font-size:17px}
  .pm-range-fields{gap:8px}
  .pm-settings-note{padding:11px;border-radius:11px;margin:8px 0 12px}
  .pm-prompt-editor{margin:12px 0;padding:11px;border-radius:13px}
  .pm-prompt-editor-heading{margin-bottom:8px}
  .pm-prompt-edit-card{padding:10px;border-radius:11px;margin-top:7px}
  .pm-profile-prompts{gap:7px;margin-top:12px}
  .pm-profile-prompt{padding:11px;border-radius:12px}

  /* Full profile modal */
  .pm-profile-dialog{height:92dvh;max-height:92dvh;border-radius:20px 20px 0 0}
  .pm-profile-gallery,.pm-profile-gallery>img{height:44dvh;min-height:300px}
  .pm-profile-detail-body{padding:17px 14px calc(18px + env(safe-area-inset-bottom))}
  .pm-profile-detail-body h2{font-size:27px}
  .pm-profile-detail-actions{gap:7px}
  .pm-compatibility-card{margin:9px 0 10px;padding:10px 11px}

  /* Messaging */
  .pm-view[data-view-panel="messages"]{inset:0 0 calc(63px + env(safe-area-inset-bottom)) 0}
  .pm-conversations-heading{height:58px;padding:10px 12px}
  .pm-conversations-heading h2{font-size:20px}
  .pm-conversation-list{padding:4px 7px 10px}
  .pm-conversation-item{gap:8px;padding:8px 6px;border-radius:12px}
  .pm-conversation-item>img{width:46px;height:46px;flex-basis:46px}
  .pm-conversation-copy{gap:3px}
  .pm-conversation-top strong{font-size:13px}
  .pm-conversation-bottom>span{font-size:11px}
  .pm-chat-header{height:56px;flex-basis:56px;padding:6px 9px;gap:8px}
  .pm-chat-header>img{width:38px;height:38px}
  .pm-chat-header strong{font-size:14px}
  .pm-chat-messages{padding:10px 8px;gap:5px}
  .pm-message-bubble{max-width:86%;padding:8px 10px 6px;border-radius:14px}
  .pm-message-bubble p{font-size:13px;line-height:1.38}
  .pm-chat-composer{padding:7px 8px calc(8px + env(safe-area-inset-bottom));gap:5px}
  .pm-chat-composer textarea{min-height:40px;padding:9px 11px;border-radius:13px}
  .pm-chat-composer button,.pm-chat-image-button{width:40px;height:40px;flex-basis:40px;border-radius:13px}
  .pm-message-image{width:min(280px,72vw);max-height:320px}

  /* Bottom nav: smaller footprint, larger useful content area. */
  .pm-mobile-nav{left:6px;right:6px;bottom:calc(6px + env(safe-area-inset-bottom));padding:5px 4px;border-radius:15px}
  .pm-mobile-nav button{gap:0;font-size:18px;min-height:45px;padding:2px}
  .pm-mobile-nav small{font-size:8px;line-height:1.1}
  .pm-mobile-badge{right:-10px;top:-5px}

  /* Elementor embeds: never manufacture section spacing. */
  .pm-app-embed .pm-app-content{padding:0!important}
  .pm-component{margin:0!important;padding:0!important;min-height:0!important}
  .pm-component .pm-component-form{gap:0}
  .purple-match-shortcode-page .pm-shortcode-surface .pm-onboarding{min-height:0}
}
@media(max-width:420px){
  .pm-shortcode-surface{--pm-mobile-gutter:8px}
  .pm-app-content{padding-top:8px}
  .pm-app-header h1{font-size:22px}
  .pm-discover-media{height:59dvh;min-height:350px}
  .pm-discover-overlay{padding:15px 13px}
  .pm-discover-overlay h2{font-size:25px}
  .pm-member-grid{gap:6px}
  .pm-member-card-body{padding:8px}
  .pm-profile-editor,.pm-settings-card{padding:12px}
  .pm-onboarding-card,.pm-onboarding-embed .pm-onboarding-card{padding:12px 8px}
  .pm-auth-panel{padding:8px}
}

/* v0.8.0 Connections UI polish */
.pm-matches-view{max-width:1180px;margin:0 auto}
.pm-matches-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 18px;padding:18px 20px;border:1px solid color-mix(in srgb,var(--pm-primary) 12%,var(--pm-line));border-radius:20px;background:linear-gradient(135deg,color-mix(in srgb,var(--pm-primary) 6%,#fff),#fff 62%)}
.pm-matches-heading-copy{min-width:0}
.pm-matches-heading h2{margin:4px 0 5px;font-size:30px;line-height:1.08;letter-spacing:-.035em}
.pm-matches-heading p{max-width:610px;margin:0;color:var(--pm-muted);font-size:13px;line-height:1.45}
.pm-match-summary{flex:0 0 auto;display:flex;align-items:baseline;gap:6px;padding:10px 13px;border:1px solid color-mix(in srgb,var(--pm-primary) 16%,var(--pm-line));border-radius:13px;background:#fff;color:var(--pm-primary);box-shadow:0 8px 24px rgba(55,37,72,.05)}
.pm-match-summary strong{font-size:22px;line-height:1;font-weight:900}
.pm-match-summary span{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--pm-muted)}
.pm-matches-grid{grid-template-columns:repeat(auto-fill,minmax(218px,1fr));gap:14px;align-items:start}
.pm-match-card{border-radius:18px;box-shadow:0 8px 24px rgba(55,37,72,.065);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.pm-match-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--pm-primary) 20%,var(--pm-line));box-shadow:0 15px 34px rgba(55,37,72,.11)}
.pm-match-card .pm-member-photo{position:relative;aspect-ratio:4/4.65;cursor:pointer}
.pm-match-card .pm-member-card-body{padding:13px}
.pm-match-card .pm-member-card-body h3{font-size:18px;line-height:1.2;padding-right:24px}
.pm-match-card .pm-member-card-body>p{margin:4px 0 8px;font-size:11px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-match-card .pm-member-card-body .pm-chip-row{min-height:24px;margin-bottom:8px;gap:5px;overflow:hidden;flex-wrap:nowrap}
.pm-match-card .pm-member-card-body .pm-chip-row span{max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:4px 7px;font-size:9px}
.pm-match-status{position:absolute;left:9px;bottom:9px;z-index:2;display:inline-flex;align-items:center;gap:5px;max-width:calc(100% - 18px);padding:5px 8px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(22,13,35,.58);backdrop-filter:blur(10px);color:#fff;font-size:9px;font-weight:800;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pm-match-status:before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#b8afc4;box-shadow:0 0 0 2px rgba(255,255,255,.18)}
.pm-match-status.is-online:before{background:#41d98a;box-shadow:0 0 0 2px rgba(65,217,138,.18)}
.pm-match-date{display:block;margin:2px 0 10px;color:var(--pm-primary);font-size:10px;font-weight:850;letter-spacing:.015em}
.pm-match-card-actions{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:7px}
.pm-match-card-actions .pm-primary-button,.pm-match-card-actions .pm-secondary-button{min-width:0;width:100%;padding:9px 8px;border-radius:10px;font-size:10px;white-space:nowrap}
.pm-match-card-actions .pm-primary-button{box-shadow:0 7px 16px color-mix(in srgb,var(--pm-primary) 16%,transparent)}
.pm-matches-empty{position:relative;isolation:isolate;width:min(100%,900px);min-height:0!important;margin:4px auto 0;padding:34px 28px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--pm-accent) 16%,#fff),#fff 48%),linear-gradient(135deg,color-mix(in srgb,var(--pm-primary) 4%,#fff),#fff)!important;border-color:color-mix(in srgb,var(--pm-primary) 15%,var(--pm-line))!important;box-shadow:0 12px 34px rgba(55,37,72,.055)}
.pm-matches-empty:before,.pm-matches-empty:after{content:"";position:absolute;z-index:-1;width:190px;height:190px;border-radius:50%;background:color-mix(in srgb,var(--pm-primary) 5%,transparent)}
.pm-matches-empty:before{left:-90px;bottom:-110px}.pm-matches-empty:after{right:-110px;top:-100px}
.pm-empty-match-art{position:relative;width:126px;height:62px;margin:0 auto 10px}
.pm-empty-heart{position:absolute;display:grid;place-items:center;border-radius:50%;border:1px solid color-mix(in srgb,var(--pm-primary) 16%,var(--pm-line));background:#fff;color:var(--pm-primary);box-shadow:0 9px 24px rgba(72,37,108,.09)}
.pm-empty-heart-1{left:5px;top:15px;width:43px;height:43px;font-size:20px;transform:rotate(-8deg)}
.pm-empty-heart-2{left:41px;top:0;width:55px;height:55px;font-size:23px;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;z-index:2}
.pm-empty-heart-3{right:2px;top:18px;width:40px;height:40px;font-size:18px;transform:rotate(8deg)}
.pm-matches-empty>.pm-eyebrow{margin-top:2px}
.pm-matches-empty h2{max-width:620px;margin:6px 0 7px;font-size:28px;letter-spacing:-.035em}
.pm-matches-empty>p{max-width:610px;margin:0;color:var(--pm-muted);font-size:13px;line-height:1.5}
.pm-empty-match-tips{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin:16px 0 3px}
.pm-empty-match-tips>span{display:flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid var(--pm-line);border-radius:999px;background:rgba(255,255,255,.8);color:var(--pm-muted)}
.pm-empty-match-tips b{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--pm-soft);color:var(--pm-primary);font-size:11px}
.pm-empty-match-tips small{font-size:10px;font-weight:750}
.pm-matches-empty .pm-empty-action{margin-top:15px!important;min-width:150px;padding:10px 15px}

@media(min-width:1181px){
  .pm-app-content{padding-top:20px}
  .pm-app-header{margin-bottom:18px}
}
@media(max-width:760px){
  .pm-matches-heading{align-items:center;gap:10px;margin-bottom:10px;padding:12px 13px;border-radius:15px}
  .pm-matches-heading h2{font-size:22px;margin-top:3px}
  .pm-matches-heading p{font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .pm-match-summary{padding:8px 9px;border-radius:11px;flex-direction:column;align-items:center;gap:1px}
  .pm-match-summary strong{font-size:18px}.pm-match-summary span{font-size:7px}
  .pm-matches-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .pm-match-card{border-radius:14px;box-shadow:none}
  .pm-match-card:hover{transform:none;box-shadow:none}
  .pm-match-card .pm-member-card-body{padding:8px}
  .pm-match-card .pm-member-card-body h3{font-size:15px;padding-right:20px}
  .pm-match-card .pm-member-card-body>p{font-size:9px;margin:3px 0 6px}
  .pm-match-card .pm-member-card-body .pm-chip-row{display:none}
  .pm-match-status{left:6px;bottom:6px;padding:4px 6px;font-size:7px}
  .pm-match-status:before{width:5px;height:5px;flex-basis:5px}
  .pm-match-date{font-size:8px;margin:1px 0 7px}
  .pm-match-card-actions{gap:5px;grid-template-columns:1fr}
  .pm-match-card-actions .pm-secondary-button{display:none}
  .pm-match-card-actions .pm-primary-button{font-size:10px;padding:8px 7px}
  .pm-matches-empty{padding:24px 14px!important;border-radius:15px!important}
  .pm-empty-match-art{transform:scale(.86);margin-bottom:2px}
  .pm-matches-empty h2{font-size:21px;margin:4px 0 5px}
  .pm-matches-empty>p{font-size:11px;line-height:1.42}
  .pm-empty-match-tips{margin:12px 0 0;gap:5px}
  .pm-empty-match-tips>span{padding:6px 8px}.pm-empty-match-tips small{font-size:8px}.pm-empty-match-tips b{width:17px;height:17px;font-size:9px}
  .pm-matches-empty .pm-empty-action{margin-top:12px!important;padding:9px 13px}
}
@media(max-height:720px) and (min-width:981px){
  .pm-sidebar{height:100dvh;overflow-y:auto;padding:18px 14px}
  .pm-sidebar-brand{padding:0 7px 16px}
  .pm-nav{gap:3px}.pm-nav button,.pm-logout-button{padding:9px 11px}.pm-nav-divider{margin:6px 8px}
  .pm-premium-card{padding:11px 12px;border-radius:14px}.pm-premium-card>span{font-size:17px}.pm-premium-card strong{margin-top:4px}.pm-premium-card p{display:none}.pm-premium-card button{margin-top:8px;padding:7px 9px}
  .pm-logout-button{margin-top:5px}
}


/* v0.8.1 profile sharing */
.pm-editor-heading-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.pm-share-self-button{width:auto!important;min-height:42px;padding:9px 13px!important;white-space:nowrap}.pm-profile-detail-actions [data-profile-share-action]{white-space:nowrap}
@media(max-width:760px){.pm-editor-heading-actions{align-items:flex-end;gap:7px}.pm-share-self-button{min-height:38px;padding:8px 10px!important;font-size:11px!important}.pm-profile-detail-actions{grid-template-columns:1fr 1fr}.pm-profile-detail-actions .pm-primary-button{grid-column:1/-1}.pm-profile-detail-actions [data-profile-safety-action]{grid-column:1/-1}}
@media(max-width:420px){.pm-editor-heading{align-items:flex-start}.pm-editor-heading-actions{flex-direction:column-reverse;align-items:flex-end}.pm-share-self-button{width:auto!important}.pm-profile-detail-actions{grid-template-columns:1fr 1fr}}


/* v0.8.4 Advanced Discovery */
.pm-discovery-nav{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.pm-discovery-tabs{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding:2px}.pm-discovery-tabs::-webkit-scrollbar{display:none}.pm-discovery-tabs button{white-space:nowrap;border:1px solid var(--pm-line);background:#fff;color:var(--pm-muted);border-radius:999px;padding:10px 16px;font-weight:850;cursor:pointer}.pm-discovery-tabs button.is-active{border-color:transparent;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;box-shadow:0 8px 18px color-mix(in srgb,var(--pm-primary) 18%,transparent)}.pm-discovery-status{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.pm-discovery-status>p{margin:0;color:var(--pm-muted);font-size:13px}.pm-discovery-allowance{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.pm-discovery-allowance span{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid var(--pm-line);color:var(--pm-muted);font-size:11px;font-weight:850}.pm-discovery-allowance .pm-super-allowance{color:var(--pm-primary);background:var(--pm-soft)}.pm-discover-actions .pm-super-like-circle{width:60px;height:60px;color:var(--pm-primary);background:#fff;font-size:24px}.pm-discover-actions .pm-super-like-circle:hover{transform:translateY(-2px);box-shadow:0 12px 28px color-mix(in srgb,var(--pm-primary) 18%,transparent)}.pm-super-like-badge{display:inline-flex;margin:0 0 10px;padding:6px 9px;border-radius:999px;background:var(--pm-soft);color:var(--pm-primary);font-size:11px;font-weight:900}.pm-discover-fit{display:inline-flex;margin:0 0 12px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);font-size:11px;font-weight:900;backdrop-filter:blur(8px)}
@media(max-width:700px){.pm-discovery-nav{align-items:center;margin-bottom:7px}.pm-discovery-tabs{gap:5px;max-width:calc(100% - 74px)}.pm-discovery-tabs button{padding:8px 11px;font-size:12px}.pm-discovery-filter-button{padding:8px 10px!important;font-size:12px}.pm-discovery-status{margin-bottom:8px;align-items:flex-start}.pm-discovery-status>p{display:none}.pm-discovery-allowance{justify-content:flex-start;gap:5px}.pm-discovery-allowance span{padding:5px 8px;font-size:10px}.pm-discover-actions .pm-super-like-circle{width:50px;height:50px;font-size:20px}.pm-discover-actions{gap:12px!important}}

/* v0.8.5 Notifications & Engagement */
.pm-notification-preferences form{display:grid;gap:14px}.pm-notification-preference-group{display:grid;gap:9px;padding:15px;border:1px solid var(--pm-line);border-radius:16px;background:#fcfbfe}.pm-preference-heading{display:flex;flex-direction:column;gap:3px}.pm-preference-heading>strong{font-size:14px}.pm-preference-heading>small{color:var(--pm-muted);font-size:11px;line-height:1.4}.pm-notification-preference-group .pm-toggle-row{margin:0;padding:12px 13px;border-radius:13px;background:#fff}.pm-notification-preference-group .pm-toggle-row strong{font-size:13px}.pm-notification-preference-group .pm-toggle-row small{font-size:11px}.pm-browser-alert-button{justify-self:start;padding:10px 13px}.pm-notification-preferences>form>.pm-secondary-button{justify-self:start}
@media(max-width:700px){.pm-notification-preferences form{gap:10px}.pm-notification-preference-group{gap:7px;padding:10px;border-radius:13px}.pm-preference-heading>strong{font-size:13px}.pm-preference-heading>small{font-size:9px}.pm-notification-preference-group .pm-toggle-row{padding:9px 10px;border-radius:11px;gap:12px}.pm-notification-preference-group .pm-toggle-row strong{font-size:11px}.pm-notification-preference-group .pm-toggle-row small{font-size:9px;line-height:1.35}.pm-browser-alert-button{padding:8px 10px;font-size:10px}}

/* v0.8.6 richer profiles + match-approved private photo albums */
.pm-profile-fields-section{margin:22px 0;padding:18px;border:1px solid var(--pm-line);border-radius:18px;background:#fcfbfe}.pm-profile-fields-heading{margin-bottom:14px}.pm-profile-fields-heading strong{display:block;font-size:15px}.pm-profile-fields-heading p{margin:4px 0 0;color:var(--pm-muted);font-size:12px;line-height:1.45}.pm-profile-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.pm-profile-field-grid label{min-width:0}.pm-profile-field-grid select{width:100%;padding:14px 15px;border:1px solid var(--pm-line);border-radius:13px;background:#fff;color:var(--pm-ink);outline:none}.pm-profile-field-grid select:focus{border-color:var(--pm-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--pm-primary) 10%,transparent)}
.pm-profile-detail-section{margin-top:21px;padding-top:19px;border-top:1px solid var(--pm-line)}.pm-profile-detail-section[hidden]{display:none}.pm-profile-section-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:11px}.pm-profile-section-heading strong{font-size:14px}.pm-profile-section-heading span{color:var(--pm-muted);font-size:11px;line-height:1.4}.pm-profile-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pm-profile-detail-item{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;border:1px solid var(--pm-line);border-radius:12px;background:#fcfbfe}.pm-profile-detail-item>span{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;border-radius:9px;background:var(--pm-soft);color:var(--pm-primary);font-weight:900}.pm-profile-detail-item>div{min-width:0}.pm-profile-detail-item small{display:block;color:var(--pm-muted);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.pm-profile-detail-item strong{display:block;margin-top:2px;overflow:hidden;text-overflow:ellipsis;color:var(--pm-ink);font-size:12px;white-space:nowrap}
.pm-private-photo-manager{background:linear-gradient(145deg,#fcfbff,var(--pm-soft));border-color:color-mix(in srgb,var(--pm-primary) 18%,var(--pm-line))}.pm-private-photo-manager [data-private-photo-count]{margin-left:5px;color:var(--pm-primary);font-size:11px}.pm-private-manage-photo{cursor:default}.pm-private-manage-photo:after{content:"";position:absolute;inset:0;border:1px solid rgba(255,255,255,.18);border-radius:inherit;pointer-events:none}.pm-private-label{background:rgba(31,22,51,.78);backdrop-filter:blur(8px)}.pm-private-photo-controls{grid-template-columns:1fr}.pm-private-photo-controls button{font-size:10px}.pm-private-requests{margin-top:16px;padding-top:15px;border-top:1px solid color-mix(in srgb,var(--pm-primary) 14%,var(--pm-line))}.pm-private-requests>strong{display:block;margin-bottom:9px;font-size:12px}.pm-private-request-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 0;border-top:1px solid rgba(121,92,151,.10)}.pm-private-request-row:first-child{border-top:0}.pm-private-request-row>img{width:38px;height:38px;border-radius:11px;object-fit:cover}.pm-private-request-row>div:nth-child(2){min-width:0}.pm-private-request-row>div:nth-child(2)>strong{display:block;overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap}.pm-private-request-row>div:nth-child(2)>span{display:block;margin-top:2px;color:var(--pm-muted);font-size:10px}.pm-private-request-actions{display:flex;gap:5px}.pm-private-request-actions .pm-primary-button,.pm-private-request-actions .pm-secondary-button{padding:7px 9px;border-radius:9px;font-size:10px;box-shadow:none}.pm-private-request-state{padding:5px 8px;border-radius:999px;background:#f0ebf5;color:var(--pm-muted);font-size:10px;font-weight:800}
.pm-private-album-view{margin-top:21px;padding:16px;border:1px solid color-mix(in srgb,var(--pm-primary) 18%,var(--pm-line));border-radius:16px;background:linear-gradient(145deg,#fff,var(--pm-soft))}.pm-private-album-view[hidden]{display:none}.pm-private-album-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:10px 0}.pm-private-album-preview img,.pm-private-placeholder{width:100%;aspect-ratio:4/5;border-radius:12px;object-fit:cover}.pm-private-placeholder{display:grid;place-items:center;align-content:center;gap:4px;background:linear-gradient(145deg,#2d2240,#5e427d);color:#fff}.pm-private-placeholder span{font-size:22px}.pm-private-placeholder small{font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;opacity:.78}.pm-private-album-view>.pm-secondary-button{width:100%;margin-top:4px}
@media(max-width:760px){.pm-profile-fields-section{margin:14px 0;padding:12px;border-radius:14px}.pm-profile-field-grid{grid-template-columns:1fr;gap:0}.pm-profile-field-grid select{padding:11px 12px;border-radius:11px}.pm-profile-detail-grid{grid-template-columns:1fr 1fr;gap:6px}.pm-profile-detail-item{padding:8px;border-radius:10px;gap:7px}.pm-profile-detail-item>span{width:25px;height:25px;flex-basis:25px;border-radius:7px}.pm-profile-detail-item strong{font-size:11px}.pm-private-request-row{grid-template-columns:34px minmax(0,1fr);gap:7px}.pm-private-request-row>img{width:34px;height:34px;border-radius:9px}.pm-private-request-actions{grid-column:2;justify-content:flex-start}.pm-private-album-view{margin-top:14px;padding:12px;border-radius:13px}.pm-private-album-preview{gap:5px}.pm-private-album-preview img,.pm-private-placeholder{border-radius:9px}}

/* v0.9.0 Premium */
.pm-premium-card.is-active{background:linear-gradient(145deg,rgba(245,196,70,.22),color-mix(in srgb,var(--pm-primary) 22%,transparent));border-color:rgba(245,196,70,.25)}
.pm-premium-card.is-active>span{filter:drop-shadow(0 2px 8px rgba(245,196,70,.35))}
.pm-premium-badge{display:inline-grid;place-items:center;margin-left:6px;vertical-align:middle;width:20px;height:20px;border-radius:50%;background:linear-gradient(135deg,#f6d36d,#d39b24);color:#39220a;font-size:11px;font-weight:900;box-shadow:0 3px 10px rgba(173,119,17,.22)}
.pm-premium-view{display:grid;gap:20px;max-width:1100px;margin:0 auto}.pm-premium-hero{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:stretch;padding:30px;border-radius:26px;color:#fff;background:radial-gradient(circle at 82% 18%,rgba(246,211,109,.28),transparent 26%),linear-gradient(135deg,var(--pm-theme-darker),var(--pm-theme-dark) 55%,var(--pm-primary));box-shadow:0 18px 50px rgba(55,24,89,.2)}.pm-premium-hero .pm-eyebrow{color:rgba(255,255,255,.86)}.pm-premium-hero h2{font-size:clamp(30px,5vw,52px);letter-spacing:-.045em;line-height:1.02;margin:8px 0 12px;max-width:720px}.pm-premium-hero p{max-width:700px;line-height:1.6;color:rgba(255,255,255,.82);margin:0}.pm-premium-plan-card{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;padding:24px;border-radius:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(15px)}.pm-premium-crown{font-size:34px;color:#f6d36d}.pm-premium-plan-card strong{font-size:26px}.pm-premium-plan-card em{font-style:normal;color:rgba(255,255,255,.76);font-size:14px}.pm-premium-plan-card .pm-primary-button{margin-top:12px;width:100%;text-align:center;background:#fff;color:var(--pm-theme-dark);text-decoration:none}.pm-premium-active-pill{margin-top:12px;padding:8px 12px;border-radius:999px;background:rgba(67,211,139,.18);border:1px solid rgba(100,240,167,.3);color:#c8ffdf;font-weight:900}.pm-premium-benefits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.pm-premium-benefits article{display:flex;flex-direction:column;gap:10px;min-height:170px;padding:20px;border-radius:20px;background:#fff;border:1px solid var(--pm-line);box-shadow:0 10px 28px rgba(55,37,72,.05)}.pm-premium-benefits article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--pm-soft),#fff1b7);color:#704119;font-size:22px;font-weight:900}.pm-premium-benefits strong{display:block;font-size:15px}.pm-premium-benefits p{margin:5px 0 0;color:var(--pm-muted);font-size:13px;line-height:1.45}.pm-premium-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pm-premium-controls article{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;border-radius:20px;background:#fff;border:1px solid var(--pm-line);box-shadow:0 10px 28px rgba(55,37,72,.05)}.pm-premium-controls h3{margin:5px 0 5px;font-size:20px}.pm-premium-controls p{margin:0;color:var(--pm-muted);line-height:1.5;font-size:13px}.pm-premium-switch{position:relative;display:block;flex:0 0 50px;width:50px;height:28px}.pm-premium-switch input{position:absolute;opacity:0}.pm-premium-switch span{position:absolute;inset:0;border-radius:999px;background:#d9d4df;cursor:pointer;transition:.18s}.pm-premium-switch span:after{content:"";position:absolute;width:22px;height:22px;top:3px;left:3px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.2);transition:.18s}.pm-premium-switch input:checked+span{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))}.pm-premium-switch input:checked+span:after{transform:translateX(22px)}.pm-premium-boost-action{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:125px}.pm-premium-boost-action strong{font-size:12px;color:var(--pm-primary)}.pm-settings-premium-card{background:linear-gradient(135deg,#fff,var(--pm-soft));border-color:color-mix(in srgb,var(--pm-primary) 18%,#e7e1ed)}.pm-likes-premium-lock{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;padding:22px;border-radius:20px;background:linear-gradient(135deg,var(--pm-theme-darker),var(--pm-theme-dark));color:#fff;box-shadow:0 15px 34px rgba(55,24,89,.16)}.pm-likes-premium-lock>span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:rgba(246,211,109,.16);color:#f6d36d;font-size:26px}.pm-likes-premium-lock strong{display:block;font-size:18px}.pm-likes-premium-lock p{margin:4px 0 0;color:rgba(255,255,255,.78);font-size:13px}.pm-likes-premium-lock .pm-primary-button{white-space:nowrap;background:#fff;color:var(--pm-theme-dark)}
@media(max-width:1000px){.pm-premium-benefits{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-premium-hero{grid-template-columns:1fr 250px}.pm-premium-controls{grid-template-columns:1fr}}
@media(max-width:700px){.pm-premium-view{gap:12px}.pm-premium-hero{grid-template-columns:1fr;gap:14px;padding:20px 16px;border-radius:20px}.pm-premium-hero h2{font-size:32px}.pm-premium-plan-card{padding:16px;border-radius:16px}.pm-premium-benefits{grid-template-columns:1fr 1fr;gap:8px}.pm-premium-benefits article{min-height:0;padding:14px;border-radius:15px}.pm-premium-benefits article>span{width:36px;height:36px;border-radius:11px;font-size:18px}.pm-premium-controls article{padding:15px;border-radius:16px;gap:12px}.pm-premium-controls h3{font-size:17px}.pm-premium-boost-action{min-width:105px}.pm-likes-premium-lock{grid-template-columns:auto 1fr;padding:15px;gap:10px;border-radius:16px}.pm-likes-premium-lock .pm-primary-button{grid-column:1/-1;width:100%}.pm-likes-premium-lock>span{width:40px;height:40px;border-radius:13px;font-size:22px}}
/* v0.9.1 WooCommerce Premium checkout */
.pm-premium-checkout-note{display:block;margin-top:4px;color:rgba(255,255,255,.76);font-size:11px;line-height:1.4}.pm-premium-plan-card .pm-primary-button{display:inline-flex;align-items:center;justify-content:center}.pm-woo-premium-return{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pm-woo-premium-return .button{margin-left:auto}
@media(max-width:700px){.pm-premium-checkout-note{font-size:10px}.pm-woo-premium-return .button{width:100%;margin-left:0;text-align:center}}


/* v0.9.2 refined member UI: calmer type scale, tighter discovery and cleaner empty states */
.pm-app{grid-template-columns:232px minmax(0,1fr);font-size:15px;line-height:1.45}
.pm-sidebar{padding:22px 14px}
.pm-sidebar-brand{padding:0 7px 22px;font-size:19px}
.pm-nav{gap:3px}
.pm-nav button,.pm-logout-button{padding:10px 12px;border-radius:11px;font-size:15px;line-height:1.2}
.pm-nav button span{width:19px;font-size:17px}
.pm-nav-divider{margin:7px 7px}
.pm-premium-card{padding:13px;border-radius:15px}
.pm-premium-card>span{font-size:18px}
.pm-premium-card strong{margin-top:5px;font-size:16px;line-height:1.2}
.pm-premium-card p{margin:7px 0 10px;font-size:11px;line-height:1.4}
.pm-premium-card button{padding:8px 10px;border-radius:9px;font-size:12px}
.pm-logout-button{margin-top:7px}

.pm-app-content{padding:18px clamp(18px,3.1vw,42px) 38px}
.pm-app-header{gap:16px;margin-bottom:17px}
.pm-app-header h1{font-size:30px;line-height:1.08;letter-spacing:-.035em;margin:3px 0 0}
.pm-app .pm-eyebrow{font-size:9px;letter-spacing:.17em}
.pm-header-actions{gap:8px}
.pm-icon-button,.pm-user-chip{min-height:40px;border-radius:12px}
.pm-icon-button{width:40px;font-size:15px}
.pm-user-chip{gap:7px;padding:4px 10px 4px 4px;font-size:14px}
.pm-user-chip img{width:31px;height:31px;border-radius:9px}

.pm-discovery-nav{gap:10px;margin-bottom:8px}
.pm-discovery-tabs{gap:2px;padding:3px;border:1px solid var(--pm-line);border-radius:14px;background:#fff;box-shadow:0 5px 16px rgba(55,37,72,.035)}
.pm-discovery-tabs button{border:0;border-radius:10px;padding:8px 13px;background:transparent;font-size:13px;line-height:1.2;font-weight:800}
.pm-discovery-tabs button.is-active{box-shadow:0 5px 13px color-mix(in srgb,var(--pm-primary) 14%,transparent)}
.pm-discovery-filter-button{padding:9px 13px!important;border-radius:11px!important;font-size:13px!important;line-height:1.1;background:#fff!important}
.pm-discovery-status{gap:10px;margin-bottom:11px}
.pm-discovery-status>p{font-size:12px;line-height:1.35}
.pm-discovery-allowance{gap:5px}
.pm-discovery-allowance span{padding:5px 8px;font-size:10px;line-height:1.2}

.pm-discovery-stage{max-width:540px;min-height:0}
.pm-loading-card{min-height:360px;border-radius:21px;box-shadow:0 12px 32px rgba(46,24,72,.07)}
.pm-discover-card{border-radius:23px;box-shadow:0 16px 42px rgba(46,24,72,.13)}
.pm-discover-media{height:min(64vh,610px);min-height:470px}
.pm-discover-overlay{padding:25px 24px}
.pm-discover-overlay h2{font-size:28px;line-height:1.05;margin-bottom:6px;letter-spacing:-.03em}
.pm-discover-meta{margin-bottom:10px;font-size:13px}
.pm-discover-bio{margin-bottom:12px;font-size:13px;line-height:1.45}
.pm-discover-fit,.pm-super-like-badge{padding:5px 8px;font-size:10px}
.pm-chip-row-on-photo span{padding:5px 8px;font-size:10px}
.pm-discovery-stage .pm-discover-actions{gap:14px;padding:14px 8px 2px}
.pm-discover-actions button{width:50px;height:50px;font-size:20px}
.pm-discover-actions .pm-like-circle{width:58px;height:58px;font-size:22px}
.pm-discover-actions .pm-super-like-circle{width:50px;height:50px;font-size:20px}

.pm-discovery-stage>.pm-empty-state{min-height:330px;max-width:540px;padding:26px 24px;border-radius:21px;background:radial-gradient(circle at 50% 12%,color-mix(in srgb,var(--pm-primary) 8%,transparent),transparent 38%),#fff;box-shadow:0 10px 30px rgba(55,37,72,.045)}
.pm-discovery-stage>.pm-empty-state>span{display:grid;place-items:center;width:52px;height:52px;margin-bottom:4px;border-radius:50%;background:var(--pm-soft);font-size:27px}
.pm-discovery-stage>.pm-empty-state h2{margin:8px 0 5px;font-size:24px;line-height:1.15;letter-spacing:-.025em}
.pm-discovery-stage>.pm-empty-state p{max-width:380px;margin:0;font-size:13px;line-height:1.5}
.pm-discovery-stage>.pm-empty-state .pm-empty-action{margin-top:16px;padding:10px 15px;font-size:12px;border-radius:11px;box-shadow:none}

.pm-list-heading h2,.pm-matches-heading h2,.pm-conversations-heading h2{font-size:25px;line-height:1.15;letter-spacing:-.025em}
.pm-view-intro,.pm-matches-heading p{font-size:12px;line-height:1.45}
.pm-count-pill{font-size:11px}

@media(max-width:960px){
  .pm-app{grid-template-columns:74px minmax(0,1fr)}
  .pm-sidebar{padding:17px 10px}
  .pm-sidebar-brand{padding:0 2px 16px}
  .pm-nav button,.pm-logout-button{padding:9px}
}

@media(max-width:700px){
  .pm-app{font-size:14px}
  .pm-app-content{padding:9px 10px 13px}
  .pm-app-header{margin-bottom:8px;min-height:38px}
  .pm-app-header h1{font-size:22px;line-height:1.08}
  .pm-header-actions{gap:5px}
  .pm-icon-button,.pm-user-chip{min-height:36px}
  .pm-icon-button{width:36px}
  .pm-user-chip img{width:30px;height:30px}
  .pm-discovery-nav{gap:6px;margin-bottom:6px}
  .pm-discovery-tabs{gap:1px;padding:2px;border-radius:11px;max-width:calc(100% - 66px)}
  .pm-discovery-tabs button{padding:7px 9px;border-radius:8px;font-size:11px}
  .pm-discovery-filter-button{padding:8px 9px!important;border-radius:9px!important;font-size:11px!important}
  .pm-discovery-status{margin-bottom:7px}
  .pm-discovery-allowance span{padding:4px 7px;font-size:9px}
  .pm-discovery-stage{max-width:100%}
  .pm-loading-card{min-height:250px;border-radius:17px}
  .pm-discover-card{border-radius:18px}
  .pm-discover-media{height:min(62dvh,520px);min-height:390px}
  .pm-discover-overlay{padding:20px 17px}
  .pm-discover-overlay h2{font-size:25px}
  .pm-discover-meta,.pm-discover-bio{font-size:12px}
  .pm-discovery-stage .pm-discover-actions{gap:10px;padding:10px 4px 0}
  .pm-discover-actions button,.pm-discover-actions .pm-super-like-circle{width:46px;height:46px;font-size:18px}
  .pm-discover-actions .pm-like-circle{width:54px;height:54px;font-size:21px}
  .pm-discovery-stage>.pm-empty-state{min-height:235px;padding:18px 15px;border-radius:17px}
  .pm-discovery-stage>.pm-empty-state>span{width:42px;height:42px;font-size:22px}
  .pm-discovery-stage>.pm-empty-state h2{font-size:20px;margin:6px 0 3px}
  .pm-discovery-stage>.pm-empty-state p{font-size:12px;line-height:1.4;max-width:300px}
  .pm-discovery-stage>.pm-empty-state .pm-empty-action{margin-top:12px;padding:9px 12px;font-size:11px}
  .pm-list-heading h2,.pm-matches-heading h2,.pm-conversations-heading h2{font-size:21px}
}

/* v0.9.3 standalone dater access */
body.pm-access-page{margin:0;background:#fbf9ff;color:var(--pm-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pm-access-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(420px,.78fr);background:#fff}.pm-access-visual{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;padding:34px 46px;background:radial-gradient(circle at 70% 15%,rgba(255,255,255,.2),transparent 26%),linear-gradient(145deg,var(--pm-theme-darker) 0%,var(--pm-primary) 52%,var(--pm-accent) 100%);color:#fff;overflow:hidden}.pm-access-visual:after{content:"♥";position:absolute;right:-7vw;bottom:-18vh;font-size:44vw;line-height:1;color:rgba(255,255,255,.045);transform:rotate(-9deg);pointer-events:none}.pm-access-visual>*{position:relative;z-index:1}.pm-access-visual>div{max-width:620px}.pm-access-visual h2{font-size:clamp(38px,5.2vw,68px);line-height:1;letter-spacing:-.05em;margin:16px 0}.pm-access-visual p{max-width:530px;font-size:17px;line-height:1.6;color:#eee7ff}.pm-access-visual small{color:#e5dafa}.pm-access-panel{display:flex;min-height:100dvh;flex-direction:column;justify-content:center;align-items:center;padding:34px;background:linear-gradient(180deg,#fff,#faf7ff)}.pm-access-card{width:min(100%,470px);padding:30px;background:#fff;border:1px solid var(--pm-line);border-radius:24px;box-shadow:0 20px 55px rgba(43,24,62,.1)}.pm-access-card-copy{margin-bottom:22px}.pm-access-card-copy h1{margin:7px 0 7px;font-size:31px;line-height:1.05;letter-spacing:-.04em}.pm-access-card-copy p{margin:0;color:var(--pm-muted);font-size:14px;line-height:1.5}.pm-access-form{padding-top:0!important}.pm-access-switch{margin:16px 0 0;text-align:center;color:var(--pm-muted);font-size:13px}.pm-access-switch a{color:var(--pm-primary);font-weight:800;text-decoration:none}.pm-access-foot{max-width:470px;margin:14px 0 0;color:#8c8294;font-size:11px;text-align:center;line-height:1.5}.pm-access-mobile-brand{display:none;align-items:center;gap:9px;margin-bottom:18px;color:var(--pm-ink)}.pm-access-status{text-align:center;padding:10px 0}.pm-access-status>span{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 13px;border-radius:18px;background:var(--pm-soft);color:var(--pm-primary);font-size:27px;font-weight:900}.pm-access-status h2{margin:0 0 7px;font-size:25px}.pm-access-status p{margin:0 auto 18px;max-width:370px;color:var(--pm-muted);line-height:1.55}.pm-access-status .pm-primary-button{display:inline-block;text-decoration:none}.pm-access-form input[readonly]{background:#f8f5fb;color:#655b6d}
@media(max-width:900px){.pm-access-shell{grid-template-columns:1fr}.pm-access-visual{display:none}.pm-access-panel{min-height:100dvh;padding:22px}.pm-access-mobile-brand{display:flex}.pm-access-card{box-shadow:none;border-color:#eee6f3}}
@media(max-width:560px){.pm-access-panel{justify-content:flex-start;padding:14px 14px calc(20px + env(safe-area-inset-bottom))}.pm-access-mobile-brand{width:100%;margin:4px 0 14px}.pm-access-card{width:100%;padding:19px 16px;border-radius:18px}.pm-access-card-copy{margin-bottom:16px}.pm-access-card-copy h1{font-size:26px}.pm-access-card-copy p{font-size:13px}.pm-access-form label{margin-bottom:10px}.pm-access-form input{padding:11px 12px}.pm-access-form .pm-primary-button{padding:11px 14px}.pm-access-foot{margin-top:9px}}
body.pm-access-page.pm-type-romantic .pm-access-card h1,body.pm-access-page.pm-type-romantic .pm-access-status h2,body.pm-access-page.pm-type-romantic .pm-access-visual h2,body.pm-access-page.pm-type-romantic .pm-brand{font-family:"Palatino Linotype","Book Antiqua",Palatino,Georgia,"Times New Roman",serif}body.pm-access-page.pm-type-romantic .pm-access-card h1,body.pm-access-page.pm-type-romantic .pm-access-visual h2{letter-spacing:-.025em}

/* v0.9.4 — polished chat, local-time context and Premium attachment states */
.pm-messages-layout{height:min(760px,calc(100dvh - 148px));min-height:540px;grid-template-columns:minmax(250px,320px) minmax(0,1fr);border-radius:20px}
.pm-app-embed .pm-messages-layout{height:clamp(520px,72dvh,760px);min-height:520px}
.pm-conversations-heading{padding:17px 16px 14px}.pm-conversations-heading h2{font-size:20px}.pm-conversation-list{padding:6px}
.pm-conversation-item{gap:9px;padding:9px;border-radius:13px}.pm-conversation-item>img{width:46px;height:46px;flex-basis:46px}.pm-conversation-copy{gap:3px}.pm-conversation-top strong{font-size:13px}.pm-conversation-bottom>span{font-size:11px}
.pm-chat-header{height:66px;flex-basis:66px;padding:8px 13px;gap:9px}.pm-chat-header>img{width:43px;height:43px}.pm-chat-header-copy{min-width:0;flex:1}.pm-chat-header strong{font-size:14px;line-height:1.15}.pm-chat-header span{font-size:10px;margin-top:1px}.pm-chat-location-time{display:block;margin-top:2px;color:var(--pm-primary);font-size:9px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-chat-location-time[hidden]{display:none!important}
.pm-chat-messages{padding:16px 18px 12px;gap:5px;background:linear-gradient(180deg,color-mix(in srgb,var(--pm-accent) 25%,transparent),rgba(255,255,255,.92) 22%,#fff)}
.pm-chat-date-separator{align-self:center;margin:8px 0 7px;padding:4px 9px;border:1px solid var(--pm-line);border-radius:999px;background:rgba(255,255,255,.9);color:var(--pm-muted);font-size:9px;font-weight:800;box-shadow:0 3px 10px rgba(50,30,70,.04)}
.pm-message-row{gap:5px}.pm-message-bubble{max-width:min(70%,560px);padding:8px 11px 6px;border-radius:15px;box-shadow:0 2px 9px rgba(40,23,58,.045)}.pm-message-row.is-theirs .pm-message-bubble{background:#f4f1f7;border-bottom-left-radius:5px}.pm-message-row.is-mine .pm-message-bubble{border-bottom-right-radius:5px}.pm-message-bubble p{font-size:13px;line-height:1.36}.pm-message-caption{padding:5px 4px 2px!important}.pm-message-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-height:11px;margin-top:3px}.pm-message-bubble time{display:inline;margin:0;font-size:8px;line-height:1}.pm-message-state{font-size:9px;line-height:1;opacity:.72}.pm-message-state.is-read{opacity:1;color:#dfffea}.pm-message-row.is-theirs .pm-message-state{color:var(--pm-primary)}
.pm-message-image{width:min(300px,100%);max-width:100%;max-height:360px;border-radius:11px}.pm-message-bubble:has(.pm-message-image){max-width:min(74%,330px);padding:4px}.pm-message-file{display:flex;align-items:center;gap:10px;min-width:210px;max-width:300px;padding:4px 3px;color:inherit;text-decoration:none}.pm-message-file>span:first-child{display:grid;place-items:center;flex:0 0 39px;width:39px;height:44px;border-radius:10px;background:rgba(255,255,255,.2);font-size:9px;font-weight:950;letter-spacing:.04em}.pm-message-row.is-theirs .pm-message-file>span:first-child{background:#fff;color:var(--pm-primary)}.pm-message-file>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.pm-message-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.pm-message-file small{font-size:8px;opacity:.72}
.pm-message-tools{opacity:.18}.pm-message-react-trigger{width:25px;height:25px;font-size:11px}.pm-message-reaction-palette{bottom:30px}.pm-message-reaction-palette button{width:29px;height:29px;font-size:16px}.pm-message-reaction-summary{margin-top:4px}
.pm-chat-composer{gap:7px;padding:9px 11px 10px;background:rgba(255,255,255,.98)}.pm-chat-input-wrap{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.pm-chat-composer textarea{width:100%;min-height:42px;max-height:112px;padding:10px 12px;border-radius:14px;font-size:13px}.pm-chat-composer .pm-chat-input-wrap>small{padding-left:4px;color:var(--pm-primary);font-size:8px;font-weight:800}.pm-chat-image-button{position:relative!important;flex-basis:42px!important;width:42px!important;height:42px!important;border-radius:13px!important;font-size:17px!important}.pm-chat-attach-icon{font-size:17px;line-height:1}.pm-chat-attach-lock{position:absolute;right:-4px;top:-5px;display:grid;place-items:center;width:17px;height:17px;border-radius:999px;background:var(--pm-primary);color:#fff;border:2px solid #fff;font-size:8px}.pm-chat-image-button.is-premium-locked{background:#f7f3fb;color:#92879c;cursor:pointer}.pm-chat-composer>button{flex-basis:42px;width:42px;height:42px;border-radius:13px;font-size:16px}
.pm-profile-location-time{margin:3px 0 12px;color:var(--pm-primary);font-size:11px;font-weight:800}.pm-profile-location-time[hidden]{display:none!important}

@media(max-width:700px){
  .pm-view[data-view-panel="messages"]{inset:0 0 calc(62px + env(safe-area-inset-bottom)) 0}
  .pm-app-embed .pm-view[data-view-panel="messages"]{position:relative;z-index:auto;inset:auto;height:auto;min-height:0;background:transparent}
  .pm-app-embed .pm-messages-layout{height:min(74dvh,680px);min-height:500px;border:1px solid var(--pm-line);border-radius:16px;overflow:hidden}
  .pm-conversations-heading{height:62px;padding:12px 13px}.pm-conversations-heading h2{font-size:18px}.pm-conversation-list{padding:5px 7px 12px}.pm-conversation-item{padding:8px 6px}.pm-conversation-item>img{width:45px;height:45px;flex-basis:45px}
  .pm-chat-header{height:60px;flex-basis:60px;padding:7px 9px}.pm-chat-header>img{width:38px;height:38px}.pm-chat-header strong{font-size:13px}.pm-chat-header span{font-size:9px}.pm-chat-location-time{font-size:8px}.pm-chat-back{width:30px;height:30px;border-radius:9px;font-size:17px}
  .pm-chat-messages{padding:12px 9px 8px;gap:4px}.pm-chat-date-separator{margin:6px 0;padding:3px 8px;font-size:8px}.pm-message-bubble{max-width:86%;padding:7px 9px 5px}.pm-message-bubble p{font-size:12px;line-height:1.34}.pm-message-bubble:has(.pm-message-image){max-width:80%;padding:4px}.pm-message-image{width:100%;max-height:300px}.pm-message-file{min-width:0;width:min(230px,68vw);max-width:100%}.pm-message-tools{opacity:.38}.pm-message-react-trigger{width:23px;height:23px}
  .pm-chat-composer{padding:7px 8px calc(8px + env(safe-area-inset-bottom));gap:6px}.pm-chat-image-button{width:40px!important;height:40px!important;flex-basis:40px!important}.pm-chat-composer textarea{min-height:40px;padding:9px 10px;border-radius:13px;font-size:12px}.pm-chat-composer>button{width:40px;height:40px;flex-basis:40px;border-radius:13px}.pm-chat-composer .pm-chat-input-wrap>small{font-size:7px}
}
@media(max-width:380px){.pm-message-bubble{max-width:89%}.pm-message-bubble:has(.pm-message-image){max-width:84%}.pm-chat-messages{padding-left:7px;padding-right:7px}.pm-chat-composer{padding-left:6px;padding-right:6px}.pm-message-file{width:min(210px,66vw)}}

/* v0.9.4.1 — mobile chat overflow fix */
@media (max-width:700px){
  .pm-view[data-view-panel="messages"],
  .pm-messages-layout,
  .pm-chat-panel,
  .pm-chat-active,
  .pm-chat-messages,
  .pm-chat-composer{
    max-width:100%;
    min-width:0;
  }
  .pm-chat-panel,
  .pm-chat-active,
  .pm-chat-messages{
    overflow-x:hidden;
  }
  .pm-chat-messages{
    padding:9px 8px 7px;
    gap:5px;
  }
  .pm-message-row{
    width:100%;
    max-width:100%;
    min-width:0;
    gap:4px;
  }
  .pm-message-row.is-theirs{padding-right:1px}
  .pm-message-row.is-mine{padding-left:1px}
  .pm-message-bubble{
    flex:0 1 auto;
    min-width:0;
    width:auto;
    max-width:min(76%,calc(100% - 28px));
    padding:7px 9px 5px;
    overflow:hidden;
  }
  .pm-message-bubble p{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:break-word;
  }
  .pm-message-bubble:has(.pm-message-image){
    width:min(74%,250px);
    max-width:calc(100% - 28px);
    padding:3px;
  }
  .pm-message-image{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    max-height:240px;
    margin:0 auto;
    object-fit:contain;
    border-radius:10px;
    background:rgba(255,255,255,.08);
  }
  .pm-message-file{
    width:min(205px,64vw);
    max-width:100%;
    min-width:0;
  }
  .pm-message-tools{
    flex:0 0 22px;
    width:22px;
    min-width:22px;
    opacity:.34;
  }
  .pm-message-react-trigger{
    width:21px;
    height:21px;
    font-size:10px;
  }
  .pm-message-reaction-palette{
    max-width:min(205px,82vw);
    gap:1px;
    padding:4px;
  }
  .pm-message-reaction-palette button{
    width:27px;
    height:27px;
    font-size:15px;
  }
  .pm-chat-composer{
    width:100%;
    padding:6px 7px calc(7px + env(safe-area-inset-bottom));
    gap:5px;
    overflow:hidden;
  }
  .pm-chat-input-wrap{
    flex:1 1 auto;
    width:0;
    min-width:0;
  }
  .pm-chat-composer textarea{
    width:100%;
    min-width:0;
    max-width:100%;
    min-height:38px;
    padding:8px 9px;
  }
  .pm-chat-image-button,
  .pm-chat-composer>button{
    flex:0 0 38px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
  }
}
@media (max-width:380px){
  .pm-chat-messages{padding-left:6px;padding-right:6px}
  .pm-message-bubble{max-width:min(78%,calc(100% - 24px));font-size:12px}
  .pm-message-bubble:has(.pm-message-image){width:min(72%,220px);max-width:calc(100% - 24px)}
  .pm-message-image{max-height:210px}
  .pm-message-file{width:min(185px,62vw)}
  .pm-message-tools{flex-basis:19px;width:19px;min-width:19px}
  .pm-message-react-trigger{width:19px;height:19px;font-size:9px}
  .pm-chat-composer{padding-left:5px;padding-right:5px;gap:4px}
  .pm-chat-image-button,.pm-chat-composer>button{flex-basis:36px!important;width:36px!important;height:36px!important;min-width:36px!important}
  .pm-chat-composer textarea{min-height:36px;padding:7px 8px;font-size:12px}
}
@media (max-width:320px){
  .pm-message-bubble{max-width:min(80%,calc(100% - 22px))}
  .pm-message-bubble:has(.pm-message-image){width:min(70%,195px);max-width:calc(100% - 22px)}
  .pm-message-image{max-height:185px}
  .pm-message-file{width:min(165px,60vw)}
}


/* v0.9.4.2 — true standalone dater app + mobile chat viewport fix */
html:has(body.purple-match-standalone-app){margin-top:0!important;width:100%!important;max-width:none!important;background:#fff!important;overflow-x:hidden!important}
body.purple-match-standalone-app{margin:0!important;padding:0!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:100dvh!important;background:#fff!important;overflow-x:hidden!important}
body.purple-match-standalone-app #wpadminbar,
body.purple-match-app-page #wpadminbar,
body.purple-match-shortcode-page #wpadminbar{display:none!important}
body.purple-match-standalone-app #purple-match-root{width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important}
body.purple-match-standalone-app .pm-app{width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important}
.pm-message-media-link{display:block;max-width:100%;line-height:0;text-decoration:none;border-radius:inherit;overflow:hidden}
.pm-message-bubble.has-image{padding:4px!important;overflow:hidden}
.pm-message-bubble.has-file{overflow:hidden}
.pm-message-bubble.has-image .pm-message-meta{padding:0 5px 3px}

@media(max-width:700px){
  /* The member app always owns the real phone viewport; no theme/container width can constrain it. */
  body.purple-match-standalone-app,
  body.purple-match-standalone-app #purple-match-root,
  body.purple-match-standalone-app .pm-app,
  body.purple-match-standalone-app .pm-app-content{
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
  }
  body.purple-match-standalone-app .pm-app-content{padding-left:10px!important;padding-right:10px!important}

  /* Messages take over the entire phone screen. This also prevents Elementor/theme columns from squeezing chat. */
  body.purple-match-standalone-app .pm-view[data-view-panel="messages"],
  .purple-match-shortcode-page .pm-app-embed .pm-view[data-view-panel="messages"]{
    position:fixed!important;
    z-index:2147480000!important;
    left:0!important;
    right:0!important;
    top:0!important;
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    background:#fff!important;
  }
  body.purple-match-standalone-app .pm-view[data-view-panel="messages"]{
    bottom:calc(62px + env(safe-area-inset-bottom))!important;
    height:auto!important;
  }
  .purple-match-shortcode-page .pm-app-embed .pm-view[data-view-panel="messages"]{
    bottom:0!important;
    height:100dvh!important;
  }
  body.purple-match-standalone-app .pm-messages-layout,
  .purple-match-shortcode-page .pm-app-embed .pm-messages-layout{
    width:100vw!important;
    max-width:100vw!important;
    min-width:0!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .pm-conversations-panel,.pm-chat-panel,.pm-chat-active,.pm-chat-messages,.pm-chat-composer{min-width:0!important;max-width:100%!important}
  .pm-chat-panel{width:100%!important}
  .pm-chat-active{width:100%!important}
  .pm-chat-messages{width:100%!important;padding:8px 7px 7px!important;overflow-x:hidden!important}
  .pm-message-row{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .pm-message-bubble{max-width:min(74%,calc(100vw - 58px))!important;min-width:0!important;box-sizing:border-box!important}
  .pm-message-bubble.has-image{width:min(210px,58vw)!important;max-width:min(210px,58vw)!important;padding:3px!important}
  .pm-message-bubble.has-file{width:min(230px,66vw)!important;max-width:min(230px,66vw)!important}
  .pm-message-media-link{width:100%!important;max-width:100%!important}
  .pm-message-image{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:190px!important;
    object-fit:contain!important;
    margin:0!important;
    border-radius:9px!important;
    background:#f3eef8!important;
  }
  .pm-message-caption{font-size:11px!important;line-height:1.3!important;padding:5px 5px 1px!important}
  .pm-message-file{width:100%!important;min-width:0!important;max-width:100%!important}
  .pm-message-tools{flex:0 0 20px!important;width:20px!important;min-width:20px!important}
  .pm-message-react-trigger{width:20px!important;height:20px!important;font-size:9px!important}
  .pm-chat-composer{width:100%!important;max-width:100vw!important;box-sizing:border-box!important;padding:6px 6px calc(7px + env(safe-area-inset-bottom))!important;gap:5px!important}
  .pm-chat-input-wrap{width:0!important;min-width:0!important;flex:1 1 auto!important}
  .pm-chat-composer textarea{width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
}
@media(max-width:380px){
  .pm-message-bubble{max-width:min(76%,calc(100vw - 52px))!important}
  .pm-message-bubble.has-image{width:min(185px,56vw)!important;max-width:min(185px,56vw)!important}
  .pm-message-image{max-height:168px!important}
}
@media(max-width:330px){
  .pm-message-bubble.has-image{width:min(165px,54vw)!important;max-width:min(165px,54vw)!important}
  .pm-message-image{max-height:150px!important}
}
body.purple-match-standalone-app #purple-match-root>.pm-shortcode-surface{width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important;overflow-x:hidden!important}
@media(max-width:700px){body.purple-match-standalone-app #purple-match-root>.pm-shortcode-surface{width:100vw!important;max-width:100vw!important}}

/* v0.9.5 Friendship mode */
.pm-friends-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}.pm-friends-heading h2{margin:3px 0 4px;font-size:clamp(1.35rem,2vw,1.8rem)}.pm-friends-heading p{margin:0;color:var(--pm-muted);max-width:680px}.pm-friends-tabs{display:flex;gap:8px;align-items:center;padding:5px;background:color-mix(in srgb,var(--pm-soft) 72%,#fff);border:1px solid var(--pm-border);border-radius:15px;margin-bottom:14px;width:max-content;max-width:100%;overflow:auto}.pm-friends-tabs button,.pm-friend-discovery-tabs button{border:0;background:transparent;border-radius:11px;padding:9px 13px;font:inherit;font-weight:700;color:var(--pm-muted);white-space:nowrap;cursor:pointer}.pm-friends-tabs button.is-active,.pm-friend-discovery-tabs button.is-active{background:#fff;color:var(--pm-primary);box-shadow:0 4px 16px rgba(31,22,51,.07)}.pm-friends-tabs button span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;border-radius:999px;background:var(--pm-soft);font-size:.72rem}.pm-friends-panel{display:none}.pm-friends-panel.is-active{display:block}.pm-friend-discovery-tabs{display:flex;gap:6px;margin:0 0 12px;overflow:auto}.pm-friend-stage{min-height:350px;display:grid;place-items:start center}.pm-friend-card{width:min(760px,100%);display:grid;grid-template-columns:minmax(220px,42%) 1fr;background:#fff;border:1px solid var(--pm-border);border-radius:22px;overflow:hidden;box-shadow:0 16px 42px rgba(31,22,51,.08)}.pm-friend-card-photo{min-height:390px;background:var(--pm-soft)}.pm-friend-card-photo img{width:100%;height:100%;object-fit:cover;display:block}.pm-friend-card-body{padding:24px;display:flex;flex-direction:column;align-items:flex-start}.pm-friend-card-body h3{font-size:1.45rem;margin:0 0 4px}.pm-friend-card-body>p{margin:0}.pm-friend-fit{margin:12px 0 8px;padding:6px 9px;border-radius:999px;background:var(--pm-soft);color:var(--pm-primary);font-size:.78rem;font-weight:800}.pm-friend-intro{color:var(--pm-ink);line-height:1.55;margin:0 0 13px!important}.pm-friend-actions{display:flex;gap:9px;width:100%;margin-top:auto;padding-top:16px}.pm-friend-actions>*{flex:1}.pm-friend-request-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pm-friend-request-columns>section{background:#fff;border:1px solid var(--pm-border);border-radius:18px;padding:16px}.pm-friend-request-columns h3{margin:0 0 12px;font-size:1rem}.pm-friend-request-card{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--pm-border)}.pm-friend-request-card:last-child{border-bottom:0}.pm-friend-request-card>img{width:46px;height:46px;object-fit:cover;border-radius:50%}.pm-friend-request-card>div:nth-child(2){display:flex;flex-direction:column;min-width:0;flex:1}.pm-friend-request-card>div:nth-child(2) span{color:var(--pm-muted);font-size:.78rem}.pm-friend-request-card>div:last-child{display:flex;gap:6px}.pm-friend-request-card .pm-primary-button,.pm-friend-request-card .pm-secondary-button{padding:7px 10px;font-size:.78rem}.pm-chat-friend-note{display:flex;gap:8px;align-items:center;padding:8px 12px;background:#f5f3ff;border-bottom:1px solid #e8e2ff;font-size:.78rem;color:#554b70}.pm-chat-friend-note strong{color:var(--pm-primary);white-space:nowrap}.pm-chat-friend-note[hidden]{display:none!important}.pm-connection-choice button[data-value="friendship"]::before{content:"☕ ";}.pm-connection-choice button[data-value="both"]::before{content:"♥ + ☕ ";}.pm-connection-choice button[data-value="dating"]::before{content:"♥ ";}
@media (max-width:700px){.pm-friends-heading{margin-bottom:9px}.pm-friends-heading p{font-size:.82rem;line-height:1.35}.pm-friends-tabs{width:100%;margin-bottom:9px;padding:4px;border-radius:12px}.pm-friends-tabs button,.pm-friend-discovery-tabs button{padding:7px 10px;font-size:.78rem}.pm-friend-stage{min-height:0}.pm-friend-card{grid-template-columns:112px 1fr;border-radius:16px}.pm-friend-card-photo{min-height:190px}.pm-friend-card-body{padding:12px}.pm-friend-card-body h3{font-size:1rem}.pm-friend-card-body .pm-chip-row{display:none}.pm-friend-fit{margin:7px 0 5px;padding:4px 7px;font-size:.68rem}.pm-friend-intro{font-size:.78rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.pm-friend-actions{gap:6px;padding-top:8px}.pm-friend-actions .pm-primary-button,.pm-friend-actions .pm-secondary-button{padding:8px 7px;font-size:.72rem}.pm-friend-request-columns{grid-template-columns:1fr;gap:9px}.pm-friend-request-columns>section{padding:11px;border-radius:14px}.pm-chat-friend-note{padding:6px 9px;font-size:.68rem;line-height:1.25}.pm-chat-friend-note span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.pm-friend-thread-badge{display:inline-flex;margin-left:6px;padding:2px 6px;border-radius:999px;background:#f0ecff;color:var(--pm-primary);font-size:.62rem;font-weight:800;vertical-align:middle}

/* v0.9.6 — professional mobile messaging */
.pm-mobile-messages-head{display:none}
.pm-conversation-avatar{position:relative;display:block;flex:0 0 46px;width:46px;height:46px}
.pm-conversation-avatar>img{display:block;width:46px;height:46px;border-radius:50%;object-fit:cover;background:#ede6f7}
.pm-conversation-online{position:absolute;right:0;bottom:1px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#22c55e}
.pm-conversation-presence{display:block;min-height:12px;color:#8a8094;font-size:9px;line-height:1.2}
.pm-conversation-item.is-unread .pm-conversation-top strong{font-weight:900}
.pm-conversation-preview{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-conversation-badges{display:flex!important;align-items:center;justify-content:flex-end;gap:5px;flex:none!important;overflow:visible!important}
.pm-thread-type-badge{display:inline-flex;align-items:center;padding:2px 6px;border-radius:999px;background:#f0ecff;color:var(--pm-primary);font-size:8px;font-weight:850;line-height:1.35;white-space:nowrap}
.pm-thread-type-badge.is-friendship{background:#eff6ff;color:#3564c9}
.pm-thread-type-badge.is-host{background:#fff5e6;color:#a86000}
.pm-message-avatar{display:none;width:28px;height:28px;border-radius:50%;object-fit:cover;flex:0 0 28px;background:#eee7f5}
.pm-chat-input-wrap{position:relative}
.pm-chat-input-wrap textarea{padding-right:42px!important}
.pm-chat-emoji-button{position:absolute!important;right:6px!important;top:50%!important;transform:translateY(-50%);z-index:2;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;min-width:30px!important;flex:0 0 30px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#81748f!important;box-shadow:none!important;font-size:17px!important}
.pm-chat-emoji-palette{position:absolute;right:0;bottom:52px;z-index:30;display:flex;flex-wrap:wrap;width:188px;padding:7px;border:1px solid var(--pm-line);border-radius:16px;background:#fff;box-shadow:0 14px 36px rgba(31,22,51,.16)}
.pm-chat-emoji-palette[hidden]{display:none!important}
.pm-chat-emoji-palette button{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:38px!important;border:0!important;border-radius:10px!important;background:transparent!important;box-shadow:none!important;font-size:20px!important}
.pm-chat-emoji-palette button:hover{background:var(--pm-soft)!important}
.pm-chat-typing-bubble{align-self:flex-start;margin:2px 14px 5px;padding:7px 11px;border:1px solid var(--pm-line);border-radius:15px 15px 15px 5px;background:#fff;color:#8b7e98;font-size:11px;font-weight:650;box-shadow:0 4px 14px rgba(31,22,51,.06)}

@media(max-width:700px){
  /* Messaging owns the phone viewport. */
  body.purple-match-standalone-app .pm-app.is-messages-view .pm-app-header{display:none!important}
  body.purple-match-standalone-app .pm-app.is-messages-view .pm-app-content{padding:0!important}
  body.purple-match-standalone-app .pm-app.is-messages-view .pm-view[data-view-panel="messages"]{top:0!important;background:#fbf9ff!important}
  .pm-mobile-messages-head{display:block;padding:14px 16px 10px;background:linear-gradient(180deg,#fff 0%,#fcf9ff 100%);border-bottom:1px solid #eee8f4}
  .pm-mobile-messages-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
  .pm-mobile-message-brand .pm-brand{font-size:18px!important;gap:7px!important}
  .pm-mobile-message-brand .pm-logo-mark{width:29px!important;height:29px!important;border-radius:9px!important}
  .pm-mobile-message-tools{display:flex;align-items:center;gap:7px}
  .pm-mobile-message-icon,.pm-mobile-message-avatar-button{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #ebe4f2;border-radius:50%;background:#fff;color:#2a1d3c;box-shadow:0 3px 10px rgba(31,22,51,.05)}
  .pm-mobile-message-icon{font-size:18px}
  .pm-mobile-message-icon b{position:absolute;right:-2px;top:-3px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:var(--pm-primary);color:#fff;border:2px solid #fff;font-size:8px}
  .pm-mobile-message-icon b[hidden]{display:none!important}
  .pm-mobile-message-avatar-button img{width:30px;height:30px;border-radius:50%;object-fit:cover}
  .pm-mobile-messages-head>h2{margin:0 0 13px;font-size:25px;line-height:1.05;letter-spacing:-.035em;color:var(--pm-ink)}
  .pm-conversation-filter-tabs{display:flex;gap:7px;margin-bottom:10px}
  .pm-conversation-filter-tabs button{min-width:70px;padding:8px 14px;border:1px solid #ece6f1;border-radius:12px;background:#fff;color:#655a70;font-size:12px;font-weight:800;box-shadow:0 2px 8px rgba(31,22,51,.025)}
  .pm-conversation-filter-tabs button.is-active{border-color:transparent;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));color:#fff;box-shadow:0 8px 18px color-mix(in srgb,var(--pm-primary) 17%,transparent)}
  .pm-conversation-filter-row{display:flex;align-items:center;justify-content:space-between;padding-top:3px}
  .pm-unread-filter{display:flex;align-items:center;gap:5px;padding:6px 10px;border:1px solid #e8e0ef;border-radius:999px;background:#fff;color:#62566d;font-size:10px;font-weight:800}
  .pm-unread-filter>span{color:var(--pm-primary);font-size:10px}
  .pm-unread-filter.is-active{border-color:color-mix(in srgb,var(--pm-primary) 35%,#fff);background:var(--pm-soft);color:var(--pm-primary)}
  .pm-conversation-sort-label{display:flex;align-items:center;gap:5px;color:#6f6479;font-size:10px;font-weight:800}
  .pm-conversations-heading{display:none!important}
  .pm-conversations-panel{height:100%!important;background:#fbf9ff!important;border:0!important}
  .pm-conversation-list{padding:8px 10px 16px!important;background:#fbf9ff!important}
  .pm-conversation-list>.pm-empty-state{min-height:170px!important;margin:8px 0!important;border:1px dashed #e5dced!important;border-radius:17px!important;background:#fff!important}
  .pm-conversation-item{position:relative;display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 7px!important;padding:10px 10px!important;border:1px solid #ebe4f2!important;border-radius:16px!important;background:#fff!important;box-shadow:0 3px 12px rgba(31,22,51,.035)!important}
  .pm-conversation-item.is-unread{border-color:#ded1ed!important;box-shadow:0 5px 16px color-mix(in srgb,var(--pm-primary) 7%,transparent)!important}
  .pm-conversation-item.is-active{background:#f8f3ff!important}
  .pm-conversation-avatar{flex-basis:49px;width:49px;height:49px}
  .pm-conversation-avatar>img{width:49px;height:49px}
  .pm-conversation-online{width:12px;height:12px}
  .pm-conversation-copy{gap:2px!important}
  .pm-conversation-top strong{font-size:13px!important;line-height:1.2}
  .pm-conversation-top time{font-size:8px!important;color:#958a9f!important}
  .pm-conversation-presence{font-size:9px!important;color:#8b8194!important}
  .pm-conversation-item.is-unread .pm-conversation-presence{color:#22a45a!important}
  .pm-conversation-bottom{gap:7px!important;margin-top:2px}
  .pm-conversation-preview{font-size:10.5px!important;line-height:1.25;color:#40364a!important}
  .pm-conversation-badges{gap:4px!important}
  .pm-thread-type-badge{padding:2px 6px;font-size:7px}
  .pm-thread-unread{min-width:18px!important;height:18px!important;font-size:8px!important}

  /* Thread becomes a dedicated chat screen. */
  .pm-chat-panel{background:#fcfaff!important}
  .pm-chat-panel.is-chat-open{transform:translateX(0)!important}
  .pm-app.is-chat-thread-open .pm-conversations-panel{visibility:hidden!important;pointer-events:none!important}
  .pm-chat-header{height:64px!important;flex-basis:64px!important;padding:8px 10px!important;gap:8px!important;border-bottom:1px solid #eee7f3!important;background:rgba(255,255,255,.97)!important;box-shadow:0 2px 10px rgba(31,22,51,.035)!important}
  .pm-chat-back{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;flex:0 0 32px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#271a37!important;font-size:21px!important}
  .pm-chat-header>img{width:39px!important;height:39px!important;flex:0 0 39px;border:2px solid #fff;box-shadow:0 0 0 1px #e8e0ef}
  .pm-chat-header-copy{gap:0!important}
  .pm-chat-header strong{font-size:13px!important;line-height:1.15!important}
  .pm-chat-header span{margin-top:1px!important;color:#22a45a!important;font-size:9px!important;font-weight:750!important}
  .pm-chat-location-time{margin-top:1px!important;color:#8c8197!important;font-size:7.5px!important;font-weight:650!important}
  .pm-chat-safety{width:32px!important;height:32px!important;border:0!important;border-radius:50%!important;background:transparent!important;font-size:17px!important;letter-spacing:1px}
  .pm-chat-host-note,.pm-chat-friend-note{font-size:9px!important;padding:6px 10px!important}
  .pm-chat-friend-note span,.pm-chat-host-note span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pm-chat-messages{padding:10px 9px 8px!important;gap:4px!important;background:radial-gradient(circle at 20% 0,color-mix(in srgb,var(--pm-accent) 55%,transparent),transparent 31%),linear-gradient(180deg,#fdfbff 0%,#fff 45%,#fff 100%)!important}
  .pm-chat-date-separator{margin:5px auto 7px!important;padding:4px 9px!important;border:0!important;background:#f0e8f8!important;color:#675b73!important;font-size:8px!important;box-shadow:none!important}
  .pm-message-row{align-items:flex-end!important;gap:5px!important;padding:0!important}
  .pm-message-row.is-theirs{justify-content:flex-start!important}
  .pm-message-row.is-mine{justify-content:flex-end!important}
  .pm-message-avatar{display:block;width:25px;height:25px;flex-basis:25px;margin-bottom:1px}
  .pm-message-bubble{max-width:min(76%,282px)!important;padding:8px 10px 6px!important;border-radius:15px!important;box-shadow:0 2px 8px rgba(31,22,51,.045)!important;overflow:visible!important}
  .pm-message-row.is-theirs .pm-message-bubble{background:#fff!important;border:1px solid #eee8f2!important;color:#2d2336!important;border-bottom-left-radius:5px!important}
  .pm-message-row.is-mine .pm-message-bubble{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;color:#fff!important;border-bottom-right-radius:5px!important}
  .pm-message-bubble p{font-size:11.5px!important;line-height:1.32!important}
  .pm-message-meta{gap:3px!important;margin-top:3px!important}
  .pm-message-bubble time{font-size:7.5px!important}
  .pm-message-state{font-size:8px!important}
  .pm-message-tools{width:18px!important;min-width:18px!important;flex-basis:18px!important;opacity:.55!important}
  .pm-message-react-trigger{width:18px!important;height:18px!important;border-color:#eee7f2!important;font-size:8px!important;box-shadow:0 2px 5px rgba(31,22,51,.04)!important}
  .pm-message-bubble.has-image{width:min(72vw,245px)!important;max-width:min(72vw,245px)!important;padding:3px!important;border-radius:16px!important}
  .pm-message-image{width:100%!important;max-height:250px!important;object-fit:cover!important;border-radius:13px!important}
  .pm-message-caption{font-size:10px!important;padding:5px 6px 1px!important}
  .pm-message-bubble.has-file{width:min(72vw,245px)!important;max-width:min(72vw,245px)!important}
  .pm-message-file{width:100%!important;min-width:0!important}
  .pm-message-reaction-summary{gap:3px!important;margin-top:3px!important}
  .pm-message-reaction-summary span{padding:2px 5px!important;font-size:8px!important}
  .pm-chat-typing-bubble{margin:2px 10px 5px 39px!important;padding:6px 10px!important;border-radius:14px 14px 14px 5px!important;font-size:9px!important}

  /* Composer matches a native messenger control. */
  .pm-chat-composer{position:relative!important;display:flex!important;align-items:center!important;width:100%!important;padding:7px 9px calc(8px + env(safe-area-inset-bottom))!important;gap:7px!important;border-top:1px solid #eee8f2!important;background:rgba(255,255,255,.98)!important;box-shadow:0 -3px 14px rgba(31,22,51,.035)!important}
  .pm-chat-image-button{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;flex-basis:36px!important;border:1px solid #ece5f1!important;border-radius:50%!important;background:#fff!important;color:#685c74!important;box-shadow:none!important;font-size:16px!important}
  .pm-chat-input-wrap{height:auto!important;min-width:0!important;flex:1!important}
  .pm-chat-composer textarea{min-height:37px!important;max-height:88px!important;padding:9px 38px 8px 12px!important;border:1px solid #e7e0ec!important;border-radius:19px!important;background:#faf8fd!important;font-size:11px!important;line-height:1.35!important;box-shadow:none!important}
  .pm-chat-composer textarea:focus{border-color:#c8b2e7!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--pm-primary) 6%,transparent)!important}
  .pm-chat-emoji-button{right:5px!important;width:28px!important;height:28px!important;font-size:16px!important}
  .pm-chat-emoji-palette{right:0!important;bottom:46px!important;width:176px!important}
  .pm-chat-emoji-palette button{width:38px!important;height:35px!important;flex-basis:38px!important;font-size:18px!important}
  .pm-chat-composer>button.pm-chat-send-button{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:50%!important;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;color:#fff!important;font-size:16px!important;box-shadow:0 6px 15px color-mix(in srgb,var(--pm-primary) 22%,transparent)!important}
  .pm-chat-composer .pm-chat-input-wrap>small{position:absolute;left:7px;bottom:-11px;font-size:6.5px!important}
  .pm-chat-attach-lock{right:-2px!important;top:-3px!important;width:15px!important;height:15px!important;font-size:7px!important}
}

@media(max-width:380px){
  .pm-mobile-messages-head{padding-left:12px;padding-right:12px}
  .pm-conversation-filter-tabs button{min-width:62px;padding:7px 11px;font-size:11px}
  .pm-conversation-list{padding-left:7px!important;padding-right:7px!important}
  .pm-conversation-item{padding:8px!important;gap:8px!important}
  .pm-conversation-avatar,.pm-conversation-avatar>img{width:45px;height:45px;flex-basis:45px}
  .pm-message-bubble{max-width:min(77%,258px)!important}
  .pm-message-bubble.has-image,.pm-message-bubble.has-file{width:min(70vw,220px)!important;max-width:min(70vw,220px)!important}
  .pm-message-image{max-height:225px!important}
}

/* v0.9.6.1 live typing presence */
.pm-chat-typing-bubble.is-live::after{content:' ';display:inline-block;width:14px;height:4px;margin-left:5px;vertical-align:middle;border-radius:999px;background:radial-gradient(circle at 2px 2px,var(--pm-primary) 1.7px,transparent 1.9px) 0 0/6px 4px repeat-x;animation:pmTypingPulse .9s ease-in-out infinite;opacity:.75}
@keyframes pmTypingPulse{0%,100%{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-1px)}}
@media (prefers-reduced-motion:reduce){.pm-chat-typing-bubble.is-live::after{animation:none}}


/* v0.9.7 Community Host workspace */
.pm-host-nav-button{margin-top:6px!important}.pm-host-workspace{display:grid;gap:14px;max-width:1180px}.pm-host-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid var(--pm-border);border-radius:20px;background:linear-gradient(135deg,var(--pm-soft),#fff)}.pm-host-hero h2{margin:3px 0 5px;font-size:24px}.pm-host-hero p{margin:0;max-width:720px;color:var(--pm-muted);font-size:13px;line-height:1.55}.pm-host-privacy-pill{white-space:nowrap;border-radius:999px;background:#ecfdf3;color:#15803d;padding:7px 10px;font-size:11px;font-weight:800}.pm-host-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pm-host-stats>div{padding:14px;border:1px solid var(--pm-border);border-radius:16px;background:#fff}.pm-host-stats strong{display:block;font-size:22px;line-height:1}.pm-host-stats span{display:block;margin-top:6px;color:var(--pm-muted);font-size:11px}.pm-host-panel{border:1px solid var(--pm-border);border-radius:20px;background:#fff;padding:16px}.pm-host-panel-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:12px}.pm-host-panel-head h3{margin:2px 0 0;font-size:18px}.pm-host-panel-head>small{color:var(--pm-muted);font-size:11px;max-width:420px;text-align:right}.pm-host-thread-list,.pm-host-member-list{display:grid;gap:8px}.pm-host-thread,.pm-host-member-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:10px;border:1px solid var(--pm-border);border-radius:14px;background:#fff}.pm-host-thread img,.pm-host-member-card img{width:46px;height:46px;border-radius:14px;object-fit:cover}.pm-host-thread div,.pm-host-member-main{min-width:0}.pm-host-thread strong,.pm-host-member-main strong{display:block;font-size:13px}.pm-host-thread span,.pm-host-member-main span,.pm-host-member-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--pm-muted);font-size:10px;margin-top:2px}.pm-host-thread>b{padding:4px 7px;border-radius:999px;background:var(--pm-soft);color:var(--pm-primary);font-size:9px}.pm-host-thread .pm-primary-button,.pm-host-member-card .pm-secondary-button{min-height:34px;padding:0 11px;font-size:10px}.pm-host-search{display:flex;gap:8px;margin-bottom:10px}.pm-host-search input{flex:1;min-width:0;height:40px;border:1px solid var(--pm-border);border-radius:12px;padding:0 12px}.pm-host-empty{padding:22px;text-align:center;border:1px dashed var(--pm-border);border-radius:14px;color:var(--pm-muted);font-size:12px}.pm-host-access-note{display:flex;gap:10px;align-items:flex-start;margin-bottom:12px;padding:10px 12px;border-radius:12px;background:#fff8e8;color:#6f5615;font-size:11px}.pm-host-access-note strong{white-space:nowrap}.pm-host-edit-panel h3 small{font-weight:500;color:var(--pm-muted)}.pm-host-edit-form{display:grid;grid-template-columns:1fr 1fr;gap:11px}.pm-host-edit-form label{display:grid;gap:5px;font-size:11px;font-weight:750}.pm-host-edit-form input,.pm-host-edit-form select,.pm-host-edit-form textarea{width:100%;border:1px solid var(--pm-border);border-radius:11px;padding:9px 10px;background:#fff;color:var(--pm-ink);font:inherit;font-weight:400}.pm-host-edit-form label>small{font-size:9px;color:var(--pm-muted);font-weight:400}.pm-host-form-wide,.pm-host-form-actions{grid-column:1/-1}.pm-host-form-actions{display:flex;gap:8px;flex-wrap:wrap}.pm-host-denied{padding:24px;border:1px solid var(--pm-border);border-radius:18px;background:#fff}.pm-host-denied p{color:var(--pm-muted)}
@media(max-width:760px){.pm-host-workspace{gap:9px}.pm-host-hero{padding:13px;border-radius:15px}.pm-host-hero h2{font-size:19px}.pm-host-hero p{font-size:11px}.pm-host-privacy-pill{display:none}.pm-host-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.pm-host-stats>div{padding:10px;border-radius:12px}.pm-host-stats strong{font-size:18px}.pm-host-panel{padding:10px;border-radius:15px}.pm-host-panel-head{margin-bottom:8px}.pm-host-panel-head h3{font-size:15px}.pm-host-panel-head>small{display:none}.pm-host-thread,.pm-host-member-card{grid-template-columns:40px minmax(0,1fr) auto;padding:8px;gap:8px}.pm-host-thread img,.pm-host-member-card img{width:40px;height:40px;border-radius:12px}.pm-host-thread>b{grid-column:3}.pm-host-thread .pm-primary-button{grid-column:1/-1;width:100%}.pm-host-member-card .pm-secondary-button{grid-column:1/-1;width:100%}.pm-host-edit-form{grid-template-columns:1fr}.pm-host-form-wide,.pm-host-form-actions{grid-column:auto}.pm-host-search{position:sticky;top:0;background:#fff;padding:3px 0;z-index:2}}

/* v0.9.8 member safety/privacy tools */
.pm-member-safety-banner{margin:12px 20px 0;padding:11px 13px;border:1px solid #f0c8d2;background:#fff5f8;border-radius:14px;display:flex;align-items:flex-start;gap:10px;color:#6f2640}.pm-member-safety-banner>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#d43d68;color:#fff;font-weight:800;flex:0 0 auto}.pm-member-safety-banner strong{display:block;font-size:13px}.pm-member-safety-banner p{margin:2px 0 0;font-size:12px;line-height:1.45}
.pm-account-tool-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.pm-account-security-card>small{display:block;color:var(--pm-muted,#766e82);font-size:11px;line-height:1.5}.pm-host-permission-note,.pm-host-disabled-pill{padding:10px 12px;border-radius:12px;background:#f7f4fb;color:#73677e;font-size:12px}.pm-host-disabled-pill{padding:6px 9px;white-space:nowrap}
@media(max-width:700px){.pm-member-safety-banner{margin:8px 10px 0;padding:9px 10px}.pm-account-tool-actions{display:grid;grid-template-columns:1fr 1fr}.pm-account-tool-actions .pm-link-danger{grid-column:1/-1;justify-self:start}}


/* v0.9.9.1 — preserve active theme header/footer on all PurpleMatch member routes */
body.pm-with-theme-chrome{overflow-x:hidden!important}
body.pm-with-theme-chrome #purple-match-root.pm-theme-chrome-app{width:100%;max-width:none;margin:0;padding:0}
body.pm-with-theme-chrome .pm-theme-chrome-access{width:100%;max-width:none;margin:0}
body.pm-verification-page .pm-verification-surface{width:100%;max-width:none;margin:0;padding:0}

@media(max-width:700px){
  /* Do not let the chat overlay the site's header or footer. Keep it in normal document flow. */
  body.pm-with-theme-chrome .pm-view[data-view-panel="messages"],
  body.pm-with-theme-chrome .pm-app-embed .pm-view[data-view-panel="messages"]{
    position:relative!important;
    z-index:1!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;
    margin:0!important;
  }
  body.purple-match-standalone-app.pm-with-theme-chrome .pm-app.is-messages-view .pm-view[data-view-panel="messages"]{
    position:relative!important;
    z-index:1!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;
    margin:0!important;
  }
  body.pm-with-theme-chrome .pm-messages-layout,
  body.pm-with-theme-chrome .pm-app-embed .pm-messages-layout{
    width:100%!important;max-width:100%!important;
    height:min(76dvh,720px)!important;min-height:520px!important;
    border-radius:0!important;
  }
  body.purple-match-standalone-app.pm-with-theme-chrome .pm-app.is-messages-view .pm-app-content{padding:0!important}
  body.purple-match-standalone-app.pm-with-theme-chrome .pm-app.is-messages-view .pm-app-header{display:none!important}
  body.pm-with-theme-chrome .pm-mobile-nav{
    position:sticky!important;
    left:auto!important;right:auto!important;
    bottom:calc(8px + env(safe-area-inset-bottom))!important;
    width:calc(100% - 20px)!important;
    margin:8px 10px calc(8px + env(safe-area-inset-bottom))!important;
  }
  body.pm-with-theme-chrome .pm-chat-composer{padding-bottom:calc(7px + env(safe-area-inset-bottom))!important}
}

/* v0.9.9.2 Compact Profile Layout */
.pm-view[data-view-panel="profile"]{max-width:1480px;margin-inline:auto}
.pm-profile-core-section{margin:0;padding:14px;border:1px solid var(--pm-line);border-radius:15px;background:#fcfbfe}
.pm-profile-core-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 11px}
.pm-profile-core-grid label{min-width:0;margin:0!important}
.pm-profile-core-grid .pm-field-wide{grid-column:1/-1}
.pm-profile-core-grid input,.pm-profile-core-grid select,.pm-profile-core-grid textarea{min-height:42px;padding:10px 11px!important;border-radius:11px!important}
.pm-profile-core-grid textarea{resize:vertical;line-height:1.45}
.pm-profile-core-grid textarea[name="bio"]{min-height:84px}
.pm-profile-core-grid textarea[name="friendship_intro"]{min-height:66px}
.pm-photo-manager-row{display:grid;gap:10px;margin-bottom:10px}
.pm-prompt-card-grid{display:grid;gap:8px}
#pm-profile-form{display:flex;flex-direction:column;gap:10px}
#pm-profile-form>.pm-primary-button{margin-top:0;min-height:43px}
#pm-profile-form .pm-profile-fields-section,#pm-profile-form .pm-prompt-editor{margin:0}
#pm-profile-form .pm-profile-fields-section{padding:14px;border-radius:15px}
#pm-profile-form .pm-prompt-editor{padding:14px;border-radius:15px}
#pm-profile-form .pm-profile-fields-heading,#pm-profile-form .pm-prompt-editor-heading{margin-bottom:9px}
#pm-profile-form .pm-profile-fields-heading p,#pm-profile-form .pm-prompt-editor-heading p{margin-top:3px;line-height:1.35}
#pm-profile-form .pm-profile-field-grid{gap:8px 10px}
#pm-profile-form .pm-profile-field-grid label{margin:0!important}
#pm-profile-form .pm-profile-field-grid input,#pm-profile-form .pm-profile-field-grid select{min-height:42px;padding:10px 11px;border-radius:11px}
#pm-profile-form .pm-prompt-edit-card{margin:0;padding:10px;border-radius:12px;min-width:0}
#pm-profile-form .pm-prompt-edit-card label{margin-bottom:8px}
#pm-profile-form .pm-prompt-edit-card textarea{min-height:62px;padding:9px 10px;border-radius:10px}
#pm-profile-form .pm-prompt-edit-card select{min-height:40px;padding:9px 10px;border-radius:10px}

@media(min-width:961px){
  .pm-profile-layout{grid-template-columns:minmax(290px,360px) minmax(0,1fr);gap:16px;align-items:start}
  .pm-profile-preview{position:sticky;top:18px;border-radius:18px;overflow:hidden}
  .pm-preview-photo{height:360px;min-height:0;max-height:none}
  .pm-preview-overlay{left:16px;right:16px;bottom:14px}
  .pm-preview-overlay h2{font-size:25px;line-height:1.06}
  .pm-preview-overlay p{font-size:12px;margin-top:4px}
  .pm-preview-body{padding:12px 14px}
  .pm-preview-body>p{margin:0 0 9px;font-size:12px;line-height:1.42;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
  .pm-preview-body .pm-chip-row{gap:5px}
  .pm-preview-body .pm-chip-row span{padding:5px 7px;font-size:9px}
  .pm-profile-editor{padding:16px;border-radius:18px}
  .pm-editor-heading{margin-bottom:12px;align-items:center}
  .pm-editor-heading h2{font-size:24px;line-height:1.08;margin-top:3px}
  .pm-editor-heading-actions{gap:8px}
  .pm-share-self-button{min-height:38px;padding:8px 11px!important;font-size:11px!important}
  .pm-completion{min-width:46px}
  .pm-completion strong{font-size:17px;line-height:1}
  .pm-photo-manager-row{grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)}
  .pm-photo-manager-row .pm-photo-manager{margin:0;padding:11px;border-radius:14px;min-width:0}
  .pm-photo-manager-row .pm-photo-manager-heading{gap:8px;margin-bottom:9px}
  .pm-photo-manager-row .pm-photo-manager-heading p{font-size:10px;line-height:1.35;max-width:420px}
  .pm-photo-manager-row .pm-photo-add{padding:7px 9px;font-size:10px!important;border-radius:9px}
  .pm-photo-manager-row .pm-profile-photo-grid{gap:7px}
  .pm-photo-manager-row .pm-manage-photo{aspect-ratio:1/1.08;border-radius:10px}
  .pm-photo-manager-row .pm-cover-label{left:5px;top:5px;padding:3px 5px;font-size:8px}
  .pm-photo-manager-row .pm-photo-controls{left:4px;right:4px;bottom:4px;gap:3px}
  .pm-photo-manager-row .pm-photo-controls button{height:24px;border-radius:6px;font-size:10px}
  .pm-photo-manager-row .pm-photo-manager-empty{padding:10px;min-height:72px;border-radius:10px;font-size:11px;display:grid;place-items:center}
  .pm-photo-manager-row .pm-private-requests{margin-top:8px}
  .pm-profile-core-section{padding:12px}
  .pm-profile-core-section .pm-profile-fields-heading{margin-bottom:8px}
  .pm-profile-core-section .pm-profile-fields-heading strong{font-size:13px}
  .pm-profile-core-section .pm-profile-fields-heading p{font-size:10px}
}

@media(min-width:1180px){
  .pm-photo-manager-row .pm-profile-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pm-photo-manager-row .pm-private-photo-manager .pm-profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pm-prompt-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(min-width:961px) and (max-width:1179px){
  .pm-photo-manager-row .pm-profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pm-prompt-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pm-prompt-card-grid .pm-prompt-edit-card:last-child{grid-column:1/-1}
}

@media(max-width:960px){
  .pm-profile-layout{gap:10px}
  .pm-profile-preview{max-width:none}
  .pm-preview-photo{height:360px;min-height:0;max-height:52vh}
  .pm-preview-body{padding:11px 12px}
  .pm-profile-editor{padding:12px}
  .pm-photo-manager-row{grid-template-columns:1fr 1fr}
  .pm-photo-manager-row .pm-photo-manager{margin:0;padding:10px;border-radius:13px;min-width:0}
  .pm-photo-manager-row .pm-profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .pm-photo-manager-row .pm-manage-photo{border-radius:9px}
  .pm-photo-manager-row .pm-photo-manager-empty{padding:9px;min-height:58px;font-size:10px}
  #pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pm-prompt-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pm-prompt-card-grid .pm-prompt-edit-card:last-child{grid-column:1/-1}
}

@media(max-width:700px){
  .pm-view[data-view-panel="profile"]{max-width:none}
  .pm-profile-layout{gap:8px}
  .pm-profile-preview{border-radius:14px}
  .pm-preview-photo{height:300px;min-height:0;max-height:none}
  .pm-preview-overlay{left:12px;right:12px;bottom:11px}
  .pm-preview-overlay h2{font-size:22px}
  .pm-preview-body{padding:10px 11px}
  .pm-preview-body>p{font-size:11px;line-height:1.38;margin-bottom:7px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .pm-profile-editor{padding:10px}
  .pm-editor-heading{margin-bottom:9px}
  .pm-editor-heading h2{font-size:20px}
  .pm-share-self-button{min-height:34px;padding:7px 9px!important;font-size:10px!important}
  .pm-completion strong{font-size:15px}
  .pm-photo-manager-row{grid-template-columns:1fr;gap:8px;margin-bottom:8px}
  .pm-photo-manager-row .pm-photo-manager{padding:9px;border-radius:12px}
  .pm-photo-manager-row .pm-photo-manager-heading{flex-direction:row;align-items:flex-start;gap:6px;margin-bottom:7px}
  .pm-photo-manager-row .pm-photo-manager-heading p{font-size:9px;line-height:1.3;margin-top:2px}
  .pm-photo-manager-row .pm-photo-add{padding:6px 8px;font-size:9px!important;border-radius:8px}
  .pm-photo-manager-row .pm-profile-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .pm-photo-manager-row .pm-manage-photo{aspect-ratio:1/1.08;border-radius:8px}
  .pm-photo-manager-row .pm-cover-label{left:4px;top:4px;padding:3px 4px;font-size:7px}
  .pm-photo-manager-row .pm-photo-controls{left:3px;right:3px;bottom:3px;gap:2px}
  .pm-photo-manager-row .pm-photo-controls button{height:22px;border-radius:5px;font-size:9px;padding:0}
  .pm-photo-manager-row .pm-photo-manager-empty{min-height:52px;padding:8px;border-radius:9px;font-size:9px}
  .pm-profile-core-section,#pm-profile-form .pm-profile-fields-section,#pm-profile-form .pm-prompt-editor{padding:10px;border-radius:12px}
  .pm-profile-core-grid{gap:7px}
  .pm-profile-core-grid input,.pm-profile-core-grid select,.pm-profile-core-grid textarea,#pm-profile-form .pm-profile-field-grid input,#pm-profile-form .pm-profile-field-grid select{min-height:39px;padding:9px 10px!important;border-radius:9px!important}
  .pm-profile-core-grid textarea[name="bio"]{min-height:70px}
  .pm-profile-core-grid textarea[name="friendship_intro"]{min-height:58px}
  #pm-profile-form{gap:8px}
  #pm-profile-form .pm-profile-fields-heading,#pm-profile-form .pm-prompt-editor-heading{margin-bottom:7px}
  #pm-profile-form .pm-profile-field-grid{gap:7px}
  .pm-prompt-card-grid{grid-template-columns:1fr;gap:6px}
  .pm-prompt-card-grid .pm-prompt-edit-card:last-child{grid-column:auto}
  #pm-profile-form .pm-prompt-edit-card{padding:8px;border-radius:10px}
  #pm-profile-form>.pm-primary-button{min-height:40px;padding:10px 13px}
}

@media(max-width:480px){
  .pm-profile-core-grid,#pm-profile-form .pm-profile-field-grid{grid-template-columns:1fr}
  .pm-profile-core-grid .pm-field-wide{grid-column:auto}
  .pm-photo-manager-row .pm-profile-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* v0.9.9.3 — white-label site identity. Public branding uses the active site's logo/title. */
.pm-site-logo-wrap{display:grid;place-items:center;flex:0 0 auto;max-width:110px;height:34px;border-radius:9px;overflow:hidden}
.pm-site-logo-image{display:block;width:auto;max-width:110px;height:32px;object-fit:contain}
.pm-brand-light .pm-site-logo-wrap,.pm-sidebar-brand .pm-site-logo-wrap{background:rgba(255,255,255,.96);padding:3px 6px}
.pv-brand .pm-site-logo-wrap{display:inline-grid;margin-right:7px;vertical-align:middle}.pv-brand .pm-site-logo-image{height:28px;max-width:100px}.pv-brand .pm-brand-name{vertical-align:middle}
.pm-brand-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.pm-type-theme .pm-shortcode-surface,body.pm-type-theme .pm-shortcode-surface button,body.pm-type-theme .pm-shortcode-surface input,body.pm-type-theme .pm-shortcode-surface textarea,body.pm-type-theme .pm-shortcode-surface select{font-family:inherit}
@media(max-width:760px){.pm-sidebar-brand .pm-site-logo-image{max-width:86px;height:28px}.pm-sidebar-brand .pm-site-logo-wrap{max-width:86px;height:30px}.pm-brand-name{font-size:.92em}}


/* v0.9.9.4 — optimistic low-latency chat states. */
.pm-message-row.is-pending .pm-message-bubble,.pm-message-row.is-waiting .pm-message-bubble{filter:saturate(.9);opacity:.84}
.pm-message-row.is-failed .pm-message-bubble{outline:1px solid rgba(220,38,38,.28);opacity:.92}
.pm-message-state.is-pending{display:inline-flex;min-width:10px;justify-content:center;animation:pmSendingPulse 1s ease-in-out infinite;color:inherit!important}
.pm-message-state.is-failed{color:#fecaca!important;font-weight:950;animation:none}
.pm-message-row.is-theirs .pm-message-state.is-failed{color:#dc2626!important}
.pm-message-retry{border:0!important;background:transparent!important;color:inherit!important;width:auto!important;height:auto!important;min-width:0!important;padding:0 0 0 3px!important;box-shadow:none!important;font:inherit!important;font-size:8px!important;font-weight:900!important;text-decoration:underline;cursor:pointer}
.pm-message-row.is-theirs .pm-message-retry{color:#dc2626!important}
@keyframes pmSendingPulse{0%,100%{opacity:.45}50%{opacity:1}}
@media(max-width:700px){.pm-message-row.is-pending .pm-message-bubble,.pm-message-row.is-waiting .pm-message-bubble{opacity:.82}.pm-message-retry{font-size:7px!important}}


/* v0.9.9.5 — fixed mobile app navigation + no duplicate public branding */
/* The active theme header owns public branding. Keep PurpleMatch branding internal. */
body.pm-with-theme-chrome .pm-sidebar-brand{display:none!important}
body.pm-with-theme-chrome .pm-sidebar{padding-top:18px!important}
body.pm-with-theme-chrome .pm-app-header>div:first-child>.pm-eyebrow{display:none!important}
body.pm-with-theme-chrome .pm-app-header h1{margin-top:0!important}

@media(max-width:700px){
  /* The website header already contains the site logo/name. Do not repeat it in Messages. */
  body.pm-with-theme-chrome .pm-mobile-message-brand{display:none!important}
  body.pm-with-theme-chrome .pm-mobile-messages-head{position:relative!important;padding:11px 12px 9px!important}
  body.pm-with-theme-chrome .pm-mobile-messages-top{height:0!important;min-height:0!important;margin:0!important;padding:0!important}
  body.pm-with-theme-chrome .pm-mobile-message-tools{position:absolute!important;z-index:4!important;right:12px!important;top:9px!important;gap:6px!important}
  body.pm-with-theme-chrome .pm-mobile-messages-head>h2{margin:0 0 10px!important;padding:5px 86px 0 0!important;font-size:23px!important;line-height:1.05!important}
  body.pm-with-theme-chrome .pm-mobile-message-icon,
  body.pm-with-theme-chrome .pm-mobile-message-avatar-button{width:34px!important;height:34px!important}
  body.pm-with-theme-chrome .pm-mobile-message-avatar-button img{width:28px!important;height:28px!important}

  /* True app-style fixed navigation. Works with any number of visible member tabs. */
  body.pm-with-theme-chrome .pm-mobile-nav{
    position:fixed!important;
    z-index:9998!important;
    left:50%!important;
    right:auto!important;
    bottom:calc(9px + env(safe-area-inset-bottom))!important;
    transform:translateX(-50%)!important;
    display:flex!important;
    align-items:center!important;
    width:min(calc(100vw - 18px),520px)!important;
    min-height:62px!important;
    margin:0!important;
    padding:6px 7px!important;
    border:1px solid rgba(78,55,99,.12)!important;
    border-radius:21px!important;
    background:rgba(255,255,255,.94)!important;
    color:var(--pm-ink)!important;
    box-shadow:0 14px 36px rgba(25,15,39,.18),0 2px 8px rgba(25,15,39,.08)!important;
    -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
    backdrop-filter:blur(18px) saturate(145%)!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav button{
    position:relative!important;
    flex:1 1 0!important;
    min-width:0!important;
    min-height:50px!important;
    padding:4px 2px 3px!important;
    border:0!important;
    border-radius:14px!important;
    background:transparent!important;
    color:#7b7185!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    font-size:16px!important;
    line-height:1!important;
    box-shadow:none!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav button>span,
  body.pm-with-theme-chrome .pm-mobile-nav .pm-mobile-icon-wrap{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    width:27px!important;
    height:27px!important;
    margin:0!important;
    border-radius:10px!important;
    font-size:16px!important;
    line-height:1!important;
    transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav button small{
    display:block!important;
    max-width:100%!important;
    margin:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    font-size:8.5px!important;
    line-height:1.05!important;
    font-weight:800!important;
    letter-spacing:-.01em!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav button.is-active{
    color:var(--pm-primary)!important;
    background:var(--pm-soft)!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav button.is-active>span,
  body.pm-with-theme-chrome .pm-mobile-nav button.is-active .pm-mobile-icon-wrap{
    background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;
    color:#fff!important;
    transform:translateY(-1px)!important;
    box-shadow:0 6px 14px rgba(78,55,99,.18)!important;
  }
  body.pm-with-theme-chrome .pm-mobile-badge{
    top:-5px!important;
    right:-7px!important;
    min-width:15px!important;
    height:15px!important;
    padding:0 4px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#ef476f!important;
    color:#fff!important;
    font-size:7px!important;
    line-height:11px!important;
    box-shadow:0 2px 5px rgba(0,0,0,.12)!important;
  }

  /* Keep the last content and chat controls above the floating nav. */
  body.pm-with-theme-chrome .pm-app{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  body.pm-with-theme-chrome .pm-app-content{padding-bottom:calc(88px + env(safe-area-inset-bottom))!important}
  body.pm-with-theme-chrome .pm-conversation-list{padding-bottom:calc(82px + env(safe-area-inset-bottom))!important}
  body.pm-with-theme-chrome .pm-chat-active{padding-bottom:calc(70px + env(safe-area-inset-bottom))!important}
  body.pm-with-theme-chrome .pm-chat-composer{padding-bottom:8px!important;margin-bottom:0!important}
}

@media(max-width:380px){
  body.pm-with-theme-chrome .pm-mobile-nav{width:calc(100vw - 12px)!important;min-height:58px!important;padding:5px!important;border-radius:18px!important}
  body.pm-with-theme-chrome .pm-mobile-nav button{min-height:47px!important;padding-inline:1px!important}
  body.pm-with-theme-chrome .pm-mobile-nav button>span,
  body.pm-with-theme-chrome .pm-mobile-nav .pm-mobile-icon-wrap{width:24px!important;height:24px!important;font-size:14px!important;border-radius:8px!important}
  body.pm-with-theme-chrome .pm-mobile-nav button small{font-size:7.5px!important}
  body.pm-with-theme-chrome .pm-mobile-messages-head>h2{font-size:21px!important}
}


/* v0.9.9.6 — white-label theme color enforcement.
   All visible member chrome derives from --pm-* tokens. Purple is never used as
   a fallback in theme mode, and Elementor global colors are supported by PHP. */
.pm-shortcode-surface{
  --pm-theme-soft:color-mix(in srgb,var(--pm-primary) 8%,#fff);
  --pm-theme-softer:color-mix(in srgb,var(--pm-primary) 4%,#fff);
  --pm-theme-dark:color-mix(in srgb,var(--pm-primary) 28%,#101418);
  --pm-theme-darker:color-mix(in srgb,var(--pm-primary) 18%,#0b0f12);
  --pm-theme-border:color-mix(in srgb,var(--pm-primary) 14%,#e5e7eb);
}
body.purple-match-app-page,.pm-app{background:var(--pm-theme-softer)!important}
.pm-sidebar{
  background:linear-gradient(180deg,var(--pm-theme-dark),var(--pm-theme-darker) 78%,#0b0f12)!important;
}
.pm-sidebar .pm-nav button,.pm-sidebar .pm-logout-button{color:rgba(255,255,255,.78)!important}
.pm-sidebar .pm-nav button.is-active,.pm-sidebar .pm-nav button:hover{color:#fff!important;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important}
.pm-premium-card{background:linear-gradient(145deg,color-mix(in srgb,var(--pm-primary) 34%,transparent),rgba(255,255,255,.07))!important}
.pm-premium-card p{color:rgba(255,255,255,.72)!important}
.pm-premium-card.is-active{background:linear-gradient(145deg,rgba(245,196,70,.22),color-mix(in srgb,var(--pm-primary) 28%,transparent))!important}
.pm-auth-panel,.pm-onboarding{background:linear-gradient(180deg,#fff,var(--pm-theme-soft))!important}
.pm-auth-card,.pm-profile-preview,.pm-profile-editor,.pm-settings-card,.pm-member-card,.pm-empty-state,.pm-messages-layout{border-color:var(--pm-theme-border)!important}
.pm-auth-tabs,.pm-settings-note,.pm-chip-row span,.pm-count-pill{background:var(--pm-theme-soft)!important}
.pm-auth-form input:focus,.pm-onboarding-card input:focus,.pm-onboarding-card textarea:focus,.pm-onboarding-card select:focus,.pm-profile-editor input:focus,.pm-profile-editor textarea:focus,.pm-profile-editor select:focus,.pm-settings-card input:focus,.pm-chat-composer textarea:focus{
  border-color:var(--pm-primary)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--pm-primary) 12%,transparent)!important;
}
.pm-choice-grid button.is-selected,.pm-suggested-interests button.is-selected{background:var(--pm-theme-soft)!important;border-color:var(--pm-primary)!important;color:var(--pm-primary)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--pm-primary) 9%,transparent)!important}
.pm-upload-tile{background:var(--pm-theme-soft)!important;border-color:color-mix(in srgb,var(--pm-primary) 28%,#ddd)!important;color:var(--pm-primary)!important}
.pm-discover-actions .pm-super-like-circle{color:var(--pm-primary)!important}
.pm-discover-actions .pm-super-like-circle:hover{box-shadow:0 12px 28px color-mix(in srgb,var(--pm-primary) 20%,transparent)!important}
.pm-conversation-item:hover{background:var(--pm-theme-softer)!important}
.pm-conversation-item.is-active{background:var(--pm-theme-soft)!important}
.pm-chat-messages{background:radial-gradient(circle at 50% 0,color-mix(in srgb,var(--pm-primary) 4%,transparent),transparent 30%)!important}
.pm-message-row.is-theirs .pm-message-bubble{background:color-mix(in srgb,var(--pm-primary) 5%,#fff)!important}
.pm-message-row.is-mine .pm-message-bubble{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;color:#fff!important}
.pm-chat-composer button,.pm-primary-button{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important}
.pm-toast{background:var(--pm-theme-darker)!important}
.pm-premium-hero{background:radial-gradient(circle at 82% 18%,rgba(246,211,109,.24),transparent 26%),linear-gradient(135deg,var(--pm-theme-darker),var(--pm-theme-dark) 52%,var(--pm-primary))!important}
.pm-premium-plan-card .pm-primary-button{background:#fff!important;color:var(--pm-primary)!important}
.pm-likes-premium-lock{background:linear-gradient(135deg,var(--pm-theme-darker),var(--pm-theme-dark))!important}
.pm-likes-premium-lock .pm-primary-button{background:#fff!important;color:var(--pm-primary)!important}
.pm-mobile-badge{border-color:var(--pm-theme-dark)!important}
@media(max-width:700px){
  .pm-mobile-nav{background:color-mix(in srgb,var(--pm-theme-darker) 94%,transparent)!important;box-shadow:0 12px 35px color-mix(in srgb,var(--pm-theme-darker) 25%,transparent)!important}
  body.pm-with-theme-chrome .pm-mobile-nav{border-color:var(--pm-theme-border)!important;background:rgba(255,255,255,.95)!important;box-shadow:0 14px 36px color-mix(in srgb,var(--pm-ink) 16%,transparent),0 2px 8px color-mix(in srgb,var(--pm-ink) 8%,transparent)!important}
  body.pm-with-theme-chrome .pm-mobile-nav button{color:color-mix(in srgb,var(--pm-ink) 58%,#fff)!important}
  body.pm-with-theme-chrome .pm-mobile-nav button.is-active{color:var(--pm-primary)!important;background:var(--pm-theme-soft)!important}
  body.pm-with-theme-chrome .pm-mobile-nav button.is-active>span,
  body.pm-with-theme-chrome .pm-mobile-nav button.is-active .pm-mobile-icon-wrap{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;box-shadow:0 6px 14px color-mix(in srgb,var(--pm-primary) 22%,transparent)!important}
}


/* v0.9.9.7 — WhatsApp-style conversation viewport.
   Short conversations sit by the composer; long histories remain fully scrollable. */
.pm-chat-active{min-height:0!important}
.pm-chat-panel{min-height:0!important}
.pm-chat-messages.pm-chat-has-messages::before{
  content:"";
  display:block;
  margin-top:auto;
  flex:0 0 0;
}
.pm-chat-messages{
  overscroll-behavior:contain;
  scroll-padding-bottom:14px;
}
@media(min-width:701px){
  body.pm-with-theme-chrome .pm-messages-layout{
    height:clamp(460px,calc(100dvh - 190px),720px)!important;
    min-height:460px!important;
  }
  body.pm-with-theme-chrome .pm-chat-messages{padding-top:12px!important;padding-bottom:10px!important}
}
@media(max-width:700px){
  body.pm-with-theme-chrome .pm-chat-messages.pm-chat-has-messages::before{margin-top:auto}
  body.pm-with-theme-chrome .pm-chat-messages{
    scroll-padding-bottom:10px;
    -webkit-overflow-scrolling:touch;
  }
  body.pm-with-theme-chrome .pm-chat-composer{
    flex:0 0 auto!important;
    z-index:8!important;
  }
}


/* v0.9.9.8 - fast inbox cold-load skeletons. These replace blocking loader text
   while the first optimized conversation request is in flight. */
.pm-conversation-skeletons{display:flex;flex-direction:column;gap:4px;padding:4px}
.pm-conversation-skeleton{display:flex;align-items:center;gap:11px;padding:11px;border-radius:15px;overflow:hidden}
.pm-conversation-skeleton>span{width:52px;height:52px;flex:0 0 52px;border-radius:50%;background:linear-gradient(90deg,var(--pm-soft),#fff,var(--pm-soft));background-size:220% 100%;animation:pmInboxShimmer 1.15s linear infinite}
.pm-conversation-skeleton>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.pm-conversation-skeleton i,.pm-conversation-skeleton b{display:block;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--pm-soft),#fff,var(--pm-soft));background-size:220% 100%;animation:pmInboxShimmer 1.15s linear infinite}
.pm-conversation-skeleton i{width:44%}.pm-conversation-skeleton b{width:78%;opacity:.78}
@keyframes pmInboxShimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(max-width:700px){.pm-conversation-skeletons{padding:2px 3px}.pm-conversation-skeleton{gap:8px;padding:8px 6px}.pm-conversation-skeleton>span{width:46px;height:46px;flex-basis:46px}}


/* v0.9.9.9 — WhatsApp-style full-height Messages workspace.
   The theme header remains visible; Messages owns the remaining viewport and
   pushes the theme footer below the fold while a conversation is in use. */
body.pm-with-theme-chrome .pm-app.is-messages-view{
  --pm-message-workspace-height:calc(100dvh - 96px);
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-app-header{display:none!important}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-app-content{
  padding:0!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-view[data-view-panel="messages"]{
  display:block!important;
  height:var(--pm-message-workspace-height)!important;
  min-height:500px!important;
  max-height:none!important;
  margin:0!important;
  overflow:hidden!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-messages-layout{
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  border-radius:0!important;
  overflow:hidden!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-conversations-panel,
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-panel,
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-active{
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-conversation-list{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-header{
  position:sticky!important;
  top:0!important;
  z-index:15!important;
  flex:0 0 72px!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-host-note,
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-friend-note{flex:0 0 auto!important}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-messages{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-typing-bubble{flex:0 0 auto!important}
body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-composer{
  position:sticky!important;
  bottom:0!important;
  z-index:16!important;
  flex:0 0 auto!important;
  margin:0!important;
}

@media(min-width:701px){
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-messages-layout{
    grid-template-columns:minmax(280px,320px) minmax(0,1fr)!important;
    box-shadow:none!important;
    border-left:0!important;
    border-right:0!important;
  }
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-messages{padding:14px 20px 12px!important}
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-composer{padding:10px 14px 12px!important}
}

@media(max-width:700px){
  body.pm-with-theme-chrome .pm-app.is-messages-view{padding-bottom:0!important}
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-view[data-view-panel="messages"]{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    height:var(--pm-message-workspace-height)!important;
    min-height:300px!important;
  }
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-messages-layout{height:100%!important;min-height:0!important}
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-conversations-panel{height:100%!important}
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-panel{height:100%!important}
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-header{
    flex-basis:64px!important;
    min-height:64px!important;
  }
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-composer{
    padding-bottom:calc(8px + env(safe-area-inset-bottom))!important;
  }
  /* Inbox keeps the sticky app navigation. A live thread behaves like WhatsApp
     and gives the conversation/composer the entire remaining phone viewport. */
  body.pm-with-theme-chrome .pm-app.is-chat-thread-open .pm-mobile-nav{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translate(-50%,18px)!important;
  }
  body.pm-with-theme-chrome .pm-app.is-chat-thread-open .pm-chat-active{padding-bottom:0!important}
}


/* v0.9.9.11 — focused active-chat mode.
   Opening a conversation temporarily turns the member app into a full viewport
   messaging workspace. The public theme header/footer return when leaving the
   thread or navigating to another member view. */
html:has(body.pm-chat-focus-mode),
body.pm-chat-focus-mode{
  overflow:hidden!important;
  overscroll-behavior:none!important;
}
body.pm-chat-focus-mode .pm-chat-focus-hidden{
  display:none!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open{
  position:fixed!important;
  inset:0!important;
  z-index:2147482000!important;
  width:100vw!important;
  max-width:none!important;
  height:100dvh!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:var(--pm-bg,#fff)!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-app-content{
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-view[data-view-panel="messages"]{
  height:100dvh!important;
  min-height:0!important;
  max-height:100dvh!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-messages-layout{
  height:100dvh!important;
  min-height:0!important;
  max-height:100dvh!important;
  border-radius:0!important;
  border-top:0!important;
  border-bottom:0!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-panel,
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-active{
  height:100%!important;
  min-height:0!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-header{
  position:sticky!important;
  top:0!important;
  z-index:30!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-messages{
  min-height:0!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
}
body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-composer{
  position:sticky!important;
  bottom:0!important;
  z-index:31!important;
}
@media(max-width:700px){
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open{
    width:100dvw!important;
    height:100dvh!important;
    min-height:100dvh!important;
  }
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-sidebar,
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-mobile-nav{
    display:none!important;
  }
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-app-content{
    width:100dvw!important;
    height:100dvh!important;
    padding:0!important;
  }
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-panel{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    transform:none!important;
  }
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-header{
    padding-top:calc(8px + env(safe-area-inset-top))!important;
    min-height:calc(64px + env(safe-area-inset-top))!important;
    flex-basis:calc(64px + env(safe-area-inset-top))!important;
  }
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-composer{
    padding-bottom:calc(8px + env(safe-area-inset-bottom))!important;
  }
}


/* v0.9.9.12 - independently scrollable desktop/tablet app sidebar */
@media (min-width:701px){
  .pm-app{align-items:start}
  .pm-sidebar{
    position:sticky!important;
    top:var(--pm-sidebar-top,0px)!important;
    height:var(--pm-sidebar-height,calc(100dvh - var(--pm-sidebar-top,0px)))!important;
    max-height:var(--pm-sidebar-height,calc(100dvh - var(--pm-sidebar-top,0px)))!important;
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-gutter:stable;
    scrollbar-width:thin;
    scrollbar-color:color-mix(in srgb,var(--pm-primary) 58%,rgba(255,255,255,.24)) transparent;
  }
  .pm-sidebar::-webkit-scrollbar{width:6px}
  .pm-sidebar::-webkit-scrollbar-track{background:transparent}
  .pm-sidebar::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--pm-primary) 58%,rgba(255,255,255,.24));border-radius:999px}
  .pm-sidebar::-webkit-scrollbar-thumb:hover{background:color-mix(in srgb,var(--pm-primary) 76%,#fff)}
  .pm-sidebar .pm-nav,.pm-sidebar .pm-premium-card,.pm-sidebar .pm-logout-button{flex-shrink:0}
}

/* v0.9.9.13 — compact, balanced profile workspace */
.pm-profile-workspace{align-items:start}
.pm-profile-side{min-width:0;display:flex;flex-direction:column;gap:10px}
.pm-profile-side .pm-profile-preview{position:relative;top:auto}
.pm-profile-side .pm-photo-manager-row{margin:0;grid-template-columns:1fr;gap:8px}
.pm-profile-side .pm-photo-manager{margin:0;background:var(--pm-card);border-color:var(--pm-theme-border,var(--pm-line));box-shadow:none}
.pm-profile-side .pm-photo-manager-heading{align-items:center}
.pm-profile-side .pm-photo-manager-heading strong{font-size:12px;line-height:1.2}
.pm-profile-side .pm-photo-manager-heading p{margin-top:2px;font-size:9px;line-height:1.3}
.pm-profile-side .pm-photo-add{padding:6px 8px!important;font-size:9px!important;line-height:1.2}
.pm-profile-side .pm-profile-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.pm-profile-side .pm-private-photo-manager .pm-profile-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.pm-profile-side .pm-manage-photo{aspect-ratio:1/1.08;border-radius:8px}
.pm-profile-side .pm-cover-label{left:3px;top:3px;padding:2px 4px;font-size:6.5px}
.pm-profile-side .pm-photo-controls{left:2px;right:2px;bottom:2px;gap:2px}
.pm-profile-side .pm-photo-controls button{height:20px;min-width:0;padding:0;font-size:8px;border-radius:5px}
.pm-profile-side .pm-photo-manager-empty{min-height:44px;padding:7px;font-size:9px;line-height:1.3}
.pm-profile-side .pm-private-requests{margin-top:6px}
.pm-profile-side .pm-private-request-row{padding:6px}
.pm-profile-side .pm-private-request-actions .pm-primary-button,.pm-profile-side .pm-private-request-actions .pm-secondary-button{padding:6px 8px;font-size:9px}

.pm-profile-editor{min-width:0}
.pm-profile-editor .pm-editor-heading{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid var(--pm-theme-border,var(--pm-line))}
.pm-profile-editor .pm-editor-heading h2{margin-top:2px}
.pm-profile-editor .pm-completion{padding:5px 8px;border-radius:10px;background:var(--pm-soft);align-items:center;min-width:52px}
.pm-profile-editor .pm-completion strong{font-size:15px}
.pm-profile-editor .pm-completion span{font-size:8px;text-transform:uppercase;letter-spacing:.06em}

#pm-profile-form{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-items:start}
#pm-profile-form>.pm-profile-core-section,
#pm-profile-form>.pm-profile-fields-section,
#pm-profile-form>.pm-prompt-editor{min-width:0;margin:0;border:1px solid var(--pm-theme-border,var(--pm-line));background:var(--pm-card);box-shadow:none}
#pm-profile-form .pm-profile-fields-heading,#pm-profile-form .pm-prompt-editor-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
#pm-profile-form .pm-profile-fields-heading strong,#pm-profile-form .pm-prompt-editor-heading strong{font-size:12px;line-height:1.2}
#pm-profile-form .pm-profile-fields-heading p,#pm-profile-form .pm-prompt-editor-heading p{font-size:9px;line-height:1.3;color:var(--pm-muted)}
#pm-profile-form label{gap:4px!important;font-size:10.5px!important;line-height:1.2}
#pm-profile-form input,#pm-profile-form select,#pm-profile-form textarea{font-size:12px!important}
#pm-profile-form .pm-profile-core-grid textarea[name="bio"]{min-height:68px}
#pm-profile-form .pm-profile-core-grid textarea[name="friendship_intro"]{min-height:54px}
#pm-profile-form .pm-prompt-edit-card textarea{min-height:50px}
#pm-profile-form>.pm-primary-button{justify-self:end;width:auto!important;min-width:150px;min-height:38px;padding:9px 16px}

@media(min-width:1180px){
  .pm-view[data-view-panel="profile"]{max-width:1560px}
  .pm-profile-workspace{grid-template-columns:minmax(250px,330px) minmax(0,1fr);gap:12px}
  .pm-profile-side{position:sticky;top:12px;align-self:start}
  .pm-profile-side .pm-preview-photo{height:285px}
  .pm-profile-side .pm-preview-overlay{left:14px;right:14px;bottom:12px}
  .pm-profile-side .pm-preview-overlay h2{font-size:22px}
  .pm-profile-side .pm-preview-body{padding:10px 12px}
  .pm-profile-side .pm-preview-body>p{font-size:10px;line-height:1.35;margin-bottom:6px;-webkit-line-clamp:3}
  .pm-profile-side .pm-chip-row{gap:4px}
  .pm-profile-side .pm-chip-row span{padding:4px 6px;font-size:8px}
  .pm-profile-editor{padding:12px;border-radius:16px}
  .pm-profile-editor .pm-editor-heading h2{font-size:21px}
  #pm-profile-form{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:8px}
  #pm-profile-form>.pm-profile-core-section{grid-column:1}
  #pm-profile-form>.pm-profile-fields-section{grid-column:2}
  #pm-profile-form>.pm-prompt-editor{grid-column:1/-1}
  #pm-profile-form>.pm-primary-button{grid-column:1/-1}
  #pm-profile-form .pm-profile-core-section,#pm-profile-form .pm-profile-fields-section,#pm-profile-form .pm-prompt-editor{padding:10px;border-radius:12px}
  #pm-profile-form .pm-profile-core-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
  #pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px}
  #pm-profile-form .pm-profile-core-grid input,#pm-profile-form .pm-profile-core-grid select,#pm-profile-form .pm-profile-field-grid input,#pm-profile-form .pm-profile-field-grid select{min-height:36px;padding:7px 9px!important;border-radius:8px!important}
  #pm-profile-form .pm-prompt-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  #pm-profile-form .pm-prompt-edit-card{padding:7px;border-radius:9px}
  #pm-profile-form .pm-prompt-edit-card label{margin:0!important}
  #pm-profile-form .pm-prompt-edit-card label+label{margin-top:5px!important}
  #pm-profile-form .pm-prompt-edit-card select{min-height:34px;padding:6px 8px;border-radius:8px}
  #pm-profile-form .pm-prompt-edit-card textarea{min-height:46px;padding:7px 8px;border-radius:8px}
}

@media(min-width:1500px){
  .pm-profile-workspace{grid-template-columns:minmax(260px,320px) minmax(0,1fr)}
  #pm-profile-form{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
  #pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(min-width:701px) and (max-width:1179px){
  .pm-profile-workspace{grid-template-columns:minmax(245px,300px) minmax(0,1fr);gap:10px}
  .pm-profile-side .pm-preview-photo{height:260px;max-height:none}
  .pm-profile-side .pm-profile-photo-grid,.pm-profile-side .pm-private-photo-manager .pm-profile-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pm-profile-editor{padding:11px}
  #pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:700px){
  .pm-profile-workspace{display:block}
  .pm-profile-side{gap:7px;margin-bottom:8px}
  .pm-profile-side .pm-preview-photo{height:230px}
  .pm-profile-side .pm-profile-photo-grid,.pm-profile-side .pm-private-photo-manager .pm-profile-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .pm-profile-side .pm-photo-manager{padding:7px;border-radius:10px}
  .pm-profile-side .pm-photo-manager-heading p{display:none}
  .pm-profile-side .pm-photo-manager-empty{min-height:38px}
  .pm-profile-editor{padding:8px;border-radius:12px}
  .pm-profile-editor .pm-editor-heading{margin-bottom:7px;padding-bottom:7px}
  .pm-profile-editor .pm-editor-heading h2{font-size:18px}
  .pm-profile-editor .pm-editor-heading .pm-eyebrow{display:none}
  #pm-profile-form{gap:6px}
  #pm-profile-form .pm-profile-core-section,#pm-profile-form .pm-profile-fields-section,#pm-profile-form .pm-prompt-editor{padding:8px;border-radius:10px}
  #pm-profile-form .pm-profile-fields-heading,#pm-profile-form .pm-prompt-editor-heading{margin-bottom:6px}
  #pm-profile-form .pm-profile-fields-heading p,#pm-profile-form .pm-prompt-editor-heading p{display:none}
  #pm-profile-form .pm-profile-core-grid,#pm-profile-form .pm-profile-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  #pm-profile-form .pm-profile-core-grid .pm-field-wide{grid-column:1/-1}
  #pm-profile-form .pm-profile-core-grid input,#pm-profile-form .pm-profile-core-grid select,#pm-profile-form .pm-profile-field-grid input,#pm-profile-form .pm-profile-field-grid select{min-height:35px;padding:7px 8px!important}
  #pm-profile-form .pm-prompt-card-grid{gap:5px}
  #pm-profile-form>.pm-primary-button{width:100%!important;min-width:0}
}

@media(max-width:430px){
  .pm-profile-side .pm-preview-photo{height:205px}
  .pm-profile-side .pm-profile-photo-grid,.pm-profile-side .pm-private-photo-manager .pm-profile-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  #pm-profile-form .pm-profile-core-grid,#pm-profile-form .pm-profile-field-grid{grid-template-columns:1fr}
  #pm-profile-form .pm-profile-core-grid .pm-field-wide{grid-column:auto}
}


/* v0.9.9.14 — remove phantom theme-header gap above the app sidebar */
body.pm-with-theme-chrome #purple-match-root.pm-theme-chrome-app{
  margin-block-start:0!important;
  padding-block-start:0!important;
}
@media (min-width:701px){
  body.pm-with-theme-chrome .pm-sidebar{margin-block-start:0!important}
}


/* v0.9.9.15 — clean app routes + eliminate theme/app top-gap double counting */
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root.pm-theme-chrome-app,
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root>.pm-shortcode-surface,
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root .pm-app{
  margin-top:0!important;
  padding-top:0!important;
}
@media (min-width:701px){
  body.purple-match-standalone-app.pm-with-theme-chrome .pm-sidebar{margin-top:0!important}
}


/* v0.9.9.16 — hard route/cache/gap correction */
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root,
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root.pm-theme-chrome-app,
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root>.pm-shortcode-surface,
body.purple-match-standalone-app.pm-with-theme-chrome #purple-match-root .pm-app{
  margin-top:0!important;
  padding-top:0!important;
}
/* Themes commonly add vertical spacing to one or more content wrappers around
   the plugin output. Remove only TOP spacing on the dedicated PurpleMatch app
   route; do not touch side gutters or the footer. */
body.purple-match-standalone-app.pm-with-theme-chrome :is(#content,.site-content,#primary,.content-area,.site-main,.entry-content,.wp-site-blocks):has(#purple-match-root.pm-theme-chrome-app){
  margin-top:0!important;
  padding-top:0!important;
}
@media (min-width:701px){
  body.purple-match-standalone-app.pm-with-theme-chrome .pm-app{align-items:start!important}
  body.purple-match-standalone-app.pm-with-theme-chrome .pm-sidebar{
    align-self:start!important;
    margin:0!important;
    transform:none!important;
    top:var(--pm-sidebar-v2-top,0px)!important;
    height:calc(100dvh - var(--pm-sidebar-v2-top,0px))!important;
    max-height:calc(100dvh - var(--pm-sidebar-v2-top,0px))!important;
  }
}
.pm-nav a{
  text-decoration:none!important;
}
.pm-sidebar .pm-nav a,.pm-sidebar .pm-logout-button{color:rgba(255,255,255,.78)!important}
.pm-sidebar .pm-nav a.is-active,.pm-sidebar .pm-nav a:hover{color:#fff!important;background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important}
@media(max-width:700px){
  .pm-mobile-nav a{
    border:0;background:transparent;text-decoration:none;
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
    color:inherit;min-width:0;
  }
  body.pm-with-theme-chrome .pm-mobile-nav a{color:color-mix(in srgb,var(--pm-ink) 58%,#fff)!important}
  body.pm-with-theme-chrome .pm-mobile-nav a.is-active{color:var(--pm-primary)!important;background:var(--pm-theme-soft)!important}
  body.pm-with-theme-chrome .pm-mobile-nav a.is-active>span,
  body.pm-with-theme-chrome .pm-mobile-nav a.is-active .pm-mobile-icon-wrap{background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;color:#fff!important}
}


/* v0.9.9.17 — single public brand + balanced mobile app navigation */
/* If the active theme/header is visible, it owns the public logo and site name.
   Never repeat the same identity inside the member application. */
body.pm-theme-brand-present #purple-match-root .pm-brand,
body.pm-theme-brand-present #purple-match-root .pm-sidebar-brand,
body.pm-theme-brand-present #purple-match-root .pm-mobile-brand,
body.pm-theme-brand-present .pm-access-shell .pm-brand,
body.pm-theme-brand-present .pm-access-mobile-brand,
body.pm-theme-brand-present .pm-auth-hero > .pm-brand,
body.pm-theme-brand-present .pm-status-card > .pm-brand,
body.pm-theme-brand-present .pv-brand{
  display:none!important;
}
.pm-onboarding-topbar-spacer{display:block;width:1px;height:1px;visibility:hidden}

@media(max-width:700px){
  /* Equal-width app tabs. grid-auto-columns keeps 5 and 6 item layouts balanced. */
  body.pm-with-theme-chrome .pm-mobile-nav,
  body.pm-theme-brand-present .pm-mobile-nav{
    position:fixed!important;
    z-index:9998!important;
    left:7px!important;
    right:7px!important;
    bottom:calc(7px + env(safe-area-inset-bottom))!important;
    width:auto!important;
    min-height:66px!important;
    margin:0!important;
    padding:6px 5px!important;
    transform:none!important;
    display:grid!important;
    grid-auto-flow:column!important;
    grid-auto-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:3px!important;
    border:1px solid color-mix(in srgb,var(--pm-primary) 14%,#e5e7eb)!important;
    border-radius:22px!important;
    background:color-mix(in srgb,#fff 96%,var(--pm-primary) 4%)!important;
    box-shadow:0 16px 38px color-mix(in srgb,var(--pm-ink) 17%,transparent),0 2px 8px color-mix(in srgb,var(--pm-ink) 8%,transparent)!important;
    -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
    backdrop-filter:blur(18px) saturate(145%)!important;
  }

  body.pm-with-theme-chrome .pm-mobile-nav > a,
  body.pm-with-theme-chrome .pm-mobile-nav > button,
  body.pm-theme-brand-present .pm-mobile-nav > a,
  body.pm-theme-brand-present .pm-mobile-nav > button{
    position:relative!important;
    min-width:0!important;
    width:100%!important;
    min-height:52px!important;
    margin:0!important;
    padding:4px 1px 3px!important;
    border:0!important;
    border-radius:15px!important;
    background:transparent!important;
    color:color-mix(in srgb,var(--pm-ink) 62%,#fff)!important;
    text-decoration:none!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    line-height:1!important;
    box-shadow:none!important;
    overflow:visible!important;
    -webkit-tap-highlight-color:transparent;
  }

  body.pm-with-theme-chrome .pm-mobile-nav > a > span,
  body.pm-with-theme-chrome .pm-mobile-nav > button > span,
  body.pm-with-theme-chrome .pm-mobile-nav .pm-mobile-icon-wrap,
  body.pm-theme-brand-present .pm-mobile-nav > a > span,
  body.pm-theme-brand-present .pm-mobile-nav > button > span,
  body.pm-theme-brand-present .pm-mobile-nav .pm-mobile-icon-wrap{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    flex:0 0 29px!important;
    width:29px!important;
    height:29px!important;
    margin:0!important;
    border-radius:10px!important;
    background:transparent!important;
    color:inherit!important;
    font-size:16px!important;
    line-height:1!important;
    transition:background .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease!important;
  }

  body.pm-with-theme-chrome .pm-mobile-nav small,
  body.pm-theme-brand-present .pm-mobile-nav small{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0 1px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:inherit!important;
    font-size:8.5px!important;
    line-height:1.05!important;
    font-weight:800!important;
    letter-spacing:-.02em!important;
    text-align:center!important;
  }

  body.pm-with-theme-chrome .pm-mobile-nav > a.is-active,
  body.pm-with-theme-chrome .pm-mobile-nav > button.is-active,
  body.pm-theme-brand-present .pm-mobile-nav > a.is-active,
  body.pm-theme-brand-present .pm-mobile-nav > button.is-active{
    color:var(--pm-primary)!important;
    background:color-mix(in srgb,var(--pm-primary) 8%,#fff)!important;
  }

  body.pm-with-theme-chrome .pm-mobile-nav > a.is-active > span,
  body.pm-with-theme-chrome .pm-mobile-nav > button.is-active > span,
  body.pm-with-theme-chrome .pm-mobile-nav > a.is-active .pm-mobile-icon-wrap,
  body.pm-with-theme-chrome .pm-mobile-nav > button.is-active .pm-mobile-icon-wrap,
  body.pm-theme-brand-present .pm-mobile-nav > a.is-active > span,
  body.pm-theme-brand-present .pm-mobile-nav > button.is-active > span,
  body.pm-theme-brand-present .pm-mobile-nav > a.is-active .pm-mobile-icon-wrap,
  body.pm-theme-brand-present .pm-mobile-nav > button.is-active .pm-mobile-icon-wrap{
    color:#fff!important;
    background:var(--pm-primary)!important;
    transform:translateY(-1px)!important;
    box-shadow:0 5px 12px color-mix(in srgb,var(--pm-primary) 24%,transparent)!important;
  }

  body.pm-with-theme-chrome .pm-mobile-badge,
  body.pm-theme-brand-present .pm-mobile-badge{
    top:-5px!important;
    right:-7px!important;
    min-width:16px!important;
    height:16px!important;
    padding:0 4px!important;
    border:2px solid #fff!important;
    border-radius:999px!important;
    background:#e54865!important;
    color:#fff!important;
    font-size:7px!important;
    line-height:12px!important;
    font-weight:900!important;
  }

  body.pm-with-theme-chrome .pm-app,
  body.pm-theme-brand-present .pm-app{
    padding-bottom:calc(88px + env(safe-area-inset-bottom))!important;
  }
  body.pm-with-theme-chrome .pm-app-content,
  body.pm-theme-brand-present .pm-app-content{
    padding-bottom:calc(90px + env(safe-area-inset-bottom))!important;
  }
}

@media(max-width:380px){
  body.pm-with-theme-chrome .pm-mobile-nav,
  body.pm-theme-brand-present .pm-mobile-nav{
    left:4px!important;
    right:4px!important;
    bottom:calc(5px + env(safe-area-inset-bottom))!important;
    min-height:62px!important;
    padding:5px 3px!important;
    gap:1px!important;
    border-radius:18px!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav > a,
  body.pm-with-theme-chrome .pm-mobile-nav > button,
  body.pm-theme-brand-present .pm-mobile-nav > a,
  body.pm-theme-brand-present .pm-mobile-nav > button{
    min-height:49px!important;
    border-radius:12px!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav > a > span,
  body.pm-with-theme-chrome .pm-mobile-nav > button > span,
  body.pm-with-theme-chrome .pm-mobile-nav .pm-mobile-icon-wrap,
  body.pm-theme-brand-present .pm-mobile-nav > a > span,
  body.pm-theme-brand-present .pm-mobile-nav > button > span,
  body.pm-theme-brand-present .pm-mobile-nav .pm-mobile-icon-wrap{
    width:26px!important;
    height:26px!important;
    flex-basis:26px!important;
    font-size:14px!important;
    border-radius:9px!important;
  }
  body.pm-with-theme-chrome .pm-mobile-nav small,
  body.pm-theme-brand-present .pm-mobile-nav small{
    font-size:7.6px!important;
  }
}

/* v0.9.9.18 mobile discovery card polish: stronger card readability and clearer action buttons */
@media (max-width:700px){
  .pm-app-content{
    padding:14px 14px calc(108px + env(safe-area-inset-bottom));
  }

  .pm-discovery-stage{
    max-width:100%;
  }

  .pm-discover-card-shell{
    width:100%;
  }

  .pm-discover-card{
    border-radius:22px;
    box-shadow:0 16px 40px rgba(28,18,42,.16);
  }

  .pm-discover-media{
    height:auto;
    min-height:0;
    aspect-ratio:3 / 4.35;
    max-height:none;
  }

  .pm-discover-gradient{
    inset:28% 0 0;
    background:linear-gradient(180deg,rgba(14,8,25,.02) 0%,rgba(14,8,25,.12) 18%,rgba(14,8,25,.34) 44%,rgba(14,8,25,.74) 72%,rgba(14,8,25,.96) 100%);
  }

  .pm-photo-dots{
    left:12px;
    right:12px;
    top:12px;
    gap:4px;
  }

  .pm-card-safety-button{
    top:12px;
    right:12px;
    width:44px;
    height:44px;
    background:rgba(34,24,46,.58);
    border-color:rgba(255,255,255,.28);
    backdrop-filter:blur(10px);
  }

  .pm-discover-overlay{
    padding:18px 16px 18px;
  }

  .pm-discover-overlay h2{
    font-size:23px;
    line-height:1.08;
    margin:0 0 7px;
    text-shadow:0 2px 14px rgba(0,0,0,.22);
  }

  .pm-discover-meta{
    margin:0 0 10px;
    font-size:13px;
    line-height:1.4;
    color:rgba(255,255,255,.96);
    text-shadow:0 1px 10px rgba(0,0,0,.18);
  }

  .pm-discover-fit{
    margin:0 0 10px;
    padding:7px 10px;
    font-size:11px;
    font-weight:900;
    background:rgba(255,255,255,.18);
    border-color:rgba(255,255,255,.3);
    color:#fff;
  }

  .pm-discover-bio{
    margin:0 0 12px;
    font-size:13px;
    line-height:1.45;
    color:#fff;
    text-shadow:0 1px 10px rgba(0,0,0,.16);
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .pm-chip-row-on-photo{
    gap:7px;
    margin-bottom:14px;
    max-width:100%;
  }

  .pm-chip-row-on-photo span{
    padding:7px 10px;
    font-size:11px;
    font-weight:800;
    background:rgba(255,255,255,.92);
    color:var(--pm-theme-darker);
    border:0;
    box-shadow:0 6px 14px rgba(0,0,0,.08);
  }

  .pm-view-profile-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:11px 18px;
    border-width:1px;
    border-color:rgba(255,255,255,.38);
    background:rgba(255,255,255,.12);
    color:#fff;
    font-size:14px;
    font-weight:900;
    letter-spacing:.02em;
    box-shadow:0 10px 24px rgba(0,0,0,.14);
  }

  .pm-discovery-stage .pm-discover-actions{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    padding:14px 0 4px;
  }

  .pm-discover-actions button,
  .pm-discover-actions .pm-super-like-circle{
    width:100%;
    min-width:0;
    height:56px;
    border-radius:18px;
    font-size:24px;
    box-shadow:0 12px 28px rgba(46,24,72,.12);
  }

  .pm-discover-actions .pm-pass-circle{
    background:#fff;
    color:#6f6478;
    border-color:var(--pm-line);
  }

  .pm-discover-actions .pm-super-like-circle{
    background:#fff;
    color:var(--pm-primary)!important;
    border-color:var(--pm-line);
  }

  .pm-discover-actions .pm-like-circle{
    background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent));
    color:#fff;
    border-color:transparent;
  }
}

@media (max-width:420px){
  .pm-discover-media{
    aspect-ratio:3 / 4.55;
  }

  .pm-discover-overlay{
    padding:16px 14px 16px;
  }

  .pm-discover-overlay h2{
    font-size:21px;
  }

  .pm-discover-meta,
  .pm-discover-bio{
    font-size:12px;
  }

  .pm-chip-row-on-photo span{
    padding:6px 9px;
    font-size:10px;
  }

  .pm-view-profile-button{
    width:100%;
    min-height:44px;
    padding:10px 14px;
    font-size:13px;
  }

  .pm-discovery-stage .pm-discover-actions{
    gap:10px;
    padding-top:12px;
  }

  .pm-discover-actions button,
  .pm-discover-actions .pm-super-like-circle{
    height:54px;
    font-size:22px;
  }
}

/* =========================================================
   v0.9.9.19 — professional Messages UI (desktop + mobile)
   - Resets theme/Elementor button rules inside chat controls.
   - Cleaner WhatsApp/Messenger-inspired thread proportions.
   - Compact, visible composer controls with no stretched blobs.
========================================================= */

/* ---------- Shared messaging surface ---------- */
.pm-messages-layout{
  background:#fff!important;
  border:1px solid var(--pm-line)!important;
  border-radius:20px!important;
  box-shadow:0 12px 34px color-mix(in srgb,var(--pm-ink) 7%,transparent)!important;
}
.pm-conversations-panel{
  background:#fff!important;
}
.pm-conversations-heading{
  padding:16px 16px 13px!important;
  align-items:center!important;
  background:#fff!important;
}
.pm-conversations-heading h2{
  font-size:20px!important;
  line-height:1.1!important;
  margin:2px 0 0!important;
}
.pm-conversation-list{
  padding:8px!important;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--pm-primary) 24%,transparent) transparent;
}
.pm-conversation-item{
  gap:10px!important;
  padding:10px!important;
  margin-bottom:4px!important;
  border:1px solid transparent!important;
  border-radius:14px!important;
}
.pm-conversation-item:hover{
  background:var(--pm-soft)!important;
  border-color:color-mix(in srgb,var(--pm-primary) 10%,var(--pm-line))!important;
}
.pm-conversation-item.is-active{
  background:color-mix(in srgb,var(--pm-primary) 8%,#fff)!important;
  border-color:color-mix(in srgb,var(--pm-primary) 15%,var(--pm-line))!important;
}
.pm-conversation-avatar,
.pm-conversation-avatar>img,
.pm-conversation-item>img{
  width:48px!important;
  height:48px!important;
  flex-basis:48px!important;
}
.pm-conversation-top strong{font-size:13px!important}
.pm-conversation-preview{font-size:11px!important}
.pm-thread-type-badge{font-size:8px!important;padding:3px 6px!important}

.pm-chat-panel{
  background:#faf9fc!important;
}
.pm-chat-active{
  background:#faf9fc!important;
}
.pm-chat-header{
  height:68px!important;
  flex-basis:68px!important;
  min-height:68px!important;
  padding:9px 14px!important;
  gap:10px!important;
  background:rgba(255,255,255,.98)!important;
  border-bottom:1px solid var(--pm-line)!important;
  box-shadow:0 2px 8px rgba(25,16,36,.025)!important;
}
.pm-chat-header>img{
  width:44px!important;
  height:44px!important;
  flex:0 0 44px!important;
  border:2px solid #fff!important;
  box-shadow:0 0 0 1px var(--pm-line)!important;
}
.pm-chat-header strong{
  font-size:14px!important;
  line-height:1.15!important;
}
.pm-chat-header span{
  font-size:10px!important;
  line-height:1.25!important;
}
.pm-chat-location-time{
  font-size:9px!important;
  line-height:1.25!important;
}
.pm-chat-safety,
.pm-chat-back{
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
  padding:0!important;
  min-width:36px!important;
  max-width:36px!important;
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  border-radius:50%!important;
}
.pm-chat-safety{
  margin-left:auto!important;
  background:#fff!important;
  border:1px solid var(--pm-line)!important;
  color:var(--pm-ink)!important;
  box-shadow:none!important;
}

.pm-chat-messages{
  padding:16px 18px 12px!important;
  gap:6px!important;
  background:
    radial-gradient(circle at 20% 0,color-mix(in srgb,var(--pm-primary) 4%,transparent),transparent 30%),
    linear-gradient(180deg,#fcfbfd 0%,#fdfcfe 45%,#fff 100%)!important;
}
.pm-chat-date-separator{
  margin:6px auto 8px!important;
  padding:4px 9px!important;
  border:1px solid color-mix(in srgb,var(--pm-primary) 8%,var(--pm-line))!important;
  border-radius:999px!important;
  background:color-mix(in srgb,var(--pm-primary) 5%,#fff)!important;
  color:var(--pm-muted)!important;
  font-size:9px!important;
  box-shadow:none!important;
}
.pm-message-row{
  align-items:flex-end!important;
  gap:6px!important;
}
.pm-message-avatar{
  width:27px!important;
  height:27px!important;
  flex:0 0 27px!important;
  margin-bottom:2px!important;
}
.pm-message-bubble{
  max-width:min(68%,560px)!important;
  padding:9px 11px 6px!important;
  border-radius:16px!important;
  box-shadow:0 2px 8px rgba(31,22,51,.04)!important;
}
.pm-message-row.is-theirs .pm-message-bubble{
  background:#fff!important;
  border:1px solid var(--pm-line)!important;
  color:var(--pm-ink)!important;
  border-bottom-left-radius:5px!important;
}
.pm-message-row.is-mine .pm-message-bubble{
  background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;
  color:#fff!important;
  border:0!important;
  border-bottom-right-radius:5px!important;
}
.pm-message-bubble p{
  font-size:13px!important;
  line-height:1.38!important;
}
.pm-message-meta{
  gap:4px!important;
  margin-top:3px!important;
}
.pm-message-bubble time,
.pm-message-state{
  font-size:8px!important;
  line-height:1!important;
}

/* Reaction control must never inherit big theme button styles. */
.pm-message-tools{
  width:24px!important;
  min-width:24px!important;
  max-width:24px!important;
  flex:0 0 24px!important;
  opacity:0!important;
  transition:opacity .15s ease!important;
}
.pm-message-row:hover .pm-message-tools,
.pm-message-tools:focus-within{opacity:.75!important}
.pm-message-react-trigger{
  appearance:none!important;
  -webkit-appearance:none!important;
  display:grid!important;
  place-items:center!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  min-width:24px!important;
  max-width:24px!important;
  width:24px!important;
  height:24px!important;
  border-radius:50%!important;
  border:1px solid var(--pm-line)!important;
  background:#fff!important;
  color:var(--pm-primary)!important;
  font-size:11px!important;
  line-height:1!important;
  box-shadow:0 2px 6px rgba(31,22,51,.04)!important;
}

/* ---------- Composer reset: prevents stretched Elementor/theme buttons ---------- */
.pm-chat-composer{
  box-sizing:border-box!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  padding:9px 12px 10px!important;
  background:#fff!important;
  border-top:1px solid var(--pm-line)!important;
  box-shadow:0 -3px 14px rgba(31,22,51,.025)!important;
}
.pm-chat-composer .pm-chat-image-button,
.pm-chat-composer .pm-chat-emoji-button,
.pm-chat-composer .pm-chat-send-button,
.pm-chat-composer .pm-chat-emoji-palette button{
  appearance:none!important;
  -webkit-appearance:none!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0!important;
  min-width:0!important;
  max-width:none!important;
  line-height:1!important;
  text-transform:none!important;
  letter-spacing:0!important;
}
.pm-chat-image-button{
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  max-width:40px!important;
  flex:0 0 40px!important;
  border:1px solid var(--pm-line)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--pm-primary)!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.pm-chat-attach-icon{
  display:block!important;
  width:auto!important;
  font-size:16px!important;
  line-height:1!important;
  filter:grayscale(1);
}
.pm-chat-input-wrap{
  position:relative!important;
  display:block!important;
  width:0!important;
  min-width:0!important;
  flex:1 1 auto!important;
}
.pm-chat-composer textarea{
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  max-height:110px!important;
  margin:0!important;
  padding:10px 40px 9px 14px!important;
  resize:none!important;
  border:1px solid var(--pm-line)!important;
  border-radius:21px!important;
  background:#faf9fc!important;
  color:var(--pm-ink)!important;
  font-size:13px!important;
  line-height:1.35!important;
  box-shadow:none!important;
  outline:none!important;
}
.pm-chat-composer textarea:focus{
  border-color:color-mix(in srgb,var(--pm-primary) 50%,var(--pm-line))!important;
  box-shadow:0 0 0 2px color-mix(in srgb,var(--pm-primary) 7%,transparent)!important;
}
.pm-chat-emoji-button{
  position:absolute!important;
  right:7px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  max-width:28px!important;
  flex:0 0 28px!important;
  border:0!important;
  border-radius:50%!important;
  background:transparent!important;
  color:var(--pm-muted)!important;
  box-shadow:none!important;
  font-size:15px!important;
}
.pm-chat-send-button{
  display:grid!important;
  place-items:center!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  flex:0 0 42px!important;
  border:0!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,var(--pm-primary),var(--pm-accent))!important;
  color:#fff!important;
  font-size:18px!important;
  box-shadow:0 7px 16px color-mix(in srgb,var(--pm-primary) 20%,transparent)!important;
}
.pm-chat-emoji-palette{
  right:0!important;
  bottom:48px!important;
  width:auto!important;
  max-width:min(230px,80vw)!important;
  padding:6px!important;
  gap:3px!important;
  border-radius:16px!important;
  background:#fff!important;
  border:1px solid var(--pm-line)!important;
  box-shadow:0 14px 32px rgba(31,22,51,.14)!important;
}
.pm-chat-emoji-palette button{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:34px!important;
  min-width:36px!important;
  max-width:36px!important;
  flex:0 0 36px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  font-size:17px!important;
}
.pm-chat-emoji-palette button:hover{background:var(--pm-soft)!important}

/* ---------- Desktop balance ---------- */
@media (min-width:701px){
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-messages-layout{
    grid-template-columns:minmax(270px,310px) minmax(0,1fr)!important;
    border-radius:18px!important;
  }
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-messages{
    padding:18px 22px 14px!important;
  }
  body.pm-with-theme-chrome .pm-app.is-messages-view .pm-chat-composer{
    padding:10px 14px 11px!important;
  }
}

/* ---------- Mobile dedicated thread ---------- */
@media (max-width:700px){
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-panel{
    background:#faf9fc!important;
  }
  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-header{
    padding:calc(8px + env(safe-area-inset-top)) 12px 8px!important;
    min-height:calc(66px + env(safe-area-inset-top))!important;
    flex-basis:calc(66px + env(safe-area-inset-top))!important;
  }
  .pm-chat-back{
    display:grid!important;
    place-items:center!important;
    background:transparent!important;
    border:0!important;
    color:var(--pm-ink)!important;
    font-size:21px!important;
  }
  .pm-chat-header>img{
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important;
  }
  .pm-chat-header strong{font-size:14px!important}
  .pm-chat-header span{font-size:10px!important}
  .pm-chat-location-time{font-size:8.5px!important}

  .pm-chat-messages{
    padding:12px 10px 10px!important;
    gap:5px!important;
  }
  .pm-message-avatar{
    width:24px!important;
    height:24px!important;
    flex-basis:24px!important;
  }
  .pm-message-bubble{
    max-width:min(80%,310px)!important;
    padding:9px 10px 6px!important;
    border-radius:15px!important;
  }
  .pm-message-bubble p{
    font-size:13px!important;
    line-height:1.38!important;
  }
  .pm-message-tools{
    width:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    flex-basis:20px!important;
    opacity:.45!important;
  }
  .pm-message-react-trigger{
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    font-size:9px!important;
  }

  body.pm-chat-focus-mode .pm-app.is-chat-thread-open .pm-chat-composer{
    padding:8px 10px calc(9px + env(safe-area-inset-bottom))!important;
    gap:7px!important;
    background:#fff!important;
  }
  .pm-chat-image-button{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    flex-basis:38px!important;
  }
  .pm-chat-composer textarea{
    min-height:40px!important;
    max-height:92px!important;
    padding:10px 37px 9px 13px!important;
    border-radius:20px!important;
    font-size:13px!important;
  }
  .pm-chat-emoji-button{
    right:6px!important;
    width:27px!important;
    height:27px!important;
    min-width:27px!important;
    max-width:27px!important;
  }
  .pm-chat-send-button{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    max-width:40px!important;
    flex-basis:40px!important;
    font-size:17px!important;
  }
  .pm-message-bubble.has-image,
  .pm-message-bubble.has-file{
    width:min(72vw,250px)!important;
    max-width:min(72vw,250px)!important;
  }
  .pm-message-image{
    width:100%!important;
    max-height:270px!important;
    object-fit:cover!important;
  }
}

@media (max-width:380px){
  .pm-chat-header{gap:7px!important}
  .pm-chat-messages{padding-left:8px!important;padding-right:8px!important}
  .pm-message-bubble{max-width:min(82%,275px)!important}
  .pm-chat-composer{padding-left:7px!important;padding-right:7px!important;gap:6px!important}
  .pm-chat-image-button{
    width:36px!important;height:36px!important;min-width:36px!important;max-width:36px!important;flex-basis:36px!important;
  }
  .pm-chat-send-button{
    width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;flex-basis:38px!important;
  }
}
