/* Briefing du matin de Pijako (lot I7) : même boîte façon ROM que le guide (cadre bleu, portrait, texte qui s'écrit),
   sans voile ; les missions du jour arrivent une à une. Les classes .g-port, .g-nom, .g-txt, .g-btn viennent de guide.css. */
#briefing { position: fixed; z-index: 9001; left: 50%; bottom: 12px; width: min(820px, calc(100vw - 16px)); transform: translateX(-50%);
  display: flex; gap: 12px; align-items: flex-start; padding: 6px 10px; color: #fff; text-shadow: 0 2px 0 #000;
  border: 16px solid transparent; border-image: url('assets/ui/cadres/cadre1_blue.png') 8 fill / 16px stretch; image-rendering: pixelated;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); font-size: 20px; line-height: 1.35; cursor: default; }
#briefing.bf-in { animation: gIn .32s cubic-bezier(.2, 1.4, .4, 1); }
#briefing.bf-out { animation: bfOut .25s ease-in forwards; pointer-events: none; }
#briefing.bf-tourne .g-corps { animation: bfTourne .22s steps(3); }
@keyframes bfOut { to { transform: translate(-50%, 18px); opacity: 0; } }
@keyframes bfTourne { from { opacity: .2; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.bf-missions { display: flex; flex-direction: column; gap: 3px; margin: 2px 0 6px; }
.bf-missions[hidden], .bf-fin[hidden] { display: none; }
.bf-m { display: flex; align-items: center; gap: 8px; padding: 1px 8px; font-size: 17px; background: rgba(10, 20, 60, .55); border-left: 3px solid #7fa6ef;
  animation: bfM .3s steps(3) both; }
.bf-m b { color: #ffe27a; font-weight: 400; }
.bf-m.fait { border-left-color: #6bffd0; color: #b8f5dc; }
.bf-m.bonus { border-left-color: #ffd35c; }
.bf-ic { width: 22px; text-align: center; }
@keyframes bfM { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.bf-fin { margin: 0 0 4px; color: #dfe8ff; }
.bf-pages { color: #9fb4e0; font-size: 15px; }
/* Pijako (le « ! » doré au-dessus de lui pendant le briefing) est dessiné par camp.js (setGuideNpc) */
body.is-touch #briefing { font-size: 16px; gap: 8px; border-width: 12px; border-image-width: 12px; padding: 2px 6px; bottom: max(6px, env(safe-area-inset-bottom)); }
body.is-touch #briefing .bf-m { font-size: 14px; }
@media (max-height: 520px) {
  #briefing { font-size: 16px; width: min(760px, calc(100vw - 120px)); }
  #briefing .bf-m { font-size: 14px; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) { #briefing, #briefing *, #briefing .g-corps { animation: none !important; } }
