/* Trocas e presentes */
.tc-tabs{margin-bottom:14px}
#tc{display:grid;gap:16px;margin-bottom:24px}
.tc-ic{display:inline-block;image-rendering:auto;flex:none;vertical-align:middle;width:32px;height:32px}
p .tc-ic{width:24px;height:24px;margin:0 2px}
.tc-busca-card{display:grid;gap:8px;padding:16px}
.tc-busca-card input{font-size:1.05rem;padding:12px 14px}
.tc-profs{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}
.tc-profs button{display:grid;justify-items:center;gap:4px;padding:10px 6px;border:0;cursor:pointer;background:var(--soil);color:var(--snow);font:700 .85rem var(--f-body);box-shadow:inset 0 0 0 2px var(--bark-3);text-align:center}
.tc-profs button img{width:84px;height:84px;object-fit:contain}
.tc-profs button:hover{box-shadow:inset 0 0 0 2px var(--fox-hi,#ffb35c)}
.tc-profs button[aria-selected=true]{box-shadow:inset 0 0 0 3px var(--fox);background:rgba(247,140,40,.1)}
.tc-prof{display:grid;gap:16px;padding:20px}
.tc-prof-top{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center}
.tc-prof-top h2{margin:0 0 8px}
.tc-prof-top p{margin:0 0 8px;line-height:1.6}
.tc-render{width:180px;height:180px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(0,0,0,.5))}
.tc-estacao{display:flex;align-items:center;gap:8px}
.tc-nivel h3{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 8px;font-size:1.1rem}
.tc-badge{display:inline-grid;place-items:center;width:30px;height:30px;font:400 16px var(--f-pixel);color:#1b1416;box-shadow:0 0 0 2px #000}
.tc-badge.n1{background:#9a9a9a}.tc-badge.n2{background:#d8d8d8}.tc-badge.n3{background:#ffd24a}.tc-badge.n4{background:#55e27a}.tc-badge.n5{background:#6fe3ff}
.tc-lista{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tc-troca{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 170px;gap:10px;align-items:center;padding:8px 12px;background:var(--soil);box-shadow:inset 0 0 0 2px var(--bark-3)}
.tc-lado{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.tc-peca{display:inline-flex;align-items:center;gap:8px;min-width:0;position:relative}
.tc-n{color:var(--fox-hi,#ffb35c);font-weight:800;white-space:nowrap}
.tc-sorteia{font:500 .85rem var(--f-body);color:var(--ash)}
.tc-prof-top h2{font-size:1.6rem}
.tc-pn{display:grid;min-width:0;overflow-wrap:anywhere;font-weight:600;line-height:1.25}
.tc-pn small{font-weight:400;color:var(--gold,#ffd24a);font-size:.8rem}
.tc-mais{color:var(--ash);font-weight:700}
.tc-seta{font:400 22px var(--f-pixel);color:var(--fox);text-align:center}
.tc-info{display:flex;flex-direction:column;align-items:flex-end;gap:2px;font-size:.78rem;color:var(--ash);text-align:right}
.tc-bio{color:var(--xp,#80ff20)}
.tc-quem{display:inline-flex;align-items:center;gap:6px;color:var(--snow);font-weight:600}
.tc-quem img{width:28px;height:28px;object-fit:contain}
.tc-sorte{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.tc-sorte li{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:6px 10px;background:var(--soil);box-shadow:inset 0 0 0 2px var(--bark-3)}
.tc-qtd{color:var(--ash);font-size:.85rem;white-space:nowrap}
.tc-pct{position:relative;min-width:84px;text-align:right;font:400 16px var(--f-mc);color:var(--xp,#80ff20);padding:2px 6px}
.tc-pct::before{content:"";position:absolute;right:0;top:0;bottom:0;width:var(--p);background:rgba(128,255,32,.12);z-index:-1}
.tc-presentes{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
.tc-presente{display:grid;gap:10px;align-content:start;padding:12px;background:rgba(0,0,0,.25);box-shadow:inset 0 0 0 2px var(--bark-3)}
.tc-pres-top{display:flex;align-items:center;gap:12px}
.tc-pres-top img{width:64px;height:64px;object-fit:contain;flex:none}
.tc-presente .tc-pn{font-size:.9rem}
.tc-presente h3{margin:0;font-size:1.05rem;line-height:1.2}
.tc-presente .tc-sorte li{grid-template-columns:auto minmax(0,1fr) auto auto;gap:8px;padding:4px 8px}
.tc-presente .tc-pct{min-width:0}
.tc-gatos{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.tc-gatos figure{margin:0;display:grid;justify-items:center;gap:4px;padding:10px;background:var(--soil);box-shadow:inset 0 0 0 2px var(--bark-3)}
.tc-gatos img{width:140px;height:140px;object-fit:contain}
.tc-gatos figcaption{font-weight:700;text-align:center}
@media (max-width:700px){
  .tc-prof-top{grid-template-columns:1fr;justify-items:center;text-align:center}
  .tc-estacao{justify-content:center}
  .tc-render{width:140px;height:140px}
  .tc-troca{grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);row-gap:4px}
  .tc-info{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;gap:10px;text-align:left}
  .tc-profs{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
  .tc-profs button img{width:64px;height:64px}
  .tc-presentes{grid-template-columns:1fr}
}

/* chances de encantamento */
.tc-enc{grid-column:1/-1;margin-top:4px}
.tc-enc summary{cursor:pointer;font-weight:700;font-size:.88rem;color:var(--fox-hi,#ffb35c);width:max-content;max-width:100%}
.tc-enc[open] summary{margin-bottom:8px}
.tc-enc .note{margin:0 0 10px;line-height:1.55}
.tc-enc-tab{display:grid;gap:3px}
.tc-enc-cab,.tc-enc-lin{display:grid;grid-template-columns:minmax(150px,1.2fr) 64px minmax(0,2.4fr);gap:10px;align-items:center;padding:5px 8px}
.tc-enc-cab{font-size:.75rem;font-weight:700;color:var(--ash);text-transform:uppercase;letter-spacing:.04em}
.tc-enc-lin{background:rgba(0,0,0,.28);font-size:.88rem}
.tc-enc-p{font:400 15px var(--f-mc);color:var(--xp,#80ff20);text-align:right}
.tc-precos{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--ash);font-size:.82rem}
.tc-precos i{font-style:normal;white-space:nowrap}.tc-precos b{color:var(--snow)}
.tc-dobra{color:var(--gold,#ffd24a);font-size:.72rem;white-space:nowrap}
@media (max-width:700px){.tc-enc-cab{display:none}.tc-enc-lin{grid-template-columns:minmax(0,1fr) auto}.tc-precos{grid-column:1/-1}}
