/* ===========================================================
   VB.com — page /fame : Two Letter Domains (#fm)
   Maquette B validée le 29/10/2026 (thème clair).
   Toutes les règles sont préfixées .fm pour ne pas interférer
   avec Bootstrap 3 et les styles existants du site.
   =========================================================== */
.fm{
  --fm-bg:#ffffff; --fm-surface:#ffffff; --fm-alt:#f7f5f1; --fm-chip:#efece6; --fm-line:#e4e0d8;
  --fm-ink:#1d1b19; --fm-muted:#6f6a63; --fm-red:#b12121; --fm-orange:#e07a2c; --fm-link:#1f5f9e;
  --fm-cell:#f1eee8;
  --fm-fd:"Libre Caslon Text",Georgia,"Times New Roman",serif;
  --fm-fb:"Figtree","Segoe UI",Arial,sans-serif;
  max-width:1040px;margin:0 auto;padding:8px 0 40px;text-align:left;
  font:15px/1.55 var(--fm-fb);color:var(--fm-ink);background:var(--fm-bg);
}
.fm *{box-sizing:border-box}
.fm a{color:var(--fm-link)}
.fm a:hover,.fm a:focus{text-decoration:none}
.fm [hidden]{display:none!important}
.fm :focus-visible{outline:2px solid var(--fm-orange);outline-offset:2px}
.fm-eyebrow{font:600 12px/1.2 var(--fm-fb);letter-spacing:.14em;text-transform:uppercase;color:var(--fm-orange);margin:0 0 10px}

