.nd-match-page{min-height:65vh}.nd-match-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-bottom:16px}.nd-match-head h1{margin:3px 0 6px;font-size:clamp(2rem,4vw,3.25rem);line-height:1.02}.nd-match-head p{margin:0;max-width:720px;color:var(--muted,#aaa)}.nd-match-security{max-width:360px;padding:10px 13px;border:1px solid rgba(225,59,142,.24);border-radius:14px;background:linear-gradient(135deg,rgba(225,59,142,.07),rgba(103,61,168,.05));display:flex;flex-direction:column;gap:2px}.nd-match-security strong{font-size:.9rem}.nd-match-security span{font-size:.75rem;color:var(--muted,#aaa)}
.nd-match-filter-shell{margin:0 0 14px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.022);overflow:hidden}.nd-match-filter-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.065)}.nd-match-filter-top strong{font-size:.9rem}.nd-match-filter-top span{font-size:.75rem;color:var(--muted,#999)}.nd-match-filter-panel{display:grid;gap:8px;margin:0;padding:10px}.nd-match-filter-section{border:1px solid rgba(255,255,255,.075);border-radius:13px;background:rgba(255,255,255,.018);overflow:hidden}.nd-match-filter-section summary{cursor:pointer;list-style:none;padding:10px 12px;font-weight:700;font-size:.87rem;user-select:none}.nd-match-filter-section summary::-webkit-details-marker{display:none}.nd-match-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:0 12px 12px}.nd-match-filter-grid.basic{grid-template-columns:1.1fr .65fr .65fr .8fr .9fr}.nd-match-filter-grid label{display:flex;flex-direction:column;gap:4px;min-width:0}.nd-match-filter-grid label.wide{grid-column:span 2}.nd-match-filter-grid label>span{font-size:.7rem;color:var(--muted,#999)}.nd-match-filter-grid input,.nd-match-filter-grid select{width:100%;min-height:38px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#15141b;color:#fff;padding:6px 9px;font-size:.84rem}.nd-match-filter-grid input:focus,.nd-match-filter-grid select:focus{outline:none;border-color:rgba(225,59,142,.55);box-shadow:0 0 0 2px rgba(225,59,142,.09)}.nd-match-filter-grid .nd-match-check{flex-direction:row;align-items:center;align-self:end;min-height:38px;padding:0 4px}.nd-match-filter-grid .nd-match-check input{width:auto;min-height:0}.nd-match-filter-actions{display:flex;gap:7px;justify-content:flex-end;padding-top:2px}.nd-match-filter-actions .nd-btn{min-height:36px;padding:7px 13px}.nd-match-demo-note{margin:4px 0 8px;color:#9f8dc5;font-size:.75rem}.nd-match-resultbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px}.nd-match-status{font-size:.83rem;color:var(--muted,#aaa);margin:0}.nd-match-legend{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:.68rem;color:var(--muted,#999)}.nd-match-legend span{display:inline-flex;align-items:center;gap:5px}.nd-match-legend i{width:9px;height:9px;border-radius:50%;display:inline-block}.nd-match-legend .is-free{background:#7d8190}.nd-match-legend .is-regular{background:#4f8cff}.nd-match-legend .is-premium{background:#d4af37}
.nd-match-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}.nd-match-card{position:relative;overflow:hidden;border:1px solid rgba(125,129,144,.45);border-radius:15px;background:linear-gradient(180deg,rgba(255,255,255,.032),rgba(255,255,255,.018));min-width:0;content-visibility:auto;contain-intrinsic-size:250px 380px;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}.nd-match-card:hover{transform:translateY(-2px)}.nd-match-card.is-demo{border-style:dashed}.nd-match-card.nd-membership-free{border-color:rgba(125,129,144,.42)}.nd-match-card.nd-membership-regular,.nd-match-card.nd-membership-verified{border-color:rgba(79,140,255,.62);box-shadow:inset 0 0 0 1px rgba(79,140,255,.08)}.nd-match-card.nd-membership-premium{border-color:rgba(212,175,55,.72);box-shadow:inset 0 0 0 1px rgba(212,175,55,.13),0 8px 24px rgba(212,175,55,.045)}.nd-match-card.nd-membership-premium:hover{box-shadow:inset 0 0 0 1px rgba(212,175,55,.18),0 10px 28px rgba(212,175,55,.08)}.nd-match-membership-ribbon{position:absolute;z-index:3;top:8px;left:8px;padding:4px 7px;border-radius:999px;font-size:.59rem;font-weight:800;line-height:1;text-transform:uppercase;letter-spacing:.055em;backdrop-filter:blur(6px)}.nd-membership-free .nd-match-membership-ribbon{background:rgba(80,83,93,.86);color:#e2e3e7}.nd-membership-regular .nd-match-membership-ribbon,.nd-membership-verified .nd-match-membership-ribbon{background:rgba(27,72,145,.88);color:#cfe0ff}.nd-membership-premium .nd-match-membership-ribbon{background:rgba(105,82,15,.9);color:#ffe78f}.nd-match-media{position:relative;aspect-ratio:4/4.5;background:#151515;overflow:hidden}.nd-match-media img{width:100%;height:100%;object-fit:cover;display:block}.nd-match-placeholder{height:100%;display:grid;place-items:center;padding:8px;text-align:center;font-size:.7rem;font-weight:650;color:#777;background:linear-gradient(135deg,#17171c,#121217)}.nd-match-demo-badge{position:absolute;top:8px;right:8px;left:auto;padding:4px 7px;border-radius:999px;background:rgba(113,63,168,.9);color:#fff;font-size:.59rem;z-index:3}.nd-match-card-body{padding:9px}.nd-match-card-title{display:flex;justify-content:space-between;gap:7px;align-items:center}.nd-match-card-title strong{font-size:.91rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nd-match-card-title span{font-size:.6rem;text-transform:uppercase;letter-spacing:.055em;color:#b9a7cb}.nd-membership-premium .nd-match-card-title span{color:#e0c465}.nd-membership-regular .nd-match-card-title span,.nd-membership-verified .nd-match-card-title span{color:#82adff}.nd-match-card p{margin:4px 0 7px;color:var(--muted,#aaa);font-size:.74rem;line-height:1.32}.nd-match-card .nd-match-card-extra{margin-top:-2px;font-size:.68rem}.nd-match-card .nd-btn{width:100%;min-height:34px;padding:6px 7px;font-size:.74rem}.nd-match-card .nd-btn[disabled]{opacity:.55;cursor:default}.nd-match-card-skeleton{min-height:320px;border:1px solid rgba(255,255,255,.06);border-radius:15px;background:linear-gradient(90deg,rgba(255,255,255,.02) 25%,rgba(255,255,255,.055) 37%,rgba(255,255,255,.02) 63%);background-size:400% 100%;animation:nd-match-shimmer 1.15s ease infinite}@keyframes nd-match-shimmer{0%{background-position:100% 0}100%{background-position:0 0}}.nd-match-login{padding:26px;border:1px solid rgba(255,255,255,.09);border-radius:18px;background:rgba(255,255,255,.025)}
@media(max-width:1180px){.nd-match-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:980px){.nd-match-filter-grid,.nd-match-filter-grid.basic{grid-template-columns:repeat(2,1fr)}.nd-match-grid{grid-template-columns:repeat(3,1fr)}.nd-match-head{grid-template-columns:1fr}.nd-match-security{max-width:none}}@media(max-width:760px){.nd-match-grid{grid-template-columns:repeat(2,1fr)}.nd-match-resultbar{align-items:flex-start;flex-direction:column}.nd-match-filter-top{align-items:flex-start;flex-direction:column;gap:3px}}@media(max-width:520px){.nd-match-filter-grid,.nd-match-filter-grid.basic,.nd-match-grid{grid-template-columns:1fr}.nd-match-filter-grid label.wide{grid-column:auto}.nd-match-filter-actions{display:grid;grid-template-columns:1fr 1fr}.nd-match-head h1{font-size:2.2rem}}
@media(prefers-reduced-motion:reduce){.nd-match-card{transition:none}.nd-match-card:hover{transform:none}.nd-match-card-skeleton{animation:none}}

.nd-match-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.nd-match-title-row h1{margin-bottom:0}.nd-match-total-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 11px;border:1px solid rgba(255,255,255,.08);border-radius:999px;background:rgba(255,255,255,.075);color:#c8c0d2;font-size:.72rem;font-weight:750;line-height:1;white-space:nowrap}


/* v0.1.11 – filter drawer, aligned with account profile */
.nd-match-head{grid-template-columns:1fr;align-items:start;margin-bottom:14px}
.nd-match-security{display:none!important}
.nd-match-filter-toolbar{position:relative;display:flex;align-items:center;gap:10px;margin:0 0 12px}
.nd-match-filter-trigger{appearance:none;display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 13px;border:1px solid rgba(255,255,255,.11);border-radius:999px;background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.045));color:#fff;font:inherit;font-size:.82rem;font-weight:750;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.12);transition:border-color .16s ease,background .16s ease,transform .16s ease}
.nd-match-filter-trigger:hover{border-color:rgba(225,59,142,.38);background:rgba(255,255,255,.09);transform:translateY(-1px)}
.nd-match-filter-trigger[aria-expanded="true"]{border-color:rgba(225,59,142,.52);box-shadow:0 0 0 3px rgba(225,59,142,.08)}
.nd-match-filter-trigger-icon{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:rgba(225,59,142,.14);color:#f35ca6;flex:0 0 22px}.nd-match-filter-trigger-icon svg{width:15px;height:15px;display:block}.nd-match-filter-trigger-label{line-height:1}.nd-match-filter-trigger:hover .nd-match-filter-trigger-icon,.nd-match-filter-trigger[aria-expanded="true"] .nd-match-filter-trigger-icon{background:rgba(225,59,142,.22);color:#ff7fbd}
.nd-match-filter-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#e13b8e;color:#fff;font-size:.66rem;line-height:1}
.nd-match-filter-hint{font-size:.7rem;color:var(--muted,#888)}
html.nd-match-filter-open,body.nd-match-filter-open{overflow:hidden}
.nd-match-filter-overlay{position:fixed;inset:0;z-index:99990;display:block}
.nd-match-filter-overlay[hidden]{display:none!important}
.nd-match-filter-scrim{position:absolute;inset:0;background:rgba(4,4,12,.62);backdrop-filter:blur(5px);animation:nd-match-scrim-in .2s ease both}
.nd-match-filter-drawer{position:absolute;top:0;right:0;height:100%;width:min(420px,100vw);display:flex;flex-direction:column;background:linear-gradient(180deg,#0d0c1c 0%,#090a18 100%);border-left:1px solid rgba(155,91,255,.22);box-shadow:-28px 0 70px rgba(0,0,0,.48);overflow:hidden;animation:nd-match-drawer-in .24s cubic-bezier(.2,.78,.24,1) both}
@keyframes nd-match-drawer-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes nd-match-scrim-in{from{opacity:0}to{opacity:1}}
.nd-match-filter-popover-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex:0 0 auto;padding:22px 22px 17px;border-bottom:1px solid rgba(255,255,255,.075);background:rgba(13,12,28,.96)}
.nd-match-filter-popover-head>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.nd-match-filter-popover-head strong{font-size:1.18rem;letter-spacing:-.015em}.nd-match-filter-popover-head span{font-size:.72rem;color:#938da2}
.nd-match-filter-close{appearance:none;display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(145,119,225,.18);border-radius:14px;background:#111224;color:#b9b5c4;font-size:1.45rem;line-height:1;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}.nd-match-filter-close:hover{background:#18182d;border-color:rgba(225,59,142,.28);color:#fff}
.nd-match-filter-drawer .nd-match-filter-panel{display:block;flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 104px;scrollbar-width:thin;scrollbar-color:rgba(177,160,203,.45) transparent}
.nd-match-filter-drawer .nd-match-filter-panel::-webkit-scrollbar{width:8px}.nd-match-filter-drawer .nd-match-filter-panel::-webkit-scrollbar-track{background:transparent}.nd-match-filter-drawer .nd-match-filter-panel::-webkit-scrollbar-thumb{background:rgba(177,160,203,.38);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
.nd-match-filter-drawer .nd-match-filter-section{margin:0 0 10px;border:1px solid rgba(255,255,255,.075);border-radius:16px;background:rgba(255,255,255,.027);overflow:hidden}
.nd-match-filter-drawer .nd-match-filter-section-title{padding:12px 13px 4px;font-size:.69rem;font-weight:850;letter-spacing:.075em;text-transform:uppercase;color:#b09dc2}
.nd-match-filter-drawer .nd-match-filter-grid,.nd-match-filter-drawer .nd-match-filter-grid.basic{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 12px 13px}
.nd-match-filter-drawer .nd-match-filter-grid label.wide{grid-column:1/-1}
.nd-match-filter-drawer .nd-match-filter-grid label>span{font-size:.67rem}.nd-match-filter-drawer .nd-match-filter-grid input,.nd-match-filter-drawer .nd-match-filter-grid select{min-height:38px;border-radius:10px;font-size:.8rem;padding:6px 9px}
.nd-match-filter-drawer .nd-match-check{align-self:end;min-height:38px!important;padding:0 3px!important}
.nd-match-filter-drawer .nd-match-filter-actions{position:absolute;left:0;right:0;bottom:0;z-index:4;display:grid;grid-template-columns:1fr 1.35fr;gap:8px;padding:13px 16px calc(13px + env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.075);background:linear-gradient(180deg,rgba(9,10,24,.91),#090a18 32%);backdrop-filter:blur(14px)}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn{min-height:43px;padding:8px 12px}
@media(max-width:560px){.nd-match-filter-hint{display:none}.nd-match-filter-drawer{width:100vw}.nd-match-filter-popover-head{padding:18px 16px 14px}.nd-match-filter-drawer .nd-match-filter-panel{padding-left:12px;padding-right:12px}.nd-match-filter-drawer .nd-match-filter-grid,.nd-match-filter-drawer .nd-match-filter-grid.basic{grid-template-columns:1fr}.nd-match-filter-drawer .nd-match-filter-actions{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){.nd-match-filter-drawer,.nd-match-filter-scrim{animation:none}}

.nd-match-clear-filter{appearance:none;border:0;background:transparent;color:#d7b7ca;font-size:.76rem;font-weight:700;padding:7px 2px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.nd-match-clear-filter:hover,.nd-match-clear-filter:focus-visible{color:#ff4aa8;outline:none}.nd-match-clear-filter[hidden]{display:none!important}

/* v0.1.57: ND Profile Icons owns all icon visuals; Match only owns row layout. */
.nd-match-card-title{display:flex;align-items:center;justify-content:flex-start;gap:7px;min-width:0}
.nd-match-card-title strong{flex:0 1 auto;min-width:0}

/* v0.1.15 compact identity-only profile cards */
.nd-match-card.is-clickable{cursor:pointer}.nd-match-card.is-clickable:focus-visible{outline:2px solid #f35ca6;outline-offset:3px}
.nd-match-card-body{padding:10px 11px 12px}.nd-match-card-title{display:block}.nd-match-card-title strong{font-size:.94rem}.nd-match-card p{margin:4px 0 0;font-size:.75rem}.nd-match-membership-ribbon{display:none!important}
.nd-match-card[aria-busy="true"]{opacity:.72;pointer-events:none}


.nd-match-age{color:#cda6c8;font-weight:650}.nd-match-meta-sep{color:#706b7b}.nd-match-city{display:inline-flex;align-items:center;gap:4px;color:#91cbd4;font-weight:650}
.nd-match-city::before{content:"";width:8px;height:8px;display:inline-block;flex:0 0 8px;background:#68b8c7;box-shadow:0 0 6px rgba(104,184,199,.20);clip-path:polygon(50% 100%,18% 61%,10% 42%,12% 25%,23% 11%,38% 3%,50% 0,62% 3%,77% 11%,88% 25%,90% 42%,82% 61%)}

/* v0.1.23: unified blue verified-member rosette. */


/* v0.1.35 — anonymous discovery is view-only */
.nd-match-card.is-public-preview{cursor:default;}
.nd-match-card.is-public-preview:hover{transform:none;}


/* v0.1.48 — visible subscription badge on discovery cards, aligned with Swipe. */
.nd-match-card .nd-match-membership-ribbon{display:inline-flex!important;position:absolute;top:0;left:50%;right:auto;z-index:6;transform:translateX(-50%);align-items:center;justify-content:center;padding:4px 12px 5px;border-radius:0 0 9px 9px;font-size:8px;line-height:1;font-weight:950;letter-spacing:.18em;text-transform:uppercase;white-space:nowrap;backdrop-filter:none;box-shadow:0 4px 16px var(--nd-match-tier-glow,transparent)}
.nd-match-card.nd-membership-premium{--nd-match-tier-glow:rgba(255,215,92,.30)}
.nd-match-card.nd-membership-premium .nd-match-membership-ribbon{background:linear-gradient(135deg,#b68b23,#f1cf63 48%,#9e7419);color:#171006}
.nd-match-card.nd-membership-regular,.nd-match-card.nd-membership-verified{--nd-match-tier-glow:rgba(145,111,255,.30)}
.nd-match-card.nd-membership-regular .nd-match-membership-ribbon,.nd-membership-verified .nd-match-membership-ribbon{background:linear-gradient(135deg,#5f3cab,#9a70f3 48%,#513194);color:#fff}
.nd-match-card.nd-membership-free{--nd-match-tier-glow:rgba(190,198,215,.18)}
.nd-match-card.nd-membership-free .nd-match-membership-ribbon{background:linear-gradient(135deg,#4d505a,#858b99 48%,#41444d);color:#fff}

/* v0.1.48 compact/sticky discovery filter */
.nd-match-status:empty{display:none!important}
.nd-match-filterbar,.nd-match-filters,.nd-match-toolbar{position:sticky;top:12px;z-index:30}


/* v0.1.48 — approved Nordic Desire discovery design. */
.nd-match-page .nd-section{padding-top:34px}
.nd-match-head{display:block;margin-bottom:14px}
.nd-match-head h1{margin:4px 0 6px;font-size:clamp(2.45rem,4vw,3.5rem);letter-spacing:-.035em}
.nd-match-head h1 span{color:#f70d7d}
.nd-match-head p{font-size:1rem;color:#f0e9ef}

.nd-match-filter-toolbar-v2{
  position:sticky!important;top:10px;z-index:40;
  display:grid;grid-template-columns:auto 1fr 1fr 2.15fr 1.25fr auto;
  align-items:stretch;gap:12px;margin:0 0 18px;padding:7px 9px;
  border:1px solid rgba(116,91,154,.32);border-radius:12px;
  background:rgba(8,10,24,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  box-shadow:0 12px 32px rgba(0,0,0,.18)
}
.nd-match-filter-toolbar-v2 .nd-match-filter-trigger{min-height:50px;border-radius:10px;padding:8px 14px}
.nd-match-filter-toolbar-v2 .nd-match-clear-filter{align-self:center;padding:8px}
.nd-match-quick-field{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;padding:4px 10px;border-left:1px solid rgba(255,255,255,.055)}
.nd-match-quick-field label{font-size:.72rem;font-weight:800;color:#f4edf3;white-space:nowrap}
.nd-match-quick-field label span{margin-left:8px;color:#d8d0da;font-weight:600}
.nd-match-quick-field select,.nd-match-quick-field input[type="text"]{width:100%;min-height:32px;padding:4px 9px;border:1px solid rgba(112,102,145,.32);border-radius:8px;background:#0d1020;color:#fff;font:inherit;font-size:.78rem;outline:none}
.nd-match-quick-field select:focus,.nd-match-quick-field input[type="text"]:focus{border-color:rgba(247,13,125,.7);box-shadow:0 0 0 2px rgba(247,13,125,.08)}
.nd-match-quick-age{padding-left:14px;padding-right:14px}
.nd-match-age-slider{position:relative;height:22px;display:flex;align-items:center}
.nd-match-age-slider:before{content:"";position:absolute;left:4px;right:4px;top:10px;height:4px;border-radius:999px;background:#f70d7d}
.nd-match-age-slider input[type="range"]{position:absolute;left:0;width:100%;height:22px;margin:0;background:transparent;pointer-events:none;appearance:none;-webkit-appearance:none}
.nd-match-age-slider input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;border:0;border-radius:0;background:#f70d7d;box-shadow:0 0 12px rgba(247,13,125,.35);pointer-events:auto;cursor:pointer}
.nd-match-age-slider input[type="range"]::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:0;background:#f70d7d;box-shadow:0 0 12px rgba(247,13,125,.35);pointer-events:auto;cursor:pointer}
.nd-match-resultbar{margin:0}
.nd-match-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.nd-match-card{border-radius:14px}
.nd-match-media{aspect-ratio:1.37/1}
.nd-match-card-body{padding:10px 14px 11px}
.nd-match-card-title strong{font-size:1rem}
.nd-match-card p{font-size:.78rem}

@media(max-width:1180px){
  .nd-match-filter-toolbar-v2{grid-template-columns:auto 1fr 1fr 1.5fr}
  .nd-match-quick-place{grid-column:2/4}
  .nd-match-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .nd-match-page .nd-section{padding-top:22px}
  .nd-match-filter-toolbar-v2{display:flex;overflow-x:auto;align-items:stretch;padding:7px;gap:8px;top:6px}
  .nd-match-filter-toolbar-v2 .nd-match-filter-trigger{flex:0 0 auto}
  .nd-match-quick-field{flex:0 0 150px;border-left:0;border:1px solid rgba(255,255,255,.055);border-radius:9px}
  .nd-match-quick-age{flex-basis:220px}
  .nd-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){.nd-match-grid{grid-template-columns:1fr}}

/* v0.1.48 — Profiltyp quick control removed. */
.nd-match-filter-toolbar-v2{grid-template-columns:auto 1fr 2.15fr 1.25fr auto}
@media(max-width:1180px){.nd-match-filter-toolbar-v2{grid-template-columns:auto 1fr 1.6fr 1.2fr auto}.nd-match-quick-place{grid-column:auto}}

/* v0.1.58: keep identity/meta positions; right-align Profile Icons on the name row. */
.nd-match-card-title{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.nd-match-card-title strong{flex:0 1 auto;min-width:0}
.nd-match-card-title>.nd-profile-icons{margin-left:auto!important;flex:0 0 auto!important}


/* v0.1.62 — approved bottom-docked compact discovery controls.
   Desktop: 20% viewport inset on each side (60% total width), flush to browser bottom. */
.nd-match-page{padding-bottom:92px}
.nd-match-filter-toolbar-v2{
  position:fixed!important;
  left:20vw!important;
  right:20vw!important;
  bottom:0!important;
  top:auto!important;
  z-index:120!important;
  width:auto!important;
  margin:0!important;
  padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important;
  grid-template-columns:auto minmax(130px,1fr) minmax(230px,1.65fr) minmax(160px,1fr) auto!important;
  gap:8px!important;
  border:1px solid rgba(247,13,125,.72)!important;
  border-bottom:0!important;
  border-radius:18px 18px 0 0!important;
  background:rgba(6,9,22,.97)!important;
  box-shadow:0 -5px 24px rgba(247,13,125,.18),0 -1px 0 rgba(247,13,125,.55)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.nd-match-filter-toolbar-v2 .nd-match-filter-trigger{min-height:46px!important;padding:7px 12px!important}
.nd-match-filter-toolbar-v2 .nd-match-quick-field{padding:2px 8px!important;gap:3px!important}
.nd-match-filter-toolbar-v2 .nd-match-quick-field label{font-size:.68rem!important}
.nd-match-filter-toolbar-v2 .nd-match-quick-field select,
.nd-match-filter-toolbar-v2 .nd-match-quick-field input[type="text"]{min-height:30px!important;font-size:.76rem!important}
.nd-match-filter-toolbar-v2 .nd-match-age-slider{height:20px!important}
.nd-match-filter-toolbar-v2 .nd-match-age-slider:before{top:9px!important}

@media(max-width:1180px){
  .nd-match-page{padding-bottom:94px}
  .nd-match-filter-toolbar-v2{left:10vw!important;right:10vw!important;grid-template-columns:auto 1fr 1.5fr 1fr auto!important}
}
@media(max-width:760px){
  .nd-match-page{padding-bottom:86px}
  .nd-match-filter-toolbar-v2{left:0!important;right:0!important;bottom:0!important;width:auto!important;display:flex!important;border-radius:14px 14px 0 0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:7px 8px calc(7px + env(safe-area-inset-bottom))!important}
  .nd-match-filter-toolbar-v2 .nd-match-filter-trigger{flex:0 0 auto!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-field{flex:0 0 145px!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-age{flex-basis:210px!important}
}
@media(prefers-reduced-transparency:reduce){.nd-match-filter-toolbar-v2{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#080a18!important}}


/* v0.1.68 — visual MASTER reset control.
   Baseline is the user-supplied v0.1.64 package.
   Existing v0.1.64 toolbar geometry, 20vw side insets and slider layout remain authoritative. */
.nd-match-filter-toolbar-v2 .nd-match-clear-filter-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  align-self:center!important;
  width:36px!important;
  height:36px!important;
  min-width:36px!important;
  min-height:36px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(247,13,125,.82)!important;
  border-radius:50%!important;
  background:rgba(247,13,125,.11)!important;
  color:#ff4da0!important;
  font-size:20px!important;
  line-height:1!important;
  box-shadow:0 0 14px rgba(247,13,125,.14)!important;
  cursor:pointer!important;
}
.nd-match-filter-toolbar-v2 .nd-match-clear-filter-icon:hover:not(:disabled){
  background:rgba(247,13,125,.20)!important;
  box-shadow:0 0 16px rgba(247,13,125,.24)!important;
}
.nd-match-filter-toolbar-v2 .nd-match-clear-filter-icon:disabled{
  border-color:rgba(255,255,255,.15)!important;
  background:rgba(255,255,255,.035)!important;
  color:rgba(255,255,255,.32)!important;
  box-shadow:none!important;
  cursor:default!important;
}


/* v0.1.76 — simplified search UI.
   Advanced Filter UI is hidden only; filter engine/backend remains intact. */
.nd-match-filter-toolbar-v2 .nd-match-filter-trigger{
  display:none!important;
}
.nd-match-filter-overlay{
  display:none!important;
}
.nd-match-filter-toolbar-v2{
  grid-template-columns:minmax(150px,1fr) minmax(280px,1.65fr) minmax(180px,1fr) auto!important;
}


/* v0.1.77 — compact three-filter bottom bar.
   Layout-only: search/filter behavior is unchanged. */
@media (min-width: 981px){
  .nd-match-filter-toolbar-v2{
    left:25vw!important;
    right:25vw!important;
    width:auto!important;
    grid-template-columns:minmax(125px,.9fr) minmax(250px,1.75fr) minmax(150px,.9fr) 36px!important;
    column-gap:10px!important;
    padding:7px 10px!important;
    min-height:58px!important;
  }
  .nd-match-filter-toolbar-v2 .nd-match-quick-field{
    gap:3px!important;
  }
  .nd-match-filter-toolbar-v2 .nd-match-quick-field label{
    margin-bottom:0!important;
  }
  .nd-match-filter-toolbar-v2 select,
  .nd-match-filter-toolbar-v2 input[type="text"]{
    min-height:34px!important;
  }
}


/* v0.2.79: The shared ND Theme Footer 2.0 is visible on Hitta rätt person. */

.nd-match-filter-toolbar-v2.nd-match-has-unseen-profiles{
  animation:ndMatchUnseenProfilesGlow 1.65s ease-in-out infinite!important;
}
@keyframes ndMatchUnseenProfilesGlow{
  0%,100%{border-color:rgba(247,13,125,.72);box-shadow:0 0 0 rgba(247,13,125,0),0 0 8px rgba(247,13,125,.10)}
  50%{border-color:rgba(255,42,151,1);box-shadow:0 0 10px rgba(247,13,125,.60),0 0 24px rgba(247,13,125,.28)}
}
@media (prefers-reduced-motion:reduce){
  .nd-match-filter-toolbar-v2.nd-match-has-unseen-profiles{animation:none!important;box-shadow:0 0 12px rgba(247,13,125,.42)!important}
}


/* v0.1.80 — silver/pink unseen-profile glow.
   Applied directly to the visible fixed toolbar frame. */
.nd-match-filter-toolbar-v2.nd-match-has-unseen-profiles{
  border-color:rgba(238,242,255,.92)!important;
  animation:ndMatchSilverPinkUnseenGlow 1.55s ease-in-out infinite!important;
}
@keyframes ndMatchSilverPinkUnseenGlow{
  0%,100%{
    border-color:rgba(224,230,242,.92)!important;
    box-shadow:
      0 0 5px rgba(235,240,255,.50),
      0 0 12px rgba(247,13,125,.18),
      inset 0 0 5px rgba(235,240,255,.10)!important;
  }
  50%{
    border-color:rgba(255,95,177,1)!important;
    box-shadow:
      0 0 8px rgba(242,246,255,.88),
      0 0 20px rgba(255,43,148,.58),
      0 0 30px rgba(247,13,125,.26),
      inset 0 0 7px rgba(255,255,255,.15)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  .nd-match-filter-toolbar-v2.nd-match-has-unseen-profiles{
    animation:none!important;
    border-color:rgba(240,243,255,.92)!important;
    box-shadow:0 0 7px rgba(240,244,255,.68),0 0 18px rgba(247,13,125,.42)!important;
  }
}


/* v0.1.81 — stable pink frame; pulse only the external silver/pink halo. */
.nd-match-filter-toolbar-v2.nd-match-has-unseen-profiles{
  border-color:rgba(247,13,125,.82)!important;
  animation:ndMatchSilverPinkHalo 1.55s ease-in-out infinite!important;
}
@keyframes ndMatchSilverPinkHalo{
  0%,100%{
    box-shadow:
      0 0 4px rgba(235,240,255,.22),
      0 0 9px rgba(247,13,125,.16)!important;
  }
  50%{
    box-shadow:
      0 0 9px rgba(240,244,255,.76),
      0 0 18px rgba(255,54,153,.48),
      0 0 28px rgba(247,13,125,.22)!important;
  }
}
@media (prefers-reduced-motion:reduce){
  .nd-match-filter-toolbar-v2.nd-match-has-unseen-profiles{
    animation:none!important;
    border-color:rgba(247,13,125,.82)!important;
    box-shadow:
      0 0 7px rgba(240,244,255,.58),
      0 0 16px rgba(247,13,125,.34)!important;
  }
}


/* v0.1.82 — Online/Offline quick status filter. */
@media (min-width:981px){
  .nd-match-filter-toolbar-v2{
    grid-template-columns:minmax(100px,.78fr) minmax(210px,1.50fr) minmax(120px,.85fr) minmax(92px,.68fr) 36px!important;
    column-gap:8px!important;
  }
  .nd-match-quick-status select{width:100%!important;min-width:0!important}
}


/* v0.1.83 — responsive optimization: desktop / tablet / mobile. */

/* Large desktop: preserve compact centered toolbar and give content sane breathing room. */
@media (min-width:1281px){
  .nd-match-page .nd-shell{width:min(calc(100% - 48px),var(--max,1240px))!important;margin-inline:auto!important}
  .nd-match-grid{gap:18px!important}
}

/* Laptop / desktop: five controls remain visible and usable. */
@media (min-width:981px) and (max-width:1280px){
  .nd-match-filter-toolbar-v2{
    left:18vw!important;
    right:18vw!important;
    grid-template-columns:minmax(95px,.8fr) minmax(190px,1.45fr) minmax(115px,.9fr) minmax(88px,.72fr) 36px!important;
  }
  .nd-match-page .nd-shell{width:min(calc(100% - 48px),var(--max,1240px))!important;margin-inline:auto!important}
}

/* Tablet: toolbar widens for touch, keeps Status, and cards/content use available width. */
@media (min-width:701px) and (max-width:980px){
  .nd-match-page .nd-shell{width:94%!important;margin-inline:auto!important}
  .nd-match-head{margin-bottom:16px!important}
  .nd-match-filter-toolbar-v2{
    left:4vw!important;
    right:4vw!important;
    width:auto!important;
    grid-template-columns:minmax(110px,.9fr) minmax(210px,1.55fr) minmax(135px,1fr) minmax(100px,.78fr) 40px!important;
    column-gap:8px!important;
    padding:8px 10px!important;
    min-height:62px!important;
  }
  .nd-match-filter-toolbar-v2 select,
  .nd-match-filter-toolbar-v2 input[type="text"]{min-height:38px!important;font-size:14px!important}
  .nd-match-grid{gap:14px!important}
}

/* Mobile: Status intentionally hidden. Four-control bar becomes a compact two-row touch layout. */
@media (max-width:700px){
  .nd-match-page .nd-shell{width:100%!important;padding-inline:12px!important;margin-inline:auto!important}
  .nd-match-head{margin-bottom:12px!important}
  .nd-match-head h1{font-size:clamp(25px,8vw,34px)!important;line-height:1.08!important}
  .nd-match-head p{font-size:14px!important;line-height:1.4!important}
  .nd-match-quick-status{display:none!important}
  .nd-match-filter-toolbar-v2{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    width:auto!important;
    grid-template-columns:minmax(92px,.85fr) minmax(155px,1.45fr) 38px!important;
    grid-template-areas:
      "type age clear"
      "place place clear"!important;
    gap:6px 8px!important;
    padding:7px 9px!important;
    min-height:94px!important;
    border-radius:14px!important;
  }
  .nd-match-filter-toolbar-v2 > .nd-match-quick-field:nth-of-type(1){grid-area:type!important}
  .nd-match-filter-toolbar-v2 > .nd-match-quick-age{grid-area:age!important}
  .nd-match-filter-toolbar-v2 > .nd-match-quick-place{grid-area:place!important}
  .nd-match-filter-toolbar-v2 > .nd-match-clear-filter{grid-area:clear!important;align-self:stretch!important;height:auto!important;min-height:38px!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-field{min-width:0!important;gap:2px!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-field label,
  .nd-match-filter-toolbar-v2 .nd-match-quick-field > span{font-size:11px!important;line-height:1.1!important}
  .nd-match-filter-toolbar-v2 select,
  .nd-match-filter-toolbar-v2 input[type="text"]{
    width:100%!important;
    min-width:0!important;
    min-height:36px!important;
    font-size:16px!important; /* prevents iOS focus zoom */
  }
  .nd-match-age-slider{min-width:0!important;width:100%!important}
  .nd-match-grid{gap:12px!important}
  .nd-match-card{min-width:0!important}
}

/* Narrow phones: keep touch targets intact without horizontal overflow. */
@media (max-width:420px){
  .nd-match-page .nd-shell{padding-inline:9px!important}
  .nd-match-filter-toolbar-v2{
    left:5px!important;
    right:5px!important;
    bottom:5px!important;
    grid-template-columns:minmax(82px,.78fr) minmax(135px,1.35fr) 36px!important;
    padding:6px 7px!important;
    column-gap:6px!important;
  }
  .nd-match-filter-toolbar-v2 .nd-match-quick-field label{font-size:10px!important}
}


/* v0.1.84 — mobile viewport containment fix.
   Prevent the fixed toolbar or any child from creating horizontal page scroll. */
@media (max-width:700px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  .nd-match-page{width:100%!important;max-width:100vw!important;overflow-x:clip!important}
  .nd-match-page *{box-sizing:border-box}

  .nd-match-filter-toolbar-v2{
    box-sizing:border-box!important;
    left:8px!important;
    right:8px!important;
    width:calc(100vw - 16px)!important;
    max-width:calc(100vw - 16px)!important;
    min-width:0!important;
    overflow:visible!important;

    /* True viewport-safe two-row mobile layout. */
    display:grid!important;
    grid-template-columns:minmax(0,0.92fr) minmax(0,1.28fr) 38px!important;
    grid-template-rows:auto auto!important;
    grid-template-areas:
      "type age clear"
      "place place clear"!important;
    gap:6px 7px!important;
    padding:7px 8px!important;
  }

  .nd-match-filter-toolbar-v2 > *{min-width:0!important;max-width:100%!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-status{display:none!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-type{grid-area:type!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-age{grid-area:age!important}
  .nd-match-filter-toolbar-v2 .nd-match-quick-place{grid-area:place!important}
  .nd-match-filter-toolbar-v2 > .nd-match-clear-filter{
    grid-area:clear!important;
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    margin:0!important;
    justify-self:end!important;
    align-self:stretch!important;
  }

  .nd-match-filter-toolbar-v2 select,
  .nd-match-filter-toolbar-v2 input,
  .nd-match-filter-toolbar-v2 .nd-match-age-slider,
  .nd-match-filter-toolbar-v2 .nd-match-age-slider-wrap{
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
  }

  .nd-match-filter-toolbar-v2 input[type="range"]{
    min-width:0!important;
    max-width:100%!important;
    width:100%!important;
  }
}

@media (max-width:420px){
  .nd-match-filter-toolbar-v2{
    left:5px!important;
    right:5px!important;
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
    grid-template-columns:minmax(0,.88fr) minmax(0,1.22fr) 36px!important;
    gap:5px 6px!important;
    padding:6px!important;
  }
  .nd-match-filter-toolbar-v2 > .nd-match-clear-filter{
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
  }
}


/* v0.1.85 — compact profile imagery on phones only. */
@media (max-width:700px){
  .nd-match-grid{gap:9px!important}
  .nd-match-media{
    aspect-ratio:4/3!important;
    height:auto!important;
    overflow:hidden!important;
  }
  .nd-match-media img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    object-position:center!important;
  }
  .nd-match-card-body{padding:8px 10px 9px!important}
  .nd-match-card-title strong{font-size:.92rem!important;line-height:1.15!important}
  .nd-match-card p{font-size:.72rem!important;line-height:1.25!important}
}
@media (max-width:420px){
  .nd-match-grid{gap:8px!important}
  .nd-match-card-body{padding:7px 9px 8px!important}
}


/* v0.1.86 — clean icon-only mobile quickbar. */
.nd-match-mobile-quickbar{display:none}
@media (max-width:700px){
  .nd-match-filter-toolbar-v2{display:none!important}
  .nd-match-mobile-quickbar{
    position:fixed!important;z-index:10020!important;left:8px!important;right:8px!important;bottom:8px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
    width:auto!important;max-width:calc(100vw - 16px)!important;min-width:0!important;padding:7px 9px!important;
    border:1px solid rgba(247,13,125,.8)!important;border-radius:15px!important;background:rgba(7,9,25,.96)!important;
    box-shadow:0 8px 28px rgba(0,0,0,.34)!important;box-sizing:border-box!important
  }
  .nd-match-mobile-group{display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important}
  .nd-match-mobile-separator{width:1px!important;height:27px!important;flex:0 0 1px!important;background:rgba(151,157,190,.22)!important}
  .nd-match-mobile-icon{
    width:34px!important;height:34px!important;min-width:34px!important;padding:0!important;display:inline-flex!important;
    align-items:center!important;justify-content:center!important;border:1px solid rgba(126,132,170,.34)!important;
    border-radius:10px!important;background:#0b0e20!important;color:#aeb3c8!important;font-size:18px!important;line-height:1!important
  }
  .nd-match-mobile-icon.is-active{color:#fff!important;border-color:#ff1682!important;background:rgba(247,13,125,.17)!important;box-shadow:0 0 8px rgba(247,13,125,.28)!important}
  .nd-match-mobile-online{color:#43d88f!important}.nd-match-mobile-offline{color:#858ba2!important}
  .nd-match-mobile-place-wrap{position:relative!important;display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important}
  .nd-match-mobile-place-label{max-width:55px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#c5c8d8!important;font-size:10px!important}
  .nd-match-mobile-place-popover{
    position:absolute!important;right:0!important;bottom:44px!important;width:min(260px,calc(100vw - 28px))!important;
    padding:8px!important;border:1px solid rgba(247,13,125,.65)!important;border-radius:12px!important;
    background:#090c1c!important;box-shadow:0 12px 34px rgba(0,0,0,.48)!important
  }
  .nd-match-mobile-place-popover[hidden]{display:none!important}
  .nd-match-mobile-place-popover input{
    width:100%!important;height:38px!important;min-width:0!important;padding:0 10px!important;border:1px solid #292e48!important;
    border-radius:9px!important;background:#0d1022!important;color:#fff!important;font-size:16px!important;box-sizing:border-box!important
  }
  .nd-match-mobile-city-list{display:grid!important;gap:3px!important;margin-top:5px!important}
  .nd-match-mobile-city-list button{width:100%!important;padding:7px 9px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#d9dbea!important;text-align:left!important;font-size:13px!important}
}
@media (max-width:420px){
  .nd-match-mobile-quickbar{left:5px!important;right:5px!important;bottom:5px!important;gap:4px!important;padding:6px!important;max-width:calc(100vw - 10px)!important}
  .nd-match-mobile-group{gap:3px!important}
  .nd-match-mobile-icon{width:30px!important;height:30px!important;min-width:30px!important;font-size:16px!important}
  .nd-match-mobile-separator{height:24px!important}
  .nd-match-mobile-place-label{max-width:40px!important}
}


/* v0.1.87 — phone-only floating action clearance + compact controls. */
@media (max-width:700px){
  body.nd-match-page-active #nd-to-top,
  body.nd-match-page-active .nd-to-top{
    left:10px!important;
    bottom:68px!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
  }
  body.nd-match-page-active .nd-to-top__icon{transform:scale(.82)!important}

  /* Nordic AI Chatbot launcher variants: Match page + phone only. */
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher]{
    bottom:68px!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    min-height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
  }
  body.nd-match-page-active .nd-ai-chat-launcher svg,
  body.nd-match-page-active .nd-ai-chat-toggle svg,
  body.nd-match-page-active .nd-ai-chatbot-launcher svg,
  body.nd-match-page-active [data-nd-ai-chat-launcher] svg,
  body.nd-match-page-active [data-nd-chatbot-launcher] svg{
    width:19px!important;
    height:19px!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active #nd-to-top,
  body.nd-match-page-active .nd-to-top{
    left:7px!important;
    bottom:59px!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
  }
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher]{
    bottom:59px!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    max-width:36px!important;
    max-height:36px!important;
  }
}


/* v0.1.88 — mobile-only location state and AI launcher clearance. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-place-button{position:relative!important;overflow:visible!important}
  body.nd-match-page-active .nd-match-mobile-pin{
    width:19px!important;height:19px!important;display:block!important;
    fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;
    stroke-linecap:round!important;stroke-linejoin:round!important
  }
  body.nd-match-page-active .nd-match-mobile-place-button.is-filter-active{
    color:#ff1682!important;border-color:#ff1682!important;background:rgba(247,13,125,.14)!important;
    animation:ndMatchMobilePlacePulse 1.65s ease-in-out infinite!important
  }
  @keyframes ndMatchMobilePlacePulse{
    0%,100%{box-shadow:0 0 0 0 rgba(255,22,130,.18),0 0 5px rgba(255,22,130,.22)}
    50%{box-shadow:0 0 0 5px rgba(255,22,130,0),0 0 13px rgba(255,22,130,.72)}
  }
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher]{
    bottom:82px!important;width:36px!important;height:36px!important;
    min-width:36px!important;min-height:36px!important;max-width:36px!important;max-height:36px!important
  }
  body.nd-match-page-active .nd-ai-chat-launcher svg,
  body.nd-match-page-active .nd-ai-chat-toggle svg,
  body.nd-match-page-active .nd-ai-chatbot-launcher svg,
  body.nd-match-page-active [data-nd-ai-chat-launcher] svg,
  body.nd-match-page-active [data-nd-chatbot-launcher] svg{width:18px!important;height:18px!important}
}
@media (max-width:420px){
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher]{bottom:72px!important}
}


/* v0.1.89 — phone-only profile hit-area + AI launcher clearance. */
@media (max-width:700px){
  /* Only the image/media area advertises profile navigation on phones. */
  body.nd-match-page-active .nd-match-card.is-clickable{cursor:pointer!important}
  body.nd-match-page-active .nd-match-card.is-clickable .nd-match-media{cursor:pointer!important}

  /* Keep known AI/chat floating launchers fully above the fixed mobile quickbar. */
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active .nd-ai-chat-button,
  body.nd-match-page-active .nd-chat-launcher,
  body.nd-match-page-active .nd-chat-toggle,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher],
  body.nd-match-page-active [data-nd-ai-chat],
  body.nd-match-page-active [class*="ai-chat"][class*="launch"],
  body.nd-match-page-active [class*="chatbot"][class*="launch"]{
    position:fixed!important;
    right:12px!important;
    bottom:88px!important;
    z-index:10040!important;
    width:36px!important;height:36px!important;
    min-width:36px!important;min-height:36px!important;
    max-width:36px!important;max-height:36px!important;
    margin:0!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active .nd-ai-chat-button,
  body.nd-match-page-active .nd-chat-launcher,
  body.nd-match-page-active .nd-chat-toggle,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher],
  body.nd-match-page-active [data-nd-ai-chat],
  body.nd-match-page-active [class*="ai-chat"][class*="launch"],
  body.nd-match-page-active [class*="chatbot"][class*="launch"]{
    right:8px!important;bottom:78px!important;width:34px!important;height:34px!important;
    min-width:34px!important;min-height:34px!important;max-width:34px!important;max-height:34px!important
  }
}


/* v0.1.90 — hide AI Chat on Match/profile listing in phone mode only. */
@media (max-width:700px){
  body.nd-match-page-active .nd-ai-chat-launcher,
  body.nd-match-page-active .nd-ai-chat-toggle,
  body.nd-match-page-active .nd-ai-chatbot-launcher,
  body.nd-match-page-active .nd-ai-chat-button,
  body.nd-match-page-active .nd-chat-launcher,
  body.nd-match-page-active .nd-chat-toggle,
  body.nd-match-page-active [data-nd-ai-chat-launcher],
  body.nd-match-page-active [data-nd-chatbot-launcher],
  body.nd-match-page-active [data-nd-ai-chat],
  body.nd-match-page-active [class*="ai-chat"][class*="launch"],
  body.nd-match-page-active [class*="chatbot"][class*="launch"]{
    display:none!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}


/* v0.1.91 — phone-only bottom-spacing + centered city search cleanup. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-main,
  body.nd-match-page-active .nd-match-page,
  body.nd-match-page-active .nd-match-results,
  body.nd-match-page-active .nd-match-grid-wrap{
    padding-bottom:0!important;
    margin-bottom:0!important;
    min-height:0!important;
  }
  body.nd-match-page-active .nd-match-grid{
    padding-bottom:72px!important;
    margin-bottom:0!important;
  }
  body.nd-match-page-active .nd-match-mobile-place-popover{
    right:50%!important;
    left:auto!important;
    transform:translateX(50%)!important;
    width:min(286px,calc(100vw - 32px))!important;
    max-width:calc(100vw - 32px)!important;
    padding:9px!important;
    box-sizing:border-box!important;
  }
  body.nd-match-page-active .nd-match-mobile-place-popover input{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0 auto!important;
    box-sizing:border-box!important;
  }
  body.nd-match-page-active .nd-match-mobile-city-list{
    width:100%!important;
    max-width:100%!important;
    margin:6px auto 0!important;
    box-sizing:border-box!important;
  }
  body.nd-match-page-active .nd-match-mobile-city-list button{
    width:100%!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-grid{
    padding-bottom:62px!important;
  }
  body.nd-match-page-active .nd-match-mobile-place-popover{
    width:min(272px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    padding:8px!important;
  }
}


/* v0.1.92 — phone-only city popup viewport centering correction. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-place-popover{
    position:fixed!important;
    left:50%!important;
    right:auto!important;
    transform:translateX(-50%)!important;
    bottom:68px!important;
    width:min(286px,calc(100vw - 24px))!important;
    max-width:calc(100vw - 24px)!important;
    margin:0!important;
    padding:9px!important;
    box-sizing:border-box!important;
    z-index:10035!important;
  }
  body.nd-match-page-active .nd-match-mobile-place-popover input{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  body.nd-match-page-active .nd-match-mobile-city-list{
    width:100%!important;
    max-width:100%!important;
    margin:6px 0 0!important;
    box-sizing:border-box!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-place-popover{
    bottom:60px!important;
    width:min(272px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    padding:8px!important;
  }
}

/* v0.1.93 — phone-only quickbar icon readability. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-icon{font-size:18px!important;line-height:1!important}
  body.nd-match-page-active .nd-match-mobile-icon svg,
  body.nd-match-page-active .nd-match-mobile-pin{width:22px!important;height:22px!important}
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-icon{font-size:17px!important}
  body.nd-match-page-active .nd-match-mobile-icon svg,
  body.nd-match-page-active .nd-match-mobile-pin{width:21px!important;height:21px!important}
}


/* v0.1.94 — effective phone glyph enlargement; button geometry intentionally unchanged. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon{
    font-size:20px!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon > svg,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-pin{
    width:24px!important;
    height:24px!important;
    transform:scale(1.12)!important;
    transform-origin:center!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon:not(.nd-match-mobile-place-button){
    transform:scale(1.16)!important;
    transform-origin:center!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon{
    font-size:19px!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon > svg,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-pin{
    width:23px!important;
    height:23px!important;
  }
}


/* v0.1.95 — phone quickbar aligned to the mobile main-menu visual language. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-quickbar{
    gap:8px!important;
    justify-content:center!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon{
    flex:0 0 42px!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    padding:0!important;
    margin:0!important;
    font-size:21px!important;
    line-height:1!important;
    transform:none!important;
    border-radius:11px!important;
    position:relative!important;
    box-sizing:border-box!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon > svg,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-pin{
    width:22px!important;
    height:22px!important;
    transform:none!important;
  }

  /* Same pink active language as the mobile main navigation:
     pink border/accent with a stronger lower edge. */
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon.is-active,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-place-button.is-filter-active{
    color:#ff1682!important;
    border-color:#ff1682!important;
    background:rgba(255,22,130,.10)!important;
    box-shadow:inset 0 -3px 0 #ff1682!important;
  }

  /* City filter keeps its pulse, layered over the active-state treatment. */
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-place-button.is-filter-active{
    animation:ndMatchMobilePlacePulse 1.65s ease-in-out infinite!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-quickbar{
    gap:6px!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon{
    flex-basis:40px!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    max-width:40px!important;
    max-height:40px!important;
    font-size:20px!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon > svg,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-pin{
    width:21px!important;
    height:21px!important;
  }
}


/* v0.1.96 — phone quickbar: equal icon scale, menu spacing, no active underline. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-quickbar{
    gap:12px!important;
    justify-content:center!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon{
    font-size:22px!important;
    transform:none!important;
    box-shadow:none!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon > svg,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-pin{
    width:22px!important;
    height:22px!important;
    transform:none!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon.is-active,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-place-button.is-filter-active{
    color:#ff1682!important;
    border-color:#ff1682!important;
    background:rgba(255,22,130,.10)!important;
    box-shadow:none!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon.is-active::before,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon.is-active::after,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-place-button.is-filter-active::before,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-place-button.is-filter-active::after{
    display:none!important;
    content:none!important;
  }

  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-place-button.is-filter-active{
    animation:ndMatchMobilePlacePulse 1.65s ease-in-out infinite!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-quickbar{
    gap:9px!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon{
    font-size:21px!important;
  }
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-icon > svg,
  body.nd-match-page-active .nd-match-mobile-quickbar .nd-match-mobile-pin{
    width:21px!important;
    height:21px!important;
  }
}


/* v0.1.97 — structural mobile quickbar reset; main navigation locked. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-quickbar{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    justify-content:center!important;gap:0!important;
  }
  body.nd-match-page-active .nd-match-mobile-group{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    gap:10px!important;margin:0!important;padding:0!important;
  }
  body.nd-match-page-active .nd-match-mobile-place-wrap{
    display:flex!important;align-items:center!important;margin:0!important;padding:0!important;
  }

  /* These are the actual separator elements found in the template. */
  body.nd-match-page-active .nd-match-mobile-separator{
    display:none!important;width:0!important;height:0!important;margin:0!important;
    padding:0!important;border:0!important;
  }

  /* Actual nested controls. */
  body.nd-match-page-active .nd-match-mobile-group > .nd-match-mobile-icon,
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon{
    position:relative!important;inset:auto!important;float:none!important;
    flex:0 0 42px!important;width:42px!important;height:42px!important;
    min-width:42px!important;min-height:42px!important;max-width:42px!important;max-height:42px!important;
    margin:0!important;padding:0!important;transform:none!important;translate:none!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    box-sizing:border-box!important;font-size:22px!important;line-height:22px!important;
  }

  /* Main-menu-like spacing BETWEEN groups too, without visible separators. */
  body.nd-match-page-active .nd-match-mobile-group + .nd-match-mobile-separator + .nd-match-mobile-group,
  body.nd-match-page-active .nd-match-mobile-separator + .nd-match-mobile-place-wrap{
    margin-left:10px!important;
  }

  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon svg,
  body.nd-match-page-active .nd-match-mobile-pin{
    width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
    max-width:22px!important;max-height:22px!important;transform:none!important;margin:0!important;
  }

  body.nd-match-page-active .nd-match-mobile-group > .nd-match-mobile-icon::before,
  body.nd-match-page-active .nd-match-mobile-group > .nd-match-mobile-icon::after,
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon::before,
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon::after{
    content:none!important;display:none!important;border:0!important;
  }

  body.nd-match-page-active .nd-match-mobile-group > .nd-match-mobile-icon.is-active,
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon.is-filter-active{
    color:#ff1682!important;border-color:#ff1682!important;
    background:rgba(255,22,130,.10)!important;box-shadow:none!important;
  }
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon.is-filter-active{
    animation:ndMatchMobilePlacePulse 1.65s ease-in-out infinite!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-group{gap:8px!important}
  body.nd-match-page-active .nd-match-mobile-group + .nd-match-mobile-separator + .nd-match-mobile-group,
  body.nd-match-page-active .nd-match-mobile-separator + .nd-match-mobile-place-wrap{margin-left:8px!important}
  body.nd-match-page-active .nd-match-mobile-group > .nd-match-mobile-icon,
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-icon{
    flex-basis:40px!important;width:40px!important;height:40px!important;
    min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;
  }
}
/* v0.1.98 — phone-only optical correction for location glyph. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-place-button .nd-match-mobile-pin{
    width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;
    max-width:25px!important;max-height:25px!important;transform:none!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-place-button .nd-match-mobile-pin{
    width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;
    max-width:24px!important;max-height:24px!important;
  }
}


/* v0.1.99 — phone-only optical parity for location glyph.
   Button geometry and all other quickbar icons remain unchanged. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-place-button .nd-match-mobile-pin{
    width:22px!important;
    height:22px!important;
    min-width:22px!important;
    min-height:22px!important;
    max-width:22px!important;
    max-height:22px!important;
    transform:scale(1.24)!important;
    transform-origin:center center!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-place-wrap > .nd-match-mobile-place-button .nd-match-mobile-pin{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    min-height:21px!important;
    max-width:21px!important;
    max-height:21px!important;
    transform:scale(1.24)!important;
  }
}


/* v0.2.0 — mobile quickbar: place control removed; remaining filters centered. */
@media (max-width:700px){
  body.nd-match-page-active .nd-match-mobile-quickbar{
    display:flex!important;
    flex-flow:row nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:0!important;
  }
  body.nd-match-page-active .nd-match-mobile-group{
    flex:0 0 auto!important;
  }
  body.nd-match-page-active .nd-match-mobile-separator{
    display:none!important;
    width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
  }
  body.nd-match-page-active .nd-match-mobile-group + .nd-match-mobile-separator + .nd-match-mobile-group{
    margin-left:10px!important;
  }
}
@media (max-width:420px){
  body.nd-match-page-active .nd-match-mobile-group + .nd-match-mobile-separator + .nd-match-mobile-group{
    margin-left:8px!important;
  }
}


/* v0.2.7 — desktop profile-area containment: keep results inside Theme .nd-shell.
   Mobile/tablet and main navigation are intentionally untouched. */
@media (min-width:1025px){
  body.nd-match-page-active .nd-match-main,
  body.nd-match-page-active .nd-match-page{
    width:100%!important;
    max-width:none!important;
    margin-left:auto!important;
    margin-right:auto!important;
    box-sizing:border-box!important;
  }

  body.nd-match-page-active .nd-match-results,
  body.nd-match-page-active .nd-match-grid-wrap,
  body.nd-match-page-active .nd-match-grid{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.nd-match-page-active .nd-match-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* v0.2.8 — explicit conversation gate. A member enters Member Chat only here. */
.nd-match-chat-button{margin-top:10px;width:100%;min-height:36px;border:1px solid rgba(236,27,139,.72);border-radius:10px;background:rgba(236,27,139,.08);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.nd-match-chat-button:hover,.nd-match-chat-button:focus-visible{background:rgba(236,27,139,.18);outline:none}
.nd-match-chat-button[aria-busy="true"]{opacity:.65;cursor:wait}

/* v0.2.23 — keep the Chat action aligned to the bottom of every discovery card. */
.nd-match-card{display:flex;flex-direction:column}
.nd-match-card-body{display:flex;flex:1 1 auto;flex-direction:column;min-height:0}
.nd-match-card-body>.nd-match-chat-button{margin-top:auto;padding-top:6px;padding-bottom:6px}

/* v0.2.24 — Nordic Desire chat CTA refinement */
.nd-match-card-body>.nd-match-chat-button{
  width:100%;
  min-height:34px;
  padding:5px 12px;
  border:1px solid rgba(236,27,139,.68);
  border-radius:8px;
  background:rgba(13,10,25,.72);
  color:#fff;
  font-size:.84rem;
  font-weight:700;
  line-height:1.2;
  letter-spacing:.01em;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.012);
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.nd-match-card-body>.nd-match-chat-button:hover,
.nd-match-card-body>.nd-match-chat-button:focus-visible{
  border-color:rgba(245,35,150,.92);
  background:rgba(236,27,139,.105);
  box-shadow:0 0 14px rgba(236,27,139,.12),inset 0 0 0 1px rgba(255,255,255,.018);
  outline:none;
}
.nd-match-card-body>.nd-match-chat-button:active{transform:translateY(1px)}


/* v0.2.25 — compact, uniform card-body rhythm while preserving aligned Chat CTAs.
   Keep the content cluster anchored to the card bottom instead of letting auto margin
   create a large visual gap on profiles with fewer title badges (e.g. couple profiles). */
.nd-match-card-body{
  justify-content:flex-end;
}
.nd-match-card-body>.nd-match-chat-button{
  margin-top:6px;
  flex:0 0 auto;
}


/* v0.2.26 — normalize the title slot across all profile types.
   Profiles without status icons reserve the same title-row height as profiles with icons,
   keeping name, age and Chat CTA on identical vertical baselines without per-profile offsets. */
.nd-match-card-title{
  min-height:34px;
  align-items:flex-start;
}
.nd-match-card-title>strong{
  padding-top:0;
  line-height:1.15;
}

/* v0.2.28: UI-level image protection on Hitta rätt person for every membership tier. */
body.nd-match-page-active .nd-match-media img{-webkit-user-drag:none;user-select:none;-webkit-user-select:none}

/* v0.2.37 — Align the age range endpoints with the visible rail,
   keeping both 18px handles fully inside the slider at min/max values. */
.nd-match-page .nd-match-age-slider::before{left:9px;right:9px}
.nd-match-page .nd-match-age-slider input[type="range"]{
  left:0!important;right:auto!important;width:100%!important;
  box-sizing:border-box!important;padding:0 9px!important;
}

/* v0.2.38 — only the selected age interval is pink; outside rail stays navy. */
.nd-match-page .nd-match-age-slider::before{
  background:linear-gradient(to right,
    #252b48 0%,#252b48 var(--nd-age-start,0%),
    #f70d7d var(--nd-age-start,0%),#f70d7d var(--nd-age-end,100%),
    #252b48 var(--nd-age-end,100%),#252b48 100%);
}

/* v0.2.42 — approved compact image-led discovery card (concept 3). */
.nd-match-card .nd-match-media{position:relative}
.nd-match-card .nd-match-media::after{content:"";position:absolute;z-index:1;inset:48% 0 0;background:linear-gradient(to bottom,transparent,rgba(5,7,19,.94));pointer-events:none}
.nd-match-card .nd-match-image-name{position:absolute;z-index:2;left:14px;right:12px;bottom:12px;color:#fff;font-size:clamp(1rem,1.4vw,1.4rem);font-weight:750;line-height:1.15;overflow-wrap:anywhere;text-shadow:0 2px 10px #000b}
.nd-match-card .nd-match-card-body{padding:10px 12px 12px!important;gap:7px}
.nd-match-card .nd-match-card-badges{min-height:36px;display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.nd-match-card .nd-match-card-badges>.nd-profile-icons{margin:0!important;display:flex;align-items:center;gap:5px}
.nd-match-card .nd-match-card-location{margin:0!important;min-height:19px;color:#e4dbea;font-size:.78rem}
.nd-match-card .nd-match-card-location::before{content:"📍";margin-right:5px;font-size:.85em}
.nd-match-card .nd-match-chat-button{margin-top:auto!important;border-radius:999px!important;background:#f20c83!important;border-color:#f20c83!important;color:white!important;font-weight:700}
.nd-match-card .nd-match-chat-button:hover{background:#d80a75!important}

/* v0.2.43 — locked design reference: concept 3. Image-led full-height cards. */
body.nd-match-page-active .nd-match-card{display:block;position:relative;overflow:hidden;background:#090e1c}
body.nd-match-page-active .nd-match-card .nd-match-media{position:relative;aspect-ratio:0.75!important;height:auto!important;min-height:0!important;overflow:hidden!important;background:#090e1c}
body.nd-match-page-active .nd-match-card .nd-match-media>img{width:100%!important;height:100%!important;position:absolute;inset:0;object-fit:cover!important;object-position:center!important}
body.nd-match-page-active .nd-match-card .nd-match-media::after{inset:36% 0 0!important;background:linear-gradient(180deg,transparent 0%,rgba(7,10,23,.42) 29%,rgba(7,10,23,.95) 80%,#090e1c 100%)!important}
body.nd-match-page-active .nd-match-card .nd-match-membership-ribbon{display:block!important;position:absolute;z-index:5;top:10px;left:10px;right:auto;padding:7px 12px;border-radius:10px;font-size:.7rem;letter-spacing:.11em}
body.nd-match-page-active .nd-match-card .nd-match-card-body{position:absolute!important;z-index:4;bottom:0;left:0;right:0;display:flex!important;flex-direction:column!important;align-items:stretch;justify-content:flex-end!important;gap:8px!important;padding:14px 12px 12px!important;background:none!important;min-height:0!important}
body.nd-match-page-active .nd-match-card .nd-match-image-name{position:static!important;display:block;font-size:clamp(1.15rem,1.9vw,1.7rem)!important;font-weight:750;line-height:1.15;overflow-wrap:normal;word-break:normal;text-shadow:0 2px 8px #000a}
body.nd-match-page-active .nd-match-card .nd-match-card-badges{min-height:0!important;display:flex!important;align-items:center;flex-wrap:wrap;gap:6px!important}
body.nd-match-page-active .nd-match-card .nd-match-card-badges>.nd-profile-icons{display:flex!important;align-items:center;gap:6px!important;margin:0!important}
body.nd-match-page-active .nd-match-card .nd-match-card-location{display:flex;align-items:center;gap:7px;margin:0!important;min-height:22px!important;color:#f4edf6!important;font-size:.86rem!important;line-height:1.3}
body.nd-match-page-active .nd-match-card .nd-match-card-location::before{content:""!important;display:inline-block;width:17px;height:20px;flex:0 0 17px;margin:0!important;background:#f20c83;clip-path:path('M8.5 0C3.8 0 0 3.8 0 8.5 0 14.6 8.5 20 8.5 20S17 14.6 17 8.5C17 3.8 13.2 0 8.5 0ZM8.5 11.5A3 3 0 1 1 8.5 5.5A3 3 0 0 1 8.5 11.5Z')}
body.nd-match-page-active .nd-match-card .nd-match-chat-button{display:flex!important;align-items:center;justify-content:center;gap:9px;width:100%;min-height:42px!important;margin:2px 0 0!important;padding:9px 10px!important;border-radius:999px!important;background:#f20c83!important;border:1px solid #f20c83!important;color:#fff!important;font-size:.86rem!important;line-height:1.2;font-weight:700}
body.nd-match-page-active .nd-match-card .nd-match-chat-button svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:700px){body.nd-match-page-active .nd-match-card .nd-match-media{aspect-ratio:0.75!important}body.nd-match-page-active .nd-match-card .nd-match-card-body{padding:14px 12px 12px!important}}

/* v0.2.44 — approved adjustments only: tier badge inside card, compact icon/city row, muted chat CTA. */
body.nd-match-page-active .nd-match-card .nd-match-membership-ribbon{left:10px!important;right:auto!important;top:10px!important;transform:none!important;max-width:calc(100% - 20px);box-sizing:border-box}
body.nd-match-page-active .nd-match-card .nd-match-card-info-row{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
body.nd-match-page-active .nd-match-card .nd-match-card-badges{flex:0 1 auto;min-width:0;gap:6px!important}
body.nd-match-page-active .nd-match-card .nd-match-card-location{flex:0 1 auto;min-width:0;white-space:nowrap;margin:0!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button{background:#6b174a!important;border-color:#a52b75!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button:hover,body.nd-match-page-active .nd-match-card .nd-match-chat-button:focus-visible{background:#85205e!important;border-color:#a52b75!important}

/* v0.2.44 — approved adjustments only: tier badge inside card, compact icon/city row, muted chat CTA. */
body.nd-match-page-active .nd-match-card .nd-match-membership-ribbon{left:10px!important;right:auto!important;top:10px!important;transform:none!important;max-width:calc(100% - 20px);box-sizing:border-box}
body.nd-match-page-active .nd-match-card .nd-match-card-info-row{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
body.nd-match-page-active .nd-match-card .nd-match-card-badges{flex:0 1 auto;min-width:0;gap:6px!important}
body.nd-match-page-active .nd-match-card .nd-match-card-location{flex:0 1 auto;min-width:0;white-space:nowrap;margin:0!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button{background:#6b174a!important;border-color:#a52b75!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button:hover,body.nd-match-page-active .nd-match-card .nd-match-chat-button:focus-visible{background:#85205e!important;border-color:#a52b75!important}

/* v0.2.44 — approved adjustments only: tier badge inside card, compact icon/city row, muted chat CTA. */
body.nd-match-page-active .nd-match-card .nd-match-membership-ribbon{left:10px!important;right:auto!important;top:10px!important;transform:none!important;max-width:calc(100% - 20px);box-sizing:border-box}
body.nd-match-page-active .nd-match-card .nd-match-card-info-row{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}
body.nd-match-page-active .nd-match-card .nd-match-card-badges{flex:0 1 auto;min-width:0;gap:6px!important}
body.nd-match-page-active .nd-match-card .nd-match-card-location{flex:0 1 auto;min-width:0;white-space:nowrap;margin:0!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button{background:#6b174a!important;border-color:#a52b75!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button:hover,body.nd-match-page-active .nd-match-card .nd-match-chat-button:focus-visible{background:#85205e!important;border-color:#a52b75!important}

/* v0.2.45 — approved location icon adjustment only: muted Nordic Desire gold, 20% smaller. */
body.nd-match-page-active .nd-match-card .nd-match-card-location::before{width:14px!important;height:16px!important;flex:0 0 14px!important;background:#e6c46b!important}
body.nd-match-page-active .nd-match-card .nd-match-card-location .nd-match-city::before{width:6px!important;height:6px!important;flex:0 0 6px!important;background:#e6c46b!important;box-shadow:none!important}

/* v0.2.46 — show only the city name on member cards; no location glyphs or markers. */
body.nd-match-page-active .nd-match-card .nd-match-card-location::before,
body.nd-match-page-active .nd-match-card .nd-match-card-location .nd-match-city::before{content:none!important;display:none!important}

/* v0.2.47 — city text in approved Nordic Desire muted gold; no other visual changes. */
body.nd-match-page-active .nd-match-card .nd-match-card-location .nd-match-city{color:#e6c46b!important}

/* v0.2.48 — smaller membership badge only; preserve placement, colors and shape. */
body.nd-match-page-active .nd-match-card .nd-match-membership-ribbon{padding:5px 10px!important;font-size:.60rem!important;letter-spacing:.11em!important}

/* v0.2.49 — approved concept 3: compact message button, no other card changes. */
body.nd-match-page-active .nd-match-card .nd-match-chat-button{min-height:36px!important;padding:6px 10px!important;font-size:.80rem!important;gap:7px!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button svg{width:16px!important;height:16px!important;flex:0 0 16px!important}

/* v0.2.50 — approved tighter spacing in the existing card footer only. */
body.nd-match-page-active .nd-match-card .nd-match-card-body{gap:6px!important;padding-bottom:10px!important}
body.nd-match-page-active .nd-match-card .nd-match-card-badges,
body.nd-match-page-active .nd-match-card .nd-match-card-badges>.nd-profile-icons{gap:5px!important}
body.nd-match-page-active .nd-match-card .nd-match-chat-button{min-height:32px!important;height:32px!important;margin:0!important;padding:4px 10px!important}
@media(max-width:700px){body.nd-match-page-active .nd-match-card .nd-match-card-body{padding-bottom:10px!important}}

/* v0.2.52 — responsive discovery cards: retain approved image-led design,
   reduce card/image footprint on mobile, tablet and compact screens. */
@media (min-width:1200px){
  body.nd-match-page-active .nd-match-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media (min-width:900px) and (max-width:1199px){
  body.nd-match-page-active .nd-match-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media (min-width:600px) and (max-width:899px){
  body.nd-match-page-active .nd-match-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media (max-width:599px){
  body.nd-match-page-active .nd-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.nd-match-page-active .nd-match-card .nd-match-media{aspect-ratio:3/4!important}
  body.nd-match-page-active .nd-match-card .nd-match-card-body{padding:8px 7px 9px!important;gap:5px!important}
  body.nd-match-page-active .nd-match-card .nd-match-image-name{font-size:clamp(.91rem,3.8vw,1.18rem)!important;line-height:1.12!important;overflow-wrap:anywhere}
  body.nd-match-page-active .nd-match-card .nd-match-card-info-row{gap:5px!important;min-width:0}
  body.nd-match-page-active .nd-match-card .nd-match-card-badges,
  body.nd-match-page-active .nd-match-card .nd-match-card-badges>.nd-profile-icons{gap:4px!important}
  body.nd-match-page-active .nd-match-card .nd-match-card-location{font-size:.70rem!important;min-height:0!important;line-height:1.15!important;white-space:normal!important}
  body.nd-match-page-active .nd-match-card .nd-match-chat-button{height:32px!important;min-height:32px!important;font-size:clamp(.64rem,2.6vw,.76rem)!important;gap:5px!important;padding:4px 5px!important;white-space:nowrap}
  body.nd-match-page-active .nd-match-card .nd-match-chat-button svg{width:14px!important;height:14px!important;flex:0 0 14px!important}
}

/* v0.2.56 — native profile link inside card markup for touch devices.
   No dependency on a body class; interactive controls stay above the link. */
.nd-match-native-profile-link{display:none}
@media (max-width:899px){
  .nd-match-card.is-clickable .nd-match-media{position:relative}
  .nd-match-card.is-clickable .nd-match-native-profile-link{
    display:block!important;position:absolute!important;inset:0!important;
    z-index:20!important;cursor:pointer;touch-action:manipulation;
  }
  .nd-match-card.is-clickable .nd-match-chat-button,
  .nd-match-card.is-clickable .nd-profile-icons,
  .nd-match-card.is-clickable [data-nd-profile-icon]{
    position:relative;z-index:21!important;
  }
}


/* v0.2.57 – diagnostic panel appears only with ?nd_match_diag=1. */
#nd-match-mobile-diagnostics{position:fixed;right:8px;bottom:8px;z-index:2147483640;
  max-width:min(94vw,360px);font:12px/1.35 sans-serif;color:#fff;background:#111324;
  border:1px solid #d89b36;border-radius:10px;padding:7px;box-shadow:0 3px 14px #0008}
#nd-match-mobile-diagnostics button{font:inherit;background:#352044;color:white;
  border:1px solid #a35e89;border-radius:6px;padding:7px;cursor:pointer}
#nd-match-mobile-diagnostics [data-nd-diag-body]{max-height:52vh;overflow:auto;padding-top:6px}
#nd-match-mobile-diagnostics [hidden]{display:none!important}
#nd-match-mobile-diagnostics pre{white-space:pre-wrap;overflow-wrap:anywhere;
  max-height:25vh;overflow:auto;font:10px/1.35 monospace}

/* ND Match v0.2.72 – discover header button and centered filter modal */
.nd-match-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;flex-wrap:wrap}
.nd-match-header-trigger{display:inline-flex!important;align-items:center;gap:12px;flex-shrink:0;border:2px solid #f0c477!important;border-radius:999px!important;background:linear-gradient(135deg,#302837,#191521)!important;color:white!important;padding:10px 20px!important;box-shadow:0 0 15px rgba(240,196,119,.18);cursor:pointer;font-size:17px}
.nd-match-header-trigger .nd-match-filter-trigger-icon{color:#f0c477;font-size:24px}
.nd-match-header-trigger .nd-match-filter-count{display:inline-flex!important;align-items:center;justify-content:center;border-radius:999px;background:rgba(240,196,119,.25);padding:3px 9px;color:white}
.nd-match-filter-overlay{display:block!important;position:fixed!important;inset:0!important;z-index:99999!important}
.nd-match-filter-overlay[hidden]{display:none!important}
.nd-match-filter-scrim{position:absolute;inset:0;background:rgba(3,2,12,.76);backdrop-filter:blur(7px)}
.nd-match-filter-drawer{position:absolute!important;top:50%!important;left:50%!important;right:auto!important;transform:translate(-50%,-50%)!important;width:min(1040px,calc(100vw - 36px))!important;height:min(760px,calc(100dvh - 36px))!important;border:1px solid rgba(180,91,240,.7)!important;border-radius:22px!important;box-shadow:0 25px 90px rgba(0,0,0,.7)!important;animation:none!important}
.nd-match-filter-drawer .nd-match-filter-panel{padding:20px 24px 104px!important}
.nd-match-filter-drawer .nd-match-filter-section-title{font-size:.83rem!important;text-transform:none!important;letter-spacing:normal!important;color:white!important}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.fill{background:#f0c477!important;color:#16101d!important}
@media(max-width:600px){.nd-match-header-trigger{padding:9px 14px!important;font-size:14px}.nd-match-filter-drawer{width:100vw!important;height:100dvh!important;border-radius:0!important}.nd-match-filter-drawer .nd-match-filter-panel{padding:12px 14px 104px!important}}

/* v0.2.73 – locked compact filter button */
.nd-match-head{flex-wrap:nowrap!important}
.nd-match-header-trigger{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;gap:8px!important;min-height:38px!important;padding:6px 12px!important;font-size:14px!important;line-height:20px!important}
.nd-match-header-trigger .nd-match-filter-trigger-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;background:transparent!important;border-radius:0!important;color:#f0c477!important}
.nd-match-header-trigger .nd-match-filter-trigger-icon svg{display:block!important;width:20px!important;height:20px!important}
.nd-match-header-trigger .nd-match-filter-count{line-height:20px!important;padding:1px 7px!important;font-size:13px!important}
@media(max-width:600px){.nd-match-head{gap:8px!important}.nd-match-header-trigger{padding:5px 9px!important;font-size:13px!important;gap:6px!important}}

/* v0.2.96 – subtle gradient on hover; no size or position changes. */
.nd-match-header-trigger,
.nd-match-header-trigger:hover,
.nd-match-header-trigger:focus,
.nd-match-header-trigger:active{
  transform:none!important;
  translate:none!important;
  scale:none!important;
}
.nd-match-header-trigger{
  transition:background-color .16s ease,border-color .16s ease,color .16s ease!important;
}
.nd-match-header-trigger:hover{
  background:linear-gradient(135deg,#403348,#26202f)!important;
  border-color:#ffe0a3!important;
  color:#fff!important;
}

/* v0.2.75 – thinner filter button outline and 12px label. */
.nd-match-header-trigger{border-width:1px!important;font-size:12px!important}
@media(max-width:600px){.nd-match-header-trigger{font-size:12px!important}}

/* v0.2.77 – restore document scrolling and theme footer; keep heading and button together. */
/* Preserve ND Theme navigation scroll behavior; do not override body overflow. */
body.nd-match-page-active .nd-match-page,
body.nd-match-page-active .nd-match-page > .nd-section,
body.nd-match-page-active .nd-match-page > .nd-section > .nd-shell{
  height:auto!important;max-height:none!important;overflow:visible!important;
  display:block!important;min-height:0!important;
}
body.nd-match-page-active .nd-match-head{
  position:static!important;
  background:transparent!important;
  padding:8px 0!important;
}
body.nd-match-page-active .nd-match-grid{overflow:visible!important}

/* v0.2.79: use the existing sticky theme navigation and normal document scroll.
   Keep the discovery row sticky directly below the theme header; never pin it fixed. */
body.nd-match-page-active .nd-match-head{z-index:40!important}

/* v0.2.86 – only the filter button remains visible during page scroll.
   The heading follows the document and has no translucent backdrop. */
body.nd-match-page-active .nd-match-head,
body.nd-match-page-active .nd-match-head.nd-match-head-pinned{
  position:static!important;
  background:transparent!important;
  background-color:transparent!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
/* Desktop: fixed viewport location; intrinsic button dimensions stay untouched. */
@media (min-width: 761px){
  body.nd-match-page-active .nd-match-header-trigger.nd-match-filter-floating{
    position:fixed!important;
    top:var(--nd-match-filter-top,80px)!important;
    right:var(--nd-match-filter-right,20px)!important;
    left:auto!important;
    width:auto!important;
    z-index:1000!important;
  }
}
/* Small screens retain the original heading/button flow. */

/* v0.2.93: Preserve the measured two-digit counter footprint when the count changes.
   Do not change the button's dimensions, position or design. */
@media (min-width: 761px){
  body.nd-match-page-active .nd-match-header-trigger .nd-match-filter-count{
    min-width:27.75px!important;
    box-sizing:border-box!important;
  }
}

/* v0.2.94: Avoid rendering the desktop filter at its temporary flow position.
   Visibility only; preserve the existing button's size, padding and appearance. */
@media (min-width: 761px){
  /* Hide before the body receives its JS class, avoiding the first-paint flash. */
  .nd-match-head .nd-match-header-trigger:not(.nd-match-filter-position-ready){
    visibility:hidden!important;
  }
  .nd-match-head .nd-match-header-trigger.nd-match-filter-position-ready{
    visibility:visible!important;
  }
}

/* v0.2.97: Prevent the discovery heading/subtitle from flashing in a temporary
   position on reload. Visibility preserves dimensions and normal document flow.
   Reveal together with the already-stabilized filter button; no style changes. */
.nd-match-page .nd-match-head:not(.nd-match-heading-position-ready) > div:first-child{
  visibility:hidden!important;
}
.nd-match-page .nd-match-head.nd-match-heading-position-ready > div:first-child{
  visibility:visible!important;
}

/* v0.2.98: Move only the presence indicator to the upper-left corner of Match cards. */
.nd-match-card .nd-profile-presence {
  left: 12px !important;
  right: auto !important;
}

/* v0.2.99: ND Favoriter heart; presence and all existing card layout stay unchanged. */
.nd-match-card .nd-match-favorite-heart{
  position:absolute;top:2px;right:12px;left:auto;z-index:26;
  display:grid;place-items:center;width:24px;height:24px;padding:0;
  border:0;border-radius:0;
  background:transparent;color:#fff;cursor:pointer;
  transition:none;
  touch-action:manipulation;
}
.nd-match-card .nd-match-favorite-heart:hover{background:transparent}
.nd-match-card .nd-match-favorite-heart svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;filter:drop-shadow(0 0 1px rgba(8,10,22,.95)) drop-shadow(0 1px 1px rgba(8,10,22,.85))}
.nd-match-card .nd-match-favorite-heart.is-selected svg{fill:#fff;stroke:#fff}
.nd-match-card .nd-match-favorite-heart.is-mutual svg{fill:#f31683;stroke:#f31683}
.nd-match-card .nd-match-favorite-heart:disabled{cursor:default}
.nd-match-card .nd-match-favorite-heart:focus-visible{outline:2px solid #f0c477;outline-offset:2px}

/* v0.2.107: The top-right Match heart replaces only the legacy favorite badge in the lower icon row. */
.nd-match-card .nd-profile-icons [data-nd-profile-icon="favorite"]{display:none!important;}

/* ND Match v0.2.108 — locked compact, expandable filter modal (design 3). */
.nd-match-filter-drawer{background:linear-gradient(155deg,#160f20 0%,#0e0b19 70%,#120d1d 100%)!important;border-color:rgba(240,196,119,.72)!important;max-width:600px!important;width:min(600px,calc(100vw - 32px))!important;height:min(760px,calc(100dvh - 32px))!important}
.nd-match-filter-drawer .nd-match-filter-panel{padding:12px 16px 100px!important}
.nd-match-filter-drawer .nd-match-filter-section{margin-bottom:8px!important;background:rgba(255,255,255,.025)!important;border:1px solid rgba(207,162,228,.22)!important;border-radius:13px!important;overflow:hidden!important}
.nd-match-filter-drawer .nd-match-filter-section.is-open{border-color:rgba(240,196,119,.38)!important}
.nd-match-filter-drawer .nd-match-filter-accordion-trigger{width:100%;display:flex!important;align-items:center;gap:12px;text-align:left;cursor:pointer;padding:14px 15px!important;background:transparent;border:0;color:#f8f5fb!important;font-size:15px!important;font-weight:700!important;letter-spacing:0!important;text-transform:none!important;line-height:1.3!important}
.nd-match-filter-accordion-trigger>svg:first-child{width:20px;height:20px;flex:0 0 20px;color:#f0c477}
.nd-match-filter-section-name{flex:1}
.nd-match-filter-active-count{display:inline-flex;align-items:center;justify-content:center;border-radius:100px;background:rgba(240,196,119,.16);color:#f0c477;padding:2px 8px;font-size:12px;min-width:23px}
.nd-match-filter-active-count[hidden]{display:none!important}
.nd-match-filter-chevron{width:17px;height:17px;color:#bcaec8;transition:transform 150ms ease-out}
.nd-match-filter-section.is-open .nd-match-filter-chevron{transform:rotate(180deg)}
.nd-match-filter-drawer .nd-match-filter-grid[hidden]{display:none!important}
.nd-match-filter-drawer .nd-match-filter-grid,.nd-match-filter-drawer .nd-match-filter-grid.basic{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;padding:2px 14px 16px!important}
.nd-match-filter-drawer .nd-match-filter-grid label>span{font-size:12px!important;color:#c0b4cc!important}
.nd-match-filter-drawer .nd-match-filter-grid select,.nd-match-filter-drawer .nd-match-filter-grid input[type=text]{background:#15121b!important;border:1px solid rgba(214,197,225,.18)!important;min-height:40px!important;color:#fff!important}
.nd-match-filter-drawer .nd-match-filter-actions{background:linear-gradient(180deg,rgba(14,11,25,.95),#0e0b19 40%)!important}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.fill{background:#f0c477!important;color:#16101d!important;font-weight:750!important}
.nd-match-filter-accordion-trigger:focus-visible{outline:2px solid #f0c477;outline-offset:-3px}
@media(max-width:600px){.nd-match-filter-drawer{width:100vw!important;max-width:none!important;height:100dvh!important;border-radius:0!important}.nd-match-filter-drawer .nd-match-filter-panel{padding:10px 12px 104px!important}.nd-match-filter-drawer .nd-match-filter-grid,.nd-match-filter-drawer .nd-match-filter-grid.basic{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:0 10px 13px!important}.nd-match-filter-drawer .nd-match-filter-grid label.wide{grid-column:1/-1!important}.nd-match-filter-drawer .nd-match-filter-accordion-trigger{padding:13px 12px!important}}
@media(max-width:360px){.nd-match-filter-drawer .nd-match-filter-grid,.nd-match-filter-drawer .nd-match-filter-grid.basic{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.nd-match-filter-chevron{transition:none}}

/* v0.2.109 – Nordic Desire styling, filter modal action buttons only. */
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:0;min-height:44px!important;padding:10px 16px!important;
  border-radius:999px!important;font-size:14px!important;font-weight:650!important;
  line-height:1.35!important;letter-spacing:0!important;text-align:center!important;
  box-shadow:none!important;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
  cursor:pointer;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.ghost{
  color:#f7f1fa!important;background:linear-gradient(135deg,#302837,#191521)!important;
  border:1px solid rgba(240,196,119,.65)!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.ghost:hover{
  background:linear-gradient(135deg,#3d3047,#251d2d)!important;
  border-color:#f0c477!important;box-shadow:0 0 12px rgba(240,196,119,.12)!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.fill{
  color:#16101d!important;background:#f0c477!important;
  border:1px solid #f0c477!important;font-weight:750!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.fill:hover{
  background:#f6d49a!important;border-color:#f6d49a!important;
  box-shadow:0 0 12px rgba(240,196,119,.18)!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn:focus-visible{
  outline:2px solid #f0c477!important;outline-offset:3px!important;
}
@media(prefers-reduced-motion:reduce){.nd-match-filter-drawer .nd-match-filter-actions .nd-btn{transition:none!important}}

/* v0.2.110: Match filter modal — align with the existing Nordic Desire card UI.
   Preserve the locked expandable sections and all filter functionality. */
.nd-match-filter-drawer{
  background:#0d0c1b!important;border-color:rgba(255,255,255,.15)!important;
  box-shadow:0 24px 72px rgba(0,0,0,.65)!important;
}
.nd-match-filter-drawer .nd-match-filter-popover-head{
  background:#0d0c1b!important;border-bottom-color:rgba(255,255,255,.075)!important;
}
.nd-match-filter-drawer .nd-match-filter-close{
  background:#141322!important;border:1px solid rgba(255,255,255,.13)!important;
  color:#eeeaf1!important;border-radius:11px!important;
}
.nd-match-filter-drawer .nd-match-filter-close:hover{
  background:#21182c!important;border-color:rgba(225,59,142,.45)!important;
}
.nd-match-filter-drawer .nd-match-filter-section,
.nd-match-filter-drawer .nd-match-filter-section.is-open{
  background:rgba(255,255,255,.025)!important;
  border-color:rgba(255,255,255,.11)!important;
}
.nd-match-filter-drawer .nd-match-filter-accordion-trigger>svg:first-child{color:#f0c477}
.nd-match-filter-drawer .nd-match-filter-grid.basic{align-items:start!important}
.nd-match-filter-drawer .nd-match-filter-grid .nd-match-check{
  grid-column:auto!important;display:flex!important;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;align-self:center!important;
  gap:9px!important;width:100%!important;min-width:0!important;
  min-height:34px!important;height:auto!important;padding:2px 0!important;
  margin:0!important;line-height:1.35!important;
}
.nd-match-filter-drawer .nd-match-filter-grid .nd-match-check input[type=checkbox]{
  appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;
  flex:0 0 16px!important;width:16px!important;height:16px!important;
  min-width:16px!important;max-width:16px!important;min-height:16px!important;
  margin:0!important;padding:0!important;accent-color:#a91c68!important;
  position:static!important;transform:none!important;opacity:1!important;
}
.nd-match-filter-drawer .nd-match-filter-grid .nd-match-check>span{
  display:inline!important;width:auto!important;flex:1 1 auto!important;
  font-size:12px!important;color:#d5cedd!important;white-space:normal!important;
}
.nd-match-filter-drawer .nd-match-filter-actions{
  background:#0d0c1b!important;border-top-color:rgba(255,255,255,.09)!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn{
  min-height:41px!important;border-radius:999px!important;
  font-size:13px!important;font-weight:700!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.ghost{
  background:#171322!important;border:1px solid rgba(255,255,255,.28)!important;
  color:#f8f4fa!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.ghost:hover{
  background:#251a2c!important;border-color:rgba(225,59,142,.7)!important;
  box-shadow:none!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.fill{
  background:#80154e!important;border:1px solid #a52c71!important;
  color:#fff!important;font-weight:700!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn.fill:hover{
  background:#991b61!important;border-color:#bb3981!important;box-shadow:none!important;
}
.nd-match-filter-drawer .nd-match-filter-actions .nd-btn:focus-visible{
  outline:2px solid #f0c477!important;outline-offset:2px!important;
}

/* v0.2.111: Basic filters – stable two-column alignment, compact toggles. */
.nd-match-filter-drawer .nd-match-basic-fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start!important;gap:10px 12px!important;grid-auto-flow:row!important}
.nd-match-filter-drawer .nd-match-basic-fields>.nd-match-basic-toggles{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:2px 0 0!important;padding:0!important;align-items:center!important;min-height:24px!important}
.nd-match-filter-drawer .nd-match-basic-toggles>.nd-match-check{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;align-self:center!important;gap:8px!important;min-height:24px!important;height:auto!important;width:auto!important;padding:0!important;margin:0!important;position:relative!important;float:none!important;line-height:1.3!important}
.nd-match-filter-drawer .nd-match-basic-toggles>.nd-match-check::before,.nd-match-filter-drawer .nd-match-basic-toggles>.nd-match-check::after,.nd-match-filter-drawer .nd-match-basic-toggles>.nd-match-check>span::before,.nd-match-filter-drawer .nd-match-basic-toggles>.nd-match-check>span::after{content:none!important;display:none!important}
.nd-match-filter-drawer .nd-match-basic-toggles input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;position:static!important;float:none!important;flex:0 0 16px!important;width:16px!important;height:16px!important;min-height:16px!important;max-height:16px!important;opacity:1!important;visibility:visible!important;margin:0!important;padding:0!important;transform:none!important;vertical-align:middle!important}
.nd-match-filter-drawer .nd-match-basic-toggles>.nd-match-check>span{display:inline!important;position:static!important;flex:0 1 auto!important;width:auto!important;margin:0!important;padding:0!important;line-height:1.3!important;white-space:normal!important}
@media(max-width:360px){.nd-match-filter-drawer .nd-match-basic-fields{grid-template-columns:1fr!important}.nd-match-filter-drawer .nd-match-basic-toggles{grid-template-columns:1fr!important}}

/* v0.2.112: Keep filter actions visible on mobile, outside the scrollable form. */
.nd-match-filter-drawer{display:flex!important;flex-direction:column!important;min-height:0!important}
.nd-match-filter-drawer .nd-match-filter-panel{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding-bottom:16px!important;-webkit-overflow-scrolling:touch}
.nd-match-filter-drawer>.nd-match-filter-actions{position:relative!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;z-index:5!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important}
@media(max-width:600px){.nd-match-filter-drawer{height:100dvh!important;max-height:100dvh!important}.nd-match-filter-drawer .nd-match-filter-panel{padding-bottom:12px!important}.nd-match-filter-drawer>.nd-match-filter-actions{padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px))!important}}
@supports not (height:100dvh){@media(max-width:600px){.nd-match-filter-drawer{height:100vh!important;max-height:100vh!important}}}

/* v0.2.113 – consistent two-button footer on desktop and mobile. */
.nd-match-filter-drawer>.nd-match-filter-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important}
.nd-match-filter-drawer>.nd-match-filter-actions>.nd-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-width:0!important;white-space:nowrap!important}
.nd-match-filter-drawer .nd-match-reset-icon{width:17px;height:17px;flex:0 0 17px}
.nd-match-filter-drawer .nd-match-results-count{font:inherit;white-space:nowrap}
@media(max-width:390px){.nd-match-filter-drawer>.nd-match-filter-actions{gap:8px!important}.nd-match-filter-drawer>.nd-match-filter-actions>.nd-btn{font-size:12px!important;gap:5px!important;padding-left:6px!important;padding-right:6px!important}}

/* v0.2.114 – Lucide action icons. */
.nd-match-filter-drawer .nd-match-reset-icon,.nd-match-filter-drawer .nd-match-search-icon{width:16px!important;height:16px!important;flex:0 0 16px!important;display:block!important;stroke:currentColor!important}

/* v0.2.115 – City suggestions reuse registration endpoint; modal-scoped presentation. */
.nd-match-filter-drawer .nd-match-city-search{position:relative;min-width:0}
.nd-match-filter-drawer .nd-match-city-search>input{width:100%}
.nd-match-filter-drawer .nd-match-city-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:40;max-height:210px;overflow-y:auto;background:#171321;border:1px solid rgba(240,196,119,.35);border-radius:10px;box-shadow:0 10px 26px rgba(0,0,0,.4)}
.nd-match-filter-drawer .nd-match-city-suggestions[hidden]{display:none!important}
.nd-match-filter-drawer .nd-match-city-option{display:block;width:100%;padding:11px 12px;text-align:left;background:transparent;color:#fff;border:0;font:inherit;cursor:pointer}
.nd-match-filter-drawer .nd-match-city-option:hover,.nd-match-filter-drawer .nd-match-city-option:focus-visible{background:rgba(240,196,119,.12);outline:1px solid rgba(240,196,119,.45)}
.nd-match-filter-drawer .nd-match-filter-section:has(.nd-match-city-suggestions:not([hidden])){overflow:visible}

/* v0.2.116: Show city suggestions in the Plats section's normal flow.
   This prevents clipping and overlap with the Status section on desktop and mobile. */
.nd-match-filter-drawer .nd-match-city-suggestions:not([hidden]){position:relative!important;top:auto!important;left:auto!important;right:auto!important;z-index:auto!important;margin-top:4px!important;max-height:210px!important;overflow-y:auto!important}
.nd-match-filter-drawer .nd-match-filter-section:has(.nd-match-city-suggestions:not([hidden])){overflow:visible!important}

/* v0.2.128: Search-filter modal heading; no changes to other filter controls. */
.nd-match-filter-drawer .nd-match-filter-popover-head .nd-match-filter-heading{display:flex;flex-direction:row;align-items:center;gap:14px;min-width:0}
.nd-match-filter-drawer .nd-match-filter-heading-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:#23183f;border:1px solid rgba(174,137,255,.2);color:#c7a5ff}
.nd-match-filter-drawer .nd-match-filter-heading-icon svg{width:24px;height:24px}
.nd-match-filter-drawer .nd-match-filter-heading strong{font-size:clamp(1.1rem,2.8vw,1.55rem);line-height:1.25;letter-spacing:-.02em;color:#f5f1f8}
.nd-match-filter-drawer .nd-match-filter-heading strong span{font-size:inherit;color:inherit}
@media(max-width:560px){.nd-match-filter-drawer .nd-match-filter-heading-icon{width:44px;height:44px;flex-basis:44px}.nd-match-filter-drawer .nd-match-filter-popover-head .nd-match-filter-heading{gap:10px}}

/* v0.2.136 — original text-free artwork covers the full rounded empty-state card. */
.nd-match-grid:has(>.nd-match-empty-state){display:block}
.nd-match-empty-state{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:min(100%,680px);min-height:425px;margin:18px auto 30px;padding:180px 22px 32px;border:1px solid rgba(174,137,255,.23);border-radius:22px;background-color:#151120;background-position:center center;background-size:cover;background-repeat:no-repeat;overflow:hidden;text-align:center;color:#f6f1fb}
.nd-match-empty-title{margin:0 0 10px;font-size:clamp(1.25rem,3.5vw,1.65rem);line-height:1.25;color:#f7f2fb;font-weight:700}
.nd-match-empty-description{max-width:490px;margin:0 auto 22px;color:#c4b8d6;font-size:1rem;line-height:1.6}
.nd-match-empty-reset{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:9px 22px;border:1px solid #f0c477;border-radius:999px;background:transparent;color:#f6f0f8;font:inherit;cursor:pointer;transition:background .15s ease-out}
.nd-match-empty-reset:hover{background:rgba(240,196,119,.1)}
.nd-match-empty-reset:focus-visible{outline:3px solid #f0c477;outline-offset:3px}
.nd-match-empty-reset-icon{color:#f0c477;font-size:1.4em;line-height:1}
@media(max-width:560px){.nd-match-empty-state{min-height:370px;padding:140px 16px 26px}}
@media(prefers-reduced-motion:reduce){.nd-match-empty-reset{transition:none}}

/* v0.2.137 — place translated content below, never over, the illustration. */
.nd-match-empty-state{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;min-height:0;padding:0;background-image:none!important;background-color:#151120;overflow:hidden}
.nd-match-empty-art{display:block;width:100%;aspect-ratio:650/385;background-position:center;background-repeat:no-repeat;background-size:cover;flex:none}
.nd-match-empty-content{display:flex;flex-direction:column;align-items:center;padding:0 22px 32px;text-align:center}
.nd-match-empty-title{margin:0 0 10px}
.nd-match-empty-description{margin:0 auto 22px}
@media(max-width:560px){.nd-match-empty-state{min-height:0;padding:0}.nd-match-empty-content{padding:4px 16px 26px}}

/* v0.2.138 — quieter empty state, without changing translations or interactions. */
.nd-match-empty-state{width:min(100%,470px);margin:18px auto 30px;border-color:rgba(174,137,255,.16)}
.nd-match-empty-art{filter:brightness(.76) saturate(.68)}
.nd-match-empty-content{padding:6px 22px 28px}
@media(max-width:560px){.nd-match-empty-state{width:100%}.nd-match-empty-content{padding:6px 16px 24px}}

/* v0.2.143 — divider-matched subtle card borders; photo-only zoom preserved. */
body.nd-match-page-active .nd-match-card{border-color:rgba(255,255,255,.075)!important;box-shadow:none!important;transform:none!important}
body.nd-match-page-active .nd-match-card:hover{border-color:rgba(255,255,255,.075)!important;box-shadow:none!important;transform:none!important}
body.nd-match-page-active .nd-match-card .nd-match-media>img{transition:transform 250ms ease;transform:scale(1);transform-origin:center center}
@media (hover:hover) and (pointer:fine){
 body.nd-match-page-active .nd-match-card:hover .nd-match-media>img{transform:scale(1.04)}
}
@media (prefers-reduced-motion:reduce){
 body.nd-match-page-active .nd-match-card .nd-match-media>img{transition:none!important;transform:none!important}
}

/* v0.2.144: simplified profile cards. No change to card dimensions or photo zoom. */
body.nd-match-page-active .nd-match-card .nd-match-image-name{
  font-size:16px!important;color:#E3DEDA!important;
}
body.nd-match-page-active .nd-match-card .nd-match-card-location,
body.nd-match-page-active .nd-match-card .nd-match-city{
  font-size:13px!important;color:#E3DEDA!important;
}
body.nd-match-page-active .nd-match-card .nd-match-photo-count{
  position:absolute;top:10px;left:50%;transform:translateX(-50%);
  z-index:7;max-width:calc(100% - 100px);padding:4px 8px;
  border-radius:999px;background:rgba(7,10,23,.48);
  color:#E3DEDA;font-size:11px;font-weight:600;line-height:1.25;
  white-space:nowrap;pointer-events:none;
}

/* v0.2.145: align city with name and photo counter with status/heart. */
body.nd-match-page-active .nd-match-card .nd-match-card-badges:empty{display:none!important}
body.nd-match-page-active .nd-match-card .nd-match-card-info-row{
  justify-content:flex-start!important;text-align:left!important;
}
body.nd-match-page-active .nd-match-card .nd-match-card-location{
  display:block!important;width:100%!important;flex:0 0 100%!important;
  text-align:left!important;padding:0!important;margin:0!important;
  color:#E3DEDA!important;font-size:13px!important;
}
body.nd-match-page-active .nd-match-card .nd-match-card-location .nd-match-city{
  color:#E3DEDA!important;font-size:13px!important;
}
body.nd-match-page-active .nd-match-card .nd-match-photo-count{
  top:6px!important;display:flex;align-items:center;justify-content:center;
  min-height:28px;box-sizing:border-box;
}

/* v0.2.148: compact photo-count pill height only. */
body.nd-match-page-active .nd-match-card .nd-match-photo-count{min-height:20px!important;padding:2px 8px!important;}

/* v0.2.150: city regular weight, name/age remain bold. */
body.nd-match-page-active .nd-match-card .nd-match-card-location,
body.nd-match-page-active .nd-match-card .nd-match-card-location .nd-match-city,
body.nd-match-page-active .nd-match-card .nd-match-city{font-weight:400!important;}

/* v0.2.151: Quicksand for profile-card name, age and city only. */
body.nd-match-page-active .nd-match-card .nd-match-image-name,
body.nd-match-page-active .nd-match-card .nd-match-image-name *,
body.nd-match-page-active .nd-match-card .nd-match-card-location,
body.nd-match-page-active .nd-match-card .nd-match-card-location *,
body.nd-match-page-active .nd-match-card .nd-match-city{font-family:"Quicksand",sans-serif!important;}

/* v0.2.152: Quicksand also for photo-count pill; no other style changes. */
body.nd-match-page-active .nd-match-card .nd-match-photo-count,
body.nd-match-page-active .nd-match-card .nd-match-photo-count *{font-family:"Quicksand",sans-serif!important;}

/* v0.2.153: subtle top-only shading on cards containing a real profile image. */
body.nd-match-page-active .nd-match-card .nd-match-media:has(> img)::before{
  content:"";position:absolute;inset:0 0 auto 0;height:60px;z-index:2;
  background:linear-gradient(to bottom,rgba(7,10,23,.35),rgba(7,10,23,0));
  pointer-events:none;
}

/* v0.2.154: 5% taller image/card, width and existing overlays unchanged.
   Previous ratio 3/4 (0.75), new ratio 5/7 (0.7142857). */
body.nd-match-page-active .nd-match-card .nd-match-media{
  aspect-ratio:5/7!important;
}

/* v0.2.155: softer, more gradual bottom image gradient. */
body.nd-match-page-active .nd-match-card .nd-match-media::after{
  inset:28% 0 0!important;
  background:linear-gradient(to bottom,rgba(7,10,23,0) 0%,rgba(7,10,23,.10) 23%,rgba(7,10,23,.30) 49%,rgba(7,10,23,.64) 76%,rgba(7,10,23,.88) 100%)!important;
}

/* v0.2.161 – recipient opted out of messages */
body.nd-match-page-active .nd-match-card .nd-match-chat-button:disabled,body.nd-match-page-active .nd-match-card .nd-match-chat-button:disabled:hover{background:#4c4c56!important;border-color:#64646d!important;color:#bcbcc3!important;opacity:.72!important;cursor:not-allowed!important;box-shadow:none!important;transform:none!important;pointer-events:none!important}
