/* SoulMates Web v2 — новая браузерная композиция по утверждённому референсу.
   Этот файл подключается последним и намеренно переопределяет старый mobile-first shell. */

:root {
    --v2-bg: #031126;
    --v2-bg-2: #071b37;
    --v2-panel: rgba(7, 27, 55, .82);
    --v2-panel-strong: rgba(7, 27, 55, .94);
    --v2-panel-soft: rgba(17, 50, 91, .54);
    --v2-line: rgba(112, 184, 255, .22);
    --v2-line-strong: rgba(111, 218, 255, .42);
    --v2-cyan: #62d9ff;
    --v2-blue: #2c8cff;
    --v2-blue-2: #1267df;
    --v2-text: #f8fbff;
    --v2-muted: #a9bbd3;
    --v2-orange: #ff783c;
    --v2-orange-2: #ff4f2b;
    --v2-warm: #ffc262;
    --v2-radius-lg: 26px;
    --v2-radius-md: 18px;
    --v2-radius-sm: 13px;
    --v2-shadow: 0 24px 60px rgba(0, 5, 22, .34);
    --v2-sidebar: 246px;
}

html { background: var(--v2-bg); color-scheme: dark; }
body {
    overflow: hidden;
    color: var(--v2-text);
    background: var(--v2-bg);
    letter-spacing: .002em;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

#app {
    min-height: 100dvh;
    background:
        linear-gradient(90deg, rgba(2, 10, 26, .28), rgba(3, 18, 42, .05) 38%, rgba(3, 16, 38, .12)),
        url("../img/background-web-4k.jpg") center / cover fixed no-repeat;
}
#app::before {
    z-index: 0;
    opacity: 1;
    background:
        radial-gradient(circle at 76% 14%, rgba(30, 142, 255, .20), transparent 25%),
        linear-gradient(180deg, rgba(2, 10, 26, .30), rgba(3, 15, 36, .46) 62%, rgba(2, 10, 26, .64));
}
#app::after {
    width: min(64vw, 980px);
    height: 92dvh;
    left: 70%;
    opacity: .10;
}

.glass-panel,
.card,
.card-blue,
.sheet,
.focus-sheet {
    color: var(--v2-text);
    background: linear-gradient(180deg, rgba(11, 38, 72, .86), rgba(5, 23, 48, .86));
    border: 1px solid var(--v2-line);
    box-shadow: var(--v2-shadow), inset 0 1px 0 rgba(255,255,255,.025);
    backdrop-filter: blur(22px) saturate(118%);
    -webkit-backdrop-filter: blur(22px) saturate(118%);
}

/* ---------- Shell / navigation ---------- */
.shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: var(--v2-sidebar) minmax(0, 1fr);
    gap: 18px;
    height: 100dvh;
    padding: 18px;
}

.shell-workspace {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.view {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 28px;
    scrollbar-width: thin;
    scrollbar-color: rgba(98, 217, 255, .36) transparent;
}

.nav {
    order: initial;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    padding: 18px 14px 14px;
    background: linear-gradient(180deg, rgba(7, 28, 58, .88), rgba(5, 22, 47, .82));
    border: 1px solid rgba(103, 187, 255, .25);
    border-radius: 27px;
    box-shadow: 0 26px 70px rgba(0, 7, 26, .35), inset 0 1px 0 rgba(255,255,255,.025);
    backdrop-filter: blur(22px) saturate(122%);
    -webkit-backdrop-filter: blur(22px) saturate(122%);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 8px 8px 18px;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.sidebar-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 8, 28, .32));
}
.sidebar-brand-copy { min-width: 0; display: grid; gap: 1px; }
.sidebar-brand-copy strong { font-size: 23px; line-height: 1; letter-spacing: -.035em; }
.sidebar-brand-copy small { color: var(--v2-cyan); font-size: 14px; white-space: nowrap; }

.nav-primary { display: grid; gap: 7px; }
.nav-secondary {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(127, 190, 244, .12);
}
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    width: 100%;
    min-height: 50px;
    padding: 9px 12px;
    color: rgba(226, 238, 251, .72);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: transform .16s ease, color .16s ease, background .16s ease, border-color .16s ease;
}
.nav-item:hover {
    transform: translateX(2px);
    color: #fff;
    background: rgba(47, 127, 223, .10);
}
.nav-item-active {
    color: #fff;
    background: linear-gradient(100deg, rgba(31, 113, 218, .38), rgba(23, 78, 160, .24));
    border-color: rgba(82, 184, 255, .28);
    box-shadow: inset 0 0 22px rgba(30, 137, 255, .08);
}
.nav-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}
.nav-mark svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nav-mark svg .fill { fill: currentColor; stroke: none; }
.nav-title { display: block; font-size: 14px; font-weight: 560; }
.nav-badge {
    top: -7px;
    left: 15px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    line-height: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--v2-orange), var(--v2-orange-2));
    border: 2px solid #0a2548;
}
.nav-item-secondary { color: rgba(219, 232, 247, .62); }
.sidebar-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 7px 9px 4px;
    color: rgba(180, 203, 228, .56);
    font-size: 13px;
    line-height: 1.35;
}
.sidebar-note-dot {
    width: 7px;
    height: 7px;
    flex: none;
    margin-top: 3px;
    border-radius: 50%;
    background: #40d695;
    box-shadow: 0 0 12px rgba(64,214,149,.85);
}

.shell-notice {
    position: relative;
    z-index: 4;
    margin-bottom: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(102, 191, 255, .20);
    border-radius: 14px;
    background: rgba(5, 26, 53, .86);
    color: var(--v2-muted);
    box-shadow: none;
}

/* ---------- Shared typography and controls ---------- */
h1, h2, h3 { color: #fff; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--v2-cyan);
    font-size: 14px;
    font-weight: 680;
    letter-spacing: .02em;
    text-transform: none;
}
.eyebrow::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--v2-cyan);
    box-shadow: 0 0 12px var(--v2-cyan);
}

