/* Haut de l'accueil des évènements (refonte du 14/11/2026) : barre « lieu + recherche », météo en petit,
   cercles des organisateurs en version sobre. Jetons --bzk-* seulement (clair et sombre). */
.bzk-locbar { display: flex; align-items: center; gap: 12px; max-width: 1200px; margin: 16px auto 0; padding: 0 14px; box-sizing: border-box; }

.bzk-finder {
    flex: 1; min-width: 0; max-width: 680px; display: flex; align-items: stretch;
    background: var(--bzk-surface); border: 1px solid var(--bzk-border-strong); border-radius: 14px; overflow: hidden;
}
.bzk-finder:focus-within { border-color: var(--bzk-accent); }
.bzk-finder-place {
    flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 11px 12px 11px 14px;
    background: none; border: 0; border-right: 1px solid var(--bzk-border); color: var(--bzk-text);
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; max-width: 46%;
}
.bzk-finder-place:hover { background: var(--bzk-surface-2); }
.bzk-finder-place:focus-visible { outline: 2px solid var(--bzk-accent); outline-offset: -2px; }
.bzk-finder-place svg, .bzk-finder-caret { color: var(--bzk-text-muted); flex: none; }
.bzk-finder-name { overflow: hidden; text-overflow: ellipsis; }
.bzk-finder-what { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 10px 0 12px; color: var(--bzk-text-muted); cursor: text; font-weight: 400; }
.bzk-finder .bzk-finder-what .bzk-search-input {
    flex: 1; min-width: 0; width: 100%; border: 0; outline: none; background: transparent; box-shadow: none;
    padding: 10px 0; margin: 0; font-size: 16px; color: var(--bzk-text);
}
.bzk-finder .bzk-finder-what .bzk-search-input::placeholder { color: var(--bzk-text-faint); }
.bzk-finder .bzk-search-clear { color: var(--bzk-text-muted); padding: 6px; line-height: 0; }

.bzk-locbar-weather { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 0 12px; border-right: 1px solid var(--bzk-border); font-size: 14px; color: var(--bzk-text-muted); white-space: nowrap; }
.bzk-locbar-weather[hidden] { display: none; }
.bzk-locbar-weather .la { font-size: 20px; color: var(--bzk-text-muted); }

/* Cercles : sous la barre, au-dessus de « À la une ». Anneau en dégradé qui tourne doucement tant que la
   nouveauté n'est pas vue, gris ensuite ; le nom seul dessous (plus de « 1 nouveauté »). */
.bzk-locbar-stories { max-width: 1200px; margin: 12px auto 0; padding: 0 14px; box-sizing: border-box; }
.bzk-locbar-stories .ph-stories { gap: 12px; padding: 2px 2px 4px; margin-bottom: 0; scrollbar-width: none; }
.bzk-locbar-stories .ph-stories::-webkit-scrollbar { display: none; }
.bzk-locbar-stories .ph-story { width: 108px; gap: 7px; }
.bzk-locbar-stories .ph-story-ring { width: 96px; height: 96px; padding: 2px; position: relative; background: transparent; isolation: isolate; }
.bzk-locbar-stories .ph-story-ring::before {
    content: ""; position: absolute; inset: -30%; z-index: -1;
    background: conic-gradient(#f0c86a, #e0518f, #7b5cff, #f0c86a);
    animation: bzkRingSpin 5s linear infinite;
}
.bzk-locbar-stories .ph-story.is-seen .ph-story-ring::before { background: var(--bzk-border-strong); animation: none; }
.bzk-locbar-stories .ph-story-ring img { position: relative; border-color: var(--bzk-bg); }
.bzk-locbar-stories .ph-story-name { font-size: 13px; font-weight: 500; }
.bzk-locbar-stories .ph-story.is-seen .ph-story-name { color: var(--bzk-text-muted); }
.bzk-locbar-stories .ph-story-count { display: none; }
@keyframes bzkRingSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bzk-locbar-stories .ph-story-ring::before { animation: none; } }

