/* Faixa do Cofre do Golfinho (assets/fg-cofre.js): cartão fixo no canto de baixo, só dentro da janela da campanha. Não usa as coordenadas do Figma. */
.cofre { position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left)); bottom: 16px; width: min(400px, calc(100vw - 32px)); box-sizing: border-box;
  padding: 12px 14px 12px; border-radius: 16px; color: #fff; background: rgba(3, 20, 56, .93); border: 2px solid #1ea6ff; box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  font: 600 14px/1.35 system-ui, "Segoe UI", sans-serif; }
.cofre[hidden] { display: none; }
.cofre-cab { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cofre-tit { font-weight: 800; font-size: 15px; }
.cofre-val { color: #ffd23f; font-weight: 800; white-space: nowrap; }
.cofre-barra { margin: 8px 0 6px; height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.cofre-enche { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #1ea6ff, #8bf05a); transition: width .8s ease; }
.cofre-batida .cofre-enche { background: #8bf05a; }
.cofre details { margin-top: 4px; }
.cofre summary { cursor: pointer; color: #8fd4ff; font-weight: 700; }
.cofre p { margin: 6px 0 0; font-weight: 500; color: #dbe9f7; }
.cofre .cofre-menores { font-size: 12px; color: #9db4cb; }
@media (prefers-reduced-motion: reduce) { .cofre-enche { transition: none; } }
