/* Ficha Básica do RPG Desk: layout que vai do painel estreito (350 px) à janela grande */
.cabecalho { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 10px; }
.retrato { width: 104px; height: 104px; flex: none; }
.identidade { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.nome { font-size: 18px; font-weight: 500; width: 100%; }

.recursos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 8px; }
.recurso { background: var(--rd-bg-2); border: 1px solid var(--rd-line); border-radius: 6px; padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--rd-muted); }
.recurso input[type='number'] { width: 4.2em; }
/* o texto do recurso é discreto; os números digitados, não */
.recurso input { color: var(--rd-text); }
.barra { height: 6px; background: var(--rd-bg-3); border-radius: 3px; overflow: hidden; }
.cheio { height: 100%; width: 0; transition: width 0.25s; }
.vida .cheio { background: #d9534f; }
.energia .cheio { background: #4c8dff; }

.colunas { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 16px; }
.colunas .largo { grid-column: 1 / -1; }
.linhas input[type='number'] { width: 4.2em; }
.linhas .dano { width: 6em; }
.remover { padding: 2px 8px; }
.rodape { margin-top: 10px; justify-content: space-between; align-items: center; }
textarea { min-height: 6em; }