.button {
    min-height: 44px;
    border-radius: 13px;
    border: 1px solid rgba(82, 176, 255, .28);
    background: linear-gradient(180deg, #247fdc, #1763ba);
    box-shadow: 0 10px 24px rgba(5, 68, 145, .22), inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .16s ease, filter .16s ease, border-color .16s ease;
}
.button:hover:not(:disabled) { filter: brightness(1.09); border-color: rgba(101,216,255,.50); }
.button:active:not(:disabled) { transform: translateY(1px) scale(.995); }
.button-accent {
    background: linear-gradient(180deg, #ff9148, #f04a28);
    border-color: rgba(255, 193, 118, .48);
    box-shadow: 0 14px 30px rgba(240, 76, 40, .23), inset 0 1px 0 rgba(255,255,255,.20);
}
.button-quiet,
.card .button-quiet {
    color: var(--v2-text);
    background: rgba(8, 30, 59, .34);
    border-color: rgba(112, 181, 237, .20);
    text-decoration: none;
    box-shadow: none;
}
.button-quiet:hover:not(:disabled) { background: rgba(45, 112, 191, .16); }
input, textarea, select {
    min-height: 46px;
    color: #fff;
    background: rgba(3, 19, 42, .70);
    border: 1px solid rgba(112, 181, 237, .24);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
input:focus, textarea:focus, select:focus {
    outline: 1px solid rgba(98, 217, 255, .72);
    border-color: rgba(98, 217, 255, .72);
    box-shadow: 0 0 0 4px rgba(98,217,255,.07);
}

/* ---------- Search / feed ---------- */
.discover-page {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 26px 24px 42px;
}
.discover-header { margin-bottom: 18px; }
.discover-heading { max-width: 820px; }
.discover-heading h1 {
    margin: 6px 0 8px;
    font-size: clamp(31px, 3vw, 48px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 700;
}
.discover-heading p {
    margin: 0;
    color: var(--v2-muted);
    font-size: 14px;
}
.discover-toolbar {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) auto auto auto;
    gap: 9px;
    margin-top: 18px;
    max-width: 1030px;
}
.toolbar-pill,
.toolbar-filter-button {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 14px;
    color: var(--v2-text);
    background: rgba(5, 28, 60, .68);
    border: 1px solid rgba(100, 174, 238, .22);
    border-radius: 14px;
    backdrop-filter: blur(15px);
}
.toolbar-pill span:not(.toolbar-icon) { display: grid; gap: 1px; }
.toolbar-pill small { color: var(--v2-muted); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.toolbar-pill strong { font-size: 12px; font-weight: 600; white-space: nowrap; }
.toolbar-icon { color: var(--v2-cyan); font-size: 18px; }
.toolbar-filter-button {
    justify-content: center;
    min-width: 112px;
    cursor: pointer;
    font-weight: 650;
}
.toolbar-filter-button:hover { border-color: rgba(98,217,255,.48); background: rgba(22, 78, 141, .62); }

.discover-layout {
    display: grid;
    grid-template-columns: minmax(560px, 1.65fr) minmax(218px, .58fr) minmax(274px, .72fr);
    gap: 14px;
    align-items: start;
}
.candidate-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(104, 179, 241, .25);
    border-radius: var(--v2-radius-lg);
    background: linear-gradient(180deg, rgba(8, 35, 70, .92), rgba(5, 25, 51, .94));
    box-shadow: var(--v2-shadow), inset 0 1px 0 rgba(255,255,255,.025);
    backdrop-filter: blur(20px);
}
.candidate-safety { position: absolute; z-index: 8; top: 14px; right: 14px; }
.candidate-safety .safety-mark { background: rgba(2,15,33,.52); border-color: rgba(255,255,255,.16); backdrop-filter: blur(12px); }
.candidate-gallery { padding: 12px 12px 0; }
.candidate-media-stage {
    position: relative;
    height: clamp(430px, 52vh, 610px);
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #06172d;
    isolation: isolate;
    touch-action: pan-y;
}
.candidate-photo-blur,
.profile-photo-blur {
    position: absolute;
    inset: -30px;
    z-index: -1;
    background-position: center;
    background-size: cover;
    filter: blur(30px) saturate(120%) brightness(.58);
    transform: scale(1.08);
    opacity: .74;
}
.candidate-media-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,.02), transparent 65%, rgba(1,10,24,.18));
}
.candidate-main-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}
.gallery-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    padding: 0 0 3px;
    color: #fff;
    background: rgba(4, 20, 42, .48);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform .16s ease, background .16s ease;
}
.gallery-arrow:hover { background: rgba(20, 75, 134, .74); }
.gallery-arrow-left { left: 14px; }
.gallery-arrow-right { right: 14px; }
.gallery-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 5px 7px;
    border-radius: 999px;
    background: rgba(2, 16, 34, .40);
    backdrop-filter: blur(8px);
}
.gallery-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}
.gallery-dot-active { width: 17px; border-radius: 99px; background: var(--v2-cyan); box-shadow: 0 0 12px rgba(98,217,255,.6); }
.candidate-thumbnails {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(76px, 1fr);
    gap: 8px;
    overflow-x: auto;
    padding: 9px 1px 2px;
    scrollbar-width: none;
}
.candidate-thumbnails::-webkit-scrollbar { display: none; }
.candidate-thumb {
    height: 70px;
    padding: 2px;
    overflow: hidden;
    background: rgba(6, 24, 48, .72);
    border: 1px solid rgba(107, 177, 235, .18);
    border-radius: 11px;
    cursor: pointer;
}
.candidate-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.candidate-thumb-active { border-color: var(--v2-cyan); box-shadow: 0 0 0 1px var(--v2-cyan), 0 0 18px rgba(98,217,255,.18); }
.candidate-info { padding: 14px 18px 18px; }
.candidate-heading-row { display: flex; align-items: flex-start; gap: 12px; }
.candidate-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.05;
    letter-spacing: -.035em;
}
.verified-badge {
    display: inline-grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    background: #258dff;
    font-size: 12px;
    box-shadow: 0 0 16px rgba(37,141,255,.35);
}
.candidate-meta { margin: 6px 0 0; color: var(--v2-muted); font-size: 12px; }
.candidate-about { margin: 12px 0 0; color: #d8e5f3; font-size: 13px; line-height: 1.5; max-width: 750px; }
.candidate-info > div[style*="flex-wrap"] { margin-top: 12px !important; gap: 6px !important; }
.candidate-info > div[style*="flex-wrap"] .hint {
    padding: 5px 9px !important;
    color: #d7e8f8 !important;
    background: rgba(72, 134, 200, .13) !important;
    border: 1px solid rgba(109, 177, 234, .14);
    font-size: 14px;
}
.candidate-interest-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.interest-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 999px;
    background: rgba(55, 97, 155, .12);
    color: #dbe9f8;
    font-size: 14px;
}
.interest-pill-icon { font-size: 13px; }
.interest-music { color: #ff835f !important; }
.interest-film { color: #b495ff !important; }
.interest-series { color: #a7a1ff !important; }
.interest-game { color: #6ac9ff !important; }
.interest-book { color: #5ce6c1 !important; }
.interest-anime { color: #ff84ca !important; }
.candidate-no-common { margin: 12px 0 0; color: var(--v2-muted); font-size: 12px; }

.match-panel,
.filters-panel { border-radius: var(--v2-radius-lg); }
.match-panel {
    position: sticky;
    top: 18px;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 16px 18px;
    text-align: center;
}
.match-ring {
    --match: 0;
    position: relative;
    width: 138px;
    height: 138px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(from 210deg, #42baff 0%, #48ddff calc(var(--match) * .72%), #ffd26b calc(var(--match) * 1%), rgba(54, 100, 157, .26) 0);
    box-shadow: 0 0 30px rgba(41, 159, 255, .20);
}
.match-ring::before { content:""; position:absolute; inset:9px; border-radius:50%; background:#071d39; border:1px solid rgba(130,196,248,.18); }
.match-ring-core { position: relative; z-index: 1; width: 84px; height: 84px; display:grid; place-items:center; border-radius:50%; background: radial-gradient(circle, rgba(25,95,160,.38), rgba(4,24,52,.74)); }
.match-ring-core img { width: 62px; height: 62px; object-fit: contain; }
.match-percent { margin-top: 14px; font-size: 36px; line-height: 1; letter-spacing: -.04em; }
.match-title { margin-top: 6px; color: var(--v2-cyan); font-size: 14px; font-weight: 700; }
.match-caption { margin: 4px 0 0; color: var(--v2-muted); font-size: 14px; }
.match-category-icons { display:flex; gap:7px; margin-top:14px; }
.match-category {
    width: 29px; height: 29px; display:grid; place-items:center;
    border-radius: 50%; background: rgba(43, 91, 149, .24); border: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}
.match-details { width:100%; display:grid; gap:9px; margin-top:18px; padding-top:17px; border-top:1px solid rgba(118,183,237,.12); }
.match-detail { display:flex; align-items:center; gap:8px; min-width:0; color:#c0d0e2; font-size: 14px; text-align:left; }
.match-detail-icon { width:22px; flex:none; text-align:center; }
.match-detail span:last-child { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.match-actions { width:100%; display:grid; gap:8px; margin-top:auto; padding-top:18px; }
.like-button { font-size:14px; }
.like-button span:first-child { font-size:18px; }
.skip-button { min-height: 40px; }

.filters-panel {
    position: sticky;
    top: 18px;
    padding: 20px 17px 16px;
}
.filter-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.filter-head h3 { margin:0; font-size:19px; }
.filter-head p { margin:3px 0 0; color:var(--v2-muted); font-size: 13px; }
.filter-close { display:none; width:32px; height:32px; color:#fff; background:rgba(255,255,255,.06); border:1px solid var(--v2-line); border-radius:50%; cursor:pointer; }
.filter-section { padding:16px 0; border-bottom:1px solid rgba(113,180,237,.12); }
.filter-section-head { display:flex; justify-content:space-between; gap:12px; margin-bottom:12px; font-size:12px; }
.filter-section-value { color:var(--v2-muted); font-weight:500; }
.filter-select { min-height:42px; padding:8px 11px; font-size:12px; }
.dual-range-wrap { position:relative; height:30px; }
.dual-range-track {
    --left: 0%; --right: 0%;
    position:absolute; top:13px; left:1px; right:1px; height:4px; border-radius:99px;
    background: linear-gradient(90deg, rgba(70,122,180,.35) var(--left), #34baff var(--left), #34baff calc(100% - var(--right)), rgba(70,122,180,.35) calc(100% - var(--right)));
}
.dual-range {
    position:absolute; inset:0; width:100%; height:30px; padding:0; margin:0;
    pointer-events:none; appearance:none; -webkit-appearance:none; background:transparent; border:0; outline:0; box-shadow:none;
}
.dual-range::-webkit-slider-thumb { pointer-events:auto; appearance:none; -webkit-appearance:none; width:17px; height:17px; border-radius:50%; border:2px solid #8be7ff; background:#48c7ff; box-shadow:0 0 0 4px rgba(72,199,255,.08); cursor:pointer; }
.dual-range::-moz-range-thumb { pointer-events:auto; width:15px; height:15px; border-radius:50%; border:2px solid #8be7ff; background:#48c7ff; box-shadow:0 0 0 4px rgba(72,199,255,.08); cursor:pointer; }
.range-ticks { display:flex; justify-content:space-between; margin-top:-1px; color:rgba(179,201,225,.58); font-size:9px; }
.filter-toggle { display:flex; align-items:center; gap:12px; padding:7px 0; margin:0; cursor:pointer; }
.filter-toggle-copy { display:grid; gap:1px; flex:1; }
.filter-toggle-copy strong { color:#eaf4ff; font-size: 14px; font-weight:600; }
.filter-toggle-copy small { color:var(--v2-muted); font-size:9px; line-height:1.3; }
.sm-switch { position:relative; width:36px; height:21px; flex:none; }
.sm-toggle-input { position:absolute; opacity:0; pointer-events:none; }
.sm-switch::before { content:""; position:absolute; inset:0; border-radius:99px; background:rgba(93,139,188,.28); border:1px solid rgba(128,187,237,.20); transition:.16s ease; }
.sm-switch-knob { position:absolute; z-index:1; top:3px; left:3px; width:15px; height:15px; border-radius:50%; background:#c4d6e7; transition:.16s ease; }
.sm-switch:has(.sm-toggle-input:checked)::before { background:linear-gradient(90deg,#1c74d8,#31c5ff); border-color:rgba(103,220,255,.58); }
.sm-switch:has(.sm-toggle-input:checked) .sm-switch-knob { transform:translateX(15px); background:#fff; }
.filter-apply { margin-top:15px; }
.advanced-filter { margin-top:7px; min-height:38px; font-size: 14px; }

.discover-layout-empty { grid-template-columns:minmax(0,1fr) minmax(290px,.42fr); }
.empty-state { min-height:520px; display:grid; place-items:center; align-content:center; gap:12px; padding:34px; text-align:center; border-radius:var(--v2-radius-lg); }
.empty-state img { width:110px; }
.empty-state h2 { margin:3px 0 0; font-size:28px; }
.empty-state p { max-width:500px; margin:0; color:var(--v2-muted); }
.empty-state .button { width:auto; min-width:220px; margin-top:8px; }

.match-overlay { position:fixed; z-index:100; inset:0; display:grid; place-items:center; padding:20px; background:rgba(1,9,22,.72); backdrop-filter:blur(14px); }
.match-modal { width:min(100%,430px); padding:30px; border-radius:28px; text-align:center; }
.match-modal img { width:104px; margin-bottom:12px; }
.match-modal h2 { margin:8px 0; font-size:28px; }
.match-modal p { margin:0 0 20px; color:var(--v2-muted); line-height:1.5; }
.match-modal .button + .button { margin-top:8px; }

/* ---------- Profile ---------- */
.profile-page {
    width:min(100%, 1420px);
    margin:0 auto;
    padding:28px 24px 46px;
}
.profile-page-header { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:18px; }
.profile-page-header h1 { margin:6px 0 7px; font-size:clamp(31px,3.2vw,46px); letter-spacing:-.04em; }
.profile-page-header p { margin:0; color:var(--v2-muted); }
.header-secondary-action { min-height:42px; padding:0 15px; color:#dcecff; background:rgba(6,31,63,.64); border:1px solid var(--v2-line); border-radius:12px; cursor:pointer; }
.profile-editor-layout { display:grid; grid-template-columns:minmax(360px,.72fr) minmax(520px,1.28fr); gap:15px; align-items:start; }
.profile-editor-new { grid-template-columns:minmax(0,860px); justify-content:center; }
.profile-photos-panel,
.profile-form-panel,
.profile-interests-panel { border-radius:var(--v2-radius-lg); }
.profile-photos-panel { padding:19px; }
.profile-form-panel { padding:21px; }
.profile-interests-panel { margin-top:15px; padding:21px; }
.panel-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin-bottom:16px; }
.panel-heading h2 { margin:5px 0 0; font-size:22px; }
.panel-heading > p { max-width:300px; margin:3px 0 0; color:var(--v2-muted); font-size: 14px; line-height:1.4; text-align:right; }
.profile-photo-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.profile-photo-tile { min-width:0; padding:7px; border:1px solid rgba(100,172,231,.15); border-radius:15px; background:rgba(4,23,48,.56); transition:transform .16s ease, opacity .16s ease, border-color .16s ease; }
.profile-photo-tile[draggable="true"] { cursor:grab; }
.profile-photo-tile.is-dragging { opacity:.48; transform:scale(.98); }
.profile-photo-main { border-color:rgba(98,217,255,.46); box-shadow:0 0 0 1px rgba(98,217,255,.12); }
.profile-photo-visual { position:relative; height:220px; overflow:hidden; display:grid; place-items:center; border-radius:11px; background:#06172d; isolation:isolate; }
.profile-photo-image { position:relative; z-index:1; width:100%; height:100%; object-fit:contain; }
.main-photo-badge { position:absolute; z-index:3; left:8px; top:8px; padding:5px 8px; border-radius:999px; color:#05213c; background:var(--v2-cyan); font-size:9px; font-weight:760; text-transform:uppercase; letter-spacing:.04em; }
.photo-delete { position:absolute; z-index:3; right:8px; top:8px; width:27px; height:27px; padding:0; color:#fff; background:rgba(2,14,31,.66); border:1px solid rgba(255,255,255,.16); border-radius:50%; cursor:pointer; }
.profile-photo-controls { display:grid; grid-template-columns:36px 1fr 36px; gap:5px; margin-top:7px; }
.photo-control { min-height:31px; padding:0 6px; color:#dbeafa; background:rgba(20,60,105,.40); border:1px solid rgba(112,181,237,.16); border-radius:9px; cursor:pointer; }
.photo-control:disabled { opacity:.28; cursor:default; }
.photo-control-focus { font-size: 13px; }
.photo-status { display:block; margin-top:5px; color:var(--v2-muted); font-size:9px; }
.profile-photo-add { min-height:260px; display:grid; place-items:center; align-content:center; gap:6px; color:#dcecff; background:rgba(17,52,91,.28); border:1px dashed rgba(104,192,255,.34); border-radius:15px; cursor:pointer; }
.profile-photo-add span { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; background:rgba(47,139,232,.18); color:var(--v2-cyan); font-size:30px; font-weight:200; }
.profile-photo-add strong { font-size:12px; }
.profile-photo-add small { color:var(--v2-muted); font-size:9px; }
.profile-photo-empty { margin-top:11px; padding:12px; border-radius:12px; color:var(--v2-muted); background:rgba(26,76,126,.18); font-size: 14px; line-height:1.45; }
.section-loading { min-height:240px; display:grid; place-items:center; color:var(--v2-muted); }

.profile-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.profile-field { position:relative; min-width:0; margin:0; }
.profile-field-wide { grid-column:1 / -1; }
.profile-field label { margin:0 0 6px; color:#c8d9ea; font-size: 13px; font-weight:650; text-transform:uppercase; letter-spacing:.06em; }
.profile-field small { display:block; margin-top:5px; color:var(--v2-muted); font-size:9px; }
.profile-field textarea { min-height:110px; resize:vertical; }
.profile-suggestions { position:absolute; z-index:20; top:100%; left:0; right:0; max-height:240px; overflow:auto; margin-top:5px; padding:5px; border:1px solid var(--v2-line); border-radius:12px; background:#071d39; box-shadow:0 18px 40px rgba(0,0,0,.28); }
.suggestion-row { display:block; width:100%; padding:9px 10px; color:#e9f4ff; background:transparent; border:0; border-radius:8px; text-align:left; cursor:pointer; }
.suggestion-row:hover { background:rgba(55,132,217,.16); }
.profile-subsection { margin-top:18px; padding-top:17px; border-top:1px solid rgba(112,181,237,.13); }
.profile-subsection-title { display:flex; justify-content:space-between; gap:18px; margin-bottom:11px; }
.profile-subsection-title h3 { margin:0; font-size:15px; }
.profile-subsection-title p { max-width:380px; margin:0; color:var(--v2-muted); font-size:9px; text-align:right; }
.choice-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.choice-card { display:flex; align-items:center; gap:10px; min-height:60px; margin:0; padding:10px; border:1px solid rgba(112,181,237,.16); border-radius:13px; background:rgba(7,32,65,.40); cursor:pointer; }
.choice-check { position:relative; width:26px; height:26px; display:grid; place-items:center; flex:none; border:1px solid rgba(130,190,239,.27); border-radius:8px; background:rgba(26,72,122,.26); }
.choice-input { position:absolute; opacity:0; }
.choice-check span { opacity:0; color:#071d39; font-size:14px; font-weight:800; }
.choice-card:has(.choice-input:checked) { border-color:rgba(98,217,255,.42); background:linear-gradient(135deg,rgba(36,112,194,.30),rgba(15,66,125,.24)); }
.choice-card:has(.choice-input:checked) .choice-check { background:var(--v2-cyan); border-color:var(--v2-cyan); }
.choice-card:has(.choice-input:checked) .choice-check span { opacity:1; }
.choice-copy { display:grid; gap:2px; }
.choice-copy strong { font-size: 14px; }
.choice-copy small { color:var(--v2-muted); font-size:9px; }
.profile-save-row { display:flex; justify-content:flex-end; margin-top:18px; }
.profile-save-row .button { width:auto; min-width:210px; }
.onboarding-note { display:flex; align-items:center; gap:14px; max-width:860px; margin:0 auto 14px; padding:13px 16px; border-radius:16px; }
.onboarding-note img { width:46px; }
.onboarding-note strong { font-size:12px; }
.onboarding-note p { margin:3px 0 0; color:var(--v2-muted); font-size: 13px; }

.interest-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.interest-category-card { min-width:0; padding:13px; border:1px solid rgba(112,181,237,.14); border-radius:15px; background:linear-gradient(145deg,rgba(16,55,96,.48),rgba(5,27,55,.46)); }
.interest-category-head { display:flex; align-items:center; gap:9px; }
.interest-category-icon { width:32px; height:32px; display:grid; place-items:center; border-radius:10px; background:rgba(66,131,199,.15); font-size:15px; }
.interest-category-head > div { display:grid; gap:1px; }
.interest-category-head strong { color:#edf7ff; font-size:12px; }
.interest-category-head small { color:var(--v2-muted); font-size:9px; }
.interest-category-names { display:flex; flex-wrap:wrap; gap:5px; min-height:56px; margin-top:11px; align-content:flex-start; }
.interest-category-names span { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:4px 7px; border-radius:999px; color:#ccdded; background:rgba(104,161,217,.10); font-size:9px; }
.interest-category-empty { min-height:56px; margin:11px 0 0; color:var(--v2-muted); font-size:9px; }
.interest-edit { width:100%; min-height:33px; margin-top:8px; color:#cfeeff; background:rgba(25,89,153,.18); border:1px solid rgba(104,188,255,.20); border-radius:9px; font-size: 13px; cursor:pointer; }

/* ---------- About ---------- */
.about-page { width:min(100%,1320px); margin:0 auto; padding:28px 24px 50px; }
.about-hero { min-height:330px; display:grid; grid-template-columns:1.45fr .55fr; align-items:center; gap:28px; padding:34px; border-radius:30px; overflow:hidden; }
.about-hero h1 { max-width:800px; margin:7px 0 12px; font-size:clamp(34px,4vw,58px); line-height:1.02; letter-spacing:-.05em; }
.about-hero-copy > p { max-width:730px; margin:0; color:#bdd0e3; font-size:15px; line-height:1.55; }
.about-hero-actions { display:flex; align-items:center; gap:9px; margin-top:22px; flex-wrap:wrap; }
.about-hero-actions .button { width:auto; min-width:160px; text-decoration:none; }
.about-mail { background:linear-gradient(180deg,#227ad6,#165baa); }
.donate-note { color:var(--v2-muted); font-size: 13px; max-width:280px; }
.about-hero-mark { display:grid; place-items:center; }
.about-hero-mark img { width:min(100%,220px); filter:drop-shadow(0 18px 40px rgba(12,112,194,.28)); }
.about-feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:14px; }
.about-feature { min-height:220px; padding:21px; border-radius:21px; }
.about-feature-icon { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; color:var(--v2-cyan); background:rgba(48,129,214,.14); border:1px solid rgba(98,217,255,.17); font-size:18px; }
.about-feature h3 { margin:28px 0 7px; font-size:16px; }
.about-feature p { margin:0; color:var(--v2-muted); font-size: 14px; line-height:1.55; }
.about-money-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:14px; }
.about-list-card { padding:24px; border-radius:23px; }
.about-list-card-accent { border-color:rgba(98,217,255,.32); background:linear-gradient(155deg,rgba(10,52,96,.92),rgba(5,25,51,.90)); }
.about-list-card h2 { margin:0 0 7px; font-size:22px; }
.about-list-card > p { margin:0; color:var(--v2-muted); font-size: 14px; line-height:1.5; }
.about-list-card ul { display:grid; gap:10px; margin:18px 0; padding:0; list-style:none; }
.about-list-card li { display:flex; gap:9px; color:#dceafa; font-size: 14px; }
.about-list-card li > span:first-child { color:var(--v2-cyan); }
.about-card-footer { padding-top:14px; border-top:1px solid rgba(112,181,237,.12); }
.about-footer { display:flex; justify-content:space-between; gap:20px; padding:20px 4px 0; color:rgba(177,200,225,.58); font-size: 13px; }

/* ---------- Existing pages brought into the same design system ---------- */
.column { max-width:1180px; padding:28px 24px 46px; }
.column-narrow { max-width:1180px; }
.topbar { max-width:1180px; min-height:64px; margin:0 auto; padding:20px 24px 0; }
.topbar h2 { font-size:25px; text-align:left; letter-spacing:-.03em; }
.topbar > span:first-child { display:none; }
.topbar .icon-button { flex:none; }
.card { border-radius:19px; padding:18px; }
.card + .card { margin-top:10px; }
.card-row { border-radius:16px; }

.switch { width:max-content; max-width:100%; margin:2px 0 18px; padding:4px; border-radius:13px; background:rgba(5,27,56,.64); }
.switch-item { min-width:145px; min-height:39px; border-radius:10px; }
.switch-item-active { background:linear-gradient(180deg,rgba(41,120,206,.38),rgba(26,81,151,.33)); }
.pane-body { display:grid; gap:11px; }
.tip { border-radius:15px; }
.tip-cover { border-radius:11px; }
.event { border-radius:20px; overflow:hidden; }
.event-cover { height:210px; }
.chips { gap:6px; }
.chip { border-radius:999px; }

/* Messenger: existing three-pane logic, new visual shell. */
.messenger { height:100%; max-width:1500px; margin:0 auto; padding:20px; gap:12px; }
.messenger-three { grid-template-columns:300px minmax(460px,1fr) 260px; }
.pane-list,
.conversation,
.rail {
    border:1px solid rgba(108,180,240,.20);
    border-radius:22px;
    background:linear-gradient(180deg,rgba(7,29,59,.88),rgba(5,23,48,.88));
    box-shadow:var(--v2-shadow);
    backdrop-filter:blur(18px);
}
.pane-list { padding:12px; }
.pane-title { padding:10px 6px; font-size:18px; }
.conversation { overflow:hidden; }
.rail { padding:15px; }
.rail-photo { border-radius:16px; }

/* Settings and form pages: remove old white-card feeling. */
.field label, .form-label { color:#cbddec; font-size: 13px; text-transform:uppercase; letter-spacing:.05em; }
.notice { border-radius:14px; }
.safety-list { color:#cbdbea; }

/* Landing/auth also inherit the same navy/cyan language without changing flow. */
.landing section { width:min(100% - 36px,680px); }
.landing-mark { width:min(42vw,180px); }
.screen-center .column { max-width:520px; }
.screen-center .card { border-radius:24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1420px) {
    :root { --v2-sidebar: 220px; }
    .discover-page { padding-left:18px; padding-right:18px; }
    .discover-layout { grid-template-columns:minmax(520px,1.55fr) minmax(205px,.56fr) minmax(250px,.68fr); gap:11px; }
    .candidate-media-stage { height:clamp(410px,49vh,560px); }
    .match-panel { padding-left:13px; padding-right:13px; }
    .filters-panel { padding-left:14px; padding-right:14px; }
}

@media (max-width: 1240px) {
    .discover-layout { grid-template-columns:minmax(500px,1fr) 220px; }
    .filters-panel {
        position:fixed;
        z-index:80;
        top:18px;
        right:18px;
        bottom:18px;
        width:min(330px,calc(100vw - 36px));
        overflow:auto;
        transform:translateX(calc(100% + 34px));
        transition:transform .22s ease;
    }
    body.filters-open .filters-panel { transform:none; }
    body.filters-open::after { content:""; position:fixed; z-index:70; inset:0; background:rgba(1,8,20,.54); backdrop-filter:blur(5px); }
    .filter-close { display:grid; place-items:center; }
    .discover-layout-empty { grid-template-columns:1fr; }
    .profile-editor-layout { grid-template-columns:360px minmax(0,1fr); }
    .interest-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .about-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1040px) {
    :root { --v2-sidebar: 196px; }
    .shell { gap:12px; padding:12px; }
    .sidebar-brand-copy strong { font-size:19px; }
    .sidebar-logo { width:42px; height:42px; }
    .nav { padding:14px 10px 10px; }
    .nav-item { padding:8px 10px; }
    .discover-layout { grid-template-columns:minmax(0,1fr); }
    .match-panel { position:relative; top:auto; min-height:auto; display:grid; grid-template-columns:auto 1fr; column-gap:16px; align-items:center; text-align:left; padding:16px; }
    .match-ring { grid-row:1 / span 5; width:112px; height:112px; }
    .match-ring-core { width:70px; height:70px; }
    .match-ring-core img { width:52px; height:52px; }
    .match-percent { margin:0; font-size:31px; }
    .match-title, .match-caption { margin-top:2px; }
    .match-category-icons { margin-top:8px; }
    .match-details { display:none; }
    .match-actions { grid-column:1 / -1; grid-template-columns:1fr 120px; margin-top:12px; padding-top:12px; }
    .profile-editor-layout { grid-template-columns:1fr; }
    .profile-photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .about-hero { grid-template-columns:1fr .35fr; }
}

@media (max-width: 800px) {
    body { overflow:hidden; }
    #app { background-attachment:scroll; }
    .shell {
        display:flex;
        flex-direction:column;
        gap:0;
        height:100dvh;
        padding:0;
    }
    .shell-workspace { flex:1; min-height:0; }
    .view { border-radius:0; padding-bottom:78px; }
    .nav {
        position:fixed;
        z-index:90;
        left:8px;
        right:8px;
        bottom:max(8px,env(safe-area-inset-bottom));
        display:flex;
        flex-direction:row;
        width:auto;
        height:64px;
        margin:0;
        padding:5px;
        border-radius:20px;
        background:rgba(5,25,51,.94);
    }
    .sidebar-brand, .nav-secondary { display:none; }
    .nav-primary { width:100%; display:flex; }
    .nav-item { flex:1; min-width:0; min-height:52px; display:grid; place-items:center; align-content:center; gap:2px; padding:5px 2px; border-radius:15px; }
    .nav-item:hover { transform:none; }
    .nav-mark { width:22px; height:22px; }
    .nav-mark svg { width:20px; height:20px; }
    .nav-title { font-size:9px; }
    .nav-badge { top:-5px; left:13px; }
    .shell-notice { margin:8px 8px 0; }

    .discover-page, .profile-page, .about-page { padding:18px 12px 96px; }
    .discover-heading h1, .profile-page-header h1 { font-size:32px; }
    .discover-toolbar { display:flex; overflow-x:auto; gap:7px; padding-bottom:3px; scrollbar-width:none; }
    .discover-toolbar::-webkit-scrollbar { display:none; }
    .toolbar-pill, .toolbar-filter-button { flex:none; min-height:48px; }
    .toolbar-pill-wide { min-width:245px; }
    .candidate-gallery { padding:8px 8px 0; }
    .candidate-media-stage { height:min(64dvh,560px); min-height:390px; border-radius:18px; }
    .candidate-thumbnails { grid-auto-columns:82px; }
    .candidate-thumb { height:62px; }
    .candidate-info { padding:13px 14px 16px; }
    .candidate-name { font-size:25px; }
    .match-panel { grid-template-columns:90px 1fr; border-radius:20px; }
    .match-ring { width:88px; height:88px; }
    .match-ring-core { width:57px; height:57px; }
    .match-ring-core img { width:43px; height:43px; }
    .match-category-icons { flex-wrap:wrap; }
    .match-actions { grid-template-columns:1fr 92px; }
    .filters-panel { top:10px; right:10px; bottom:84px; width:min(350px,calc(100vw - 20px)); }
    .profile-page-header { align-items:flex-start; }
    .header-secondary-action { display:none; }
    .profile-photo-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .profile-photo-visual { height:220px; }
    .profile-form-grid, .choice-grid { grid-template-columns:1fr; }
    .profile-field-wide { grid-column:auto; }
    .profile-subsection-title { display:block; }
    .profile-subsection-title p { margin-top:3px; text-align:left; }
    .interest-category-grid { grid-template-columns:1fr; }
    .panel-heading, .panel-heading-row { display:block; }
    .panel-heading > p { margin-top:5px; text-align:left; max-width:none; }
    .about-hero { min-height:auto; grid-template-columns:1fr; padding:24px; }
    .about-hero-mark { display:none; }
    .about-feature-grid, .about-money-grid { grid-template-columns:1fr; }
    .about-footer { display:grid; }
    .column { padding:20px 12px 96px; }
    .topbar { padding:14px 12px 0; }
    .topbar h2 { font-size:21px; }
    .messenger { padding:10px 10px 90px; }
}

@media (max-width: 480px) {
    .discover-heading p { font-size:12px; }
    .candidate-media-stage { min-height:350px; height:54dvh; }
    .gallery-arrow { width:38px; height:38px; }
    .candidate-thumbnails { grid-auto-columns:72px; }
    .match-panel { grid-template-columns:76px 1fr; gap:10px; }
    .match-ring { width:74px; height:74px; }
    .match-ring::before { inset:7px; }
    .match-ring-core { width:46px; height:46px; }
    .match-ring-core img { width:35px; height:35px; }
    .match-percent { font-size:27px; }
    .profile-photo-grid { grid-template-columns:1fr 1fr; }
    .profile-photo-visual { height:190px; }
    .profile-photo-add { min-height:230px; }
}

/* Hubs: recommendations/events and settings */
.hub-page,
.settings-page { width:min(100%,1320px); margin:0 auto; padding:28px 24px 48px; }
.hub-header { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:18px; }
.hub-header h1 { margin:6px 0 7px; font-size:clamp(31px,3.3vw,46px); line-height:1.06; letter-spacing:-.04em; }
.hub-header p { max-width:760px; margin:0; color:var(--v2-muted); font-size:13px; line-height:1.5; }
.hub-page > .switch { margin-bottom:14px; }
.hub-page .pane-body { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
.hub-page .pane-body > .card,
.hub-page .pane-body > div { margin-top:0; }
.hub-page .pane-body > .event { min-width:0; }
.hub-page .pane-body > h3,
.hub-page .pane-body > div:has(> .chips) { grid-column:1 / -1; }
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
.settings-group { padding:18px; border-radius:20px; }
.settings-group-title { margin:0 0 7px; color:var(--v2-cyan); font-size: 13px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; }
.settings-row { display:block; width:100%; padding:12px 10px; color:inherit; background:transparent; border:0; border-radius:11px; text-align:left; cursor:pointer; }
.settings-row:hover { background:rgba(53,126,207,.12); }
.settings-row > div:first-child { font-size:12px; }
.settings-row .hint { font-size: 13px; }
.settings-row-danger { color:#ff8f83; }
.settings-toggle-row { display:flex; align-items:center; gap:12px; padding:12px 10px; margin:0; border-radius:11px; cursor:pointer; }
.settings-toggle-row:hover { background:rgba(53,126,207,.12); }
.settings-native-toggle { width:18px; height:18px; min-height:18px; accent-color:#42c8ff; }

@media (max-width:800px) {
  .hub-page,.settings-page { padding:18px 12px 96px; }
  .hub-header { align-items:flex-start; }
  .hub-header .header-secondary-action { display:none; }
  .hub-page .pane-body { grid-template-columns:1fr; }
  .hub-page .pane-body > h3,
  .hub-page .pane-body > div:has(> .chips) { grid-column:auto; }
  .settings-grid { grid-template-columns:1fr; }
}

/* Advanced filters */
.advanced-filters-page { width:min(100%,1280px); margin:0 auto; padding:28px 24px 46px; }
.advanced-filter-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.advanced-filter-card { padding:20px; border-radius:21px; }
.advanced-filter-title { display:flex; align-items:center; gap:11px; margin-bottom:18px; }
.advanced-filter-title > span { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; color:var(--v2-cyan); background:rgba(42,125,213,.14); border:1px solid rgba(98,217,255,.15); font-size: 13px; font-weight:800; }
.advanced-filter-title h2 { margin:0; font-size:17px; }
.advanced-filter-title p { margin:2px 0 0; color:var(--v2-muted); font-size:9px; }
.advanced-age-head { display:flex; justify-content:space-between; margin-bottom:8px; font-size: 14px; }
.advanced-age-value { color:var(--v2-cyan); }
.advanced-age-range { position:relative; height:34px; margin-bottom:1px; }
.advanced-age-range .dual-range-track { top:15px; }
.filter-form-field { position:relative; display:grid; gap:6px; margin-top:14px; }
.filter-form-field label { margin:0; color:#d6e5f4; font-size: 13px; font-weight:650; text-transform:uppercase; letter-spacing:.055em; }
.filter-form-field small { color:var(--v2-muted); font-size:9px; line-height:1.35; }
.filter-city-field .profile-suggestions { top:100%; }
.clear-city { justify-self:start; padding:0; color:var(--v2-cyan); background:none; border:0; font-size:9px; cursor:pointer; }
.filter-choice-card { display:flex; align-items:center; gap:10px; min-height:64px; margin:8px 0 0; padding:11px; border:1px solid rgba(112,181,237,.15); border-radius:13px; background:rgba(8,32,65,.38); cursor:pointer; }
.filter-choice-check { position:relative; width:27px; height:27px; flex:none; display:grid; place-items:center; border:1px solid rgba(128,188,237,.24); border-radius:8px; background:rgba(26,72,122,.22); }
.filter-choice-check .choice-input { position:absolute; opacity:0; }
.filter-choice-check > span { opacity:0; color:#061b34; font-size:14px; font-weight:900; }
.filter-choice-card:has(.choice-input:checked) { background:linear-gradient(135deg,rgba(36,112,194,.28),rgba(15,66,125,.22)); border-color:rgba(98,217,255,.40); }
.filter-choice-card:has(.choice-input:checked) .filter-choice-check { background:var(--v2-cyan); border-color:var(--v2-cyan); }
.filter-choice-card:has(.choice-input:checked) .filter-choice-check > span { opacity:1; }
.filter-choice-copy { display:grid; gap:2px; }
.filter-choice-copy strong { font-size: 14px; }
.filter-choice-copy small { color:var(--v2-muted); font-size:9px; }
.advanced-info { margin:14px 0 0; padding:12px; color:var(--v2-muted); background:rgba(31,89,147,.12); border-radius:12px; font-size: 13px; line-height:1.45; }
.advanced-save-bar { position:sticky; bottom:14px; display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:12px; padding:12px 14px; border-radius:17px; }
.advanced-save-bar p { margin:0; color:var(--v2-muted); font-size: 13px; }
.advanced-save { width:auto; min-width:210px; }
@media (max-width:800px) {
 .advanced-filters-page { padding:18px 12px 96px; }
 .advanced-filter-grid { grid-template-columns:1fr; }
 .advanced-save-bar { bottom:78px; display:grid; }
 .advanced-save { width:100%; }
}

/* Interests editor (opened from Profile, not a primary tab) */
.interests-editor-page { width:min(100%,1320px); margin:0 auto; padding:28px 24px 48px; }
.interest-search-panel { margin-bottom:12px; padding:20px; border-radius:21px; }
.interest-search-panel h2 { margin-bottom:10px; font-size:18px; }
.interest-search-panel > input { max-width:620px; }
.interest-editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; align-items:start; }
.interest-editor-card { min-width:0; padding:18px; border-radius:20px; }
.interest-editor-card > div[style*="grid-template-columns"] { grid-template-columns:repeat(5,minmax(0,1fr)) !important; }
.interest-editor-card .button { min-height:38px; }
.interest-editor-card .icon-button { background:rgba(2,15,33,.72) !important; border-color:rgba(255,255,255,.16); }
@media (max-width:900px) {
  .interest-editor-grid { grid-template-columns:1fr; }
}
@media (max-width:800px) {
  .interests-editor-page { padding:18px 12px 96px; }
  .interest-editor-card > div[style*="grid-template-columns"] { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}
@media (max-width:480px) {
  .interest-editor-card > div[style*="grid-template-columns"] { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}
.candidate-safety .safety-mark { position:static; width:34px; height:34px; }