@media (max-width: 600px) {
    .bzk-locbar { margin-top: 10px; gap: 8px; }
    .bzk-finder-place { font-size: 14.5px; padding-left: 12px; }
    .bzk-locbar-weather { font-size: 13px; }
    .bzk-locbar-weather .la { font-size: 18px; }
}
/* Cercles placés sous « À la une », dans la liste (déjà dans le conteneur de la page). */
.bzk-locbar-stories.is-in-list { max-width: none; margin: 18px 0 0; padding: 0; }

/* 14/11/2026 : vignettes plus grandes sur téléphone aussi, espacement égal au-dessus et en dessous des stories. */
@media (max-width: 600px) {
    .bzk-locbar-stories .ph-story { width: 92px; }
    .bzk-locbar-stories .ph-story-ring { width: 82px; height: 82px; }
}

/* 14/11/2026 : sur téléphone, deux lignes au lieu d'une barre écrasée — « lieu ▾ · météo » en texte simple,
   puis une grande barre de recherche pleine largeur. */
@media (max-width: 600px) {
    .bzk-finder { flex-wrap: wrap; align-items: center; max-width: none; background: none; border: 0; border-radius: 0; overflow: visible; }
    .bzk-finder:focus-within { border-color: transparent; }
    .bzk-finder-place { max-width: 70%; padding: 4px 8px 4px 0; border-right: 0; font-size: 17px; font-weight: 800; background: none; }
    .bzk-finder-place:hover { background: none; }
    .bzk-finder-place svg:first-child { color: var(--bzk-accent); }
    .bzk-locbar-weather { padding: 0 0 0 10px; border-right: 0; border-left: 1px solid var(--bzk-border); }
    .bzk-finder-what {
        order: 3; flex: 0 0 100%; margin-top: 10px; min-height: 50px; padding: 0 12px 0 14px; gap: 10px;
        background: var(--bzk-surface); border: 1px solid var(--bzk-border-strong); border-radius: 14px; box-sizing: border-box;
    }
    .bzk-finder-what:focus-within { border-color: var(--bzk-accent); box-shadow: 0 0 0 3px var(--bzk-accent-soft, transparent); }
    .bzk-finder-what > svg { width: 19px; height: 19px; color: var(--bzk-text); }
    .bzk-finder .bzk-finder-what .bzk-search-input { padding: 13px 0; font-size: 16px; }
}

/* 14/11/2026 : écran plus clair — date sous chaque bulle, titres de section du même style que « Nouveautés
   des organisateurs », filtres qui débordent signalés par un fondu à droite. */
.bzk-locbar-stories .ph-story-name, .ph--home-stories .ph-story-name { font-size: 13.5px; font-weight: 600; color: var(--bzk-text); }
.ph--home-stories .ph-story-when { margin-top: -2px; font-size: 12px; font-weight: 500; color: var(--bzk-accent); white-space: nowrap; text-transform: capitalize; }
.ph--home-stories .ph-story.is-seen .ph-story-when { color: var(--bzk-text-muted); }
.bzk-filters .bzk-chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent); padding-right: 30px; }
html body .bzk-section-label, html .dark-mode .bzk-section-label { color: var(--bzk-text) !important; font-size: 20px; font-weight: 800; border-bottom: 1px solid var(--bzk-border) !important; }
html body .bzk-section-count { background: var(--bzk-surface-2); color: var(--bzk-text-muted); }
@media (min-width: 1024px) { html body .bzk-section-label { font-size: 22px; } }

/* 14/11/2026 : les filtres de dates appartiennent à la liste, pas aux stories — trait + espace après les stories,
   titre « Toutes les sorties » au-dessus des filtres, filtres collés à la liste. */
.bzk-locbar-stories.is-in-list { padding-bottom: 26px; border-bottom: 1px solid var(--bzk-border); }
.bzk-locbar-stories.is-in-list:has(#bzkHomeStories[hidden]) { padding-bottom: 0; border-bottom: 0; }
html body .bzk-list-t { margin: 30px 0 12px; }
html body .bzk-filters { margin: 0 0 8px; }
@media (min-width: 1024px) { html body .bzk-block-t { font-size: 22px; } }
