.explorer-page{max-width:1140px;margin:0 auto;padding:110px 24px 100px;color:var(--text-dark,#24352b)}
.explorer-heading h1{font-size:2rem;letter-spacing:-.04em;margin:0 0 6px;color:var(--primary-dark)}
.explorer-heading p,.explorer-hint,.explorer-ranking{color:#56665c;line-height:1.5}
.explorer-modes{display:flex;gap:28px;border-bottom:1px solid #dce4de;margin:24px 0}
.explorer-modes button{background:none;border:0;border-bottom:3px solid transparent;padding:12px 4px;font:inherit;font-weight:700;color:#56665c;min-height:48px;cursor:pointer}
.explorer-modes [aria-selected=true]{color:var(--primary-dark);border-bottom-color:var(--primary)}
.explorer-search{display:flex;gap:10px;background:white;padding:8px;border:1px solid #c7d4cb;border-radius:16px;box-shadow:0 4px 16px #203b2910}
.explorer-search input{min-width:0;flex:1;border:0;background:transparent;padding:10px;font:inherit;font-size:1.05rem}
.explorer-page button,.explorer-page select,.explorer-page input,.explorer-page .btn{min-height:44px}
.explorer-page button{cursor:pointer;font-family:inherit}
.explorer-page :focus-visible{outline:3px solid #9c6e15;outline-offset:3px}
.explorer-tools{display:flex;align-items:end;gap:16px;justify-content:space-between;margin:20px 0 12px}
.explorer-category{display:grid;gap:5px;font-size:.85rem;font-weight:600;min-width:0;max-width:65%}
.explorer-page select,.explorer-filter-sheet input{font:inherit;padding:10px 12px;border:1px solid #c7d4cb;border-radius:10px;background:#fff;color:inherit;max-width:100%}
.explorer-active-filters{display:flex;gap:8px;flex-wrap:wrap}
.explorer-active-filters button{border:0;border-radius:8px;padding:8px 12px;background:#eaf1ec;color:#2d5038;text-align:left;overflow-wrap:anywhere}
.explorer-results-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:24px 0 16px}
.explorer-results-heading p{font-size:.9rem;color:#56665c}
.explorer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.explorer-card{background:white;border-radius:16px;padding:20px;box-shadow:0 2px 12px #24382b0a;display:flex;flex-direction:column;gap:12px;min-width:0;overflow-wrap:anywhere;border:1px solid #e3e9e5;scroll-margin-top:calc(96px + env(safe-area-inset-top, 0px));scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom, 0px))}
.explorer-card h2,.explorer-card .explorer-quote-text,.explorer-card .explorer-skills-text{scroll-margin-top:calc(96px + env(safe-area-inset-top, 0px));scroll-margin-bottom:calc(96px + env(safe-area-inset-bottom, 0px))}
.explorer-card h2{font-size:1.14rem;line-height:1.35;margin:0;color:var(--primary-dark)}
.explorer-card p{margin:0;font-size:.92rem;line-height:1.5}
.explorer-card-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#536258}
.explorer-person{display:flex;align-items:center;gap:10px;min-width:0;font-size:.87rem;color:#536258}
.explorer-person img{width:40px;height:40px;object-fit:cover;border-radius:50%}
.explorer-person-zone{position:relative}
.explorer-card>.explorer-person-zone{width:fit-content;max-width:100%}
.explorer-person-overlay{position:absolute;top:0;left:0;width:44px;height:44px;min-width:44px;min-height:44px;background:none;border:0;margin:0;padding:0;font:inherit;color:transparent;cursor:pointer;z-index:1}
.explorer-person-overlay:hover~img{filter:brightness(.94)}
.explorer-person-overlay:hover~.explorer-person-name,.explorer-person-overlay:hover~div h2{text-decoration:underline}
.explorer-person-overlay:focus-visible{outline:2px solid var(--primary,#4a7c59);outline-offset:3px;border-radius:12px}
.explorer-card-top{display:flex;gap:10px;justify-content:space-between;align-items:start}
.explorer-card-top .btn-fav-toggle{flex-shrink:0;background:none;border:0;font-size:1.25rem;width:44px;color:#536258;border-radius:50%}
.explorer-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:.85rem;color:#536258}
.explorer-budget{font-weight:700;color:var(--primary-dark)}
/* Annonce card: taxonomy and age on one line, then the short title, then one fact
   per line. The full description belongs to the Détails surface, never the card. */
.explorer-annonce{gap:10px}
.explorer-annonce .explorer-card-top{align-items:flex-start}
.explorer-annonce-taxonomy{flex:1;min-width:0;max-width:100%;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--primary-dark,#24382b);background:#EBF3EE;border-radius:6px;padding:4px 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.explorer-annonce-age{flex-shrink:0;font-size:.74rem;color:#6B7A70;background:#F4F6F4;border-radius:6px;padding:4px 8px;white-space:nowrap}
.explorer-annonce-facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5px;font-size:.89rem;color:#42504a}
.explorer-annonce-facts li{display:flex;align-items:baseline;gap:7px;min-width:0}
.explorer-fact-icon{flex-shrink:0;width:1.15em;text-align:center;font-size:.95em}
.explorer-annonce-facts li:last-child{font-weight:700;color:var(--primary-dark,#24382b)}
.explorer-person-badge{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:.78rem;font-weight:700;color:#2F6B45}
.explorer-person-rating{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:.82rem;font-weight:700;color:#8A6A18}
.explorer-person-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Name, badge and rating share the author line and wrap together on narrow cards. */
.explorer-annonce .explorer-person{flex-wrap:wrap;gap:6px 10px}
.explorer-card-actions{display:flex;align-items:center;gap:8px;margin-top:auto;padding-top:4px;flex-wrap:wrap}
.explorer-card-actions .btn{flex:1;justify-content:center;font-size:.9rem;padding:10px}
.explorer-state{grid-column:1/-1;padding:48px 20px;text-align:center;background:#fff;border-radius:16px}
.explorer-state h2{font-size:1.2rem;margin-bottom:12px}
.explorer-state p{margin-bottom:20px;color:#56665c}
.explorer-state .btn{margin:4px;justify-content:center}
.explorer-ranking{font-size:.8rem;margin-top:20px}
.explorer-filter-sheet{padding:24px;border:0;border-radius:20px;max-width:480px;width:calc(100% - 32px);max-height:85dvh;margin:auto;color:var(--text-dark);box-sizing:border-box}
.explorer-filter-sheet::backdrop{background:#12231980}
.explorer-filter-sheet label{display:grid;gap:6px;font-weight:600;font-size:.9rem;margin:18px 0 8px}
.explorer-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.explorer-sheet-heading h2{font-size:1.25rem;margin:0}
.explorer-sheet-heading button{border:0;background:none;min-width:44px;font-size:1.8rem}
.explorer-hint{font-size:.82rem;margin:6px 0}
.explorer-sheet-actions{display:flex;gap:12px;margin-top:24px}
.explorer-sheet-actions .btn{flex:1;justify-content:center}
.explorer-page [hidden]{display:none!important}
@media(max-width:950px){.explorer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.explorer-page{padding:100px 16px calc(95px + env(safe-area-inset-bottom))}.explorer-grid{grid-template-columns:1fr;gap:12px}.explorer-heading h1{font-size:1.7rem}.explorer-heading p{font-size:.94rem}.explorer-modes{margin:18px 0}.explorer-modes button{flex:1}.explorer-search .btn span{display:none}.explorer-search .btn{width:48px;justify-content:center;padding:10px}.explorer-search input{font-size:16px}.explorer-tools{gap:10px;align-items:stretch;flex-wrap:wrap}.explorer-category{max-width:100%;flex:1 1 100%}.explorer-tools .btn{font-size:.82rem;padding:10px}.explorer-results-heading{align-items:start;margin-top:20px}.explorer-results-heading .btn{font-size:.8rem;padding:8px}.explorer-card{padding:18px}.explorer-filter-sheet{margin:auto 0 0;max-width:none;width:100%;max-height:90dvh;border-radius:20px 20px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom))}.explorer-filter-sheet input,.explorer-filter-sheet select{font-size:16px}}
@media(prefers-reduced-motion:reduce){.explorer-page *{scroll-behavior:auto!important}}
.explorer-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.explorer-page .btn-primary{background:var(--primary,#4a7c59);color:#fff;box-shadow:none}
.explorer-search input{width:auto!important;border:0!important;box-shadow:none!important}

.explorer-heading{text-align:center}
.explorer-intent-label{margin:22px auto 12px;max-width:720px;text-align:center;font-size:1.05rem;font-weight:800;letter-spacing:.01em;color:var(--text,#1E2822)}
.explorer-swipe-hint{display:none;margin:4px auto 16px;text-align:center;font-size:.78rem;color:#56665c}
.explorer-worlds.explorer-modes{display:grid;grid-template-columns:1fr 1fr;gap:10px;max-width:640px;margin:0 auto 8px;padding:0;background:transparent;border:0;border-bottom:0;box-shadow:none;overflow:visible}
.explorer-world-slider{display:none}
.explorer-worlds .explorer-world-tab,.explorer-worlds .explorer-world-tab[aria-selected=true]{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:60px;width:100%;margin:0;padding:10px 14px;border:1px solid #E5DFD5;border-bottom:1px solid #E5DFD5;border-radius:18px;background:#fff;color:#5E7266;font:inherit;font-weight:700;font-size:.95rem;letter-spacing:0;text-transform:none;line-height:1.2;box-shadow:none}
.explorer-world-tab i{font-size:1.15rem}
.explorer-page[data-mode=lyanneurs] .explorer-world-tab.is-lyanneurs[aria-selected=true],
.explorer-world-tab.is-lyanneurs.active{background:#E8F1EA;border-color:#C9D9CE;color:#35583F}
.explorer-page[data-mode=annonces] .explorer-world-tab.is-annonces[aria-selected=true],
.explorer-world-tab.is-annonces.active{background:#F6EEDD;border-color:#E5D4B0;color:#7A5C14}
body.results-page{transition:none}
body.results-page[data-explorer-mode=annonces]{background:#FFF8E9}
body.results-page[data-explorer-mode=lyanneurs]{background:#EFF7F0}
.explorer-page[data-mode=annonces] .explorer-heading h1{color:#6F5A2A}
.explorer-page[data-mode=lyanneurs] .explorer-heading h1{color:#35583F}
.explorer-page[data-mode=annonces] .explorer-card{border-color:#E8DCC4}
.explorer-page[data-mode=lyanneurs] .explorer-card{border-color:#D3E0D6}
.explorer-page .btn-primary{box-shadow:none!important;background-image:none!important}
.explorer-page[data-mode=annonces] .btn-primary{background:#C9A24A!important;background-image:none!important;box-shadow:none!important}
.explorer-page[data-mode=lyanneurs] .btn-primary{background:#6B9476!important;background-image:none!important;box-shadow:none!important}
.explorer-page .lyann-cta-primary{background:linear-gradient(110deg,#4A7C59 0%,#80A86E 42%,#E5B345 100%)!important;background-image:linear-gradient(110deg,#4A7C59 0%,#80A86E 42%,#E5B345 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.25)!important;box-shadow:0 4px 14px rgba(74,124,89,.22)!important;border-radius:22px!important;font-weight:700!important}
.explorer-search .lyann-cta-primary,.explorer-publish.lyann-cta-primary{width:auto!important}
.explorer-card-actions.explorer-profile-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important}
.explorer-card-actions.explorer-profile-actions .btn{width:100%!important;min-width:100%!important;flex:none!important;box-sizing:border-box!important}
.explorer-search .lyann-cta-primary{flex-shrink:0;padding:0 16px!important}
body.is-native-app.has-member-nav .explorer-profile-actions .btn,
body.is-native-app.has-member-nav .explorer-card-actions .btn{scroll-margin-bottom:calc(var(--m-bottom-nav-height, 72px) + 20px + env(safe-area-inset-bottom, 0px))}
@media(max-width:420px){
.explorer-page[data-mode=annonces] .explorer-results-heading{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}
.explorer-page[data-mode=annonces] .explorer-results-heading .explorer-publish.lyann-cta-primary{width:auto!important;flex:0 0 auto;justify-content:flex-start;min-height:44px;padding:8px 14px!important;white-space:nowrap}
.explorer-page[data-mode=annonces] .explorer-results-heading p{margin-left:auto;text-align:right}
}
@media(max-width:640px){
.explorer-swipe-hint{display:block}
.explorer-world-tab{font-size:.78rem;padding:8px 6px;gap:5px}
.explorer-world-tab i{font-size:.95rem}
}
@media(prefers-reduced-motion:reduce){
.explorer-world-slider,body.results-page{transition:none}
.explorer-swipe-hint{display:none}
}

.explorer-page .explorer-profile-actions .lyann-cta-primary,
.explorer-page .explorer-profile-actions .btn {
    width: 100% !important;
    min-width: 100% !important;
    flex: none !important;
    box-sizing: border-box !important;
}

/* Phone, keyboard closed: bottom sheet stays within 90dvh and the actions stay on screen. */
@media (max-width: 600px) {
    body:not(.keyboard-open) #explorerFilters.explorer-filter-sheet[open] {
        display: flex;
        flex-direction: column;
        overflow: hidden;
        height: fit-content;
        max-height: 90dvh;
        margin: auto 0 0;
        top: auto;
        bottom: 0;
    }
    body:not(.keyboard-open) #explorerFilters .explorer-search-dock,
    body:not(.keyboard-open) #explorerFilters .explorer-sheet-heading,
    body:not(.keyboard-open) #explorerFilters .explorer-sheet-actions {
        flex: 0 0 auto;
    }
    body:not(.keyboard-open) #explorerFilters #explorerFilterForm {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        margin: 0;
    }
    body:not(.keyboard-open) #explorerFilters .explorer-sheet-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Annonces filter sheet: fill the visual viewport above the keyboard.
   Wide desktop keeps the centered dialog; the native app follows the keyboard in landscape too. */
body.is-native-app.keyboard-open #explorerFilters.explorer-filter-sheet[open],
body.keyboard-open #explorerFilters.explorer-filter-sheet[open] {
    position: fixed;
    top: var(--lyann-vv-offset, 0px);
    right: 0;
    left: 0;
    bottom: auto;
    margin: 0;
    width: 100%;
    max-width: none;
    height: var(--lyann-vv-height, 90dvh);
    max-height: var(--lyann-vv-height, 90dvh);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    padding: 12px 16px 12px;
}
@media (min-width: 601px) {
    body.keyboard-open:not(.is-native-app) #explorerFilters.explorer-filter-sheet[open] {
        position: fixed;
        inset: 0;
        margin: auto;
        width: calc(100% - 32px);
        max-width: 480px;
        height: fit-content;
        max-height: 85dvh;
        display: block;
        overflow: auto;
        border-radius: 20px;
        padding: 24px;
    }
}
body.is-native-app.keyboard-open #explorerFilters .explorer-search-dock,
body.keyboard-open #explorerFilters .explorer-search-dock,
body.is-native-app.keyboard-open #explorerFilters .explorer-sheet-heading,
body.keyboard-open #explorerFilters .explorer-sheet-heading,
body.is-native-app.keyboard-open #explorerFilters .explorer-sheet-actions,
body.keyboard-open #explorerFilters .explorer-sheet-actions {
    flex: 0 0 auto;
}
body.is-native-app.keyboard-open #explorerFilters #explorerFilterForm,
body.keyboard-open #explorerFilters #explorerFilterForm {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    margin: 0;
}
body.is-native-app.keyboard-open #explorerFilters .explorer-sheet-body,
body.keyboard-open #explorerFilters .explorer-sheet-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
body.is-native-app.keyboard-open #explorerFilters .explorer-sheet-actions,
body.keyboard-open #explorerFilters .explorer-sheet-actions {
    margin-top: 12px;
    padding-top: 8px;
    background: #fff;
}
@media (min-width: 601px) {
    body.keyboard-open:not(.is-native-app) #explorerFilters #explorerFilterForm,
    body.keyboard-open:not(.is-native-app) #explorerFilters .explorer-sheet-body {
        display: block;
        flex: none;
        min-height: 0;
        overflow: visible;
    }
    body.keyboard-open:not(.is-native-app) #explorerFilters .explorer-sheet-actions {
        margin-top: 24px;
        padding-top: 0;
    }
}
#explorerFilters.explorer-filter-sheet:not([open]) {
    display: none !important;
}
#explorerFilters.explorer-filter-sheet[open] {
    background: #fffdf8;
    color: #24352b;
    border-radius: 24px 24px 0 0;
    padding: 18px 18px calc(16px + env(safe-area-inset-bottom, 0px));
}
#explorerFilters .explorer-sheet-heading {
    align-items: flex-start;
    gap: 12px;
    margin: 0 0 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(74, 124, 89, 0.15);
}
#explorerFilters .explorer-sheet-heading h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #35583f;
}
#explorerFilters .explorer-sheet-sub {
    margin: 4px 0 0;
    color: #5c6e62;
    font-size: 0.88rem;
    font-weight: 500;
}
#explorerFiltersClose {
    position: static !important;
    top: auto !important;
    right: auto !important;
    flex: 0 0 40px;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    margin: 0;
    padding: 0;
    border-radius: 50% !important;
    border: 1px solid #e5dfd5 !important;
    background: #fff !important;
    color: #24352b !important;
    font-size: 1.35rem !important;
    line-height: 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
#explorerFilters label {
    margin: 14px 0 0;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #5c6e62;
}
#explorerFilters select,
#explorerFilters input[type="text"],
#explorerFilters input[type="search"],
#explorerFilters input[type="number"] {
    min-height: 48px;
    border-radius: 14px;
    border: 1.5px solid #d7e3da;
    background: #fff;
    padding: 10px 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #24352b;
}
#explorerFilters .explorer-hint {
    margin: 8px 0 0;
    color: #5c6e62;
    font-size: 0.84rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
}
#explorerFilters .explorer-sheet-actions {
    gap: 8px;
    margin-top: 16px;
}
#explorerFilters .explorer-sheet-actions .btn {
    min-height: 48px;
    border-radius: 999px;
    font-weight: 800;
}
#explorerFilters .explorer-sheet-actions .btn-outline {
    flex: 1;
    background: #fff !important;
    color: #24352b !important;
    border: 1.5px solid #d7e3da !important;
}
#explorerFilters .explorer-sheet-actions .btn-primary {
    flex: 1.4;
    background: linear-gradient(90deg, #4a7c59, #e5b345) !important;
    color: #17231c !important;
    border: 0 !important;
    box-shadow: none !important;
}
