/* Full profile; cards, flags, proficiency and palette are shared with V2. */
html.lx-v2-photo-open { overflow:hidden; }
.lx-v2 a.lx-v2-profile-photo { display:block; cursor:zoom-in; }
.lx-v2 .lx-v2-photo-dialog { position:fixed; width:fit-content; max-width:92vw; max-height:92dvh; margin:auto; padding:3.25rem .75rem .75rem; border:1px solid var(--lx-line); border-radius:1rem; color:var(--lx-ink); background:#fff; box-shadow:0 1rem 4rem #0005; }
.lx-v2 .lx-v2-photo-dialog::backdrop { background:#071329d9; }
.lx-v2 .lx-v2-photo-dialog > img { width:auto; height:auto; max-width:min(85vw,calc(92vw - 1.5rem - 2px),75rem); max-height:calc(92dvh - 4rem - 2px); object-fit:contain; }
.lx-v2 .lx-v2-photo-close { position:absolute; top:.25rem; inset-inline-end:.25rem; display:grid; place-items:center; width:2.75rem; height:2.75rem; padding:0; border:0; border-radius:50%; background:var(--lx-soft); color:var(--lx-ink); font-size:1.75rem; line-height:1; }
.lx-v2 .lx-v2-profile { padding-block-end:2rem; }
.lx-v2 .lx-v2-chat-navigation-anchor { display:flow-root; }
.lx-v2 .lx-v2-profile-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-block:1rem 1.5rem; padding:.4rem; border:1px solid #fff; border-radius:1rem; background:#ffffffb3; }
.lx-v2 .lx-v2-profile-tabs a { min-height:2.75rem; padding:.6rem 1rem; border-radius:.7rem; font-weight:650; }
.lx-v2 .lx-v2-profile-tabs a[aria-current] { color:#fff; background:var(--lx-blue); box-shadow:0 .3rem .8rem #0767dd20; }
.lx-v2 .lx-v2-exchange-toolbar { position:relative; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.5rem; margin-block:1rem 1.5rem; }
.lx-v2 .lx-v2-exchange-toolbar .lx-v2-profile-tabs { margin:0; }
.lx-v2 .lx-v2-recent { margin-inline-start:auto; }
.lx-v2 .lx-v2-recent > summary { list-style:none; cursor:pointer; min-height:2.75rem; }
.lx-v2 .lx-v2-recent > summary::-webkit-details-marker { display:none; }
.lx-v2 .lx-v2-recent[open] > summary { color:var(--lx-blue); background:#e5efff; }
.lx-v2 .lx-v2-recent-panel { position:absolute; z-index:30; inset-inline-end:0; top:calc(100% + .5rem); width:min(24rem,calc(100vw - 2rem)); max-height:min(32rem,70dvh); overflow:auto; overscroll-behavior:contain; padding:.75rem; border:1px solid var(--lx-line); border-radius:1rem; background:#fff; box-shadow:0 1rem 3rem #1e3c6a30; }
.lx-v2 .lx-v2-recent-heading { display:flex; justify-content:space-between; align-items:center; gap:.5rem; margin-block-end:.5rem; }
.lx-v2 .lx-v2-recent-heading button { min-height:2.75rem; }
.lx-v2 .lx-v2-recent-item { display:flex; align-items:center; gap:.75rem; padding:.75rem .5rem; border-radius:.75rem; border-block-end:1px solid #edf1f8; }
.lx-v2 .lx-v2-recent-item:hover, .lx-v2 .lx-v2-recent-item[aria-current] { background:#edf5ff; }
.lx-v2 .lx-v2-recent-avatar { flex-shrink:0; width:2.75rem; height:2.75rem; border-radius:.75rem; object-fit:cover; }
.lx-v2 .lx-v2-recent-content { min-width:0; flex:1; font-size:1rem; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-recent-preview { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; color:var(--lx-muted); font-size:.875rem; line-height:1.5; margin-block-start:.25rem; white-space:pre-line; }
.lx-v2 .lx-v2-recent-content > strong { font-weight:550; }
.lx-v2 .lx-v2-recent-badge { display:inline-block; width:.6rem; height:.6rem; margin-inline-start:.5rem; border-radius:50%; background:var(--lx-blue); box-shadow:0 0 0 3px #0767dd12; vertical-align:middle; }
.lx-v2 .lx-v2-recent-unread { background:#e7f1ff; }
.lx-v2 .lx-v2-recent-unread .lx-v2-recent-content > strong { color:#123d78; font-weight:800; }
.lx-v2 .lx-v2-recent-unread .lx-v2-recent-preview { color:#28486f; font-weight:600; }
.lx-v2 .lx-v2-recent-greeting { width:1.5rem; height:1.5rem; object-fit:contain; vertical-align:middle; }
.lx-v2 .lx-v2-recent-panel > [data-recent-more] { display:flex; margin:.75rem auto 0; }
.lx-v2 .lx-v2-recent-panel > .lx-v2-text-link { display:block; margin-block-start:.75rem; padding:.5rem; border-block-start:1px solid var(--lx-line); }
.lx-v2 .lx-v2-profile-heading { display:grid; align-items:center; gap:1.5rem; padding:1.5rem; border:1px solid #fff; border-radius:1.5rem; background:radial-gradient(ellipse at 100% 0,#fce1f0,transparent 65%),linear-gradient(120deg,#fff,#eaf4ff); box-shadow:0 .6rem 2rem #2447780a; }
.lx-v2 .lx-v2-profile-photo { width:min(100%,15rem); aspect-ratio:1; margin-inline:auto; padding:.35rem; border:1px solid #fff; border-radius:1.6rem; background:#ffffffb3; box-shadow:0 .5rem 1.5rem #24477816; }
.lx-v2 .lx-v2-profile-photo img { width:100%; height:100%; object-fit:cover; object-position: center 25%; border-radius:1.25rem; }
.lx-v2 .lx-v2-profile-identity { min-width:0; }
.lx-v2 .lx-v2-profile-heading h1 { font-size:clamp(2rem,5vw,3.2rem); letter-spacing:-.045em; }
.lx-v2 .lx-v2-profile-handle { color:var(--lx-muted); overflow-wrap:anywhere; margin-block:.35rem; }
.lx-v2 .lx-v2-profile-location { display:flex; align-items:center; flex-wrap:wrap; gap:.45rem; margin-block:.5rem; }
.lx-v2 .lx-v2-profile-location > .lx-v2-profile-location-text { flex:1; min-width:0; }
.lx-v2 .lx-v2-profile-location a,.lx-v2 .lx-v2-profile-facts a { display:inline-flex; align-items:center; gap:.5rem; min-height:2.75rem; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-location a:hover,.lx-v2 .lx-v2-profile-facts a:hover { text-decoration:underline; }
.lx-v2 .lx-v2-profile-title-row { display:flex; align-items:center; gap:.75rem; }
.lx-v2 .lx-v2-profile-title-row h1 { min-width:0; flex:1; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-identity-actions { display:flex; flex-shrink:0; align-items:center; gap:.25rem; }
.lx-v2 .lx-v2-profile-favorite,.lx-v2 .lx-v2-profile-more > summary { display:grid; place-items:center; width:2.75rem; height:2.75rem; padding:0; border:1px solid #cbdcf2; border-radius:50%; background:#ffffffeb; color:var(--lx-blue); font:inherit; font-size:1.6rem; line-height:1; cursor:pointer; }
.lx-v2 .lx-v2-profile-star::before { content:'☆'; }
.lx-v2 .lx-v2-profile-favorite[aria-pressed="true"] { color:#936000; border-color:#e5c875; background:#fff8dc; }
.lx-v2 .lx-v2-profile-favorite[aria-pressed="true"] .lx-v2-profile-star::before { content:'★'; }
.lx-v2 .lx-v2-profile-more { position:relative; }
.lx-v2 .lx-v2-profile-more > summary { list-style:none; }
.lx-v2 .lx-v2-profile-more > summary::-webkit-details-marker { display:none; }
.lx-v2 .lx-v2-profile-more-panel { position:absolute; z-index:20; inset-inline-end:0; top:calc(100% + .5rem); width:max-content; max-width:calc(100vw - 3rem); padding:.5rem; border:1px solid var(--lx-line); border-radius:1rem; background:#fff; box-shadow:0 .75rem 2rem #24477826; }
.lx-v2 .lx-v2-profile-more-panel .lx-v2-button { width:100%; white-space:normal; }
.lx-v2 .lx-v2-profile-more-panel [data-profile-relation="isBlacklist"][aria-pressed="false"] { color:#fff; border-color:#b42338; background:#b42338; }
.lx-v2 .lx-v2-profile-more-panel [data-profile-relation="isBlacklist"][aria-pressed="false"]:hover { border-color:#901c2d; background:#901c2d; }
.lx-v2 .lx-v2-profile-more-panel [data-profile-relation="isBlacklist"][aria-pressed="true"] { color:#b42338; border-color:#b42338; background:#fff; }
.lx-v2 .lx-v2-profile-more-panel [data-profile-relation="isBlacklist"][aria-pressed="true"]:hover { color:#901c2d; border-color:#901c2d; background:#fff; }
.lx-v2 .lx-v2-profile-blocked { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem; margin-block:1rem; padding:1rem 1.25rem; border:1px solid #ebc1c9; border-inline-start:4px solid #b42338; border-radius:1rem; background:#fff2f4; color:#8e263c; }
.lx-v2 .lx-v2-profile-blocked p { margin:0; flex:1 1 14rem; font-weight:700; }
.lx-v2 .lx-v2-profile-blocked .lx-v2-button { color:#b42338; border-color:#b42338; background:#fff; }
.lx-v2 .lx-v2-profile-blocked .lx-v2-button:hover { color:#901c2d; border-color:#901c2d; background:#fff; }
.lx-v2 .lx-v2-profile-contact-bar { display:flex; align-items:stretch; gap:.75rem; margin-block:1rem; }
.lx-v2 .lx-v2-profile-contact-bar .lx-v2-button { min-width:0; }
.lx-v2 .lx-v2-profile-contact-bar [data-profile-greet] { flex-shrink:0; white-space:nowrap; }
@media (max-width:47.999rem) {
    .lx-v2 .lx-v2-profile-contact-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.5rem; }
    .lx-v2 .lx-v2-profile-contact-bar .lx-v2-button { padding:.75rem; font-size:.9375rem; overflow-wrap:anywhere; }
}
.lx-v2 .lx-v2-profile-layout { display:grid; align-items:start; gap:1rem; margin-block-start:1.5rem; }
.lx-v2 .lx-v2-profile-main,.lx-v2 .lx-v2-profile-aside { display:grid; gap:1rem; min-width:0; }
.lx-v2 .lx-v2-profile-panel { min-width:0; padding:1.25rem; background:#fff; border:1px solid #e7edf7; border-radius:1.1rem; box-shadow:0 .4rem 1.4rem #24477809; }
.lx-v2 .lx-v2-profile-panel h2 { font-size:1.2rem; letter-spacing:-.025em; margin-block-end:1rem; }
.lx-v2 .lx-v2-profile .lx-v2-member-languages { font-size:.9375rem; gap:1rem; }
.lx-v2 .lx-v2-profile .lx-v2-member-languages dt { font-size:.875rem; }
.lx-v2 .lx-v2-profile .lx-v2-member-languages a { min-height:2.75rem; padding:.5rem .7rem; }
.lx-v2 .lx-v2-profile .lx-v2-level-code { font-size:.75rem; }
.lx-v2 .lx-v2-profile-section-title { display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:.75rem; }
.lx-v2 .lx-v2-profile-section-title button { min-height:2.75rem; padding:.35rem .5rem; background:none; border:1px solid var(--lx-line); border-radius:.6rem; font:inherit; font-size:.85rem; }
.lx-v2 .lx-v2-profile-description { font-size:1rem; line-height:1.65; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-facts { display:grid; gap:.75rem; margin:0; }
.lx-v2 .lx-v2-profile-facts > div { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:center; gap:.75rem; padding-block-end:.75rem; border-block-end:1px solid #eef2f8; }
.lx-v2 .lx-v2-profile-facts > div:last-child { border:0; padding:0; }
.lx-v2 .lx-v2-profile-facts dt { min-width:0; color:var(--lx-muted); font-size:.8125rem; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-facts dd { min-width:0; margin:0; font-size:.9375rem; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-facts a { max-width:100%; }
.lx-v2 .lx-v2-profile-gender,.lx-v2 .lx-v2-profile-social-label { display:inline-flex; align-items:center; gap:.5rem; }
.lx-v2 .lx-v2-profile-gender img { width:1.25rem; height:1.25rem; flex-shrink:0; object-fit:contain; }
.lx-v2 .lx-v2-profile-social-label img { width:1.5rem; height:1.5rem; flex-shrink:0; object-fit:contain; }
.lx-v2 .lx-v2-profile-social-label > span { min-width:0; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-map { width:100%; height:auto; margin-block-start:1rem; border-radius:.75rem; }
.lx-v2 .lx-v2-profile-socials { display:grid; gap:.7rem; margin:0; padding:0; list-style:none; }
.lx-v2 .lx-v2-profile-social-access { display:inline-flex; align-items:center; gap:.4rem; min-height:2.25rem; padding:.35rem .65rem; margin-block-end:.75rem; border:1px solid #cbdcf2; border-radius:999px; background:#edf5ff; color:#245a94; font-size:.75rem; font-weight:600; }
.lx-v2 .lx-v2-profile-social-access:hover { background:#dfeeff; text-decoration:underline; }
.lx-v2 .lx-v2-profile-socials li { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:.75rem; padding:.75rem; border:1px solid var(--lx-line); border-radius:.7rem; font-size:.9rem; overflow-wrap:anywhere; }
.lx-v2 .lx-v2-profile-socials li > * { min-width:0; }
.lx-v2 .lx-v2-profile-socials a { color:var(--lx-blue); min-height:2.75rem; display:flex; align-items:center; }
.lx-v2 .lx-v2-profile-notice { padding:.75rem; margin-block-end:.75rem; border-radius:.7rem; background:#fff7e8; color:#755411; font-size:.875rem; }
.lx-v2 .lx-v2-profile-contact { scroll-margin-block-start:1rem; }
.lx-v2 .lx-v2-profile-contact textarea { display:block; width:100%; resize:vertical; min-height:12rem; padding:1rem; border:1px solid #cfddf0; border-radius:.8rem; background:#f8faff; color:var(--lx-ink); font:inherit; line-height:1.6; }
.lx-v2 .lx-v2-profile-contact textarea:focus-visible { outline:3px solid var(--lx-pink); outline-offset:2px; }
.lx-v2 .lx-v2-profile-send-row { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:.75rem; margin-block-start:1rem; }
.lx-v2 [data-profile-draft] { color:var(--lx-muted); font-size:.8rem; }
.lx-v2 .lx-v2-profile-feedback { margin-block:1rem; padding:1rem; border:1px solid #c4d6ef; border-radius:.8rem; background:#edf5ff; overflow-wrap:anywhere; /*white-space:pre-line;*/ }
.lx-v2 .lx-v2-profile-feedback[data-state="success"] { border-color:#b7ddc7; background:#edf9f1; color:#116039; }
.lx-v2 .lx-v2-profile-feedback[data-state="error"] { border-color:#ebc1c9; background:#fff2f4; color:#8e263c; }
.lx-v2 .lx-v2-profile-feedback a { text-decoration:underline; }
.lx-v2 .lx-v2-profile [hidden] { display:none !important; }
.lx-v2 .lx-v2-profile button:disabled { cursor:wait; opacity:.6; }
.lx-v2 .lx-v2-profile-back { display:inline-flex; align-items:center; min-height:2.75rem; margin-block-start:1rem; }
.lx-v2 .lx-v2-profile-pending { display:grid; justify-items:start; gap:1rem; }
@media (max-width:39.999rem) {
    .lx-v2 .lx-v2-profile-heading { padding:1rem; }
    .lx-v2 .lx-v2-profile-photo { width:min(100%,20rem); }
}
@media (min-width:48rem) {
    .lx-v2 .lx-v2-profile-heading { position:relative; }
    .lx-v2 .lx-v2-profile-identity-actions { position:absolute; top:1rem; inset-inline-end:1rem; z-index:2; }
    .lx-v2 .lx-v2-profile-title-row:has(.lx-v2-profile-identity-actions) { padding-inline-end:6rem; }
}
@media (min-width:40rem) {
    .lx-v2 .lx-v2-profile-photo { aspect-ratio:auto; container-type:inline-size; }
    /* Natural portrait height, bounded between square and 2:3 using the frame's content width. */
    .lx-v2 .lx-v2-profile-photo img { display:block; height:auto; min-height:100cqw; max-height:150cqw; }
    .lx-v2 .lx-v2-profile-heading { grid-template-columns:12rem minmax(0,1fr); padding:2rem; }
}
@media (min-width:60rem) {
    .lx-v2 .lx-v2-profile-heading { grid-template-columns:15rem minmax(0,1fr); gap:2.5rem; padding:2.5rem; }
    .lx-v2 .lx-v2-profile-layout { grid-template-columns:minmax(0,1fr) 20rem; gap:1.5rem; }
}

.lx-v2 .lx-v2-recent-greeting-hi { width:3rem; height:auto; }

.lx-v2 .lx-v2-recent-icon { display:none; }
@media (max-width:981px) {
    .lx-v2 .lx-v2-exchange-toolbar { column-gap:clamp(.125rem,1vw,.5rem); }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-profile-tabs { flex:1 1 0; min-width:0; flex-wrap:nowrap; justify-content:space-between; gap:clamp(0rem,1vw,.5rem); padding:.25rem; }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-profile-tabs a { flex:1 1 auto; min-width:0; padding:.6rem clamp(.125rem,1vw,.5rem); text-align:center; font-size:clamp(.6875rem,3.5vw,.9375rem); white-space:nowrap; }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-recent { flex:0 0 auto; margin-inline-start:0; }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-recent > summary { display:flex; align-items:center; justify-content:center; width:2.75rem; padding:.5rem; }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-recent-icon { display:block; flex-shrink:0; }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-recent-chevron { display:none; }
    .lx-v2 .lx-v2-exchange-toolbar .lx-v2-recent-label { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}
