.member-strip {
  position: relative;
  z-index: 120;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px max(14px, calc((100vw - var(--page-width, 1180px)) / 2));
  border-bottom: 1px solid rgba(241, 223, 189, 0.2);
  background: #17110d;
  color: #f1dfbd;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.member-strip__brand { color: #fff1cf; white-space: nowrap; }
.member-strip__brand::before { content: "●"; margin-right: 7px; color: #9f221d; }
.member-strip__promise { flex: 1; color: #cdbb98; text-align: center; text-transform: none; }
.member-strip__actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.member-strip button {
  padding: 0;
  border: 0;
  border-bottom: 1px dotted #8e7659;
  background: transparent;
  color: #f1dfbd;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
}
.member-strip button:hover, .member-strip button:focus-visible { color: #fff; border-bottom-color: #9f221d; }
.member-strip__status { min-width: 105px; color: #c87368; text-align: right; text-transform: none; }

.section-ribbon {
  margin-top: 12px;
  padding: 5px 0;
  border-top: 3px double var(--ink, #1e1812);
  border-bottom: 1px solid var(--ink, #1e1812);
  overflow-x: auto;
  scrollbar-width: thin;
}
.section-ribbon__list {
  min-width: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.section-ribbon li + li::before { content: "◆"; padding: 0 9px; color: var(--red, #9f221d); font-size: 0.5rem; }
.section-ribbon a, .section-ribbon button {
  padding: 2px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink, #1e1812);
  font-family: var(--utility, "Courier New", monospace);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.section-ribbon a:hover, .section-ribbon a:focus-visible,
.section-ribbon button:hover, .section-ribbon button:focus-visible { color: var(--red-dark, #761712); border-bottom-color: var(--red, #9f221d); }
.section-ribbon [data-section-current="true"] { color: var(--red-dark, #761712); border-bottom-color: var(--red, #9f221d); }
.section-ribbon [data-coming-soon]::after { content: " bientôt"; color: var(--muted, #705c43); font-size: 0.52rem; font-weight: 700; }
.section-ribbon__status { min-height: 1em; margin: 3px 0 0; color: var(--red-dark, #761712); font-family: var(--utility, "Courier New", monospace); font-size: 0.62rem; text-align: center; }

.collection-brandbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-soft, #8d7458);
  text-align: left;
}
.collection-brandbar__title {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink, #1e1812);
  text-decoration: none;
  text-transform: uppercase;
}
.collection-brandbar__lead {
  font-family: var(--display, Georgia, serif);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink, #1e1812);
  line-height: 1;
}
.collection-brandbar__name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--display, Georgia, serif);
  font-size: clamp(1.8rem, 4.5vw, 2.75rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.01em;
}
.collection-brandbar__red {
  color: var(--red, #9f221d);
  font-weight: 900;
}
.collection-brandbar__dark {
  color: var(--ink, #1e1812);
  font-weight: 900;
}
.collection-brandbar__title:hover .collection-brandbar__red {
  color: var(--red-dark, #761712);
}
.collection-brandbar__pixel { display: grid; grid-template-columns: 42px auto; align-items: center; gap: 0 8px; min-width: 155px; padding: 6px 10px; border: 1px solid var(--rule-soft, #8d7458); border-radius: 999px; text-align: left; }
.collection-brandbar__pixel .pixel-stamp__avatar { grid-row: 1 / 3; width: 42px; height: 42px; overflow: hidden; border: 1px solid var(--ink, #1e1812); border-radius: 50%; }
.collection-brandbar__pixel img { width: 100%; height: 100%; object-fit: cover; }
.collection-brandbar__pixel > strong { font-family: var(--display, Georgia, serif); font-size: 1rem; }
.collection-brandbar__pixel > span { font-family: var(--utility, "Courier New", monospace); font-size: 0.56rem; }

/* Masthead unifié pour toutes les pages (Une, Articles, Collections) */
.masthead__main {
  display: grid;
  grid-template-columns: minmax(100px, 150px) 1fr minmax(100px, 150px);
  gap: clamp(12px, 2.5vw, 24px);
  align-items: center;
  margin: 10px 0 12px;
}

.masthead__title-block {
  text-align: center;
}

.ai-credit,
.pixel-stamp {
  min-height: 108px;
  padding: 10px;
  border: 2px solid var(--rule, #7e6348);
  background: rgba(255, 244, 211, 0.48);
  text-align: center;
  overflow-wrap: anywhere;
  position: relative;
}

.ai-credit span,
.ai-credit em,
.pixel-stamp span {
  display: block;
  color: var(--ink-soft, #4b3a2b);
  font-family: var(--utility, "Courier New", monospace);
  font-size: 0.72rem;
}

.ai-credit strong,
.pixel-stamp strong {
  display: block;
  margin: 4px 0;
  color: var(--ink, #1e1812);
  font-family: var(--utility, "Courier New", monospace);
  font-size: 1.05rem;
  line-height: 1.1;
}

.ai-credit em {
  color: var(--red, #9f221d);
  font-style: normal;
  font-weight: 700;
}

.pixel-stamp__avatar {
  width: 48px;
  height: 48px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink, #1e1812);
  border-radius: 50%;
  background: var(--paper-light, #fbf0d4);
  overflow: hidden;
}

.pixel-stamp__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pixel-info-pulse {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--red, #9f221d);
  color: var(--paper-light, #fbf0d4);
  line-height: 1;
}

.member-callout {
  margin-top: clamp(18px, 3vw, 30px);
  padding: clamp(14px, 2.2vw, 24px);
  border: 3px double var(--ink, #1e1812);
  background: linear-gradient(135deg, rgba(159,34,29,0.16), rgba(255,246,218,0.64));
  color: var(--ink, #1e1812);
  text-align: center;
}
.member-callout__eyebrow { margin: 0 0 4px; color: var(--red-dark, #761712); font-family: var(--utility, "Courier New", monospace); font-size: 0.64rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.member-callout h2 { margin: 0; font-family: var(--display, Georgia, serif); font-size: clamp(1.25rem, 3vw, 1.8rem); line-height: 1; text-transform: uppercase; }
.member-callout > p:not(.member-callout__eyebrow) { max-width: 720px; margin: 8px auto 0; font-size: 0.9rem; line-height: 1.35; }
.member-callout__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 11px; }
.member-callout__actions button { padding: 6px 10px; border: 1px solid var(--ink, #1e1812); background: var(--ink, #1e1812); color: var(--paper-light, #fbf0d4); font-family: var(--utility, "Courier New", monospace); font-size: 0.66rem; font-weight: 900; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.member-callout__actions button + button { background: transparent; color: var(--ink, #1e1812); }
.member-callout__actions button:hover, .member-callout__actions button:focus-visible { border-color: var(--red, #9f221d); background: var(--red, #9f221d); color: var(--paper-light, #fbf0d4); }
.member-callout > p.member-callout__status { min-height: 0.8em; margin: 5px 0 0; font-family: var(--utility, "Courier New", monospace); font-size: 0.62rem; text-transform: uppercase; }

.masthead-title {
  display: block !important;
  margin: 0 !important;
  color: var(--ink, #1e1812) !important;
  font-family: var(--display, "Times New Roman", Georgia, serif) !important;
  font-size: clamp(2.3rem, 6vw, 4.35rem) !important;
  font-weight: 900 !important;
  line-height: 0.76 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase !important;
  text-wrap: balance !important;
  text-shadow: 1px 1px 0 rgba(255, 247, 219, 0.65) !important;
  text-align: center !important;
  text-decoration: none !important;
}
.masthead-title span { display: block !important; }
.masthead-title__small {
  margin-bottom: 0.12em !important;
  color: var(--ink, #1e1812) !important;
  font-family: var(--display, "Times New Roman", Georgia, serif) !important;
  font-size: 0.43em !important;
  font-weight: 900 !important;
  line-height: 0.85 !important;
  letter-spacing: 0.11em !important;
  text-transform: uppercase !important;
}
.masthead-title__red {
  color: var(--red, #9f221d) !important;
  font-family: var(--display, "Times New Roman", Georgia, serif) !important;
  font-weight: 900 !important;
  line-height: 0.82 !important;
  text-transform: uppercase !important;
}
.masthead-title__main {
  color: var(--ink, #1e1812) !important;
  font-family: var(--display, "Times New Roman", Georgia, serif) !important;
  font-weight: 900 !important;
  line-height: 0.82 !important;
  text-transform: uppercase !important;
}
.masthead-title:hover,
.masthead-title:focus-visible {
  text-decoration: none !important;
}
.masthead-title:hover .masthead-title__red,
.masthead-title:focus-visible .masthead-title__red {
  color: var(--red-dark, #761712) !important;
}
.masthead__title-block p,
.masthead__title-block .masthead__subtitle,
.masthead-subtitle {
  margin: 8px 0 0 !important;
  color: var(--ink, #1e1812) !important;
  font-family: var(--utility, "Courier New", monospace) !important;
  font-size: clamp(0.82rem, 1.8vw, 1.25rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
}

.masthead__title-block .masthead__subtitle {
  border: 0;
  line-height: 1.2 !important;
}

.edition-archives__select { width: min(100%, 660px) !important; max-width: 660px !important; }

.pixel-stamp { cursor: pointer; }
.pixel-stamp-shell { width: 100%; min-width: 0; text-align: center; }
.pixel-stamp-shell .pixel-stamp { box-sizing: border-box; width: 100%; }
.pixel-manifesto-link {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 5px auto 0;
  color: var(--red-dark, #761712);
  font-family: var(--utility, "Courier New", monospace);
  font-size: 0.58rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px dotted var(--red, #9f221d);
}
.pixel-manifesto-link:hover, .pixel-manifesto-link:focus-visible { color: var(--red, #9f221d); }

.shared-pixel-dialog[hidden] { display: none; }
.shared-pixel-dialog { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 18px; }
.shared-pixel-dialog__backdrop { position: absolute; inset: 0; background: rgba(23, 17, 13, 0.82); }
.shared-pixel-dialog__panel {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(20px, 4vw, 34px);
  border: 3px double var(--ink, #1e1812);
  background: var(--paper-light, #fbf0d4);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  color: var(--ink, #1e1812);
  font-family: var(--serif, Georgia, serif);
}
.shared-pixel-dialog__panel h2 { margin: 0 36px 12px 0; font-family: var(--display, Georgia, serif); text-transform: uppercase; }
.shared-pixel-dialog__panel p { margin: 0 0 12px; }
.shared-pixel-dialog__close {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  border: 0; background: var(--ink, #1e1812); color: var(--paper-light, #fbf0d4);
  font-size: 1.3rem; cursor: pointer;
}

@media (max-width: 720px) {
  .member-strip { gap: 6px; padding-inline: 10px; font-size: 0.55rem; }
  .member-strip__promise { display: none; }
  .member-strip__status { display: none; }
  .member-strip__actions { gap: 6px; }
  .section-ribbon__list { justify-content: flex-start; }
  .masthead__main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }
  .masthead__title-block { grid-column: 1 / -1; grid-row: 1; }
  .masthead__main > .ai-credit { grid-column: 1; grid-row: 2; }
  .masthead__main > .pixel-stamp-shell { grid-column: 2; grid-row: 2; }
  .ai-credit,
  .pixel-stamp { min-height: 0; padding: 7px; }
  .ai-credit span,
  .ai-credit em,
  .pixel-stamp span { font-size: 0.62rem; }
  .ai-credit strong,
  .pixel-stamp strong { font-size: 0.88rem; }
  .pixel-stamp__avatar { width: 38px; height: 38px; }
  .masthead-title {
    font-size: clamp(1.3rem, 7vw, 1.75rem) !important;
    line-height: 0.82 !important;
  }
  .pixel-stamp-shell { max-width: none; }
  .collection-brandbar { gap: 8px; margin-bottom: 10px; padding-bottom: 8px; }
  .collection-brandbar__pixel { min-width: 0; grid-template-columns: 34px auto; padding: 4px 7px; }
  .collection-brandbar__pixel .pixel-stamp__avatar { width: 34px; height: 34px; }
  .collection-brandbar__pixel > span { display: none; }
  .member-callout { margin-top: 18px; padding: 9px 10px; }
  .member-callout h2 { font-size: 1.05rem; }
  .member-callout > p:not(.member-callout__eyebrow):not(.member-callout__status) {
    margin-top: 5px;
    font-size: 0.76rem;
    line-height: 1.22;
  }
  .member-callout__actions { display: flex; flex-wrap: nowrap; gap: 6px; margin-top: 7px; }
  .member-callout__actions button { flex: 1; padding: 5px 6px; font-size: 0.58rem; }
  .shared-pixel-dialog { align-items: end; padding: 8px; }
  .shared-pixel-dialog__panel { width: 100%; max-height: 92vh; max-height: 92dvh; overflow: auto; }
  .shared-pixel-dialog__close { width: 42px; height: 42px; }
}