/* En-tête */
.fm .fm-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,380px);gap:40px;align-items:center;padding:28px 0 28px}
.fm .fm-vb{width:120px;height:auto;display:block;margin:0 0 18px;border-radius:4px}
.fm .fm-hero h1{font:400 44px/1.12 var(--fm-fd);margin:0 0 14px;color:var(--fm-ink)}
.fm .fm-hero h1 b{font-weight:700;color:var(--fm-red)}
.fm .fm-hero p.fm-sub{margin:0 0 16px;max-width:52ch;color:var(--fm-muted);font-size:16px}
.fm .fm-btns{display:flex;flex-wrap:wrap;gap:8px}
.fm .fm-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid var(--fm-line);color:var(--fm-ink);text-decoration:none;font:600 13px/1.2 var(--fm-fb);background:var(--fm-surface)}
.fm .fm-btn:hover,.fm .fm-btn:focus{border-color:var(--fm-red);color:var(--fm-red)}
.fm .fm-btn.fm-dark{background:var(--fm-ink);border-color:var(--fm-ink);color:#fff}
.fm .fm-btn.fm-dark:hover,.fm .fm-btn.fm-dark:focus{background:var(--fm-red);border-color:var(--fm-red);color:#fff}

/* Carré des 676 combinaisons */
.fm .fm-mx{background:var(--fm-surface);border:1px solid var(--fm-line);border-radius:14px;padding:14px}
.fm .fm-mx-h{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin:0 0 10px;font-size:12.5px;color:var(--fm-muted)}
.fm .fm-mx-h strong{font:700 13px var(--fm-fb);color:var(--fm-ink)}
.fm .fm-g26{display:grid;grid-template-columns:repeat(27,1fr);gap:2px;font:600 8.5px/1 var(--fm-fb)}
.fm .fm-g26 span{aspect-ratio:1;display:grid;place-items:center;color:var(--fm-muted)}
.fm .fm-g26 button{aspect-ratio:1;border:0;padding:0;border-radius:2px;background:var(--fm-cell);cursor:default;font:inherit;color:transparent;min-width:0;line-height:1}
.fm .fm-g26 button.on{background:var(--fm-ink);color:#fff;cursor:pointer;font-size:7.5px}
.fm .fm-g26 button.on:hover,.fm .fm-g26 button.on:focus-visible,.fm .fm-g26 button.sel{background:var(--fm-red);color:#fff;outline:none}
.fm .fm-mx-f{margin:10px 0 0;font-size:12px;color:var(--fm-muted)}

/* Années d'enregistrement */
.fm .fm-yrs{margin:8px 0 14px;background:var(--fm-surface);border:1px solid var(--fm-line);border-radius:14px;padding:18px 18px 12px}
.fm .fm-yrs-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.fm .fm-yrs-h h2{font:400 21px/1.25 var(--fm-fd);margin:0 0 4px;color:var(--fm-ink)}
.fm .fm-yrs-h p{margin:0;font-size:13.5px;color:var(--fm-muted);max-width:60ch}
.fm .fm-yrs-all{border:1px solid var(--fm-red);background:var(--fm-surface);color:var(--fm-red);border-radius:999px;padding:6px 12px;font:600 12.5px var(--fm-fb);cursor:pointer}
.fm .fm-yrs-all:hover{background:var(--fm-red);color:#fff}
.fm .fm-ychart{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}
.fm .fm-ycol{min-width:0}
.fm .fm-yarr{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;border:1px solid var(--fm-line);background:var(--fm-surface);color:var(--fm-ink);cursor:pointer;padding:0;margin-bottom:18px;transition:background .15s,color .15s,border-color .15s}
.fm .fm-yarr svg{width:18px;height:18px}
.fm .fm-yarr:hover:not(:disabled){background:var(--fm-red);border-color:var(--fm-red);color:#fff}
.fm .fm-yarr:disabled{opacity:.3;cursor:default}
.fm .fm-years{display:flex;align-items:flex-end;gap:6px;height:128px;border-bottom:2px solid var(--fm-line);overflow-x:auto;scrollbar-width:none;padding-top:4px}
.fm .fm-years::-webkit-scrollbar{display:none}
.fm .fm-yr{flex:1 0 46px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;height:100%;border:0;background:transparent;padding:0;cursor:pointer;border-radius:8px 8px 0 0}
.fm .fm-yr b{font:700 15px/1 var(--fm-fb);color:var(--fm-ink)}
.fm .fm-yr i{display:block;width:70%;max-width:44px;border-radius:5px 5px 0 0;background:var(--fm-orange);transition:background .15s}
.fm .fm-yr:hover{background:var(--fm-alt)}
.fm .fm-yr:hover i,.fm .fm-yr[aria-pressed="true"] i{background:var(--fm-red)}
.fm .fm-yr[aria-pressed="true"] b{color:var(--fm-red)}
.fm .fm-ylab{display:flex;gap:6px;overflow:hidden}
.fm .fm-ylab span{flex:1 0 46px;text-align:center;font:600 13px/1 var(--fm-fb);color:var(--fm-muted);padding-top:8px}
.fm .fm-ylab span.on{color:var(--fm-red)}
.fm .fm-ylab em{font-style:normal}
.fm .fm-yrs-f{margin:10px 0 0;font-size:12.5px;color:var(--fm-muted)}

/* Barre de recherche (collée en haut au défilement : PC uniquement) */
.fm .fm-bar{background:var(--fm-bg);padding:12px 0 10px;border-bottom:1px solid var(--fm-line)}
@media (min-width:992px){.fm .fm-bar{position:-webkit-sticky;position:sticky;top:var(--vb-sticky-top,0px);z-index:15}}
.fm .fm-lab{display:block;text-align:center;font-weight:600;font-size:13px;color:var(--fm-muted);margin:0 0 6px}
.fm .fm-search{display:flex;align-items:center;gap:10px;background:var(--fm-surface);border:1px solid var(--fm-line);border-radius:12px;padding:0 14px;margin:0;cursor:text;font-weight:400}
.fm .fm-search:focus-within{border-color:var(--fm-orange);box-shadow:0 0 0 3px rgba(224,122,44,.2)}
.fm .fm-search svg{width:18px;height:18px;color:var(--fm-muted);flex:none}
.fm .fm-search input{flex:1;min-width:0;border:0;background:transparent;color:var(--fm-ink);font:16px var(--fm-fb);padding:13px 0;outline:none;box-shadow:none;height:auto}
.fm .fm-count{font-size:13px;color:var(--fm-muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.fm .fm-sw{display:flex;border:1px solid var(--fm-line);border-radius:999px;overflow:hidden;flex:none}
.fm .fm-sw button{border:0;background:transparent;color:var(--fm-muted);font:600 12px var(--fm-fb);padding:6px 10px;cursor:pointer}
.fm .fm-sw button[aria-pressed="true"]{background:var(--fm-ink);color:#fff}
.fm .fm-az{display:flex;flex-wrap:wrap;justify-content:center;gap:2px;margin:10px 0 0}
.fm .fm-az a{display:inline-grid;place-items:center;min-width:26px;height:26px;border-radius:6px;color:var(--fm-muted);text-decoration:none;font:600 13px/1 var(--fm-fb)}
.fm .fm-az a:hover{background:var(--fm-chip);color:var(--fm-red)}
.fm .fm-az a.is-off{opacity:.28;pointer-events:none}

/* Cartes */
.fm .fm-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}
.fm .fm-lh{grid-column:1/-1;font:700 26px/1 var(--fm-fd);color:var(--fm-red);padding:14px 2px 0;margin:0;scroll-margin-top:calc(var(--vb-sticky-top,0px) + 170px)}
.fm .fm-c{display:flex;flex-direction:column;gap:10px;background:var(--fm-surface);border:1px solid var(--fm-line);border-radius:12px;padding:14px;min-width:0;transition:border-color .15s}
.fm .fm-c:hover{border-color:var(--fm-muted)}
.fm .fm-c.sel{border-color:var(--fm-red);box-shadow:0 0 0 3px rgba(177,33,33,.15)}
.fm .fm-plate{display:grid;place-items:center;height:76px;background:#fff;border-radius:8px;border:1px solid var(--fm-line)}
.fm .fm-plate img{width:105px;height:auto;max-height:62px;object-fit:contain}
.fm .fm-dm{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.fm .fm-dn{font:400 22px/1 var(--fm-fd);color:var(--fm-ink);text-decoration:none}
.fm .fm-dn span{color:var(--fm-muted);font-size:15px}
.fm .fm-dn:hover,.fm .fm-dn:focus{color:var(--fm-red)}
.fm .fm-y{font:600 12px/1 var(--fm-fb);background:var(--fm-chip);color:var(--fm-ink);padding:5px 8px;border-radius:999px;text-decoration:none}
.fm .fm-y:hover,.fm .fm-y:focus{background:var(--fm-red);color:#fff}
.fm .fm-own{margin:0;font-size:14px;line-height:1.4}
.fm .fm-meta{margin:auto 0 0;font-size:12.5px;color:var(--fm-muted);display:flex;flex-direction:column;gap:2px}
.fm .fm-ev{display:inline-flex;width:-webkit-max-content;width:max-content;max-width:100%;align-items:center;gap:5px;font:600 11.5px/1.2 var(--fm-fb);color:var(--fm-red);text-decoration:none;border:1px solid currentColor;border-radius:999px;padding:4px 9px}
.fm .fm-ev:hover,.fm .fm-ev:focus{background:var(--fm-red);color:#fff;border-color:var(--fm-red)}
.fm .fm-todo{font:600 11px var(--fm-fb);color:var(--fm-orange)}
.fm .fm-ad{margin:22px 0;padding:10px 0;border-top:1px solid var(--fm-line);border-bottom:1px solid var(--fm-line);text-align:center;min-height:120px}
.fm .fm-ad-in{grid-column:1/-1;margin:6px 0}
.fm .fm-ad-l{display:block;font:600 10.5px/1 var(--fm-fb);letter-spacing:.12em;text-transform:uppercase;color:var(--fm-muted);margin:0 0 8px}
.fm .fm-none{padding:40px;text-align:center;color:var(--fm-muted)}
/* Vue liste */
.fm .fm-cards.fm-list{grid-template-columns:1fr;gap:0;border:1px solid var(--fm-line);border-radius:14px;overflow:hidden;background:var(--fm-surface)}
.fm .fm-cards.fm-list .fm-lh{padding:16px 16px 6px;border-bottom:1px solid var(--fm-line)}
.fm .fm-cards.fm-list .fm-c{flex-direction:row;align-items:center;border:0;border-bottom:1px solid var(--fm-line);border-radius:0;gap:16px}
.fm .fm-cards.fm-list .fm-plate{width:110px;height:58px;flex:none}
.fm .fm-cards.fm-list .fm-plate img{width:84px}
.fm .fm-cards.fm-list .fm-dm{flex:0 0 150px;flex-direction:column;align-items:flex-start;gap:6px}
.fm .fm-cards.fm-list .fm-own{flex:1}
.fm .fm-cards.fm-list .fm-meta{margin:0;flex:0 0 190px}

/* Récit */
.fm .fm-story{margin-top:64px;display:grid;gap:48px}
.fm .fm-h2{font:400 30px/1.2 var(--fm-fd);margin:0 0 14px;color:var(--fm-ink)}
.fm .fm-p{margin:0 0 12px;max-width:62ch}
.fm .fm-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:start}
.fm .fm-ladder{display:grid;gap:8px;margin-top:6px}
.fm .fm-rung{display:grid;grid-template-columns:72px minmax(0,1fr) 128px;gap:10px;align-items:center;font-size:13px}
.fm .fm-rung .k{color:var(--fm-muted)}
.fm .fm-rung .b{height:12px;border-radius:3px;background:var(--fm-chip)}
.fm .fm-rung .b i{display:block;height:100%;border-radius:3px;background:var(--fm-orange)}
.fm .fm-rung.me .b i{background:var(--fm-red)}
.fm .fm-rung .v{text-align:right;font-variant-numeric:tabular-nums;font-weight:600}
.fm .fm-rung.me .v,.fm .fm-rung.me .k{color:var(--fm-red)}
.fm .fm-sc{font-size:11.5px;color:var(--fm-muted);margin:6px 0 0}
.fm .fm-tl{list-style:none;margin:0 0 14px;padding:0;border-left:2px solid var(--fm-line)}
.fm .fm-tl li{position:relative;padding:0 0 16px 18px}
.fm .fm-tl li::before{content:"";position:absolute;left:-6px;top:6px;width:10px;height:10px;border-radius:50%;background:var(--fm-bg);border:2px solid var(--fm-orange)}
.fm .fm-tl .d{font:600 12px var(--fm-fb);color:var(--fm-muted)}
.fm .fm-tl .t{font:400 17px/1.35 var(--fm-fd)}
.fm .fm-quote{margin:0;padding:28px 0;border:0;border-top:1px solid var(--fm-line);border-bottom:1px solid var(--fm-line);font:italic 400 28px/1.3 var(--fm-fd);text-align:center;color:var(--fm-ink)}
.fm .fm-quote b{font-style:normal;color:var(--fm-red)}
.fm .fm-one{display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px;align-items:start}
.fm .fm-one img{width:110px;height:auto;border-radius:8px}
.fm .fm-ones{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.fm .fm-ones a{border:1px solid var(--fm-line);border-radius:10px;padding:8px 12px;font-size:13px;background:var(--fm-surface);color:var(--fm-muted);text-decoration:none}
.fm .fm-ones a:hover{border-color:var(--fm-red)}
.fm .fm-ones b{display:block;font:400 22px/1 var(--fm-fd);color:var(--fm-ink)}
.fm .fm-vids{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.fm .fm-vid{display:flex;flex-direction:column;gap:8px;min-width:0}
.fm .fm-scr{position:relative;display:grid;place-items:center;aspect-ratio:16/9;max-width:100%;border-radius:12px;background:#000 linear-gradient(135deg,#2b2622,#5b2a22);color:#fff;overflow:hidden;text-decoration:none}
.fm .fm-scr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.fm .fm-scr iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.fm .fm-scr em{position:absolute;left:14px;top:12px;font:700 26px/1 var(--fm-fd);font-style:normal;color:#fff;text-shadow:0 1px 6px rgba(0,0,0,.5);z-index:1}
.fm .fm-pl{position:relative;z-index:1;width:56px;height:56px;border-radius:50%;background:var(--fm-red);display:grid;place-items:center;transition:transform .15s}
.fm .fm-pl svg{width:22px;height:22px;margin-left:3px}
.fm .fm-scr:hover .fm-pl{transform:scale(1.08)}
.fm .fm-vid strong{font-weight:600}
.fm .fm-vid small{color:var(--fm-muted);font-size:13px}
.fm .fm-end{text-align:center}
.fm .fm-end img{width:300px;max-width:100%;height:auto}
@media (prefers-reduced-motion:reduce){.fm *{transition:none!important}}
@media (max-width:991px){.fm .fm-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
  .fm .fm-hero,.fm .fm-two{grid-template-columns:1fr;gap:24px}
  .fm .fm-hero h1{font-size:32px}
  .fm .fm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .fm .fm-cards.fm-list .fm-c{flex-wrap:wrap}.fm .fm-cards.fm-list .fm-dm{flex-basis:auto}.fm .fm-cards.fm-list .fm-meta{flex-basis:100%}
  .fm .fm-vids{grid-template-columns:1fr}
  .fm .fm-rung{grid-template-columns:64px minmax(0,1fr) 104px}
  .fm .fm-h2{font-size:25px}.fm .fm-quote{font-size:22px}
}
@media (max-width:560px){
  .fm .fm-ychart{gap:4px}.fm .fm-yarr{width:30px;height:30px}.fm .fm-yarr svg{width:15px;height:15px}
  .fm .fm-yrs{padding:14px 10px 10px}.fm .fm-years,.fm .fm-ylab{gap:3px}
  .fm .fm-yr,.fm .fm-ylab span{flex:1 1 0;min-width:0}.fm .fm-yr b{font-size:12px}.fm .fm-yr i{width:80%}
  .fm .fm-ylab span{font-size:11px}.fm .fm-ylab em{display:none}.fm .fm-years{height:110px}
}
@media (max-width:420px){
  .fm .fm-az{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.fm .fm-az::-webkit-scrollbar{display:none}.fm .fm-az a{flex:none}
  .fm .fm-dn{font-size:19px}.fm .fm-c{padding:11px}.fm .fm-sw{display:none}
}
