/* Halloween x Folclore (25/10/2026): so' o que falta sobre jogos.css (a versao EN recebe jogos.css + este arquivo juntos) */
.regra{background:#fff4dc;border:2px solid #b4511a;border-radius:14px;padding:.8rem 1rem;max-width:70ch;font-size:1.05rem}
.regra strong{color:#7a3410}
.ferramentas{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:.6rem 0}
.placar{font-weight:750;margin:0 .4rem}
.texto-dica{font-size:1.05rem;font-style:italic;min-height:1.6rem;max-width:70ch}
.tabuleiro{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;align-items:start}
.coluna h2{font-size:1.25rem;margin:.4rem 0 .6rem}
.coluna ul{list-style:none;padding:0;margin:0}
.cartas-hf{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.6rem}
.carta-hf{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.2rem;padding:.45rem;width:100%;min-height:0;border-radius:14px;background:#fffdf7;border:2px solid #d8ccb2;color:#1d2a2e;text-align:left;position:relative}
.carta-hf img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:9px;pointer-events:none;user-select:none;-webkit-user-drag:none}
.carta-hf .nome{font-weight:750;font-size:1.02rem;line-height:1.2}
.carta-hf .origem{font-size:.82rem;line-height:1.25;color:#4a453a}
.carta-hf.br{border-color:#1f6b4a;cursor:grab}
.carta-hf.fora{border-color:#7a5c2e}
.carta-hf.selecionada{outline:4px solid #b4511a;outline-offset:2px;background:#fff1e3}
.carta-hf.selecionada .nome::before{content:"➜ "}
.carta-hf.alvo{outline:4px dashed #6630a3;outline-offset:2px;background:#f3ecfb}
.carta-hf.errou{border-color:#8a1c1c;background:#fbeaea}
.carta-hf.feita{background:#e8f2e3;border-color:#1f6b4a;cursor:pointer}
.carta-hf.feita img{opacity:.8}
.selo-par{font-size:.8rem;font-weight:750;color:#fff;background:#17452f;border-radius:6px;padding:.1rem .4rem;align-self:flex-start}
.fantasma{position:fixed;z-index:50;transform:translate(-50%,-120%);background:#b4511a;color:#fff;font-weight:750;padding:.4rem .8rem;border-radius:10px;pointer-events:none;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.ficha-par{margin:1.2rem 0;scroll-margin-top:1rem}
.ficha-par h2{margin-top:0}
.origem-par{color:#4a453a;font-size:.95rem;margin-top:-.4rem}
.bloco{border-radius:14px;padding:.7rem 1rem;margin:.9rem 0}
.bloco h3{margin:.1rem 0 .3rem;font-size:1.2rem}
.parecido{background:#eef5ea;border:2px solid #1f6b4a}
.diferente{background:#fbf0e6;border:2px solid #b4511a}
.resumo{font-size:1.1rem;font-weight:600;max-width:75ch}
.lados{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.lado h4{margin:.4rem 0 0;font-size:1rem}
.trecho{margin:.5rem 0}
.trecho blockquote{background:#fff;font-family:Georgia,"Times New Roman",serif;font-size:1.02rem}
.trad{font-size:.95rem;margin:.2rem 0 .2rem 1.1rem}
.ressalva{display:block;font-size:.8rem;color:#4a453a}
.nota{border-top:2px dashed #d8ccb2;margin-top:.8rem;padding-top:.4rem}
.fim{margin:1.2rem 0}
.fim h2:focus{outline:3px solid #6630a3;outline-offset:4px}
.fim ul{font-size:.92rem}
.lista-pares{columns:2;font-size:.95rem}
@media(min-width:1000px){.cartas-hf{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.tabuleiro{grid-template-columns:1fr}.lados{grid-template-columns:1fr}.cartas-hf{grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem}.carta-hf{padding:.3rem}.carta-hf .nome{font-size:.85rem}.carta-hf .origem{font-size:.7rem}.lista-pares{columns:1}}
@media(max-width:380px){.cartas-hf{grid-template-columns:repeat(2,minmax(0,1fr))}}
.projetor .tabuleiro{gap:2rem}.projetor .cartas-hf{grid-template-columns:repeat(3,minmax(0,1fr))}.projetor .carta-hf .nome{font-size:1.5rem}.projetor .carta-hf .origem{font-size:1rem}
.projetor .regra,.projetor .texto-dica{font-size:1.4rem}.projetor .resumo{font-size:1.6rem}.projetor .trecho blockquote{font-size:1.3rem}
@media(prefers-contrast:more){.carta-hf,.bloco,.regra{border-color:#000}.carta-hf .origem,.origem-par,.ressalva{color:#000}}
@media(prefers-reduced-motion:reduce){.carta-hf.errou{background:#fbeaea}}
/* impressao: cartas 3x3, fichas 2 por folha */
.cartas-hf-papel{display:grid;grid-template-columns:repeat(3,60mm);grid-auto-rows:80mm;gap:1mm}
.carta-hf-papel{border:1px dashed #222;width:60mm;height:80mm;padding:3mm;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:hidden}
.carta-hf-papel img{width:54mm;height:54mm;object-fit:cover;border-radius:2mm}
.carta-hf-papel strong{font-size:14pt;line-height:1.15;margin-top:2mm}
.carta-hf-papel small{font-size:9pt;line-height:1.2}
.carta-hf-papel .marca{font-size:8pt;margin-top:auto;color:#333}
.fichas-hf-papel{display:grid;grid-template-rows:repeat(2,128mm);gap:2mm}
.ficha-hf{border:1px dashed #222;padding:3mm;font-size:8.6pt;line-height:1.25;break-inside:avoid;overflow:hidden}
.ficha-hf h3{font-size:11.5pt;margin:0 0 1mm}
.ficha-hf h4{font-size:9.5pt;margin:1.5mm 0 .5mm}
.ficha-hf blockquote{font-size:8.6pt;margin:.5mm 0;padding:.5mm 2mm;border-left:2px solid #333}
.ficha-hf p{margin:.6mm 0}
.ficha-hf .fonte{font-size:7.4pt;color:#222}
@media print{.cartas-hf-papel .carta-hf-papel img{print-color-adjust:exact;-webkit-print-color-adjust:exact}.carta-hf-papel,.ficha-hf{break-inside:avoid}}
.barra-selecao{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;gap:.6rem;align-items:center;justify-content:center;flex-wrap:wrap;background:#17452f;color:#fff;padding:.5rem 1rem;font-weight:700;box-shadow:0 -3px 12px rgba(0,0,0,.2)}
.barra-selecao button{background:#fff;color:#17452f;border-color:#fff;min-height:44px}
@media print{.barra-selecao{display:none!important}}
