/* Selected map + avatar strip. All colors inherit the active light palette. */
html body.discovery.avatar-directory .discovery-shell{display:flex;flex-direction:column;width:100%;max-width:1180px;height:auto;min-height:0;margin:auto;padding:clamp(16px,3vw,32px);gap:24px;overflow:visible;background:var(--vl-bg,var(--ds-bg,#fff))}
html.finder-embedded body.discovery.avatar-directory .discovery-shell{max-width:none;padding:20px;overflow:visible}
html body.discovery.avatar-directory .explore-intro{order:0}
html body.discovery.avatar-directory .discovery-title h1{font-size:clamp(28px,4vw,42px);line-height:1.12;letter-spacing:-.045em;margin:12px 0}
html body.discovery.avatar-directory .discovery-title p:last-child{max-width:58ch;color:var(--vl-text-muted,var(--ds-muted,#54676b));line-height:1.6}
html body.discovery.avatar-directory .explore-stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:12px;border-radius:18px;background:var(--vl-surface-subtle,#e9f5f2);padding:18px;margin-top:24px;color:var(--vl-text,#153f43)}
.explore-stats>span{min-width:0;font-size:13px;line-height:1.45}.explore-stats>span+span{border-left:1px solid #90aaa638;padding-left:18px}.explore-stats strong{display:block;font-size:24px}
html body.discovery.avatar-directory .continent-cards{display:flex;gap:8px;overflow-x:auto;padding:16px 0 5px;scrollbar-width:thin}
html body.discovery.avatar-directory .continent-cards button{flex:0 0 auto;display:grid;gap:5px;min-height:64px;padding:12px 15px;border:1px solid var(--vl-border,#d3e1de);border-radius:14px;background:var(--vl-surface,#fff);color:var(--vl-text,#173f43);text-align:left;box-shadow:none}
.continent-cards button span{font-size:11px;font-weight:400}.continent-cards button[aria-pressed=true]{border-color:var(--vl-accent,#166b69)!important;background:var(--vl-surface-subtle,#e8f4f1)!important}
html body.discovery.avatar-directory .discovery-map-area{order:1;position:relative;height:350px;min-height:0;border:1px solid var(--vl-border,#d3e1de);border-radius:18px;overflow:hidden;flex:none;width:100%}
html body.discovery.avatar-directory #interpreter-map{height:100%;min-height:0;position:absolute;inset:0}
html body.discovery.avatar-directory .map-caption{top:auto;bottom:25px;left:10px;right:10px;padding:8px 12px;border-radius:10px;font-size:12px;max-width:none;gap:8px;background:var(--vl-surface,#fff);opacity:.95}
html body.discovery.avatar-directory .map-caption button{width:28px;height:28px;min-height:28px;padding:0}.avatar-directory .map-live-dot{display:none}
html body.discovery.avatar-directory .map-privacy{bottom:0;left:0;right:0;width:100%;max-width:none;padding:4px 8px;background:var(--vl-surface,#fff);font-size:10px;line-height:1.3}
.profile-map-marker{background:transparent;border:0}.profile-map-marker .directory-avatar{width:44px!important;height:44px!important;min-width:44px!important;border:3px solid #fff!important;border-radius:50%!important;overflow:hidden;box-shadow:0 2px 6px #173f4333}.profile-map-marker img{width:100%!important;height:100%!important;object-fit:cover!important}.profile-map-marker:focus-visible{outline:3px solid #bf7405;outline-offset:4px;border-radius:50%}
html body.discovery.avatar-directory .community-section{order:2;border-bottom:1px solid var(--vl-border,#d3e1de);padding-bottom:24px}.community-section h2{font-size:22px;letter-spacing:-.03em;margin:0 0 16px}
.community-strip{display:flex;gap:16px;overflow-x:auto;padding:3px 3px 12px;margin-bottom:12px}.community-avatar{display:grid!important;justify-items:center;align-content:start;gap:8px;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;flex:0 0 78px;color:var(--vl-text,#173f43)!important;text-align:center;text-decoration:none!important;font-size:11px;line-height:1.3}.community-avatar>span:last-child{max-width:80px}.community-avatar .directory-avatar{width:60px!important;height:60px!important;min-width:60px!important;border-radius:50%!important;overflow:hidden}.community-avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
#browse-interpreters{display:block;margin:0 auto;max-width:100%;min-width:250px}
html body.discovery.avatar-directory .discovery-panel{order:3;width:100%;min-width:0;padding:0;background:transparent;border:0;overflow:visible}.avatar-directory .customer-next{display:none}.avatar-directory #filters{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.avatar-directory #filters .search-field:first-child{grid-column:1/-1}.avatar-directory #filters input,.avatar-directory #filters select{min-width:0;width:100%}
html body.discovery.avatar-directory #directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.public-explore-card{display:grid;gap:10px;align-content:start;border:1px solid var(--vl-border,#d3e1de);border-radius:18px;padding:20px;background:var(--vl-surface,#fff);color:var(--vl-text,#173f43);text-decoration:none;min-width:0;overflow-wrap:anywhere}.public-explore-card .directory-avatar{width:64px!important;height:64px!important;min-width:64px!important;border-radius:50%!important;overflow:hidden}.public-explore-card img{width:100%!important;height:100%!important;object-fit:cover!important}.public-explore-card>strong{font-size:18px}.public-explore-card>span:last-child{font-weight:700;font-size:13px;color:var(--vl-accent,#166b69)}.public-explore-card small{font-size:13px;line-height:1.5}#directory-more{display:block;margin:20px auto}#directory-more[hidden]{display:none}
@media(max-width:650px){html body.discovery.avatar-directory .discovery-shell,html.finder-embedded body.discovery.avatar-directory .discovery-shell{padding:16px;gap:20px}html body.discovery.avatar-directory .discovery-map-area{height:290px}html body.discovery.avatar-directory #directory{grid-template-columns:1fr}.explore-stats>span+span{padding-left:10px}.avatar-directory #filters{grid-template-columns:1fr}.avatar-directory #filters .search-field:first-child{grid-column:auto}.avatar-directory .discovery-title .eyebrow{font-size:11px;letter-spacing:.18em}}
@media(prefers-reduced-motion:reduce){.avatar-directory *{scroll-behavior:auto!important}}

html body.discovery.avatar-directory h1,html body.discovery.avatar-directory h2,html body.discovery.avatar-directory .map-caption,html body.discovery.avatar-directory .map-privacy{color:var(--vl-text,#173f43)}

html body.discovery.avatar-directory .map-caption{bottom:42px}html body.discovery.avatar-directory .map-caption button{color:var(--vl-text,#173f43);background:var(--vl-surface-subtle,#eaf3ef)}
/* Reuse the two existing decorative artworks; CSS frames the face only. */
.profile-map-marker .directory-avatar,.community-avatar .directory-avatar,.public-explore-card .directory-avatar{position:relative!important}
.profile-map-marker img.directory-cardholder,.community-avatar img.directory-cardholder,.public-explore-card img.directory-cardholder{position:absolute!important;left:-40%!important;top:-6%!important;width:180%!important;height:180%!important;max-width:none!important;object-fit:cover!important}
/* Keep captions outside the map so they never cover a clickable avatar. */
html body.discovery.avatar-directory .discovery-map-area{display:flex;flex-direction:column;height:auto;min-height:0}
html body.discovery.avatar-directory #interpreter-map{position:relative;inset:auto;height:320px;flex:none}
html body.discovery.avatar-directory .map-caption{position:static;inset:auto;margin:8px 10px;max-width:none;width:auto;padding:8px 10px;flex:none}
html body.discovery.avatar-directory .map-privacy{position:static;inset:auto;flex:none;padding:4px 10px 8px}
@media(max-width:650px){html body.discovery.avatar-directory #interpreter-map{height:250px}}
/* The old finder is a fixed viewport grid. The selected layout is a normal
   document: its footer follows all cards and the parent supplies the header. */
html body.discovery.avatar-directory{display:block!important;height:auto!important;min-height:100dvh;overflow-y:auto!important}
html body.discovery.avatar-directory .discovery-shell{height:auto!important;max-height:none!important;flex:none!important}
html body.discovery.avatar-directory .discovery-title{display:block!important}
html body.discovery.avatar-directory>header.site-header{height:auto!important;min-height:0}
html.finder-embedded:not(.finder-call-room) body.discovery.avatar-directory>header.site-header{display:none!important}
html.finder-embedded body.discovery.avatar-directory .explore-intro .discovery-title p:last-child{display:block}

/* Isolate the avatar strip from the homepage community gradient in every theme. */
html body.discovery.avatar-directory .community-section{background:var(--vl-surface,var(--vl-bg,#fff))!important;color:var(--vl-text,#173f43);border-radius:18px;padding:20px}

/* Owner-selected single composition: taller map, on-map continent labels,
   six small profile links, no nested community card or repeated name blocks. */
html body.discovery.avatar-directory .discovery-shell,
html.finder-embedded body.discovery.avatar-directory .discovery-shell{
 max-width:1040px;padding:clamp(16px,3vw,32px);gap:18px;background:var(--vl-bg,#fff)
}
html body.discovery.avatar-directory .explore-intro{background:transparent!important;border:0;box-shadow:none;padding:0}
html body.discovery.avatar-directory .explore-stats{margin-top:22px;padding:18px 20px;border-radius:16px;align-items:center}
html body.discovery.avatar-directory .explore-stats>span{font-size:clamp(12px,1.4vw,15px);line-height:1.4}
html body.discovery.avatar-directory .explore-stats .stat-number{display:flex;align-items:center;gap:14px}
html body.discovery.avatar-directory .explore-stats strong{font-size:clamp(20px,2.5vw,26px);line-height:1.2}
.explore-stats svg{width:38px;height:38px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;opacity:.7}
html body.discovery.avatar-directory .discovery-map-area{border:0;border-radius:0;background:transparent!important;box-shadow:none;overflow:visible}
html body.discovery.avatar-directory #interpreter-map{height:clamp(340px,50vw,540px);border:1px solid var(--vl-border,#d3e1de);border-radius:16px;overflow:hidden;background:#cedfe1}
html body.discovery.avatar-directory .map-caption{background:transparent!important;border:0;border-radius:0;box-shadow:none;margin:8px 0 0;padding:0;font-size:12px;line-height:1.5;opacity:1}
html body.discovery.avatar-directory .map-caption button{margin-left:auto;flex:none}
html body.discovery.avatar-directory .map-privacy{background:transparent!important;padding:4px 0 0;color:var(--vl-text-muted,#54676b);font-size:10px}
html body.discovery.avatar-directory .community-section{background:transparent!important;border:0;border-top:1px solid var(--vl-border,#d3e1de);border-bottom:1px solid var(--vl-border,#d3e1de);border-radius:0;box-shadow:none;margin:0;padding:22px 0}
html body.discovery.avatar-directory .community-section h2{margin:0 0 18px;font-size:clamp(20px,2.4vw,25px);line-height:1.2}
html body.discovery.avatar-directory .community-strip{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(8px,2vw,24px);overflow:visible;margin:0 auto 20px;padding:0;max-width:740px}
html body.discovery.avatar-directory .community-avatar{position:relative;min-width:0;min-height:44px;gap:0;justify-self:center;width:100%;max-width:88px}
html body.discovery.avatar-directory .community-avatar .directory-avatar{width:clamp(44px,7vw,80px)!important;height:clamp(44px,7vw,80px)!important;min-width:0!important;border:2px solid var(--vl-border,#d3e1de);box-shadow:none}
html body.discovery.avatar-directory .community-avatar>span:last-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html body.discovery.avatar-directory .community-avatar:focus-visible{outline:3px solid var(--vl-accent,#166b69);outline-offset:5px;border-radius:50%}
html body.discovery.avatar-directory #browse-interpreters{width:min(100%,390px);min-width:0;min-height:48px;font-size:16px;border-radius:12px;margin:0 auto}
html body.discovery.avatar-directory .continent-map-label{background:transparent;border:0;pointer-events:auto!important;text-align:center}
html body.discovery.avatar-directory .continent-map-label button{background:#fff!important;color:#173f43!important;border:1px solid #dbe5e4!important;border-radius:18px!important;box-shadow:0 2px 8px #173f431a!important;padding:4px 10px!important;min-height:30px!important;font-size:12px!important;line-height:1.3!important;white-space:nowrap;max-width:140px}
html body.discovery.avatar-directory .continent-map-label button[aria-pressed=true]{border-color:#166b69!important;box-shadow:0 0 0 2px #166b6950!important}
html body.discovery.avatar-directory .continent-map-label button:focus-visible{outline:3px solid #166b69;outline-offset:2px}
@media(max-width:650px){
 html body.discovery.avatar-directory .explore-stats{grid-template-columns:1fr 1fr;gap:12px;padding:14px}
 html body.discovery.avatar-directory .explore-stats>span:last-child{grid-column:1/-1;border:0;border-top:1px solid var(--vl-border,#d3e1de);padding:9px 0 0;text-align:center}
 html body.discovery.avatar-directory .explore-stats>span:last-child br{display:none}
 html body.discovery.avatar-directory .explore-stats>span:last-child br:after{content:' · '}
 html body.discovery.avatar-directory .explore-stats .stat-number{gap:9px}
 .explore-stats svg{width:29px;height:29px}
 html body.discovery.avatar-directory .continent-map-label button{font-size:10px!important;padding:4px 7px!important}
 html body.discovery.avatar-directory .community-section{padding:20px 0}
}

/* The public homepage already introduces this section above its frame. */
html.finder-embedded:not(.finder-call-room) body.discovery.avatar-directory .explore-intro .discovery-title{display:none!important}
html.finder-embedded body.discovery.avatar-directory .explore-stats{margin-top:0}
@media(max-width:650px){
 html body.discovery.avatar-directory .profile-map-marker .directory-avatar{width:36px!important;height:36px!important;min-width:36px!important;margin:4px}
}

html body.discovery.avatar-directory .profile-map-marker .directory-avatar{width:36px!important;height:36px!important;min-width:36px!important;margin:0}
html body.discovery.avatar-directory .continent-map-label button{min-height:24px!important}

html body.discovery.avatar-directory .discovery-shell{margin-inline:auto!important}
html body.discovery.avatar-directory .continent-cards{display:flex;flex-wrap:wrap;gap:6px;padding:14px 0 0;overflow:visible}
html body.discovery.avatar-directory .continent-cards button{display:flex;align-items:center;gap:7px;padding:7px 10px;min-height:36px;border-radius:10px;font-size:12px;line-height:1.4}
html body.discovery.avatar-directory .continent-cards button strong{font-size:inherit;font-weight:650}
html body.discovery.avatar-directory .continent-cards button span{font-size:11px;font-weight:400;opacity:.7}

/* Fill the community row with real anonymous directory entries; no invented profiles. */
html body.discovery.avatar-directory .community-strip{max-width:none;width:100%;grid-template-columns:repeat(12,minmax(0,1fr));gap:clamp(8px,1.2vw,20px)}
html body.discovery.avatar-directory .community-avatar .directory-avatar{width:clamp(44px,6vw,80px)!important;height:clamp(44px,6vw,80px)!important}
.public-profile-links{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:0 0 20px}
.public-profile-links:empty{display:none}.public-profile-links h3{flex-basis:100%;font-size:16px;margin:0}.public-profile-link{color:var(--vl-text,#173f43);text-underline-offset:4px}
@media(max-width:900px){html body.discovery.avatar-directory .community-strip{grid-template-columns:repeat(6,minmax(0,1fr));row-gap:16px}}

/* All real public rows stay visible. Continent groups are display collections,
   not personal positions. Dense groups scroll locally without hiding entries. */
html body.discovery.avatar-directory .map-community-overlay{position:absolute;inset:48px 28px 36px;z-index:600;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:22px 38px;pointer-events:none}
.map-community-group{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;gap:9px;pointer-events:none}
.map-community-people{display:flex;flex-wrap:wrap;align-content:flex-start;justify-content:center;gap:6px;width:100%;max-width:300px;max-height:150px;overflow:auto;overscroll-behavior:contain;padding:4px;pointer-events:auto;scrollbar-width:thin;border-radius:8px}
.map-community-avatar{display:block!important;flex:0 0 38px;width:38px;height:38px;min-height:38px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:50%;pointer-events:auto}
.map-community-avatar .directory-avatar{position:relative!important;display:block;width:38px!important;height:38px!important;min-width:0!important;border:2px solid #fff!important;border-radius:50%!important;overflow:hidden;box-shadow:0 2px 5px #173f4330}
.map-community-avatar img.directory-cardholder{position:absolute!important;left:-40%!important;top:-6%!important;width:180%!important;height:180%!important;max-width:none!important;object-fit:cover!important}
.map-community-avatar img:not(.directory-cardholder){width:100%!important;height:100%!important;object-fit:cover!important}
.map-community-label{pointer-events:auto;background:#fff!important;color:#173f43!important;border:1px solid #dbe5e4!important;border-radius:18px!important;box-shadow:0 2px 8px #173f431a!important;padding:5px 12px!important;min-height:30px!important;font-size:13px!important;line-height:1.3!important;white-space:nowrap}
.map-community-label span{font-size:11px;font-weight:500;padding-left:5px}.map-community-empty{font:11px system-ui;color:#173f43;background:#ffffffde;border-radius:10px;padding:4px 6px}
.map-community-avatar:focus-visible,.map-community-label:focus-visible,.map-community-people:focus-visible{outline:3px solid #166b69;outline-offset:2px}
html body.discovery.avatar-directory .map-community-overlay[data-focused=true]{display:flex;align-items:center;justify-content:center}
.map-community-overlay[data-focused=true] .map-community-group{width:100%;height:100%}
.map-community-overlay[data-focused=true] .map-community-people{max-width:720px;max-height:calc(100% - 44px);gap:10px;padding:8px}
.map-community-overlay[data-focused=true] .map-community-avatar{flex-basis:44px;width:44px;height:44px}
.map-community-overlay[data-focused=true] .map-community-avatar .directory-avatar{width:44px!important;height:44px!important}
html body.discovery.avatar-directory .community-strip{row-gap:18px}
@media(max-width:650px){html body.discovery.avatar-directory #interpreter-map{height:480px}.avatar-directory .map-community-overlay{inset:44px 10px 32px!important;gap:22px 12px!important}.map-community-people{max-height:155px;gap:4px}.map-community-avatar{flex-basis:30px;width:30px;height:30px;min-height:30px!important}.map-community-avatar .directory-avatar{width:30px!important;height:30px!important}.map-community-label{font-size:11px!important;padding:5px 8px!important}}

.avatar-rating-tooltip{position:fixed;z-index:10000;max-width:calc(100vw - 16px);padding:9px 13px;border-radius:9px;background:var(--vl-text,#173f43);color:var(--vl-bg,#fff);font:600 14px/1.4 system-ui;box-shadow:0 3px 14px #0003;pointer-events:none;white-space:normal}.avatar-rating-tooltip[hidden]{display:none!important}

.community-avatar,.map-community-avatar{scroll-margin-top:150px}

html body.discovery.avatar-directory .map-community-overlay{left:70px}
@media(max-width:700px){html body.discovery.avatar-directory .map-community-overlay{left:62px!important;right:8px!important;column-gap:12px}}
/* Keep continent collections aligned with the map's broad geographic regions. */
html body.discovery.avatar-directory .map-community-overlay:not([data-focused=true]){display:block;left:50px!important;right:12px!important;top:40px!important;bottom:30px!important}
.map-community-overlay:not([data-focused=true]) .map-community-group{position:absolute;transform:translate(-50%,-50%);width:28%;height:46%}
.map-community-overlay:not([data-focused=true]) [data-map-group=americas]{left:20%;top:45%}
.map-community-overlay:not([data-focused=true]) [data-map-group=europe]{left:52%;top:22%}
.map-community-overlay:not([data-focused=true]) [data-map-group=africa]{left:53%;top:76%}
.map-community-overlay:not([data-focused=true]) [data-map-group=asia-pacific]{left:83%;top:45%}
@media(max-width:650px){.map-community-overlay:not([data-focused=true]) .map-community-group{width:30%}.map-community-overlay:not([data-focused=true]) .map-community-people{max-height:120px}.map-community-label{max-width:100%;white-space:normal}.map-community-overlay:not([data-focused=true]) [data-map-group=americas]{left:15%}.map-community-overlay:not([data-focused=true]) [data-map-group=asia-pacific]{left:85%}}

.map-community-overlay:not([data-focused=true]) [data-map-group=north-america]{left:18%;top:15%}
.map-community-overlay:not([data-focused=true]) [data-map-group=central-america]{left:18%;top:49%}
.map-community-overlay:not([data-focused=true]) [data-map-group=south-america]{left:27%;top:83%}
.map-community-overlay:not([data-focused=true]) [data-map-group=north-america] .map-community-people,.map-community-overlay:not([data-focused=true]) [data-map-group=central-america] .map-community-people,.map-community-overlay:not([data-focused=true]) [data-map-group=south-america] .map-community-people{max-height:100px}
@media(max-width:650px){.map-community-overlay:not([data-focused=true]) [data-map-group=north-america] .map-community-people,.map-community-overlay:not([data-focused=true]) [data-map-group=central-america] .map-community-people,.map-community-overlay:not([data-focused=true]) [data-map-group=south-america] .map-community-people{max-height:75px}.map-community-overlay:not([data-focused=true]) .map-community-label{font-size:10px!important;padding:4px!important}.map-community-overlay:not([data-focused=true]) [data-map-group=south-america]{left:18%;top:83%}}
@media(max-width:650px){html body.discovery.avatar-directory .map-community-overlay:not([data-focused=true]){left:62px!important}.map-community-overlay:not([data-focused=true]) .map-community-group{width:110px}.map-community-overlay:not([data-focused=true]) [data-map-group=asia-pacific]{left:82%}}

/* Empty results are full-width messages, not avatar or profile grid cells. */
html body.discovery.avatar-directory .community-section{min-width:0}
html body.discovery.avatar-directory .community-section h2{max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal}
html body.discovery.avatar-directory .community-strip>p,
html body.discovery.avatar-directory #directory>.empty-network{grid-column:1/-1;width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:normal;word-break:normal}
html body.discovery.avatar-directory .community-strip>p{margin:0;line-height:1.5}

/* One stable sampled row. Full search results remain in the directory. */
html body.discovery.avatar-directory .community-strip{grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:auto;row-gap:0;overflow:visible}
@media(max-width:900px){html body.discovery.avatar-directory .community-strip{grid-template-columns:repeat(6,minmax(0,1fr))}.community-strip>.community-avatar:nth-child(n+7){display:none!important}}
html body.discovery.avatar-directory .map-community-overlay[hidden]{display:none!important}
html body.discovery.avatar-directory .overview-map-avatar{background:transparent;border:0}
html body.discovery.avatar-directory .overview-map-avatar .map-community-avatar,html body.discovery.avatar-directory .overview-map-avatar .directory-avatar{width:52px!important;height:52px!important;min-width:52px!important}
html body.discovery.avatar-directory .continent-map-label button{max-width:150px;font-size:11px!important;min-height:28px!important;white-space:normal}
html body.discovery.avatar-directory .continent-map-label span{font-size:10px;font-weight:400}
@media(max-width:650px){html body.discovery.avatar-directory .overview-map-avatar .map-community-avatar,html body.discovery.avatar-directory .overview-map-avatar .directory-avatar{width:38px!important;height:38px!important;min-width:38px!important;margin:7px!important}.continent-map-label{max-width:95px}.continent-map-label button{font-size:9px!important}}

@media(max-width:650px){html body.discovery.avatar-directory .continent-map-label{max-width:none;width:150px!important}html body.discovery.avatar-directory .continent-map-label button{max-width:90px;font-size:10px!important}html body.discovery.avatar-directory .overview-map-avatar .directory-avatar{margin:0!important}html body.discovery.avatar-directory .overview-map-avatar .map-community-avatar{margin:7px!important}}

html body.discovery.avatar-directory .community-avatar .directory-avatar{width:100%!important;max-width:80px;height:auto!important;aspect-ratio:1;min-width:0!important;flex-shrink:1}

/* Owner-requested caption removal; retain reset control and native tile attribution. */
#map-status[hidden],.map-privacy[hidden]{display:none!important}.map-caption{justify-content:flex-end}

/* Keep the profile header flush and center its close icon independently of page button padding. */
html body.discovery #selection.selection-sheet{scrollbar-gutter:auto}
html body.discovery #selection .close-selection{display:flex;align-items:center;justify-content:center;padding:0;line-height:1;min-width:44px;min-height:44px;box-sizing:border-box}

/* Persistent return control within the directory viewport, also inside its iframe. */
html body.discovery .directory-back-top{position:fixed;right:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:1100;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 18px;border:1px solid var(--vl-border,#bfd4d1);border-radius:999px;background:var(--vl-text,#153f43);color:var(--vl-bg,#fff);font:600 14px/1.2 system-ui,sans-serif;box-shadow:0 4px 18px #0003;cursor:pointer}
html body.discovery .directory-back-top[hidden]{display:none!important}
html body.discovery .directory-back-top:focus-visible{outline:3px solid var(--vl-accent,#b8402d);outline-offset:4px}
html body.discovery .directory-back-top span{font-size:22px;line-height:1}
@media(max-width:650px){html body.discovery .directory-back-top{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));min-height:48px;padding:12px 16px}}

/* Country/city navigation replaces the selected-region avatar row. */
html body.discovery.avatar-directory .place-browser{order:2;min-width:0;border:1px solid var(--vl-border,#cadcda);border-radius:20px;padding:clamp(16px,3vw,28px);background:var(--vl-surface,#fff);color:var(--vl-text,#173f43)}
.place-browser[hidden],.avatar-directory .community-section[hidden]{display:none!important}
.place-browser h2{font-size:clamp(23px,3vw,32px);margin:18px 0 8px;line-height:1.2;overflow-wrap:anywhere}.place-browser p{color:var(--vl-text-muted,#52686b)}
.place-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.place-breadcrumb button{background:transparent!important;color:var(--vl-text,#173f43)!important;border:0!important;box-shadow:none!important;text-decoration:underline;padding:8px;min-height:44px;max-width:100%;white-space:normal}
.place-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;margin-top:20px}
html body.discovery .place-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px;min-height:100px;border:1px solid var(--vl-border,#cadcda);border-radius:14px;background:var(--vl-surface-subtle,#edf6f3);color:var(--vl-text,#173f43);text-align:left;white-space:normal;overflow-wrap:anywhere}
.place-card strong{font-size:18px;line-height:1.3}.place-card span{font-size:14px}.place-card .place-card-action{margin-top:auto;text-decoration:underline}.place-card[aria-pressed=true]{outline:2px solid var(--vl-accent,#16796d);outline-offset:1px}
.country-map-label{background:transparent;border:0}.country-map-label button{display:flex;align-items:center;gap:8px;padding:0!important;border:1px solid var(--vl-border,#cadcda)!important;border-radius:50%!important;background:var(--vl-accent,#16796d)!important;color:var(--vl-text,#173f43)!important;box-shadow:0 3px 12px #132b3326;width:14px!important;min-width:14px!important;max-width:14px!important;height:14px!important;min-height:14px!important;justify-content:center;font-size:10px;font-weight:800;line-height:1;white-space:normal}.country-map-label button strong{overflow-wrap:anywhere}.country-map-label button[aria-pressed=true]{outline:3px solid var(--vl-accent,#16796d)}
.place-browser button:focus-visible,.country-map-label button:focus-visible{outline:3px solid var(--vl-accent,#16796d);outline-offset:3px}

/* Avatar atlas: one existing directory snapshot, theme tokens, geographic clusters. */
html body.discovery.avatar-directory .discovery-shell{max-width:1440px;padding:clamp(16px,3vw,38px)}
html body.discovery.avatar-directory .directory-atlas{order:1;display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr);overflow:hidden;border:1px solid var(--vl-border-subtle);border-radius:26px;background:var(--vl-surface);box-shadow:var(--vl-shadow);min-width:0;isolation:isolate}
html body.discovery.avatar-directory .directory-atlas .discovery-map-area{order:0;width:100%;min-width:0;position:relative;border:0;border-radius:0;overflow:hidden;background:var(--vl-surface-subtle)!important}
html body.discovery.avatar-directory .directory-atlas #interpreter-map{height:660px;min-height:660px;border:0;border-radius:0;background:var(--vl-surface-subtle)}
html body.discovery.avatar-directory .atlas-heading{position:absolute;z-index:450;top:0;left:0;right:0;padding:28px 28px 40px;pointer-events:none;background:linear-gradient(var(--vl-surface-subtle),color-mix(in srgb,var(--vl-surface-subtle) 94%,transparent) 55%,transparent)}
html body.discovery.avatar-directory .atlas-eyebrow{font-size:10px;letter-spacing:.2em;font-weight:750;color:var(--vl-link)}
html body.discovery.avatar-directory .atlas-heading h2{font-size:clamp(24px,2.6vw,38px);line-height:1.12;letter-spacing:-.045em;margin:10px 0;color:var(--vl-text)}
html body.discovery.avatar-directory .atlas-heading p{font-size:14px;margin:0;color:var(--vl-text-muted)}
html body.discovery.avatar-directory .directory-atlas .place-browser{order:1;border:0;border-left:1px solid var(--vl-border-subtle);border-radius:0;padding:26px 22px;background:var(--vl-surface);max-height:660px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
html body.discovery.avatar-directory .directory-atlas .place-browser h2{font-size:clamp(24px,2.2vw,32px);letter-spacing:-.04em;margin:24px 0 10px}
html body.discovery.avatar-directory .directory-atlas .place-browser>p{font-size:14px;line-height:1.6;margin:0 0 22px}
html body.discovery.avatar-directory .directory-atlas .place-grid{display:flex;flex-direction:column;gap:12px;margin-top:0}
html body.discovery.avatar-directory .directory-atlas .place-card{display:flex;flex-direction:row;align-items:center;gap:13px;padding:18px 14px;min-height:100px;border:1px solid var(--vl-border-subtle);border-radius:18px;background:linear-gradient(130deg,var(--vl-surface),var(--vl-surface-subtle));box-shadow:none;transition:background .15s,border-color .15s;position:relative}
html body.discovery.avatar-directory .directory-atlas .place-card:hover{background:var(--vl-surface-raised);border-color:var(--vl-link)}
html body.discovery.avatar-directory .directory-atlas .place-card[aria-pressed=true]{outline:0;border:2px solid var(--vl-link);padding:17px 13px;background:var(--vl-surface-subtle)}
html body.discovery.avatar-directory .place-card-copy{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
html body.discovery.avatar-directory .place-card-copy strong{font-size:16px;line-height:1.35;color:var(--vl-text)}
html body.discovery.avatar-directory .place-card-copy>span{font-size:12px;line-height:1.45;color:var(--vl-text-muted)}
html body.discovery.avatar-directory .place-card-arrow{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;flex:none;background:var(--vl-surface-raised);color:var(--vl-link);font-size:19px}
html body.discovery.avatar-directory .atlas-portraits{display:flex;align-items:center;justify-content:center;flex:none;position:relative;min-height:50px;padding-right:2px}
html body.discovery.avatar-directory .atlas-portraits .directory-avatar{display:block!important;position:relative!important;width:49px!important;height:49px!important;min-width:49px!important;border:3px solid var(--vl-surface)!important;border-radius:50%!important;overflow:hidden;box-shadow:0 3px 10px #0002;margin:0;flex:none}
html body.discovery.avatar-directory .atlas-portraits .directory-avatar+.directory-avatar{margin-left:-22px}
html body.discovery.avatar-directory .atlas-portraits .directory-avatar img{width:100%;height:100%;object-fit:cover}
html body.discovery.avatar-directory .atlas-more{position:absolute;right:-4px;bottom:-4px;font:700 10px/1 system-ui;padding:4px 5px;border-radius:12px;background:var(--vl-accent);color:var(--vl-on-accent);border:2px solid var(--vl-surface)}
html body.discovery.avatar-directory .atlas-view-results{display:block;width:100%;padding:14px 10px;margin-top:22px;border:1px solid var(--vl-border-subtle);border-radius:12px;background:var(--vl-surface-subtle);color:var(--vl-link);font-weight:700;white-space:normal}
html body.discovery.avatar-directory .place-breadcrumb{gap:2px;font-size:11px;align-items:center}
html body.discovery.avatar-directory .place-breadcrumb button{font-size:11px;min-height:32px;padding:4px;text-decoration:none;color:var(--vl-text-muted)!important}
html body.discovery.avatar-directory .place-breadcrumb button:hover{text-decoration:underline}
html body.discovery.avatar-directory .atlas-avatar-marker{background:transparent;border:0}
html body.discovery.avatar-directory .atlas-pin{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;width:154px;max-width:154px;height:118px;min-height:118px;padding:0!important;border:0!important;border-radius:16px;background:transparent!important;box-shadow:none!important;color:var(--vl-text)!important;white-space:normal;cursor:pointer}
html body.discovery.avatar-directory .atlas-pin .atlas-portraits{min-height:59px}
html body.discovery.avatar-directory .atlas-pin .directory-avatar{width:59px!important;height:59px!important;min-width:59px!important;border:3px solid var(--vl-surface)!important;box-shadow:0 0 0 1px color-mix(in srgb,var(--vl-link) 45%,transparent),0 3px 20px #0003}
html body.discovery.avatar-directory .atlas-pin .directory-avatar+.directory-avatar{margin-left:-20px}
html body.discovery.avatar-directory .atlas-pin-label{display:flex;flex-direction:column;gap:3px;max-width:154px;padding:8px 12px;border:1px solid var(--vl-border-subtle);border-radius:12px;background:var(--vl-surface);box-shadow:var(--vl-shadow);color:var(--vl-text);text-align:center;line-height:1.2}
html body.discovery.avatar-directory .atlas-pin-label strong{font-size:12px;line-height:1.25}
html body.discovery.avatar-directory .atlas-pin-label>span{font-size:10px;color:var(--vl-text-muted)}
html body.discovery.avatar-directory .atlas-pin:hover .atlas-pin-label,html body.discovery.avatar-directory .atlas-pin[aria-pressed=true] .atlas-pin-label{border-color:var(--vl-link);box-shadow:0 0 0 1px var(--vl-link)}
html body.discovery.avatar-directory .directory-atlas .map-caption,html body.discovery.avatar-directory .directory-atlas .map-privacy{display:none!important}
html body.discovery.avatar-directory .directory-atlas .leaflet-top.leaflet-left{top:auto;bottom:36px;left:12px}
html body.discovery.avatar-directory .directory-atlas .leaflet-control-zoom a{background:var(--vl-surface)!important;color:var(--vl-text)!important;border-color:var(--vl-border-subtle)!important}
html body.discovery.avatar-directory .directory-atlas .leaflet-control-attribution{background:var(--vl-surface)!important;color:var(--vl-text-muted)!important;font-size:9px;padding:3px 6px}
html body.discovery.avatar-directory .directory-atlas .leaflet-control-attribution a{color:var(--vl-link)!important}
html body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(1) brightness(.32) sepia(1) hue-rotate(130deg) saturate(2.4) contrast(1.25)}
html body.discovery.avatar-directory .directory-atlas .leaflet-tile{filter:none!important;opacity:1!important}
html[data-vl-theme=light] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(.85) sepia(.12) saturate(.55)}
@media(prefers-color-scheme:light){html[data-vl-theme=system] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(.85) sepia(.12) saturate(.55)}}
html body.discovery.avatar-directory .continent-map-label button{background:var(--vl-surface)!important;color:var(--vl-text)!important;border-color:var(--vl-border-subtle)!important}
html body.discovery.avatar-directory .map-community-avatar .directory-avatar{border-color:var(--vl-surface)!important;box-shadow:0 0 0 1px var(--vl-link),0 4px 24px #0003}
html body.discovery.avatar-directory .directory-atlas .atlas-empty{padding:18px;line-height:1.6;background:var(--vl-surface-subtle);border-radius:16px}
@media(max-width:1050px){html body.discovery.avatar-directory .directory-atlas{grid-template-columns:minmax(0,1.5fr) minmax(290px,1fr)}html body.discovery.avatar-directory .directory-atlas .place-browser{padding:22px 16px}html body.discovery.avatar-directory .directory-atlas .place-card{gap:10px;padding:16px 10px}.atlas-heading{padding:22px!important}}
@media(max-width:760px){
 html body.discovery.avatar-directory .directory-atlas{grid-template-columns:minmax(0,1fr);border-radius:20px}
 html body.discovery.avatar-directory .directory-atlas #interpreter-map{height:620px;min-height:620px}
 html body.discovery.avatar-directory .directory-atlas .place-browser{border-left:0;border-top:1px solid var(--vl-border-subtle);max-height:none;overflow:visible;padding:22px 18px}
 html body.discovery.avatar-directory .atlas-heading h2{font-size:28px}
 html body.discovery.avatar-directory .directory-atlas .place-card{min-height:88px;padding:16px}
 html body.discovery.avatar-directory .directory-atlas .place-card[aria-pressed=true]{padding:15px}
 html body.discovery.avatar-directory .directory-atlas .place-grid{gap:10px}
}
@media(prefers-reduced-motion:reduce){html body.discovery.avatar-directory .directory-atlas *{transition:none!important}}
html body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{opacity:.62}
html[data-vl-theme=light] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{opacity:1}
@media(prefers-color-scheme:light){html[data-vl-theme=system] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{opacity:1}}
html body.discovery.avatar-directory .atlas-pin{height:138px;min-height:138px}
html body.discovery.avatar-directory .atlas-pin .atlas-portraits{min-height:72px}
html body.discovery.avatar-directory .atlas-pin .directory-avatar{width:72px!important;height:72px!important;min-width:72px!important;border-width:3px!important}
html body.discovery.avatar-directory .atlas-pin .directory-avatar+.directory-avatar{margin-left:-31px}

/* Keep map treatment aligned with the actual appearance scheme. */
html:not([data-vl-theme]) body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane,
html[data-vl-theme=default] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(.85) sepia(.12) saturate(.55);opacity:1}
html[data-vl-theme=dark] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(1) invert(.9) brightness(.75) contrast(1.15);opacity:1}
@media(prefers-color-scheme:dark){html[data-vl-theme=system] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(1) invert(.9) brightness(.75) contrast(1.15);opacity:1}}
html[data-vl-theme=high-contrast] body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(1) invert(1) contrast(1.4);opacity:1}
html body.discovery.avatar-directory .directory-atlas :is(.atlas-pin,.place-card,.atlas-view-results,.place-breadcrumb button):focus-visible{outline:3px solid var(--vl-focus)!important;outline-offset:3px}

/* Animate only small compositor-friendly details; Leaflet owns map transforms. */
html body.discovery.avatar-directory .atlas-pin :is(.atlas-portraits,.atlas-pin-label),html body.discovery.avatar-directory .place-card-arrow{transition:transform 180ms cubic-bezier(.2,.8,.2,1),border-color 180ms ease}
@media(hover:hover){html body.discovery.avatar-directory .atlas-pin:hover .atlas-portraits{transform:translateY(-2px)}html body.discovery.avatar-directory .place-card:hover .place-card-arrow{transform:translateX(2px)}}
html[data-vl-motion=reduced] body.discovery.avatar-directory .directory-atlas *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html[data-vl-motion=reduced] body.discovery.avatar-directory :is(.atlas-pin .atlas-portraits,.place-card-arrow){transform:none!important}
@media(prefers-reduced-motion:reduce){html body.discovery.avatar-directory .directory-atlas *{animation:none!important;transition:none!important;scroll-behavior:auto!important}html body.discovery.avatar-directory :is(.atlas-pin .atlas-portraits,.place-card-arrow){transform:none!important}}

/* Neutral map surround: accent colors belong to controls, not blank map space. */
html body.discovery.avatar-directory .directory-atlas .discovery-map-area,
html body.discovery.avatar-directory .directory-atlas #interpreter-map{background:var(--vl-surface)!important}
html body.discovery.avatar-directory .atlas-heading{background:linear-gradient(var(--vl-surface),color-mix(in srgb,var(--vl-surface) 90%,transparent) 55%,transparent)!important}
/* Isolate labels from the page-wide button typography rules. */
html[data-vl-appearance] body.discovery.avatar-directory .directory-atlas .continent-map-label button{
 font-size:12px!important;line-height:1.3!important;letter-spacing:0!important;
 width:max-content;max-width:150px!important;min-width:0!important;min-height:28px!important;
 padding:5px 10px!important;white-space:nowrap!important;display:inline-flex!important;align-items:center;gap:4px;
}
html[data-vl-appearance] body.discovery.avatar-directory .directory-atlas .continent-map-label button span{font-size:11px!important;line-height:inherit!important}
@media(max-width:650px){html[data-vl-appearance] body.discovery.avatar-directory .directory-atlas .continent-map-label button{font-size:10px!important;max-width:140px!important;padding:5px 7px!important}}

/* Use the available desktop width for the map and its country browser. */
html body.discovery.avatar-directory .discovery-shell{max-width:none;padding:clamp(12px,1.25vw,24px)}
html.finder-embedded body.discovery.avatar-directory .discovery-shell{max-width:none;padding:12px}
/* Fractional Leaflet zoom can expose hairline seams between 256px raster tiles.
   A one-pixel overlap keeps the continuous map surface during scaling. */
html body.discovery.avatar-directory .directory-atlas .leaflet-tile{width:257px!important;height:257px!important;max-width:none!important;mix-blend-mode:normal}

html body.discovery.avatar-directory .directory-search-disclosure{order:3;width:100%;min-width:0;border:1px solid var(--vl-border-subtle,#bfd4d1);border-radius:16px;background:var(--vl-surface,#fff);color:var(--vl-text,#173f43)}
html body.discovery.avatar-directory .directory-search-disclosure>summary{padding:18px 20px;min-height:48px;cursor:pointer;font-weight:700;color:var(--vl-link,#166b69)}
html body.discovery.avatar-directory .directory-search-disclosure[open]>.discovery-panel{padding:0 20px 20px}
html body.discovery.avatar-directory .directory-search-close{margin:0 0 16px;min-height:44px;color:var(--vl-link,#166b69);background:var(--vl-surface-subtle,#e9f5f2);border:1px solid var(--vl-border-subtle,#bfd4d1)}
html body.discovery.avatar-directory .directory-search-disclosure>summary:focus-visible{outline:3px solid var(--vl-link,#166b69);outline-offset:3px;border-radius:12px}
@media(max-width:650px){html body.discovery.avatar-directory .directory-search-disclosure[open]>.discovery-panel{padding:0 12px 12px}}

html body.discovery.avatar-directory .directory-search-disclosure[open] .directory-search-close{position:sticky;top:8px;z-index:1100;box-shadow:var(--vl-shadow)}
html body.discovery.avatar-directory .directory-return-site{position:fixed;bottom:20px;left:20px;z-index:1100;padding:12px 18px;min-height:48px;border-radius:999px;background:var(--vl-text,#173f43);color:var(--vl-bg,#fff);border:1px solid var(--vl-border,#bfd4d1);box-shadow:var(--vl-shadow)}

/* Keep failed-tile recovery outside the moving Leaflet panes. */
html body.discovery.avatar-directory .map-tile-notice{position:absolute;bottom:42px;left:72px;z-index:1001;display:flex;align-items:center;gap:10px;max-width:min(420px,calc(100% - 100px));padding:10px 12px;border:1px solid var(--vl-border-subtle);border-radius:12px;background:var(--vl-surface);color:var(--vl-text);box-shadow:var(--vl-shadow);font-size:12px;line-height:1.4}
html body.discovery.avatar-directory .map-tile-notice[hidden]{display:none}
html body.discovery.avatar-directory .map-tile-notice button{flex:none;width:auto;min-height:40px;padding:8px 10px;color:var(--vl-link);background:var(--vl-surface);border:1px solid var(--vl-border-subtle);border-radius:8px;font-size:12px}

/* Keep profile dismissal below an embedding page's fixed header. */
html body.discovery #selection.selection-sheet{inset:var(--profile-visible-top,16px) 0 var(--profile-visible-bottom,16px);max-height:calc(100dvh - var(--profile-visible-top,16px) - var(--profile-visible-bottom,16px));scroll-padding-top:100px}
html body.discovery #selection .directory-profile-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;min-height:68px}
html body.discovery #selection .close-selection{position:static;flex:0 0 auto;width:auto;height:auto;min-height:44px;min-width:88px;padding:10px 12px;gap:8px;font-size:16px;line-height:1.2;border:1px solid var(--ds-border,#697e9b);cursor:pointer}
html body.discovery #selection .close-selection span{font-size:24px;line-height:1}
html body.discovery #selection .close-selection:focus-visible{outline:3px solid var(--ds-accent,#4166db);outline-offset:2px}
html body.discovery #selection .close-selection:hover{filter:brightness(1.15)}

/* Region navigation lives beside the map; compact selection on small screens. */
html body.discovery #continent-cards{display:none!important}
@media(max-width:760px){html body.discovery #continent-cards{display:block!important;margin:12px 0}.compact-region-label{display:grid;gap:8px;font-weight:700;color:var(--vl-text)}#directory-region-select{width:100%;min-height:44px;background:var(--vl-surface);color:var(--vl-text);border:1px solid var(--vl-border);border-radius:10px;padding:10px}}

@media(max-width:760px){html body.discovery .place-browser[data-world="true"] .place-grid{display:none!important}}
/* Homepage directory presentation. Public data and standalone directory are unchanged. */
html.network-embed,html.network-embed body,html.network-embed .discovery-shell{
 --vl-bg:#fff!important;--vl-input:#fff!important;--vl-text:#163d37!important;--vl-text-muted:#48665e!important;--vl-muted:#48665e!important;--vl-heading:#163d37!important;--vl-link:#006b60!important;--vl-accent:#006b60!important;--vl-surface:#fff!important;--vl-surface-subtle:#f1f8f4!important;--vl-surface-raised:#e5f3eb!important;--vl-border:#a8c8bb!important;--vl-border-subtle:#d5e6de!important;--vl-focus:#006b60!important;--vl-button-text:#fff!important;
 background:#fff!important;color:#163d37!important;color-scheme:light!important;overflow-x:hidden;
}
html.network-embed body.discovery.avatar-directory .discovery-shell{display:flex!important;flex-direction:column;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;gap:18px}
html.network-embed body.discovery.avatar-directory :is(.explore-intro,.community-section,.atlas-heading),html.network-embed body.discovery.avatar-directory>footer,html.network-embed body.discovery.avatar-directory>.site-footer{display:none!important}
html.network-embed body.discovery.avatar-directory .network-filter-bar{order:0;display:flex;align-items:end;gap:16px;flex-wrap:wrap;padding:4px 2px 8px;margin:0}
html.network-embed body.discovery.avatar-directory .network-filter-bar label{display:grid;gap:8px;margin:0!important;font:600 14px/1.3 system-ui;color:#163d37!important;min-width:170px;flex:1}
html.network-embed body.discovery.avatar-directory .network-filter-bar>label,html.network-embed body.discovery.avatar-directory #continent-cards{flex:1;min-width:200px;max-width:360px}
html.network-embed body.discovery.avatar-directory #continent-cards{display:block!important;margin:0!important;padding:0!important;border:0!important}
html.network-embed body.discovery.avatar-directory .network-filter-bar :is(input,select){box-sizing:border-box;width:100%;height:52px!important;min-height:52px!important;margin:0!important;border:1px solid #9bbcb0!important;border-radius:12px!important;padding:12px 14px;background:#fff!important;color:#163d37!important;font:400 15px system-ui;box-shadow:none!important}
html.network-embed body.discovery.avatar-directory .network-location-filters{display:flex;gap:12px;flex:1;flex-wrap:wrap;min-width:200px}
html.network-embed body.discovery.avatar-directory .network-location-filters[hidden]{display:none!important}
html.network-embed body.discovery.avatar-directory .directory-atlas{order:1;display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(310px,1fr)!important;gap:24px;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;min-height:0!important;overflow:visible!important;align-items:start}
html.network-embed body.discovery.avatar-directory .discovery-map-area{border:0!important;border-radius:18px!important;background:#fff!important;min-height:0!important;overflow:hidden;position:sticky;top:8px}
html.network-embed body.discovery.avatar-directory #interpreter-map{height:560px!important;min-height:0!important;background:#fff!important;border:0!important;border-radius:18px!important}
html.network-embed body.discovery.avatar-directory .directory-atlas .leaflet-tile-pane{filter:grayscale(.6) sepia(.15)!important;opacity:1!important}
html.network-embed body.discovery.avatar-directory :is(.map-caption,.map-privacy){display:none!important}
html.network-embed body.discovery.avatar-directory .place-browser{padding:0 0 0 22px!important;border:0!important;border-left:1px solid #dceae4!important;background:#fff!important;min-height:0!important;max-height:560px!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b2cec2 #fff}
html.network-embed body.discovery.avatar-directory .network-results-heading{padding:16px 18px;margin:0 0 16px;border-radius:12px;background:linear-gradient(105deg,#e0f2e7,#f5faf7);position:sticky;top:0;z-index:2}
html.network-embed body.discovery.avatar-directory .network-results-eyebrow{font:700 10px/1.4 system-ui;letter-spacing:.12em;color:#416b60!important}
html.network-embed body.discovery.avatar-directory .network-results-heading h2{font:600 28px/1.15 Georgia,serif!important;letter-spacing:-.025em;margin:6px 0 0!important;color:#163d37!important}
html.network-embed body.discovery.avatar-directory .network-profile-results{display:grid;gap:12px;margin:0}
html.network-embed body.discovery.avatar-directory .network-profile-card{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid #ccdfd5;border-radius:16px;background:#fff!important;box-shadow:0 3px 10px #164e3010;margin:0;transition:box-shadow .18s,border-color .18s}
html.network-embed body.discovery.avatar-directory .network-profile-card:hover{border-color:#78b5a0;box-shadow:0 6px 18px #164e3017}
html.network-embed body.discovery.avatar-directory .network-profile-portrait{display:grid;place-items:center;position:relative;width:96px;height:120px;flex-shrink:0;border-radius:12px;overflow:hidden;background:#e6f2eb;color:#16574d;font:600 24px Georgia}
html.network-embed body.discovery.avatar-directory .network-profile-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:12px}
html.network-embed body.discovery.avatar-directory img[hidden]{display:none!important}
html.network-embed body.discovery.avatar-directory .network-profile-portrait .directory-avatar{width:96px;height:120px;border:0;border-radius:12px}
html.network-embed body.discovery.avatar-directory .network-profile-card h4{font:700 19px/1.25 system-ui!important;margin:0 0 7px;color:#163d37!important;overflow-wrap:anywhere}
html.network-embed body.discovery.avatar-directory .network-profile-card p{font:400 14px/1.45 system-ui!important;margin:0 0 9px;color:#48665e!important}
html.network-embed body.discovery.avatar-directory .network-profile-actions{display:flex;gap:8px;flex-wrap:wrap}
html.network-embed body.discovery.avatar-directory .network-profile-card :is(a,button),html.network-embed body.discovery.avatar-directory .network-empty button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border:1px solid #006b60!important;border-radius:9px;background:#006b60!important;color:#fff!important;font:650 13px/1.4 system-ui;text-decoration:none;cursor:pointer}
html.network-embed body.discovery.avatar-directory .network-profile-card a.network-message{background:#fff!important;color:#006b60!important;border-color:#a4c7b8!important}
html.network-embed body.discovery.avatar-directory .network-photo-note{font:400 12px/1.4 system-ui!important;margin:0 0 12px!important;color:#48665e!important}
html.network-embed body.discovery.avatar-directory .atlas-view-results{width:100%;min-height:46px;margin:16px 0 0!important;padding:10px;border:1px solid #abcbbd!important;border-radius:10px!important;background:#eff8f2!important;color:#006b60!important;font:650 14px/1.4 system-ui!important}
html.network-embed body.discovery.avatar-directory .directory-search-disclosure{order:2;margin:0!important;border:1px solid #d5e6de!important;border-radius:12px!important;background:#fff!important;color:#163d37!important}
html.network-embed body.discovery.avatar-directory .directory-search-disclosure>summary{min-height:48px;color:#163d37!important}
html.network-embed body.discovery.avatar-directory .overview-map-avatar .map-community-avatar{width:86px!important;height:82px!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important;display:flex;align-items:center;justify-content:center}
.network-portrait-cluster,.network-illustrated-faces{display:flex;align-items:center;justify-content:center;isolation:isolate}
.network-map-portrait{position:relative;display:grid;place-items:center;width:68px;height:76px;border:3px solid #fff;border-radius:50%;background:#e5f3ec;box-shadow:0 5px 15px #164b3830;color:#16574d;font:600 20px Georgia;overflow:hidden}
.network-map-portrait+.network-map-portrait{margin-left:-20px;width:50px;height:58px;z-index:-1}
html.network-embed .network-map-portrait img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;border-radius:50%!important}
html.network-embed .network-illustrated-faces .directory-avatar{width:62px!important;height:68px!important;border:3px solid #fff!important;box-shadow:0 4px 12px #164b3830;border-radius:50%!important}
html.network-embed .network-illustrated-faces .directory-avatar+ .directory-avatar{margin-left:-20px!important;width:46px!important;height:54px!important;z-index:-1}
html.network-embed body.discovery.avatar-directory .map-community-avatar:after{content:"";position:absolute;left:50%;bottom:-10px;width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:#006b60;transform:translateX(-50%)}
html.network-embed body.discovery.avatar-directory .continent-map-label button{background:#fff!important;color:#14574c!important;border:1px solid #bad7c9!important;border-radius:10px!important;font:650 12px/1.4 system-ui!important;padding:7px 10px!important;box-shadow:0 4px 10px #174e3020}
html.network-embed body.discovery.avatar-directory .directory-atlas .leaflet-control-zoom a{color:#006b60!important;background:#fff!important;border-color:#a9c9bc!important}
html.network-embed .leaflet-control-attribution{font:9px/1.2 system-ui!important;background:#ffffffdd!important;color:#48665e!important}
html.network-embed .leaflet-control-attribution a{color:#006b60!important}
html.network-embed body.discovery.avatar-directory :is(button,a,input,select):focus-visible{outline:3px solid #006b60!important;outline-offset:3px}
html.network-preview body.discovery.avatar-directory .directory-atlas{display:block!important}
html.network-preview body.discovery.avatar-directory :is(.network-filter-bar,.place-browser,.directory-search-disclosure,.leaflet-control-zoom,.continent-map-label){display:none!important}
html.network-preview body.discovery.avatar-directory #interpreter-map{height:100vh!important;min-height:0!important;border-radius:0!important}
html.network-preview body.discovery.avatar-directory .discovery-shell{gap:0}
html.network-preview body.discovery.avatar-directory .discovery-map-area{position:relative;top:0;border-radius:0!important}
html.network-preview body.discovery.avatar-directory .map-community-avatar{transform:scale(.86)}
@media(max-width:700px){
 html.network-embed body.discovery.avatar-directory .directory-atlas{grid-template-columns:1fr!important;gap:18px}
 html.network-embed body.discovery.avatar-directory .discovery-map-area{position:relative;top:0}
 html.network-embed body.discovery.avatar-directory #interpreter-map{height:360px!important}
 html.network-preview body.discovery.avatar-directory #interpreter-map{height:100vh!important}
 html.network-embed body.discovery.avatar-directory .place-browser{padding:0!important;border:0!important;max-height:490px!important}
 html.network-embed body.discovery.avatar-directory .network-filter-bar{gap:12px}
 html.network-embed body.discovery.avatar-directory .network-filter-bar>label,html.network-embed body.discovery.avatar-directory #continent-cards{min-width:130px;max-width:none}
 html.network-embed body.discovery.avatar-directory .network-location-filters{flex-basis:100%}
 html.network-embed body.discovery.avatar-directory .network-results-heading h2{font-size:25px!important}
 html.network-embed body.discovery.avatar-directory .overview-map-avatar .map-community-avatar{transform:scale(.7)}
 html.network-embed body.discovery.avatar-directory .continent-map-label{display:none}
}
@media(prefers-reduced-motion:reduce){html.network-embed *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html.network-embed[data-vl-motion=reduced] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}

html.network-embed .network-filter-bar input::placeholder{color:#48665e!important;opacity:1}
html.network-embed .network-filter-bar select option{background:#fff;color:#163d37}

@media(max-width:700px){html.network-embed body.discovery.avatar-directory .network-filter-bar>label,html.network-embed body.discovery.avatar-directory #continent-cards{flex-basis:100%;min-width:0}html.network-embed body.discovery.avatar-directory .network-filter-bar label{min-width:0}html.network-embed body.discovery.avatar-directory .network-filter-bar :is(input,select){min-width:0;max-width:100%}}

/* Keep directory actions readable when the shared appearance theme loads later. */
@layer vl-foundation {
html.network-embed body.discovery.avatar-directory .network-profile-card .network-profile-actions a:not(.network-message){background:#006b60!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html.network-embed body.discovery.avatar-directory .network-profile-card .network-profile-actions a.network-message{background:#fff!important;color:#006b60!important;-webkit-text-fill-color:#006b60!important}
}

/* The homepage already supplies search and map filters. Full /find remains complete. */
html.network-embed .directory-search-disclosure,html.network-embed .atlas-view-results{display:none!important}

/* Preserve square illustration cells; real portraits retain object-fit:cover. */
html.network-embed body.discovery.avatar-directory .network-profile-portrait,
html.network-embed body.discovery.avatar-directory .network-profile-portrait .directory-avatar {width:96px!important;height:96px!important;min-width:96px!important;aspect-ratio:1;flex:none}
html.network-embed body.discovery.avatar-directory .network-map-portrait,
html.network-embed body.discovery.avatar-directory .network-map-portrait+.network-map-portrait {height:auto!important;aspect-ratio:1}

/* Search belongs to the full-screen directory, not the homepage preview. */
html.network-embed body.discovery.avatar-directory .network-query[hidden]{display:none!important}
html.network-embed body.discovery.avatar-directory .network-filter-bar>.network-query{max-width:480px;min-width:200px;flex:2}

/* In-page region picker and the completed full-screen directory. */
@layer vl-foundation {
 html.network-embed #continent-cards{position:relative;z-index:500}
 html.network-embed .network-region-label{font:600 14px/1.3 system-ui!important;color:#163d37!important;margin:0 0 8px!important}
 html.network-embed .network-region-picker{padding:0!important;margin:0!important;border:0!important;background:transparent!important}
 html.network-embed .network-region-picker>summary{display:flex!important;align-items:center;justify-content:space-between;gap:10px;min-height:52px!important;box-sizing:border-box;list-style:none!important;padding:12px 14px!important;border:1px solid #9bbcb0!important;border-radius:12px!important;background:#fff!important;color:#163d37!important;font:500 15px/1.4 system-ui!important;cursor:pointer}
 html.network-embed .network-region-picker>summary::-webkit-details-marker{display:none}
 html.network-embed .network-region-picker>summary::marker{content:''}
 html.network-embed .network-region-picker[open]>summary{border-color:#006b60!important;box-shadow:0 0 0 2px #006b6015}
 html.network-embed .network-region-chevron{font-size:22px!important;flex:none}
 html.network-embed .network-region-options{position:absolute;top:100%;left:0;right:0;min-width:260px;margin-top:6px;padding:6px;border:1px solid #bdd7cd;border-radius:14px;background:#fff;box-shadow:0 12px 32px #123b3526;max-height:min(440px,65vh);overflow:auto}
 html.network-embed .network-region-options button{display:grid!important;grid-template-columns:1fr auto;gap:2px 12px;width:100%!important;min-height:48px!important;padding:9px 12px!important;margin:0!important;text-align:left!important;border:0!important;border-radius:8px!important;background:#fff!important;color:#163d37!important;font:600 15px/1.3 system-ui!important;box-shadow:none!important;cursor:pointer}
 html.network-embed .network-region-options button small{grid-column:1;font:400 12px/1.3 system-ui!important;color:#48665e!important}
 html.network-embed .network-region-options .region-check{grid-column:2;grid-row:1/3;align-self:center}
 html.network-embed .network-region-options button:hover{background:#eff8f4!important}
 html.network-embed .network-region-options button[aria-pressed=true],html.network-embed .network-region-options button[aria-pressed=true] small{background:#006b60!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
 html.network-embed .network-region-picker :is(summary,button):focus-visible{outline:3px solid #006b60!important;outline-offset:2px}
 html.network-embed .network-directory-ending{display:none!important}
 html.network-search-enabled .network-directory-ending{display:block!important;order:3;margin:0!important;padding:0!important}
 html.network-search-enabled .network-directory-help{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;background:#eaf7f0;border:1px solid #d2e9de;border-radius:14px}
 html.network-search-enabled .network-directory-help h2{font:700 21px/1.25 system-ui!important;color:#163d37!important;margin:0 0 4px!important}
 html.network-search-enabled .network-directory-help p{font:400 14px/1.5 system-ui!important;color:#48665e!important;margin:0!important}
 html.network-search-enabled .network-directory-help>a{display:inline-flex!important;align-items:center;justify-content:center;gap:16px;min-height:44px!important;padding:11px 17px!important;border-radius:10px!important;background:#006b60!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font:650 14px/1.4 system-ui!important;white-space:nowrap;text-decoration:none!important}
 html.network-search-enabled .network-directory-footer{display:flex!important;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:18px 4px 8px!important;margin:16px 0 0!important;border-top:1px solid #d2e9de;background:#fff!important}
 html.network-search-enabled .network-directory-footer nav{display:flex;gap:22px;flex-wrap:wrap}
 html.network-search-enabled .network-directory-footer :is(nav a,button){display:inline-flex;align-items:center;min-height:40px;padding:6px 0!important;margin:0!important;border:0!important;background:transparent!important;color:#16574d!important;font:500 14px/1.4 system-ui!important;text-decoration:none!important;cursor:pointer;box-shadow:none!important}
 html.network-search-enabled .network-directory-footer .brand{margin:0!important}
}
@media(min-width:701px){
 html.network-search-enabled body.discovery.avatar-directory #interpreter-map{height:max(440px,calc(100dvh - 290px))!important}
 html.network-search-enabled body.discovery.avatar-directory .place-browser{max-height:max(440px,calc(100dvh - 290px))!important;padding:0 0 0 18px!important}
 html.network-search-enabled body.discovery.avatar-directory .discovery-map-area{border:1px solid #d2e9de!important;border-radius:16px!important;position:relative;top:0}
 html.network-search-enabled body.discovery.avatar-directory .directory-atlas{gap:20px}
}
@media(max-width:700px){
 html.network-embed .network-region-options{min-width:0}
 html.network-search-enabled .network-directory-help{flex-direction:column;align-items:stretch;gap:14px;padding:18px}
 html.network-search-enabled .network-directory-footer{gap:10px}
 html.network-search-enabled .network-directory-footer .brand{flex-basis:100%}
}

@layer vl-foundation {html.network-embed .network-region-options button>span:not(.region-check){font:600 15px/1.3 system-ui!important;color:inherit!important}}

@layer vl-foundation {
html.published-profile-gallery body main.published-profiles{display:block!important;max-width:1320px!important;width:100%!important;box-sizing:border-box;margin:0 auto!important;padding:40px 24px 64px!important;height:auto!important;overflow:visible!important;min-height:65vh}
.published-profiles .profiles-intro{display:block!important;padding:0!important;border:0!important;position:static!important;min-height:0!important;background:transparent!important}
.published-profiles .profiles-intro h1{font-size:clamp(30px,4vw,48px)!important;line-height:1.15!important;margin:0 0 12px!important}
.published-profiles .profiles-intro p{font-size:17px!important;line-height:1.5!important;margin:0 0 24px!important}
.published-profiles .profiles-search{display:grid!important;gap:8px;max-width:640px;font-size:15px!important;font-weight:600!important}
.published-profiles .profiles-search input{width:100%!important;box-sizing:border-box;min-height:50px!important;padding:12px 16px!important;border:1px solid var(--vl-border,#a8c8bb)!important;border-radius:12px!important;background:var(--vl-input,#fff)!important;color:var(--vl-text,#163d37)!important;font-size:16px!important}
.published-profiles .profiles-status{font-size:14px!important;margin:18px 0!important;line-height:1.5!important}
.published-profiles .published-profile-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.published-profiles .published-profile-card{display:grid!important;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:20px;padding:20px!important;border:1px solid var(--vl-border,#cce2da)!important;border-radius:18px!important;background:var(--vl-surface,#fff)!important;box-shadow:0 3px 12px #163d3708}
.published-profiles .published-profile-photo{position:relative;width:120px;height:150px;overflow:hidden;border-radius:12px;background:var(--vl-surface-subtle,#e7f6ef);display:grid;place-items:center;font-size:42px;font-weight:700}
.published-profiles .published-profile-photo img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}
.published-profiles .published-profile-photo img[hidden]{display:none!important}
.published-profiles .published-profile-card h2{font-size:22px!important;line-height:1.25!important;margin:0 0 8px!important;overflow-wrap:anywhere}
.published-profiles .published-profile-card p{font-size:15px!important;line-height:1.5!important;margin:0 0 16px!important;overflow-wrap:anywhere}
.published-profiles .published-profile-card a,.published-profiles .profiles-more,.published-profiles .profiles-retry{display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:44px;box-sizing:border-box;padding:10px 14px!important;border:0!important;border-radius:10px!important;background:#006b60!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-decoration:none!important;font:600 14px/1.4 system-ui!important;cursor:pointer}
.published-profiles :is(.profiles-more,.profiles-retry){margin-top:24px!important}
.published-profiles [hidden]{display:none!important}
.published-profiles :is(a,input,button):focus-visible{outline:3px solid var(--vl-focus,#006b60)!important;outline-offset:3px}
@media(max-width:760px){.published-profiles .published-profile-grid{grid-template-columns:1fr}.published-profiles .published-profile-card{grid-template-columns:88px minmax(0,1fr);gap:14px;padding:16px!important}.published-profiles .published-profile-photo{width:88px;height:110px}.published-profiles .published-profile-card h2{font-size:20px!important}}
}

@layer vl-foundation {html.published-profile-gallery,html.published-profile-gallery body{height:auto!important;min-height:100vh!important;overflow:visible!important}html.published-profile-gallery body{display:block!important}}

/* Profile actions and bounded page navigation. */
.published-profile-card>div:last-child{min-width:0}.published-profile-card h2{overflow-wrap:anywhere}.profile-card-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1rem}.profile-card-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem 1rem!important;margin:0!important;font-size:1rem!important;transition:background .18s,transform .18s}.profile-card-actions a:hover{transform:translateY(-1px)}.profile-card-actions a:focus-visible,.profiles-pagination button:focus-visible{outline:3px solid #087e79;outline-offset:3px}.profiles-pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem 0 1.5rem}.profiles-pagination button{min-height:44px;padding:.65rem 1.2rem;border:1px solid #b5d5d3;border-radius:10px;color:#173f40;background:white;cursor:pointer}.profiles-pagination button:disabled{opacity:.5;cursor:default}.profiles-page{font-weight:700}.published-profile-grid[aria-busy=true]{opacity:.65}@media(prefers-reduced-motion:reduce){.profile-card-actions a{transition:none;transform:none!important}}

@layer vl-foundation {
.published-profiles .published-profile-card .profile-card-actions .profile-action-view{background:transparent!important;color:#075e5a!important;border:1px solid transparent!important;box-shadow:none!important;text-decoration:underline!important;text-underline-offset:4px}
.published-profiles .published-profile-card .profile-card-actions .profile-action-book{background:#a93e2b!important;border:1px solid #a93e2b!important;color:white!important}
.published-profiles .published-profile-card .profile-card-actions .profile-action-message{background:white!important;border:1.5px solid #08766e!important;color:#075e5a!important}
.published-profiles .profiles-pagination{padding:16px 20px;background:#eaf5f1;border:1px solid #a6c9c1;border-radius:14px}
.published-profiles .profiles-pagination button{min-width:140px;min-height:52px;font-size:17px;font-weight:750;border:2px solid #086d65;background:#086d65;color:white;box-shadow:0 3px 8px #123c3b18;transition:transform .18s,background .18s}
.published-profiles .profiles-pagination button:not(:disabled):hover{background:#054f49;transform:translateY(-2px)}
.published-profiles .profiles-pagination button:disabled{background:#e1ebe7;color:#536e68;border-color:#b7cbc4;opacity:1;box-shadow:none}
@media(max-width:560px){.published-profiles .profiles-pagination{padding:12px;gap:8px}.published-profiles .profiles-pagination button{min-width:100px;padding:10px;font-size:15px}}
@media(prefers-reduced-motion:reduce){.published-profiles .profiles-pagination button{transition:none;transform:none!important}}
}

/* Keep explicit text fill aligned with each action across the global theme. */
@layer vl-foundation {
 html.published-profile-gallery body main.published-profiles .published-profile-card .profile-card-actions .profile-action-view {color:#075e5a!important;-webkit-text-fill-color:#075e5a!important}
 html.published-profile-gallery body main.published-profiles .published-profile-card .profile-card-actions .profile-action-message {color:#075e5a!important;-webkit-text-fill-color:#075e5a!important}
 html.published-profile-gallery body main.published-profiles .published-profile-card .profile-card-actions .profile-action-book {color:#fff!important;-webkit-text-fill-color:#fff!important}
 html.published-profile-gallery body main.published-profiles .profiles-pagination button {background:#086d65!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:2px solid #086d65!important;min-height:52px!important;font-size:17px!important}
 html.published-profile-gallery body main.published-profiles .profiles-pagination button:disabled {background:#e1ebe7!important;color:#536e68!important;-webkit-text-fill-color:#536e68!important;border-color:#b7cbc4!important;opacity:1!important}
}
/* Public marketplace. Scoped away from signed-in workspaces and the map finder. */
@layer vl-callroom {
html.marketplace-public:has(#public-marketplace-header) body{background:#fffcf5!important;color:#153e42!important}
html.marketplace-public:has(#public-marketplace-header) body main.published-profiles{max-width:1440px!important;padding:0 32px 48px!important;color:#153e42!important}
html.marketplace-public:has(#public-marketplace-header) .mp-breadcrumb{display:flex!important;gap:12px!important;align-items:center!important;padding:22px 0 30px!important;font-size:14px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-breadcrumb a{color:#1f5758!important;text-decoration:none!important}
html.marketplace-public:has(#public-marketplace-header) .profiles-intro .mp-eyebrow{font:750 13px/1.4 system-ui!important;letter-spacing:2.2px!important;margin:0 0 12px!important;color:#245355!important}
html.marketplace-public:has(#public-marketplace-header) .profiles-intro h1{font-size:clamp(38px,4.3vw,60px)!important;letter-spacing:-2px!important;line-height:1.08!important;margin-bottom:14px!important;color:#103d40!important}
html.marketplace-public:has(#public-marketplace-header) .profiles-intro p{font-size:18px!important;max-width:1000px!important;color:#496264!important;margin-bottom:28px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-search{padding:20px!important;background:white!important;border:1px solid #bbd1ca!important;border-radius:18px!important;box-shadow:0 4px 20px #173e3e04!important}
html.marketplace-public:has(#public-marketplace-header) .mp-fields{display:grid!important;grid-template-columns:1fr 1fr 1fr auto!important;align-items:end!important;gap:18px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-search label{display:grid!important;gap:9px!important;font:650 14px/1.5 system-ui!important;color:#1b3e40!important;min-width:0!important}
html.marketplace-public:has(#public-marketplace-header) .mp-search :is(input,select){box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:48px!important;margin:0!important;padding:11px 14px!important;border:1px solid #adc8be!important;border-radius:10px!important;background:#fff!important;color:#203f43!important;font:400 16px/1.4 system-ui!important}
html.marketplace-public:has(#public-marketplace-header) .mp-search .mp-search-submit{margin:0!important;min-height:48px!important;padding:12px 23px!important;border:1px solid #ad422d!important;border-radius:11px!important;background:#ad422d!important;color:white!important;-webkit-text-fill-color:white!important;font:700 16px/1.4 system-ui!important;cursor:pointer!important}
html.marketplace-public:has(#public-marketplace-header) .mp-more{margin-top:16px!important;border-top:1px solid #e1eae5!important;padding-top:14px!important;background:transparent!important}
html.marketplace-public:has(#public-marketplace-header) .mp-more summary{color:#245858!important;cursor:pointer!important;font-weight:650!important;min-height:28px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-more label{max-width:500px!important;margin-top:14px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-more p{font-size:13px!important;margin:12px 0 0!important;color:#536c69!important}
html.marketplace-public:has(#public-marketplace-header) .mp-browse-note{font-size:14px!important;margin:17px 0 30px!important;color:#476560!important}
html.marketplace-public:has(#public-marketplace-header) .mp-results-heading{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:15px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-results-heading h2{font-size:clamp(24px,2.6vw,34px)!important;letter-spacing:-.9px!important;line-height:1.2!important;margin:0!important;color:#103d40!important}
html.marketplace-public:has(#public-marketplace-header) .mp-map-link{color:#165958!important;border:1px solid #b0cbc2!important;background:white!important;border-radius:10px!important;padding:10px 16px!important;text-decoration:none!important;font-weight:650!important;white-space:nowrap!important}
html.marketplace-public:has(#public-marketplace-header) .profiles-status{margin:14px 0 20px!important;color:#556c68!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:18px!important;border:1px solid #bdd1c9!important;border-radius:18px!important;background:#fff!important;box-shadow:0 5px 14px #123b3305!important;min-width:0!important}
html.marketplace-public:has(#public-marketplace-header) .mp-profile-summary{display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;gap:16px!important;align-items:start!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-photo{width:108px!important;height:154px!important;border-radius:12px!important;background:#e1f2e9!important;color:#2d6b61!important;flex:none!important}
html.marketplace-public:has(#public-marketplace-header) .mp-profile-details{min-width:0!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-card h2{font-size:21px!important;letter-spacing:-.5px!important;line-height:1.2!important;margin:2px 0 9px!important;color:#123b3e!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-card p{font-size:13px!important;line-height:1.5!important;margin:0 0 10px!important;color:#526762!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-card .mp-languages{color:#184e4d!important;font-weight:650!important;font-size:14px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-availability{font-size:12px!important;padding-top:3px!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-card .mp-tagline{margin:16px 0 0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important}
html.marketplace-public:has(#public-marketplace-header) .published-profile-card .profile-card-actions{display:grid!important;grid-template-columns:1fr 1.2fr!important;gap:10px!important;padding-top:18px!important;margin-top:auto!important}
html.marketplace-public:has(#public-marketplace-header) body main.published-profiles .published-profile-card .profile-card-actions a{display:flex!important;min-height:44px!important;margin:0!important;padding:9px 8px!important;font:650 13px/1.4 system-ui!important;border-radius:10px!important;text-decoration:none!important;text-align:center!important}
html.marketplace-public:has(#public-marketplace-header) body main.published-profiles .published-profile-card .profile-card-actions .profile-action-view{background:#ad422d!important;color:white!important;-webkit-text-fill-color:white!important;border:1px solid #ad422d!important}
html.marketplace-public:has(#public-marketplace-header) body main.published-profiles .published-profile-card .profile-card-actions .profile-action-message{background:white!important;border:1px solid #9fbbb1!important;color:#235954!important;-webkit-text-fill-color:#235954!important}
html.marketplace-public:has(#public-marketplace-header) .profiles-pagination{background:transparent!important;border:0!important;padding:4px 0!important;margin:25px 0!important}
html.marketplace-public:has(#public-marketplace-header) body main.published-profiles .profiles-pagination button{font-size:14px!important;min-height:44px!important;min-width:110px!important;box-shadow:none!important}
html.marketplace-public:has(#public-marketplace-header) .mp-how{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;background:#e6f1e8!important;border-radius:18px!important;padding:26px!important;margin-top:36px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-how>div{display:flex!important;align-items:start!important;gap:14px!important;min-width:0!important}
html.marketplace-public:has(#public-marketplace-header) .mp-how>div+div{border-left:1px solid #b3cac0!important;padding-left:24px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-how>div>span{background:#ad422d!important;border-radius:50%!important;color:#fff!important;font:700 16px/34px system-ui!important;width:34px!important;height:34px!important;flex:none!important;text-align:center!important}
html.marketplace-public:has(#public-marketplace-header) .mp-how h2{font-size:20px!important;line-height:1.3!important;margin:0 0 6px!important;color:#183f3b!important;letter-spacing:-.4px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-how p{font-size:14px!important;line-height:1.5!important;margin:0!important;color:#46615a!important}
html.marketplace-public:has(#public-marketplace-header) .mp-workspace{text-align:center!important;font-size:15px!important;margin:24px 0 0!important}
html.marketplace-public:has(#public-marketplace-header) .mp-workspace a{color:#a6402d!important;font-weight:700!important;text-underline-offset:4px!important}
html.marketplace-public:has(#public-marketplace-header) .mp-empty{grid-column:1/-1!important;padding:32px!important;border:1px solid #c0d8cc!important;background:white!important;border-radius:15px!important}
html.marketplace-public:has(#public-marketplace-header) :is(a,input,select,summary,button):focus-visible{outline:3px solid #168b7e!important;outline-offset:4px!important}
}
@layer vl-callroom {
@media(max-width:1100px){html.marketplace-public:has(#public-marketplace-header) .published-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}html.marketplace-public:has(#public-marketplace-header) .mp-fields{grid-template-columns:1fr 1fr!important}}
@media(max-width:760px){html.marketplace-public:has(#public-marketplace-header) body main.published-profiles{padding:0 20px 32px!important}html.marketplace-public:has(#public-marketplace-header) .profiles-intro h1{font-size:40px!important}html.marketplace-public:has(#public-marketplace-header) .profiles-intro p{font-size:16px!important}html.marketplace-public:has(#public-marketplace-header) .mp-fields{grid-template-columns:1fr!important;gap:16px!important}html.marketplace-public:has(#public-marketplace-header) .mp-search{padding:18px!important}html.marketplace-public:has(#public-marketplace-header) .published-profile-grid{grid-template-columns:1fr!important}html.marketplace-public:has(#public-marketplace-header) .mp-results-heading{align-items:start!important}html.marketplace-public:has(#public-marketplace-header) .mp-results-heading h2{font-size:27px!important}html.marketplace-public:has(#public-marketplace-header) .mp-map-link{font-size:12px!important;padding:9px!important}html.marketplace-public:has(#public-marketplace-header) .mp-how{grid-template-columns:1fr!important;padding:22px!important;gap:22px!important}html.marketplace-public:has(#public-marketplace-header) .mp-how>div+div{border:0!important;border-top:1px solid #b3cac0!important;padding:20px 0 0!important}html.marketplace-public:has(#public-marketplace-header) .mp-profile-summary{grid-template-columns:105px minmax(0,1fr)!important}html.marketplace-public:has(#public-marketplace-header) .published-profile-photo{width:105px!important;height:142px!important}html.marketplace-public:has(#public-marketplace-header) .published-profile-card h2{font-size:22px!important}}
}

/* Prevent legacy finder markup from painting before the selected directory mounts.
   Visibility keeps map dimensions measurable. Existing mount classes release the gate;
   the call-room finder keeps its independent initial layout. No data wait is required. */
@layer vl-callroom {
 html:not(.finder-call-room) body.discovery:not(.avatar-directory)>main.discovery-shell{visibility:hidden!important;position:relative!important;min-height:360px!important}
 html:not(.finder-call-room) body.discovery:not(.avatar-directory)>main.discovery-shell::before{content:"Loading interpreter directory…";visibility:visible!important;position:absolute;inset:48px 24px auto;display:block;padding:24px;border:1px solid var(--vl-border,#c9ded7);border-radius:16px;background:var(--vl-surface,#fff);color:var(--vl-text,#163d37);font:600 18px/1.5 system-ui;text-align:center}
}
