/* =============================================================
   La belle mecanique — composants automobiles et mise en page de la maquette.
   Chargé EN DERNIER par _bm_theme.php. Palette : anthracite + rouge sportif.
   Contrastes : blanc sur rouge #E41E2B = 4,6:1 (AA) ; texte rouge sur fond sombre = #FF4D57 (6:1).
   ============================================================= */
:root {
  --bm-bg: #080D12; --bm-bg-2: #0D131A; --bm-card: #121A23; --bm-card-2: #151D27; --bm-raise: #1C2632; --bm-raise-2: #243040;
  --bm-line: rgba(255, 255, 255, .07); --bm-line-2: rgba(255, 255, 255, .13);
  --bm-red: #E41E2B; --bm-red-h: #C4141F; --bm-red-ink: #FF4D57; --bm-red-soft: rgba(228, 30, 43, .14);
  --bm-text: #FFFFFF; --bm-text-2: #A7B0BA; --bm-muted: #7C8794; --bm-blue: #5B9BFF;
  --bm-radius: 14px; --bm-radius-sm: 10px; --bm-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --bm-head-h: 76px;
}
html, body.bm-site { background: var(--bm-bg) !important; }
body.bm-site { color: var(--bm-text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
body.bm-site a { color: inherit; }
body.bm-site :focus-visible { outline: 2px solid var(--bm-red-ink); outline-offset: 2px; }
.bm-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bm-skip { position: absolute; left: -999px; top: 8px; z-index: 3000; background: var(--bm-red); color: #fff; padding: 10px 14px; border-radius: 8px; }
.bm-skip:focus { left: 8px; }
.bm-muted { color: var(--bm-text-2); font-size: 13.5px; line-height: 1.5; margin: 0; }
.bm-muted a, .bm-help a { color: var(--bm-red-ink); }
.bm-na { color: var(--bm-muted); font-style: italic; font-weight: 400; }
.bm-help { color: var(--bm-muted); font-size: 12.5px; margin: 6px 0 0; }
.bm-preview-bar { position: relative; z-index: 5; background: #2A1114; color: #FFC9CC; text-align: center; font-size: 12.5px; padding: 6px 12px; border-bottom: 1px solid rgba(228, 30, 43, .35); }

/* ---------------- Logo ---------------- */
/* Variante C : LBM puis le nom sur deux lignes, calé en bas des lettres LBM (le compte-tours dépasse au-dessus). */
.bm-logo { --bm-logo-h: 52px; display: inline-flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.bm-logo picture { display: flex; flex: none; }
.bm-logo-mark { height: var(--bm-logo-h); width: auto; display: block; }
.bm-logo-word { display: grid; font-size: 17px; font-weight: 800; line-height: 1.02; letter-spacing: -.01em; color: #fff; white-space: nowrap; padding-bottom: 1px; }
.bm-logo-word b { color: #FF3D49; font-weight: 800; }
.bm-logo-full .bm-logo-img { width: 200px; height: auto; display: block; }
@media (max-width: 1280px) { .bm-logo { --bm-logo-h: 46px; } .bm-logo-word { font-size: 15.5px; } }
@media (max-width: 600px) { .bm-logo { --bm-logo-h: 40px; gap: 8px; } .bm-logo-word { font-size: 13.5px; } .bm-logo-full .bm-logo-img { width: 170px; } }

/* ---------------- Header (maquette) ---------------- */
body.bm-site .site-header { background: rgba(8, 13, 18, .97) !important; border-bottom: 1px solid var(--bm-line) !important; backdrop-filter: blur(8px); }
body.bm-site .site-header .header-inner { max-width: 1600px; margin: 0 auto; gap: 18px; padding: 0 20px; }
body.bm-site .site-header .header-nav { display: flex; align-items: stretch; gap: 2px; height: 100%; margin: 0 auto; }
body.bm-site .site-header .header-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 70px; padding: 0 10px; height: 100%;
  color: var(--bm-text-2) !important; background: none !important; font-size: 12px; font-weight: 600; border-radius: 0; position: relative; }
body.bm-site .site-header .header-nav .nav-ic { display: block !important; width: 21px; height: 21px; }
body.bm-site .site-header .header-nav a:hover { color: #fff !important; }
body.bm-site .site-header .header-nav a.active { color: #fff !important; }
body.bm-site .site-header .header-nav a.active .nav-ic { color: var(--bm-red-ink); }
body.bm-site .site-header .header-nav a.active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--bm-red); }
body.bm-site .site-header .wl-search { flex: 0 1 300px; min-width: 200px; }
body.bm-site .site-header .wl-search-input { background: var(--bm-card) !important; border: 1px solid var(--bm-line-2) !important; color: #fff !important; border-radius: 10px !important; }
body.bm-site .bm-pub-cta { display: inline-flex; align-items: center; gap: 6px; height: 38px; box-sizing: border-box; background: var(--bm-red) !important; color: #fff !important; font-size: 14px; font-weight: 700; line-height: 1; padding: 0 14px; border-radius: 9px; text-decoration: none; white-space: nowrap; }
body.bm-site .bm-pub-cta:hover { background: var(--bm-red-h) !important; }
body.bm-site .bm-pub-cta svg { width: 15px; height: 15px; flex: none; }
@media (max-width: 1500px) { body.bm-site .site-header .header-nav a { min-width: 60px; padding: 0 7px; font-size: 11.5px; } body.bm-site .site-header .wl-search { flex-basis: 220px; } }
@media (max-width: 1300px) { body.bm-site .site-header .header-nav .bm-nav-comparateur, body.bm-site .site-header .header-nav .bm-nav-garage { display: none !important; } }
@media (max-width: 1120px) { body.bm-site .site-header .header-nav { display: none !important; } }
@media (max-width: 960px) {
  body.bm-site .bm-pub-cta { display: inline-flex !important; width: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  body.bm-site .bm-pub-cta span { display: none; }
}
body.bm-site .wl-mobile-nav .wl-m-link { display: flex; align-items: center; gap: 12px; }
body.bm-site .wl-mobile-nav .wl-m-link .nav-ic { color: var(--bm-text-2); flex: none; }
body.bm-site .wl-bottombar { background: rgba(8, 13, 18, .97) !important; border-top: 1px solid var(--bm-line) !important; }
body.bm-site .wl-bottombar .wl-bn.active, body.bm-site .wl-bottombar .wl-bn.active svg { color: var(--bm-red-ink) !important; }

/* ---------------- Boutons, champs, puces ---------------- */
.bm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font: 600 14px/1.2 inherit; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.bm-btn svg { flex: none; }
.bm-btn-red, .bm-btn-orange { background: var(--bm-red); color: #fff !important; }
.bm-btn-red:hover, .bm-btn-orange:hover { background: var(--bm-red-h); }
.bm-btn-line { background: transparent; border-color: var(--bm-line-2); color: #fff !important; }
.bm-btn-line:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); }
.bm-btn-white { background: #fff; color: #0D131A !important; }
.bm-btn-white:hover { background: #E6E9ED; }
.bm-btn-ghost { background: var(--bm-raise); color: #fff !important; }
.bm-btn-ghost:hover { background: var(--bm-raise-2); }
.bm-btn-sm { padding: 7px 12px; font-size: 13px; border-radius: 8px; }
.bm-btn-lg { padding: 14px 24px; font-size: 15px; }
.bm-btn-block { display: flex; width: 100%; }
.bm-btn[disabled] { opacity: .55; cursor: default; }
.bm-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: transparent; border: 0; color: var(--bm-text-2); cursor: pointer; font-size: 22px; line-height: 1; }
.bm-icon-btn:hover { background: var(--bm-raise); color: #fff; }
.bm-follow { background: transparent; border: 1px solid rgba(255, 255, 255, .55); color: #fff !important; padding: 8px 16px; }
.bm-follow:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.bm-follow.is-on { background: var(--bm-raise); border-color: var(--bm-raise); color: var(--bm-text-2) !important; }
.bm-follow .bm-follow-on { display: none; align-items: center; gap: 6px; }
.bm-follow.is-on .bm-follow-on { display: inline-flex; } .bm-follow.is-on .bm-follow-off { display: none; }
.bm-follow-sm { padding: 6px 14px; font-size: 13px; }
.bm-follow-xs { padding: 5px 12px; font-size: 12.5px; border-radius: 8px; }
.bm-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.bm-field > span, .bm-field > legend { font-size: 13px; font-weight: 600; color: var(--bm-text-2); }
body.bm-site .bm-field input:not([type=checkbox]):not([type=radio]), body.bm-site .bm-field select, body.bm-site .bm-field textarea,
body.bm-site .bm-input { width: 100%; background: var(--bm-bg-2) !important; color: #fff !important; border: 1px solid var(--bm-line-2) !important; border-radius: 10px; padding: 11px 13px; font: 400 15px/1.4 inherit; }
body.bm-site .bm-field select:disabled { opacity: .5; }
body.bm-site .bm-field input:focus, body.bm-site .bm-field select:focus, body.bm-site .bm-field textarea:focus { border-color: var(--bm-red) !important; outline: none; box-shadow: 0 0 0 3px var(--bm-red-soft); }
.bm-radio-list { display: flex; flex-direction: column; gap: 8px; }
.bm-radio-list label, .bm-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #fff; cursor: pointer; }
body.bm-site input[type=checkbox], body.bm-site input[type=radio] { accent-color: var(--bm-red); width: 17px; height: 17px; }
.bm-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0 14px; }
.bm-count { margin-left: auto; min-width: 26px; padding: 2px 8px; border-radius: 7px; background: var(--bm-raise); color: var(--bm-text-2); font-size: 12px; font-weight: 700; text-align: center; }
.bm-year { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 1px 7px; border-radius: 5px; background: var(--bm-red); color: #fff; font-size: 12px; font-weight: 700; }

/* ---------------- Mise en page ---------------- */
.bm-page { max-width: 1600px; margin: 0 auto; padding: 22px 20px 64px; }
.bm-wrap { max-width: 1280px; margin: 0 auto; padding: 22px 20px 64px; }
.bm-narrow { max-width: 860px; margin: 0 auto; padding: 22px 20px 64px; }
.bm-3col { display: grid; grid-template-columns: 280px minmax(0, 1fr) 310px; gap: 20px; align-items: start; }
.bm-2col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.bm-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--bm-head-h) + 16px); }
.bm-center { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1360px) { .bm-3col { grid-template-columns: 250px minmax(0, 1fr) 290px; } }
@media (max-width: 1180px) { .bm-3col { grid-template-columns: minmax(0, 1fr) 300px; } .bm-3col > .bm-side-left { display: none; } }
@media (max-width: 900px) { .bm-3col, .bm-2col { grid-template-columns: 1fr; } .bm-side { position: static; } .bm-3col > .bm-side-right { order: 3; } }
@media (max-width: 600px) { .bm-page, .bm-wrap, .bm-narrow { padding: 14px 12px 90px; } }

.bm-card { background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 16px; }
.bm-card-flush { padding: 0; overflow: hidden; }
.bm-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.bm-sec-title { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.bm-sec-ic { color: var(--bm-red-ink); display: inline-flex; }
.bm-sec-more { color: var(--bm-red-ink); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bm-sec-more:hover { text-decoration: underline; }
.bm-sec { margin: 0 0 28px; }
.bm-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bm-red-ink); }
.bm-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--bm-muted); margin: 0 0 14px; }
.bm-crumbs a { color: var(--bm-text-2); text-decoration: none; } .bm-crumbs a:hover { color: #fff; }

/* Bandeau de page */
.bm-phead { position: relative; border-radius: var(--bm-radius); overflow: hidden; background: linear-gradient(120deg, #141C26, #0B1117); border: 1px solid var(--bm-line); margin: 0 0 18px; }
.bm-phead-img { background: linear-gradient(90deg, rgba(8, 13, 18, .95) 0%, rgba(8, 13, 18, .75) 45%, rgba(8, 13, 18, .25) 100%), var(--bm-phead-bg) center/cover no-repeat; min-height: 210px; display: flex; align-items: flex-end; }
.bm-phead-in { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 26px 28px; width: 100%; flex-wrap: wrap; }
.bm-phead h1 { margin: 0; font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -.02em; line-height: 1.08; }
.bm-phead-sub { margin: 8px 0 0; color: var(--bm-text-2); font-size: 15px; max-width: 680px; }
.bm-phead-acts { display: flex; gap: 10px; flex-wrap: wrap; }

/* Onglets et pastilles */
.bm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--bm-line); margin: 0 0 16px; overflow-x: auto; scrollbar-width: none; }
.bm-tabs::-webkit-scrollbar { display: none; }
.bm-tabs a { position: relative; padding: 12px 14px; color: var(--bm-text-2); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.bm-tabs a:hover { color: #fff; }
.bm-tabs a.on { color: #fff; }
.bm-tabs a.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--bm-red); }
.bm-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.bm-pills a { padding: 7px 14px; border-radius: 999px; background: var(--bm-raise); color: var(--bm-text-2); font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.bm-pills a:hover { color: #fff; border-color: var(--bm-line-2); }
.bm-pills a.on { background: #fff; color: #0D131A; }

/* États vides, pagination, messages */
.bm-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 36px 20px; border: 1px dashed var(--bm-line-2); border-radius: var(--bm-radius); color: var(--bm-text-2); }
.bm-empty b { color: #fff; font-size: 16px; }
.bm-empty p { margin: 0 0 6px; max-width: 460px; font-size: 14px; }
.bm-empty-ic { display: inline-flex; width: 54px; height: 54px; border-radius: 50%; align-items: center; justify-content: center; background: var(--bm-red-soft); color: var(--bm-red-ink); }
.bm-pager { display: flex; justify-content: center; gap: 6px; margin: 22px 0 0; flex-wrap: wrap; }
.bm-pager a, .bm-pager span { min-width: 38px; padding: 8px 12px; border-radius: 9px; background: var(--bm-raise); color: #fff; text-decoration: none; text-align: center; font-size: 14px; }
.bm-pager .on { background: var(--bm-red); }
.bm-more-btn { display: flex; margin: 6px auto 0; }
.bm-msg-live { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 4000; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.bm-msg { background: #fff; color: #0D131A; padding: 11px 18px; border-radius: 10px; font-size: 14px; font-weight: 600; box-shadow: var(--bm-shadow); opacity: 0; transform: translateY(8px); transition: .2s; max-width: min(92vw, 520px); }
.bm-msg.on { opacity: 1; transform: none; }
.bm-flash { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 14px; }
.bm-flash-ok { background: rgba(46, 160, 67, .14); border: 1px solid rgba(46, 160, 67, .45); color: #B8F0C4; }
.bm-flash-err { background: var(--bm-red-soft); border: 1px solid rgba(228, 30, 43, .5); color: #FFC9CC; }
.bm-msg-auto.out { opacity: 0; transition: opacity .4s; }

/* Dialogues */
.bm-dialog { width: min(520px, calc(100vw - 24px)); border: 1px solid var(--bm-line-2); border-radius: 16px; background: var(--bm-card-2); color: #fff; padding: 0; box-shadow: var(--bm-shadow); }
.bm-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.bm-dialog form { margin: 0; }
.bm-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--bm-line); }
.bm-dialog-head h2 { margin: 0; font-size: 17px; }
.bm-dialog-body { padding: 16px 18px; max-height: 64vh; overflow: auto; }
.bm-dialog-body p { color: var(--bm-text-2); font-size: 14px; line-height: 1.55; }
.bm-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--bm-line); }
.bm-save-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 14px; }
.bm-save-list small { color: var(--bm-muted); }
.bm-save-new { display: flex; gap: 8px; }
.bm-save-new input { flex: 1; background: var(--bm-bg-2); color: #fff; border: 1px solid var(--bm-line-2); border-radius: 9px; padding: 9px 12px; }

/* Avatars et pastilles de marque */
.bm-av { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--bm-raise-2); color: #fff; font-weight: 700; font-size: 14px; }
.bm-av img { width: 100%; height: 100%; object-fit: cover; }
.bm-av-sm { width: 28px; height: 28px; font-size: 11px; } .bm-av-md { width: 40px; height: 40px; }
.bm-av-lg { width: 72px; height: 72px; font-size: 24px; } .bm-av-xl { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 2px var(--bm-card), 0 0 0 4px var(--bm-red); }
.bm-bbadge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #2B3644, #161E28); border: 1px solid var(--bm-line-2); overflow: hidden; }
.bm-bbadge span { font-size: 14px; font-weight: 800; letter-spacing: .02em; color: #E9ECEF; }
.bm-bbadge img { width: 74%; height: 74%; object-fit: contain; }
.bm-bbadge-lg { width: 64px; height: 64px; } .bm-bbadge-lg span { font-size: 20px; }
.bm-bbadge-xl { width: 110px; height: 110px; border: 3px solid #fff; } .bm-bbadge-xl span { font-size: 34px; }

/* ---------------- Colonne gauche ---------------- */
.bm-me { padding: 18px; }
.bm-me-head { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.bm-me-head b { display: block; font-size: 16px; } .bm-me-head small { color: var(--bm-text-2); font-size: 13px; }
.bm-me-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 16px 0 12px; text-align: center; }
.bm-me-stats div { display: flex; flex-direction: column-reverse; }
.bm-me-stats dt { font-size: 11.5px; color: var(--bm-text-2); } .bm-me-stats dd { margin: 0; font-size: 17px; font-weight: 800; }
.bm-me-nav { display: flex; flex-direction: column; border-top: 1px solid var(--bm-line); padding-top: 8px; }
.bm-me-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: 8px; color: #E6E9ED; text-decoration: none; font-size: 14px; }
.bm-me-nav a:hover { background: var(--bm-raise); }
.bm-me-nav a svg { color: var(--bm-text-2); }
.bm-brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; }
.bm-brand-grid a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; font-size: 11.5px; color: var(--bm-text-2); text-align: center; }
.bm-brand-grid a:hover { color: #fff; }
.bm-brand-grid a span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bm-mini-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bm-mini-list li { display: flex; align-items: center; gap: 8px; }
.bm-mini-list a { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 1; }
.bm-mini-list b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-mini-list small { display: block; color: var(--bm-text-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bm-mini-list span { min-width: 0; }
.bm-coll-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bm-coll-mini a { display: flex; gap: 8px; padding: 10px; border-radius: 10px; background: var(--bm-raise); text-decoration: none; min-width: 0; }
.bm-coll-mini a svg { color: var(--bm-red-ink); flex: none; margin-top: 2px; }
.bm-coll-mini b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bm-coll-mini small { color: var(--bm-text-2); font-size: 11.5px; }
.bm-coll-mini span { min-width: 0; }
.bm-join-card h2 { margin: 0 0 6px; font-size: 18px; } .bm-join-card p { color: var(--bm-text-2); font-size: 14px; margin: 0 0 14px; }
.bm-join-card .bm-btn + .bm-btn { margin-top: 8px; }

/* ---------------- Colonne droite ---------------- */
.bm-trend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bm-trend li { display: flex; align-items: center; gap: 10px; }
.bm-rank { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 7px; background: var(--bm-raise); font-weight: 800; font-size: 13px; flex: none; }
.bm-trend a { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; flex: 1; }
.bm-trend b { display: block; font-size: 14px; } .bm-trend small { display: block; font-size: 12px; color: var(--bm-text-2); } .bm-trend em { font-style: normal; font-size: 12px; color: var(--bm-blue); }
.bm-trend span { min-width: 0; }
.bm-ev-list { display: flex; flex-direction: column; gap: 10px; }
.bm-disc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.bm-disc a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--bm-text-2); }
.bm-disc-img { width: 92px; height: 56px; border-radius: 8px; overflow: hidden; flex: none; background: var(--bm-raise); display: flex; align-items: center; justify-content: center; }
.bm-disc-img img { width: 100%; height: 100%; object-fit: cover; }
.bm-disc span:nth-child(2) { flex: 1; min-width: 0; } .bm-disc b { display: block; color: #fff; font-size: 13.5px; } .bm-disc small { font-size: 12px; }
.bm-mini-follow .bm-follow { flex: none; }

/* ---------------- Hero d'accueil ---------------- */
.bm-hero { position: relative; border-radius: var(--bm-radius); overflow: hidden; min-height: 300px; display: flex; align-items: center; border: 1px solid var(--bm-line);
  background: radial-gradient(120% 120% at 85% 30%, rgba(228, 30, 43, .22), transparent 55%), linear-gradient(115deg, #0B1117 0%, #121A23 60%, #1A1012 100%); }
.bm-hero-img { position: absolute; inset: 0; background-position: center; background-size: cover; }
.bm-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 13, 18, .96) 0%, rgba(8, 13, 18, .82) 38%, rgba(8, 13, 18, .15) 75%, rgba(8, 13, 18, .05) 100%); }
.bm-hero-in { position: relative; padding: 34px 34px; max-width: 600px; }
.bm-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.06; letter-spacing: -.025em; }
.bm-hero p { margin: 0 0 22px; color: #D3D8DE; font-size: 15.5px; line-height: 1.55; }
.bm-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.bm-hero-credit { position: absolute; right: 10px; bottom: 8px; font-size: 10.5px; color: rgba(255, 255, 255, .6); max-width: 46%; text-align: right; }
.bm-hero-credit a { color: inherit; }
.bm-hero-sign { position: absolute; right: 26px; top: 22px; font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: 22px; color: rgba(255, 255, 255, .85); transform: rotate(-6deg); text-align: right; line-height: 1.1; }
@media (max-width: 700px) { .bm-hero-in { padding: 24px 18px; } .bm-hero-sign { display: none; } .bm-hero-img::after { background: linear-gradient(0deg, rgba(8, 13, 18, .97) 30%, rgba(8, 13, 18, .45) 100%); } .bm-hero { align-items: flex-end; min-height: 380px; } }
.bm-shortcuts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bm-shortcut { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bm-card); border: 1px solid var(--bm-line); text-decoration: none; }
.bm-shortcut:hover { border-color: var(--bm-line-2); background: var(--bm-card-2); }
.bm-shortcut-ic { display: inline-flex; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; background: var(--bm-raise); flex: none; }
.bm-shortcut b { display: block; font-size: 14px; } .bm-shortcut small { color: var(--bm-text-2); font-size: 12.5px; }
.bm-shortcut > svg:last-child { margin-left: auto; color: var(--bm-red-ink); }
@media (max-width: 700px) { .bm-shortcuts { grid-template-columns: 1fr; } }

/* Composeur */
.bm-composer-top { display: flex; align-items: center; gap: 12px; }
.bm-composer-input { flex: 1; padding: 12px 16px; border-radius: 10px; background: var(--bm-bg-2); border: 1px solid var(--bm-line); color: var(--bm-muted); text-decoration: none; font-size: 14.5px; }
.bm-composer-input:hover { border-color: var(--bm-line-2); color: var(--bm-text-2); }
.bm-composer-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; margin: 12px 0 0 52px; }
.bm-composer-bar a:not(.bm-btn) { display: inline-flex; align-items: center; gap: 7px; color: var(--bm-text-2); font-size: 13px; text-decoration: none; padding: 6px 2px; }
.bm-composer-bar a:not(.bm-btn):hover { color: #fff; }
.bm-composer-bar .bm-btn { margin-left: auto; }
@media (max-width: 640px) { .bm-composer-bar { margin-left: 0; } .bm-composer-bar a:not(.bm-btn):nth-child(n+5) { display: none; } }

/* ---------------- Publications (PostCard) ---------------- */
.bm-feed { display: flex; flex-direction: column; gap: 16px; }
.bm-post { background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: var(--bm-radius); padding: 16px; }
.bm-post-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.bm-post-author { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.bm-post-author b { display: block; font-size: 15px; } .bm-post-author small { display: flex; align-items: center; gap: 4px; color: var(--bm-text-2); font-size: 12.5px; flex-wrap: wrap; }
.bm-post-tools { display: flex; align-items: center; gap: 6px; flex: none; }
.bm-post-main { display: grid; grid-template-columns: 1fr; gap: 16px; }
.bm-post-split .bm-post-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 760px) { .bm-post-split .bm-post-main { grid-template-columns: 1fr; } }
.bm-post-title { margin: 0 0 8px; font-size: 18px; font-weight: 800; line-height: 1.3; }
.bm-post-title a { text-decoration: none; } .bm-post-title a:hover { text-decoration: underline; }
.bm-post-text { color: #DDE2E7; font-size: 14.5px; line-height: 1.6; }
.bm-post-text p { margin: 0 0 10px; } .bm-post-text p:last-child { margin-bottom: 0; }
.bm-post-text a { color: var(--bm-blue); }
.bm-more { display: inline-block; margin-top: 4px; color: var(--bm-red-ink) !important; font-weight: 600; font-size: 13.5px; }
.bm-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.bm-tags a, .bm-hashtag { color: var(--bm-blue) !important; font-size: 13px; text-decoration: none; }
.bm-tags a { padding: 4px 9px; border-radius: 6px; background: rgba(91, 155, 255, .1); }
.bm-tags a:hover { background: rgba(91, 155, 255, .2); }
.bm-reasons { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.bm-reason { font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bm-raise); color: var(--bm-text-2); }
.bm-reason-brand, .bm-reason-member { background: var(--bm-red-soft); color: #FFB3B8; }
.bm-post-actions { display: flex; align-items: center; gap: 4px; margin: 14px -6px -4px; padding-top: 10px; border-top: 1px solid var(--bm-line); flex-wrap: wrap; }
.bm-act { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border-radius: 8px; border: 0; background: none; color: var(--bm-text-2); font: 600 13px inherit; cursor: pointer; text-decoration: none; }
.bm-act:hover { background: var(--bm-raise); color: #fff; }
.bm-act.is-on { color: var(--bm-red-ink); }
.bm-act-like.is-on svg { fill: var(--bm-red); stroke: var(--bm-red); }
.bm-act-save.is-on svg { fill: currentColor; }
.bm-act-save { margin-left: auto; }
.bm-n:empty { display: none; }
@media (max-width: 560px) { .bm-act-l { display: none; } .bm-act-save { margin-left: 0; } .bm-post-actions { justify-content: space-between; } }
.bm-menu { position: relative; }
.bm-menu-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 220px; padding: 6px; border-radius: 12px; background: var(--bm-card-2); border: 1px solid var(--bm-line-2); box-shadow: var(--bm-shadow); }
.bm-menu-pop a, .bm-menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; border: 0; background: none; color: #fff; font: 500 14px inherit; text-align: left; cursor: pointer; text-decoration: none; }
.bm-menu-pop a:hover, .bm-menu-pop button:hover { background: var(--bm-raise); }
.bm-post-compact { padding: 12px; background: var(--bm-bg-2); }
.bm-post-compact .bm-post-title { font-size: 15.5px; }
.bm-repost-box { margin-top: 10px; }
.bm-removed { display: flex; align-items: center; gap: 8px; padding: 14px; border-radius: 10px; background: var(--bm-bg-2); color: var(--bm-text-2); font-size: 14px; }

/* Galerie */
.bm-gal { display: flex; flex-direction: column; gap: 6px; }
.bm-gal-main { position: relative; display: block; border-radius: 10px; overflow: hidden; background: #000; aspect-ratio: 16 / 10; }
.bm-gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-gal-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.bm-gal-thumbs a { position: relative; display: block; border-radius: 7px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.bm-gal-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-gal-more::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.bm-gal-more-n { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; }
.bm-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(8, 13, 18, .72); border: 2px solid #fff; display: flex; align-items: center; justify-content: center; }
.bm-play-sm { width: 30px; height: 30px; border-width: 1.5px; }
.bm-dur { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 5px; background: rgba(0, 0, 0, .75); font-size: 12px; font-weight: 700; }
.bm-lb { position: fixed; inset: 0; z-index: 5000; display: none; align-items: center; justify-content: center; background: rgba(0, 0, 0, .92); }
.bm-lb.on { display: flex; }
.bm-lb figure { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bm-lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.bm-lb figcaption { color: #D3D8DE; font-size: 14px; }
.bm-lb button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.bm-lb-x { top: 16px; right: 16px; } .bm-lb-p { left: 16px; top: 50%; } .bm-lb-n { right: 16px; top: 50%; }

/* Fiche véhicule */
.bm-vsheet { min-width: 0; }
.bm-vsheet-title { margin: 0 0 10px; font-size: 17px; font-weight: 800; line-height: 1.3; }
.bm-vsheet-title a { text-decoration: none; } .bm-vsheet-title a:hover { text-decoration: underline; }
.bm-specs { margin: 0; display: flex; flex-direction: column; }
.bm-specs div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 10px; padding: 5px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.bm-specs dt { color: var(--bm-text-2); position: relative; padding-left: 12px; }
.bm-specs dt::before { content: ''; position: absolute; left: 0; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: var(--bm-muted); }
.bm-specs dd { margin: 0; color: #fff; }
.bm-vsheet:not(.bm-vsheet-compact) .bm-specs div { padding: 9px 0; font-size: 14.5px; }
.bm-spec-src { margin: 8px 0 0; font-size: 12px; color: var(--bm-muted); } .bm-spec-src a { color: var(--bm-text-2); }
.bm-vsheet-min { margin: 0; color: var(--bm-text-2); font-size: 13.5px; }

/* Sondage */
.bm-poll { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 4px; }
.bm-poll-opt { position: relative; overflow: hidden; display: flex; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--bm-line-2); background: var(--bm-bg-2); color: #fff; font: 600 14px inherit; cursor: pointer; text-align: left; }
.bm-poll-opt:hover:not([disabled]) { border-color: var(--bm-red); }
.bm-poll-bar { position: absolute; left: 0; top: 0; bottom: 0; background: rgba(255, 255, 255, .08); transition: width .4s; }
.bm-poll-opt.is-mine { border-color: var(--bm-red); } .bm-poll-opt.is-mine .bm-poll-bar { background: var(--bm-red-soft); }
.bm-poll-lbl, .bm-poll-pct { position: relative; }
.bm-poll-meta { margin: 2px 0 0; font-size: 12.5px; color: var(--bm-muted); }

/* ---------------- Curation (ArticleCard / PodcastCard) ---------------- */
.bm-curgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bm-cur { display: flex; flex-direction: column; background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: 12px; overflow: hidden; min-width: 0; }
.bm-cur-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bm-raise); }
.bm-cur-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-cur-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--bm-muted); }
.bm-cur-play { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--bm-red); display: flex; align-items: center; justify-content: center; }
.bm-cur-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bm-cur-kicker { margin: 0; }
.bm-curtag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bm-text-2); }
.bm-curtag.is-edito { color: var(--bm-red-ink); }
.bm-cur-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; }
.bm-cur-title a { text-decoration: none; } .bm-cur-title a:hover { text-decoration: underline; }
.bm-cur-ex { margin: 0; color: var(--bm-text-2); font-size: 13.5px; line-height: 1.5; }
.bm-cur-src { margin: auto 0 0; padding-top: 6px; color: var(--bm-muted); font-size: 12.5px; }
.bm-cur-row { flex-direction: row; }
.bm-cur-row .bm-cur-media { flex: 0 0 38%; aspect-ratio: auto; min-height: 140px; }
@media (max-width: 560px) { .bm-cur-row { flex-direction: column; } .bm-cur-row .bm-cur-media { flex-basis: auto; aspect-ratio: 16 / 9; } }
.bm-cur-note { margin: -4px 0 12px; color: var(--bm-muted); font-size: 12.5px; }
.bm-feed-cur .bm-reasons { margin-left: 2px; }

/* ---------------- Marques et modèles ---------------- */
.bm-bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bm-bcard { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 12px 14px; background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: 12px; text-align: center; }
.bm-bcard:hover { border-color: var(--bm-line-2); }
.bm-bcard-link { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.bm-bcard-name { font-weight: 800; font-size: 15px; } .bm-bcard-meta, .bm-bcard-stats { font-size: 12px; color: var(--bm-text-2); }
.bm-alpha { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 16px; }
.bm-alpha a { min-width: 32px; padding: 6px 8px; text-align: center; border-radius: 7px; background: var(--bm-raise); color: var(--bm-text-2); font-weight: 700; font-size: 13px; text-decoration: none; }
.bm-alpha a.on, .bm-alpha a:hover { background: #fff; color: #0D131A; }
.bm-side-brands { display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 140px); overflow: auto; }
.bm-side-brands a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; text-decoration: none; font-size: 14px; color: #E6E9ED; }
.bm-side-brands a .bm-bbadge { width: 28px; height: 28px; } .bm-side-brands a .bm-bbadge span { font-size: 10px; }
.bm-side-brands a:hover, .bm-side-brands a.on { background: var(--bm-raise); } .bm-side-brands a.on { box-shadow: inset 3px 0 0 var(--bm-red); }
.bm-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.bm-mcard { background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bm-mcard-media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1A232E, #0F151C); position: relative; }
.bm-mcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-mcard-noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #3C4858; }
.bm-mcard-body { padding: 10px 12px 12px; }
.bm-mcard h3 { margin: 0 0 3px; font-size: 14.5px; font-weight: 700; } .bm-mcard h3 a { text-decoration: none; }
.bm-mcard-meta, .bm-mcard-extra { margin: 0; color: var(--bm-text-2); font-size: 12.5px; }
.bm-brandhead { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.bm-brandhead .bm-bbadge-xl { margin-bottom: -2px; }
.bm-brandhead-txt { flex: 1; min-width: 220px; }
.bm-brandhead-txt h1 { margin: 0; }
.bm-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; }
.bm-kpi { padding: 10px 14px; border-radius: 10px; background: rgba(8, 13, 18, .6); border: 1px solid var(--bm-line); min-width: 110px; }
.bm-kpi b { display: block; font-size: 18px; } .bm-kpi small { color: var(--bm-text-2); font-size: 12px; }
.bm-model-hero { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; }
.bm-model-img { border-radius: var(--bm-radius); overflow: hidden; background: linear-gradient(135deg, #1A232E, #0F151C); aspect-ratio: 16 / 9; position: relative; }
.bm-model-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-credit { position: absolute; right: 8px; bottom: 6px; max-width: 80%; font-size: 10.5px; color: rgba(255, 255, 255, .75); text-shadow: 0 1px 2px #000; text-align: right; }
@media (max-width: 900px) { .bm-model-hero { grid-template-columns: 1fr; } }
.bm-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin: 14px 0; }
.bm-quick div { padding: 12px; border-radius: 10px; background: var(--bm-card); border: 1px solid var(--bm-line); }
.bm-quick b { display: block; font-size: 17px; } .bm-quick small { color: var(--bm-text-2); font-size: 12px; }
.bm-gen-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bm-gen { padding: 12px; border-radius: 10px; background: var(--bm-card); border: 1px solid var(--bm-line); }
.bm-gen b { display: block; } .bm-gen small { color: var(--bm-text-2); font-size: 12.5px; }

/* Comparateur */
.bm-cmp-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
@media (max-width: 1000px) { .bm-cmp-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bm-cmp-pick { grid-template-columns: 1fr; } }
.bm-cmp-slot { padding: 12px; border-radius: 12px; background: var(--bm-card); border: 1px solid var(--bm-line); }
.bm-cmp-slot .bm-field { margin-bottom: 8px; }
.bm-cmp-wrap { overflow-x: auto; border-radius: var(--bm-radius); border: 1px solid var(--bm-line); }
.bm-cmp { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bm-card); }
.bm-cmp th, .bm-cmp td { padding: 11px 14px; border-bottom: 1px solid var(--bm-line); text-align: left; font-size: 14px; vertical-align: top; }
.bm-cmp thead th { background: var(--bm-card-2); position: sticky; top: 0; }
.bm-cmp tbody th { color: var(--bm-text-2); font-weight: 600; width: 180px; }
.bm-cmp .is-best { color: var(--bm-red-ink); font-weight: 800; }
.bm-cmp-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin: 0 0 8px; background: var(--bm-raise); }

/* ---------------- Membres, garage, annonces, événements ---------------- */
.bm-ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.bm-ucard { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 12px 14px; border-radius: 12px; background: var(--bm-card); border: 1px solid var(--bm-line); text-align: center; }
.bm-ucard-link { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; }
.bm-ucard-name { font-weight: 800; font-size: 15px; } .bm-ucard-handle, .bm-ucard-meta { color: var(--bm-text-2); font-size: 12.5px; margin: 0; }
.bm-ggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.bm-gcard { background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.bm-gcard-media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1A232E, #0F151C); }
.bm-gcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-gcard-ref { position: absolute; left: 8px; top: 8px; font-size: 11px; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .65); color: #D3D8DE; }
.bm-gcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bm-gcard h3 { margin: 0; font-size: 16px; } .bm-gcard-meta, .bm-gcard-vis { margin: 0; color: var(--bm-text-2); font-size: 13px; display: flex; align-items: center; gap: 5px; }
.bm-gcard-acts { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.bm-gcard-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 240px; border: 2px dashed var(--bm-line-2); border-radius: 12px; background: transparent; color: var(--bm-text-2); font: 600 15px inherit; cursor: pointer; }
.bm-gcard-add:hover { border-color: var(--bm-red); color: #fff; }
.bm-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.bm-lcard { background: var(--bm-card); border: 1px solid var(--bm-line); border-radius: 12px; overflow: hidden; }
.bm-lcard-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bm-raise); }
.bm-lcard-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-sold { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 6px; background: var(--bm-red); font-weight: 800; font-size: 12px; text-transform: uppercase; }
.bm-lcard-body { padding: 12px 14px 14px; }
.bm-lcard-price { margin: 0 0 4px; font-size: 18px; font-weight: 900; color: #fff; }
.bm-lcard h3 { margin: 0 0 6px; font-size: 15px; } .bm-lcard h3 a { text-decoration: none; }
.bm-lcard-meta { margin: 2px 0 0; color: var(--bm-text-2); font-size: 12.5px; }
.bm-ecard { display: flex; gap: 14px; padding: 12px; border-radius: 12px; background: var(--bm-card); border: 1px solid var(--bm-line); align-items: flex-start; }
.bm-ecard-row { padding: 0; background: none; border: 0; }
.bm-ecard-date { flex: none; width: 58px; padding: 7px 0; border-radius: 9px; background: var(--bm-red); color: #fff; text-align: center; text-decoration: none; line-height: 1.05; }
.bm-ecard-date b { display: block; font-size: 18px; font-weight: 900; } .bm-ecard-date small { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.bm-ecard-media { flex: none; width: 120px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; } .bm-ecard-media img { width: 100%; height: 100%; object-fit: cover; }
.bm-ecard-body { min-width: 0; } .bm-ecard h3 { margin: 0 0 4px; font-size: 14.5px; } .bm-ecard h3 a { text-decoration: none; }
.bm-ecard p { display: flex; align-items: center; gap: 5px; margin: 2px 0 0; color: var(--bm-text-2); font-size: 12.5px; }

/* ---------------- Médias (hub) ---------------- */
.bm-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 24px; }
.bm-door { position: relative; min-height: 230px; border-radius: var(--bm-radius); overflow: hidden; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; text-decoration: none; border: 1px solid var(--bm-line-2);
  background: radial-gradient(90% 120% at 100% 0%, rgba(228, 30, 43, .25), transparent 60%), linear-gradient(140deg, #18212B, #0C1117); }
.bm-door:hover { border-color: rgba(228, 30, 43, .6); }
.bm-door-ic { position: absolute; top: 22px; left: 26px; display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; }
.bm-door h2 { margin: 0; font-size: 30px; font-weight: 900; } .bm-door p { margin: 0; color: #D3D8DE; max-width: 360px; font-size: 14.5px; }
.bm-door .bm-btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 760px) { .bm-doors { grid-template-columns: 1fr; } }

/* Lecteur de podcast (page épisode) */
.bm-episode { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.bm-episode-art { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; background: var(--bm-raise); }
@media (max-width: 700px) { .bm-episode { grid-template-columns: 1fr; } .bm-episode-art { max-width: 220px; } }
.bm-article-body { font-size: 16.5px; line-height: 1.75; color: #E3E7EB; }
.bm-article-body p { margin: 0 0 16px; }
.bm-source-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px; border-radius: 12px; background: var(--bm-card-2); border: 1px solid var(--bm-line-2); margin: 18px 0; }
.bm-source-box p { margin: 0; color: var(--bm-text-2); font-size: 13.5px; max-width: 520px; }
.bm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--bm-raise); text-decoration: none; font-size: 13px; font-weight: 600; }
.bm-chip .bm-bbadge { width: 26px; height: 26px; } .bm-chip .bm-bbadge span { font-size: 9.5px; }

/* ---------------- Composeur (page Publier) ---------------- */
.bm-kinds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 18px; }
.bm-kinds a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; border: 1px solid var(--bm-line-2); text-decoration: none; color: var(--bm-text-2); font-weight: 600; font-size: 14px; }
.bm-kinds a.on { border-color: var(--bm-red); color: #fff; background: var(--bm-red-soft); }
@media (max-width: 560px) { .bm-kinds { grid-template-columns: 1fr 1fr; } }
.bm-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; padding: 22px; border: 2px dashed var(--bm-line-2); border-radius: 12px; text-align: center; color: var(--bm-text-2); cursor: pointer; }
.bm-drop.over, .bm-drop:hover { border-color: var(--bm-red); color: #fff; }
.bm-drop b { color: #fff; font-size: 15px; } .bm-drop small { font-size: 12.5px; }
.bm-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bm-medias { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; margin: 12px 0 0; }
.bm-medias li { position: relative; list-style: none; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.bm-medias img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-medias button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; cursor: pointer; }
.bm-medias .bm-media-first::after { content: 'Couverture'; position: absolute; left: 4px; bottom: 4px; font-size: 10.5px; padding: 2px 6px; border-radius: 4px; background: var(--bm-red); }
.bm-queue { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; color: var(--bm-text-2); }
.bm-queue li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; } .bm-queue li.err b { color: var(--bm-red-ink); } .bm-queue li.ok b { color: #7EE29A; }
.bm-poll-edit { display: flex; flex-direction: column; gap: 8px; }
.bm-form-foot { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bm-line); }
.bm-vpick { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 12px; }
.bm-vpick .bm-vpick-help { grid-column: 1 / -1; margin-top: -6px; }
.bm-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.bm-lib-item { position: relative; border: 2px solid transparent; border-radius: 8px; overflow: hidden; padding: 0; background: #000; cursor: pointer; aspect-ratio: 4 / 3; }
.bm-lib-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-lib-item[aria-pressed=true] { border-color: var(--bm-red); }
.bm-lib-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; background: rgba(0, 0, 0, .65); font-size: 11px; color: #fff; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Détail d'une publication / profil */
.bm-post-page .bm-post { padding: 20px; }
.bm-post-page .bm-gal-main { aspect-ratio: auto; max-height: 72vh; }
.bm-post-page .bm-gal-main img { max-height: 72vh; object-fit: contain; background: #000; }
.bm-comments { margin-top: 16px; }
body.bm-site .vc-comment { border-bottom-color: var(--bm-line) !important; }
.bm-profile-auto { margin: 18px 0; }

/* Admin et tableaux simples */
.bm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.bm-table th, .bm-table td { padding: 10px 12px; border-bottom: 1px solid var(--bm-line); text-align: left; vertical-align: top; }
.bm-table th { color: var(--bm-text-2); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.bm-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--bm-raise); font-size: 12px; color: var(--bm-text-2); }
.bm-tag-published { background: rgba(46, 160, 67, .16); color: #9BE3AE; } .bm-tag-draft { background: rgba(255, 196, 0, .14); color: #FFD966; } .bm-tag-removed { background: var(--bm-red-soft); color: #FFB3B8; }

@media (prefers-reduced-motion: reduce) { body.bm-site * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Retouches après première capture */
body.bm-site .site-header .header-nav a, body.bm-site .site-header .header-nav a.active { border: 0 !important; box-shadow: none !important; outline-offset: -2px; }
.bm-hero-credit { max-width: 34%; font-size: 10px; line-height: 1.35; }
.bm-hero-in { padding-bottom: 46px; }
.bm-shortcut small { display: block; line-height: 1.35; }
@media (max-width: 900px) { .bm-hero-credit { max-width: 90%; } }

/* Variantes de grilles (jamais en style inline : les media queries doivent pouvoir les replier) */
.bm-2col-left { grid-template-columns: 260px minmax(0, 1fr); }
.bm-2col-wide { grid-template-columns: minmax(0, 1fr) 360px; }
.bm-3col-pod { grid-template-columns: 260px minmax(0, 1fr) 300px; }
@media (max-width: 1180px) { .bm-3col-pod { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 900px) {
  .bm-3col, .bm-2col, .bm-2col-left, .bm-2col-wide, .bm-3col-pod { grid-template-columns: minmax(0, 1fr); }
  .bm-2col-left > .bm-side { display: none; }   /* liste des marques : accessible par l'annuaire sur mobile */
}
/* En-tête mobile : actions compactes */
@media (max-width: 700px) {
  body.bm-site .site-header .header-inner { gap: 8px; padding: 0 12px; }
  body.bm-site .site-header .btn-login .btn-login-label { display: none; }
  body.bm-site .site-header .btn-login { padding: 9px; }
}
@media (max-width: 700px) {
  .bm-hero { flex-direction: column; align-items: stretch; }
  .bm-hero-in { padding-bottom: 16px; }
  .bm-hero-credit { position: relative; right: auto; bottom: auto; max-width: none; text-align: left; padding: 0 18px 14px; }
}

.bm-door { padding-top: 92px; }

/* ---------------- Menu du compte : jamais plus haut que l'écran, « Se déconnecter » toujours visible ---------------- */
body.bm-site .site-header .wl-user-menu .wl-menu-page { max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
body.bm-site .site-header .wl-user-menu .wl-menu-page.is-main > a,
body.bm-site .site-header .wl-user-menu .wl-menu-page.is-main > .wl-status-open { padding-top: 8px; padding-bottom: 8px; }
body.bm-site .site-header .wl-user-menu .wl-logout { position: sticky; bottom: -6px; z-index: 1; margin: 4px -6px -6px; padding: 12px 18px; background: var(--bmd-deep, #121B24) !important; border-top: 1px solid var(--bmd-line, #1E2833); color: var(--bm-red-ink) !important; font-weight: 700; }

