/* ═══════════════════════════════════════════════════════════════════════
   FERRAMENTAS (js/telas/ferramentas.js) · 30/11/2026
   Três cartões largos (3:1), no desenho do cartão COMPARAR do menu: texto à
   esquerda, ícone à direita. Com a sprite (fer-*), a arte é o cartão
   inteiro e o texto do código some.
   ═══════════════════════════════════════════════════════════════════════ */

#screen-ferramentas .fer-lista { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 560px; margin: 6px auto 0; padding: 0 14px 24px; box-sizing: border-box; }
#screen-ferramentas .fer-cartao {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; aspect-ratio: 3 / 1; padding: 0 6% 0 6%; box-sizing: border-box; cursor: pointer; text-align: left;
  border-radius: 16px; background: linear-gradient(180deg, #121212, #050505);
  border: 1.5px solid var(--boss-ouro, #e8b73a);
  box-shadow: inset 0 0 0 2px #000, inset 0 0 24px rgba(232, 183, 58, .08), 0 6px 18px rgba(0, 0, 0, .55);
  color: #fff;
}
#screen-ferramentas .fer-cartao:active { transform: scale(.985); }
#screen-ferramentas .fer-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
#screen-ferramentas .fer-nome {
  font-family: var(--fonte-titulo); font-weight: 800; font-style: italic; font-size: clamp(1.4rem, 7vw, 2.1rem);
  line-height: 1; letter-spacing: .5px; color: #fff; white-space: nowrap;
}
#screen-ferramentas .fer-desc { font-family: var(--fonte-texto); font-size: .8rem; line-height: 1.2; color: #d6d6d6; }
#screen-ferramentas .fer-abrir {
  margin-top: 4px; padding: 4px 14px; border-radius: 999px; color: #111;
  background: linear-gradient(180deg, #ffe7a0, var(--boss-ouro, #e8b73a) 55%, #b8871f);
  font-family: var(--fonte-titulo); font-weight: 800; font-size: .78rem; letter-spacing: 1px;
}
#screen-ferramentas .fer-ico { flex: 0 0 auto; width: 26%; aspect-ratio: 1; display: grid; place-items: center; color: var(--boss-ouro, #e8b73a); }
#screen-ferramentas .fer-ico svg { width: 70%; height: 70%; filter: drop-shadow(0 0 10px rgba(232, 183, 58, .35)); }
/* com a arte dele: a arte e o cartao inteiro (o texto vem desenhado nela) */
#screen-ferramentas .fer-cartao.com-arte { border: 0; box-shadow: none; background: var(--arte) center / 100% 100% no-repeat; }
#screen-ferramentas .fer-cartao.com-arte > span { visibility: hidden; }
/* 30/11 (noite): as artes dele entraram (1477x478): a caixa copia a arte */
#screen-ferramentas .fer-cartao.com-arte { aspect-ratio: 1477 / 478; }
