/* Cartão "Você morreu" (public/js/cartao-morte.js): padrão Oficina (chapa, faixa de perigo, placa, fita, papel, botão de máquina).
   Leve: só CSS; a única animação é a entrada (uma vez), nada infinito. */
#morte { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 16px; box-sizing: border-box; overflow-y: auto;
  background: radial-gradient(ellipse at center, rgba(58, 10, 6, .72) 0%, rgba(6, 4, 3, .9) 70%); }
#morte[hidden] { display: none; }
#morte .logo { width: min(300px, 72vw); height: auto; transform: rotate(-3deg); filter: drop-shadow(0 6px 0 rgba(0, 0, 0, .55)); margin-bottom: -6px; position: relative; z-index: 1; }
#morte .caixa { position: relative; }
#morte .figurinha { position: absolute; top: 14px; right: -22px; width: 92px; height: auto; transform: rotate(9deg); filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .5)); pointer-events: none; }
#morte .caixa { width: min(420px, calc(100vw - 32px)); padding: 0 20px 18px; text-align: center; animation: morte-entra .28s cubic-bezier(.2, 1.4, .4, 1) both; }
#morte .caixa > .of-perigo { display: block; margin: 0 -20px 18px; border-radius: 3px 3px 0 0; }
#morte h2 { display: table; margin: 0 auto 14px; font-size: 28px; letter-spacing: 4px; white-space: normal; }
#morte .fita { display: inline-block; padding: 3px 10px 2px; font: 500 12px/1.35 var(--of-f-fita); letter-spacing: 3px; text-transform: uppercase; color: #f4e5cf;
  background: var(--of-vermelho); border-radius: 2px; box-shadow: 0 1px 0 #000; transform: rotate(-1deg); }
#morte .motivo { margin: 6px 4px 14px; padding: 12px 14px; font: 17px/1.4 var(--of-f-texto); color: var(--of-papel-tinta);
  background: var(--of-papel); border-radius: 1px; box-shadow: 0 2px 0 rgba(0, 0, 0, .45); transform: rotate(.6deg); }
#morte .bora { margin: 0 0 12px; font: 15px/1.45 var(--of-f-texto); color: var(--of-texto-claro); }
#morte .of-maquina { font-size: 20px; }
@keyframes morte-entra { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #morte .caixa { animation: none; } }
@media (max-height: 520px) { #morte .logo { width: min(200px, 50vw); } #morte h2 { font-size: 22px; margin-bottom: 8px; } }
