/* Échanger — forum (7a), groupe (7b), sujet (7c), mobile (7d) */
.wpf { padding-bottom: 48px; }
.wpf-h1 { font-size: 46px; font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.wpf-h1--sm { font-size: 38px; }
.wpf-lead { font-size: 16px; line-height: 1.5; color: var(--wp-ink-2); }
.wpf-only-m { display: none; }

.wpf-av {
  --av: #6E6A5E; width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; position: relative; overflow: hidden;
  background: var(--av); color: #FBF9F4; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px;
}
.wpf-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wpf-av--sm { width: 30px; height: 30px; font-size: 12px; }

/* En-tête */
.wpf-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: center; padding-top: 32px; }
.wpf-hero__copy { display: flex; flex-direction: column; gap: 10px; }
.wpf-stats { display: flex; gap: 10px; }
.wpf-stats > div { flex: 1; background: var(--wp-paper); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wpf-stats strong { font-size: 26px; font-weight: 900; line-height: 1.1; }
.wpf-stats span { font-size: 12px; color: var(--wp-muted); line-height: 1.3; }

/* Poser une question */
.wpf-ask { margin-top: 20px; background: var(--wp-paper); border: 2px solid var(--wp-ink); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.wpf-ask:focus-within { box-shadow: 0 0 0 4px rgba(236, 122, 36, .22); }
.wpf-ask__row { display: flex; gap: 12px; align-items: center; }
.wpf-ask .wpf-av { width: 40px; height: 40px; }
.wpf-ask__in { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 17px/1.4 var(--wp-sans); color: var(--wp-ink); outline: none; padding: 6px 0; }
.wpf-ask__in::placeholder { color: var(--wp-faint); }
.wpf-ask__opts { display: flex; gap: 8px; align-items: center; padding-left: 52px; flex-wrap: wrap; }
.wpf-ask__k { font-size: 13px; font-weight: 600; color: var(--wp-muted); }
.wpf-ask__where { flex: 1; min-width: 0; }
.wpf-ask__where .wp-chip { font-size: 13px; padding: 6px 11px; }
.wpf-ask__go { font-weight: 800; font-size: 14px; padding: 10px 18px; }

/* Grille liste + colonne */
.wpf-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; padding-top: 24px; align-items: start; }
.wpf-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wpf-filters { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; }
.wpf-sorts { flex: 0 0 auto; overflow: visible; }
.wpf-themes { margin-left: auto; }
.wpf-sorts .wp-chip { font-size: 13px; padding: 7px 12px; }
.wpf-themes { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; font-weight: 600; }
.wpf-themes__k { color: var(--wp-muted); }
.wpf-theme { padding: 7px 12px; border-radius: 999px; background: var(--wp-paper); }
.wpf-theme:hover { background: var(--wp-sand, #ECE6DA); }
.wpf-theme.is-on { background: var(--wp-acc); color: var(--wp-ink); }

.wpf-topics { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wpf-topic {
  position: relative; background: var(--wp-paper); border-radius: 14px; padding: 16px 18px; display: flex; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.wpf-topic:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(40, 30, 10, .35); }
.wpf-topic__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wpf-topic__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wpf-topic__g { font: 500 10px/1.3 var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; padding: 3px 7px; border-radius: 4px; background: var(--wp-bg); }
.wpf-topic__by { font-size: 12px; color: var(--wp-faint); }
.wpf-topic__flag { font-size: 11px; font-weight: 700; color: var(--wp-acc-2); }
.wpf-topic__t { font-size: 18px; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.wpf-topic__t a::after { content: ''; position: absolute; inset: 0; border-radius: 14px; }
.wpf-topic__x { font-size: 14px; line-height: 1.45; color: var(--wp-ink-2); }
.wpf-topic__foot { display: flex; gap: 16px; font-size: 13px; color: var(--wp-muted); margin-top: 2px; align-items: center; flex-wrap: wrap; }
.wpf-topic__foot > span { display: inline-flex; align-items: center; gap: 4px; }
.wpf-topic__foot .lw-icon { font-size: 15px; }
.wpf-topic__go { margin-left: auto; font-weight: 700; color: var(--wp-ink); }
.wpf-more { text-align: center; font-size: 14px; font-weight: 700; padding: 12px; border: 1px dashed var(--wp-dash, #C9C1B0); border-radius: 12px; }
.wpf-more:hover { background: var(--wp-paper); }

/* Colonne */
.wpf-side { display: flex; flex-direction: column; gap: 16px; }
.wpf-quartier { background: var(--wp-dark); color: var(--wp-on-dark); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.wpf-quartier__k { font: 500 11px/1.3 var(--wp-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--wp-acc); }
.wpf-quartier__t { font-size: 22px; font-weight: 900; line-height: 1.15; }
.wpf-quartier__p { font-size: 13px; line-height: 1.5; color: #BDB6A6; }
.wpf-faces { display: flex; align-items: center; }
.wpf-faces .wpf-av { border: 2px solid var(--wp-dark); margin-right: -8px; }
.wpf-quartier__cta, .wpf-quartier .wpf-joinform button {
  display: block; width: 100%; border: 0; cursor: pointer; background: var(--wp-acc); color: var(--wp-ink);
  font: 800 14px/1.2 var(--wp-sans); text-align: center; padding: 10px; border-radius: 999px;
}
.wpf-quartier__cta:hover { background: #F08A3C; }
.wpf-joinform { display: contents; }

.wpf-box { background: var(--wp-paper); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.wpf-box__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wpf-box__h strong, .wpf-box__t { font-size: 16px; font-weight: 800; }
.wpf-box__h a { font-size: 13px; font-weight: 700; white-space: nowrap; }
.wpf-box__p, .wpf-box--txt p { font-size: 13px; line-height: 1.55; color: var(--wp-ink-2); }
.wpf-box--txt { gap: 4px; }
.wpf-box--txt a { text-decoration: underline; text-underline-offset: 2px; }
.wpf-box--txt .wpf-strong { font-weight: 800; color: var(--wp-ink); text-decoration: none; }
.wpf-box__duo { display: flex; gap: 6px; }
.wpf-box__duo .wp-btn { flex: 1; justify-content: center; }
.wpf-glist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wpf-glist li { display: flex; gap: 10px; align-items: center; border-bottom: 1px solid var(--wp-line); padding-bottom: 8px; }
.wpf-glist li:last-child { border-bottom: 0; padding-bottom: 0; }
.wpf-glist img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--wp-bg); }
.wpf-glist__b { flex: 1; min-width: 0; font-size: 14px; line-height: 1.3; }
.wpf-glist__b a { font-weight: 700; }
.wpf-glist__p { font: 400 10px/1 var(--wp-mono); color: var(--wp-muted); }
.wpf-glist__m { display: block; font-size: 12px; color: var(--wp-muted); }
.wpf-join { font: 700 12px/1 var(--wp-sans); border: 1px solid var(--wp-ink); padding: 6px 10px; border-radius: 999px; background: transparent; color: var(--wp-ink); cursor: pointer; white-space: nowrap; }
.wpf-join:hover { background: var(--wp-ink); color: var(--wp-paper); }
.wpf-glist__in { font-size: 12px; color: var(--wp-ok, #2E7D3A); font-weight: 700; }

/* Vue groupes */
.wpf-ghead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.wpf-ghead > div { display: flex; flex-direction: column; gap: 8px; max-width: 70ch; }
.wpf-gbody { display: flex; flex-direction: column; gap: 18px; padding-top: 20px; }
.wpf-gfilter { background: var(--wp-paper); border-radius: 14px; padding: 10px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; }
.wpf-n { font: 400 11px/1 var(--wp-mono); opacity: .6; }
.wpf-sec { display: flex; flex-direction: column; gap: 12px; }
.wpf-sec__h { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--wp-line); padding-bottom: 8px; }
.wpf-sec__h h2 { font-size: 22px; font-weight: 900; letter-spacing: -.01em; }
.wpf-sec__h span { font: 400 12px/1 var(--wp-mono); color: var(--wp-muted); }
.wpf-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wpf-card { background: var(--wp-paper); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.wpf-card__ph { position: relative; height: 130px; background: var(--wp-bg); }
.wpf-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wpf-card__tag { position: absolute; left: 10px; top: 10px; font: 500 10px/1 var(--wp-mono); text-transform: uppercase; background: var(--wp-ink); color: var(--wp-paper); padding: 4px 7px; border-radius: 4px; }
.wpf-card__unread { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 800; background: var(--wp-acc); color: var(--wp-ink); padding: 4px 8px; border-radius: 999px; }
.wpf-card__b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.wpf-card__k { font: 500 10px/1.3 var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--wp-acc-2); }
.wpf-card__t { font-size: 17px; font-weight: 800; line-height: 1.25; }
.wpf-card__p { font-size: 13px; line-height: 1.45; color: var(--wp-ink-2); }
.wpf-card__m { font-size: 12px; color: var(--wp-muted); }
.wpf-card__last { font-size: 12px; color: var(--wp-muted); line-height: 1.4; }
.wpf-card__last a { color: var(--wp-ink); font-weight: 600; }
.wpf-card__act { margin-top: auto; padding-top: 8px; display: flex; }
.wpf-card__act .wpf-joinform { display: block; }
.wpf-empties a { text-decoration: underline; text-underline-offset: 2px; }

/* Groupe (7b) */
.wpg-crumbs { padding: 16px 0 12px; }
.wpg-inline { display: inline-flex; margin: 0; }
.wpg-hero { position: relative; height: 220px; border-radius: 14px; overflow: hidden; background: var(--wp-dark); }
.wpg-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wpg-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 26, 23, .1), rgba(27, 26, 23, .85)); }
.wpg-hero__in { position: absolute; left: 32px; right: 32px; bottom: 22px; z-index: 1; color: #FBF9F4; display: flex; align-items: flex-end; gap: 20px; }
.wpg-hero__copy { flex: 1; min-width: 0; }
.wpg-hero__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.wpg-tag { font: 500 11px/1.3 var(--wp-mono); text-transform: uppercase; background: var(--wp-ink); color: #FBF9F4; padding: 3px 7px; border-radius: 4px; }
.wpg-tag--light { background: #FBF9F4; color: var(--wp-ink); }
.wpg-tag--acc { background: var(--wp-acc); color: var(--wp-ink); }
.wpg-hero__t { font-size: 44px; font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
.wpg-hero__s { font-size: 15px; opacity: .9; line-height: 1.45; }
.wpg-hero__act { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.wpg-hero__row { display: flex; gap: 6px; }
.wpg-ghost { font: 700 13px/1 var(--wp-sans); color: #FBF9F4; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.wpg-ghost:hover { background: rgba(255, 255, 255, .22); }

.wpg-tabs { display: flex; gap: 24px; padding: 0 32px; background: var(--wp-paper); border-bottom: 1px solid var(--wp-line); border-radius: 0 0 14px 14px; margin-top: -8px; padding-top: 8px; overflow-x: auto; }
.wpg-tabs a { padding: 12px 0; font-size: 15px; font-weight: 700; color: var(--wp-ink-2); border-bottom: 3px solid transparent; white-space: nowrap; }
.wpg-tabs a span { font: 400 11px/1 var(--wp-mono); }
.wpg-tabs a.is-on { color: var(--wp-ink); border-bottom-color: var(--wp-acc); }
.wpg-tabs a:hover { color: var(--wp-ink); }

.wpg-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding-top: 24px; align-items: start; }
.wpg-main { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wpg-side { display: flex; flex-direction: column; gap: 14px; }
.wpg-h2 { font-size: 24px; font-weight: 900; letter-spacing: -.02em; line-height: 1.15; }
.wpg-lead { font-size: 14px; line-height: 1.5; color: var(--wp-ink-2); margin-top: -6px; }
.wpg-headrow { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.wpg-headrow > div { display: flex; flex-direction: column; gap: 10px; }
.wpg-count { font-size: 13px; background: var(--wp-acc); color: var(--wp-ink); border-radius: 999px; padding: 2px 9px; vertical-align: middle; }

.wpg-compose { display: flex; gap: 12px; align-items: center; background: var(--wp-paper); border: 2px solid var(--wp-ink); border-radius: 14px; padding: 10px 10px 10px 16px; }
.wpg-compose__in { flex: 1; min-width: 0; font-size: 15px; color: var(--wp-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wpg-compose__go { background: var(--wp-ink); color: var(--wp-paper); border-color: var(--wp-ink); }
.wpg-note { display: flex; gap: 12px; align-items: center; justify-content: space-between; background: var(--wp-paper); border-left: 4px solid var(--wp-ok, #2E7D3A); border-radius: 12px; padding: 12px 16px; font-size: 14px; line-height: 1.45; flex-wrap: wrap; }
.wpg-tools { display: flex; gap: 8px; }
.wpg-tools__q { flex: 1; min-width: 0; }
.wpg-tools__q input { width: 100%; background: var(--wp-paper); border: 1px solid var(--wp-line-2); border-radius: 999px; padding: 10px 16px; font: 400 14px/1.3 var(--wp-sans); color: var(--wp-ink); outline: none; }
.wpg-tools__q input:focus { border-color: var(--wp-ink); }
.wpg-tools__sort { width: auto; border-radius: 999px; padding-top: 9px; padding-bottom: 9px; font-size: 14px; }
.wpg-pinned .wpf-topic { box-shadow: inset 4px 0 0 var(--wp-acc); }
.wpg-pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.wpg-pager a { min-width: 36px; text-align: center; padding: 8px 10px; border-radius: 999px; background: var(--wp-paper); font-weight: 700; font-size: 14px; }
.wpg-pager a.is-on { background: var(--wp-ink); color: var(--wp-paper); }

.wpf-mod { position: absolute; top: 10px; right: 10px; z-index: 2; }
.wpf-mod summary { list-style: none; cursor: pointer; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--wp-muted); }
.wpf-mod summary::-webkit-details-marker { display: none; }
.wpf-mod summary:hover, .wpf-mod[open] summary { background: var(--wp-bg); color: var(--wp-ink); }
.wpf-mod__menu { position: absolute; right: 0; top: 34px; background: var(--wp-paper); border: 1px solid var(--wp-line); border-radius: 12px; box-shadow: var(--wp-shadow-pop); padding: 6px; min-width: 180px; display: flex; flex-direction: column; }
.wpf-mod__menu button { width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 10px; border-radius: 8px; font: 600 13px/1.2 var(--wp-sans); color: var(--wp-ink); cursor: pointer; }
.wpf-mod__menu button:hover { background: var(--wp-bg); }
.wpf-mod__menu .is-danger, .wpg-mini.is-danger { color: var(--wp-danger, #B3261E); }

.wpg-hint { font-size: 13px; color: var(--wp-muted); }
.wpg-preview { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wpg-preview li { background: var(--wp-paper); border-radius: 12px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; }
.wpg-preview__b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wpg-preview__b strong { font-size: 16px; font-weight: 800; line-height: 1.25; }
.wpg-bar { display: block; height: 9px; border-radius: 4px; background: #ECE6DA; margin-top: 7px; }
.wpg-preview__m { font-size: 12px; color: var(--wp-muted); text-align: right; flex-shrink: 0; line-height: 1.5; }
.wpg-lock { background: var(--wp-dark); color: var(--wp-on-dark); border-radius: 14px; padding: 20px; display: flex; gap: 16px; align-items: center; }
.wpg-lock > div { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.wpg-lock strong { font-size: 18px; font-weight: 900; line-height: 1.2; }
.wpg-lock span { font-size: 13px; color: #BDB6A6; line-height: 1.45; }
.wpg-lock .wp-btn--line { color: var(--wp-on-dark); border-color: rgba(255, 255, 255, .35); }

.wpg-members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wpg-member { background: var(--wp-paper); border-radius: 12px; padding: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wpg-member__av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--wp-bg); }
.wpg-member__av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wpg-member__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wpg-member__n { font-size: 15px; font-weight: 800; }
.wpg-member__m { font-size: 12px; color: var(--wp-muted); }
.wpg-member__msg { font-size: 13px; color: var(--wp-ink-2); font-style: italic; }
.wpg-member__act { display: flex; gap: 6px; flex-wrap: wrap; }
.wpg-mini { border: 1px solid var(--wp-line-2); background: transparent; border-radius: 999px; padding: 6px 10px; font: 700 12px/1 var(--wp-sans); color: var(--wp-ink); cursor: pointer; }
.wpg-mini:hover { border-color: var(--wp-ink); }

.wpg-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wpg-events li { background: var(--wp-paper); border-radius: 12px; padding: 12px 14px; display: flex; gap: 14px; align-items: center; position: relative; }
.wpg-events__d { width: 52px; flex-shrink: 0; text-align: center; font: 500 11px/1.2 var(--wp-mono); text-transform: uppercase; color: var(--wp-acc-2); }
.wpg-events__d strong { display: block; font: 900 22px/1 var(--wp-sans); color: var(--wp-ink); }
.wpg-events li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wpg-events a { font-size: 15px; font-weight: 800; }
.wpg-events a::after { content: ''; position: absolute; inset: 0; }
.wpg-events span { font-size: 12px; color: var(--wp-muted); }

.wpg-articles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wpg-article { background: var(--wp-paper); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.wpg-article img { width: 100%; height: 140px; object-fit: cover; display: block; }
.wpg-article > div { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.wpg-article strong { font-size: 16px; font-weight: 800; line-height: 1.25; }
.wpg-article p { font-size: 13px; color: var(--wp-ink-2); line-height: 1.45; }

.wpg-prose { max-width: 70ch; }
.wpg-facts { margin: 8px 0 0; background: var(--wp-paper); border-radius: 12px; padding: 6px 16px; }
.wpg-facts div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--wp-line); font-size: 14px; }
.wpg-facts div:last-child { border-bottom: 0; }
.wpg-facts dt { font: 500 11px/1.6 var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--wp-muted); }
.wpg-facts dd { margin: 0; }
.wpg-facts a { text-decoration: underline; text-underline-offset: 2px; }

.wpg-set { display: flex; flex-direction: column; gap: 12px; padding: 0; }
.wpg-set + .wpg-set { margin-top: 20px; }
.wpg-form { display: flex; flex-direction: column; gap: 18px; }

.wpg-now, .wpg-others { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.wpg-now li, .wpg-others li { border-bottom: 1px solid var(--wp-line); padding-bottom: 7px; }
.wpg-now li:last-child, .wpg-others li:last-child { border-bottom: 0; padding-bottom: 0; }
.wpg-now a { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.wpg-now span { font-size: 12px; color: var(--wp-muted); }
.wpg-others li { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.wpg-others a { font-weight: 600; }
.wpg-others span { font-size: 12px; color: var(--wp-muted); white-space: nowrap; }
.wpg-faces { display: flex; flex-wrap: wrap; gap: 6px; }
.wpg-faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; display: block; background: var(--wp-bg); }
.wpg-cover { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; }
.wpg-upload { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; font-size: 13px; }

@media (max-width: 1100px) {
  .wpf-hero, .wpf-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .wpg-grid { grid-template-columns: minmax(0, 1fr) 280px; }
  .wpf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .wpf-hero { grid-template-columns: minmax(0, 1fr); }
  .wpf-grid { grid-template-columns: minmax(0, 1fr); }
  .wpf-gfilter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wpf-gfilter .wpv-search__go { padding: 12px; }
  .wpg-grid { grid-template-columns: minmax(0, 1fr); }
  .wpg-members, .wpg-articles { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .wpf-only-m { display: inline-flex; }
  .wpf-only-d { display: none; }
  .wpf-hero { display: none; }
  .wpf-ask { margin-top: 8px; border-radius: 14px; padding: 12px 14px; gap: 10px; }
  .wpf-ask .wpf-av { display: none; }
  .wpf-ask__in { font-size: 14px; padding: 2px 0; }
  .wpf-ask__opts { padding-left: 0; gap: 6px; }
  .wpf-ask__k { display: none; }
  .wpf-ask__where { flex-basis: 100%; }
  .wpf-ask__where .wp-chip { font-size: 12px; padding: 6px 10px; }
  .wpf-ask__go { width: 100%; justify-content: center; }
  .wpf-grid { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding-top: 10px; }
  .wpf-side { display: contents; }
  .wpf-quartier { order: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 12px; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .wpf-quartier__k { font-size: 9px; grid-column: 1; }
  .wpf-quartier__t { font-size: 15px; font-weight: 800; grid-column: 1; }
  .wpf-quartier__p { grid-column: 1; font-size: 12px; margin-top: -8px; }
  .wpf-faces { display: none; }
  .wpf-quartier__cta, .wpf-quartier .wpf-joinform button { grid-column: 2; grid-row: 1 / span 3; width: auto; font-size: 12px; padding: 7px 12px; }
  .wpf-main { order: 2; gap: 8px; }
  .wpf-side > .wpf-box { order: 3; }
  .wpf-themes { display: none; }
  .wpf-sorts { flex: 1 1 auto; min-width: 0; overflow-x: auto; }
  .wpf-sorts .wp-chip { font-size: 12px; padding: 6px 10px; }
  .wpf-topics { gap: 8px; }
  .wpf-topic { padding: 12px; border-radius: 12px; }
  .wpf-topic > .wpf-av, .wpf-topic__x, .wpf-topic__by, .wpf-topic__foot > span:nth-child(2), .wpf-topic__foot > .wpf-topic__go, .wpf-topic__flag { display: none; }
  .wpf-ask:has(.wpf-ask__in:placeholder-shown) .wpf-ask__opts { display: none; }
  .wpf-topic__b { gap: 4px; }
  .wpf-topic__g { background: transparent; padding: 0; font-size: 9px; color: var(--wp-acc-2); }
  .wpf-topic__t { font-size: 14px; }
  .wpf-topic__foot { font-size: 11px; gap: 8px; margin-top: 0; }
  .wpf-topic__foot .lw-icon { font-size: 13px; }

  .wpf-h1--sm { font-size: 28px; }
  .wpf-ghead { padding-top: 16px; }
  .wpf-ghead .wp-btn--lg { width: 100%; justify-content: center; }
  .wpf-gfilter { grid-template-columns: minmax(0, 1fr); }
  .wpf-cards { grid-template-columns: minmax(0, 1fr); }
  .wpf-sec__h h2 { font-size: 19px; }

  .wpg-crumbs { padding: 10px 0 8px; }
  .wpg-hero { height: 240px; border-radius: 12px; }
  .wpg-hero__in { left: 16px; right: 16px; bottom: 14px; flex-direction: column; align-items: stretch; gap: 10px; }
  .wpg-hero__t { font-size: 30px; }
  .wpg-hero__s { font-size: 13px; }
  .wpg-hero__act { align-items: stretch; }
  .wpg-hero__act .wp-btn--lg { width: 100%; justify-content: center; padding-top: 11px; padding-bottom: 11px; }
  .wpg-hero__act .wpg-inline { display: flex; }
  .wpg-hero__row { justify-content: flex-end; }
  .wpg-tabs { padding: 8px 16px 0; gap: 18px; }
  .wpg-tabs a { font-size: 14px; }
  .wpg-grid { gap: 16px; padding-top: 16px; }
  .wpg-tools__sort { max-width: 46%; }
  .wpg-lock { flex-direction: column; align-items: stretch; }
  .wpg-lock .wp-btn, .wpg-lock .wpg-inline, .wpg-lock .wpg-inline .wp-btn { width: 100%; justify-content: center; }
  .wpg-compose__in { font-size: 14px; }
  .wpg-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Sujet (7c) */
.wpd-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wpd .wp-crumbs strong { color: var(--wp-ink); font-weight: 700; }
.wpd-av--lg { width: 44px; height: 44px; font-size: 17px; }
.wpd-av--sm { width: 34px; height: 34px; font-size: 13px; }
.wpd-post { position: relative; background: var(--wp-paper); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.wpd-post__by { display: flex; gap: 12px; align-items: center; padding-right: 36px; }
.wpd-post__by > div { flex: 1; min-width: 0; font-size: 15px; line-height: 1.35; }
.wpd-post__by strong { font-weight: 800; }
.wpd-post__by > div span { font-size: 13px; color: var(--wp-muted); }
.wpd-flag { font: 500 10px/1 var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--wp-acc-2); background: #FBE9DA; border-radius: 999px; padding: 5px 9px; flex: 0 0 auto !important; }
.wpd-post__t { font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.wpd-post__x { font-size: 16px; line-height: 1.6; color: var(--wp-ink-2); overflow-wrap: anywhere; }
.wpd-post__img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 10px; }
.wpd-post__act { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--wp-line); padding-top: 10px; font-size: 13px; font-weight: 700; color: var(--wp-muted); }
.wpd-act { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.wpd-act .lw-icon { font-size: 15px; }
.wpd-act:hover, .wpd-act.is-on { color: var(--wp-ink); }
.wpd-act.is-on { color: var(--wp-acc-2); }
.wpd-act__sp { flex: 1; }
.wpd-inline { display: inline-flex; margin: 0; }
.wpd-menu-a { display: block; padding: 9px 10px; border-radius: 8px; font: 600 13px/1.2 var(--wp-sans); }
.wpd-menu-a:hover { background: var(--wp-bg); }

.wpd-solution { background: var(--wp-paper); border-radius: 14px; padding: 18px 22px; display: flex; flex-direction: column; gap: 14px; border-left: 4px solid var(--wp-ok, #2E7D3A); }
.wpd-solution__k { font: 500 10px/1 var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--wp-ok, #2E7D3A); }
.wpd-solution .wpd-reply { padding: 0; }
.wpd-solution .wpd-reply__b { border-bottom: 0; padding-bottom: 0; }
.wpd-solution .wpd-reply:target .wpd-reply__b { background: none; }

.wpd-replies { display: flex; flex-direction: column; gap: 12px; }
.wpd-reply { display: flex; gap: 12px; padding: 0 6px; scroll-margin-top: 90px; }
.wpd-reply--nested { margin-left: 46px; }
.wpd-reply.is-solution .wpd-reply__b { border-bottom-color: var(--wp-ok, #2E7D3A); }
.wpd-reply:target .wpd-reply__b { background: #FBE9DA; border-radius: 8px; }
.wpd-reply__b { flex: 1; min-width: 0; border-bottom: 1px solid var(--wp-line-2); padding-bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.wpd-reply__by { font-size: 14px; }
.wpd-reply__by span { color: var(--wp-muted); }
.wpd-reply__to { font-style: italic; }
.wpd-reply__t { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.wpd-reply__act { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; font-weight: 700; color: var(--wp-muted); margin-top: 4px; }
.wpd-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.wpd-link:hover, .wpd-link.is-on { color: var(--wp-acc-2); }
.wpd-link--ok:hover { color: var(--wp-ok, #2E7D3A); }
.wpd-place { margin-top: 6px; align-self: flex-start; max-width: 100%; border: 1px solid var(--wp-line); border-radius: 10px; padding: 8px 12px; display: inline-flex; gap: 8px; font-size: 13px; align-items: center; flex-wrap: wrap; background: var(--wp-paper); }
.wpd-place span { color: var(--wp-muted); }
.wpd-place:hover { border-color: var(--wp-ink); }

.wpd-compose { background: var(--wp-paper); border: 2px solid var(--wp-ink); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.wpd-compose:focus-within { box-shadow: 0 0 0 4px rgba(236, 122, 36, .22); }
.wpd-compose__row { display: flex; gap: 10px; align-items: center; }
.wpd-compose textarea { flex: 1; min-width: 0; border: 0; background: transparent; resize: none; outline: none; font: 400 15px/1.45 var(--wp-sans); color: var(--wp-ink); padding: 8px 6px; max-height: 260px; }
.wpd-compose textarea::placeholder { color: var(--wp-faint); }
.wpd-compose__link { background: none; border: 0; font: 600 13px/1 var(--wp-sans); color: var(--wp-muted); cursor: pointer; white-space: nowrap; padding: 6px 2px; }
.wpd-compose__link:hover, .wpd-compose__link[aria-expanded="true"] { color: var(--wp-ink); }
.wpd-compose__go { background: var(--wp-ink); color: var(--wp-paper); border-color: var(--wp-ink); font-weight: 700; font-size: 14px; padding: 10px 16px; }
.wpd-compose__hint { font-size: 13px; color: var(--wp-muted); padding-left: 6px; }
.wpd-compose__place { border-top: 1px solid var(--wp-line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.wpd-compose__chosen { font-size: 13px; }
.wpd-compose__chosen span { font-weight: 700; }
.wpd-compose__res { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wpd-compose__res button { width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px; font: 400 14px/1.3 var(--wp-sans); color: var(--wp-ink); cursor: pointer; }
.wpd-compose__res button:hover, .wpd-compose__res button:focus { background: var(--wp-bg); outline: none; }
.wpd-compose__res small { display: block; color: var(--wp-muted); font-size: 12px; }

@media (max-width: 760px) {
  .wpd-post { padding: 16px; }
  .wpd-post__t { font-size: 23px; }
  .wpd-post__x { font-size: 15px; }
  .wpd-post__act { gap: 6px 12px; font-size: 12px; }
  .wpd-solution { padding: 14px 16px; }
  .wpd-reply { padding: 0; }
  .wpd-reply--nested { margin-left: 24px; }
  .wpd-compose__row { flex-wrap: wrap; }
  .wpd-compose textarea { flex-basis: 100%; }
  .wpd-compose__go { margin-left: auto; }
}
/* Le fil des Weppes */
.wpl-filter { margin-top: 18px; }
.wpl-chips { display: flex; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 14px; flex-wrap: wrap; }
.wpl-chips .wp-chips { flex: 1 1 auto; min-width: 0; }
.wpl-n { font-size: 11px; opacity: .7; margin-left: 2px; }
.wpl-sep { width: 1px; height: 22px; background: var(--wp-line-2); flex-shrink: 0; margin: 0 4px; align-self: center; }
.wpl-out { background: transparent; }
.wpl-seen { font-size: 13px; white-space: nowrap; }
.wpl-feed { display: flex; flex-direction: column; gap: 12px; }
.wpl-day { font: 500 11px/1 var(--wp-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--wp-muted); padding: 10px 0 2px; }
.wpl-day:first-child { padding-top: 0; }
.wpl-kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; width: 100%; margin: 6px 0 4px; text-align: left; }
.wpl-kinds a { background: var(--wp-bg); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.wpl-kinds a:hover { box-shadow: inset 0 0 0 1px var(--wp-ink); }
.wpl-kinds strong { font-size: 14px; }
.wpl-kinds span { font-size: 12px; color: var(--wp-muted); }
.wpl-related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wpl-related a { background: var(--wp-paper); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 3px; }
.wpl-related strong { font-size: 16px; line-height: 1.25; }
.wpl-related__m { font-size: 13px; color: var(--wp-muted); }
.wpl-pub { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wpl-pub li { border-bottom: 1px solid var(--wp-line); }
.wpl-pub li:last-child { border-bottom: 0; }
.wpl-pub a { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; font-size: 14px; }
.wpl-pub span { font-size: 12px; color: var(--wp-muted); }
.wpl-pub a:hover strong { color: var(--wp-acc-2); }
.wpl-bulletin { background: var(--wp-dark); color: var(--wp-on-dark); }
.wpl-bulletin .wp-kick { color: var(--wp-acc); }
.wpl-bulletin__t { font-size: 19px; font-weight: 900; line-height: 1.2; }
.wpl-bulletin p:not(.wp-kick) { font-size: 13px; color: #BDB6A6; line-height: 1.5; }
.wpl-bulletin .wp-btn, .wpl .wpf-box > .wp-btn--line { align-self: flex-start; }

@media (max-width: 760px) {
  .wpl .wpf-ghead .wp-btn--lg { display: none; }
  .wpl .wpf-lead { font-size: 14px; }
  .wpl-filter { margin-top: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 8px; gap: 6px; }
  .wpl-filter .wpv-field:first-child { grid-column: 1 / -1; }
  .wpl-filter .wpv-search__go { display: none; }
  .wpl-chips { margin: 10px calc(var(--wp-gut) * -1) 0; padding: 0 var(--wp-gut); }
  .wpl-chips .wp-chip { font-size: 12px; padding: 6px 11px; }
  .wpl-seen { font-size: 12px; }
  .wpl-feed { gap: 10px; }
  .wpl .wpf-side { display: flex; order: 3; }
}
/* Annuaire des voisins */
.wpn-head-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wpn-modes { margin-top: 18px; }
.wpn-badge { display: inline-block; min-width: 18px; padding: 1px 6px; border-radius: 999px; background: var(--wp-acc); color: var(--wp-ink); font-size: 11px; font-weight: 800; margin-left: 4px; }
.wpn-filter { margin-top: 14px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto; }
.wpn-skills { margin-top: 12px; }
.wpn-solo { padding-top: 24px; max-width: 980px; }
.wpn-solo .wpf-main { gap: 16px; }
.wpn-av { width: 48px; height: 48px; font-size: 16px; }
.wpn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wpn-card { background: var(--wp-paper); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.wpn-card__hd { display: flex; gap: 12px; align-items: center; }
.wpn-card__id { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.wpn-card__id strong { font-size: 16px; font-weight: 800; }
.wpn-card__id > span { font-size: 13px; color: var(--wp-muted); }
.wpn-ok { color: var(--wp-ok, #2E7D3A); font-weight: 900; }
.wpn-card__flag { font: 500 10px/1.2 var(--wp-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--wp-acc-2); }
.wpn-card__x { font-size: 14px; line-height: 1.5; color: var(--wp-ink-2); }
.wpn-card__m { font-size: 12px; color: var(--wp-muted); }
.wpn-card__act { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--wp-line); }
.wpn-card__act form { margin: 0; }
.wpn-report { font-size: 12px; color: var(--wp-muted); margin-left: auto; }
.wpn-report:hover { color: var(--wp-danger, #B3261E); }
.wpn-sec { display: flex; flex-direction: column; gap: 10px; }
.wpn-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wpn-req { background: var(--wp-paper); border-radius: 12px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wpn-req .wpn-av { width: 42px; height: 42px; }
.wpn-req__b { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.wpn-req__b span { font-size: 12px; color: var(--wp-muted); }
.wpn-req__b q { font-style: italic; color: var(--wp-ink-2); }
.wpn-req__act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.wpn-req__act form { margin: 0; }
.wpn-gate { align-items: center; }
.wpn-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.wpn-how > div { background: var(--wp-paper); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.wpn-how p { font-size: 13px; line-height: 1.5; color: var(--wp-ink-2); }
.wpn-hot { background: var(--wp-dark); color: var(--wp-on-dark); }
.wpn-hot .wp-kick { color: var(--wp-acc); }
.wpn-hot__t { font-size: 24px; font-weight: 900; line-height: 1.1; }
.wpn-hot .wpf-box__p { color: #BDB6A6; }
.wpn-hot .wp-btn--line { color: var(--wp-on-dark); border-color: rgba(255, 255, 255, .35); align-self: flex-start; }
.wpn-side .wp-btn--sm { align-self: flex-start; }
.wpn-never { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.45; color: var(--wp-ink-2); }
.wpn-propose { display: flex; flex-direction: column; gap: 12px; }
.wpn-propose__act { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .wpn-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .wpn .wpf-ghead .wpn-head-act { width: 100%; }
  .wpn .wpf-ghead .wpn-head-act .wp-btn { flex: 1 1 100%; width: 100%; justify-content: center; padding-top: 11px; padding-bottom: 11px; }
  .wpn .wpf-lead { font-size: 14px; }
  .wpn-filter { grid-template-columns: minmax(0, 1fr); padding: 8px; gap: 6px; }
  .wpn-filter .wpv-search__go { display: none; }
  .wpn-skills { margin: 10px calc(var(--wp-gut) * -1) 0; padding: 0 var(--wp-gut); }
  .wpn-skills .wp-chip, .wpn-modes .wp-chip { font-size: 12px; padding: 6px 11px; }
  .wpn .wpf-side { display: flex; order: 3; }
  .wpn-how { grid-template-columns: minmax(0, 1fr); }
  .wpn-gate { flex-direction: column; align-items: stretch; }
}
/* Créer un groupe */
.wpg-invite summary { cursor: pointer; list-style: none; }
.wpg-invite summary::-webkit-details-marker { display: none; }
.wpg-invite summary::after { content: ' +'; color: var(--wp-muted); }
.wpg-invite[open] summary::after { content: ' −'; }
.wpg-invite[open] { display: flex; flex-direction: column; gap: 12px; }