/* fontes do emblema de texto (arquivos em ../fonts) */
@font-face { font-family: 'TC Draco'; src: url('../fonts/draco.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Midnight'; src: url('../fonts/midnight.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Midnight It'; src: url('../fonts/midnight-it.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Polarized'; src: url('../fonts/polarized.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Polarized It'; src: url('../fonts/polarized-it.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Stifly'; src: url('../fonts/stifly.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Thernaly'; src: url('../fonts/thernaly.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Thernaly It'; src: url('../fonts/thernaly-it.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Victory'; src: url('../fonts/victory.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'TC Y224'; src: url('../fonts/y224.woff2') format('woff2'); font-display: swap; }

/* Simulador de técnico: painéis escuros em azul-marinho, ciano e dourado. */
.tc { --fundo: #050d1c; --painel: #0a1830; --painel2: #0d203d; --linha: #1c3556; --ciano: #22d3ee; --verde: #2dd4bf; --ouro: #d9a82b; --ouro2: #f5cf5a; --txt: #e6edf7; --mudo: #8fa3bf; --ruim: #f87171; --bom: #4ade80;
  min-height: 100vh; background: radial-gradient(1200px 600px at 70% -10%, #12305c55, transparent), linear-gradient(180deg, #06122a, #040a16); color: var(--txt); font-family: Inter, system-ui, sans-serif; padding: 0 0 60px; }
.tc * { box-sizing: border-box; }
.tc h1, .tc h2, .tc h3, .tc h4 { margin: 0; font-weight: 700; }
.tc button { font: inherit; color: inherit; cursor: pointer; }
.tc-carregando { padding: 60px 20px; text-align: center; color: var(--mudo); }
.tc-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ouro); }
.tc-mudo { color: var(--mudo); }
.tc-peq { font-size: 12.5px; }

/* topo */
.tc-topo { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--linha); background: linear-gradient(180deg, #0a1b38, #07142a); flex-wrap: wrap; }
.tc-org { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tc-org .nome { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.04em; line-height: 1; }
.tc-org .sub { font-size: 12px; color: var(--mudo); }
.tc-moedas { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.tc-moeda { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--linha); border-radius: 999px; background: #081a33; }
.tc-moeda b { font-size: 17px; font-variant-numeric: tabular-nums; }
.tc-moeda small { display: block; font-size: 10px; letter-spacing: 0.1em; color: var(--mudo); text-transform: uppercase; }
.tc-moeda i { width: 22px; height: 22px; border-radius: 50%; display: inline-block; flex: none; }
.tc-moeda.cred i { background: radial-gradient(circle at 35% 30%, #7dd3fc, #0284c7); }
.tc-moeda.rc i { background: radial-gradient(circle at 35% 30%, #fde68a, #b7791f); }
.tc-aviso-teste { background: #3b2a08; color: #fde68a; border-bottom: 1px solid #7a5a12; text-align: center; font-size: 12.5px; padding: 6px 12px; }

/* corpo */
.tc-corpo { display: grid; grid-template-columns: 210px 1fr; gap: 18px; max-width: 1400px; margin: 18px auto 0; padding: 0 16px; }
.tc-nav { display: flex; flex-direction: column; gap: 6px; align-self: start; position: sticky; top: 12px; }
.tc-nav button { text-align: left; padding: 11px 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #c5d3e8; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tc-nav button:hover { background: #0b1f3d; }
.tc-nav button.on { background: linear-gradient(90deg, #6b4d0f55, #0b1f3d); border-color: var(--ouro); color: #fff; }
.tc-nav .n { margin-left: auto; background: #dc2626; color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; }
.tc-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* painéis */
.tc-card { background: linear-gradient(180deg, var(--painel2), var(--painel)); border: 1px solid var(--linha); border-radius: 10px; padding: 14px 16px; position: relative; }
.tc-card::before { content: ''; position: absolute; left: -1px; top: -1px; width: 18px; height: 18px; border-left: 2px solid var(--ouro); border-top: 2px solid var(--ouro); border-top-left-radius: 10px; }
.tc-card h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ouro2); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.tc-card h3 .dir { margin-left: auto; font-size: 11px; color: var(--mudo); letter-spacing: 0.08em; }
.tc-grade2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.tc-grade3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* botões */
.tc-btn { border: 1px solid var(--linha); background: #0b2140; border-radius: 8px; padding: 9px 16px; font-weight: 700; letter-spacing: 0.02em; }
.tc-btn:hover:not(:disabled) { border-color: var(--ciano); }
.tc-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.tc-btn.ouro { background: linear-gradient(180deg, #f1c24f, #c98f14); color: #1d1304; border-color: #f5cf5a; }
.tc-btn.ouro:hover:not(:disabled) { filter: brightness(1.08); }
.tc-btn.ciano { border-color: var(--ciano); color: var(--ciano); background: #082033; }
.tc-btn.perigo { border-color: #7f1d1d; color: #fecaca; background: #2a0d0d; }
.tc-btn.peq { padding: 6px 12px; font-size: 12.5px; }

/* cartões de jogador */
.tc-jogs { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.tc-jog { background: linear-gradient(180deg, #0e2244, #081529); border: 1px solid var(--linha); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; text-align: left; position: relative; cursor: pointer; }
.tc-jog:hover { border-color: var(--ciano); transform: translateY(-1px); }
.tc-jog .foto { position: relative; aspect-ratio: 1 / 0.82; overflow: hidden; background: #0c1b34; }
.tc-jog .foto svg, .tc-jog .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-jog .pw { position: absolute; top: 6px; right: 6px; min-width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: #04101fd0; border: 2px solid var(--c); color: var(--c); }
.tc-jog .vg { position: absolute; left: 6px; top: 6px; }
.tc-vaga-ic { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; padding: 2px 6px; border-radius: 5px; background: #04101fd0; border: 1px solid #355b8c; color: #cfe3ff; }
.tc-vaga-ic.v-top { border-color: #f97316; } .tc-vaga-ic.v-selva { border-color: #4ade80; } .tc-vaga-ic.v-meio { border-color: #60a5fa; } .tc-vaga-ic.v-atirador { border-color: #f87171; } .tc-vaga-ic.v-suporte { border-color: #c084fc; }
.tc-jog .inf { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.tc-jog .nm { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-jog .ln { display: flex; justify-content: space-between; font-size: 12px; color: var(--mudo); }
.tc-jog .ln b { color: var(--txt); font-variant-numeric: tabular-nums; }
.tc-jog .tit { position: absolute; bottom: 8px; right: 8px; font-size: 10px; font-weight: 800; background: var(--ouro); color: #1d1304; padding: 2px 6px; border-radius: 5px; letter-spacing: 0.06em; }
.tc-jog .aviso { color: #fbbf24; font-size: 11.5px; }

/* escalação */
.tc-escala { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tc-escala .vaga { display: flex; flex-direction: column; gap: 6px; }
.tc-escala .vaga > .rot { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mudo); font-weight: 700; }
.tc-vazio { border: 1px dashed var(--linha); border-radius: 10px; padding: 26px 12px; text-align: center; color: var(--mudo); font-size: 13px; }

/* poder */
.tc-poder { display: flex; align-items: center; gap: 16px; }
.tc-poder .grande { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 0.9; color: var(--ouro2); }
.tc-barra { height: 8px; border-radius: 99px; background: #0a1d38; overflow: hidden; border: 1px solid #16325a; }
.tc-barra i { display: block; height: 100%; background: linear-gradient(90deg, #0ea5e9, #2dd4bf); }
.tc-attrs { display: grid; gap: 7px; }
.tc-attr { display: grid; grid-template-columns: 110px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; }
.tc-attr b { text-align: right; font-variant-numeric: tabular-nums; }

/* tabelas */
.tc-tabela { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tc-tabela th { text-align: left; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mudo); padding: 6px 8px; border-bottom: 1px solid var(--linha); }
.tc-tabela td { padding: 8px; border-bottom: 1px solid #12294a; vertical-align: middle; }
.tc-tabela .n { text-align: right; font-variant-numeric: tabular-nums; }
.tc-tabela tr.eu td { background: #1a2e0a55; }
.tc-tabela tr.eu td:first-child { box-shadow: inset 3px 0 var(--ouro); }
.tc-tabela .org { display: flex; align-items: center; gap: 9px; font-weight: 600; }
.tc-sit { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; }
.tc-sit.promocao { background: #052e1b; color: var(--bom); border: 1px solid #166534; }
.tc-sit.rebaixamento { background: #2e0a0a; color: var(--ruim); border: 1px solid #7f1d1d; }
.tc-sit.copa, .tc-sit.mundial, .tc-sit.semi, .tc-sit.quartas { background: #1f1a05; color: var(--ouro2); border: 1px solid #854d0e; }
.tc-grupos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .tc-grupos { grid-template-columns: minmax(0, 1fr); } }
.tc-grupos h4 { margin: 0 0 6px; }
.tc-sit.permanece { color: var(--mudo); }
.tc-tabela-rolagem { overflow-x: auto; }

/* partidas */
.tc-partida { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--linha); border-radius: 10px; background: #08172e; width: 100%; text-align: left; }
.tc-partida:hover { border-color: var(--ciano); }
.tc-partida .time { display: flex; align-items: center; gap: 9px; font-weight: 700; min-width: 0; }
.tc-partida .time.dir { justify-content: flex-end; text-align: right; }
.tc-partida .time span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-partida .meio { text-align: center; }
.tc-partida .placar { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 0.06em; }
.tc-partida .placar .v { color: var(--ouro2); }
.tc-partida .qd { font-size: 11px; color: var(--mudo); display: block; }
.tc-lista { display: flex; flex-direction: column; gap: 8px; }

/* mercado */
.tc-abas { display: flex; gap: 8px; margin-bottom: 4px; }
.tc-abas button { padding: 9px 18px; border-radius: 8px; border: 1px solid var(--linha); background: #081a33; font-weight: 700; }
.tc-abas button.on { border-color: var(--ouro); background: #2a2008; color: var(--ouro2); }
.tc-filtros { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.tc-filtros label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--mudo); letter-spacing: 0.06em; text-transform: uppercase; }
.tc-filtros input, .tc-filtros select, .tc-input { background: #061326; border: 1px solid var(--linha); color: var(--txt); border-radius: 7px; padding: 8px 9px; font: inherit; font-size: 14px; width: 100%; }
.tc-input:focus, .tc-filtros input:focus, .tc-filtros select:focus { outline: 2px solid var(--ciano); outline-offset: 0; }
.tc-preco { font-weight: 800; color: var(--ouro2); font-variant-numeric: tabular-nums; }
.tc-preco.rc::after { content: ' RC'; font-size: 11px; color: #fde68a; }
.tc-preco.cr::after { content: ' cr.'; font-size: 11px; color: #7dd3fc; }
.tc-venda { margin-top: 6px; border-top: 1px solid #12294a; padding-top: 6px; display: flex; flex-direction: column; gap: 6px; }

/* modal */
.tc-fundo { position: fixed; inset: 0; background: #020712d9; z-index: 80; display: grid; place-items: center; padding: 14px; overflow-y: auto; }
.tc-modal { width: min(720px, 100%); max-height: calc(100vh - 28px); overflow-y: auto; background: linear-gradient(180deg, #0e2244, #07142a); border: 1px solid var(--ouro); border-radius: 12px; padding: 18px; position: relative; }
.tc-modal .x { position: absolute; right: 10px; top: 8px; background: transparent; border: 0; font-size: 26px; color: var(--mudo); }
.tc-modal h2 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.04em; }
.tc-ficha { display: grid; grid-template-columns: 150px 1fr; gap: 16px; margin: 12px 0; }
.tc-ficha .foto { border-radius: 10px; overflow: hidden; border: 1px solid var(--linha); }
.tc-ficha .foto svg, .tc-ficha .foto img { width: 100%; display: block; }
.tc-resumo { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--linha); border-radius: 10px; background: #061326; margin: 10px 0; }
.tc-resumo .l { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.tc-resumo .l.tot { border-top: 1px solid var(--linha); padding-top: 6px; font-weight: 800; }
.tc-acoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* criação */
.tc-criar { max-width: 920px; margin: 24px auto 0; padding: 0 16px; }
.tc-escudos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.tc-escudos button { border: 1px solid var(--linha); background: #081a33; border-radius: 10px; padding: 8px 4px; display: grid; place-items: center; }
.tc-escudos button.on { border-color: var(--ouro); background: #2a2008; }
.tc-form { display: grid; gap: 12px; }
.tc-form .campo { display: flex; flex-direction: column; gap: 5px; }
.tc-form .campo > span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mudo); font-weight: 700; }
.tc-form .duas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-previa { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--linha); border-radius: 10px; background: radial-gradient(circle at 20% 20%, #14305a, #07142a); }
input[type=color].tc-cor { width: 100%; height: 40px; padding: 2px; background: #061326; border: 1px solid var(--linha); border-radius: 7px; }

/* avisos rápidos (fora do .tc: cores e fonte explícitas) */
.tc-toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: min(560px, calc(100% - 24px)); padding: 13px 20px 15px 14px; overflow: hidden; cursor: pointer;
  color: #eef4fc; font: 600 14.5px/1.35 Inter, system-ui, sans-serif; letter-spacing: 0.01em; background: linear-gradient(180deg, #12294f, #08152c); border: 1px solid #b8892a; border-left: 4px solid #2dd4bf; border-radius: 6px;
  box-shadow: 0 14px 36px #000b, 0 0 0 1px #05101f, inset 0 1px 0 #ffffff14; animation: tc-toast-entra 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.1); }
.tc-toast .ic { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 15px; font-weight: 800; color: #04221e; background: radial-gradient(circle at 35% 30%, #7ff2e0, #1fb8a3); box-shadow: 0 0 10px #2dd4bf66; }
.tc-toast .tx { min-width: 0; overflow-wrap: anywhere; }
.tc-toast::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #d9a82b, #f5cf5a); transform-origin: left; animation: tc-toast-tempo var(--dur, 4200ms) linear forwards; }
.tc-toast.erro { border-color: #8a3030; border-left-color: #ef4444; background: linear-gradient(180deg, #321317, #190a0e); }
.tc-toast.erro .ic { color: #fff; background: radial-gradient(circle at 35% 30%, #ff8f8f, #d63a3a); box-shadow: 0 0 10px #ef444466; }
.tc-toast.erro::after { background: linear-gradient(90deg, #ef4444, #ff8f8f); }
@keyframes tc-toast-entra { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes tc-toast-tempo { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .tc-toast { animation: none; } }
.tc-avisos { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.tc-avisos li { list-style: none; padding: 7px 10px; border-left: 3px solid var(--ouro); background: #0a1b36; border-radius: 0 6px 6px 0; }
.tc-avisos { margin: 0; padding: 0; }

/* celular */
@media (max-width: 860px) {
  .tc-corpo { grid-template-columns: 1fr; margin-top: 10px; }
  .tc-nav { flex-direction: row; overflow-x: auto; position: static; gap: 6px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .tc-nav button { white-space: nowrap; padding: 9px 13px; flex: none; }
  .tc-grade2, .tc-grade3 { grid-template-columns: 1fr; }
  .tc-escala { grid-template-columns: repeat(2, 1fr); }
  .tc-moedas { margin-left: 0; width: 100%; }
  .tc-moeda { flex: 1; }
  .tc-ficha { grid-template-columns: 1fr; }
  .tc-ficha .foto { max-width: 180px; }
  .tc-partida { grid-template-columns: 1fr; gap: 4px; text-align: center; }
  .tc-partida .time, .tc-partida .time.dir { justify-content: center; text-align: center; }
  .tc-form .duas { grid-template-columns: 1fr; }
  .tc-escudos { grid-template-columns: repeat(3, 1fr); }
  .tc-attr { grid-template-columns: 96px 1fr 30px; }
  .tc-poder .grande { font-size: 52px; }
}
@media (prefers-reduced-motion: reduce) { .tc-jog:hover { transform: none; } }

/* ===== HUD: molduras douradas chanfradas, barra superior e menu lateral com ícones ===== */
.tc { --chanfro: 12px; --ouro-l: #b8892b; background: radial-gradient(900px 500px at 75% -5%, #1a3a6a40, transparent), radial-gradient(700px 500px at 0% 100%, #2a1a5a30, transparent), linear-gradient(180deg, #050c1a, #030812); }
.tc .ic { width: 26px; height: 26px; object-fit: contain; flex: none; }

/* painel com borda dourada fina e cantos cortados */
.tc-card, .tc-modal { --cut: 14px; border: 0; border-radius: 0; background: linear-gradient(135deg, #c8962f, #6b4d12 35%, #3a5d92 60%, #c8962f); padding: 1.5px; clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.tc-card::before, .tc-modal::before { display: none; }
.tc-card > *, .tc-modal > * { position: relative; }
.tc-card { padding: 0 0 14px; }
.tc-card::after { content: ''; position: absolute; inset: 1.5px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, #0c1d3a, #07122a); clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px), 0 calc(var(--cut) - 1px)); }
.tc-card > * { z-index: 1; }
.tc-card > :not(h3) { margin-left: 17px !important; margin-right: 17px !important; }
.tc-card > table, .tc-card > .tc-tabela-rolagem { width: calc(100% - 34px); }
.tc-card > h3 { margin: 0; padding: 13px 17px 10px; margin-left: 0; margin-right: 0; border-bottom: 1px solid #1d3a63; background: linear-gradient(90deg, #14305a66, transparent); }
.tc-card > h3 + * { margin-top: 14px; }
.tc-card > :last-child { margin-bottom: 16px; }
.tc-card h3 { color: #f0cf72; letter-spacing: 0.16em; }
.tc-card h3 .ic { width: 22px; height: 22px; }
.tc-modal { background: linear-gradient(135deg, #c8962f, #6b4d12 40%, #c8962f); padding: 1.5px; }
.tc-modal { overflow: visible; }
.tc-modal { border: 1.5px solid #c8962f; clip-path: none; border-radius: 6px; background: linear-gradient(180deg, #0e2244, #07142a); box-shadow: 0 20px 60px #000c, inset 0 0 0 1px #00000040; }

/* topo */
.tc-topo { gap: 10px; padding: 8px 18px 8px 14px; border: 0; border-bottom: 1.5px solid #8b6a1f; background: linear-gradient(180deg, #0c1f3e, #071429); flex-wrap: nowrap; position: relative; box-shadow: 0 6px 24px #0008; }
.tc-org .logo { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 2px solid #c8962f; background: radial-gradient(circle, #14305a, #07142a); box-shadow: 0 0 14px #c8962f55; }
.tc-org .nome { font-size: 24px; }
.tc-org .xp { position: relative; margin-top: 5px; width: 170px; height: 8px; border-radius: 99px; background: #0a1d38; border: 1px solid #1d3a63; }
.tc-org .xp i { position: absolute; inset: 0 auto 0 0; border-radius: 99px; background: linear-gradient(90deg, #0ea5e9, #2dd4bf); }
.tc-org .xp span { position: absolute; right: 0; top: -15px; font-size: 10.5px; color: var(--mudo); letter-spacing: 0.04em; }
.tc-moedas { margin-left: 18px; gap: 8px; flex-wrap: nowrap; padding: 4px 16px; background: #091a35; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%); border: 0; }
.tc-moeda { border: 0; background: transparent; padding: 4px 14px; gap: 10px; }
.tc-moeda b { font-size: 21px; color: #fff; }
.tc-moeda small { font-size: 10px; }
.tc-moeda img { flex: none; filter: drop-shadow(0 0 6px #0006); }
.tc-atalhos { margin-left: auto; display: flex; gap: 2px; }
.tc-atalhos button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px 16px; background: transparent; border: 0; border-left: 1px solid #1d3a6388; color: #c5d3e8; font-size: 11px; font-weight: 600; letter-spacing: 0.03em; }
.tc-atalhos button:first-child { border-left: 0; }
.tc-atalhos button:hover { color: #fff; background: #14305a55; }
.tc-atalhos em { position: absolute; top: 0; right: 12px; font-style: normal; background: #dc2626; color: #fff; border-radius: 99px; font-size: 10px; min-width: 16px; text-align: center; padding: 0 4px; }
.tc-usuario { display: flex; align-items: center; gap: 10px; padding: 4px 14px; background: #091a35; clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); padding-left: 24px; }
.tc-usuario .av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #c8962f; background: #07142a; }
.tc-usuario b { display: block; font-size: 14px; }
.tc-usuario small { color: var(--mudo); font-size: 11.5px; }

/* menu lateral */
.tc-corpo { grid-template-columns: 220px 1fr; gap: 16px; max-width: 1480px; margin-top: 16px; }
.tc-nav { gap: 3px; padding: 8px; background: linear-gradient(180deg, #0a1a33, #071327); border: 1px solid #1d3a63; border-radius: 4px; }
.tc-nav button { border-radius: 2px; padding: 11px 14px; gap: 14px; font-size: 15px; font-weight: 600; border: 0; border-bottom: 1px solid #12294a; }
.tc-nav button.on { background: linear-gradient(90deg, #5e430f, #1a2a48 75%); box-shadow: inset 0 0 0 1.5px #c8962f; color: #fff; border-bottom-color: transparent; }
.tc-nav button.on .ic { filter: drop-shadow(0 0 4px #f5cf5a88); }
.tc-temp { margin-top: 12px; padding: 14px; border: 1.5px solid #8b6a1f; background: linear-gradient(160deg, #2a1a5a, #0a1830 70%); display: flex; flex-direction: column; gap: 3px; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.tc-temp b { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 0.06em; color: #fff; }
.tc-temp small { color: var(--mudo); }

/* botões chanfrados */
.tc-btn { border-radius: 0; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); border: 0; background: #14305a; box-shadow: inset 0 0 0 1px #3a6aa8; text-transform: uppercase; letter-spacing: 0.06em; font-size: 12.5px; padding: 10px 20px; }
.tc-btn.ouro { background: linear-gradient(180deg, #f5cf5a, #c98f14); box-shadow: inset 0 0 0 1px #ffe9a0; }
.tc-btn.ciano { box-shadow: inset 0 0 0 1.5px var(--ciano); background: #082033; }
.tc-btn.perigo { box-shadow: inset 0 0 0 1.5px #b91c1c; }
.tc-btn.peq { padding: 7px 14px; font-size: 11.5px; }
.tc-abas button { border-radius: 0; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); border: 0; box-shadow: none; background: #0d2144; }
.tc-abas button.on { background: linear-gradient(180deg, #5e430f, #2a2008); color: #f5cf5a; }

/* próxima partida e economia */
.tc-hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.tc-prox { background: linear-gradient(135deg, #c8962f, #6b4d12 35%, #3a5d92 60%, #c8962f); }
.tc-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 6px 0; }
.tc-vs .lado { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 0.05em; }
.tc-vs .x { font-family: 'Bebas Neue', sans-serif; font-size: 52px; color: #6f86ad; font-style: italic; }
.tc-vs-info { margin: 4px 0 0; text-align: center; color: var(--mudo); font-size: 13px; }
.tc-noti { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 18px 16px; border: 1px solid #2b4a78; background: rgba(5, 13, 28, .78); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.tc-noti .selo { font-size: 46px; line-height: 1; width: 70px; text-align: center; }
.tc-noti .tit { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 38px; letter-spacing: .04em; line-height: 1; margin-bottom: 4px; }
.tc-noti p { margin: 0; color: var(--txt); font-size: 14px; }
.tc-noti.campeao { border-color: #d9a82b; background: linear-gradient(120deg, rgba(120, 84, 10, .55), rgba(5, 13, 28, .85)); box-shadow: 0 0 22px rgba(245, 207, 90, .28); animation: tc-noti-brilho 2.4s ease-in-out infinite; }
.tc-noti.campeao .tit { color: #f5cf5a; text-shadow: 0 0 14px rgba(245, 207, 90, .6); }
.tc-noti.vice { border-color: #9fb3cf; }
.tc-noti.vice .tit { color: #d7e2f3; }
.tc-noti.bom { border-color: #166534; }
.tc-noti.bom .tit { color: var(--bom); }
.tc-noti.ruim { border-color: #7f1d1d; }
.tc-noti.ruim .tit, .tc-noti.ruim .selo { color: var(--ruim); }
@keyframes tc-noti-brilho { 50% { box-shadow: 0 0 34px rgba(245, 207, 90, .5); } }
.tc-noti-prox { margin-top: 12px; text-align: center; }
.tc-noti-prox small { color: var(--mudo); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.tc-noti-vs { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.tc-noti-vs span { color: #6f86ad; font-weight: 700; }
.tc-eco .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tc-eco .bx { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 8px; border: 1px solid #1d3a63; background: #08162c; text-align: center; clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.tc-eco .bx small { color: var(--mudo); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.tc-eco .bx b { font-family: 'Bebas Neue', sans-serif; font-size: 34px; letter-spacing: 0.04em; line-height: 1; }
.tc-eco .bx.azul { border-color: #1e5a8a; background: linear-gradient(180deg, #08243f, #08162c); }
.tc-eco .bx.ouro { border-color: #8b6a1f; background: linear-gradient(180deg, #2a2008, #08162c); }

/* cartões de jogador: moldura dourada chanfrada e faixa inferior */
.tc-jog { border: 0; border-radius: 0; padding: 1.5px; background: linear-gradient(180deg, #d9a82b, #6b4d12); clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.tc-jog > * { background: #0a1830; }
.tc-jog .foto { background: #0c1b34; }
.tc-jog .pw { border-radius: 50% 50% 50% 8px; border-width: 2px; top: 6px; left: 6px; right: auto; width: 32px; background: #04101fe6; }
.tc-jog .vg { left: auto; right: 14px; top: 8px; }
.tc-jog .inf { background: linear-gradient(180deg, #0d2040, #081529); }
.tc-jog .pos { font-size: 11.5px; color: #f0cf72; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-top: -2px; }
.tc-jog .tit { background: linear-gradient(90deg, #f5cf5a, #c98f14); }
.tc-jog:hover { border: 0; filter: brightness(1.12); box-shadow: 0 0 18px #c8962f55; }
.tc-vazio { border: 1.5px dashed #3a5d92; background: #08162c; }

/* tabelas e linhas */
.tc-tabela th { color: #f0cf72; border-bottom: 1px solid #3a5d92; background: #0b1c38; }
.tc-partida { border-radius: 0; clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%); border: 0; background: #0a1d3a; box-shadow: inset 0 0 0 1px #1d3a63; padding: 10px 22px; }
.tc-partida:hover:not(:disabled) { background: #10294f; }
.tc-escudos button { border-radius: 0; }
.tc-criar .tc-card { padding: 0; }
.tc-form.tc-card { display: grid; gap: 12px; padding: 17px 0; }
.tc-form.tc-card > * { margin-left: 17px; margin-right: 17px; }
.tc-form.tc-card > h3 { margin-left: 0; margin-right: 0; }
.tc-aviso-teste { letter-spacing: 0.04em; }

@media (max-width: 1100px) {
  .tc-atalhos button span { display: none; }
  .tc-atalhos button { padding: 4px 10px; }
  .tc-usuario div { display: none; }
}
@media (max-width: 860px) {
  .tc-topo { flex-wrap: wrap; padding: 10px 12px; }
  .tc-org { flex: 1; }
  .tc-org .xp { width: 100px; margin-top: 8px; }
  .tc-org .xp span { display: none; }
  .tc-org .logo { width: 52px; height: 52px; }
  .tc-org .nome { font-size: 21px; }
  .tc-moedas { margin-left: 0; width: 100%; order: 3; clip-path: none; justify-content: space-between; padding: 4px 8px; }
  .tc-moeda { padding: 4px 6px; }
  .tc-moeda b { font-size: 18px; }
  .tc-atalhos { order: 2; }
  .tc-usuario { display: none; }
  .tc-hero { grid-template-columns: 1fr; }
  .tc-corpo { grid-template-columns: 1fr; }
  .tc-nav { flex-direction: row; overflow-x: auto; padding: 4px; }
  .tc-nav button { flex: none; padding: 9px 12px; gap: 8px; font-size: 13.5px; border-bottom: 0; }
  .tc-nav .ic { width: 22px; height: 22px; }
  .tc-temp { display: none; }
  .tc-vs .lado { font-size: 20px; }
  .tc-vs .x { font-size: 38px; }
}
form.tc-card[data-form="filtros"] { padding: 16px 0 14px; }
@media (max-width: 860px) { .tc-jogs { grid-template-columns: repeat(2, 1fr); gap: 8px; } .tc-jog .nm { font-size: 13.5px; } .tc-jog .ln { font-size: 11px; } }

/* campeões */
.tc-camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.tc-camp { display: flex; flex-direction: column; gap: 4px; padding: 11px 13px; background: linear-gradient(180deg, #0d2040, #081529); border: 1px solid #1d3a63; border-left: 3px solid #c8962f; }
.tc-camp b { font-size: 15.5px; }
.tc-camp .pp { display: flex; gap: 4px; flex-wrap: wrap; }
.tc-camp small { font-size: 12px; color: #b4c3da; }
.tc-maes { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.tc-maes > div { display: flex; flex-direction: column; padding: 8px 10px; border: 1px solid #1d3a63; background: #061326; font-size: 13px; }
.tc-maes > div.fav { border-color: #c8962f; background: linear-gradient(180deg, #2a2008, #061326); }
.tc-maes span { color: #f0cf72; font-size: 12px; }
.tc-maes small { color: var(--mudo); }
.tc-filtros select, .tc-filtros input { min-height: 38px; }
.tc-card .tc-filtros label select, .tc-card .tc-filtros label input { background: #061326; border: 1px solid var(--linha); color: var(--txt); border-radius: 7px; padding: 8px 9px; font: inherit; font-size: 14px; width: 100%; }
.tc-modal { padding: 22px 22px 20px; }
/* ícones de campeões */
.tc-ci { position: relative; display: inline-grid; place-items: center; width: var(--t); height: var(--t); flex: none; background: #0b1c38; border: 1.5px solid #c8962f; overflow: hidden; }
.tc-ci .ini { font-family: 'Bebas Neue', sans-serif; font-size: calc(var(--t) * 0.55); color: #f0cf72; }
.tc-ci img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-camp { flex-direction: row; align-items: center; gap: 12px; }
.tc-camp .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tc-maes > div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.tc-maes > div > .tc-ci { grid-row: 1 / span 3; }

/* edição de posições dos campeões (só administradores) */
.tc-pos-edit { margin-top: 2px; }
.tc-pos-edit button.tc-vaga-ic { cursor: pointer; opacity: 0.45; font-family: inherit; background: #04101f80; }
.tc-pos-edit button.tc-vaga-ic.on { opacity: 1; background: #17406e; color: #fff; }
.tc-pos-edit button.tc-vaga-ic:hover { opacity: 0.9; }

/* jogadores Estrela (reais, com retrato) */
.tc-jog .foto img.tc-retrato, .tc-ficha .foto img.tc-retrato { object-position: center top; }
.tc-estrela { font-style: normal; color: #f5cf5a; text-shadow: 0 0 6px #f5cf5a88; }
.tc-stars { color: #f5cf5a; letter-spacing: 1px; font-size: 13px; text-shadow: 0 0 5px #f5cf5a66; white-space: nowrap; }
.tc-stars i { font-style: normal; color: #ffffff30; text-shadow: none; }
.tc-estrela-selo { display: inline-block; vertical-align: middle; font: 800 11px/1 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #140f02; background: linear-gradient(180deg, #f8dc7a, #d9a82b); padding: 4px 8px; border-radius: 6px; margin-left: 6px; }

/* escudo do Poder (prata, ouro, platina, diamante e challenger) */
.tc-jog .pw { position: absolute; top: 4px; left: 4px; right: auto; width: 40px; height: 55px; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; display: block; color: #fff; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55)); }
.tc-jog .pw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tc-jog .pw b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); text-align: center; font: 400 21px/1 'Bebas Neue', sans-serif; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; }
.tc-jog .pw.tier-challenger b { color: #fff6dc; }
.tc-jog .pw.sem-img { border-radius: 50%; width: 34px; height: 34px; background: #04101fe6; border: 2px solid var(--c); }
.tc-jog .pw.sem-img b { top: 50%; font-size: 15px; color: var(--c); }

/* escudo grande na ficha do jogador */
.tc-poder .pw-grande { position: relative; flex: none; display: block; width: 62px; height: 85px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55)); }
.tc-poder .pw-grande img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tc-poder .pw-grande b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); text-align: center; font: 400 34px/1 'Bebas Neue', sans-serif; color: #fff; text-shadow: 0 2px 4px #000, 0 0 2px #000; }
.tc-poder .pw-grande.tier-challenger b { color: #fff6dc; }
.tc-poder .pw-grande.sem-img { border-radius: 50%; width: 64px; height: 64px; background: #04101fe6; border: 3px solid var(--ouro2); }

/* ---- Treinamento, Amistoso e Recrutar ---- */
.r-comum { --rc: #a3a3b8; } .r-raro { --rc: #60a5fa; } .r-epico { --rc: #c084fc; } .r-lendario { --rc: #f5cf5a; } .r-mitico { --rc: #fb7185; }
.tc-jog[class*="r-"] { border-color: var(--rc); box-shadow: 0 0 0 1px var(--rc) inset, 0 0 14px color-mix(in srgb, var(--rc) 35%, transparent); }
.tc-treino-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); gap: 14px; margin-top: 14px; }
.tc-treino-jog { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px; align-items: start; }
.tc-treino-jog[class*="r-"] { border-color: var(--rc); }
.tc-mini { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tc-mini .foto { position: relative; width: 100%; aspect-ratio: 1 / 0.9; overflow: hidden; background: #0c1b34; border: 1px solid #1d3a63; }
.tc-mini[class*="r-"] .foto { border-color: var(--rc); }
.tc-mini .foto svg, .tc-mini .foto img.tc-retrato { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.tc-mini .foto .pw { position: absolute; top: 3px; left: 3px; width: 30px; height: 41px; display: block; background: none; border: 0; padding: 0; min-width: 0; filter: drop-shadow(0 2px 4px rgba(0,0,0,.55)); }
.tc-mini .foto .pw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tc-mini .foto .pw b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); text-align: center; font: 400 16px/1 'Bebas Neue', sans-serif; color: #fff; text-shadow: 0 1px 3px #000; }
.tc-mini .inf { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tc-mini .inf b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-mini .inf small { color: #9fb2cf; font-size: 12px; }
.tc-treino-corpo { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tc-treino-poder { display: flex; flex-direction: column; gap: 3px; }
.tc-treino-poder > span { font-size: 14px; }
.tc-attr { display: grid; grid-template-columns: 90px 26px minmax(30px, 1fr) 112px; align-items: center; gap: 8px; font-size: 13px; padding: 3px 0; }
.tc-attr .tc-btn, .tc-attr .tc-treinando { justify-self: end; width: 100%; text-align: center; }
.tc-attr .nm { color: #b4c3da; }
.tc-attr.ativo { background: #0f2a4d; border-radius: 6px; padding: 3px 6px; }
.tc-treinando { color: var(--ouro2, #f5cf5a); font-size: 12px; white-space: nowrap; }
.tc-btn.peq { padding: 4px 9px; font-size: 12px; white-space: nowrap; }
.tc-oponentes { display: flex; flex-direction: column; gap: 8px; }
.tc-oponente { display: grid; grid-template-columns: minmax(48px, auto) 1fr auto auto; align-items: center; gap: 12px; padding: 9px 12px; background: #0a1a33; border: 1px solid #1d3a63; }
.tc-oponente .inf { display: flex; flex-direction: column; min-width: 0; }
.tc-oponente .pw-dif { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.tc-exp-dia { display: flex; align-items: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tc-exp-dia i { width: 22px; height: 8px; border-radius: 4px; background: #16325a; }
.tc-exp-dia i.on { background: linear-gradient(90deg, #2dd4bf, #0ea5e9); }
.tc-exp-dia span { margin-left: 8px; color: #9fb2cf; font-size: 13px; }
.tc-exp { color: #5eead4; font-weight: 700; }
.tc-placar { display: flex; justify-content: center; align-items: baseline; gap: 14px; font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; margin: 6px 0 10px; }
.tc-baus { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.tc-bau { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.tc-bau .arte { display: grid; place-items: center; height: 110px; border-radius: 12px; background: radial-gradient(circle at 50% 60%, var(--bg1, #1e4d8f), transparent 70%); }
.tc-bau .arte img.grande { width: 84px; height: 84px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.6)); }
.tc-bau.bau-basico { --bg1: #2b4a7a; } .tc-bau.bau-premium { --bg1: #8a5a12; border-color: #c8962f; }
.tc-bau h3 { margin: 0; }
.tc-odds { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tc-odds li { display: flex; justify-content: space-between; padding: 4px 10px; border-left: 3px solid var(--rc); background: #0a1a33; font-size: 13px; }
.tc-odds li span { color: var(--rc); font-weight: 700; }
.tc-bau .tc-acoes { display: flex; flex-direction: column; gap: 8px; }
.tc-desc { font-style: normal; background: #16a34a; color: #fff; border-radius: 5px; padding: 1px 6px; font-size: 11px; font-weight: 800; margin-left: 4px; }
.tc-raras { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tc-raras span { border: 1px solid var(--rc); color: var(--rc); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.tc-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.tc-revelar { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 12px 0; }
.tc-carta { position: relative; padding: 8px; border: 2px solid var(--rc); border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 22%, #08152b), #08152b); box-shadow: 0 0 22px color-mix(in srgb, var(--rc) 45%, transparent); animation: tc-virar .55s ease-out backwards; }
.tc-carta .faixa { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--rc); color: #08111f; font-weight: 800; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; z-index: 1; }
@keyframes tc-virar { from { opacity: 0; transform: translateY(14px) scale(.85) rotateY(70deg); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .tc-treino-lista { grid-template-columns: 1fr; }
  .tc-treino-jog { grid-template-columns: 78px minmax(0, 1fr); }
  .tc-oponente { grid-template-columns: minmax(40px, auto) 1fr auto; } .tc-oponente .pw-dif { display: none; }
  .tc-attr { grid-template-columns: 70px 24px minmax(20px, 1fr) 96px; gap: 6px; }
}
.tc-moeda .ic-frag { flex: none; width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 6px #0006); }

/* informação do jogador: tag da posição e raridade colorida */
.tc-mini .inf small.pos-rar { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.rar-txt { font-weight: 800; letter-spacing: 0.02em; }
.rar-txt.rt-comum { color: #b4b4c8; } .rar-txt.rt-raro { color: #60a5fa; } .rar-txt.rt-epico { color: #c084fc; }
.rar-txt.rt-lendario { color: #f5cf5a; text-shadow: 0 0 8px #f5cf5a66; }
.rar-txt.rt-mitico { color: #fb4b64; text-shadow: 0 0 10px #fb4b6499; text-transform: uppercase; letter-spacing: 0.06em; }

/* janela de demissão */
.tc-lista-ul { margin: 0; padding-left: 18px; font-size: 14px; color: #cfe0fa; display: grid; gap: 4px; }
.tc-frag { color: #c4b5fd; text-shadow: 0 0 10px #8b5cf666; }
.tc-ficha .foto { align-self: start; }
.tc-contrato-op.on { border-color: var(--ouro2, #f5cf5a); box-shadow: 0 0 0 1px var(--ouro2, #f5cf5a) inset; }
.tc-desc { font-style: normal; font-size: 11px; font-weight: 800; color: #86efac; background: #14532d66; padding: 1px 6px; border-radius: 4px; margin-left: 6px; }
/* foto do jogador na ficha: mantém o formato original (quadrado), sem esticar */
.tc-ficha .foto img.tc-retrato, .tc-ficha .foto svg.tc-retrato { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
/* etapa 2: escolher os 5 primeiros */
.tc-escolha { max-width: 1100px; }
.tc-ofertas { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.tc-oferta { border-radius: 10px; border: 2px solid transparent; }
.tc-oferta.sel { border-color: var(--ouro2, #f5cf5a); box-shadow: 0 0 22px rgba(245, 207, 90, .35); }
.tc-treino-xp { margin-bottom: 6px; } .tc-treino-xp span { font-size: 13px; color: #cfe0fa; }
.tc-treino-xp .tc-barra i { background: linear-gradient(90deg, #7c3aed, #c4b5fd); }
.tc-treino-xp.cheia .tc-barra i { background: linear-gradient(90deg, #f5cf5a, #fde68a); box-shadow: 0 0 10px #f5cf5a88; }

/* Central de Marketing e Patrocínios */
.mkt-grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.mkt-grade > div { background: #061326; border: 1px solid var(--linha); border-radius: 8px; padding: 8px 10px; display: grid; gap: 2px; }
.mkt-grade small { color: var(--mudo); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; }
.mkt-grade b { font-size: 17px; font-variant-numeric: tabular-nums; }
.mkt-abas { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0; }
.mkt-abas button { flex: none; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--linha); background: #061326; color: var(--mudo); font: inherit; font-size: 13px; cursor: pointer; }
.mkt-abas button.on { color: var(--ouro2); border-color: var(--ouro2); }
.mkt-fama { position: relative; padding: 4px 2px 0; }
.mkt-fama .tc-barra { height: 12px; }
.mkt-fama .marcos { position: relative; height: 0; }
.mkt-fama .marcos i { position: absolute; top: -12px; width: 2px; height: 12px; background: #fff6; }
.mkt-fama-l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.mkt-fama-l small { flex: 1; }
.mkt-niveis { display: grid; gap: 6px; }
.mkt-niveis > div { padding: 8px 10px; border: 1px solid var(--linha); border-radius: 8px; display: grid; opacity: 0.55; }
.mkt-niveis > div.on { opacity: 1; border-color: var(--ouro2); }
.mkt-niveis small, .mkt-pat small, .mkt-camp small, .mkt-prox small { display: block; color: var(--mudo); font-size: 12px; }
.mkt-prox, .mkt-pat, .mkt-camp { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--linha); border-radius: 8px; margin-top: 8px; flex-wrap: wrap; }
.mkt-pat.on, .mkt-camp.on { border-color: var(--bom); background: #0a2a1a55; }
.mkt-pat.indisponivel { opacity: 0.6; }
.mkt-acoes { display: flex; align-items: center; gap: 8px; }
.mkt-estado { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mudo); }
.mkt-tag { font-style: normal; font-size: 10px; padding: 1px 6px; border: 1px solid var(--linha); border-radius: 99px; color: var(--ouro2); }
.mkt-auto { font-size: 12px; color: var(--mudo); display: flex; gap: 6px; align-items: center; }
.mkt-fora { opacity: 0.45; }

/* contagem para a próxima troca do mercado oficial */
.tc-filtros + .tc-acoes { align-items: center; }
.tc-rotacao { margin-left: auto; display: grid; gap: 2px; text-align: right; padding: 8px 14px; border: 1px solid #3a5f8f; border-radius: 8px; background: #0a2142; }
.tc-rotacao small { color: var(--mudo); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.tc-rotacao b { color: var(--ouro2); font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.06em; line-height: 1; font-variant-numeric: tabular-nums; }

/* painel ADM: jogadores */
.adm-tab td { padding: 6px 5px; }
.adm-tab .adm-nome { min-width: 150px; }
.adm-tab .adm-ovr { width: 64px; font-weight: 800; color: var(--ouro2); }
.adm-atr { display: flex; align-items: center; gap: 2px; }
.adm-atr input { width: 52px; text-align: center; padding: 6px 2px; }
.adm-atr button { width: 24px; height: 32px; border: 1px solid var(--linha); background: #0b2140; border-radius: 6px; cursor: pointer; font-weight: 800; }
.adm-tab tr.sujo td { background: #2a200822; }
.adm-tab tr.sujo .tc-btn { box-shadow: 0 0 10px #f5cf5a88; }

.adm-foto img, .adm-foto svg { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid var(--linha); display: block; }

/* campeonatos: dias minimizados e chaveamento */
.tc-dia { border: 1px solid var(--linha); border-radius: 10px; margin-top: 8px; background: #08172e; overflow: hidden; }
.tc-dia-cab { width: 100%; display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; background: none; border: 0; text-align: left; cursor: pointer; font: inherit; color: var(--txt); }
.tc-dia-cab:hover { background: #0c2040; }
.tc-dia-cab .seta { color: var(--ouro2); }
.tc-dia-cab .res { text-align: right; color: var(--mudo); font-size: 13px; }
.tc-dia.aberto .tc-lista { padding: 6px 10px 10px; border-top: 1px solid var(--linha); }
.ch { display: flex; gap: 34px; align-items: stretch; overflow-x: auto; padding: 6px 2px 10px; }
.ch-col { display: flex; flex-direction: column; gap: 10px; min-width: 210px; position: relative; flex: 1; }
.ch-cards { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 14px; }
.ch-col h5 { margin: 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ouro2); text-align: center; }
.ch-c { display: grid; gap: 2px; padding: 6px; border: 1px solid var(--linha); border-radius: 10px; background: #08172e; text-align: left; position: relative; font: inherit; color: var(--txt); }
.ch-c small { color: var(--mudo); font-size: 11px; text-align: center; margin-top: 2px; }
button.ch-c:not(:disabled) { cursor: pointer; } button.ch-c:not(:disabled):hover { border-color: var(--ciano); }
.ch-c.pend { opacity: 0.85; }
.ch-col:not(:last-child) .ch-c::after { content: ''; position: absolute; right: -35px; top: 50%; width: 34px; border-top: 2px solid #2b5a8f; }
.ch-t { display: grid; grid-template-columns: minmax(24px, auto) 1fr auto; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; background: #0b2140; }
.ch-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; font-size: 13.5px; }
.ch-t b { font-family: 'Bebas Neue', sans-serif; font-size: 20px; color: var(--mudo); min-width: 14px; text-align: right; }
.ch-t.v { background: #123a2a; box-shadow: inset 3px 0 var(--bom); } .ch-t.v b { color: var(--ouro2); }
.ch-t.p { opacity: 0.55; }
.ch-t.eu span { color: var(--ouro2); }
.ch-t.vazio span { color: var(--mudo); font-weight: 500; font-style: italic; }
.ch-camp { display: grid; place-items: center; gap: 6px; padding: 18px 10px; border: 1px dashed var(--linha); border-radius: 12px; text-align: center; min-height: 150px; align-content: center; }
.ch-camp.tem { border: 1px solid var(--ouro2); background: radial-gradient(circle at 50% 30%, #3a2c08, #08172e 70%); box-shadow: 0 0 18px #f5cf5a33; }
.ch-camp b { font-size: 16px; } .ch-camp span { color: var(--ouro2); font-size: 12px; letter-spacing: 0.1em; }

/* resumo colorido dos dias */
.tc-dia { border-left: 4px solid var(--linha); }
.tc-dia.r-v { border-left-color: var(--bom); background: linear-gradient(90deg, #0f2d22 0%, #08172e 45%); }
.tc-dia.r-d { border-left-color: var(--ruim); background: linear-gradient(90deg, #35141a 0%, #08172e 45%); }
.tc-dia.r-m { border-left-color: #d6a62b; background: linear-gradient(90deg, #2d2410 0%, #08172e 45%); }
.tc-dia.r-a { border-left-color: var(--ciano); }
.tc-dia-cab .res { display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.chip { padding: 3px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.03em; border: 1px solid #3a4a66; background: #12223e; color: var(--mudo); }
.chip.v { background: #11452f; border-color: #2fbf7a; color: #6af0aa; }
.chip.d { background: #4a1820; border-color: #e0525f; color: #ff8a94; }
.chip.a { background: #2d2410; border-color: #d6a62b; color: #f5cf5a; }

/* troféus dos campeonatos */
.tc-trofeus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.tc-trofeus li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid var(--linha); background: rgba(5, 13, 28, .6); }
.tc-trofeus li span { display: flex; flex-direction: column; font-size: 14px; }
.tc-trofeu { display: block; width: auto; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .55)); }
.tc-noti .selo .tc-trofeu { filter: drop-shadow(0 0 12px rgba(245, 207, 90, .55)); }
.tc-noti .selo:has(.tc-trofeu) { width: auto; }

/* banner de comemoração (campeão): imagem em 21:9 com o texto sobre um degradê escuro na base */
.tc-noti-banner { position: relative; overflow: hidden; border: 1px solid #d9a82b; box-shadow: 0 0 22px rgba(245, 207, 90, .28); aspect-ratio: 21 / 9; background: #050d1c; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.tc-noti-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.tc-noti-banner-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 14px; background: linear-gradient(to top, rgba(3, 8, 20, .92), rgba(3, 8, 20, .55) 55%, transparent); text-align: center; }
.tc-noti-banner-txt .tit { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 44px; line-height: 1; letter-spacing: .05em; color: #f5cf5a; text-shadow: 0 0 16px rgba(245, 207, 90, .65), 0 2px 6px rgba(0, 0, 0, .8); }
.tc-noti-banner-txt p { margin: 4px 0 0; font-size: 14px; color: #e8eefc; text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
@media (max-width: 600px) { .tc-noti-banner { aspect-ratio: 16 / 10; } .tc-noti-banner-txt .tit { font-size: 32px; } }

/* banner do confronto do dia (tamanhos em cqw: tudo escala com a largura do banner).
   Os dois times usam a mesma grade: emblema numa caixa de tamanho fixo (mesma altura) e o nome numa linha só, na mesma reta. */
.tc-confrontos { position: relative; display: grid; gap: 10px; }
.tc-conf-seta { position: absolute; top: 40%; transform: translateY(-50%); z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2b4a78; background: rgba(5, 13, 28, 0.75); color: var(--ouro2); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.tc-conf-seta:hover { background: rgba(13, 32, 61, 0.95); border-color: var(--ouro); }
.tc-conf-seta.e { left: 8px; } .tc-conf-seta.d { right: 8px; }
.tc-conf-pontos { display: flex; justify-content: center; gap: 10px; }
.tc-conf-pontos button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1px solid var(--ouro2); background: transparent; cursor: pointer; }
.tc-conf-pontos button.on { background: var(--ouro2); }
.tc-confronto { position: relative; container-type: inline-size; aspect-ratio: 21 / 9; overflow: hidden; border: 1px solid #2b4a78; background: #050d1c; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.tc-confronto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-conf-time { position: absolute; top: 12cqw; width: 22cqw; display: flex; flex-direction: column; align-items: center; transform: translateX(-50%); }
.tc-conf-time.a { left: 37.5%; }
.tc-conf-time.b { left: 62.5%; }
.tc-conf-time .emb { width: 15cqw; height: 15cqw; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 .4cqw 1.2cqw rgba(0, 0, 0, .75)); }
.tc-conf-time .emb > svg, .tc-conf-time .emb > .tc-ic { width: 100%; height: 100%; --s: 100% !important; filter: none; }
.tc-conf-time .nome { margin-top: 1.6cqw; width: 100%; text-align: center; white-space: nowrap; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: max(9px, var(--nf, 3.8cqw)); line-height: 1.1; letter-spacing: .05em; color: #fff; }
.tc-conf-time.a .nome { text-shadow: 0 0 10px rgba(74, 163, 255, .8), 0 2px 6px rgba(0, 0, 0, .9); }
.tc-conf-time.b .nome { text-shadow: 0 0 10px rgba(255, 106, 106, .8), 0 2px 6px rgba(0, 0, 0, .9); }
.tc-conf-time .voce { position: absolute; top: 100%; margin-top: .8cqw; white-space: nowrap; font-size: max(8px, 1.4cqw); letter-spacing: .1em; text-transform: uppercase; color: #f5cf5a; background: rgba(5, 13, 28, .7); border: 1px solid rgba(245, 207, 90, .6); padding: .2cqw 1.2cqw; }
.tc-conf-vs { position: absolute; left: 50%; top: 19.5cqw; transform: translate(-50%, -50%); font-family: 'Bebas Neue', sans-serif; font-size: max(20px, 6.5cqw); font-style: italic; line-height: 1; color: #f5cf5a; text-shadow: 0 0 14px rgba(245, 207, 90, .7), 0 2px 6px rgba(0, 0, 0, .9); }
.tc-conf-topo { position: absolute; top: 2cqw; left: 50%; transform: translateX(-50%); font-size: max(9px, 1.5cqw); letter-spacing: .18em; text-transform: uppercase; color: #e8eefc; background: rgba(5, 13, 28, .65); border: 1px solid rgba(245, 207, 90, .5); padding: .5cqw 2cqw; white-space: nowrap; }
.tc-conf-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 4cqw 2cqw 1.6cqw; text-align: center; font-size: max(10px, 1.7cqw); color: #e8eefc; background: linear-gradient(to top, rgba(3, 8, 20, .85), transparent); }

/* banner com o texto no topo (a base da arte tem rostos e medalhas) */
.tc-noti-banner.topo .tc-noti-banner-txt { top: 0; bottom: auto; padding: 14px 18px 40px; background: linear-gradient(to bottom, rgba(3, 8, 20, .92), rgba(3, 8, 20, .55) 55%, transparent); }
.tc-noti-banner.topo { border-color: #9fb3cf; box-shadow: 0 0 22px rgba(159, 179, 207, .22); }
.tc-noti-banner.topo .tit { color: #d7e2f3; text-shadow: 0 0 14px rgba(159, 179, 207, .6), 0 2px 6px rgba(0, 0, 0, .8); }

/* banner azul (você está na final) */
.tc-noti-banner.azul { border-color: #4aa3ff; box-shadow: 0 0 22px rgba(74, 163, 255, .3); }
.tc-noti-banner.azul .tit { color: #bfe3ff; text-shadow: 0 0 16px rgba(74, 163, 255, .85), 0 2px 6px rgba(0, 0, 0, .8); }

/* banner vermelho (eliminado) */
.tc-noti-banner.vermelho { border-color: #b84a4a; box-shadow: 0 0 22px rgba(255, 106, 106, .22); }
.tc-noti-banner.vermelho .tit { color: #ffb4b4; text-shadow: 0 0 16px rgba(255, 90, 90, .75), 0 2px 6px rgba(0, 0, 0, .8); }

/* banner verde (vitória na rodada) */
.tc-noti-banner.verde { border-color: #2dd4bf; box-shadow: 0 0 22px rgba(45, 212, 191, .25); }
.tc-noti-banner.verde .tit { color: #b8ffe6; text-shadow: 0 0 16px rgba(45, 212, 191, .85), 0 2px 6px rgba(0, 0, 0, .8); }

/* Luz de circuito percorrendo a borda das caixas (só na moldura de 1,5px: o miolo da caixa cobre o resto).
   Cada caixa começa num ponto diferente, para não girarem todas juntas. */
@property --tc-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.tc-card::before {
  display: block; content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: auto; height: auto; border: 0; border-radius: 0;
  background: conic-gradient(from var(--tc-ang), transparent 0deg, transparent 292deg, rgba(34, 211, 238, .55) 328deg, #aef3ff 352deg, #fff3c4 358deg, transparent 360deg);
  animation: tc-circuito 7s linear infinite;
  animation-delay: var(--tc-atraso, 0s);
}
.tc-card:nth-of-type(2n)::before { --tc-atraso: -2.3s; animation-duration: 8.5s; }
.tc-card:nth-of-type(3n)::before { --tc-atraso: -4.6s; animation-duration: 6.5s; }
.tc-card:nth-of-type(5n)::before { --tc-atraso: -1.1s; animation-duration: 9s; }
@keyframes tc-circuito { to { --tc-ang: 360deg; } }
@media (prefers-reduced-motion: reduce) { .tc-card::before { animation: none; display: none; } }

/* ---- Molduras dos cartões de jogador por raridade: o efeito fica SÓ na borda (o miolo do cartão não muda) ----
   Sem raridade / Comum: azul simples, parado.   Raro: ciano, uma luz lenta percorrendo a borda.
   Épico: roxo, luz mais rápida e comprida.   Lendário: dourado, duas luzes opostas.
   Mítico: borda de fogo girando e faísca branca em sentido contrário. */
@property --tc-ang2 { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:is(.tc-jog, .tc-moldura) { padding: 2px; background: linear-gradient(180deg, #5b9dff, #1d3f8f); }
:is(.tc-jog, .tc-moldura)::before, :is(.tc-jog, .tc-moldura)::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; display: none; }
:is(.tc-jog, .tc-moldura).r-raro::before, :is(.tc-jog, .tc-moldura).r-epico::before, :is(.tc-jog, .tc-moldura).r-lendario::before, :is(.tc-jog, .tc-moldura).r-mitico::before {
  display: block; padding: 2px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@keyframes tc-gira { to { --tc-ang: 360deg; } }
@keyframes tc-gira2 { to { --tc-ang2: -360deg; } }

/* raro */
:is(.tc-jog, .tc-moldura).r-raro { background: linear-gradient(180deg, #4ee3f5, #0e6f86); }
:is(.tc-jog, .tc-moldura).r-raro::before { background: conic-gradient(from var(--tc-ang), transparent 0 300deg, rgba(190, 248, 255, .95) 352deg, transparent 360deg); animation: tc-gira 8s linear infinite; }

/* épico */
:is(.tc-jog, .tc-moldura).r-epico { background: linear-gradient(180deg, #d9a8ff, #5b21b6); }
:is(.tc-jog, .tc-moldura).r-epico::before { background: conic-gradient(from var(--tc-ang), transparent 0 250deg, rgba(240, 214, 255, .95) 350deg, transparent 360deg); animation: tc-gira 5.5s linear infinite; }

/* lendário */
:is(.tc-jog, .tc-moldura).r-lendario { background: linear-gradient(180deg, #ffe38a, #a8730c); }
:is(.tc-jog, .tc-moldura).r-lendario::before { background: conic-gradient(from var(--tc-ang), transparent 0 130deg, rgba(255, 232, 140, .85) 168deg, #fffbe0 180deg, transparent 182deg 310deg, rgba(255, 232, 140, .85) 348deg, #fffbe0 360deg); animation: tc-gira 4.2s linear infinite; }

/* mítico: moldura de fogo girando, com faísca branca em sentido contrário */
:is(.tc-jog, .tc-moldura).r-mitico { padding: 3px; background: #4d000a; box-shadow: none; }
:is(.tc-jog, .tc-moldura).r-mitico::before { padding: 3px; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  background: conic-gradient(from var(--tc-ang2), transparent 0 150deg, rgba(255, 255, 255, .9) 176deg, transparent 182deg 330deg, #fff 354deg, transparent 360deg),
              conic-gradient(from var(--tc-ang), #ff1744, #6e000f 22%, #ff7a2e 40%, #fff0c8 48%, #ff3b4e 56%, #4d000a 78%, #ff1744);
  animation: tc-gira 3.2s linear infinite, tc-gira2 2.2s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  :is(.tc-jog, .tc-moldura)::before, :is(.tc-jog, .tc-moldura)::after { animation: none !important; }
  }
.mkt-grade .tc-btn.peq { justify-self: start; margin-top: 4px; padding: 3px 10px; font-size: 11.5px; letter-spacing: .04em; }

/* ---- Ficha do jogador (janela): moldura da foto por raridade, barras animadas e botões retangulares ---- */
.tc-moldura { position: relative; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.tc-ficha .foto.tc-moldura { border: 0; border-radius: 0; overflow: visible; }
.tc-ficha .foto.tc-moldura > svg, .tc-ficha .foto.tc-moldura > img { background: #0c1b34; }

.fa-attrs { display: grid; gap: 9px; }
.fa-linha { display: grid; grid-template-columns: 112px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; }
.fa-linha .nm { color: #b4c3da; }
.fa-linha b { text-align: right; font-variant-numeric: tabular-nums; font-size: 14px; }
.fa-barra { height: 9px; border-radius: 99px; background: #07172e; border: 1px solid #17335c; overflow: hidden; }
.fa-barra i { display: block; height: 100%; width: var(--w); border-radius: 99px; transform-origin: left center; animation: fa-enche .9s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 80ms + 120ms); }
.fa-barra i.t-ouro { background: linear-gradient(90deg, #d9a82b, #fde68a); box-shadow: 0 0 8px #f5cf5a66; }
.fa-barra i.t-teal { background: linear-gradient(90deg, #0d9488, #5eead4); }
.fa-barra i.t-azul { background: linear-gradient(90deg, #0ea5e9, #67c7ff); }
.fa-barra i.t-cinza { background: linear-gradient(90deg, #64748b, #a3b3c9); }
.fa-barra i.t-bronze { background: linear-gradient(90deg, #8b5a2b, #c99a6a); }
@keyframes fa-enche { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .fa-barra i { animation: none; } }

.tc-modal .x { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; font-size: 22px; line-height: 1; transition: background .15s, color .15s; }
.tc-modal .x:hover { background: #ffffff14; color: #fff; }
.tc-modal .tc-acoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 10px; margin-top: 16px; }
.tc-modal .tc-btn { clip-path: none; border-radius: 6px; border: 1px solid #335b94; box-shadow: inset 0 1px 0 #ffffff12; background: linear-gradient(180deg, #17345f, #0f2547); color: #dbe7ff;
  min-height: 42px; padding: 10px 14px; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; transition: transform .12s, box-shadow .15s, border-color .15s, filter .15s; }
.tc-modal .tc-btn:hover:not(:disabled) { border-color: #6aa6f0; box-shadow: inset 0 1px 0 #ffffff1c, 0 4px 14px #0007; transform: translateY(-1px); filter: none; }
.tc-modal .tc-btn:active:not(:disabled) { transform: translateY(0); box-shadow: inset 0 2px 4px #0006; }
.tc-modal .tc-btn:focus-visible { outline: 2px solid var(--ciano); outline-offset: 2px; }
.tc-modal .tc-btn.ouro { background: linear-gradient(180deg, #f8d66a, #c98f14); border-color: #ffe08a; color: #1d1304; box-shadow: inset 0 1px 0 #fff6; }
.tc-modal .tc-btn.ouro:hover:not(:disabled) { border-color: #fff0b8; box-shadow: inset 0 1px 0 #fff8, 0 4px 16px #c98f1466; }
.tc-modal .tc-btn.ciano { background: linear-gradient(180deg, #0c3550, #082033); border-color: var(--ciano); color: #b9f3ff; box-shadow: inset 0 1px 0 #22d3ee22; }
.tc-modal .tc-btn.perigo { background: linear-gradient(180deg, #4a1414, #2a0d0d); border-color: #b94a4a; color: #ffd3d3; }
.tc-modal .tc-btn:disabled { opacity: .45; }
@media (max-width: 520px) { .fa-linha { grid-template-columns: 92px 1fr 30px; } }

/* Estrelas de evolução: acesas em dourado com brilho, apagadas com contorno bem visível; as 5 acesas ganham um brilho que percorre as estrelas */
.tc-stars { display: inline-flex; align-items: center; gap: 3px; font-size: 18px; line-height: 1; letter-spacing: 0; text-shadow: none; color: inherit; }
.tc-stars em { font-style: normal; display: inline-block; }
.tc-stars em.on { color: #ffd84a; background: linear-gradient(180deg, #fff3a8, #ffc928 55%, #e09a10); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 4px #f5b500aa) drop-shadow(0 1px 0 #7a5200); }
.tc-stars em.off { color: #0e1c34; -webkit-text-stroke: 1px #4b6a9c; text-shadow: none; opacity: .95; }
.tc-stars.cheia em.on { animation: tc-estrela-brilho 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.18s); }
@keyframes tc-estrela-brilho { 0%, 70%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px #f5b500aa) drop-shadow(0 1px 0 #7a5200); } 35% { transform: scale(1.18); filter: drop-shadow(0 0 10px #ffe27a) drop-shadow(0 1px 0 #7a5200); } }
.tc-resumo .tc-stars { font-size: 24px; gap: 4px; }
.tc-jog .ln .tc-stars { font-size: 19px; }
@media (prefers-reduced-motion: reduce) { .tc-stars.cheia em.on { animation: none; } }

/* Sua economia: duas caixas retangulares empilhadas (Rift Coins em cima, créditos embaixo) que ocupam toda a altura do cartão */
.tc-eco { display: flex; flex-direction: column; }
.tc-eco .duo { flex: 1; display: grid; grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; gap: 12px; }
.tc-eco .bx { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; align-content: center; align-items: center; justify-items: start; column-gap: 18px; row-gap: 2px; padding: 14px 24px; text-align: left; }
.tc-eco .bx > img { grid-row: 1 / span 2; justify-self: center; height: 56px; width: auto; max-width: 64px; object-fit: contain; filter: drop-shadow(0 2px 6px #0008); }
.tc-eco .bx small { align-self: end; }
.tc-eco .bx b { align-self: start; font-size: 42px; }
.tc-eco > p { margin-top: 12px; }

/* conteúdo das caixas de moeda centralizado (ícone + textos juntos no meio da caixa) */
.tc-eco .bx { grid-template-columns: auto auto; justify-content: center; justify-items: start; column-gap: 20px; padding: 14px 16px; }
.tc-eco .bx > img { max-width: 64px; }

.tc-novidade { border: 1px solid var(--linha); background: var(--painel2); padding: 10px 12px; margin-bottom: 8px; }
.tc-novidade.novo { border-color: var(--ouro); }
.tc-novidade header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tc-novidade header small { margin-left: auto; }
.tc-novidade p { margin: 6px 0 0; line-height: 1.45; }
.tc-novidade .tag { background: var(--ouro); color: #1a1205; font-size: 10px; font-weight: 700; padding: 1px 6px; text-transform: uppercase; letter-spacing: .08em; }
.tc-avisos li.novo { border-left: 3px solid var(--ouro); padding-left: 8px; }
.tc-novidade-form { display: grid; gap: 8px; border: 1px dashed var(--linha); padding: 10px; margin-top: 10px; }
.tc-novidade-form textarea { resize: vertical; }
.tc-cal { border: 1px solid var(--linha); background: var(--painel2); padding: 10px 12px; margin-bottom: 8px; }
.tc-cal.agora { border-color: var(--ouro); }
.tc-cal h4 { display: flex; align-items: center; justify-content: space-between; margin: 0 0 4px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro2); }
.tc-cal h4 em { font-style: normal; background: var(--ouro); color: #1a1205; padding: 1px 6px; font-size: 10px; }
.tc-cal p { margin: 6px 0; line-height: 1.45; }

/* barras de Poder: luz sutil que percorre a barra, como uma bateria carregando */
.tc-poder .tc-barra i, .tc-org .xp i { position: relative; overflow: hidden; box-shadow: 0 0 8px rgba(45, 212, 191, 0.35); animation: tc-bateria-brilho 2.8s ease-in-out infinite; }
.tc-org .xp i { position: absolute; }
.tc-poder .tc-barra i::after, .tc-org .xp i::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-120%); animation: tc-bateria-luz 2.8s ease-in-out infinite; }
@keyframes tc-bateria-luz { 0% { transform: translateX(-120%); } 65%, 100% { transform: translateX(220%); } }
@keyframes tc-bateria-brilho { 0%, 100% { box-shadow: 0 0 5px rgba(45, 212, 191, 0.25); } 50% { box-shadow: 0 0 11px rgba(45, 212, 191, 0.55); } }
@media (prefers-reduced-motion: reduce) { .tc-poder .tc-barra i, .tc-org .xp i, .tc-poder .tc-barra i::after, .tc-org .xp i::after { animation: none; } }

/* comunicação da equipe (idiomas dos titulares) */
.tc-comunica { margin-top: 12px; padding-top: 10px; border-top: 1px solid #16325a; } .tc-comunica .tc-eyebrow { display: block; margin-bottom: 8px; }
.tc-idiomas { display: flex; flex-wrap: wrap; gap: 8px; }
.tc-idioma { display: inline-flex; flex-direction: column; padding: 6px 10px; background: #0a1d38; border: 1px solid #16325a; border-left: 3px solid #ef4444; min-width: 120px; }
.tc-idioma.nada { border-left-color: #ef4444; } .tc-idioma.comum { border-left-color: #f5cf5a; } .tc-idioma.nativo { border-left-color: #2dd4bf; } .tc-idioma b { font-size: 13px; } .tc-idioma small { color: var(--mudo); font-size: 11.5px; }

/* botão de fechar das janelas: o X é desenhado por traços no centro exato do botão, então a área de clique fica sob o que se vê */
.tc-modal > button.x { position: absolute; z-index: 5; top: 8px; right: 8px; width: 38px; height: 38px; padding: 0; display: block; font-size: 0; line-height: 0; color: var(--mudo); background: transparent; border: 0; border-radius: 8px; cursor: pointer; transition: background .15s, color .15s; }
.tc-modal > button.x::before, .tc-modal > button.x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.tc-modal > button.x::after { transform: translate(-50%, -50%) rotate(-45deg); }
.tc-modal > button.x:hover { background: #ffffff1c; color: #fff; }
.tc-modal > button.x:active { background: #ffffff2e; }
.tc-modal > button.x:focus-visible { outline: 2px solid var(--ouro2); outline-offset: 1px; }

/* estrelas além de 5: a casa vira vermelha */
.tc-stars em.vermelha { color: #ff4d4d; background: linear-gradient(180deg, #ffb1a8, #ff3b30 55%, #b3120d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 4px #ff3b3088); }
.tc-stars.cheia em.vermelha { animation: tc-estrela-brilho 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * 0.18s); }
.tc-btn small { opacity: .8; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ordenação rápida do inventário */
.tc-ords { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.tc-ords .tc-eyebrow { margin-right: 4px; }
.tc-ord { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #0a1d38; border: 1px solid #1d3a63; border-radius: 6px; color: #b9c8e0; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; transition: border-color .15s, background .15s, color .15s; }
.tc-ord:hover { border-color: #3d6fae; color: #fff; } .tc-ord.on { background: linear-gradient(180deg, #2a2208, #1a1505); border-color: #d9a82b; color: #f5cf5a; }
.tc-ord i { font-style: normal; font-size: 10px; } .tc-ord.limpar { border-style: dashed; color: var(--mudo); }

/* demitir cópias: seleção da quantidade */
.tc-copias { margin: 14px 0 6px; padding: 12px 14px; background: #08162c; border: 1px solid #1d3a63; border-left: 3px solid #d9a82b; border-radius: 6px; }
.tc-passo { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; } .tc-passo b { min-width: 34px; text-align: center; font-size: 22px; font-variant-numeric: tabular-nums; color: var(--ouro2); }
.tc-passo small { color: var(--mudo); } .tc-passo .tc-btn { min-height: 36px; padding: 6px 14px; }

/* rank de Poder */
.tc-rank tr.lnk { cursor: pointer; } .tc-rank tr.lnk:hover td { background: #0e2342; } .tc-rank tr.lnk:focus-visible { outline: 2px solid var(--ouro2); outline-offset: -2px; }
.tc-rank .pos { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--mudo); width: 44px; } .tc-rank .pos.p1 { color: #ffd84a; } .tc-rank .pos.p2 { color: #d7dfea; } .tc-rank .pos.p3 { color: #d9904a; }
.tc-rank td b { font-size: 16px; font-variant-numeric: tabular-nums; } .tc-rank .org { gap: 10px; } .tc-tit { font-weight: 700; font-variant-numeric: tabular-nums; }
.tc-modal.larga { width: min(1180px, 100%); }
.tc-modal.larga h2 { display: flex; align-items: center; gap: 12px; }
.tc-rt { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.tc-rt-j { background: #08162c; border: 1px solid #1d3a63; border-radius: 6px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.tc-rt-j .top { display: flex; gap: 10px; align-items: center; } .tc-rt-j .foto { width: 72px; flex: none; } .tc-rt-j .id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tc-rt-j .id .pos { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro); } .tc-rt-j .id b { font-size: 15px; }
.tc-rt-j .id .tc-stars { font-size: 14px; }
.tc-rt-j .fa-attrs { gap: 4px; } .tc-rt-j .mae { display: flex; flex-direction: column; gap: 5px; border-top: 1px solid #16325a; padding-top: 8px; }
.tc-rt-j .mae > div { display: flex; align-items: center; gap: 8px; } .tc-rt-j .mae > div span { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; } .tc-rt-j .mae b { font-size: 12.5px; } .tc-rt-j .mae small { color: var(--mudo); font-size: 11px; } .tc-rt-j .mae .fav b { color: var(--ouro2); }
.tc-rank th.n, .tc-rank td.n { width: 120px; }

/* rank: cartão compacto do titular (cabe numa tela, sem rolar) */
.tc-modal.larga { padding: 16px 18px 16px; max-height: calc(100vh - 16px); overflow-y: auto; } .tc-modal.larga h2 { font-size: 28px; } .tc-modal.larga > p { margin-bottom: 10px !important; }
.tc-rt { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: start; }
.tc-rt-j { padding: 10px 10px 8px; gap: 8px; min-width: 0; }
.tc-rt-j header { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.tc-rt-j .foto { width: 56px; height: 66px; } .tc-rt-j .foto svg, .tc-rt-j .foto img { width: 100%; height: 100%; object-fit: cover; }
.tc-rt-j .id b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 14.5px; } .tc-rt-j .id .tc-stars { font-size: 12px; gap: 2px; }
.tc-rt-j .ovr { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; font-family: 'Bebas Neue', sans-serif; font-size: 24px; line-height: 1; color: var(--c, #f5cf5a); background: #0a1d38; border: 1.5px solid var(--c, #f5cf5a); border-radius: 8px; box-shadow: 0 0 10px #0006; }
.tc-rt-j .fa-attrs { gap: 5px; } .tc-rt-j .fa-linha { grid-template-columns: 78px 1fr 24px; gap: 6px; font-size: 11.5px; } .tc-rt-j .fa-linha b { font-size: 12.5px; } .tc-rt-j .fa-barra { height: 7px; }
.tc-rt-j .mae { gap: 4px; padding-top: 6px; } .tc-rt-j .mae > div { gap: 7px; } .tc-rt-j .mae b { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-rt-j .mae .tc-ci { --t: 28px !important; }
@media (max-width: 1020px) { .tc-rt { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); } }

/* rank: escudo do OVR no lugar do quadrado de Poder */
.tc-rt-j .pw { position: relative; display: block; width: 40px; height: 55px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55)); }
.tc-rt-j .pw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tc-rt-j .pw b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); text-align: center; font: 400 21px/1 'Bebas Neue', sans-serif; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; }
.tc-rt-j .pw.tier-challenger b { color: #fff6dc; }
.tc-rt-j .pw.sem-img { width: 38px; height: 38px; border-radius: 50%; background: #04101fe6; border: 2px solid var(--c, #f5cf5a); } .tc-rt-j .pw.sem-img b { font-size: 15px; }

/* fundo do retrato com a cor da raridade (Legados), como na moldura da ficha */
:is(.tc-jog, .tc-mini).r-comum .foto { background: linear-gradient(180deg, #5b9dff, #1d3f8f); }
:is(.tc-jog, .tc-mini).r-raro .foto { background: linear-gradient(180deg, #4ee3f5, #0e6f86); }
:is(.tc-jog, .tc-mini).r-epico .foto { background: linear-gradient(180deg, #d9a8ff, #5b21b6); }
:is(.tc-jog, .tc-mini).r-lendario .foto { background: linear-gradient(180deg, #ffe38a, #a8730c); }
:is(.tc-jog, .tc-mini).r-mitico .foto { background: linear-gradient(180deg, #d63a4a, #4d000a); }

/* mini cartão: o escudo do OVR fica embaixo das estrelas, sem cobrir o retrato */
.tc-mini .inf .pw { position: relative; display: block; width: 40px; height: 55px; margin-top: 6px; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55)); }
.tc-mini .inf .pw img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.tc-mini .inf .pw b { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-46%); text-align: center; font: 400 21px/1 'Bebas Neue', sans-serif; color: #fff; text-shadow: 0 1px 3px #000, 0 0 2px #000; overflow: visible; }
.tc-mini .inf .pw.sem-img { width: 38px; height: 38px; border-radius: 50%; background: #04101fe6; border: 2px solid var(--c, #f5cf5a); } .tc-mini .inf .pw.sem-img b { font-size: 15px; }

/* treino: só os titulares abertos; reservas e inventário minimizados */
.tc-mins { display: flex; flex-direction: column; gap: 6px; }
.tc-min { border: 1px solid #1d3a63; border-left: 3px solid #3a4a63; border-radius: 6px; background: #08162c; overflow: hidden; } .tc-min[class*="r-"] { border-left-color: var(--rc, #3a4a63); } .tc-min.aberto { border-color: #2d5a99; }
.tc-min-cab { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px 90px 18px; gap: 12px; align-items: center; padding: 6px 12px 6px 8px; background: transparent; border: 0; text-align: left; color: inherit; cursor: pointer; }
.tc-min-cab:hover { background: #0e2342; } .tc-min-cab:focus-visible { outline: 2px solid var(--ouro2); outline-offset: -2px; }
.tc-min .ft { width: 44px; height: 44px; overflow: hidden; background: #0c1b34; display: block; } .tc-min.r-comum .ft { background: linear-gradient(180deg, #5b9dff, #1d3f8f); } .tc-min.r-raro .ft { background: linear-gradient(180deg, #4ee3f5, #0e6f86); } .tc-min.r-epico .ft { background: linear-gradient(180deg, #d9a8ff, #5b21b6); } .tc-min.r-lendario .ft { background: linear-gradient(180deg, #ffe38a, #a8730c); } .tc-min.r-mitico .ft { background: linear-gradient(180deg, #d63a4a, #4d000a); }
.tc-min .ft svg, .tc-min .ft img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.tc-min .nm { display: flex; flex-direction: column; min-width: 0; } .tc-min .nm b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .tc-min .nm small { display: flex; align-items: center; gap: 5px; color: #9fb2cf; font-size: 11.5px; }
.tc-min .ov { font-family: 'Bebas Neue', sans-serif; font-size: 22px; text-align: center; color: var(--ouro2); } .tc-min .xp { height: 6px; border-radius: 99px; background: #07172e; border: 1px solid #17335c; overflow: hidden; } .tc-min .xp i { display: block; height: 100%; background: linear-gradient(90deg, #7c3aed, #c4b5fd); } .tc-min .seta { color: var(--mudo); text-align: center; }
.tc-min > .tc-treino-jog { margin: 0; border: 0; border-top: 1px solid #16325a; border-radius: 0; box-shadow: none; clip-path: none; }
@media (max-width: 700px) { .tc-min-cab { grid-template-columns: 44px minmax(0, 1fr) 36px 18px; } .tc-min .xp { display: none; } }

/* configuração */
.tc-cfg-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #16325a; } .tc-cfg-linha > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; } .tc-cfg-linha b { font-size: 15px; } .tc-cfg-linha small { font-size: 12.5px; }
.tc-chave { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; background: #0a1d38; border: 1px solid #1d3a63; border-radius: 99px; color: #b9c8e0; font-size: 12.5px; font-weight: 700; }
.tc-chave i { width: 34px; height: 20px; border-radius: 99px; background: #26364f; position: relative; transition: background .15s; } .tc-chave i::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #c8d4e6; transition: transform .15s; }
.tc-chave.on i { background: #1fb8a3; } .tc-chave.on i::after { transform: translateX(14px); background: #fff; } .tc-chave.on { color: #7ff2e0; border-color: #1f7f73; }
html.tc-sem-anim *, html.tc-sem-anim *::before, html.tc-sem-anim *::after { animation: none !important; transition: none !important; }

/* rank: tabela distribuída pela linha toda, colunas centralizadas */
.tc-rank { table-layout: fixed; width: 100%; }
.tc-rank col.c-pos { width: 8%; } .tc-rank col.c-time { width: 32%; } .tc-rank col.c-comp { width: 30%; } .tc-rank col.c-n { width: 15%; }
.tc-rank th.c, .tc-rank td.c { text-align: center; } .tc-rank th { text-align: left; } .tc-rank th.c { text-align: center; }
.tc-rank td.pos { text-align: center; width: auto; } .tc-rank th:first-child { text-align: center; }
.tc-rank td { padding-top: 10px; padding-bottom: 10px; vertical-align: middle; } .tc-rank td.comp { font-size: 13.5px; color: #cfe0f7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-rank td b { font-size: 17px; }
.tc-rank .org { display: flex; align-items: center; gap: 12px; }
.tc-rank tr.sep td { padding: 0; border: 0; text-align: center; } .tc-rank tr.sep span { display: block; margin: 8px 0 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ouro); }
.tc-rank tr.extra td { background: #0f2240; border-top: 1px solid #2d5a99; border-bottom: 1px solid #2d5a99; }
.tc-pagina { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; } .tc-pagina .tc-btn.on { background: linear-gradient(180deg, #2a2208, #1a1505); border-color: #d9a82b; color: #f5cf5a; }
@media (max-width: 720px) { .tc-rank col.c-comp, .tc-rank th:nth-child(3), .tc-rank td.comp { display: none; } .tc-rank col.c-time { width: 44%; } }

/* ícones do menu lateral maiores */
.tc-nav button .ic { width: 36px; height: 36px; } .tc-nav button { padding-top: 8px; padding-bottom: 8px; gap: 12px; }
@media (max-width: 1000px) { .tc-nav button .ic { width: 28px; height: 28px; } .tc-nav button { padding-top: 7px; padding-bottom: 7px; } }

/* ===== botões: um só estilo (retangular com cantos arredondados, degradê e brilho interno); sem laterais pontudas ===== */
.tc .tc-btn, .tc .tc-partida, .tc .tc-abas button {
  clip-path: none; border-radius: 8px; border: 1px solid #335b94; min-height: 38px;
  background: linear-gradient(180deg, #1c3d6e, #112850); color: #dbe7ff; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; font-size: 12.5px; line-height: 1.2; padding: 9px 18px; text-align: center;
  box-shadow: inset 0 1px 0 #ffffff22, 0 2px 0 #040a16; transition: transform .12s, box-shadow .15s, border-color .15s, filter .15s, background .15s;
}
.tc .tc-btn:hover:not(:disabled), .tc .tc-partida:hover:not(:disabled), .tc .tc-abas button:hover:not(:disabled) { border-color: #6aa6f0; background: linear-gradient(180deg, #23497f, #14305c); box-shadow: inset 0 1px 0 #ffffff30, 0 0 14px #3b82f655, 0 2px 0 #040a16; transform: translateY(-1px); }
.tc .tc-btn:active:not(:disabled), .tc .tc-partida:active:not(:disabled), .tc .tc-abas button:active:not(:disabled) { transform: translateY(0); box-shadow: inset 0 2px 5px #0008; }
.tc .tc-btn:focus-visible, .tc .tc-partida:focus-visible, .tc .tc-abas button:focus-visible { outline: 2px solid var(--ciano); outline-offset: 2px; }
.tc .tc-btn:disabled, .tc .tc-partida:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.tc .tc-btn.ouro { background: linear-gradient(180deg, #f8d66a, #c98f14); border-color: #ffe08a; color: #1d1304; box-shadow: inset 0 1px 0 #fff8, 0 2px 0 #5a3d05; }
.tc .tc-btn.ouro:hover:not(:disabled) { background: linear-gradient(180deg, #ffe28a, #d89a18); border-color: #fff0b8; box-shadow: inset 0 1px 0 #fffa, 0 0 18px #f5cf5a66, 0 2px 0 #5a3d05; }
.tc .tc-btn.ciano { background: linear-gradient(180deg, #0e3b55, #082033); border-color: var(--ciano); color: #b9f3ff; box-shadow: inset 0 1px 0 #22d3ee33, 0 2px 0 #031018; }
.tc .tc-btn.ciano:hover:not(:disabled) { background: linear-gradient(180deg, #124a6a, #0a2a42); box-shadow: inset 0 1px 0 #22d3ee44, 0 0 16px #22d3ee55, 0 2px 0 #031018; }
.tc .tc-btn.perigo { background: linear-gradient(180deg, #5a1717, #2a0d0d); border-color: #b94a4a; color: #ffd3d3; box-shadow: inset 0 1px 0 #ff8a8a22, 0 2px 0 #1a0505; }
.tc .tc-btn.perigo:hover:not(:disabled) { background: linear-gradient(180deg, #701d1d, #350f0f); border-color: #e06a6a; box-shadow: inset 0 1px 0 #ff8a8a33, 0 0 16px #ef444455, 0 2px 0 #1a0505; }
.tc .tc-btn.peq { min-height: 30px; padding: 5px 12px; font-size: 11.5px; border-radius: 6px; }
.tc .tc-abas button { min-height: 40px; padding: 8px 22px; }
.tc .tc-abas button.on { background: linear-gradient(180deg, #6b4d0f, #2a2008); border-color: #d9a82b; color: #f5cf5a; box-shadow: inset 0 1px 0 #ffe08a44, 0 2px 0 #1a1204; }
.tc-moedas { clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); }

/* janelas: o conteúdo rola dentro do quadro e a barra de botões fica sempre visível no fim */
.tc-modal { overflow-x: hidden; overflow-y: auto; max-height: calc(100vh - 16px); overscroll-behavior: contain; }
.tc-modal .tc-acoes { position: sticky; bottom: -20px; z-index: 4; margin: 16px -22px -20px; padding: 14px 22px 20px; background: linear-gradient(180deg, #07142a00, #07142a 22%); }
.tc-modal .tc-acoes .tc-btn { min-width: 0; }

.mkt-camp .mkt-roi { font-weight: 700; } .mkt-camp .mkt-roi.bom { color: #6fe39a; } .mkt-camp .mkt-roi.ruim { color: #ffb4a8; }

/* Seus Legados por raridade */
.tc-grupo-rar { margin-top: 14px; } .tc-grupo-rar:first-of-type { margin-top: 4px; }
.tc-grupo-rar h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #16325a; font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 22px; letter-spacing: .06em; }
.tc-grupo-rar h4 .bol { width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); box-shadow: 0 0 8px currentColor; } .tc-grupo-rar h4 small { margin-left: auto; font-family: Inter, system-ui, sans-serif; font-size: 12px; letter-spacing: 0; color: var(--mudo); font-weight: 700; }
.tc-grupo-rar.r-comum h4 { color: #b9c3d6; } .tc-grupo-rar.r-raro h4 { color: #6fb0ff; } .tc-grupo-rar.r-epico h4 { color: #d3a6ff; } .tc-grupo-rar.r-lendario h4 { color: #f5cf5a; } .tc-grupo-rar.r-mitico h4 { color: #ff7b8f; }
.tc .tc-btn.ouro .tc-preco, .tc .tc-btn.ouro .tc-preco::after { color: #1d1304; }

/* W.O. */
.tc-wo { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid #b94a4a; border-radius: 5px; background: #3a1010; color: #ffb4a8; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; vertical-align: middle; }
.tc-wo-aviso { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 12px 14px; border: 1px solid #7a3030; border-left: 4px solid #ef4444; border-radius: 6px; background: linear-gradient(90deg, #2a0d0d, #14101e); font-size: 13.5px; line-height: 1.4; }
.tc-wo-aviso > b { flex: none; padding: 4px 10px; border-radius: 5px; background: #b91c1c; color: #fff; font-size: 12px; letter-spacing: .14em; }

/* topo: só o escudo da organização, sem o círculo em volta */
.tc-org .logo { border: 0; border-radius: 0; background: none; box-shadow: none; width: auto; height: auto; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55)); }
@media (max-width: 1000px) { .tc-org .logo { width: auto; height: auto; } }

/* editor do emblema de texto */
.tc-modos { display: flex; gap: 6px; margin-bottom: 10px; } .tc-modos button { flex: 1; padding: 9px 14px; background: #0a1d38; border: 1px solid #1d3a63; border-radius: 6px; color: #b9c8e0; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12.5px; cursor: pointer; }
.tc-modos button.on { background: linear-gradient(180deg, #2a2208, #1a1505); border-color: #d9a82b; color: #f5cf5a; }
.tc-previa-tx { align-items: center; } .tc-previa-tx .tc-ict { background: repeating-conic-gradient(#0c1b34 0 25%, #0a1730 0 50%) 0 0 / 18px 18px; padding: 6px; border-radius: 8px; }
.tc-fontes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.tc-fontes button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 8px 6px; background: #08162c; border: 1px solid #1d3a63; border-radius: 6px; color: #e6edf7; cursor: pointer; min-width: 0; }
.tc-fontes button span { font-size: 24px; line-height: 1.1; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tc-fontes button small { font: 600 10.5px Inter, system-ui, sans-serif; color: var(--mudo); }
.tc-fontes button:hover { border-color: #3d6fae; } .tc-fontes button.on { border-color: #d9a82b; background: #1a1505; box-shadow: 0 0 10px #d9a82b33; }
.tc-formas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .tc-formas button { padding: 6px 12px; background: #0a1d38; border: 1px solid #1d3a63; border-radius: 6px; color: #b9c8e0; font-weight: 700; font-size: 12.5px; cursor: pointer; } .tc-formas button.on { border-color: #d9a82b; color: #f5cf5a; background: #1a1505; }
.tc-tx-num { display: grid; grid-template-columns: 90px 1fr 24px; gap: 10px; align-items: center; font-size: 13px; } .tc-tx-num input { accent-color: #d9a82b; width: 100%; } .tc-tx-num b { text-align: right; font-variant-numeric: tabular-nums; }

.tc-escrita { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; padding: 8px 12px; background: #08162c; border: 1px solid #1d3a63; border-radius: 6px; } .tc-escrita b { font-size: 18px; letter-spacing: .04em; color: var(--ouro2); }

/* página atual no menu: fundo azul-ciano, barra de luz na lateral e brilho ciano pulsando */
.tc-nav button.on { position: relative; overflow: hidden; color: #eaffff; background: linear-gradient(90deg, #0c5a73 0%, #0d3a58 40%, #10264a 85%); border-bottom-color: transparent;
  box-shadow: inset 0 0 0 1.5px #22d3ee, inset 0 1px 0 #a5f3fc44, 0 0 12px #22d3ee33; animation: tc-nav-pulso 2.6s ease-in-out infinite; text-shadow: 0 0 10px #67e8f966; }
.tc-nav button.on::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #cffafe, #06b6d4 50%, #67e8f9); box-shadow: 0 0 14px #22d3ee, 0 0 4px #cffafe; animation: tc-nav-barra 2.6s ease-in-out infinite; }
.tc-nav button.on .ic { animation: tc-nav-icone 2.6s ease-in-out infinite; }
@keyframes tc-nav-pulso { 0%, 100% { box-shadow: inset 0 0 0 1.5px #0e8ba3, inset 0 1px 0 #a5f3fc22, 0 0 6px #22d3ee22; } 50% { box-shadow: inset 0 0 0 1.5px #5eead4, inset 0 1px 0 #a5f3fc66, 0 0 18px #22d3ee77, 0 0 34px #06b6d433; } }
@keyframes tc-nav-barra { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes tc-nav-icone { 0%, 100% { filter: drop-shadow(0 0 3px #22d3ee66); } 50% { filter: drop-shadow(0 0 9px #67e8f9cc); } }
@media (prefers-reduced-motion: reduce) { .tc-nav button.on, .tc-nav button.on::before, .tc-nav button.on .ic { animation: none; } }

.tc-cfg-nome { align-items: flex-start; } .tc-cfg-nome > div { flex: 1; min-width: 0; }
.tc-cfg-campo { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; } .tc-cfg-campo .tc-input { flex: 1; min-width: 160px; }

/* Resumo de quando o jogador volta: um número grande e três origens da receita */
.tc-bv { position: relative; display: grid; justify-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 14px 4px 4px; text-align: center; isolation: isolate; }
.tc-bv .luz { position: absolute; left: 50%; top: 52px; width: 300px; height: 300px; margin-left: -150px; z-index: -1; background: radial-gradient(circle, rgba(245, 207, 90, .22), transparent 62%); animation: tc-bv-luz 3.6s ease-in-out infinite; }
.tc-bv .tit { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #8ea3c4; }
.tc-bv .moeda { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55)); animation: tc-bv-pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.tc-bv .num { display: grid; justify-items: center; line-height: 1; animation: tc-bv-sobe .6s .15s ease-out both; }
.tc-bv .num b { font-family: 'Bebas Neue', sans-serif; font-size: 68px; letter-spacing: .02em; background: linear-gradient(180deg, #fff3b8, #f5cf5a 55%, #d9a82b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tc-bv .num span { margin-top: 2px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #b9c7de; }
.tc-bv .chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 6px 0 8px; animation: tc-bv-sobe .6s .3s ease-out both; }
.tc-bv .c { --cor: #60a5fa; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 99px; background: color-mix(in srgb, var(--cor) 13%, #07142a); border: 1px solid color-mix(in srgb, var(--cor) 45%, transparent); font-size: 13px; }
.tc-bv .c i { width: 8px; height: 8px; border-radius: 50%; background: var(--cor); box-shadow: 0 0 8px var(--cor); }
.tc-bv .c span { color: #b9c7de; } .tc-bv .c b { color: var(--cor); font-weight: 800; }
.tc-bv .c.clu { --cor: #4ade80; } .tc-bv .c.bon { --cor: #f5cf5a; }
.tc-bv .tc-btn { min-width: 200px; }
@keyframes tc-bv-luz { 50% { opacity: .55; transform: scale(1.08); } }
@keyframes tc-bv-pop { from { opacity: 0; transform: scale(.4) rotate(-12deg); } }
@keyframes tc-bv-sobe { from { opacity: 0; transform: translateY(10px); } }
@media (max-width: 480px) { .tc-bv .num b { font-size: 54px; } }
.tc-bv .fora { margin: -4px 0 0; font-size: 14px; color: #b9c7de; } .tc-bv .fora b { color: #e8f0ff; } .tc-bv .fora em { font-style: normal; color: #8ea3c4; font-size: 12px; }
.tc-idiomas-ficha { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; } .tc-idiomas-ficha span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: 13px; border: 1px solid #2c4a78; background: #0a1c38; color: #cfe0fa; }
.tc-idiomas-ficha .n { border-color: #1fb8a3; background: #0a2a2e; color: #7ff0dd; } .tc-idiomas-ficha small { color: #8ea3c4; font-size: 11px; }

/* ---------- Marketing: visual novo (mk2) ---------- */
.mk2 { display: grid; gap: 14px; }
.mk2-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px 18px; align-items: center; padding: 18px 20px; border-radius: 16px; overflow: hidden; border: 1px solid #c8962f88;
  background: radial-gradient(120% 140% at 0% 0%, #3b2d0a 0%, #12213f 55%, #0a1730 100%); box-shadow: 0 10px 30px #0008, inset 0 1px #ffffff14; }
.mk2-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: radial-gradient(circle, #f5cf5a33, transparent 65%); pointer-events: none; }
.mk2-acum small { color: #c9b27a; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.mk2-valor { display: flex; align-items: baseline; gap: 10px; margin: 2px 0 8px; }
.mk2-valor b { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; letter-spacing: .02em; background: linear-gradient(180deg, #fff3b8, #f5cf5a 55%, #d9a82b); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.mk2-valor span { color: #b9c7de; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.mk2-cap { height: 10px; border-radius: 99px; background: #0a1730; border: 1px solid #c8962f55; overflow: hidden; max-width: 420px; }
.mk2-cap i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #d9a82b, #fff3b8); transition: width .8s linear; box-shadow: 0 0 12px #f5cf5a99; }
.mk2-capl { display: block; margin-top: 5px; color: #8ea3c4 !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 500 !important; }
.mk2-resgatar { min-width: 150px; font-size: 16px !important; padding: 14px 26px !important; }
.mk2-resgatar.pulsa:not(:disabled) { animation: mk2-pulsa 2s ease-in-out infinite; }
@keyframes mk2-pulsa { 0%, 100% { box-shadow: 0 0 0 0 #f5cf5a66; } 50% { box-shadow: 0 0 0 10px #f5cf5a00; } }
.mk2-ritmo { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.mk2-ritmo > div { flex: 1; min-width: 110px; padding: 8px 12px; border-radius: 10px; background: #4ade8014; border: 1px solid #4ade8044; display: grid; }
.mk2-ritmo b { color: #6fe39a; font-size: 18px; font-variant-numeric: tabular-nums; } .mk2-ritmo small { color: #8ea3c4; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.mk2-cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.mk2-cart { --c: #60a5fa; position: relative; display: grid; gap: 2px; text-align: left; padding: 12px 14px 12px 14px; border-radius: 14px; cursor: pointer; color: inherit; font: inherit;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 18%, #0a1730), #0a1730 70%); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: transform .15s, box-shadow .15s; }
.mk2-cart:hover { transform: translateY(-2px); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 25%, transparent); }
.mk2-cart small { color: var(--c); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.mk2-cart b { font-size: 20px; } .mk2-cart span { color: #9fb2d0; font-size: 12px; }
.mk2-abas { display: flex; gap: 6px; overflow-x: auto; padding: 2px; border-bottom: 1px solid #16325a; }
.mk2-abas button { flex: none; padding: 9px 14px; border-radius: 10px 10px 0 0; border: 1px solid transparent; border-bottom: 0; background: transparent; color: #8ea3c4; font: inherit; font-weight: 700; cursor: pointer; }
.mk2-abas button:hover { color: #fff; }
.mk2-abas button.on { color: #f5cf5a; background: #0e2244; border-color: #2a4a7c; box-shadow: inset 0 2px #f5cf5a; }
.mk2-bloco { padding: 16px 18px; border-radius: 14px; background: #0a1a33; border: 1px solid #1d3a63; display: grid; gap: 10px; }
.mk2-bloco h3 { margin: 0; font-size: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; } .mk2-bloco h3 small { color: #f5cf5a; font-size: 13px; font-weight: 700; }
.mk2-dica { margin: 0; color: #8ea3c4; font-size: 13px; }
.mk2-aviso { margin: 0; padding: 8px 12px; border-radius: 10px; background: #fb923c1c; border: 1px solid #fb923c66; color: #ffd0a8; font-weight: 600; }
.mk2-empilhada { display: flex; height: 22px; border-radius: 99px; overflow: hidden; background: #061326; border: 1px solid #16325a; } .mk2-empilhada i { display: block; min-width: 4px; transition: width .6s; }
.mk2-leg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px 14px; }
.mk2-leg li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 8px; font-size: 14px; } .mk2-leg li i { width: 12px; height: 12px; border-radius: 4px; } .mk2-leg li b { font-variant-numeric: tabular-nums; }
.mk2-niveis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.mk2-niveis > div { padding: 8px 10px; border-radius: 10px; border: 1px solid #1d3a63; opacity: .5; display: grid; } .mk2-niveis > div.on { opacity: 1; border-color: #f5cf5a; background: #f5cf5a14; } .mk2-niveis small { color: #8ea3c4; }
.mk2-nivel { grid-template-columns: 1fr auto; align-items: center; }
.mk2-barra { height: 12px; } .mk2-barra i { background: linear-gradient(90deg, #7c3aed, #c4b5fd); }
.mk2-nivel .tc-btn small { display: block; font-size: 11px; opacity: .8; font-weight: 600; letter-spacing: 0; text-transform: none; }
.mk2-chip { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 2px 9px; border-radius: 99px; color: #cfe0fa; background: #ffffff10; border: 1px solid #ffffff22; } .mk2-chip.bom { color: #6fe39a; border-color: #4ade8066; background: #4ade8018; }
.mk2-camps, .mk2-pats { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.mk2-camp, .mk2-pat { --c: #fb923c; display: grid; align-content: start; gap: 8px; padding: 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: linear-gradient(170deg, color-mix(in srgb, var(--c) 14%, #0a1730), #0a1730 65%); }
.mk2-camp.on { border-color: #4ade80; background: linear-gradient(170deg, #4ade8022, #0a1730 65%); box-shadow: 0 0 18px #4ade8033; }
.mk2-camp-t, .mk2-pat-n { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; } .mk2-camp-t b, .mk2-pat-n b { font-size: 15px; }
.mk2-roi b { font-size: 26px; font-family: 'Bebas Neue', sans-serif; letter-spacing: .03em; } .mk2-roi small { display: block; color: #8ea3c4; } .mk2-roi.bom b { color: #6fe39a; } .mk2-roi.ruim b { color: #ff9b8a; }
.mk2-nota { color: #8ea3c4; font-size: 12px; }
.mk2-pat-v b { font-size: 24px; font-family: 'Bebas Neue', sans-serif; letter-spacing: .03em; color: var(--c); } .mk2-pat-v small { color: #8ea3c4; margin-left: 6px; }
.mk2-pat.on { border-color: #4ade80; } .mk2-pat.indisponivel { opacity: .55; }
.mk2-camp .tc-btn, .mk2-pat .tc-btn { justify-self: start; }
.mk2-jogs, .mk2-movs { display: grid; gap: 6px; }
.mk2-jog { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 10px; background: #061326; border: 1px solid #16325a; } .mk2-jog small { display: block; color: #8ea3c4; } .mk2-jog.fora { opacity: .45; }
.mk2-jog .aud { min-width: 56px; text-align: right; color: #f472b6; font-weight: 800; font-variant-numeric: tabular-nums; }
.mk2-mov { display: grid; grid-template-columns: 96px 1fr auto 84px; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; background: #061326; border: 1px solid #16325a; font-size: 13.5px; }
.mk2-mov span, .mk2-mov small { color: #8ea3c4; } .mk2-mov small { text-align: right; } .mk2-mov em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; } .mk2-mov em.pos { color: #6fe39a; } .mk2-mov em.neg { color: #ff9b8a; }
@media (max-width: 640px) { .mk2-hero { grid-template-columns: 1fr; } .mk2-resgatar { width: 100%; } .mk2-valor b { font-size: 52px; } .mk2-nivel { grid-template-columns: 1fr; } .mk2-mov { grid-template-columns: 1fr auto; } .mk2-mov span, .mk2-mov small { display: none; } }

/* Guia do jogo */
.gd { max-width: 920px; margin: 0 auto; }
.gd-topo { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.gd-topo h1 { font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1; margin: 2px 0 6px; }
.gd-busca { max-width: 320px; width: 100%; }
.gd-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.gd-tema { --c: var(--ouro); text-align: left; background: var(--painel); border: 1px solid var(--linha); border-left: 4px solid var(--c); border-radius: 12px; padding: 12px 14px; color: var(--txt); cursor: pointer; display: grid; gap: 3px; font: inherit; }
.gd-tema:hover { background: var(--painel2); border-color: var(--c); }
.gd-tema small { color: var(--c); font-weight: 800; letter-spacing: 0.12em; }
.gd-tema b { font-size: 16px; }
.gd-tema span { color: var(--mudo); font-size: 13px; line-height: 1.35; }
.gd-pag { display: grid; gap: 14px; }
.gd-pag > .tc-btn { justify-self: start; }
.gd-art { background: var(--painel); border: 1px solid var(--linha); border-top: 4px solid var(--c); border-radius: 14px; padding: 20px 22px; line-height: 1.6; font-size: 15px; }
.gd-art h1 { font-family: 'Bebas Neue', sans-serif; font-size: 38px; line-height: 1; margin: 2px 0 6px; color: var(--c); }
.gd-art h2 { font-size: 17px; margin: 20px 0 6px; color: var(--ouro2); }
.gd-art p { margin: 8px 0; }
.gd-sub { color: var(--mudo); font-size: 16px; }
.gd-caixa { border-radius: 10px; padding: 10px 14px; border: 1px solid var(--linha); background: #0b2238; }
.gd-caixa b { display: inline-block; margin-right: 6px; text-transform: uppercase; font-size: 11.5px; letter-spacing: 0.12em; color: var(--ciano); }
.gd-caixa.dica { background: #082a2a; border-color: #115e59; }
.gd-caixa.atencao { background: #2a1d08; border-color: #854d0e; }
.gd-caixa.atencao b { color: var(--ouro2); }
.gd-lista, .gd-passos { margin: 8px 0 8px 20px; display: grid; gap: 5px; }
.gd-tab { overflow-x: auto; margin: 10px 0; }
.gd-tab table { border-collapse: collapse; width: 100%; font-size: 14px; }
.gd-tab th, .gd-tab td { border: 1px solid var(--linha); padding: 6px 10px; text-align: left; }
.gd-tab th { background: var(--painel2); color: var(--ouro2); }
.gd-faq { display: grid; gap: 6px; margin: 8px 0; }
.gd-faq details { background: var(--painel2); border: 1px solid var(--linha); border-radius: 10px; padding: 8px 12px; }
.gd-faq summary { cursor: pointer; font-weight: 700; }
.gd-nav { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.tc-tabela tr.lnk { cursor: pointer; } .tc-tabela tr.lnk:hover td { background: #0e2342; } .tc-tabela tr.lnk:focus-visible { outline: 2px solid var(--ouro2); outline-offset: -2px; }

/* ===== celular: cabeçalho e menu compactos, nada vazando da tela, alvos de toque confortáveis ===== */
html, body { overflow-x: clip; }
@media (max-width: 860px) {
  .tc-topo { gap: 6px 8px; padding: 6px 10px; }
  .tc-org { min-width: 0; gap: 8px; }
  .tc-org .logo { width: 40px; height: 40px; flex: none; overflow: hidden; }
  .tc-org .logo > *, .tc-org .logo svg, .tc-org .logo img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; }
  .tc-org .nome { font-size: 19px; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tc-org .sub { font-size: 11px; }
  .tc-org .xp { width: 84px; margin-top: 4px; }
  .tc-atalhos { gap: 0; }
  .tc-atalhos button { padding: 4px 9px; min-width: 40px; min-height: 40px; }
  .tc-moedas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 3px 4px; clip-path: none; border-radius: 6px; }
  .tc-moeda { min-width: 0; padding: 2px 4px; gap: 5px; justify-content: center; }
  .tc-moeda > div { min-width: 0; }
  .tc-moeda b { font-size: 15px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tc-moeda small { font-size: 9.5px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tc-moeda img { width: 22px; height: 22px; }
  .tc-moeda .ic-frag { width: 22px; height: 22px; }
  .tc-corpo { margin-top: 6px; padding-left: 8px; padding-right: 8px; gap: 8px; }
  .tc-corpo > *, .tc-main, .tc-card, .tc-escala, .tc-grade2, .tc-grade3 { min-width: 0; }
  .tc-nav { align-items: flex-start; gap: 3px; padding: 4px; position: sticky; top: 0; z-index: 20; scrollbar-width: none; scroll-snap-type: x proximity; }
  .tc-nav::-webkit-scrollbar { display: none; }
  .tc-nav > a { flex: none; align-self: center; max-width: 150px; padding: 4px 8px !important; font-size: 11px; line-height: 1.2; }
  .tc-nav button { position: relative; flex-direction: column; justify-content: center; gap: 1px; min-width: 62px; min-height: 52px; padding: 5px 7px; font-size: 10.5px; line-height: 1.1; text-align: center; border-radius: 6px; scroll-snap-align: start; }
  .tc-nav button .ic, .tc-nav .ic { width: 24px; height: 24px; }
  .tc-nav button.on::before { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 3px; }
  .tc-nav button .n { position: absolute; top: 2px; right: 4px; }
  .tc-card { margin-bottom: 8px; }
  .tc-card > h3 { padding: 9px 12px 7px; font-size: 15px; }
  .tc-card > h3 + * { margin-top: 10px; }
  .tc-escala { gap: 6px; }
  .tc-btn, .tc-formas button, .tc-card button { min-height: 38px; }
  .tc-btn { padding: 8px 14px; }
  input, select, textarea { font-size: 16px; }
}
@media (max-width: 420px) {
  .tc-escala { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-atalhos button { padding: 4px 6px; min-width: 36px; }
  .tc-org .xp { display: none; }
  .tc-jogs { gap: 6px; }
}
@media (max-width: 640px) {
  .tc-treino-lista { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 8px; }
  .tc-treino-jog { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
  .tc-treino-jog .tc-mini { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .tc-treino-jog .tc-mini .foto { width: 58px; flex: none; }
  .tc-treino-jog .tc-mini .inf { flex: 1; min-width: 90px; }
  .tc-treino-jog .tc-mini .inf b { white-space: normal; font-size: 15px; }
  .tc-treino-jog .tc-attr { grid-template-columns: 84px 24px minmax(24px, 1fr) 100px; gap: 6px; padding: 2px 0; }
  .tc-treino-jog .tc-attr .tc-btn { padding: 8px 6px; min-height: 40px; font-size: 12px; }
  .tc-partida { padding: 8px 10px; }
}
@media (max-width: 640px) {
  .tc-treino-jog .tc-mini { flex-wrap: nowrap; }
  .tc-jog .foto { aspect-ratio: 1 / 0.62; }
  .tc-jog .foto img, .tc-jog .foto svg { object-position: center 15%; }
  .tc-jog .inf { padding: 6px 8px 8px; gap: 2px; }
  .tc-jog .ln:has(.tc-stars) { justify-content: center; }
  .tc-jog .ln:has(.tc-stars) > span:first-child { display: none; }
  .tc-jog .tc-stars { font-size: 12px; letter-spacing: -1px; }
  .tc-tabela-rolagem { margin: 0 -4px; }
  .tc-tabela td, .tc-tabela th { padding-left: 4px; padding-right: 4px; }
}
@media (max-width: 640px) {
  .tc-modal .tc-acoes { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0 0; padding: 0; background: none; }
  .tc-modal .tc-acoes > :only-child, .tc-modal .tc-acoes > .tc-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .tc-modal .tc-acoes .tc-btn { padding: 8px 6px; font-size: 11.5px; letter-spacing: 0.03em; text-align: center; line-height: 1.2; }
  .tc-resumo { padding: 8px 10px; margin: 8px 0; }
  .tc-resumo .l { flex-wrap: wrap; font-size: 13px; align-items: center; }
  .tc-resumo .l b { text-align: right; }
  .tc-resumo .tc-stars { font-size: 18px; gap: 2px; }
}
@media (max-width: 640px) {
  .tc-filtros { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .tc-filtros label { font-size: 9.5px; letter-spacing: 0.03em; min-width: 0; }
  .tc-filtros label:first-child { grid-column: span 2; }
  .tc-filtros input, .tc-filtros select, .tc-card .tc-filtros label select, .tc-card .tc-filtros label input { min-height: 36px; padding: 6px 7px; }
}

.tc-massa { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.tc-massa.on { position: sticky; top: 0; z-index: 15; padding: 8px 10px; background: #0b1f3df2; border: 1px solid #b91c1c; border-radius: 8px; }
.tc-massa.on > span { margin-right: auto; }
.tc-jog.sel { outline: 3px solid #ef4444; outline-offset: -3px; filter: brightness(1.1); }
.tc-jog.sel::after { content: '✓'; position: absolute; top: 6px; right: 8px; z-index: 3; width: 24px; height: 24px; border-radius: 50%; background: #ef4444; color: #fff; font-weight: 800; display: grid; place-items: center; clip-path: none; }

/* jogador repetido no baú: só o símbolo de reciclagem, discreto */
.tc-recicla { display: inline-block; margin-left: 5px; font-size: 12px; line-height: 1; font-weight: 400; letter-spacing: 0; text-transform: none; opacity: 0.6; cursor: help; vertical-align: -1px; }

/* ícone do fragmento de jogador dentro de textos e botões */
.ic-frag-i { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -0.2em; object-fit: contain; }
.ic-val { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; font-weight: 800; }

/* Recrutar sem saldo: preço do baú (apagado) + botão Comprar RC ao lado */
.tc-compra-linha { display: flex; gap: 8px; align-items: stretch; }
.tc-compra-linha > .tc-btn:first-child { flex: 1 1 auto; min-width: 0; }
.tc-btn.compra { flex: none; background: linear-gradient(180deg, #4ade80, #16a34a); color: #052e12; box-shadow: inset 0 0 0 1px #bbf7d0, 0 0 12px #22c55e55; font-weight: 800; white-space: nowrap; }
.tc-btn.compra:hover { filter: brightness(1.08); }
@media (max-width: 420px) { .tc-compra-linha { flex-direction: column; } .tc-btn.compra { width: 100%; } }

/* Baú Básico grátis (1 a cada 3 dias) */
.tc-gratis { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 4px; padding: 9px 12px; border: 1px dashed #3a6aa8; border-radius: 8px; background: #08162c; }
.tc-gratis b { display: block; font-size: 13px; color: #e6edf7; } .tc-gratis small { display: block; font-size: 11.5px; color: var(--mudo); }
.tc-gratis.on { border: 1px solid #22c55e; background: #0a2a1a; box-shadow: 0 0 14px #22c55e33; } .tc-gratis.on b { color: #86efac; }
.tc-gratis-tempo { font: 800 18px 'Bebas Neue', sans-serif; letter-spacing: .06em; color: #f5cf5a; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 420px) { .tc-gratis { flex-wrap: wrap; } .tc-gratis .tc-btn { width: 100%; } }

/* botão verde (Comprar RC / Abrir grátis): vence os estilos gerais de .tc-btn */
.tc-bau .tc-btn.compra, .tc-gratis .tc-btn.compra, .tc-compra-linha .tc-btn.compra { background: linear-gradient(180deg, #4ade80, #16a34a) !important; color: #052e12 !important; box-shadow: inset 0 0 0 1px #bbf7d0, 0 0 12px #22c55e55 !important; }
.tc-bau .tc-btn.compra[disabled] { opacity: 0.5; filter: grayscale(0.4); }

/* o bloco do baú grátis fica depois dos botões de abrir; assim os botões dos dois baús ficam alinhados */
.tc-bau > .tc-gratis { margin: 0 16px 16px; }

/* Símbolos de maestria (1 a 7) */
.tc-selo-m { display: block; flex: none; filter: drop-shadow(0 2px 3px #000a); }
.tc-maes > div { grid-template-columns: auto 1fr auto; }
.tc-maes > div > .tc-selo-m { grid-column: 3; grid-row: 1 / span 3; margin-left: 8px; }
.tc-rt-j .mae > div > .tc-selo-m { margin-left: auto; }
.tc-guia-selos { display: flex; justify-content: space-between; gap: 6px; margin: 10px 0 4px; padding: 10px 8px 6px; border: 1px solid #1d3a63; background: #061326; }
.tc-guia-selos > div { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--mudo); }
.tc-maes b, .tc-maes span, .tc-maes small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
