/* Les aventures de Chaton & Prof’ · vignettes d'humeur du VRAI Multiplex. */
.fo-multiplex-event--simulocc{border-left:3px solid #c89d46;}
.fo-multiplex-event--simulocc .fo-multiplex-event__headline strong{letter-spacing:.025em;}
.fo-simulocc-conversation{display:grid;gap:10px;margin-top:12px;}
.fo-simulocc-replique{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;border-radius:3px;line-height:1.45;min-width:0;}
.fo-simulocc-chaton{background:rgba(211,166,76,.12);}
.fo-simulocc-prof{background:rgba(100,142,190,.12);}
.fo-simulocc-avatar{position:relative;display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;overflow:hidden;border:2px solid #d2a84c;border-radius:4px;background:rgba(243,218,167,.24);box-shadow:0 2px 8px rgba(0,0,0,.10);}
.fo-simulocc-avatar--prof{border-color:#6f8cb0;background:rgba(151,178,208,.19);}
.fo-simulocc-avatar__image{display:block;width:100%;height:100%;object-fit:cover;object-position:center 24%;}
.fo-simulocc-avatar__image.is-fallback-emoji{opacity:0;}
.fo-simulocc-avatar:has(.is-fallback-emoji)::after{content:'😼';position:absolute;font-size:27px;}
.fo-simulocc-avatar--prof:has(.is-fallback-emoji)::after{content:'🐯';}
.fo-simulocc-replique__texte{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;overflow-wrap:anywhere;}
.fo-simulocc-replique__texte strong{white-space:nowrap;font-size:.89rem;}
.fo-simulocc-replique__texte span{display:block;}
.fo-simulocc-disclaimer{font-size:.78rem;opacity:.82;margin-top:10px;}
.fo-simulocc-link{display:inline-block;margin-top:9px;text-decoration:underline;}
@media(max-width:530px){.fo-simulocc-replique{gap:9px;padding:9px}.fo-simulocc-avatar{flex-basis:54px;width:54px;height:54px;border-radius:4px}.fo-simulocc-replique__texte strong{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){.fo-simulocc-avatar{transition:none}}

/* Nouveaux basculements : même mise en page que le dialogue éditorial. */
.fo-multiplex-event--simulocc .fo-simulocc-disclaimer{font-size:.75rem;opacity:.75;margin-top:8px}

/* Note factuelle du multiplex Chaton : petite, sobre, meme police que la carte. */
.fo-multiplex-event--simulocc .fo-simulocc-score-note{
  display:block;max-width:100%;margin-top:8px;
  font-family:inherit;font-size:.78rem;line-height:1.4;font-weight:400;
  color:inherit;opacity:.8;text-decoration:none;overflow-wrap:anywhere;
}
.fo-multiplex-event--simulocc .fo-simulocc-score-note:hover,
.fo-multiplex-event--simulocc .fo-simulocc-score-note:focus-visible{
  text-decoration:underline;opacity:1;
}


/* Le flash de La Course : une information de rédaction, pas un toast d'application.
   Position centrale, pas de font ou script externe ; la file et les déclencheurs sont inchangés. */
.fo-chaton-popup[hidden]{display:none!important}
.fo-chaton-popup{
  position:fixed;left:50%;bottom:max(16px,env(safe-area-inset-bottom,0px));z-index:10080;
  transform:translateX(-50%);width:min(610px,calc(100vw - 24px));max-height:min(76dvh,620px);
  display:flex;flex-direction:column;overflow:hidden;border:1px solid #45484e;border-top:4px solid #c42132;
  border-radius:3px;background:#101821;color:#fff;box-shadow:0 14px 36px rgba(0,0,0,.28);
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;font-size:.94rem;line-height:1.45;
  animation:fo-chaton-flash-in .18s ease-out both;
}
.fo-chaton-popup__head{
  display:flex;align-items:center;gap:10px;min-height:37px;padding:6px 12px;
  background:#c42132;color:#fff;
}
.fo-chaton-popup__eyebrow{
  font:900 .84rem/1.1 "Arial Narrow","Franklin Gothic Medium",Impact,sans-serif;
  letter-spacing:.08em;text-transform:uppercase;
}
.fo-chaton-popup__head small{font-size:.72rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;opacity:.95}
.fo-chaton-popup__close{
  margin-left:auto;flex-shrink:0;display:grid;place-items:center;width:31px;height:30px;
  border:1px solid rgba(255,255,255,.5);border-radius:2px;background:transparent;
  color:#fff;font-size:1.4rem;line-height:1;cursor:pointer;
}
.fo-chaton-popup__close:hover,.fo-chaton-popup__close:focus-visible{background:#841726;outline:2px solid #fff;outline-offset:1px}
.fo-chaton-popup__body{padding:17px 20px 14px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
.fo-chaton-popup__lead{display:grid;grid-template-columns:66px minmax(0,1fr);gap:15px;align-items:start}
.fo-chaton-popup__portrait{width:66px;height:74px;border:1px solid #aa8850;border-radius:2px;background:#283440;object-fit:cover;object-position:center 22%}
.fo-chaton-popup__meta{margin:0 0 6px;color:#e8bd68;font-size:.74rem;letter-spacing:.13em;font-weight:850;text-transform:uppercase}
.fo-chaton-popup__message{
  margin:0!important;color:#fff;font:850 clamp(1.06rem,2.3vw,1.35rem)/1.26 "Arial Narrow","Franklin Gothic Medium",Impact,Inter,sans-serif;
  letter-spacing:.002em;overflow-wrap:anywhere;
}
.fo-chaton-popup__prof{
  margin:13px 0 0;padding:10px 11px 9px;border-left:3px solid #d3ad67;
  background:#202c38;color:#edf1f5;font-size:.85rem;line-height:1.48;overflow-wrap:anywhere;
}
.fo-chaton-popup__prof strong{color:#f1c879}
.fo-chaton-popup__score{margin:10px 0 0}
.fo-chaton-popup__score .fo-simulocc-score-note{display:block;color:#d0dce7;font-size:.78rem;line-height:1.4;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:2px}
.fo-chaton-popup__foot{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;
  padding:10px 20px;background:#182532;border-top:1px solid #3c4a56;
}
.fo-chaton-popup__foot a{color:#fff;font-weight:800;font-size:.83rem;text-decoration:none;border-bottom:2px solid #d6aa60;padding-bottom:2px}
.fo-chaton-popup__foot a:hover,.fo-chaton-popup__foot a:focus-visible{color:#f9d48f}
.fo-chaton-popup__foot button{border:1px solid #708090;border-radius:2px;padding:6px 10px;font:inherit;font-size:.79rem;color:#fff;background:transparent;cursor:pointer}
.fo-chaton-popup__foot button:hover{background:#344352}
@keyframes fo-chaton-flash-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:600px){
  .fo-chaton-popup{bottom:max(8px,env(safe-area-inset-bottom,0px));width:calc(100vw - 16px);max-height:68dvh}
  .fo-chaton-popup__head{padding:7px 10px}
  .fo-chaton-popup__body{padding:12px}
  .fo-chaton-popup__lead{grid-template-columns:52px minmax(0,1fr);gap:10px}
  .fo-chaton-popup__portrait{width:52px;height:59px}
  .fo-chaton-popup__message{font-size:1.07rem;line-height:1.32}
  .fo-chaton-popup__foot{padding:9px 12px}
}
@media(prefers-reduced-motion:reduce){.fo-chaton-popup{animation:none}}
