:root {
  --mp-ink: #33120b;
  --mp-green: #8f1018;
  --mp-green-2: #d71920;
  --mp-orange: #f26a21;
  --mp-bg: #fff8ef;
  --mp-line: #f0d5be;
  --mp-muted: #795c52;
  --mp-danger: #b5121b;
}

body.mp-body { background: var(--mp-bg); }
.mp-hero { background: linear-gradient(135deg, #fff1e6, #fff9dc); }
.mp-hero::after {
  content: "";
  position: absolute;
  inset: auto -8% -120px 42%;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,201,72,.34), rgba(242,106,33,.12) 55%, transparent 70%);
}
.mp-category-icon { background: #fff0dc; color: var(--mp-green-2); }
.mp-btn-primary { background: linear-gradient(105deg, #d71920, #f26a21 70%, #f7c948); }
.mp-btn-secondary, .mp-message.is-mine, .mp-avatar { background: #8f1018; }
.mp-kicker, .mp-detail-price { color: #d71920; }
.mp-search-panel { border-color: #efc397; box-shadow: 0 18px 45px rgba(143,16,24,.12); }

/* Parité visuelle avec le prototype validé, sans remplacer le header ni le logo YMF. */
.mp-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: end;
}
.mp-hero-message { max-width: 760px; }
.mp-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid #efcaa8;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  color: #7f2d1b;
  font-size: 12px;
  font-weight: 800;
}
.mp-hero-chip i { color: #f26a21; }
.mp-hero h1 { margin-top: 18px; }
.mp-relation-card {
  padding: 18px;
  border: 1px solid #efd4bb;
  border-radius: 17px;
  background: rgba(255,255,255,.88);
  color: #795c52;
  box-shadow: 0 8px 22px rgba(143,16,24,.06);
}
.mp-relation-card strong { display: block; color: #33120b; }
.mp-relation-card strong i { margin-inline-end: 6px; color: #d71920; }
.mp-relation-card p { margin: 7px 0 0; font-size: 13px; line-height: 1.65; }
.mp-search-with-icon,.mp-search-select { position: relative; display: block; }
.mp-search-with-icon > i,.mp-search-select > i {
  position: absolute;
  z-index: 2;
  top: 50%;
  inset-inline-start: 15px;
  transform: translateY(-50%);
  color: #d71920;
  pointer-events: none;
}
.mp-search-with-icon input { padding-inline-start: 43px; }
.mp-search-select select { padding-inline-start: 40px; appearance: auto; }
.mp-category-icon i { font-size: 22px; }
.mp-results-heading { padding-top: 34px; border-top: 1px solid #f0d5be; }
.mp-results-count { margin: 7px 0 0; color: #795c52; font-size: 13px; }
.mp-filter-title { margin: 0 0 16px; color: #33120b; font-size: 15px; }
.mp-filter-title i { margin-inline-end: 6px; color: #d71920; }

@media (max-width: 900px) {
  .mp-hero-top { grid-template-columns: 1fr; gap: 18px; }
  .mp-relation-card { max-width: 620px; }
}
